OSDN Git Service

2010-09-27 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/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 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_SOL2_FALSE
627 ENABLE_SYMVERS_SOL2_TRUE
628 ENABLE_SYMVERS_SUN_FALSE
629 ENABLE_SYMVERS_SUN_TRUE
630 ENABLE_SYMVERS_DARWIN_FALSE
631 ENABLE_SYMVERS_DARWIN_TRUE
632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
633 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
634 ENABLE_SYMVERS_GNU_FALSE
635 ENABLE_SYMVERS_GNU_TRUE
636 ENABLE_SYMVERS_FALSE
637 ENABLE_SYMVERS_TRUE
638 port_specific_symbol_files
639 SYMVER_FILE
640 CXXFILT
641 LTLIBICONV
642 LIBICONV
643 OPT_LDFLAGS
644 SECTION_LDFLAGS
645 GLIBCXX_LIBS
646 EXTRA_CXX_FLAGS
647 ENABLE_PARALLEL_FALSE
648 ENABLE_PARALLEL_TRUE
649 GLIBCXX_BUILD_DEBUG_FALSE
650 GLIBCXX_BUILD_DEBUG_TRUE
651 DEBUG_FLAGS
652 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
653 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
654 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
655 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
656 GLIBCXX_C_HEADERS_C_STD_FALSE
657 GLIBCXX_C_HEADERS_C_STD_TRUE
658 GLIBCXX_C_HEADERS_C_FALSE
659 GLIBCXX_C_HEADERS_C_TRUE
660 C_INCLUDE_DIR
661 ALLOCATOR_NAME
662 ALLOCATOR_H
663 CLOCALE_INTERNAL_H
664 CLOCALE_CC
665 CTIME_CC
666 CTIME_H
667 CNUMERIC_CC
668 CMONEY_CC
669 CMESSAGES_CC
670 CCTYPE_CC
671 CCOLLATE_CC
672 CCODECVT_CC
673 CMESSAGES_H
674 CLOCALE_H
675 USE_NLS
676 glibcxx_localedir
677 glibcxx_POFILES
678 glibcxx_MOFILES
679 check_msgfmt
680 BASIC_FILE_CC
681 BASIC_FILE_H
682 CSTDIO_H
683 SECTION_FLAGS
684 WERROR
685 glibcxx_thread_h
686 glibcxx_PCHFLAGS
687 GLIBCXX_BUILD_PCH_FALSE
688 GLIBCXX_BUILD_PCH_TRUE
689 GLIBCXX_HOSTED_FALSE
690 GLIBCXX_HOSTED_TRUE
691 enable_static
692 enable_shared
693 CXXCPP
694 OTOOL64
695 OTOOL
696 LIPO
697 NMEDIT
698 DSYMUTIL
699 OBJDUMP
700 NM
701 ac_ct_DUMPBIN
702 DUMPBIN
703 LD
704 FGREP
705 SED
706 LIBTOOL
707 EGREP
708 GREP
709 CPP
710 MAINT
711 MAINTAINER_MODE_FALSE
712 MAINTAINER_MODE_TRUE
713 RANLIB
714 AR
715 AS
716 LN_S
717 toplevel_srcdir
718 glibcxx_srcdir
719 glibcxx_builddir
720 ac_ct_CXX
721 CXXFLAGS
722 CXX
723 OBJEXT
724 EXEEXT
725 ac_ct_CC
726 CPPFLAGS
727 LDFLAGS
728 CFLAGS
729 CC
730 am__untar
731 am__tar
732 AMTAR
733 am__leading_dot
734 SET_MAKE
735 AWK
736 mkdir_p
737 MKDIR_P
738 INSTALL_STRIP_PROGRAM
739 STRIP
740 install_sh
741 MAKEINFO
742 AUTOHEADER
743 AUTOMAKE
744 AUTOCONF
745 ACLOCAL
746 VERSION
747 PACKAGE
748 CYGPATH_W
749 am__isrc
750 INSTALL_DATA
751 INSTALL_SCRIPT
752 INSTALL_PROGRAM
753 target_os
754 target_vendor
755 target_cpu
756 target
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 multi_basedir
766 libtool_VERSION
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 localstatedir
787 sharedstatedir
788 sysconfdir
789 datadir
790 datarootdir
791 libexecdir
792 sbindir
793 bindir
794 program_transform_name
795 prefix
796 exec_prefix
797 PACKAGE_URL
798 PACKAGE_BUGREPORT
799 PACKAGE_STRING
800 PACKAGE_VERSION
801 PACKAGE_TARNAME
802 PACKAGE_NAME
803 PATH_SEPARATOR
804 SHELL'
805 ac_subst_files=''
806 ac_user_opts='
807 enable_option_checking
808 enable_multilib
809 with_target_subdir
810 with_cross_host
811 with_newlib
812 enable_maintainer_mode
813 enable_shared
814 enable_static
815 with_pic
816 enable_fast_install
817 with_gnu_ld
818 enable_libtool_lock
819 enable_hosted_libstdcxx
820 enable_sjlj_exceptions
821 enable_libstdcxx_pch
822 enable_cstdio
823 enable_clocale
824 enable_nls
825 enable_libstdcxx_allocator
826 enable_cheaders
827 enable_long_long
828 enable_wchar_t
829 enable_c99
830 enable_concept_checks
831 enable_libstdcxx_debug_flags
832 enable_libstdcxx_debug
833 enable_cxx_flags
834 enable_fully_dynamic_string
835 enable_libstdcxx_time
836 enable_tls
837 enable_rpath
838 with_libiconv_prefix
839 with_system_libunwind
840 enable_linux_futex
841 enable_symvers
842 enable_visibility
843 with_gxx_include_dir
844 enable_version_specific_runtime_libs
845 '
846       ac_precious_vars='build_alias
847 host_alias
848 target_alias
849 CC
850 CFLAGS
851 LDFLAGS
852 LIBS
853 CPPFLAGS
854 CXX
855 CXXFLAGS
856 CCC
857 CPP
858 CXXCPP
859 CXXFILT'
860
861
862 # Initialize some variables set by options.
863 ac_init_help=
864 ac_init_version=false
865 ac_unrecognized_opts=
866 ac_unrecognized_sep=
867 # The variables have the same names as the options, with
868 # dashes changed to underlines.
869 cache_file=/dev/null
870 exec_prefix=NONE
871 no_create=
872 no_recursion=
873 prefix=NONE
874 program_prefix=NONE
875 program_suffix=NONE
876 program_transform_name=s,x,x,
877 silent=
878 site=
879 srcdir=
880 verbose=
881 x_includes=NONE
882 x_libraries=NONE
883
884 # Installation directory options.
885 # These are left unexpanded so users can "make install exec_prefix=/foo"
886 # and all the variables that are supposed to be based on exec_prefix
887 # by default will actually change.
888 # Use braces instead of parens because sh, perl, etc. also accept them.
889 # (The list follows the same order as the GNU Coding Standards.)
890 bindir='${exec_prefix}/bin'
891 sbindir='${exec_prefix}/sbin'
892 libexecdir='${exec_prefix}/libexec'
893 datarootdir='${prefix}/share'
894 datadir='${datarootdir}'
895 sysconfdir='${prefix}/etc'
896 sharedstatedir='${prefix}/com'
897 localstatedir='${prefix}/var'
898 includedir='${prefix}/include'
899 oldincludedir='/usr/include'
900 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
901 infodir='${datarootdir}/info'
902 htmldir='${docdir}'
903 dvidir='${docdir}'
904 pdfdir='${docdir}'
905 psdir='${docdir}'
906 libdir='${exec_prefix}/lib'
907 localedir='${datarootdir}/locale'
908 mandir='${datarootdir}/man'
909
910 ac_prev=
911 ac_dashdash=
912 for ac_option
913 do
914   # If the previous option needs an argument, assign it.
915   if test -n "$ac_prev"; then
916     eval $ac_prev=\$ac_option
917     ac_prev=
918     continue
919   fi
920
921   case $ac_option in
922   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923   *)    ac_optarg=yes ;;
924   esac
925
926   # Accept the important Cygnus configure options, so we can diagnose typos.
927
928   case $ac_dashdash$ac_option in
929   --)
930     ac_dashdash=yes ;;
931
932   -bindir | --bindir | --bindi | --bind | --bin | --bi)
933     ac_prev=bindir ;;
934   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935     bindir=$ac_optarg ;;
936
937   -build | --build | --buil | --bui | --bu)
938     ac_prev=build_alias ;;
939   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940     build_alias=$ac_optarg ;;
941
942   -cache-file | --cache-file | --cache-fil | --cache-fi \
943   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944     ac_prev=cache_file ;;
945   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947     cache_file=$ac_optarg ;;
948
949   --config-cache | -C)
950     cache_file=config.cache ;;
951
952   -datadir | --datadir | --datadi | --datad)
953     ac_prev=datadir ;;
954   -datadir=* | --datadir=* | --datadi=* | --datad=*)
955     datadir=$ac_optarg ;;
956
957   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958   | --dataroo | --dataro | --datar)
959     ac_prev=datarootdir ;;
960   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962     datarootdir=$ac_optarg ;;
963
964   -disable-* | --disable-*)
965     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
966     # Reject names that are not valid shell variable names.
967     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968       as_fn_error "invalid feature name: $ac_useropt"
969     ac_useropt_orig=$ac_useropt
970     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971     case $ac_user_opts in
972       *"
973 "enable_$ac_useropt"
974 "*) ;;
975       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
976          ac_unrecognized_sep=', ';;
977     esac
978     eval enable_$ac_useropt=no ;;
979
980   -docdir | --docdir | --docdi | --doc | --do)
981     ac_prev=docdir ;;
982   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983     docdir=$ac_optarg ;;
984
985   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986     ac_prev=dvidir ;;
987   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988     dvidir=$ac_optarg ;;
989
990   -enable-* | --enable-*)
991     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1002          ac_unrecognized_sep=', ';;
1003     esac
1004     eval enable_$ac_useropt=\$ac_optarg ;;
1005
1006   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008   | --exec | --exe | --ex)
1009     ac_prev=exec_prefix ;;
1010   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012   | --exec=* | --exe=* | --ex=*)
1013     exec_prefix=$ac_optarg ;;
1014
1015   -gas | --gas | --ga | --g)
1016     # Obsolete; use --with-gas.
1017     with_gas=yes ;;
1018
1019   -help | --help | --hel | --he | -h)
1020     ac_init_help=long ;;
1021   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1022     ac_init_help=recursive ;;
1023   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1024     ac_init_help=short ;;
1025
1026   -host | --host | --hos | --ho)
1027     ac_prev=host_alias ;;
1028   -host=* | --host=* | --hos=* | --ho=*)
1029     host_alias=$ac_optarg ;;
1030
1031   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032     ac_prev=htmldir ;;
1033   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034   | --ht=*)
1035     htmldir=$ac_optarg ;;
1036
1037   -includedir | --includedir | --includedi | --included | --include \
1038   | --includ | --inclu | --incl | --inc)
1039     ac_prev=includedir ;;
1040   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041   | --includ=* | --inclu=* | --incl=* | --inc=*)
1042     includedir=$ac_optarg ;;
1043
1044   -infodir | --infodir | --infodi | --infod | --info | --inf)
1045     ac_prev=infodir ;;
1046   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047     infodir=$ac_optarg ;;
1048
1049   -libdir | --libdir | --libdi | --libd)
1050     ac_prev=libdir ;;
1051   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052     libdir=$ac_optarg ;;
1053
1054   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055   | --libexe | --libex | --libe)
1056     ac_prev=libexecdir ;;
1057   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058   | --libexe=* | --libex=* | --libe=*)
1059     libexecdir=$ac_optarg ;;
1060
1061   -localedir | --localedir | --localedi | --localed | --locale)
1062     ac_prev=localedir ;;
1063   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064     localedir=$ac_optarg ;;
1065
1066   -localstatedir | --localstatedir | --localstatedi | --localstated \
1067   | --localstate | --localstat | --localsta | --localst | --locals)
1068     ac_prev=localstatedir ;;
1069   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071     localstatedir=$ac_optarg ;;
1072
1073   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074     ac_prev=mandir ;;
1075   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076     mandir=$ac_optarg ;;
1077
1078   -nfp | --nfp | --nf)
1079     # Obsolete; use --without-fp.
1080     with_fp=no ;;
1081
1082   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083   | --no-cr | --no-c | -n)
1084     no_create=yes ;;
1085
1086   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088     no_recursion=yes ;;
1089
1090   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092   | --oldin | --oldi | --old | --ol | --o)
1093     ac_prev=oldincludedir ;;
1094   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097     oldincludedir=$ac_optarg ;;
1098
1099   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100     ac_prev=prefix ;;
1101   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102     prefix=$ac_optarg ;;
1103
1104   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105   | --program-pre | --program-pr | --program-p)
1106     ac_prev=program_prefix ;;
1107   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109     program_prefix=$ac_optarg ;;
1110
1111   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112   | --program-suf | --program-su | --program-s)
1113     ac_prev=program_suffix ;;
1114   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116     program_suffix=$ac_optarg ;;
1117
1118   -program-transform-name | --program-transform-name \
1119   | --program-transform-nam | --program-transform-na \
1120   | --program-transform-n | --program-transform- \
1121   | --program-transform | --program-transfor \
1122   | --program-transfo | --program-transf \
1123   | --program-trans | --program-tran \
1124   | --progr-tra | --program-tr | --program-t)
1125     ac_prev=program_transform_name ;;
1126   -program-transform-name=* | --program-transform-name=* \
1127   | --program-transform-nam=* | --program-transform-na=* \
1128   | --program-transform-n=* | --program-transform-=* \
1129   | --program-transform=* | --program-transfor=* \
1130   | --program-transfo=* | --program-transf=* \
1131   | --program-trans=* | --program-tran=* \
1132   | --progr-tra=* | --program-tr=* | --program-t=*)
1133     program_transform_name=$ac_optarg ;;
1134
1135   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136     ac_prev=pdfdir ;;
1137   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138     pdfdir=$ac_optarg ;;
1139
1140   -psdir | --psdir | --psdi | --psd | --ps)
1141     ac_prev=psdir ;;
1142   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143     psdir=$ac_optarg ;;
1144
1145   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146   | -silent | --silent | --silen | --sile | --sil)
1147     silent=yes ;;
1148
1149   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150     ac_prev=sbindir ;;
1151   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152   | --sbi=* | --sb=*)
1153     sbindir=$ac_optarg ;;
1154
1155   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1156   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1157   | --sharedst | --shareds | --shared | --share | --shar \
1158   | --sha | --sh)
1159     ac_prev=sharedstatedir ;;
1160   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1161   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1162   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163   | --sha=* | --sh=*)
1164     sharedstatedir=$ac_optarg ;;
1165
1166   -site | --site | --sit)
1167     ac_prev=site ;;
1168   -site=* | --site=* | --sit=*)
1169     site=$ac_optarg ;;
1170
1171   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172     ac_prev=srcdir ;;
1173   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1174     srcdir=$ac_optarg ;;
1175
1176   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1177   | --syscon | --sysco | --sysc | --sys | --sy)
1178     ac_prev=sysconfdir ;;
1179   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1180   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1181     sysconfdir=$ac_optarg ;;
1182
1183   -target | --target | --targe | --targ | --tar | --ta | --t)
1184     ac_prev=target_alias ;;
1185   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1186     target_alias=$ac_optarg ;;
1187
1188   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1189     verbose=yes ;;
1190
1191   -version | --version | --versio | --versi | --vers | -V)
1192     ac_init_version=: ;;
1193
1194   -with-* | --with-*)
1195     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1196     # Reject names that are not valid shell variable names.
1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198       as_fn_error "invalid package name: $ac_useropt"
1199     ac_useropt_orig=$ac_useropt
1200     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201     case $ac_user_opts in
1202       *"
1203 "with_$ac_useropt"
1204 "*) ;;
1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1206          ac_unrecognized_sep=', ';;
1207     esac
1208     eval with_$ac_useropt=\$ac_optarg ;;
1209
1210   -without-* | --without-*)
1211     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1212     # Reject names that are not valid shell variable names.
1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214       as_fn_error "invalid package name: $ac_useropt"
1215     ac_useropt_orig=$ac_useropt
1216     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217     case $ac_user_opts in
1218       *"
1219 "with_$ac_useropt"
1220 "*) ;;
1221       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1222          ac_unrecognized_sep=', ';;
1223     esac
1224     eval with_$ac_useropt=no ;;
1225
1226   --x)
1227     # Obsolete; use --with-x.
1228     with_x=yes ;;
1229
1230   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1231   | --x-incl | --x-inc | --x-in | --x-i)
1232     ac_prev=x_includes ;;
1233   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1234   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1235     x_includes=$ac_optarg ;;
1236
1237   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1238   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1239     ac_prev=x_libraries ;;
1240   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1241   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1242     x_libraries=$ac_optarg ;;
1243
1244   -*) as_fn_error "unrecognized option: \`$ac_option'
1245 Try \`$0 --help' for more information."
1246     ;;
1247
1248   *=*)
1249     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1250     # Reject names that are not valid shell variable names.
1251     case $ac_envvar in #(
1252       '' | [0-9]* | *[!_$as_cr_alnum]* )
1253       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1254     esac
1255     eval $ac_envvar=\$ac_optarg
1256     export $ac_envvar ;;
1257
1258   *)
1259     # FIXME: should be removed in autoconf 3.0.
1260     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1262       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1264     ;;
1265
1266   esac
1267 done
1268
1269 if test -n "$ac_prev"; then
1270   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1271   as_fn_error "missing argument to $ac_option"
1272 fi
1273
1274 if test -n "$ac_unrecognized_opts"; then
1275   case $enable_option_checking in
1276     no) ;;
1277     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1278     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279   esac
1280 fi
1281
1282 # Check all directory arguments for consistency.
1283 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1284                 datadir sysconfdir sharedstatedir localstatedir includedir \
1285                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1286                 libdir localedir mandir
1287 do
1288   eval ac_val=\$$ac_var
1289   # Remove trailing slashes.
1290   case $ac_val in
1291     */ )
1292       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1293       eval $ac_var=\$ac_val;;
1294   esac
1295   # Be sure to have absolute directory names.
1296   case $ac_val in
1297     [\\/$]* | ?:[\\/]* )  continue;;
1298     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1299   esac
1300   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1301 done
1302
1303 # There might be people who depend on the old broken behavior: `$host'
1304 # used to hold the argument of --host etc.
1305 # FIXME: To remove some day.
1306 build=$build_alias
1307 host=$host_alias
1308 target=$target_alias
1309
1310 # FIXME: To remove some day.
1311 if test "x$host_alias" != x; then
1312   if test "x$build_alias" = x; then
1313     cross_compiling=maybe
1314     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1315     If a cross compiler is detected then cross compile mode will be used." >&2
1316   elif test "x$build_alias" != "x$host_alias"; then
1317     cross_compiling=yes
1318   fi
1319 fi
1320
1321 ac_tool_prefix=
1322 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1323
1324 test "$silent" = yes && exec 6>/dev/null
1325
1326
1327 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di=`ls -di .` &&
1329 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330   as_fn_error "working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332   as_fn_error "pwd does not report name of working directory"
1333
1334
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337   ac_srcdir_defaulted=yes
1338   # Try the directory containing this script, then the parent directory.
1339   ac_confdir=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341          X"$as_myself" : 'X\(//\)[^/]' \| \
1342          X"$as_myself" : 'X\(//\)$' \| \
1343          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\/\)[^/].*/{
1350             s//\1/
1351             q
1352           }
1353           /^X\(\/\/\)$/{
1354             s//\1/
1355             q
1356           }
1357           /^X\(\/\).*/{
1358             s//\1/
1359             q
1360           }
1361           s/.*/./; q'`
1362   srcdir=$ac_confdir
1363   if test ! -r "$srcdir/$ac_unique_file"; then
1364     srcdir=..
1365   fi
1366 else
1367   ac_srcdir_defaulted=no
1368 fi
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1372 fi
1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 ac_abs_confdir=`(
1375         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1376         pwd)`
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379   srcdir=.
1380 fi
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1384 case $srcdir in
1385 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 esac
1387 for ac_var in $ac_precious_vars; do
1388   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1389   eval ac_env_${ac_var}_value=\$${ac_var}
1390   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1391   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1392 done
1393
1394 #
1395 # Report the --help message.
1396 #
1397 if test "$ac_init_help" = "long"; then
1398   # Omit some internal or obsolete options to make the list less imposing.
1399   # This message is too long to be a string in the A/UX 3.1 sh.
1400   cat <<_ACEOF
1401 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1402
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1404
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE.  See below for descriptions of some of the useful variables.
1407
1408 Defaults for the options are specified in brackets.
1409
1410 Configuration:
1411   -h, --help              display this help and exit
1412       --help=short        display options specific to this package
1413       --help=recursive    display the short help of all the included packages
1414   -V, --version           display version information and exit
1415   -q, --quiet, --silent   do not print \`checking...' messages
1416       --cache-file=FILE   cache test results in FILE [disabled]
1417   -C, --config-cache      alias for \`--cache-file=config.cache'
1418   -n, --no-create         do not create output files
1419       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1420
1421 Installation directories:
1422   --prefix=PREFIX         install architecture-independent files in PREFIX
1423                           [$ac_default_prefix]
1424   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1425                           [PREFIX]
1426
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1431
1432 For better control, use the options below.
1433
1434 Fine tuning of the installation directories:
1435   --bindir=DIR            user executables [EPREFIX/bin]
1436   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1437   --libexecdir=DIR        program executables [EPREFIX/libexec]
1438   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1439   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1440   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1441   --libdir=DIR            object code libraries [EPREFIX/lib]
1442   --includedir=DIR        C header files [PREFIX/include]
1443   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1444   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1445   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1446   --infodir=DIR           info documentation [DATAROOTDIR/info]
1447   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1448   --mandir=DIR            man documentation [DATAROOTDIR/man]
1449   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1450   --htmldir=DIR           html documentation [DOCDIR]
1451   --dvidir=DIR            dvi documentation [DOCDIR]
1452   --pdfdir=DIR            pdf documentation [DOCDIR]
1453   --psdir=DIR             ps documentation [DOCDIR]
1454 _ACEOF
1455
1456   cat <<\_ACEOF
1457
1458 Program names:
1459   --program-prefix=PREFIX            prepend PREFIX to installed program names
1460   --program-suffix=SUFFIX            append SUFFIX to installed program names
1461   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1462
1463 System types:
1464   --build=BUILD     configure for building on BUILD [guessed]
1465   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1466   --target=TARGET   configure for building compilers for TARGET [HOST]
1467 _ACEOF
1468 fi
1469
1470 if test -n "$ac_init_help"; then
1471   case $ac_init_help in
1472      short | recursive ) echo "Configuration of package-unused version-unused:";;
1473    esac
1474   cat <<\_ACEOF
1475
1476 Optional Features:
1477   --disable-option-checking  ignore unrecognized --enable/--with options
1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1480   --enable-multilib       build many library versions (default)
1481   --enable-maintainer-mode  enable make rules and dependencies not useful
1482                           (and sometimes confusing) to the casual installer
1483   --enable-shared[=PKGS]  build shared libraries [default=yes]
1484   --enable-static[=PKGS]  build static libraries [default=yes]
1485   --enable-fast-install[=PKGS]
1486                           optimize for fast installation [default=yes]
1487   --disable-libtool-lock  avoid locking (might break parallel builds)
1488   --disable-hosted-libstdcxx
1489                           only build freestanding C++ runtime support
1490   --enable-sjlj-exceptions
1491                           force use of builtin_setjmp for exceptions
1492                           [default=auto]
1493   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1494                           [default=$is_hosted]
1495   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1496   --enable-clocale[=MODEL]
1497                           use MODEL for target locale package [default=auto]
1498   --enable-nls            use Native Language Support (default)
1499   --enable-libstdcxx-allocator=KIND
1500                           use KIND for target std::allocator base
1501                           [default=auto]
1502   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1503   --enable-long-long      enable template specializations for 'long long'
1504                           [default=yes]
1505   --enable-wchar_t        enable template specializations for 'wchar_t'
1506                           [default=yes]
1507   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1508   --enable-concept-checks use Boost-derived template checks [default=no]
1509   --enable-libstdcxx-debug-flags=FLAGS
1510                           pass compiler FLAGS when building debug library
1511                           [default="-g3 -O0"]
1512   --enable-libstdcxx-debug
1513                           build extra debug library [default=no]
1514   --enable-cxx-flags=FLAGS
1515                           pass compiler FLAGS when building library [default=]
1516   --enable-fully-dynamic-string
1517                           do not put empty strings in per-process static
1518                           memory [default=no]
1519   --enable-libstdcxx-time=KIND
1520                           use KIND for check type [default=no]
1521   --enable-tls            Use thread-local storage [default=yes]
1522   --disable-rpath         do not hardcode runtime library paths
1523   --enable-linux-futex    use the Linux futex system call [default=default]
1524   --enable-symvers=STYLE  enables symbol versioning of the shared library
1525                           [default=yes]
1526   --enable-visibility     enables visibility safe usage [default=yes]
1527   --enable-version-specific-runtime-libs
1528                           Specify that runtime libraries should be installed
1529                           in a compiler-specific directory
1530
1531 Optional Packages:
1532   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1533   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1534   --with-target-subdir=SUBDIR
1535                           configuring in a subdirectory
1536   --with-cross-host=HOST  configuring with a cross compiler
1537   --with-newlib           assume newlib as a system C library
1538   --with-pic              try to use only PIC/non-PIC objects [default=use
1539                           both]
1540   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1541   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1542   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1543   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1544   --with-system-libunwind use installed libunwind
1545   --with-gxx-include-dir=DIR
1546                           installation directory for include files
1547
1548 Some influential environment variables:
1549   CC          C compiler command
1550   CFLAGS      C compiler flags
1551   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1552               nonstandard directory <lib dir>
1553   LIBS        libraries to pass to the linker, e.g. -l<library>
1554   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1555               you have headers in a nonstandard directory <include dir>
1556   CXX         C++ compiler command
1557   CXXFLAGS    C++ compiler flags
1558   CPP         C preprocessor
1559   CXXCPP      C++ preprocessor
1560   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1561               `c++filt', `gc++filt' on PATH.
1562
1563 Use these variables to override the choices made by `configure' or to help
1564 it to find libraries and programs with nonstandard names/locations.
1565
1566 Report bugs to the package provider.
1567 _ACEOF
1568 ac_status=$?
1569 fi
1570
1571 if test "$ac_init_help" = "recursive"; then
1572   # If there are subdirs, report their specific --help.
1573   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1574     test -d "$ac_dir" ||
1575       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1576       continue
1577     ac_builddir=.
1578
1579 case "$ac_dir" in
1580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *)
1582   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1583   # A ".." for each directory in $ac_dir_suffix.
1584   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1585   case $ac_top_builddir_sub in
1586   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1588   esac ;;
1589 esac
1590 ac_abs_top_builddir=$ac_pwd
1591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1592 # for backward compatibility:
1593 ac_top_builddir=$ac_top_build_prefix
1594
1595 case $srcdir in
1596   .)  # We are building in place.
1597     ac_srcdir=.
1598     ac_top_srcdir=$ac_top_builddir_sub
1599     ac_abs_top_srcdir=$ac_pwd ;;
1600   [\\/]* | ?:[\\/]* )  # Absolute name.
1601     ac_srcdir=$srcdir$ac_dir_suffix;
1602     ac_top_srcdir=$srcdir
1603     ac_abs_top_srcdir=$srcdir ;;
1604   *) # Relative name.
1605     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1606     ac_top_srcdir=$ac_top_build_prefix$srcdir
1607     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1608 esac
1609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1610
1611     cd "$ac_dir" || { ac_status=$?; continue; }
1612     # Check for guested configure.
1613     if test -f "$ac_srcdir/configure.gnu"; then
1614       echo &&
1615       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1616     elif test -f "$ac_srcdir/configure"; then
1617       echo &&
1618       $SHELL "$ac_srcdir/configure" --help=recursive
1619     else
1620       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1621     fi || ac_status=$?
1622     cd "$ac_pwd" || { ac_status=$?; break; }
1623   done
1624 fi
1625
1626 test -n "$ac_init_help" && exit $ac_status
1627 if $ac_init_version; then
1628   cat <<\_ACEOF
1629 package-unused configure version-unused
1630 generated by GNU Autoconf 2.64
1631
1632 Copyright (C) 2009 Free Software Foundation, Inc.
1633 This configure script is free software; the Free Software Foundation
1634 gives unlimited permission to copy, distribute and modify it.
1635 _ACEOF
1636   exit
1637 fi
1638
1639 ## ------------------------ ##
1640 ## Autoconf initialization. ##
1641 ## ------------------------ ##
1642
1643 # ac_fn_c_try_compile LINENO
1644 # --------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_compile ()
1647 {
1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649   rm -f conftest.$ac_objext
1650   if { { ac_try="$ac_compile"
1651 case "(($ac_try" in
1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653   *) ac_try_echo=$ac_try;;
1654 esac
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657   (eval "$ac_compile") 2>conftest.err
1658   ac_status=$?
1659   if test -s conftest.err; then
1660     grep -v '^ *+' conftest.err >conftest.er1
1661     cat conftest.er1 >&5
1662     mv -f conftest.er1 conftest.err
1663   fi
1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665   test $ac_status = 0; } && {
1666          test -z "$ac_c_werror_flag" ||
1667          test ! -s conftest.err
1668        } && test -s conftest.$ac_objext; then :
1669   ac_retval=0
1670 else
1671   $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1673
1674         ac_retval=1
1675 fi
1676   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677   return $ac_retval
1678
1679 } # ac_fn_c_try_compile
1680
1681 # ac_fn_cxx_try_compile LINENO
1682 # ----------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_cxx_try_compile ()
1685 {
1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687   rm -f conftest.$ac_objext
1688   if { { ac_try="$ac_compile"
1689 case "(($ac_try" in
1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691   *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695   (eval "$ac_compile") 2>conftest.err
1696   ac_status=$?
1697   if test -s conftest.err; then
1698     grep -v '^ *+' conftest.err >conftest.er1
1699     cat conftest.er1 >&5
1700     mv -f conftest.er1 conftest.err
1701   fi
1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703   test $ac_status = 0; } && {
1704          test -z "$ac_cxx_werror_flag" ||
1705          test ! -s conftest.err
1706        } && test -s conftest.$ac_objext; then :
1707   ac_retval=0
1708 else
1709   $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1711
1712         ac_retval=1
1713 fi
1714   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715   return $ac_retval
1716
1717 } # ac_fn_cxx_try_compile
1718
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_cpp ()
1723 {
1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725   if { { ac_try="$ac_cpp conftest.$ac_ext"
1726 case "(($ac_try" in
1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728   *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733   ac_status=$?
1734   if test -s conftest.err; then
1735     grep -v '^ *+' conftest.err >conftest.er1
1736     cat conftest.er1 >&5
1737     mv -f conftest.er1 conftest.err
1738   fi
1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740   test $ac_status = 0; } >/dev/null && {
1741          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742          test ! -s conftest.err
1743        }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749     ac_retval=1
1750 fi
1751   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752   return $ac_retval
1753
1754 } # ac_fn_c_try_cpp
1755
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_link ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   rm -f conftest.$ac_objext conftest$ac_exeext
1763   if { { ac_try="$ac_link"
1764 case "(($ac_try" in
1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766   *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770   (eval "$ac_link") 2>conftest.err
1771   ac_status=$?
1772   if test -s conftest.err; then
1773     grep -v '^ *+' conftest.err >conftest.er1
1774     cat conftest.er1 >&5
1775     mv -f conftest.er1 conftest.err
1776   fi
1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778   test $ac_status = 0; } && {
1779          test -z "$ac_c_werror_flag" ||
1780          test ! -s conftest.err
1781        } && test -s conftest$ac_exeext && {
1782          test "$cross_compiling" = yes ||
1783          $as_test_x conftest$ac_exeext
1784        }; then :
1785   ac_retval=0
1786 else
1787   $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790         ac_retval=1
1791 fi
1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794   # interfere with the next link command; also delete a directory that is
1795   # left behind by Apple's compiler.  We do this before executing the actions.
1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798   return $ac_retval
1799
1800 } # ac_fn_c_try_link
1801
1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists and can be compiled using the include files in
1805 # INCLUDES, setting the cache variable VAR accordingly.
1806 ac_fn_c_check_header_compile ()
1807 {
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812   $as_echo_n "(cached) " >&6
1813 else
1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h.  */
1816 $4
1817 #include <$2>
1818 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820   eval "$3=yes"
1821 else
1822   eval "$3=no"
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 fi
1826 eval ac_res=\$$3
1827                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830
1831 } # ac_fn_c_check_header_compile
1832
1833 # ac_fn_c_try_run LINENO
1834 # ----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1836 # that executables *can* be run.
1837 ac_fn_c_try_run ()
1838 {
1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840   if { { ac_try="$ac_link"
1841 case "(($ac_try" in
1842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843   *) ac_try_echo=$ac_try;;
1844 esac
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847   (eval "$ac_link") 2>&5
1848   ac_status=$?
1849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1851   { { case "(($ac_try" in
1852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853   *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857   (eval "$ac_try") 2>&5
1858   ac_status=$?
1859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860   test $ac_status = 0; }; }; then :
1861   ac_retval=0
1862 else
1863   $as_echo "$as_me: program exited with status $ac_status" >&5
1864        $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1866
1867        ac_retval=$ac_status
1868 fi
1869   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871   return $ac_retval
1872
1873 } # ac_fn_c_try_run
1874
1875 # ac_fn_c_check_func LINENO FUNC VAR
1876 # ----------------------------------
1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1878 ac_fn_c_check_func ()
1879 {
1880   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884   $as_echo_n "(cached) " >&6
1885 else
1886   if test x$gcc_no_link = xyes; then
1887   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1888 fi
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h.  */
1891 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1893 #define $2 innocuous_$2
1894
1895 /* System header to define __stub macros and hopefully few prototypes,
1896     which can conflict with char $2 (); below.
1897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1898     <limits.h> exists even on freestanding compilers.  */
1899
1900 #ifdef __STDC__
1901 # include <limits.h>
1902 #else
1903 # include <assert.h>
1904 #endif
1905
1906 #undef $2
1907
1908 /* Override any GCC internal prototype to avoid an error.
1909    Use char because int might match the return type of a GCC
1910    builtin and then its argument prototype would still apply.  */
1911 #ifdef __cplusplus
1912 extern "C"
1913 #endif
1914 char $2 ();
1915 /* The GNU C library defines this for functions which it implements
1916     to always fail with ENOSYS.  Some functions are actually named
1917     something starting with __ and the normal name is an alias.  */
1918 #if defined __stub_$2 || defined __stub___$2
1919 choke me
1920 #endif
1921
1922 int
1923 main ()
1924 {
1925 return $2 ();
1926   ;
1927   return 0;
1928 }
1929 _ACEOF
1930 if ac_fn_c_try_link "$LINENO"; then :
1931   eval "$3=yes"
1932 else
1933   eval "$3=no"
1934 fi
1935 rm -f core conftest.err conftest.$ac_objext \
1936     conftest$ac_exeext conftest.$ac_ext
1937 fi
1938 eval ac_res=\$$3
1939                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
1943 } # ac_fn_c_check_func
1944
1945 # ac_fn_cxx_try_cpp LINENO
1946 # ------------------------
1947 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1948 ac_fn_cxx_try_cpp ()
1949 {
1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951   if { { ac_try="$ac_cpp conftest.$ac_ext"
1952 case "(($ac_try" in
1953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954   *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1959   ac_status=$?
1960   if test -s conftest.err; then
1961     grep -v '^ *+' conftest.err >conftest.er1
1962     cat conftest.er1 >&5
1963     mv -f conftest.er1 conftest.err
1964   fi
1965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966   test $ac_status = 0; } >/dev/null && {
1967          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1968          test ! -s conftest.err
1969        }; then :
1970   ac_retval=0
1971 else
1972   $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1974
1975     ac_retval=1
1976 fi
1977   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978   return $ac_retval
1979
1980 } # ac_fn_cxx_try_cpp
1981
1982 # ac_fn_cxx_try_link LINENO
1983 # -------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_cxx_try_link ()
1986 {
1987   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988   rm -f conftest.$ac_objext conftest$ac_exeext
1989   if { { ac_try="$ac_link"
1990 case "(($ac_try" in
1991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992   *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996   (eval "$ac_link") 2>conftest.err
1997   ac_status=$?
1998   if test -s conftest.err; then
1999     grep -v '^ *+' conftest.err >conftest.er1
2000     cat conftest.er1 >&5
2001     mv -f conftest.er1 conftest.err
2002   fi
2003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004   test $ac_status = 0; } && {
2005          test -z "$ac_cxx_werror_flag" ||
2006          test ! -s conftest.err
2007        } && test -s conftest$ac_exeext && {
2008          test "$cross_compiling" = yes ||
2009          $as_test_x conftest$ac_exeext
2010        }; then :
2011   ac_retval=0
2012 else
2013   $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016         ac_retval=1
2017 fi
2018   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020   # interfere with the next link command; also delete a directory that is
2021   # left behind by Apple's compiler.  We do this before executing the actions.
2022   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024   return $ac_retval
2025
2026 } # ac_fn_cxx_try_link
2027
2028 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2029 # -------------------------------------------------------
2030 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2031 # the include files in INCLUDES and setting the cache variable VAR
2032 # accordingly.
2033 ac_fn_c_check_header_mongrel ()
2034 {
2035   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2040   $as_echo_n "(cached) " >&6
2041 fi
2042 eval ac_res=\$$3
2043                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2045 else
2046   # Is the header compilable?
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2048 $as_echo_n "checking $2 usability... " >&6; }
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h.  */
2051 $4
2052 #include <$2>
2053 _ACEOF
2054 if ac_fn_c_try_compile "$LINENO"; then :
2055   ac_header_compiler=yes
2056 else
2057   ac_header_compiler=no
2058 fi
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2061 $as_echo "$ac_header_compiler" >&6; }
2062
2063 # Is the header present?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2065 $as_echo_n "checking $2 presence... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h.  */
2068 #include <$2>
2069 _ACEOF
2070 if ac_fn_c_try_cpp "$LINENO"; then :
2071   ac_header_preproc=yes
2072 else
2073   ac_header_preproc=no
2074 fi
2075 rm -f conftest.err conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2077 $as_echo "$ac_header_preproc" >&6; }
2078
2079 # So?  What about this header?
2080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2081   yes:no: )
2082     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2083 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2085 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2086     ;;
2087   no:yes:* )
2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2089 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2091 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2092     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2093 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2094     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2095 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2096     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2097 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2098     ;;
2099 esac
2100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2101 $as_echo_n "checking for $2... " >&6; }
2102 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2103   $as_echo_n "(cached) " >&6
2104 else
2105   eval "$3=\$ac_header_compiler"
2106 fi
2107 eval ac_res=\$$3
2108                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 fi
2111   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2112
2113 } # ac_fn_c_check_header_mongrel
2114
2115 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2116 # ---------------------------------------------------------
2117 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2118 # the include files in INCLUDES and setting the cache variable VAR
2119 # accordingly.
2120 ac_fn_cxx_check_header_mongrel ()
2121 {
2122   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127   $as_echo_n "(cached) " >&6
2128 fi
2129 eval ac_res=\$$3
2130                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 else
2133   # Is the header compilable?
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2135 $as_echo_n "checking $2 usability... " >&6; }
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h.  */
2138 $4
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_cxx_try_compile "$LINENO"; then :
2142   ac_header_compiler=yes
2143 else
2144   ac_header_compiler=no
2145 fi
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2148 $as_echo "$ac_header_compiler" >&6; }
2149
2150 # Is the header present?
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2152 $as_echo_n "checking $2 presence... " >&6; }
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h.  */
2155 #include <$2>
2156 _ACEOF
2157 if ac_fn_cxx_try_cpp "$LINENO"; then :
2158   ac_header_preproc=yes
2159 else
2160   ac_header_preproc=no
2161 fi
2162 rm -f conftest.err conftest.$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2164 $as_echo "$ac_header_preproc" >&6; }
2165
2166 # So?  What about this header?
2167 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2168   yes:no: )
2169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2170 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2172 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2173     ;;
2174   no:yes:* )
2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2176 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2178 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2180 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2182 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2184 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2185     ;;
2186 esac
2187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2190   $as_echo_n "(cached) " >&6
2191 else
2192   eval "$3=\$ac_header_compiler"
2193 fi
2194 eval ac_res=\$$3
2195                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2197 fi
2198   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2199
2200 } # ac_fn_cxx_check_header_mongrel
2201
2202 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2203 # --------------------------------------------
2204 # Tries to find the compile-time value of EXPR in a program that includes
2205 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2206 # computed
2207 ac_fn_c_compute_int ()
2208 {
2209   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2210   if test "$cross_compiling" = yes; then
2211     # Depending upon the size, compute the lo and hi bounds.
2212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h.  */
2214 $4
2215 int
2216 main ()
2217 {
2218 static int test_array [1 - 2 * !(($2) >= 0)];
2219 test_array [0] = 0
2220
2221   ;
2222   return 0;
2223 }
2224 _ACEOF
2225 if ac_fn_c_try_compile "$LINENO"; then :
2226   ac_lo=0 ac_mid=0
2227   while :; do
2228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229 /* end confdefs.h.  */
2230 $4
2231 int
2232 main ()
2233 {
2234 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2235 test_array [0] = 0
2236
2237   ;
2238   return 0;
2239 }
2240 _ACEOF
2241 if ac_fn_c_try_compile "$LINENO"; then :
2242   ac_hi=$ac_mid; break
2243 else
2244   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2245                         if test $ac_lo -le $ac_mid; then
2246                           ac_lo= ac_hi=
2247                           break
2248                         fi
2249                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2250 fi
2251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2252   done
2253 else
2254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h.  */
2256 $4
2257 int
2258 main ()
2259 {
2260 static int test_array [1 - 2 * !(($2) < 0)];
2261 test_array [0] = 0
2262
2263   ;
2264   return 0;
2265 }
2266 _ACEOF
2267 if ac_fn_c_try_compile "$LINENO"; then :
2268   ac_hi=-1 ac_mid=-1
2269   while :; do
2270     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h.  */
2272 $4
2273 int
2274 main ()
2275 {
2276 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2277 test_array [0] = 0
2278
2279   ;
2280   return 0;
2281 }
2282 _ACEOF
2283 if ac_fn_c_try_compile "$LINENO"; then :
2284   ac_lo=$ac_mid; break
2285 else
2286   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2287                         if test $ac_mid -le $ac_hi; then
2288                           ac_lo= ac_hi=
2289                           break
2290                         fi
2291                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2292 fi
2293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2294   done
2295 else
2296   ac_lo= ac_hi=
2297 fi
2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299 fi
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 # Binary search between lo and hi bounds.
2302 while test "x$ac_lo" != "x$ac_hi"; do
2303   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h.  */
2306 $4
2307 int
2308 main ()
2309 {
2310 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2311 test_array [0] = 0
2312
2313   ;
2314   return 0;
2315 }
2316 _ACEOF
2317 if ac_fn_c_try_compile "$LINENO"; then :
2318   ac_hi=$ac_mid
2319 else
2320   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2321 fi
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 case $ac_lo in #((
2325 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2326 '') ac_retval=1 ;;
2327 esac
2328   else
2329     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h.  */
2331 $4
2332 static long int longval () { return $2; }
2333 static unsigned long int ulongval () { return $2; }
2334 #include <stdio.h>
2335 #include <stdlib.h>
2336 int
2337 main ()
2338 {
2339
2340   FILE *f = fopen ("conftest.val", "w");
2341   if (! f)
2342     return 1;
2343   if (($2) < 0)
2344     {
2345       long int i = longval ();
2346       if (i != ($2))
2347         return 1;
2348       fprintf (f, "%ld", i);
2349     }
2350   else
2351     {
2352       unsigned long int i = ulongval ();
2353       if (i != ($2))
2354         return 1;
2355       fprintf (f, "%lu", i);
2356     }
2357   /* Do not output a trailing newline, as this causes \r\n confusion
2358      on some platforms.  */
2359   return ferror (f) || fclose (f) != 0;
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_run "$LINENO"; then :
2366   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2367 else
2368   ac_retval=1
2369 fi
2370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2371   conftest.$ac_objext conftest.beam conftest.$ac_ext
2372 rm -f conftest.val
2373
2374   fi
2375   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2376   return $ac_retval
2377
2378 } # ac_fn_c_compute_int
2379
2380 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2381 # -------------------------------------------
2382 # Tests whether TYPE exists after having included INCLUDES, setting cache
2383 # variable VAR accordingly.
2384 ac_fn_c_check_type ()
2385 {
2386   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2388 $as_echo_n "checking for $2... " >&6; }
2389 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2390   $as_echo_n "(cached) " >&6
2391 else
2392   eval "$3=no"
2393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h.  */
2395 $4
2396 int
2397 main ()
2398 {
2399 if (sizeof ($2))
2400          return 0;
2401   ;
2402   return 0;
2403 }
2404 _ACEOF
2405 if ac_fn_c_try_compile "$LINENO"; then :
2406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h.  */
2408 $4
2409 int
2410 main ()
2411 {
2412 if (sizeof (($2)))
2413             return 0;
2414   ;
2415   return 0;
2416 }
2417 _ACEOF
2418 if ac_fn_c_try_compile "$LINENO"; then :
2419
2420 else
2421   eval "$3=yes"
2422 fi
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 fi
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 fi
2427 eval ac_res=\$$3
2428                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2429 $as_echo "$ac_res" >&6; }
2430   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431
2432 } # ac_fn_c_check_type
2433 cat >config.log <<_ACEOF
2434 This file contains any messages produced by compilers while
2435 running configure, to aid debugging if configure makes a mistake.
2436
2437 It was created by package-unused $as_me version-unused, which was
2438 generated by GNU Autoconf 2.64.  Invocation command line was
2439
2440   $ $0 $@
2441
2442 _ACEOF
2443 exec 5>>config.log
2444 {
2445 cat <<_ASUNAME
2446 ## --------- ##
2447 ## Platform. ##
2448 ## --------- ##
2449
2450 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2451 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2452 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2453 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2454 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2455
2456 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2457 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2458
2459 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2460 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2461 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2462 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2463 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2464 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2465 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2466
2467 _ASUNAME
2468
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2471 do
2472   IFS=$as_save_IFS
2473   test -z "$as_dir" && as_dir=.
2474     $as_echo "PATH: $as_dir"
2475   done
2476 IFS=$as_save_IFS
2477
2478 } >&5
2479
2480 cat >&5 <<_ACEOF
2481
2482
2483 ## ----------- ##
2484 ## Core tests. ##
2485 ## ----------- ##
2486
2487 _ACEOF
2488
2489
2490 # Keep a trace of the command line.
2491 # Strip out --no-create and --no-recursion so they do not pile up.
2492 # Strip out --silent because we don't want to record it for future runs.
2493 # Also quote any args containing shell meta-characters.
2494 # Make two passes to allow for proper duplicate-argument suppression.
2495 ac_configure_args=
2496 ac_configure_args0=
2497 ac_configure_args1=
2498 ac_must_keep_next=false
2499 for ac_pass in 1 2
2500 do
2501   for ac_arg
2502   do
2503     case $ac_arg in
2504     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2505     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2506     | -silent | --silent | --silen | --sile | --sil)
2507       continue ;;
2508     *\'*)
2509       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2510     esac
2511     case $ac_pass in
2512     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2513     2)
2514       as_fn_append ac_configure_args1 " '$ac_arg'"
2515       if test $ac_must_keep_next = true; then
2516         ac_must_keep_next=false # Got value, back to normal.
2517       else
2518         case $ac_arg in
2519           *=* | --config-cache | -C | -disable-* | --disable-* \
2520           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2521           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2522           | -with-* | --with-* | -without-* | --without-* | --x)
2523             case "$ac_configure_args0 " in
2524               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2525             esac
2526             ;;
2527           -* ) ac_must_keep_next=true ;;
2528         esac
2529       fi
2530       as_fn_append ac_configure_args " '$ac_arg'"
2531       ;;
2532     esac
2533   done
2534 done
2535 { ac_configure_args0=; unset ac_configure_args0;}
2536 { ac_configure_args1=; unset ac_configure_args1;}
2537
2538 # When interrupted or exit'd, cleanup temporary files, and complete
2539 # config.log.  We remove comments because anyway the quotes in there
2540 # would cause problems or look ugly.
2541 # WARNING: Use '\'' to represent an apostrophe within the trap.
2542 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2543 trap 'exit_status=$?
2544   # Save into config.log some information that might help in debugging.
2545   {
2546     echo
2547
2548     cat <<\_ASBOX
2549 ## ---------------- ##
2550 ## Cache variables. ##
2551 ## ---------------- ##
2552 _ASBOX
2553     echo
2554     # The following way of writing the cache mishandles newlines in values,
2555 (
2556   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2557     eval ac_val=\$$ac_var
2558     case $ac_val in #(
2559     *${as_nl}*)
2560       case $ac_var in #(
2561       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2563       esac
2564       case $ac_var in #(
2565       _ | IFS | as_nl) ;; #(
2566       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2567       *) { eval $ac_var=; unset $ac_var;} ;;
2568       esac ;;
2569     esac
2570   done
2571   (set) 2>&1 |
2572     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2573     *${as_nl}ac_space=\ *)
2574       sed -n \
2575         "s/'\''/'\''\\\\'\'''\''/g;
2576           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2577       ;; #(
2578     *)
2579       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2580       ;;
2581     esac |
2582     sort
2583 )
2584     echo
2585
2586     cat <<\_ASBOX
2587 ## ----------------- ##
2588 ## Output variables. ##
2589 ## ----------------- ##
2590 _ASBOX
2591     echo
2592     for ac_var in $ac_subst_vars
2593     do
2594       eval ac_val=\$$ac_var
2595       case $ac_val in
2596       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2597       esac
2598       $as_echo "$ac_var='\''$ac_val'\''"
2599     done | sort
2600     echo
2601
2602     if test -n "$ac_subst_files"; then
2603       cat <<\_ASBOX
2604 ## ------------------- ##
2605 ## File substitutions. ##
2606 ## ------------------- ##
2607 _ASBOX
2608       echo
2609       for ac_var in $ac_subst_files
2610       do
2611         eval ac_val=\$$ac_var
2612         case $ac_val in
2613         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2614         esac
2615         $as_echo "$ac_var='\''$ac_val'\''"
2616       done | sort
2617       echo
2618     fi
2619
2620     if test -s confdefs.h; then
2621       cat <<\_ASBOX
2622 ## ----------- ##
2623 ## confdefs.h. ##
2624 ## ----------- ##
2625 _ASBOX
2626       echo
2627       cat confdefs.h
2628       echo
2629     fi
2630     test "$ac_signal" != 0 &&
2631       $as_echo "$as_me: caught signal $ac_signal"
2632     $as_echo "$as_me: exit $exit_status"
2633   } >&5
2634   rm -f core *.core core.conftest.* &&
2635     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2636     exit $exit_status
2637 ' 0
2638 for ac_signal in 1 2 13 15; do
2639   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2640 done
2641 ac_signal=0
2642
2643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2644 rm -f -r conftest* confdefs.h
2645
2646 $as_echo "/* confdefs.h */" > confdefs.h
2647
2648 # Predefined preprocessor variables.
2649
2650 cat >>confdefs.h <<_ACEOF
2651 #define PACKAGE_NAME "$PACKAGE_NAME"
2652 _ACEOF
2653
2654 cat >>confdefs.h <<_ACEOF
2655 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2656 _ACEOF
2657
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2660 _ACEOF
2661
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE_STRING "$PACKAGE_STRING"
2664 _ACEOF
2665
2666 cat >>confdefs.h <<_ACEOF
2667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2668 _ACEOF
2669
2670 cat >>confdefs.h <<_ACEOF
2671 #define PACKAGE_URL "$PACKAGE_URL"
2672 _ACEOF
2673
2674
2675 # Let the site file select an alternate cache file if it wants to.
2676 # Prefer an explicitly selected file to automatically selected ones.
2677 ac_site_file1=NONE
2678 ac_site_file2=NONE
2679 if test -n "$CONFIG_SITE"; then
2680   ac_site_file1=$CONFIG_SITE
2681 elif test "x$prefix" != xNONE; then
2682   ac_site_file1=$prefix/share/config.site
2683   ac_site_file2=$prefix/etc/config.site
2684 else
2685   ac_site_file1=$ac_default_prefix/share/config.site
2686   ac_site_file2=$ac_default_prefix/etc/config.site
2687 fi
2688 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2689 do
2690   test "x$ac_site_file" = xNONE && continue
2691   if test -r "$ac_site_file"; then
2692     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2693 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2694     sed 's/^/| /' "$ac_site_file" >&5
2695     . "$ac_site_file"
2696   fi
2697 done
2698
2699 if test -r "$cache_file"; then
2700   # Some versions of bash will fail to source /dev/null (special
2701   # files actually), so we avoid doing that.
2702   if test -f "$cache_file"; then
2703     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2704 $as_echo "$as_me: loading cache $cache_file" >&6;}
2705     case $cache_file in
2706       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2707       *)                      . "./$cache_file";;
2708     esac
2709   fi
2710 else
2711   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2712 $as_echo "$as_me: creating cache $cache_file" >&6;}
2713   >$cache_file
2714 fi
2715
2716 # Check that the precious variables saved in the cache have kept the same
2717 # value.
2718 ac_cache_corrupted=false
2719 for ac_var in $ac_precious_vars; do
2720   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2721   eval ac_new_set=\$ac_env_${ac_var}_set
2722   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2723   eval ac_new_val=\$ac_env_${ac_var}_value
2724   case $ac_old_set,$ac_new_set in
2725     set,)
2726       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2727 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2728       ac_cache_corrupted=: ;;
2729     ,set)
2730       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2732       ac_cache_corrupted=: ;;
2733     ,);;
2734     *)
2735       if test "x$ac_old_val" != "x$ac_new_val"; then
2736         # differences in whitespace do not lead to failure.
2737         ac_old_val_w=`echo x $ac_old_val`
2738         ac_new_val_w=`echo x $ac_new_val`
2739         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2740           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2741 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2742           ac_cache_corrupted=:
2743         else
2744           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2745 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2746           eval $ac_var=\$ac_old_val
2747         fi
2748         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2749 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2750         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2751 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2752       fi;;
2753   esac
2754   # Pass precious variables to config.status.
2755   if test "$ac_new_set" = set; then
2756     case $ac_new_val in
2757     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2758     *) ac_arg=$ac_var=$ac_new_val ;;
2759     esac
2760     case " $ac_configure_args " in
2761       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2762       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2763     esac
2764   fi
2765 done
2766 if $ac_cache_corrupted; then
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2770 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2771   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2772 fi
2773 ## -------------------- ##
2774 ## Main body of script. ##
2775 ## -------------------- ##
2776
2777 ac_ext=c
2778 ac_cpp='$CPP $CPPFLAGS'
2779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782
2783
2784
2785
2786
2787
2788 ac_config_headers="$ac_config_headers config.h"
2789
2790
2791 # This works around the fact that libtool configuration may change LD
2792 # for this particular configuration, but some shells, instead of
2793 # keeping the changes in LD private, export them just because LD is
2794 # exported.  Only used at the end of this file.
2795 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2796
2797 # For libtool versioning info, format is CURRENT:REVISION:AGE
2798 libtool_VERSION=6:15:0
2799
2800
2801 # Find the rest of the source tree framework.
2802 # Default to --enable-multilib
2803 # Check whether --enable-multilib was given.
2804 if test "${enable_multilib+set}" = set; then :
2805   enableval=$enable_multilib; case "$enableval" in
2806   yes) multilib=yes ;;
2807   no)  multilib=no ;;
2808   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2809  esac
2810 else
2811   multilib=yes
2812 fi
2813
2814
2815 # We may get other options which we leave undocumented:
2816 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2817 # See config-ml.in if you want the gory details.
2818
2819 if test "$srcdir" = "."; then
2820   if test "$with_target_subdir" != "."; then
2821     multi_basedir="$srcdir/$with_multisrctop../.."
2822   else
2823     multi_basedir="$srcdir/$with_multisrctop.."
2824   fi
2825 else
2826   multi_basedir="$srcdir/.."
2827 fi
2828
2829
2830 # Even if the default multilib is not a cross compilation,
2831 # it may be that some of the other multilibs are.
2832 if test $cross_compiling = no && test $multilib = yes \
2833    && test "x${with_multisubdir}" != x ; then
2834    cross_compiling=maybe
2835 fi
2836
2837 ac_config_commands="$ac_config_commands default-1"
2838
2839
2840 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2841 #
2842 # You will slowly go insane if you do not grok the following fact:  when
2843 # building v3 as part of the compiler, the top-level /target/ becomes the
2844 # library's /host/.  configure then causes --target to default to --host,
2845 # exactly like any other package using autoconf.  Therefore, 'target' and
2846 # 'host' will always be the same.  This makes sense both for native and
2847 # cross compilers, just think about it for a little while.  :-)
2848 #
2849 # Also, if v3 is being configured as part of a cross compiler, the top-level
2850 # configure script will pass the "real" host as $with_cross_host.
2851 #
2852 # Do not delete or change the following two lines.  For why, see
2853 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2854 ac_aux_dir=
2855 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2856   for ac_t in install-sh install.sh shtool; do
2857     if test -f "$ac_dir/$ac_t"; then
2858       ac_aux_dir=$ac_dir
2859       ac_install_sh="$ac_aux_dir/$ac_t -c"
2860       break 2
2861     fi
2862   done
2863 done
2864 if test -z "$ac_aux_dir"; then
2865   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2866 fi
2867
2868 # These three variables are undocumented and unsupported,
2869 # and are intended to be withdrawn in a future Autoconf release.
2870 # They can cause serious problems if a builder's source tree is in a directory
2871 # whose full name contains unusual characters.
2872 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2873 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2874 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2875
2876
2877 # Make sure we can run config.sub.
2878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2879   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2880
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2882 $as_echo_n "checking build system type... " >&6; }
2883 if test "${ac_cv_build+set}" = set; then :
2884   $as_echo_n "(cached) " >&6
2885 else
2886   ac_build_alias=$build_alias
2887 test "x$ac_build_alias" = x &&
2888   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2889 test "x$ac_build_alias" = x &&
2890   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2891 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2892   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2893
2894 fi
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2896 $as_echo "$ac_cv_build" >&6; }
2897 case $ac_cv_build in
2898 *-*-*) ;;
2899 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2900 esac
2901 build=$ac_cv_build
2902 ac_save_IFS=$IFS; IFS='-'
2903 set x $ac_cv_build
2904 shift
2905 build_cpu=$1
2906 build_vendor=$2
2907 shift; shift
2908 # Remember, the first character of IFS is used to create $*,
2909 # except with old shells:
2910 build_os=$*
2911 IFS=$ac_save_IFS
2912 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2913
2914
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2916 $as_echo_n "checking host system type... " >&6; }
2917 if test "${ac_cv_host+set}" = set; then :
2918   $as_echo_n "(cached) " >&6
2919 else
2920   if test "x$host_alias" = x; then
2921   ac_cv_host=$ac_cv_build
2922 else
2923   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2924     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2925 fi
2926
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2929 $as_echo "$ac_cv_host" >&6; }
2930 case $ac_cv_host in
2931 *-*-*) ;;
2932 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2933 esac
2934 host=$ac_cv_host
2935 ac_save_IFS=$IFS; IFS='-'
2936 set x $ac_cv_host
2937 shift
2938 host_cpu=$1
2939 host_vendor=$2
2940 shift; shift
2941 # Remember, the first character of IFS is used to create $*,
2942 # except with old shells:
2943 host_os=$*
2944 IFS=$ac_save_IFS
2945 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2946
2947
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2949 $as_echo_n "checking target system type... " >&6; }
2950 if test "${ac_cv_target+set}" = set; then :
2951   $as_echo_n "(cached) " >&6
2952 else
2953   if test "x$target_alias" = x; then
2954   ac_cv_target=$ac_cv_host
2955 else
2956   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2957     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2958 fi
2959
2960 fi
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2962 $as_echo "$ac_cv_target" >&6; }
2963 case $ac_cv_target in
2964 *-*-*) ;;
2965 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2966 esac
2967 target=$ac_cv_target
2968 ac_save_IFS=$IFS; IFS='-'
2969 set x $ac_cv_target
2970 shift
2971 target_cpu=$1
2972 target_vendor=$2
2973 shift; shift
2974 # Remember, the first character of IFS is used to create $*,
2975 # except with old shells:
2976 target_os=$*
2977 IFS=$ac_save_IFS
2978 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2979
2980
2981 # The aliases save the names the user supplied, while $host etc.
2982 # will get canonicalized.
2983 test -n "$target_alias" &&
2984   test "$program_prefix$program_suffix$program_transform_name" = \
2985     NONENONEs,x,x, &&
2986   program_prefix=${target_alias}-
2987
2988 target_alias=${target_alias-$host_alias}
2989
2990 # Handy for debugging:
2991 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2992
2993 if test "$build" != "$host"; then
2994   # We are being configured with some form of cross compiler.
2995   GLIBCXX_IS_NATIVE=false
2996   case "$host","$target" in
2997     # Darwin crosses can use the host system's libraries and headers,
2998     # because of the fat library support.  Of course, it must be the
2999     # same version of Darwin on both sides.  Allow the user to
3000     # just say --target=foo-darwin without a version number to mean
3001     # "the version on this system".
3002       *-*-darwin*,*-*-darwin*)
3003         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3004         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3005         if test $hostos = $targetos -o $targetos = darwin ; then
3006           GLIBCXX_IS_NATIVE=true
3007         fi
3008         ;;
3009
3010       *)
3011
3012         ;;
3013   esac
3014 else
3015   GLIBCXX_IS_NATIVE=true
3016 fi
3017
3018 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3019 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3020 #  1.x:  minimum required version
3021 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3022 #              of other PACKAGE_* variables will, however, and there's nothing
3023 #              we can do about that; they come from AC_INIT).
3024 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3025 #            file in the top srcdir, etc, etc), so stop complaining.
3026 #  no-dependencies:  turns off auto dependency generation (just for now)
3027 #  no-dist:  we don't want 'dist' and related rules.
3028 #  -Wall:  turns on all automake warnings...
3029 #  -Wno-portability:  ...except this one, since GNU make is now required.
3030 am__api_version='1.11'
3031
3032 # Find a good install program.  We prefer a C program (faster),
3033 # so one script is as good as another.  But avoid the broken or
3034 # incompatible versions:
3035 # SysV /etc/install, /usr/sbin/install
3036 # SunOS /usr/etc/install
3037 # IRIX /sbin/install
3038 # AIX /bin/install
3039 # AmigaOS /C/install, which installs bootblocks on floppy discs
3040 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3041 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3042 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3043 # OS/2's system install, which has a completely different semantic
3044 # ./install, which can be erroneously created by make from ./install.sh.
3045 # Reject install programs that cannot install multiple files.
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3047 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3048 if test -z "$INSTALL"; then
3049 if test "${ac_cv_path_install+set}" = set; then :
3050   $as_echo_n "(cached) " >&6
3051 else
3052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057     # Account for people who put trailing slashes in PATH elements.
3058 case $as_dir/ in #((
3059   ./ | .// | /[cC]/* | \
3060   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3061   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3062   /usr/ucb/* ) ;;
3063   *)
3064     # OSF1 and SCO ODT 3.0 have their own names for install.
3065     # Don't use installbsd from OSF since it installs stuff as root
3066     # by default.
3067     for ac_prog in ginstall scoinst install; do
3068       for ac_exec_ext in '' $ac_executable_extensions; do
3069         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3070           if test $ac_prog = install &&
3071             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3072             # AIX install.  It has an incompatible calling convention.
3073             :
3074           elif test $ac_prog = install &&
3075             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3076             # program-specific install script used by HP pwplus--don't use.
3077             :
3078           else
3079             rm -rf conftest.one conftest.two conftest.dir
3080             echo one > conftest.one
3081             echo two > conftest.two
3082             mkdir conftest.dir
3083             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3084               test -s conftest.one && test -s conftest.two &&
3085               test -s conftest.dir/conftest.one &&
3086               test -s conftest.dir/conftest.two
3087             then
3088               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3089               break 3
3090             fi
3091           fi
3092         fi
3093       done
3094     done
3095     ;;
3096 esac
3097
3098   done
3099 IFS=$as_save_IFS
3100
3101 rm -rf conftest.one conftest.two conftest.dir
3102
3103 fi
3104   if test "${ac_cv_path_install+set}" = set; then
3105     INSTALL=$ac_cv_path_install
3106   else
3107     # As a last resort, use the slow shell script.  Don't cache a
3108     # value for INSTALL within a source directory, because that will
3109     # break other packages using the cache if that directory is
3110     # removed, or if the value is a relative name.
3111     INSTALL=$ac_install_sh
3112   fi
3113 fi
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3115 $as_echo "$INSTALL" >&6; }
3116
3117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3118 # It thinks the first close brace ends the variable substitution.
3119 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3120
3121 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3122
3123 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3124
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3126 $as_echo_n "checking whether build environment is sane... " >&6; }
3127 # Just in case
3128 sleep 1
3129 echo timestamp > conftest.file
3130 # Reject unsafe characters in $srcdir or the absolute working directory
3131 # name.  Accept space and tab only in the latter.
3132 am_lf='
3133 '
3134 case `pwd` in
3135   *[\\\"\#\$\&\'\`$am_lf]*)
3136     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3137 esac
3138 case $srcdir in
3139   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3140     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3141 esac
3142
3143 # Do `set' in a subshell so we don't clobber the current shell's
3144 # arguments.  Must try -L first in case configure is actually a
3145 # symlink; some systems play weird games with the mod time of symlinks
3146 # (eg FreeBSD returns the mod time of the symlink's containing
3147 # directory).
3148 if (
3149    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3150    if test "$*" = "X"; then
3151       # -L didn't work.
3152       set X `ls -t "$srcdir/configure" conftest.file`
3153    fi
3154    rm -f conftest.file
3155    if test "$*" != "X $srcdir/configure conftest.file" \
3156       && test "$*" != "X conftest.file $srcdir/configure"; then
3157
3158       # If neither matched, then we have a broken ls.  This can happen
3159       # if, for instance, CONFIG_SHELL is bash and it inherits a
3160       # broken ls alias from the environment.  This has actually
3161       # happened.  Such a system could not be considered "sane".
3162       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3163 alias in your environment" "$LINENO" 5
3164    fi
3165
3166    test "$2" = conftest.file
3167    )
3168 then
3169    # Ok.
3170    :
3171 else
3172    as_fn_error "newly created file is older than distributed files!
3173 Check your system clock" "$LINENO" 5
3174 fi
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176 $as_echo "yes" >&6; }
3177 test "$program_prefix" != NONE &&
3178   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3179 # Use a double $ so make ignores it.
3180 test "$program_suffix" != NONE &&
3181   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3182 # Double any \ or $.
3183 # By default was `s,x,x', remove it if useless.
3184 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3185 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3186
3187 # expand $ac_aux_dir to an absolute path
3188 am_aux_dir=`cd $ac_aux_dir && pwd`
3189
3190 if test x"${MISSING+set}" != xset; then
3191   case $am_aux_dir in
3192   *\ * | *\     *)
3193     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3194   *)
3195     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3196   esac
3197 fi
3198 # Use eval to expand $SHELL
3199 if eval "$MISSING --run true"; then
3200   am_missing_run="$MISSING --run "
3201 else
3202   am_missing_run=
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3204 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3205 fi
3206
3207 if test x"${install_sh}" != xset; then
3208   case $am_aux_dir in
3209   *\ * | *\     *)
3210     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3211   *)
3212     install_sh="\${SHELL} $am_aux_dir/install-sh"
3213   esac
3214 fi
3215
3216 # Installed binaries are usually stripped using `strip' when the user
3217 # run `make install-strip'.  However `strip' might not be the right
3218 # tool to use in cross-compilation environments, therefore Automake
3219 # will honor the `STRIP' environment variable to overrule this program.
3220 if test "$cross_compiling" != no; then
3221   if test -n "$ac_tool_prefix"; then
3222   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3223 set dummy ${ac_tool_prefix}strip; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if test "${ac_cv_prog_STRIP+set}" = set; then :
3227   $as_echo_n "(cached) " >&6
3228 else
3229   if test -n "$STRIP"; then
3230   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237     for ac_exec_ext in '' $ac_executable_extensions; do
3238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241     break 2
3242   fi
3243 done
3244   done
3245 IFS=$as_save_IFS
3246
3247 fi
3248 fi
3249 STRIP=$ac_cv_prog_STRIP
3250 if test -n "$STRIP"; then
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3252 $as_echo "$STRIP" >&6; }
3253 else
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 fi
3257
3258
3259 fi
3260 if test -z "$ac_cv_prog_STRIP"; then
3261   ac_ct_STRIP=$STRIP
3262   # Extract the first word of "strip", so it can be a program name with args.
3263 set dummy strip; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3267   $as_echo_n "(cached) " >&6
3268 else
3269   if test -n "$ac_ct_STRIP"; then
3270   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3274 do
3275   IFS=$as_save_IFS
3276   test -z "$as_dir" && as_dir=.
3277     for ac_exec_ext in '' $ac_executable_extensions; do
3278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279     ac_cv_prog_ac_ct_STRIP="strip"
3280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281     break 2
3282   fi
3283 done
3284   done
3285 IFS=$as_save_IFS
3286
3287 fi
3288 fi
3289 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3290 if test -n "$ac_ct_STRIP"; then
3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3292 $as_echo "$ac_ct_STRIP" >&6; }
3293 else
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3296 fi
3297
3298   if test "x$ac_ct_STRIP" = x; then
3299     STRIP=":"
3300   else
3301     case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307     STRIP=$ac_ct_STRIP
3308   fi
3309 else
3310   STRIP="$ac_cv_prog_STRIP"
3311 fi
3312
3313 fi
3314 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3315
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3317 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3318 if test -z "$MKDIR_P"; then
3319   if test "${ac_cv_path_mkdir+set}" = set; then :
3320   $as_echo_n "(cached) " >&6
3321 else
3322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3324 do
3325   IFS=$as_save_IFS
3326   test -z "$as_dir" && as_dir=.
3327     for ac_prog in mkdir gmkdir; do
3328          for ac_exec_ext in '' $ac_executable_extensions; do
3329            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3330            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3331              'mkdir (GNU coreutils) '* | \
3332              'mkdir (coreutils) '* | \
3333              'mkdir (fileutils) '4.1*)
3334                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3335                break 3;;
3336            esac
3337          done
3338        done
3339   done
3340 IFS=$as_save_IFS
3341
3342 fi
3343
3344   if test "${ac_cv_path_mkdir+set}" = set; then
3345     MKDIR_P="$ac_cv_path_mkdir -p"
3346   else
3347     # As a last resort, use the slow shell script.  Don't cache a
3348     # value for MKDIR_P within a source directory, because that will
3349     # break other packages using the cache if that directory is
3350     # removed, or if the value is a relative name.
3351     test -d ./--version && rmdir ./--version
3352     MKDIR_P="$ac_install_sh -d"
3353   fi
3354 fi
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3356 $as_echo "$MKDIR_P" >&6; }
3357
3358 mkdir_p="$MKDIR_P"
3359 case $mkdir_p in
3360   [\\/$]* | ?:[\\/]*) ;;
3361   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3362 esac
3363
3364 for ac_prog in gawk mawk nawk awk
3365 do
3366   # Extract the first word of "$ac_prog", so it can be a program name with args.
3367 set dummy $ac_prog; ac_word=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if test "${ac_cv_prog_AWK+set}" = set; then :
3371   $as_echo_n "(cached) " >&6
3372 else
3373   if test -n "$AWK"; then
3374   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3375 else
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 for as_dir in $PATH
3378 do
3379   IFS=$as_save_IFS
3380   test -z "$as_dir" && as_dir=.
3381     for ac_exec_ext in '' $ac_executable_extensions; do
3382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383     ac_cv_prog_AWK="$ac_prog"
3384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385     break 2
3386   fi
3387 done
3388   done
3389 IFS=$as_save_IFS
3390
3391 fi
3392 fi
3393 AWK=$ac_cv_prog_AWK
3394 if test -n "$AWK"; then
3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3396 $as_echo "$AWK" >&6; }
3397 else
3398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3400 fi
3401
3402
3403   test -n "$AWK" && break
3404 done
3405
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3407 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3408 set x ${MAKE-make}
3409 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3410 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3411   $as_echo_n "(cached) " >&6
3412 else
3413   cat >conftest.make <<\_ACEOF
3414 SHELL = /bin/sh
3415 all:
3416         @echo '@@@%%%=$(MAKE)=@@@%%%'
3417 _ACEOF
3418 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3419 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3420   *@@@%%%=?*=@@@%%%*)
3421     eval ac_cv_prog_make_${ac_make}_set=yes;;
3422   *)
3423     eval ac_cv_prog_make_${ac_make}_set=no;;
3424 esac
3425 rm -f conftest.make
3426 fi
3427 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3429 $as_echo "yes" >&6; }
3430   SET_MAKE=
3431 else
3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3434   SET_MAKE="MAKE=${MAKE-make}"
3435 fi
3436
3437 rm -rf .tst 2>/dev/null
3438 mkdir .tst 2>/dev/null
3439 if test -d .tst; then
3440   am__leading_dot=.
3441 else
3442   am__leading_dot=_
3443 fi
3444 rmdir .tst 2>/dev/null
3445
3446 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3447   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3448   # is not polluted with repeated "-I."
3449   am__isrc=' -I$(srcdir)'
3450   # test to see if srcdir already configured
3451   if test -f $srcdir/config.status; then
3452     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3453   fi
3454 fi
3455
3456 # test whether we have cygpath
3457 if test -z "$CYGPATH_W"; then
3458   if (cygpath --version) >/dev/null 2>/dev/null; then
3459     CYGPATH_W='cygpath -w'
3460   else
3461     CYGPATH_W=echo
3462   fi
3463 fi
3464
3465
3466 # Define the identity of the package.
3467  PACKAGE='libstdc++'
3468  VERSION='version-unused'
3469
3470
3471 # Some tools Automake needs.
3472
3473 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3474
3475
3476 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3477
3478
3479 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3480
3481
3482 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3483
3484
3485 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3486
3487 # We need awk for the "check" target.  The system "awk" is bad on
3488 # some platforms.
3489 # Always define AMTAR for backward compatibility.
3490
3491 AMTAR=${AMTAR-"${am_missing_run}tar"}
3492
3493 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3494
3495
3496
3497
3498
3499
3500
3501
3502 # -fno-builtin must be present here so that a non-conflicting form of
3503 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3504
3505 save_CXXFLAGS="$CXXFLAGS"
3506 CXXFLAGS="$CXXFLAGS -fno-builtin"
3507 ac_ext=c
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 if test -n "$ac_tool_prefix"; then
3513   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3514 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518   $as_echo_n "(cached) " >&6
3519 else
3520   if test -n "$CC"; then
3521   ac_cv_prog_CC="$CC" # Let the user override the test.
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3525 do
3526   IFS=$as_save_IFS
3527   test -z "$as_dir" && as_dir=.
3528     for ac_exec_ext in '' $ac_executable_extensions; do
3529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3530     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532     break 2
3533   fi
3534 done
3535   done
3536 IFS=$as_save_IFS
3537
3538 fi
3539 fi
3540 CC=$ac_cv_prog_CC
3541 if test -n "$CC"; then
3542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3544 else
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 fi
3548
3549
3550 fi
3551 if test -z "$ac_cv_prog_CC"; then
3552   ac_ct_CC=$CC
3553   # Extract the first word of "gcc", so it can be a program name with args.
3554 set dummy gcc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3558   $as_echo_n "(cached) " >&6
3559 else
3560   if test -n "$ac_ct_CC"; then
3561   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3565 do
3566   IFS=$as_save_IFS
3567   test -z "$as_dir" && as_dir=.
3568     for ac_exec_ext in '' $ac_executable_extensions; do
3569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570     ac_cv_prog_ac_ct_CC="gcc"
3571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572     break 2
3573   fi
3574 done
3575   done
3576 IFS=$as_save_IFS
3577
3578 fi
3579 fi
3580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3581 if test -n "$ac_ct_CC"; then
3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3583 $as_echo "$ac_ct_CC" >&6; }
3584 else
3585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3587 fi
3588
3589   if test "x$ac_ct_CC" = x; then
3590     CC=""
3591   else
3592     case $cross_compiling:$ac_tool_warned in
3593 yes:)
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3596 ac_tool_warned=yes ;;
3597 esac
3598     CC=$ac_ct_CC
3599   fi
3600 else
3601   CC="$ac_cv_prog_CC"
3602 fi
3603
3604 if test -z "$CC"; then
3605           if test -n "$ac_tool_prefix"; then
3606     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3607 set dummy ${ac_tool_prefix}cc; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if test "${ac_cv_prog_CC+set}" = set; then :
3611   $as_echo_n "(cached) " >&6
3612 else
3613   if test -n "$CC"; then
3614   ac_cv_prog_CC="$CC" # Let the user override the test.
3615 else
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 for as_dir in $PATH
3618 do
3619   IFS=$as_save_IFS
3620   test -z "$as_dir" && as_dir=.
3621     for ac_exec_ext in '' $ac_executable_extensions; do
3622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623     ac_cv_prog_CC="${ac_tool_prefix}cc"
3624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625     break 2
3626   fi
3627 done
3628   done
3629 IFS=$as_save_IFS
3630
3631 fi
3632 fi
3633 CC=$ac_cv_prog_CC
3634 if test -n "$CC"; then
3635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3637 else
3638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3640 fi
3641
3642
3643   fi
3644 fi
3645 if test -z "$CC"; then
3646   # Extract the first word of "cc", so it can be a program name with args.
3647 set dummy cc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651   $as_echo_n "(cached) " >&6
3652 else
3653   if test -n "$CC"; then
3654   ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656   ac_prog_rejected=no
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3659 do
3660   IFS=$as_save_IFS
3661   test -z "$as_dir" && as_dir=.
3662     for ac_exec_ext in '' $ac_executable_extensions; do
3663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3665        ac_prog_rejected=yes
3666        continue
3667      fi
3668     ac_cv_prog_CC="cc"
3669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670     break 2
3671   fi
3672 done
3673   done
3674 IFS=$as_save_IFS
3675
3676 if test $ac_prog_rejected = yes; then
3677   # We found a bogon in the path, so make sure we never use it.
3678   set dummy $ac_cv_prog_CC
3679   shift
3680   if test $# != 0; then
3681     # We chose a different compiler from the bogus one.
3682     # However, it has the same basename, so the bogon will be chosen
3683     # first if we set CC to just the basename; use the full file name.
3684     shift
3685     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3686   fi
3687 fi
3688 fi
3689 fi
3690 CC=$ac_cv_prog_CC
3691 if test -n "$CC"; then
3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3693 $as_echo "$CC" >&6; }
3694 else
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 fi
3698
3699
3700 fi
3701 if test -z "$CC"; then
3702   if test -n "$ac_tool_prefix"; then
3703   for ac_prog in cl.exe
3704   do
3705     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if test "${ac_cv_prog_CC+set}" = set; then :
3710   $as_echo_n "(cached) " >&6
3711 else
3712   if test -n "$CC"; then
3713   ac_cv_prog_CC="$CC" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3717 do
3718   IFS=$as_save_IFS
3719   test -z "$as_dir" && as_dir=.
3720     for ac_exec_ext in '' $ac_executable_extensions; do
3721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724     break 2
3725   fi
3726 done
3727   done
3728 IFS=$as_save_IFS
3729
3730 fi
3731 fi
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3739 fi
3740
3741
3742     test -n "$CC" && break
3743   done
3744 fi
3745 if test -z "$CC"; then
3746   ac_ct_CC=$CC
3747   for ac_prog in cl.exe
3748 do
3749   # Extract the first word of "$ac_prog", so it can be a program name with args.
3750 set dummy $ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3754   $as_echo_n "(cached) " >&6
3755 else
3756   if test -n "$ac_ct_CC"; then
3757   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762   IFS=$as_save_IFS
3763   test -z "$as_dir" && as_dir=.
3764     for ac_exec_ext in '' $ac_executable_extensions; do
3765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766     ac_cv_prog_ac_ct_CC="$ac_prog"
3767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768     break 2
3769   fi
3770 done
3771   done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3780 else
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786   test -n "$ac_ct_CC" && break
3787 done
3788
3789   if test "x$ac_ct_CC" = x; then
3790     CC=""
3791   else
3792     case $cross_compiling:$ac_tool_warned in
3793 yes:)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3796 ac_tool_warned=yes ;;
3797 esac
3798     CC=$ac_ct_CC
3799   fi
3800 fi
3801
3802 fi
3803
3804
3805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error "no acceptable C compiler found in \$PATH
3808 See \`config.log' for more details." "$LINENO" 5; }
3809
3810 # Provide some information about the compiler.
3811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3812 set X $ac_compile
3813 ac_compiler=$2
3814 for ac_option in --version -v -V -qversion; do
3815   { { ac_try="$ac_compiler $ac_option >&5"
3816 case "(($ac_try" in
3817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818   *) ac_try_echo=$ac_try;;
3819 esac
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3823   ac_status=$?
3824   if test -s conftest.err; then
3825     sed '10a\
3826 ... rest of stderr output deleted ...
3827          10q' conftest.err >conftest.er1
3828     cat conftest.er1 >&5
3829     rm -f conftest.er1 conftest.err
3830   fi
3831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832   test $ac_status = 0; }
3833 done
3834
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h.  */
3837
3838 int
3839 main ()
3840 {
3841
3842   ;
3843   return 0;
3844 }
3845 _ACEOF
3846 # FIXME: Cleanup?
3847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3848   (eval $ac_link) 2>&5
3849   ac_status=$?
3850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851   test $ac_status = 0; }; then :
3852   gcc_no_link=no
3853 else
3854   gcc_no_link=yes
3855 fi
3856 if test x$gcc_no_link = xyes; then
3857   # Setting cross_compile will disable run tests; it will
3858   # also disable AC_CHECK_FILE but that's generally
3859   # correct if we can't link.
3860   cross_compiling=yes
3861   EXEEXT=
3862 else
3863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h.  */
3865
3866 int
3867 main ()
3868 {
3869
3870   ;
3871   return 0;
3872 }
3873 _ACEOF
3874 ac_clean_files_save=$ac_clean_files
3875 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3876 # Try to create an executable without -o first, disregard a.out.
3877 # It will help us diagnose broken compilers, and finding out an intuition
3878 # of exeext.
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3880 $as_echo_n "checking for C compiler default output file name... " >&6; }
3881 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3882
3883 # The possible output files:
3884 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3885
3886 ac_rmfiles=
3887 for ac_file in $ac_files
3888 do
3889   case $ac_file in
3890     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3891     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3892   esac
3893 done
3894 rm -f $ac_rmfiles
3895
3896 if { { ac_try="$ac_link_default"
3897 case "(($ac_try" in
3898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899   *) ac_try_echo=$ac_try;;
3900 esac
3901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3902 $as_echo "$ac_try_echo"; } >&5
3903   (eval "$ac_link_default") 2>&5
3904   ac_status=$?
3905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906   test $ac_status = 0; }; then :
3907   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3909 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3910 # so that the user can short-circuit this test for compilers unknown to
3911 # Autoconf.
3912 for ac_file in $ac_files ''
3913 do
3914   test -f "$ac_file" || continue
3915   case $ac_file in
3916     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3917         ;;
3918     [ab].out )
3919         # We found the default executable, but exeext='' is most
3920         # certainly right.
3921         break;;
3922     *.* )
3923         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3924         then :; else
3925            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926         fi
3927         # We set ac_cv_exeext here because the later test for it is not
3928         # safe: cross compilers may not add the suffix if given an `-o'
3929         # argument, so we may need to know it at that point already.
3930         # Even if this section looks crufty: it has the advantage of
3931         # actually working.
3932         break;;
3933     * )
3934         break;;
3935   esac
3936 done
3937 test "$ac_cv_exeext" = no && ac_cv_exeext=
3938
3939 else
3940   ac_file=''
3941 fi
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3943 $as_echo "$ac_file" >&6; }
3944 if test -z "$ac_file"; then :
3945   $as_echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.$ac_ext >&5
3947
3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 { as_fn_set_status 77
3951 as_fn_error "C compiler cannot create executables
3952 See \`config.log' for more details." "$LINENO" 5; }; }
3953 fi
3954 ac_exeext=$ac_cv_exeext
3955
3956 # Check that the compiler produces executables we can run.  If not, either
3957 # the compiler is broken, or we cross compile.
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3959 $as_echo_n "checking whether the C compiler works... " >&6; }
3960 # If not cross compiling, check that we can run a simple program.
3961 if test "$cross_compiling" != yes; then
3962   if { ac_try='./$ac_file'
3963   { { case "(($ac_try" in
3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965   *) ac_try_echo=$ac_try;;
3966 esac
3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969   (eval "$ac_try") 2>&5
3970   ac_status=$?
3971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972   test $ac_status = 0; }; }; then
3973     cross_compiling=no
3974   else
3975     if test "$cross_compiling" = maybe; then
3976         cross_compiling=yes
3977     else
3978         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 as_fn_error "cannot run C compiled programs.
3981 If you meant to cross compile, use \`--host'.
3982 See \`config.log' for more details." "$LINENO" 5; }
3983     fi
3984   fi
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3988
3989 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3990 ac_clean_files=$ac_clean_files_save
3991 # Check that the compiler produces executables we can run.  If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3994 $as_echo_n "checking whether we are cross compiling... " >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3996 $as_echo "$cross_compiling" >&6; }
3997
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3999 $as_echo_n "checking for suffix of executables... " >&6; }
4000 if { { ac_try="$ac_link"
4001 case "(($ac_try" in
4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003   *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007   (eval "$ac_link") 2>&5
4008   ac_status=$?
4009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010   test $ac_status = 0; }; then :
4011   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4012 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4013 # work properly (i.e., refer to `conftest.exe'), while it won't with
4014 # `rm'.
4015 for ac_file in conftest.exe conftest conftest.*; do
4016   test -f "$ac_file" || continue
4017   case $ac_file in
4018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4019     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4020           break;;
4021     * ) break;;
4022   esac
4023 done
4024 else
4025   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error "cannot compute suffix of executables: cannot compile and link
4028 See \`config.log' for more details." "$LINENO" 5; }
4029 fi
4030 rm -f conftest$ac_cv_exeext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4032 $as_echo "$ac_cv_exeext" >&6; }
4033
4034 rm -f conftest.$ac_ext
4035 EXEEXT=$ac_cv_exeext
4036 ac_exeext=$EXEEXT
4037 fi
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4039 $as_echo_n "checking for suffix of object files... " >&6; }
4040 if test "${ac_cv_objext+set}" = set; then :
4041   $as_echo_n "(cached) " >&6
4042 else
4043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h.  */
4045
4046 int
4047 main ()
4048 {
4049
4050   ;
4051   return 0;
4052 }
4053 _ACEOF
4054 rm -f conftest.o conftest.obj
4055 if { { ac_try="$ac_compile"
4056 case "(($ac_try" in
4057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058   *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062   (eval "$ac_compile") 2>&5
4063   ac_status=$?
4064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065   test $ac_status = 0; }; then :
4066   for ac_file in conftest.o conftest.obj conftest.*; do
4067   test -f "$ac_file" || continue;
4068   case $ac_file in
4069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4070     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4071        break;;
4072   esac
4073 done
4074 else
4075   $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4077
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error "cannot compute suffix of object files: cannot compile
4081 See \`config.log' for more details." "$LINENO" 5; }
4082 fi
4083 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4084 fi
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4086 $as_echo "$ac_cv_objext" >&6; }
4087 OBJEXT=$ac_cv_objext
4088 ac_objext=$OBJEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4090 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4091 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100 #ifndef __GNUC__
4101        choke me
4102 #endif
4103
4104   ;
4105   return 0;
4106 }
4107 _ACEOF
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109   ac_compiler_gnu=yes
4110 else
4111   ac_compiler_gnu=no
4112 fi
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4115
4116 fi
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4118 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4119 if test $ac_compiler_gnu = yes; then
4120   GCC=yes
4121 else
4122   GCC=
4123 fi
4124 ac_test_CFLAGS=${CFLAGS+set}
4125 ac_save_CFLAGS=$CFLAGS
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4127 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4128 if test "${ac_cv_prog_cc_g+set}" = set; then :
4129   $as_echo_n "(cached) " >&6
4130 else
4131   ac_save_c_werror_flag=$ac_c_werror_flag
4132    ac_c_werror_flag=yes
4133    ac_cv_prog_cc_g=no
4134    CFLAGS="-g"
4135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h.  */
4137
4138 int
4139 main ()
4140 {
4141
4142   ;
4143   return 0;
4144 }
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147   ac_cv_prog_cc_g=yes
4148 else
4149   CFLAGS=""
4150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h.  */
4152
4153 int
4154 main ()
4155 {
4156
4157   ;
4158   return 0;
4159 }
4160 _ACEOF
4161 if ac_fn_c_try_compile "$LINENO"; then :
4162
4163 else
4164   ac_c_werror_flag=$ac_save_c_werror_flag
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 fi
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 fi
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185    ac_c_werror_flag=$ac_save_c_werror_flag
4186 fi
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4188 $as_echo "$ac_cv_prog_cc_g" >&6; }
4189 if test "$ac_test_CFLAGS" = set; then
4190   CFLAGS=$ac_save_CFLAGS
4191 elif test $ac_cv_prog_cc_g = yes; then
4192   if test "$GCC" = yes; then
4193     CFLAGS="-g -O2"
4194   else
4195     CFLAGS="-g"
4196   fi
4197 else
4198   if test "$GCC" = yes; then
4199     CFLAGS="-O2"
4200   else
4201     CFLAGS=
4202   fi
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4205 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4206 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4207   $as_echo_n "(cached) " >&6
4208 else
4209   ac_cv_prog_cc_c89=no
4210 ac_save_CC=$CC
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h.  */
4213 #include <stdarg.h>
4214 #include <stdio.h>
4215 #include <sys/types.h>
4216 #include <sys/stat.h>
4217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4218 struct buf { int x; };
4219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4220 static char *e (p, i)
4221      char **p;
4222      int i;
4223 {
4224   return p[i];
4225 }
4226 static char *f (char * (*g) (char **, int), char **p, ...)
4227 {
4228   char *s;
4229   va_list v;
4230   va_start (v,p);
4231   s = g (p, va_arg (v,int));
4232   va_end (v);
4233   return s;
4234 }
4235
4236 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4237    function prototypes and stuff, but not '\xHH' hex character constants.
4238    These don't provoke an error unfortunately, instead are silently treated
4239    as 'x'.  The following induces an error, until -std is added to get
4240    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4241    array size at least.  It's necessary to write '\x00'==0 to get something
4242    that's true only with -std.  */
4243 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244
4245 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4246    inside strings and character constants.  */
4247 #define FOO(x) 'x'
4248 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4249
4250 int test (int i, double x);
4251 struct s1 {int (*f) (int a);};
4252 struct s2 {int (*f) (double a);};
4253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254 int argc;
4255 char **argv;
4256 int
4257 main ()
4258 {
4259 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4260   ;
4261   return 0;
4262 }
4263 _ACEOF
4264 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4265         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266 do
4267   CC="$ac_save_CC $ac_arg"
4268   if ac_fn_c_try_compile "$LINENO"; then :
4269   ac_cv_prog_cc_c89=$ac_arg
4270 fi
4271 rm -f core conftest.err conftest.$ac_objext
4272   test "x$ac_cv_prog_cc_c89" != "xno" && break
4273 done
4274 rm -f conftest.$ac_ext
4275 CC=$ac_save_CC
4276
4277 fi
4278 # AC_CACHE_VAL
4279 case "x$ac_cv_prog_cc_c89" in
4280   x)
4281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4282 $as_echo "none needed" >&6; } ;;
4283   xno)
4284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4285 $as_echo "unsupported" >&6; } ;;
4286   *)
4287     CC="$CC $ac_cv_prog_cc_c89"
4288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4289 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4290 esac
4291 if test "x$ac_cv_prog_cc_c89" != xno; then :
4292
4293 fi
4294
4295 ac_ext=c
4296 ac_cpp='$CPP $CPPFLAGS'
4297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300
4301 ac_ext=cpp
4302 ac_cpp='$CXXCPP $CPPFLAGS'
4303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4306 if test -z "$CXX"; then
4307   if test -n "$CCC"; then
4308     CXX=$CCC
4309   else
4310     if test -n "$ac_tool_prefix"; then
4311   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4312   do
4313     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if test "${ac_cv_prog_CXX+set}" = set; then :
4318   $as_echo_n "(cached) " >&6
4319 else
4320   if test -n "$CXX"; then
4321   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4322 else
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 for as_dir in $PATH
4325 do
4326   IFS=$as_save_IFS
4327   test -z "$as_dir" && as_dir=.
4328     for ac_exec_ext in '' $ac_executable_extensions; do
4329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332     break 2
4333   fi
4334 done
4335   done
4336 IFS=$as_save_IFS
4337
4338 fi
4339 fi
4340 CXX=$ac_cv_prog_CXX
4341 if test -n "$CXX"; then
4342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4343 $as_echo "$CXX" >&6; }
4344 else
4345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4347 fi
4348
4349
4350     test -n "$CXX" && break
4351   done
4352 fi
4353 if test -z "$CXX"; then
4354   ac_ct_CXX=$CXX
4355   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 do
4357   # Extract the first word of "$ac_prog", so it can be a program name with args.
4358 set dummy $ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -n "$ac_ct_CXX"; then
4365   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370   IFS=$as_save_IFS
4371   test -z "$as_dir" && as_dir=.
4372     for ac_exec_ext in '' $ac_executable_extensions; do
4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374     ac_cv_prog_ac_ct_CXX="$ac_prog"
4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376     break 2
4377   fi
4378 done
4379   done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4385 if test -n "$ac_ct_CXX"; then
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4387 $as_echo "$ac_ct_CXX" >&6; }
4388 else
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394   test -n "$ac_ct_CXX" && break
4395 done
4396
4397   if test "x$ac_ct_CXX" = x; then
4398     CXX="g++"
4399   else
4400     case $cross_compiling:$ac_tool_warned in
4401 yes:)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4404 ac_tool_warned=yes ;;
4405 esac
4406     CXX=$ac_ct_CXX
4407   fi
4408 fi
4409
4410   fi
4411 fi
4412 # Provide some information about the compiler.
4413 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4414 set X $ac_compile
4415 ac_compiler=$2
4416 for ac_option in --version -v -V -qversion; do
4417   { { ac_try="$ac_compiler $ac_option >&5"
4418 case "(($ac_try" in
4419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420   *) ac_try_echo=$ac_try;;
4421 esac
4422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4423 $as_echo "$ac_try_echo"; } >&5
4424   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4425   ac_status=$?
4426   if test -s conftest.err; then
4427     sed '10a\
4428 ... rest of stderr output deleted ...
4429          10q' conftest.err >conftest.er1
4430     cat conftest.er1 >&5
4431     rm -f conftest.er1 conftest.err
4432   fi
4433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4434   test $ac_status = 0; }
4435 done
4436
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4438 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4439 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4440   $as_echo_n "(cached) " >&6
4441 else
4442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h.  */
4444
4445 int
4446 main ()
4447 {
4448 #ifndef __GNUC__
4449        choke me
4450 #endif
4451
4452   ;
4453   return 0;
4454 }
4455 _ACEOF
4456 if ac_fn_cxx_try_compile "$LINENO"; then :
4457   ac_compiler_gnu=yes
4458 else
4459   ac_compiler_gnu=no
4460 fi
4461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4463
4464 fi
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4466 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4467 if test $ac_compiler_gnu = yes; then
4468   GXX=yes
4469 else
4470   GXX=
4471 fi
4472 ac_test_CXXFLAGS=${CXXFLAGS+set}
4473 ac_save_CXXFLAGS=$CXXFLAGS
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4475 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4476 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4477   $as_echo_n "(cached) " >&6
4478 else
4479   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4480    ac_cxx_werror_flag=yes
4481    ac_cv_prog_cxx_g=no
4482    CXXFLAGS="-g"
4483    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h.  */
4485
4486 int
4487 main ()
4488 {
4489
4490   ;
4491   return 0;
4492 }
4493 _ACEOF
4494 if ac_fn_cxx_try_compile "$LINENO"; then :
4495   ac_cv_prog_cxx_g=yes
4496 else
4497   CXXFLAGS=""
4498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h.  */
4500
4501 int
4502 main ()
4503 {
4504
4505   ;
4506   return 0;
4507 }
4508 _ACEOF
4509 if ac_fn_cxx_try_compile "$LINENO"; then :
4510
4511 else
4512   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
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 fi
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 fi
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 fi
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4534 fi
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4536 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4537 if test "$ac_test_CXXFLAGS" = set; then
4538   CXXFLAGS=$ac_save_CXXFLAGS
4539 elif test $ac_cv_prog_cxx_g = yes; then
4540   if test "$GXX" = yes; then
4541     CXXFLAGS="-g -O2"
4542   else
4543     CXXFLAGS="-g"
4544   fi
4545 else
4546   if test "$GXX" = yes; then
4547     CXXFLAGS="-O2"
4548   else
4549     CXXFLAGS=
4550   fi
4551 fi
4552 ac_ext=c
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4557
4558 CXXFLAGS="$save_CXXFLAGS"
4559
4560 # Runs configure.host, and assorted other critical bits.  Sets
4561 # up critical shell variables.
4562
4563 ac_ext=c
4564 ac_cpp='$CPP $CPPFLAGS'
4565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4569 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4570 # On Suns, sometimes $CPP names a directory.
4571 if test -n "$CPP" && test -d "$CPP"; then
4572   CPP=
4573 fi
4574 if test -z "$CPP"; then
4575   if test "${ac_cv_prog_CPP+set}" = set; then :
4576   $as_echo_n "(cached) " >&6
4577 else
4578       # Double quotes because CPP needs to be expanded
4579     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4580     do
4581       ac_preproc_ok=false
4582 for ac_c_preproc_warn_flag in '' yes
4583 do
4584   # Use a header file that comes with gcc, so configuring glibc
4585   # with a fresh cross-compiler works.
4586   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4587   # <limits.h> exists even on freestanding compilers.
4588   # On the NeXT, cc -E runs the code through the compiler's parser,
4589   # not just through cpp. "Syntax error" is here to catch this case.
4590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h.  */
4592 #ifdef __STDC__
4593 # include <limits.h>
4594 #else
4595 # include <assert.h>
4596 #endif
4597                      Syntax error
4598 _ACEOF
4599 if ac_fn_c_try_cpp "$LINENO"; then :
4600
4601 else
4602   # Broken: fails on valid input.
4603 continue
4604 fi
4605 rm -f conftest.err conftest.$ac_ext
4606
4607   # OK, works on sane cases.  Now check whether nonexistent headers
4608   # can be detected and how.
4609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h.  */
4611 #include <ac_nonexistent.h>
4612 _ACEOF
4613 if ac_fn_c_try_cpp "$LINENO"; then :
4614   # Broken: success on invalid input.
4615 continue
4616 else
4617   # Passes both tests.
4618 ac_preproc_ok=:
4619 break
4620 fi
4621 rm -f conftest.err conftest.$ac_ext
4622
4623 done
4624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4625 rm -f conftest.err conftest.$ac_ext
4626 if $ac_preproc_ok; then :
4627   break
4628 fi
4629
4630     done
4631     ac_cv_prog_CPP=$CPP
4632
4633 fi
4634   CPP=$ac_cv_prog_CPP
4635 else
4636   ac_cv_prog_CPP=$CPP
4637 fi
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4639 $as_echo "$CPP" >&6; }
4640 ac_preproc_ok=false
4641 for ac_c_preproc_warn_flag in '' yes
4642 do
4643   # Use a header file that comes with gcc, so configuring glibc
4644   # with a fresh cross-compiler works.
4645   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4646   # <limits.h> exists even on freestanding compilers.
4647   # On the NeXT, cc -E runs the code through the compiler's parser,
4648   # not just through cpp. "Syntax error" is here to catch this case.
4649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h.  */
4651 #ifdef __STDC__
4652 # include <limits.h>
4653 #else
4654 # include <assert.h>
4655 #endif
4656                      Syntax error
4657 _ACEOF
4658 if ac_fn_c_try_cpp "$LINENO"; then :
4659
4660 else
4661   # Broken: fails on valid input.
4662 continue
4663 fi
4664 rm -f conftest.err conftest.$ac_ext
4665
4666   # OK, works on sane cases.  Now check whether nonexistent headers
4667   # can be detected and how.
4668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h.  */
4670 #include <ac_nonexistent.h>
4671 _ACEOF
4672 if ac_fn_c_try_cpp "$LINENO"; then :
4673   # Broken: success on invalid input.
4674 continue
4675 else
4676   # Passes both tests.
4677 ac_preproc_ok=:
4678 break
4679 fi
4680 rm -f conftest.err conftest.$ac_ext
4681
4682 done
4683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4684 rm -f conftest.err conftest.$ac_ext
4685 if $ac_preproc_ok; then :
4686
4687 else
4688   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4691 See \`config.log' for more details." "$LINENO" 5; }
4692 fi
4693
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699
4700
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4702 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4703 if test "${ac_cv_path_GREP+set}" = set; then :
4704   $as_echo_n "(cached) " >&6
4705 else
4706   if test -z "$GREP"; then
4707   ac_path_GREP_found=false
4708   # Loop through the user's path and test for each of PROGNAME-LIST
4709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4711 do
4712   IFS=$as_save_IFS
4713   test -z "$as_dir" && as_dir=.
4714     for ac_prog in grep ggrep; do
4715     for ac_exec_ext in '' $ac_executable_extensions; do
4716       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4717       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4718 # Check for GNU ac_path_GREP and select it if it is found.
4719   # Check for GNU $ac_path_GREP
4720 case `"$ac_path_GREP" --version 2>&1` in
4721 *GNU*)
4722   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4723 *)
4724   ac_count=0
4725   $as_echo_n 0123456789 >"conftest.in"
4726   while :
4727   do
4728     cat "conftest.in" "conftest.in" >"conftest.tmp"
4729     mv "conftest.tmp" "conftest.in"
4730     cp "conftest.in" "conftest.nl"
4731     $as_echo 'GREP' >> "conftest.nl"
4732     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4733     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4734     as_fn_arith $ac_count + 1 && ac_count=$as_val
4735     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4736       # Best one so far, save it but keep looking for a better one
4737       ac_cv_path_GREP="$ac_path_GREP"
4738       ac_path_GREP_max=$ac_count
4739     fi
4740     # 10*(2^10) chars as input seems more than enough
4741     test $ac_count -gt 10 && break
4742   done
4743   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4744 esac
4745
4746       $ac_path_GREP_found && break 3
4747     done
4748   done
4749   done
4750 IFS=$as_save_IFS
4751   if test -z "$ac_cv_path_GREP"; then
4752     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4753   fi
4754 else
4755   ac_cv_path_GREP=$GREP
4756 fi
4757
4758 fi
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4760 $as_echo "$ac_cv_path_GREP" >&6; }
4761  GREP="$ac_cv_path_GREP"
4762
4763
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4765 $as_echo_n "checking for egrep... " >&6; }
4766 if test "${ac_cv_path_EGREP+set}" = set; then :
4767   $as_echo_n "(cached) " >&6
4768 else
4769   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4770    then ac_cv_path_EGREP="$GREP -E"
4771    else
4772      if test -z "$EGREP"; then
4773   ac_path_EGREP_found=false
4774   # Loop through the user's path and test for each of PROGNAME-LIST
4775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4777 do
4778   IFS=$as_save_IFS
4779   test -z "$as_dir" && as_dir=.
4780     for ac_prog in egrep; do
4781     for ac_exec_ext in '' $ac_executable_extensions; do
4782       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4783       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4784 # Check for GNU ac_path_EGREP and select it if it is found.
4785   # Check for GNU $ac_path_EGREP
4786 case `"$ac_path_EGREP" --version 2>&1` in
4787 *GNU*)
4788   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4789 *)
4790   ac_count=0
4791   $as_echo_n 0123456789 >"conftest.in"
4792   while :
4793   do
4794     cat "conftest.in" "conftest.in" >"conftest.tmp"
4795     mv "conftest.tmp" "conftest.in"
4796     cp "conftest.in" "conftest.nl"
4797     $as_echo 'EGREP' >> "conftest.nl"
4798     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4799     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4800     as_fn_arith $ac_count + 1 && ac_count=$as_val
4801     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4802       # Best one so far, save it but keep looking for a better one
4803       ac_cv_path_EGREP="$ac_path_EGREP"
4804       ac_path_EGREP_max=$ac_count
4805     fi
4806     # 10*(2^10) chars as input seems more than enough
4807     test $ac_count -gt 10 && break
4808   done
4809   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4810 esac
4811
4812       $ac_path_EGREP_found && break 3
4813     done
4814   done
4815   done
4816 IFS=$as_save_IFS
4817   if test -z "$ac_cv_path_EGREP"; then
4818     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4819   fi
4820 else
4821   ac_cv_path_EGREP=$EGREP
4822 fi
4823
4824    fi
4825 fi
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4827 $as_echo "$ac_cv_path_EGREP" >&6; }
4828  EGREP="$ac_cv_path_EGREP"
4829
4830
4831
4832   # Keep these sync'd with the list in Makefile.am.  The first provides an
4833   # expandable list at autoconf time; the second provides an expandable list
4834   # (i.e., shell variable) at configure time.
4835
4836   SUBDIRS='include libsupc++ python src doc po testsuite'
4837
4838   # These need to be absolute paths, yet at the same time need to
4839   # canonicalize only relative paths, because then amd will not unmount
4840   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4841   glibcxx_builddir=`${PWDCMD-pwd}`
4842   case $srcdir in
4843     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4844     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4845   esac
4846   toplevel_srcdir=${glibcxx_srcdir}/..
4847
4848
4849
4850
4851   # We use these options to decide which functions to include.  They are
4852   # set from the top level.
4853
4854 # Check whether --with-target-subdir was given.
4855 if test "${with_target_subdir+set}" = set; then :
4856   withval=$with_target_subdir;
4857 fi
4858
4859
4860
4861 # Check whether --with-cross-host was given.
4862 if test "${with_cross_host+set}" = set; then :
4863   withval=$with_cross_host;
4864 fi
4865
4866
4867
4868 # Check whether --with-newlib was given.
4869 if test "${with_newlib+set}" = set; then :
4870   withval=$with_newlib;
4871 fi
4872
4873
4874   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4875   # available).  Uncomment the next line to force a particular method.
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4877 $as_echo_n "checking whether ln -s works... " >&6; }
4878 LN_S=$as_ln_s
4879 if test "$LN_S" = "ln -s"; then
4880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 $as_echo "yes" >&6; }
4882 else
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4884 $as_echo "no, using $LN_S" >&6; }
4885 fi
4886
4887   #LN_S='cp -p'
4888
4889   if test -n "$ac_tool_prefix"; then
4890   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4891 set dummy ${ac_tool_prefix}as; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if test "${ac_cv_prog_AS+set}" = set; then :
4895   $as_echo_n "(cached) " >&6
4896 else
4897   if test -n "$AS"; then
4898   ac_cv_prog_AS="$AS" # Let the user override the test.
4899 else
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 for as_dir in $PATH
4902 do
4903   IFS=$as_save_IFS
4904   test -z "$as_dir" && as_dir=.
4905     for ac_exec_ext in '' $ac_executable_extensions; do
4906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4907     ac_cv_prog_AS="${ac_tool_prefix}as"
4908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909     break 2
4910   fi
4911 done
4912   done
4913 IFS=$as_save_IFS
4914
4915 fi
4916 fi
4917 AS=$ac_cv_prog_AS
4918 if test -n "$AS"; then
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4920 $as_echo "$AS" >&6; }
4921 else
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 fi
4925
4926
4927 fi
4928 if test -z "$ac_cv_prog_AS"; then
4929   ac_ct_AS=$AS
4930   # Extract the first word of "as", so it can be a program name with args.
4931 set dummy as; ac_word=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4935   $as_echo_n "(cached) " >&6
4936 else
4937   if test -n "$ac_ct_AS"; then
4938   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4942 do
4943   IFS=$as_save_IFS
4944   test -z "$as_dir" && as_dir=.
4945     for ac_exec_ext in '' $ac_executable_extensions; do
4946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4947     ac_cv_prog_ac_ct_AS="as"
4948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949     break 2
4950   fi
4951 done
4952   done
4953 IFS=$as_save_IFS
4954
4955 fi
4956 fi
4957 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4958 if test -n "$ac_ct_AS"; then
4959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4960 $as_echo "$ac_ct_AS" >&6; }
4961 else
4962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4964 fi
4965
4966   if test "x$ac_ct_AS" = x; then
4967     AS=""
4968   else
4969     case $cross_compiling:$ac_tool_warned in
4970 yes:)
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4973 ac_tool_warned=yes ;;
4974 esac
4975     AS=$ac_ct_AS
4976   fi
4977 else
4978   AS="$ac_cv_prog_AS"
4979 fi
4980
4981   if test -n "$ac_tool_prefix"; then
4982   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4983 set dummy ${ac_tool_prefix}ar; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_AR+set}" = set; then :
4987   $as_echo_n "(cached) " >&6
4988 else
4989   if test -n "$AR"; then
4990   ac_cv_prog_AR="$AR" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4994 do
4995   IFS=$as_save_IFS
4996   test -z "$as_dir" && as_dir=.
4997     for ac_exec_ext in '' $ac_executable_extensions; do
4998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999     ac_cv_prog_AR="${ac_tool_prefix}ar"
5000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001     break 2
5002   fi
5003 done
5004   done
5005 IFS=$as_save_IFS
5006
5007 fi
5008 fi
5009 AR=$ac_cv_prog_AR
5010 if test -n "$AR"; then
5011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5012 $as_echo "$AR" >&6; }
5013 else
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 fi
5017
5018
5019 fi
5020 if test -z "$ac_cv_prog_AR"; then
5021   ac_ct_AR=$AR
5022   # Extract the first word of "ar", so it can be a program name with args.
5023 set dummy ar; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5027   $as_echo_n "(cached) " >&6
5028 else
5029   if test -n "$ac_ct_AR"; then
5030   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037     for ac_exec_ext in '' $ac_executable_extensions; do
5038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039     ac_cv_prog_ac_ct_AR="ar"
5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044   done
5045 IFS=$as_save_IFS
5046
5047 fi
5048 fi
5049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5050 if test -n "$ac_ct_AR"; then
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5052 $as_echo "$ac_ct_AR" >&6; }
5053 else
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 fi
5057
5058   if test "x$ac_ct_AR" = x; then
5059     AR=""
5060   else
5061     case $cross_compiling:$ac_tool_warned in
5062 yes:)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned=yes ;;
5066 esac
5067     AR=$ac_ct_AR
5068   fi
5069 else
5070   AR="$ac_cv_prog_AR"
5071 fi
5072
5073   if test -n "$ac_tool_prefix"; then
5074   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5075 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5079   $as_echo_n "(cached) " >&6
5080 else
5081   if test -n "$RANLIB"; then
5082   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5086 do
5087   IFS=$as_save_IFS
5088   test -z "$as_dir" && as_dir=.
5089     for ac_exec_ext in '' $ac_executable_extensions; do
5090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093     break 2
5094   fi
5095 done
5096   done
5097 IFS=$as_save_IFS
5098
5099 fi
5100 fi
5101 RANLIB=$ac_cv_prog_RANLIB
5102 if test -n "$RANLIB"; then
5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5104 $as_echo "$RANLIB" >&6; }
5105 else
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 fi
5109
5110
5111 fi
5112 if test -z "$ac_cv_prog_RANLIB"; then
5113   ac_ct_RANLIB=$RANLIB
5114   # Extract the first word of "ranlib", so it can be a program name with args.
5115 set dummy ranlib; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5119   $as_echo_n "(cached) " >&6
5120 else
5121   if test -n "$ac_ct_RANLIB"; then
5122   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5126 do
5127   IFS=$as_save_IFS
5128   test -z "$as_dir" && as_dir=.
5129     for ac_exec_ext in '' $ac_executable_extensions; do
5130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131     ac_cv_prog_ac_ct_RANLIB="ranlib"
5132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133     break 2
5134   fi
5135 done
5136   done
5137 IFS=$as_save_IFS
5138
5139 fi
5140 fi
5141 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5142 if test -n "$ac_ct_RANLIB"; then
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5144 $as_echo "$ac_ct_RANLIB" >&6; }
5145 else
5146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5148 fi
5149
5150   if test "x$ac_ct_RANLIB" = x; then
5151     RANLIB="ranlib-not-found-in-path-error"
5152   else
5153     case $cross_compiling:$ac_tool_warned in
5154 yes:)
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5157 ac_tool_warned=yes ;;
5158 esac
5159     RANLIB=$ac_ct_RANLIB
5160   fi
5161 else
5162   RANLIB="$ac_cv_prog_RANLIB"
5163 fi
5164
5165
5166
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5168 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5169     # Check whether --enable-maintainer-mode was given.
5170 if test "${enable_maintainer_mode+set}" = set; then :
5171   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5172 else
5173   USE_MAINTAINER_MODE=no
5174 fi
5175
5176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5177 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5178    if test $USE_MAINTAINER_MODE = yes; then
5179   MAINTAINER_MODE_TRUE=
5180   MAINTAINER_MODE_FALSE='#'
5181 else
5182   MAINTAINER_MODE_TRUE='#'
5183   MAINTAINER_MODE_FALSE=
5184 fi
5185
5186   MAINT=$MAINTAINER_MODE_TRUE
5187
5188
5189
5190   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5191   # which are themselves conditionally expanded.
5192   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5193   ## other macros from doing the same.  This should be automated.)  -pme
5194
5195   # Check for C library flavor since Linux platforms use different configuration
5196   # directories depending on the C library in use.
5197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198 /* end confdefs.h.  */
5199
5200   #include <stdio.h>
5201   #if __UCLIBC__
5202     _using_uclibc
5203   #endif
5204
5205 _ACEOF
5206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5207   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5208   uclibc=yes
5209 else
5210   uclibc=no
5211 fi
5212 rm -f conftest*
5213
5214
5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h.  */
5217
5218   #include <stdio.h>
5219   #if __BIONIC__
5220     _using_bionic
5221   #endif
5222
5223 _ACEOF
5224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5225   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5226   bionic=yes
5227 else
5228   bionic=no
5229 fi
5230 rm -f conftest*
5231
5232
5233   # Find platform-specific directories containing configuration info.
5234   # Also possibly modify flags used elsewhere, as needed by the platform.
5235
5236   . $glibcxx_srcdir/configure.host
5237   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5238 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5239   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5240 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5241
5242
5243
5244 if test "x${with_newlib}" != "xyes"; then
5245   enable_dlopen=yes
5246
5247
5248
5249 fi
5250 case `pwd` in
5251   *\ * | *\     *)
5252     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5253 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5254 esac
5255
5256
5257
5258 macro_version='2.2.7a'
5259 macro_revision='1.3134'
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273 ltmain="$ac_aux_dir/ltmain.sh"
5274
5275 # Backslashify metacharacters that are still active within
5276 # double-quoted strings.
5277 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5278
5279 # Same as above, but do not quote variable references.
5280 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5281
5282 # Sed substitution to delay expansion of an escaped shell variable in a
5283 # double_quote_subst'ed string.
5284 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5285
5286 # Sed substitution to delay expansion of an escaped single quote.
5287 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5288
5289 # Sed substitution to avoid accidental globbing in evaled expressions
5290 no_glob_subst='s/\*/\\\*/g'
5291
5292 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5293 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5294 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5295
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5297 $as_echo_n "checking how to print strings... " >&6; }
5298 # Test print first, because it will be a builtin if present.
5299 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5300    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5301   ECHO='print -r --'
5302 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5303   ECHO='printf %s\n'
5304 else
5305   # Use this function as a fallback that always works.
5306   func_fallback_echo ()
5307   {
5308     eval 'cat <<_LTECHO_EOF
5309 $1
5310 _LTECHO_EOF'
5311   }
5312   ECHO='func_fallback_echo'
5313 fi
5314
5315 # func_echo_all arg...
5316 # Invoke $ECHO with all args, space-separated.
5317 func_echo_all ()
5318 {
5319     $ECHO ""
5320 }
5321
5322 case "$ECHO" in
5323   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5324 $as_echo "printf" >&6; } ;;
5325   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5326 $as_echo "print -r" >&6; } ;;
5327   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5328 $as_echo "cat" >&6; } ;;
5329 esac
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5345 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5346 if test "${ac_cv_path_SED+set}" = set; then :
5347   $as_echo_n "(cached) " >&6
5348 else
5349             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5350      for ac_i in 1 2 3 4 5 6 7; do
5351        ac_script="$ac_script$as_nl$ac_script"
5352      done
5353      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5354      { ac_script=; unset ac_script;}
5355      if test -z "$SED"; then
5356   ac_path_SED_found=false
5357   # Loop through the user's path and test for each of PROGNAME-LIST
5358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5360 do
5361   IFS=$as_save_IFS
5362   test -z "$as_dir" && as_dir=.
5363     for ac_prog in sed gsed; do
5364     for ac_exec_ext in '' $ac_executable_extensions; do
5365       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5366       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5367 # Check for GNU ac_path_SED and select it if it is found.
5368   # Check for GNU $ac_path_SED
5369 case `"$ac_path_SED" --version 2>&1` in
5370 *GNU*)
5371   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5372 *)
5373   ac_count=0
5374   $as_echo_n 0123456789 >"conftest.in"
5375   while :
5376   do
5377     cat "conftest.in" "conftest.in" >"conftest.tmp"
5378     mv "conftest.tmp" "conftest.in"
5379     cp "conftest.in" "conftest.nl"
5380     $as_echo '' >> "conftest.nl"
5381     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5382     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5383     as_fn_arith $ac_count + 1 && ac_count=$as_val
5384     if test $ac_count -gt ${ac_path_SED_max-0}; then
5385       # Best one so far, save it but keep looking for a better one
5386       ac_cv_path_SED="$ac_path_SED"
5387       ac_path_SED_max=$ac_count
5388     fi
5389     # 10*(2^10) chars as input seems more than enough
5390     test $ac_count -gt 10 && break
5391   done
5392   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5393 esac
5394
5395       $ac_path_SED_found && break 3
5396     done
5397   done
5398   done
5399 IFS=$as_save_IFS
5400   if test -z "$ac_cv_path_SED"; then
5401     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5402   fi
5403 else
5404   ac_cv_path_SED=$SED
5405 fi
5406
5407 fi
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5409 $as_echo "$ac_cv_path_SED" >&6; }
5410  SED="$ac_cv_path_SED"
5411   rm -f conftest.sed
5412
5413 test -z "$SED" && SED=sed
5414 Xsed="$SED -e 1s/^X//"
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5427 $as_echo_n "checking for fgrep... " >&6; }
5428 if test "${ac_cv_path_FGREP+set}" = set; then :
5429   $as_echo_n "(cached) " >&6
5430 else
5431   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5432    then ac_cv_path_FGREP="$GREP -F"
5433    else
5434      if test -z "$FGREP"; then
5435   ac_path_FGREP_found=false
5436   # Loop through the user's path and test for each of PROGNAME-LIST
5437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5439 do
5440   IFS=$as_save_IFS
5441   test -z "$as_dir" && as_dir=.
5442     for ac_prog in fgrep; do
5443     for ac_exec_ext in '' $ac_executable_extensions; do
5444       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5445       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5446 # Check for GNU ac_path_FGREP and select it if it is found.
5447   # Check for GNU $ac_path_FGREP
5448 case `"$ac_path_FGREP" --version 2>&1` in
5449 *GNU*)
5450   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5451 *)
5452   ac_count=0
5453   $as_echo_n 0123456789 >"conftest.in"
5454   while :
5455   do
5456     cat "conftest.in" "conftest.in" >"conftest.tmp"
5457     mv "conftest.tmp" "conftest.in"
5458     cp "conftest.in" "conftest.nl"
5459     $as_echo 'FGREP' >> "conftest.nl"
5460     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5461     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5462     as_fn_arith $ac_count + 1 && ac_count=$as_val
5463     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5464       # Best one so far, save it but keep looking for a better one
5465       ac_cv_path_FGREP="$ac_path_FGREP"
5466       ac_path_FGREP_max=$ac_count
5467     fi
5468     # 10*(2^10) chars as input seems more than enough
5469     test $ac_count -gt 10 && break
5470   done
5471   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5472 esac
5473
5474       $ac_path_FGREP_found && break 3
5475     done
5476   done
5477   done
5478 IFS=$as_save_IFS
5479   if test -z "$ac_cv_path_FGREP"; then
5480     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5481   fi
5482 else
5483   ac_cv_path_FGREP=$FGREP
5484 fi
5485
5486    fi
5487 fi
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5489 $as_echo "$ac_cv_path_FGREP" >&6; }
5490  FGREP="$ac_cv_path_FGREP"
5491
5492
5493 test -z "$GREP" && GREP=grep
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513 # Check whether --with-gnu-ld was given.
5514 if test "${with_gnu_ld+set}" = set; then :
5515   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5516 else
5517   with_gnu_ld=no
5518 fi
5519
5520 ac_prog=ld
5521 if test "$GCC" = yes; then
5522   # Check if gcc -print-prog-name=ld gives a path.
5523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5524 $as_echo_n "checking for ld used by $CC... " >&6; }
5525   case $host in
5526   *-*-mingw*)
5527     # gcc leaves a trailing carriage return which upsets mingw
5528     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5529   *)
5530     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5531   esac
5532   case $ac_prog in
5533     # Accept absolute paths.
5534     [\\/]* | ?:[\\/]*)
5535       re_direlt='/[^/][^/]*/\.\./'
5536       # Canonicalize the pathname of ld
5537       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5538       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5539         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5540       done
5541       test -z "$LD" && LD="$ac_prog"
5542       ;;
5543   "")
5544     # If it fails, then pretend we aren't using GCC.
5545     ac_prog=ld
5546     ;;
5547   *)
5548     # If it is relative, then search for the first ld in PATH.
5549     with_gnu_ld=unknown
5550     ;;
5551   esac
5552 elif test "$with_gnu_ld" = yes; then
5553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5554 $as_echo_n "checking for GNU ld... " >&6; }
5555 else
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5557 $as_echo_n "checking for non-GNU ld... " >&6; }
5558 fi
5559 if test "${lt_cv_path_LD+set}" = set; then :
5560   $as_echo_n "(cached) " >&6
5561 else
5562   if test -z "$LD"; then
5563   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5564   for ac_dir in $PATH; do
5565     IFS="$lt_save_ifs"
5566     test -z "$ac_dir" && ac_dir=.
5567     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5568       lt_cv_path_LD="$ac_dir/$ac_prog"
5569       # Check to see if the program is GNU ld.  I'd rather use --version,
5570       # but apparently some variants of GNU ld only accept -v.
5571       # Break only if it was the GNU/non-GNU ld that we prefer.
5572       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5573       *GNU* | *'with BFD'*)
5574         test "$with_gnu_ld" != no && break
5575         ;;
5576       *)
5577         test "$with_gnu_ld" != yes && break
5578         ;;
5579       esac
5580     fi
5581   done
5582   IFS="$lt_save_ifs"
5583 else
5584   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5585 fi
5586 fi
5587
5588 LD="$lt_cv_path_LD"
5589 if test -n "$LD"; then
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5591 $as_echo "$LD" >&6; }
5592 else
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5595 fi
5596 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5598 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5599 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5600   $as_echo_n "(cached) " >&6
5601 else
5602   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5603 case `$LD -v 2>&1 </dev/null` in
5604 *GNU* | *'with BFD'*)
5605   lt_cv_prog_gnu_ld=yes
5606   ;;
5607 *)
5608   lt_cv_prog_gnu_ld=no
5609   ;;
5610 esac
5611 fi
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5613 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5614 with_gnu_ld=$lt_cv_prog_gnu_ld
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5625 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5626 if test "${lt_cv_path_NM+set}" = set; then :
5627   $as_echo_n "(cached) " >&6
5628 else
5629   if test -n "$NM"; then
5630   # Let the user override the test.
5631   lt_cv_path_NM="$NM"
5632 else
5633   lt_nm_to_check="${ac_tool_prefix}nm"
5634   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5635     lt_nm_to_check="$lt_nm_to_check nm"
5636   fi
5637   for lt_tmp_nm in $lt_nm_to_check; do
5638     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5639     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5640       IFS="$lt_save_ifs"
5641       test -z "$ac_dir" && ac_dir=.
5642       tmp_nm="$ac_dir/$lt_tmp_nm"
5643       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5644         # Check to see if the nm accepts a BSD-compat flag.
5645         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5646         #   nm: unknown option "B" ignored
5647         # Tru64's nm complains that /dev/null is an invalid object file
5648         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5649         */dev/null* | *'Invalid file or object type'*)
5650           lt_cv_path_NM="$tmp_nm -B"
5651           break
5652           ;;
5653         *)
5654           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5655           */dev/null*)
5656             lt_cv_path_NM="$tmp_nm -p"
5657             break
5658             ;;
5659           *)
5660             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5661             continue # so that we can try to find one that supports BSD flags
5662             ;;
5663           esac
5664           ;;
5665         esac
5666       fi
5667     done
5668     IFS="$lt_save_ifs"
5669   done
5670   : ${lt_cv_path_NM=no}
5671 fi
5672 fi
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5674 $as_echo "$lt_cv_path_NM" >&6; }
5675 if test "$lt_cv_path_NM" != "no"; then
5676   NM="$lt_cv_path_NM"
5677 else
5678   # Didn't find any BSD compatible name lister, look for dumpbin.
5679   if test -n "$DUMPBIN"; then :
5680     # Let the user override the test.
5681   else
5682     if test -n "$ac_tool_prefix"; then
5683   for ac_prog in dumpbin "link -dump"
5684   do
5685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5690   $as_echo_n "(cached) " >&6
5691 else
5692   if test -n "$DUMPBIN"; then
5693   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5697 do
5698   IFS=$as_save_IFS
5699   test -z "$as_dir" && as_dir=.
5700     for ac_exec_ext in '' $ac_executable_extensions; do
5701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704     break 2
5705   fi
5706 done
5707   done
5708 IFS=$as_save_IFS
5709
5710 fi
5711 fi
5712 DUMPBIN=$ac_cv_prog_DUMPBIN
5713 if test -n "$DUMPBIN"; then
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5715 $as_echo "$DUMPBIN" >&6; }
5716 else
5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5719 fi
5720
5721
5722     test -n "$DUMPBIN" && break
5723   done
5724 fi
5725 if test -z "$DUMPBIN"; then
5726   ac_ct_DUMPBIN=$DUMPBIN
5727   for ac_prog in dumpbin "link -dump"
5728 do
5729   # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5734   $as_echo_n "(cached) " >&6
5735 else
5736   if test -n "$ac_ct_DUMPBIN"; then
5737   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5741 do
5742   IFS=$as_save_IFS
5743   test -z "$as_dir" && as_dir=.
5744     for ac_exec_ext in '' $ac_executable_extensions; do
5745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5746     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748     break 2
5749   fi
5750 done
5751   done
5752 IFS=$as_save_IFS
5753
5754 fi
5755 fi
5756 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5757 if test -n "$ac_ct_DUMPBIN"; then
5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5759 $as_echo "$ac_ct_DUMPBIN" >&6; }
5760 else
5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5763 fi
5764
5765
5766   test -n "$ac_ct_DUMPBIN" && break
5767 done
5768
5769   if test "x$ac_ct_DUMPBIN" = x; then
5770     DUMPBIN=":"
5771   else
5772     case $cross_compiling:$ac_tool_warned in
5773 yes:)
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5777 esac
5778     DUMPBIN=$ac_ct_DUMPBIN
5779   fi
5780 fi
5781
5782     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5783     *COFF*)
5784       DUMPBIN="$DUMPBIN -symbols"
5785       ;;
5786     *)
5787       DUMPBIN=:
5788       ;;
5789     esac
5790   fi
5791
5792   if test "$DUMPBIN" != ":"; then
5793     NM="$DUMPBIN"
5794   fi
5795 fi
5796 test -z "$NM" && NM=nm
5797
5798
5799
5800
5801
5802
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5804 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5805 if test "${lt_cv_nm_interface+set}" = set; then :
5806   $as_echo_n "(cached) " >&6
5807 else
5808   lt_cv_nm_interface="BSD nm"
5809   echo "int some_variable = 0;" > conftest.$ac_ext
5810   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5811   (eval "$ac_compile" 2>conftest.err)
5812   cat conftest.err >&5
5813   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5814   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5815   cat conftest.err >&5
5816   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5817   cat conftest.out >&5
5818   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5819     lt_cv_nm_interface="MS dumpbin"
5820   fi
5821   rm -f conftest*
5822 fi
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5824 $as_echo "$lt_cv_nm_interface" >&6; }
5825
5826 # find the maximum length of command line arguments
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5828 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5829 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5830   $as_echo_n "(cached) " >&6
5831 else
5832     i=0
5833   teststring="ABCD"
5834
5835   case $build_os in
5836   msdosdjgpp*)
5837     # On DJGPP, this test can blow up pretty badly due to problems in libc
5838     # (any single argument exceeding 2000 bytes causes a buffer overrun
5839     # during glob expansion).  Even if it were fixed, the result of this
5840     # check would be larger than it should be.
5841     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5842     ;;
5843
5844   gnu*)
5845     # Under GNU Hurd, this test is not required because there is
5846     # no limit to the length of command line arguments.
5847     # Libtool will interpret -1 as no limit whatsoever
5848     lt_cv_sys_max_cmd_len=-1;
5849     ;;
5850
5851   cygwin* | mingw* | cegcc*)
5852     # On Win9x/ME, this test blows up -- it succeeds, but takes
5853     # about 5 minutes as the teststring grows exponentially.
5854     # Worse, since 9x/ME are not pre-emptively multitasking,
5855     # you end up with a "frozen" computer, even though with patience
5856     # the test eventually succeeds (with a max line length of 256k).
5857     # Instead, let's just punt: use the minimum linelength reported by
5858     # all of the supported platforms: 8192 (on NT/2K/XP).
5859     lt_cv_sys_max_cmd_len=8192;
5860     ;;
5861
5862   mint*)
5863     # On MiNT this can take a long time and run out of memory.
5864     lt_cv_sys_max_cmd_len=8192;
5865     ;;
5866
5867   amigaos*)
5868     # On AmigaOS with pdksh, this test takes hours, literally.
5869     # So we just punt and use a minimum line length of 8192.
5870     lt_cv_sys_max_cmd_len=8192;
5871     ;;
5872
5873   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5874     # This has been around since 386BSD, at least.  Likely further.
5875     if test -x /sbin/sysctl; then
5876       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5877     elif test -x /usr/sbin/sysctl; then
5878       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5879     else
5880       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5881     fi
5882     # And add a safety zone
5883     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5884     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5885     ;;
5886
5887   interix*)
5888     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5889     lt_cv_sys_max_cmd_len=196608
5890     ;;
5891
5892   osf*)
5893     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5894     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5895     # nice to cause kernel panics so lets avoid the loop below.
5896     # First set a reasonable default.
5897     lt_cv_sys_max_cmd_len=16384
5898     #
5899     if test -x /sbin/sysconfig; then
5900       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5901         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5902       esac
5903     fi
5904     ;;
5905   sco3.2v5*)
5906     lt_cv_sys_max_cmd_len=102400
5907     ;;
5908   sysv5* | sco5v6* | sysv4.2uw2*)
5909     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5910     if test -n "$kargmax"; then
5911       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5912     else
5913       lt_cv_sys_max_cmd_len=32768
5914     fi
5915     ;;
5916   *)
5917     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5918     if test -n "$lt_cv_sys_max_cmd_len"; then
5919       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5920       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5921     else
5922       # Make teststring a little bigger before we do anything with it.
5923       # a 1K string should be a reasonable start.
5924       for i in 1 2 3 4 5 6 7 8 ; do
5925         teststring=$teststring$teststring
5926       done
5927       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5928       # If test is not a shell built-in, we'll probably end up computing a
5929       # maximum length that is only half of the actual maximum length, but
5930       # we can't tell.
5931       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5932                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5933               test $i != 17 # 1/2 MB should be enough
5934       do
5935         i=`expr $i + 1`
5936         teststring=$teststring$teststring
5937       done
5938       # Only check the string length outside the loop.
5939       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5940       teststring=
5941       # Add a significant safety factor because C++ compilers can tack on
5942       # massive amounts of additional arguments before passing them to the
5943       # linker.  It appears as though 1/2 is a usable value.
5944       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5945     fi
5946     ;;
5947   esac
5948
5949 fi
5950
5951 if test -n $lt_cv_sys_max_cmd_len ; then
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5953 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5954 else
5955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5956 $as_echo "none" >&6; }
5957 fi
5958 max_cmd_len=$lt_cv_sys_max_cmd_len
5959
5960
5961
5962
5963
5964
5965 : ${CP="cp -f"}
5966 : ${MV="mv -f"}
5967 : ${RM="rm -f"}
5968
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5970 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5971 # Try some XSI features
5972 xsi_shell=no
5973 ( _lt_dummy="a/b/c"
5974   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5975       = c,a/b,, \
5976     && eval 'test $(( 1 + 1 )) -eq 2 \
5977     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5978   && xsi_shell=yes
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5980 $as_echo "$xsi_shell" >&6; }
5981
5982
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5984 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5985 lt_shell_append=no
5986 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5987     >/dev/null 2>&1 \
5988   && lt_shell_append=yes
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5990 $as_echo "$lt_shell_append" >&6; }
5991
5992
5993 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5994   lt_unset=unset
5995 else
5996   lt_unset=false
5997 fi
5998
5999
6000
6001
6002
6003 # test EBCDIC or ASCII
6004 case `echo X|tr X '\101'` in
6005  A) # ASCII based system
6006     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6007   lt_SP2NL='tr \040 \012'
6008   lt_NL2SP='tr \015\012 \040\040'
6009   ;;
6010  *) # EBCDIC based system
6011   lt_SP2NL='tr \100 \n'
6012   lt_NL2SP='tr \r\n \100\100'
6013   ;;
6014 esac
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6025 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6026 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6027   $as_echo_n "(cached) " >&6
6028 else
6029   lt_cv_ld_reload_flag='-r'
6030 fi
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6032 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6033 reload_flag=$lt_cv_ld_reload_flag
6034 case $reload_flag in
6035 "" | " "*) ;;
6036 *) reload_flag=" $reload_flag" ;;
6037 esac
6038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6039 case $host_os in
6040   darwin*)
6041     if test "$GCC" = yes; then
6042       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6043     else
6044       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6045     fi
6046     ;;
6047 esac
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057 if test -n "$ac_tool_prefix"; then
6058   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6063   $as_echo_n "(cached) " >&6
6064 else
6065   if test -n "$OBJDUMP"; then
6066   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6070 do
6071   IFS=$as_save_IFS
6072   test -z "$as_dir" && as_dir=.
6073     for ac_exec_ext in '' $ac_executable_extensions; do
6074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077     break 2
6078   fi
6079 done
6080   done
6081 IFS=$as_save_IFS
6082
6083 fi
6084 fi
6085 OBJDUMP=$ac_cv_prog_OBJDUMP
6086 if test -n "$OBJDUMP"; then
6087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6088 $as_echo "$OBJDUMP" >&6; }
6089 else
6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6092 fi
6093
6094
6095 fi
6096 if test -z "$ac_cv_prog_OBJDUMP"; then
6097   ac_ct_OBJDUMP=$OBJDUMP
6098   # Extract the first word of "objdump", so it can be a program name with args.
6099 set dummy objdump; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6103   $as_echo_n "(cached) " >&6
6104 else
6105   if test -n "$ac_ct_OBJDUMP"; then
6106   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6110 do
6111   IFS=$as_save_IFS
6112   test -z "$as_dir" && as_dir=.
6113     for ac_exec_ext in '' $ac_executable_extensions; do
6114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117     break 2
6118   fi
6119 done
6120   done
6121 IFS=$as_save_IFS
6122
6123 fi
6124 fi
6125 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6126 if test -n "$ac_ct_OBJDUMP"; then
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6128 $as_echo "$ac_ct_OBJDUMP" >&6; }
6129 else
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6132 fi
6133
6134   if test "x$ac_ct_OBJDUMP" = x; then
6135     OBJDUMP="false"
6136   else
6137     case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143     OBJDUMP=$ac_ct_OBJDUMP
6144   fi
6145 else
6146   OBJDUMP="$ac_cv_prog_OBJDUMP"
6147 fi
6148
6149 test -z "$OBJDUMP" && OBJDUMP=objdump
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6160 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6161 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6162   $as_echo_n "(cached) " >&6
6163 else
6164   lt_cv_file_magic_cmd='$MAGIC_CMD'
6165 lt_cv_file_magic_test_file=
6166 lt_cv_deplibs_check_method='unknown'
6167 # Need to set the preceding variable on all platforms that support
6168 # interlibrary dependencies.
6169 # 'none' -- dependencies not supported.
6170 # `unknown' -- same as none, but documents that we really don't know.
6171 # 'pass_all' -- all dependencies passed with no checks.
6172 # 'test_compile' -- check by making test program.
6173 # 'file_magic [[regex]]' -- check by looking for files in library path
6174 # which responds to the $file_magic_cmd with a given extended regex.
6175 # If you have `file' or equivalent on your system and you're not sure
6176 # whether `pass_all' will *always* work, you probably want this one.
6177
6178 case $host_os in
6179 aix[4-9]*)
6180   lt_cv_deplibs_check_method=pass_all
6181   ;;
6182
6183 beos*)
6184   lt_cv_deplibs_check_method=pass_all
6185   ;;
6186
6187 bsdi[45]*)
6188   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6189   lt_cv_file_magic_cmd='/usr/bin/file -L'
6190   lt_cv_file_magic_test_file=/shlib/libc.so
6191   ;;
6192
6193 cygwin*)
6194   # func_win32_libid is a shell function defined in ltmain.sh
6195   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6196   lt_cv_file_magic_cmd='func_win32_libid'
6197   ;;
6198
6199 mingw* | pw32*)
6200   # Base MSYS/MinGW do not provide the 'file' command needed by
6201   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6202   # unless we find 'file', for example because we are cross-compiling.
6203   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6204   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6205     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6206     lt_cv_file_magic_cmd='func_win32_libid'
6207   else
6208     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6209     lt_cv_file_magic_cmd='$OBJDUMP -f'
6210   fi
6211   ;;
6212
6213 cegcc*)
6214   # use the weaker test based on 'objdump'. See mingw*.
6215   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6216   lt_cv_file_magic_cmd='$OBJDUMP -f'
6217   ;;
6218
6219 darwin* | rhapsody*)
6220   lt_cv_deplibs_check_method=pass_all
6221   ;;
6222
6223 freebsd* | dragonfly*)
6224   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6225     case $host_cpu in
6226     i*86 )
6227       # Not sure whether the presence of OpenBSD here was a mistake.
6228       # Let's accept both of them until this is cleared up.
6229       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6230       lt_cv_file_magic_cmd=/usr/bin/file
6231       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6232       ;;
6233     esac
6234   else
6235     lt_cv_deplibs_check_method=pass_all
6236   fi
6237   ;;
6238
6239 gnu*)
6240   lt_cv_deplibs_check_method=pass_all
6241   ;;
6242
6243 haiku*)
6244   lt_cv_deplibs_check_method=pass_all
6245   ;;
6246
6247 hpux10.20* | hpux11*)
6248   lt_cv_file_magic_cmd=/usr/bin/file
6249   case $host_cpu in
6250   ia64*)
6251     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6252     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6253     ;;
6254   hppa*64*)
6255     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]'
6256     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6257     ;;
6258   *)
6259     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6260     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6261     ;;
6262   esac
6263   ;;
6264
6265 interix[3-9]*)
6266   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6267   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6268   ;;
6269
6270 irix5* | irix6* | nonstopux*)
6271   case $LD in
6272   *-32|*"-32 ") libmagic=32-bit;;
6273   *-n32|*"-n32 ") libmagic=N32;;
6274   *-64|*"-64 ") libmagic=64-bit;;
6275   *) libmagic=never-match;;
6276   esac
6277   lt_cv_deplibs_check_method=pass_all
6278   ;;
6279
6280 # This must be Linux ELF.
6281 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6282   lt_cv_deplibs_check_method=pass_all
6283   ;;
6284
6285 netbsd*)
6286   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6288   else
6289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6290   fi
6291   ;;
6292
6293 newos6*)
6294   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6295   lt_cv_file_magic_cmd=/usr/bin/file
6296   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6297   ;;
6298
6299 *nto* | *qnx*)
6300   lt_cv_deplibs_check_method=pass_all
6301   ;;
6302
6303 openbsd*)
6304   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6305     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6306   else
6307     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6308   fi
6309   ;;
6310
6311 osf3* | osf4* | osf5*)
6312   lt_cv_deplibs_check_method=pass_all
6313   ;;
6314
6315 rdos*)
6316   lt_cv_deplibs_check_method=pass_all
6317   ;;
6318
6319 solaris*)
6320   lt_cv_deplibs_check_method=pass_all
6321   ;;
6322
6323 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6324   lt_cv_deplibs_check_method=pass_all
6325   ;;
6326
6327 sysv4 | sysv4.3*)
6328   case $host_vendor in
6329   motorola)
6330     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]'
6331     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6332     ;;
6333   ncr)
6334     lt_cv_deplibs_check_method=pass_all
6335     ;;
6336   sequent)
6337     lt_cv_file_magic_cmd='/bin/file'
6338     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6339     ;;
6340   sni)
6341     lt_cv_file_magic_cmd='/bin/file'
6342     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6343     lt_cv_file_magic_test_file=/lib/libc.so
6344     ;;
6345   siemens)
6346     lt_cv_deplibs_check_method=pass_all
6347     ;;
6348   pc)
6349     lt_cv_deplibs_check_method=pass_all
6350     ;;
6351   esac
6352   ;;
6353
6354 tpf*)
6355   lt_cv_deplibs_check_method=pass_all
6356   ;;
6357 esac
6358
6359 fi
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6361 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6362 file_magic_cmd=$lt_cv_file_magic_cmd
6363 deplibs_check_method=$lt_cv_deplibs_check_method
6364 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377 if test -n "$ac_tool_prefix"; then
6378   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6379 set dummy ${ac_tool_prefix}ar; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if test "${ac_cv_prog_AR+set}" = set; then :
6383   $as_echo_n "(cached) " >&6
6384 else
6385   if test -n "$AR"; then
6386   ac_cv_prog_AR="$AR" # Let the user override the test.
6387 else
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in $PATH
6390 do
6391   IFS=$as_save_IFS
6392   test -z "$as_dir" && as_dir=.
6393     for ac_exec_ext in '' $ac_executable_extensions; do
6394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395     ac_cv_prog_AR="${ac_tool_prefix}ar"
6396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397     break 2
6398   fi
6399 done
6400   done
6401 IFS=$as_save_IFS
6402
6403 fi
6404 fi
6405 AR=$ac_cv_prog_AR
6406 if test -n "$AR"; then
6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6408 $as_echo "$AR" >&6; }
6409 else
6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6412 fi
6413
6414
6415 fi
6416 if test -z "$ac_cv_prog_AR"; then
6417   ac_ct_AR=$AR
6418   # Extract the first word of "ar", so it can be a program name with args.
6419 set dummy ar; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6423   $as_echo_n "(cached) " >&6
6424 else
6425   if test -n "$ac_ct_AR"; then
6426   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6427 else
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 for as_dir in $PATH
6430 do
6431   IFS=$as_save_IFS
6432   test -z "$as_dir" && as_dir=.
6433     for ac_exec_ext in '' $ac_executable_extensions; do
6434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435     ac_cv_prog_ac_ct_AR="ar"
6436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437     break 2
6438   fi
6439 done
6440   done
6441 IFS=$as_save_IFS
6442
6443 fi
6444 fi
6445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6446 if test -n "$ac_ct_AR"; then
6447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6448 $as_echo "$ac_ct_AR" >&6; }
6449 else
6450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6452 fi
6453
6454   if test "x$ac_ct_AR" = x; then
6455     AR="false"
6456   else
6457     case $cross_compiling:$ac_tool_warned in
6458 yes:)
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461 ac_tool_warned=yes ;;
6462 esac
6463     AR=$ac_ct_AR
6464   fi
6465 else
6466   AR="$ac_cv_prog_AR"
6467 fi
6468
6469 test -z "$AR" && AR=ar
6470 test -z "$AR_FLAGS" && AR_FLAGS=cru
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482 if test -n "$ac_tool_prefix"; then
6483   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6484 set dummy ${ac_tool_prefix}strip; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if test "${ac_cv_prog_STRIP+set}" = set; then :
6488   $as_echo_n "(cached) " >&6
6489 else
6490   if test -n "$STRIP"; then
6491   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6495 do
6496   IFS=$as_save_IFS
6497   test -z "$as_dir" && as_dir=.
6498     for ac_exec_ext in '' $ac_executable_extensions; do
6499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502     break 2
6503   fi
6504 done
6505   done
6506 IFS=$as_save_IFS
6507
6508 fi
6509 fi
6510 STRIP=$ac_cv_prog_STRIP
6511 if test -n "$STRIP"; then
6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6513 $as_echo "$STRIP" >&6; }
6514 else
6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6517 fi
6518
6519
6520 fi
6521 if test -z "$ac_cv_prog_STRIP"; then
6522   ac_ct_STRIP=$STRIP
6523   # Extract the first word of "strip", so it can be a program name with args.
6524 set dummy strip; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6528   $as_echo_n "(cached) " >&6
6529 else
6530   if test -n "$ac_ct_STRIP"; then
6531   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6532 else
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 for as_dir in $PATH
6535 do
6536   IFS=$as_save_IFS
6537   test -z "$as_dir" && as_dir=.
6538     for ac_exec_ext in '' $ac_executable_extensions; do
6539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6540     ac_cv_prog_ac_ct_STRIP="strip"
6541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542     break 2
6543   fi
6544 done
6545   done
6546 IFS=$as_save_IFS
6547
6548 fi
6549 fi
6550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6551 if test -n "$ac_ct_STRIP"; then
6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6553 $as_echo "$ac_ct_STRIP" >&6; }
6554 else
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6557 fi
6558
6559   if test "x$ac_ct_STRIP" = x; then
6560     STRIP=":"
6561   else
6562     case $cross_compiling:$ac_tool_warned in
6563 yes:)
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6566 ac_tool_warned=yes ;;
6567 esac
6568     STRIP=$ac_ct_STRIP
6569   fi
6570 else
6571   STRIP="$ac_cv_prog_STRIP"
6572 fi
6573
6574 test -z "$STRIP" && STRIP=:
6575
6576
6577
6578
6579
6580
6581 if test -n "$ac_tool_prefix"; then
6582   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6587   $as_echo_n "(cached) " >&6
6588 else
6589   if test -n "$RANLIB"; then
6590   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6594 do
6595   IFS=$as_save_IFS
6596   test -z "$as_dir" && as_dir=.
6597     for ac_exec_ext in '' $ac_executable_extensions; do
6598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601     break 2
6602   fi
6603 done
6604   done
6605 IFS=$as_save_IFS
6606
6607 fi
6608 fi
6609 RANLIB=$ac_cv_prog_RANLIB
6610 if test -n "$RANLIB"; then
6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6612 $as_echo "$RANLIB" >&6; }
6613 else
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6616 fi
6617
6618
6619 fi
6620 if test -z "$ac_cv_prog_RANLIB"; then
6621   ac_ct_RANLIB=$RANLIB
6622   # Extract the first word of "ranlib", so it can be a program name with args.
6623 set dummy ranlib; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6627   $as_echo_n "(cached) " >&6
6628 else
6629   if test -n "$ac_ct_RANLIB"; then
6630   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6634 do
6635   IFS=$as_save_IFS
6636   test -z "$as_dir" && as_dir=.
6637     for ac_exec_ext in '' $ac_executable_extensions; do
6638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639     ac_cv_prog_ac_ct_RANLIB="ranlib"
6640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641     break 2
6642   fi
6643 done
6644   done
6645 IFS=$as_save_IFS
6646
6647 fi
6648 fi
6649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6650 if test -n "$ac_ct_RANLIB"; then
6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6652 $as_echo "$ac_ct_RANLIB" >&6; }
6653 else
6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6656 fi
6657
6658   if test "x$ac_ct_RANLIB" = x; then
6659     RANLIB=":"
6660   else
6661     case $cross_compiling:$ac_tool_warned in
6662 yes:)
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6665 ac_tool_warned=yes ;;
6666 esac
6667     RANLIB=$ac_ct_RANLIB
6668   fi
6669 else
6670   RANLIB="$ac_cv_prog_RANLIB"
6671 fi
6672
6673 test -z "$RANLIB" && RANLIB=:
6674
6675
6676
6677
6678
6679
6680 # Determine commands to create old-style static archives.
6681 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6682 old_postinstall_cmds='chmod 644 $oldlib'
6683 old_postuninstall_cmds=
6684
6685 if test -n "$RANLIB"; then
6686   case $host_os in
6687   openbsd*)
6688     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6689     ;;
6690   *)
6691     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6692     ;;
6693   esac
6694   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6695 fi
6696
6697 case $host_os in
6698   darwin*)
6699     lock_old_archive_extraction=yes ;;
6700   *)
6701     lock_old_archive_extraction=no ;;
6702 esac
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742 # If no C compiler was specified, use CC.
6743 LTCC=${LTCC-"$CC"}
6744
6745 # If no C compiler flags were specified, use CFLAGS.
6746 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6747
6748 # Allow CC to be a program name with arguments.
6749 compiler=$CC
6750
6751
6752 # Check for command to grab the raw symbol name followed by C symbol from nm.
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6754 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6755 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6756   $as_echo_n "(cached) " >&6
6757 else
6758
6759 # These are sane defaults that work on at least a few old systems.
6760 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6761
6762 # Character class describing NM global symbol codes.
6763 symcode='[BCDEGRST]'
6764
6765 # Regexp to match symbols that can be accessed directly from C.
6766 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6767
6768 # Define system-specific variables.
6769 case $host_os in
6770 aix*)
6771   symcode='[BCDT]'
6772   ;;
6773 cygwin* | mingw* | pw32* | cegcc*)
6774   symcode='[ABCDGISTW]'
6775   ;;
6776 hpux*)
6777   if test "$host_cpu" = ia64; then
6778     symcode='[ABCDEGRST]'
6779   fi
6780   ;;
6781 irix* | nonstopux*)
6782   symcode='[BCDEGRST]'
6783   ;;
6784 osf*)
6785   symcode='[BCDEGQRST]'
6786   ;;
6787 solaris*)
6788   symcode='[BDRT]'
6789   ;;
6790 sco3.2v5*)
6791   symcode='[DT]'
6792   ;;
6793 sysv4.2uw2*)
6794   symcode='[DT]'
6795   ;;
6796 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6797   symcode='[ABDT]'
6798   ;;
6799 sysv4)
6800   symcode='[DFNSTU]'
6801   ;;
6802 esac
6803
6804 # If we're using GNU nm, then use its standard symbol codes.
6805 case `$NM -V 2>&1` in
6806 *GNU* | *'with BFD'*)
6807   symcode='[ABCDGIRSTW]' ;;
6808 esac
6809
6810 # Transform an extracted symbol line into a proper C declaration.
6811 # Some systems (esp. on ia64) link data and code symbols differently,
6812 # so use this general approach.
6813 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6814
6815 # Transform an extracted symbol line into symbol name and symbol address
6816 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6817 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'"
6818
6819 # Handle CRLF in mingw tool chain
6820 opt_cr=
6821 case $build_os in
6822 mingw*)
6823   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6824   ;;
6825 esac
6826
6827 # Try without a prefix underscore, then with it.
6828 for ac_symprfx in "" "_"; do
6829
6830   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6831   symxfrm="\\1 $ac_symprfx\\2 \\2"
6832
6833   # Write the raw and C identifiers.
6834   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6835     # Fake it for dumpbin and say T for any non-static function
6836     # and D for any global variable.
6837     # Also find C++ and __fastcall symbols from MSVC++,
6838     # which start with @ or ?.
6839     lt_cv_sys_global_symbol_pipe="$AWK '"\
6840 "     {last_section=section; section=\$ 3};"\
6841 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6842 "     \$ 0!~/External *\|/{next};"\
6843 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6844 "     {if(hide[section]) next};"\
6845 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6846 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6847 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6848 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6849 "     ' prfx=^$ac_symprfx"
6850   else
6851     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6852   fi
6853
6854   # Check to see that the pipe works correctly.
6855   pipe_works=no
6856
6857   rm -f conftest*
6858   cat > conftest.$ac_ext <<_LT_EOF
6859 #ifdef __cplusplus
6860 extern "C" {
6861 #endif
6862 char nm_test_var;
6863 void nm_test_func(void);
6864 void nm_test_func(void){}
6865 #ifdef __cplusplus
6866 }
6867 #endif
6868 int main(){nm_test_var='a';nm_test_func();return(0);}
6869 _LT_EOF
6870
6871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6872   (eval $ac_compile) 2>&5
6873   ac_status=$?
6874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6875   test $ac_status = 0; }; then
6876     # Now try to grab the symbols.
6877     nlist=conftest.nm
6878     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6879   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6880   ac_status=$?
6881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882   test $ac_status = 0; } && test -s "$nlist"; then
6883       # Try sorting and uniquifying the output.
6884       if sort "$nlist" | uniq > "$nlist"T; then
6885         mv -f "$nlist"T "$nlist"
6886       else
6887         rm -f "$nlist"T
6888       fi
6889
6890       # Make sure that we snagged all the symbols we need.
6891       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6892         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6893           cat <<_LT_EOF > conftest.$ac_ext
6894 #ifdef __cplusplus
6895 extern "C" {
6896 #endif
6897
6898 _LT_EOF
6899           # Now generate the symbol file.
6900           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6901
6902           cat <<_LT_EOF >> conftest.$ac_ext
6903
6904 /* The mapping between symbol names and symbols.  */
6905 const struct {
6906   const char *name;
6907   void       *address;
6908 }
6909 lt__PROGRAM__LTX_preloaded_symbols[] =
6910 {
6911   { "@PROGRAM@", (void *) 0 },
6912 _LT_EOF
6913           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6914           cat <<\_LT_EOF >> conftest.$ac_ext
6915   {0, (void *) 0}
6916 };
6917
6918 /* This works around a problem in FreeBSD linker */
6919 #ifdef FREEBSD_WORKAROUND
6920 static const void *lt_preloaded_setup() {
6921   return lt__PROGRAM__LTX_preloaded_symbols;
6922 }
6923 #endif
6924
6925 #ifdef __cplusplus
6926 }
6927 #endif
6928 _LT_EOF
6929           # Now try linking the two files.
6930           mv conftest.$ac_objext conftstm.$ac_objext
6931           lt_save_LIBS="$LIBS"
6932           lt_save_CFLAGS="$CFLAGS"
6933           LIBS="conftstm.$ac_objext"
6934           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6935           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6936   (eval $ac_link) 2>&5
6937   ac_status=$?
6938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6940             pipe_works=yes
6941           fi
6942           LIBS="$lt_save_LIBS"
6943           CFLAGS="$lt_save_CFLAGS"
6944         else
6945           echo "cannot find nm_test_func in $nlist" >&5
6946         fi
6947       else
6948         echo "cannot find nm_test_var in $nlist" >&5
6949       fi
6950     else
6951       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6952     fi
6953   else
6954     echo "$progname: failed program was:" >&5
6955     cat conftest.$ac_ext >&5
6956   fi
6957   rm -rf conftest* conftst*
6958
6959   # Do not use the global_symbol_pipe unless it works.
6960   if test "$pipe_works" = yes; then
6961     break
6962   else
6963     lt_cv_sys_global_symbol_pipe=
6964   fi
6965 done
6966
6967 fi
6968
6969 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6970   lt_cv_sys_global_symbol_to_cdecl=
6971 fi
6972 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6974 $as_echo "failed" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6977 $as_echo "ok" >&6; }
6978 fi
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001 # Check whether --enable-libtool-lock was given.
7002 if test "${enable_libtool_lock+set}" = set; then :
7003   enableval=$enable_libtool_lock;
7004 fi
7005
7006 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7007
7008 # Some flags need to be propagated to the compiler or linker for good
7009 # libtool support.
7010 case $host in
7011 ia64-*-hpux*)
7012   # Find out which ABI we are using.
7013   echo 'int i;' > conftest.$ac_ext
7014   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7015   (eval $ac_compile) 2>&5
7016   ac_status=$?
7017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7018   test $ac_status = 0; }; then
7019     case `/usr/bin/file conftest.$ac_objext` in
7020       *ELF-32*)
7021         HPUX_IA64_MODE="32"
7022         ;;
7023       *ELF-64*)
7024         HPUX_IA64_MODE="64"
7025         ;;
7026     esac
7027   fi
7028   rm -rf conftest*
7029   ;;
7030 *-*-irix6*)
7031   # Find out which ABI we are using.
7032   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7033   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7034   (eval $ac_compile) 2>&5
7035   ac_status=$?
7036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7037   test $ac_status = 0; }; then
7038     if test "$lt_cv_prog_gnu_ld" = yes; then
7039       case `/usr/bin/file conftest.$ac_objext` in
7040         *32-bit*)
7041           LD="${LD-ld} -melf32bsmip"
7042           ;;
7043         *N32*)
7044           LD="${LD-ld} -melf32bmipn32"
7045           ;;
7046         *64-bit*)
7047           LD="${LD-ld} -melf64bmip"
7048         ;;
7049       esac
7050     else
7051       case `/usr/bin/file conftest.$ac_objext` in
7052         *32-bit*)
7053           LD="${LD-ld} -32"
7054           ;;
7055         *N32*)
7056           LD="${LD-ld} -n32"
7057           ;;
7058         *64-bit*)
7059           LD="${LD-ld} -64"
7060           ;;
7061       esac
7062     fi
7063   fi
7064   rm -rf conftest*
7065   ;;
7066
7067 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7068 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7069   # Find out which ABI we are using.
7070   echo 'int i;' > conftest.$ac_ext
7071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7072   (eval $ac_compile) 2>&5
7073   ac_status=$?
7074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7075   test $ac_status = 0; }; then
7076     case `/usr/bin/file conftest.o` in
7077       *32-bit*)
7078         case $host in
7079           x86_64-*kfreebsd*-gnu)
7080             LD="${LD-ld} -m elf_i386_fbsd"
7081             ;;
7082           x86_64-*linux*)
7083             LD="${LD-ld} -m elf_i386"
7084             ;;
7085           ppc64-*linux*|powerpc64-*linux*)
7086             LD="${LD-ld} -m elf32ppclinux"
7087             ;;
7088           s390x-*linux*)
7089             LD="${LD-ld} -m elf_s390"
7090             ;;
7091           sparc64-*linux*)
7092             LD="${LD-ld} -m elf32_sparc"
7093             ;;
7094         esac
7095         ;;
7096       *64-bit*)
7097         case $host in
7098           x86_64-*kfreebsd*-gnu)
7099             LD="${LD-ld} -m elf_x86_64_fbsd"
7100             ;;
7101           x86_64-*linux*)
7102             LD="${LD-ld} -m elf_x86_64"
7103             ;;
7104           ppc*-*linux*|powerpc*-*linux*)
7105             LD="${LD-ld} -m elf64ppc"
7106             ;;
7107           s390*-*linux*|s390*-*tpf*)
7108             LD="${LD-ld} -m elf64_s390"
7109             ;;
7110           sparc*-*linux*)
7111             LD="${LD-ld} -m elf64_sparc"
7112             ;;
7113         esac
7114         ;;
7115     esac
7116   fi
7117   rm -rf conftest*
7118   ;;
7119
7120 *-*-sco3.2v5*)
7121   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7122   SAVE_CFLAGS="$CFLAGS"
7123   CFLAGS="$CFLAGS -belf"
7124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7125 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7126 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7127   $as_echo_n "(cached) " >&6
7128 else
7129   ac_ext=c
7130 ac_cpp='$CPP $CPPFLAGS'
7131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7134
7135      if test x$gcc_no_link = xyes; then
7136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7137 fi
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h.  */
7140
7141 int
7142 main ()
7143 {
7144
7145   ;
7146   return 0;
7147 }
7148 _ACEOF
7149 if ac_fn_c_try_link "$LINENO"; then :
7150   lt_cv_cc_needs_belf=yes
7151 else
7152   lt_cv_cc_needs_belf=no
7153 fi
7154 rm -f core conftest.err conftest.$ac_objext \
7155     conftest$ac_exeext conftest.$ac_ext
7156      ac_ext=c
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7161
7162 fi
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7164 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7165   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7166     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7167     CFLAGS="$SAVE_CFLAGS"
7168   fi
7169   ;;
7170 sparc*-*solaris*)
7171   # Find out which ABI we are using.
7172   echo 'int i;' > conftest.$ac_ext
7173   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7174   (eval $ac_compile) 2>&5
7175   ac_status=$?
7176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7177   test $ac_status = 0; }; then
7178     case `/usr/bin/file conftest.o` in
7179     *64-bit*)
7180       case $lt_cv_prog_gnu_ld in
7181       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7182       *)
7183         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7184           LD="${LD-ld} -64"
7185         fi
7186         ;;
7187       esac
7188       ;;
7189     esac
7190   fi
7191   rm -rf conftest*
7192   ;;
7193 esac
7194
7195 need_locks="$enable_libtool_lock"
7196
7197
7198   case $host_os in
7199     rhapsody* | darwin*)
7200     if test -n "$ac_tool_prefix"; then
7201   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7202 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7206   $as_echo_n "(cached) " >&6
7207 else
7208   if test -n "$DSYMUTIL"; then
7209   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7210 else
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 for as_dir in $PATH
7213 do
7214   IFS=$as_save_IFS
7215   test -z "$as_dir" && as_dir=.
7216     for ac_exec_ext in '' $ac_executable_extensions; do
7217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220     break 2
7221   fi
7222 done
7223   done
7224 IFS=$as_save_IFS
7225
7226 fi
7227 fi
7228 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7229 if test -n "$DSYMUTIL"; then
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7231 $as_echo "$DSYMUTIL" >&6; }
7232 else
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7235 fi
7236
7237
7238 fi
7239 if test -z "$ac_cv_prog_DSYMUTIL"; then
7240   ac_ct_DSYMUTIL=$DSYMUTIL
7241   # Extract the first word of "dsymutil", so it can be a program name with args.
7242 set dummy dsymutil; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7246   $as_echo_n "(cached) " >&6
7247 else
7248   if test -n "$ac_ct_DSYMUTIL"; then
7249   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7253 do
7254   IFS=$as_save_IFS
7255   test -z "$as_dir" && as_dir=.
7256     for ac_exec_ext in '' $ac_executable_extensions; do
7257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7258     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260     break 2
7261   fi
7262 done
7263   done
7264 IFS=$as_save_IFS
7265
7266 fi
7267 fi
7268 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7269 if test -n "$ac_ct_DSYMUTIL"; then
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7271 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7272 else
7273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 $as_echo "no" >&6; }
7275 fi
7276
7277   if test "x$ac_ct_DSYMUTIL" = x; then
7278     DSYMUTIL=":"
7279   else
7280     case $cross_compiling:$ac_tool_warned in
7281 yes:)
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7284 ac_tool_warned=yes ;;
7285 esac
7286     DSYMUTIL=$ac_ct_DSYMUTIL
7287   fi
7288 else
7289   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7290 fi
7291
7292     if test -n "$ac_tool_prefix"; then
7293   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7294 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 $as_echo_n "checking for $ac_word... " >&6; }
7297 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7298   $as_echo_n "(cached) " >&6
7299 else
7300   if test -n "$NMEDIT"; then
7301   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7305 do
7306   IFS=$as_save_IFS
7307   test -z "$as_dir" && as_dir=.
7308     for ac_exec_ext in '' $ac_executable_extensions; do
7309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7312     break 2
7313   fi
7314 done
7315   done
7316 IFS=$as_save_IFS
7317
7318 fi
7319 fi
7320 NMEDIT=$ac_cv_prog_NMEDIT
7321 if test -n "$NMEDIT"; then
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7323 $as_echo "$NMEDIT" >&6; }
7324 else
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7327 fi
7328
7329
7330 fi
7331 if test -z "$ac_cv_prog_NMEDIT"; then
7332   ac_ct_NMEDIT=$NMEDIT
7333   # Extract the first word of "nmedit", so it can be a program name with args.
7334 set dummy nmedit; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7338   $as_echo_n "(cached) " >&6
7339 else
7340   if test -n "$ac_ct_NMEDIT"; then
7341   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7342 else
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 for as_dir in $PATH
7345 do
7346   IFS=$as_save_IFS
7347   test -z "$as_dir" && as_dir=.
7348     for ac_exec_ext in '' $ac_executable_extensions; do
7349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352     break 2
7353   fi
7354 done
7355   done
7356 IFS=$as_save_IFS
7357
7358 fi
7359 fi
7360 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7361 if test -n "$ac_ct_NMEDIT"; then
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7363 $as_echo "$ac_ct_NMEDIT" >&6; }
7364 else
7365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7367 fi
7368
7369   if test "x$ac_ct_NMEDIT" = x; then
7370     NMEDIT=":"
7371   else
7372     case $cross_compiling:$ac_tool_warned in
7373 yes:)
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7376 ac_tool_warned=yes ;;
7377 esac
7378     NMEDIT=$ac_ct_NMEDIT
7379   fi
7380 else
7381   NMEDIT="$ac_cv_prog_NMEDIT"
7382 fi
7383
7384     if test -n "$ac_tool_prefix"; then
7385   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7386 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 $as_echo_n "checking for $ac_word... " >&6; }
7389 if test "${ac_cv_prog_LIPO+set}" = set; then :
7390   $as_echo_n "(cached) " >&6
7391 else
7392   if test -n "$LIPO"; then
7393   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7397 do
7398   IFS=$as_save_IFS
7399   test -z "$as_dir" && as_dir=.
7400     for ac_exec_ext in '' $ac_executable_extensions; do
7401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404     break 2
7405   fi
7406 done
7407   done
7408 IFS=$as_save_IFS
7409
7410 fi
7411 fi
7412 LIPO=$ac_cv_prog_LIPO
7413 if test -n "$LIPO"; then
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7415 $as_echo "$LIPO" >&6; }
7416 else
7417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 $as_echo "no" >&6; }
7419 fi
7420
7421
7422 fi
7423 if test -z "$ac_cv_prog_LIPO"; then
7424   ac_ct_LIPO=$LIPO
7425   # Extract the first word of "lipo", so it can be a program name with args.
7426 set dummy lipo; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7430   $as_echo_n "(cached) " >&6
7431 else
7432   if test -n "$ac_ct_LIPO"; then
7433   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7434 else
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 for as_dir in $PATH
7437 do
7438   IFS=$as_save_IFS
7439   test -z "$as_dir" && as_dir=.
7440     for ac_exec_ext in '' $ac_executable_extensions; do
7441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442     ac_cv_prog_ac_ct_LIPO="lipo"
7443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444     break 2
7445   fi
7446 done
7447   done
7448 IFS=$as_save_IFS
7449
7450 fi
7451 fi
7452 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7453 if test -n "$ac_ct_LIPO"; then
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7455 $as_echo "$ac_ct_LIPO" >&6; }
7456 else
7457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7459 fi
7460
7461   if test "x$ac_ct_LIPO" = x; then
7462     LIPO=":"
7463   else
7464     case $cross_compiling:$ac_tool_warned in
7465 yes:)
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7468 ac_tool_warned=yes ;;
7469 esac
7470     LIPO=$ac_ct_LIPO
7471   fi
7472 else
7473   LIPO="$ac_cv_prog_LIPO"
7474 fi
7475
7476     if test -n "$ac_tool_prefix"; then
7477   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7478 set dummy ${ac_tool_prefix}otool; ac_word=$2
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480 $as_echo_n "checking for $ac_word... " >&6; }
7481 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7482   $as_echo_n "(cached) " >&6
7483 else
7484   if test -n "$OTOOL"; then
7485   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7486 else
7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488 for as_dir in $PATH
7489 do
7490   IFS=$as_save_IFS
7491   test -z "$as_dir" && as_dir=.
7492     for ac_exec_ext in '' $ac_executable_extensions; do
7493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496     break 2
7497   fi
7498 done
7499   done
7500 IFS=$as_save_IFS
7501
7502 fi
7503 fi
7504 OTOOL=$ac_cv_prog_OTOOL
7505 if test -n "$OTOOL"; then
7506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7507 $as_echo "$OTOOL" >&6; }
7508 else
7509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510 $as_echo "no" >&6; }
7511 fi
7512
7513
7514 fi
7515 if test -z "$ac_cv_prog_OTOOL"; then
7516   ac_ct_OTOOL=$OTOOL
7517   # Extract the first word of "otool", so it can be a program name with args.
7518 set dummy otool; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7522   $as_echo_n "(cached) " >&6
7523 else
7524   if test -n "$ac_ct_OTOOL"; then
7525   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7526 else
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 for as_dir in $PATH
7529 do
7530   IFS=$as_save_IFS
7531   test -z "$as_dir" && as_dir=.
7532     for ac_exec_ext in '' $ac_executable_extensions; do
7533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7534     ac_cv_prog_ac_ct_OTOOL="otool"
7535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536     break 2
7537   fi
7538 done
7539   done
7540 IFS=$as_save_IFS
7541
7542 fi
7543 fi
7544 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7545 if test -n "$ac_ct_OTOOL"; then
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7547 $as_echo "$ac_ct_OTOOL" >&6; }
7548 else
7549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7551 fi
7552
7553   if test "x$ac_ct_OTOOL" = x; then
7554     OTOOL=":"
7555   else
7556     case $cross_compiling:$ac_tool_warned in
7557 yes:)
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7560 ac_tool_warned=yes ;;
7561 esac
7562     OTOOL=$ac_ct_OTOOL
7563   fi
7564 else
7565   OTOOL="$ac_cv_prog_OTOOL"
7566 fi
7567
7568     if test -n "$ac_tool_prefix"; then
7569   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7570 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7574   $as_echo_n "(cached) " >&6
7575 else
7576   if test -n "$OTOOL64"; then
7577   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7581 do
7582   IFS=$as_save_IFS
7583   test -z "$as_dir" && as_dir=.
7584     for ac_exec_ext in '' $ac_executable_extensions; do
7585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588     break 2
7589   fi
7590 done
7591   done
7592 IFS=$as_save_IFS
7593
7594 fi
7595 fi
7596 OTOOL64=$ac_cv_prog_OTOOL64
7597 if test -n "$OTOOL64"; then
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7599 $as_echo "$OTOOL64" >&6; }
7600 else
7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7603 fi
7604
7605
7606 fi
7607 if test -z "$ac_cv_prog_OTOOL64"; then
7608   ac_ct_OTOOL64=$OTOOL64
7609   # Extract the first word of "otool64", so it can be a program name with args.
7610 set dummy otool64; ac_word=$2
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612 $as_echo_n "checking for $ac_word... " >&6; }
7613 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7614   $as_echo_n "(cached) " >&6
7615 else
7616   if test -n "$ac_ct_OTOOL64"; then
7617   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7618 else
7619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 for as_dir in $PATH
7621 do
7622   IFS=$as_save_IFS
7623   test -z "$as_dir" && as_dir=.
7624     for ac_exec_ext in '' $ac_executable_extensions; do
7625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7626     ac_cv_prog_ac_ct_OTOOL64="otool64"
7627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628     break 2
7629   fi
7630 done
7631   done
7632 IFS=$as_save_IFS
7633
7634 fi
7635 fi
7636 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7637 if test -n "$ac_ct_OTOOL64"; then
7638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7639 $as_echo "$ac_ct_OTOOL64" >&6; }
7640 else
7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642 $as_echo "no" >&6; }
7643 fi
7644
7645   if test "x$ac_ct_OTOOL64" = x; then
7646     OTOOL64=":"
7647   else
7648     case $cross_compiling:$ac_tool_warned in
7649 yes:)
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7652 ac_tool_warned=yes ;;
7653 esac
7654     OTOOL64=$ac_ct_OTOOL64
7655   fi
7656 else
7657   OTOOL64="$ac_cv_prog_OTOOL64"
7658 fi
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7687 $as_echo_n "checking for -single_module linker flag... " >&6; }
7688 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7689   $as_echo_n "(cached) " >&6
7690 else
7691   lt_cv_apple_cc_single_mod=no
7692       if test -z "${LT_MULTI_MODULE}"; then
7693         # By default we will add the -single_module flag. You can override
7694         # by either setting the environment variable LT_MULTI_MODULE
7695         # non-empty at configure time, or by adding -multi_module to the
7696         # link flags.
7697         rm -rf libconftest.dylib*
7698         echo "int foo(void){return 1;}" > conftest.c
7699         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7700 -dynamiclib -Wl,-single_module conftest.c" >&5
7701         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7702           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7703         _lt_result=$?
7704         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7705           lt_cv_apple_cc_single_mod=yes
7706         else
7707           cat conftest.err >&5
7708         fi
7709         rm -rf libconftest.dylib*
7710         rm -f conftest.*
7711       fi
7712 fi
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7714 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7716 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7717 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7718   $as_echo_n "(cached) " >&6
7719 else
7720   lt_cv_ld_exported_symbols_list=no
7721       save_LDFLAGS=$LDFLAGS
7722       echo "_main" > conftest.sym
7723       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7724       if test x$gcc_no_link = xyes; then
7725   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7726 fi
7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h.  */
7729
7730 int
7731 main ()
7732 {
7733
7734   ;
7735   return 0;
7736 }
7737 _ACEOF
7738 if ac_fn_c_try_link "$LINENO"; then :
7739   lt_cv_ld_exported_symbols_list=yes
7740 else
7741   lt_cv_ld_exported_symbols_list=no
7742 fi
7743 rm -f core conftest.err conftest.$ac_objext \
7744     conftest$ac_exeext conftest.$ac_ext
7745         LDFLAGS="$save_LDFLAGS"
7746
7747 fi
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7749 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7751 $as_echo_n "checking for -force_load linker flag... " >&6; }
7752 if test "${lt_cv_ld_force_load+set}" = set; then :
7753   $as_echo_n "(cached) " >&6
7754 else
7755   lt_cv_ld_force_load=no
7756       cat > conftest.c << _LT_EOF
7757 int forced_loaded() { return 2;}
7758 _LT_EOF
7759       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7760       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7761       echo "$AR cru libconftest.a conftest.o" >&5
7762       $AR cru libconftest.a conftest.o 2>&5
7763       cat > conftest.c << _LT_EOF
7764 int main() { return 0;}
7765 _LT_EOF
7766       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7767       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7768       _lt_result=$?
7769       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7770         lt_cv_ld_force_load=yes
7771       else
7772         cat conftest.err >&5
7773       fi
7774         rm -f conftest.err libconftest.a conftest conftest.c
7775         rm -rf conftest.dSYM
7776
7777 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7779 $as_echo "$lt_cv_ld_force_load" >&6; }
7780     case $host_os in
7781     rhapsody* | darwin1.[012])
7782       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7783     darwin1.*)
7784       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7785     darwin*) # darwin 5.x on
7786       # if running on 10.5 or later, the deployment target defaults
7787       # to the OS version, if on x86, and 10.4, the deployment
7788       # target defaults to 10.4. Don't you love it?
7789       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7790         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7791           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7792         10.[012]*)
7793           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7794         10.*)
7795           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796       esac
7797     ;;
7798   esac
7799     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7800       _lt_dar_single_mod='$single_module'
7801     fi
7802     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7803       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7804     else
7805       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7806     fi
7807     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7808       _lt_dsymutil='~$DSYMUTIL $lib || :'
7809     else
7810       _lt_dsymutil=
7811     fi
7812     ;;
7813   esac
7814
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7816 $as_echo_n "checking for ANSI C header files... " >&6; }
7817 if test "${ac_cv_header_stdc+set}" = set; then :
7818   $as_echo_n "(cached) " >&6
7819 else
7820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h.  */
7822 #include <stdlib.h>
7823 #include <stdarg.h>
7824 #include <string.h>
7825 #include <float.h>
7826
7827 int
7828 main ()
7829 {
7830
7831   ;
7832   return 0;
7833 }
7834 _ACEOF
7835 if ac_fn_c_try_compile "$LINENO"; then :
7836   ac_cv_header_stdc=yes
7837 else
7838   ac_cv_header_stdc=no
7839 fi
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841
7842 if test $ac_cv_header_stdc = yes; then
7843   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h.  */
7846 #include <string.h>
7847
7848 _ACEOF
7849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7850   $EGREP "memchr" >/dev/null 2>&1; then :
7851
7852 else
7853   ac_cv_header_stdc=no
7854 fi
7855 rm -f conftest*
7856
7857 fi
7858
7859 if test $ac_cv_header_stdc = yes; then
7860   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h.  */
7863 #include <stdlib.h>
7864
7865 _ACEOF
7866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7867   $EGREP "free" >/dev/null 2>&1; then :
7868
7869 else
7870   ac_cv_header_stdc=no
7871 fi
7872 rm -f conftest*
7873
7874 fi
7875
7876 if test $ac_cv_header_stdc = yes; then
7877   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7878   if test "$cross_compiling" = yes; then :
7879   :
7880 else
7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h.  */
7883 #include <ctype.h>
7884 #include <stdlib.h>
7885 #if ((' ' & 0x0FF) == 0x020)
7886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7888 #else
7889 # define ISLOWER(c) \
7890                    (('a' <= (c) && (c) <= 'i') \
7891                      || ('j' <= (c) && (c) <= 'r') \
7892                      || ('s' <= (c) && (c) <= 'z'))
7893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7894 #endif
7895
7896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7897 int
7898 main ()
7899 {
7900   int i;
7901   for (i = 0; i < 256; i++)
7902     if (XOR (islower (i), ISLOWER (i))
7903         || toupper (i) != TOUPPER (i))
7904       return 2;
7905   return 0;
7906 }
7907 _ACEOF
7908 if ac_fn_c_try_run "$LINENO"; then :
7909
7910 else
7911   ac_cv_header_stdc=no
7912 fi
7913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7914   conftest.$ac_objext conftest.beam conftest.$ac_ext
7915 fi
7916
7917 fi
7918 fi
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7920 $as_echo "$ac_cv_header_stdc" >&6; }
7921 if test $ac_cv_header_stdc = yes; then
7922
7923 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7924
7925 fi
7926
7927 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7928 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7929                   inttypes.h stdint.h unistd.h
7930 do :
7931   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7932 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7933 "
7934 eval as_val=\$$as_ac_Header
7935    if test "x$as_val" = x""yes; then :
7936   cat >>confdefs.h <<_ACEOF
7937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 _ACEOF
7939
7940 fi
7941
7942 done
7943
7944
7945 for ac_header in dlfcn.h
7946 do :
7947   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7948 "
7949 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7950   cat >>confdefs.h <<_ACEOF
7951 #define HAVE_DLFCN_H 1
7952 _ACEOF
7953
7954 fi
7955
7956 done
7957
7958
7959
7960
7961
7962
7963 # Set options
7964
7965
7966
7967
7968   enable_win32_dll=no
7969
7970
7971             # Check whether --enable-shared was given.
7972 if test "${enable_shared+set}" = set; then :
7973   enableval=$enable_shared; p=${PACKAGE-default}
7974     case $enableval in
7975     yes) enable_shared=yes ;;
7976     no) enable_shared=no ;;
7977     *)
7978       enable_shared=no
7979       # Look at the argument we got.  We use all the common list separators.
7980       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7981       for pkg in $enableval; do
7982         IFS="$lt_save_ifs"
7983         if test "X$pkg" = "X$p"; then
7984           enable_shared=yes
7985         fi
7986       done
7987       IFS="$lt_save_ifs"
7988       ;;
7989     esac
7990 else
7991   enable_shared=yes
7992 fi
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002   # Check whether --enable-static was given.
8003 if test "${enable_static+set}" = set; then :
8004   enableval=$enable_static; p=${PACKAGE-default}
8005     case $enableval in
8006     yes) enable_static=yes ;;
8007     no) enable_static=no ;;
8008     *)
8009      enable_static=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_static=yes
8016         fi
8017       done
8018       IFS="$lt_save_ifs"
8019       ;;
8020     esac
8021 else
8022   enable_static=yes
8023 fi
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034 # Check whether --with-pic was given.
8035 if test "${with_pic+set}" = set; then :
8036   withval=$with_pic; pic_mode="$withval"
8037 else
8038   pic_mode=default
8039 fi
8040
8041
8042 test -z "$pic_mode" && pic_mode=default
8043
8044
8045
8046
8047
8048
8049
8050   # Check whether --enable-fast-install was given.
8051 if test "${enable_fast_install+set}" = set; then :
8052   enableval=$enable_fast_install; p=${PACKAGE-default}
8053     case $enableval in
8054     yes) enable_fast_install=yes ;;
8055     no) enable_fast_install=no ;;
8056     *)
8057       enable_fast_install=no
8058       # Look at the argument we got.  We use all the common list separators.
8059       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8060       for pkg in $enableval; do
8061         IFS="$lt_save_ifs"
8062         if test "X$pkg" = "X$p"; then
8063           enable_fast_install=yes
8064         fi
8065       done
8066       IFS="$lt_save_ifs"
8067       ;;
8068     esac
8069 else
8070   enable_fast_install=yes
8071 fi
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083 # This can be used to rebuild libtool when needed
8084 LIBTOOL_DEPS="$ltmain"
8085
8086 # Always use our own libtool.
8087 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114 test -z "$LN_S" && LN_S="ln -s"
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129 if test -n "${ZSH_VERSION+set}" ; then
8130    setopt NO_GLOB_SUBST
8131 fi
8132
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8134 $as_echo_n "checking for objdir... " >&6; }
8135 if test "${lt_cv_objdir+set}" = set; then :
8136   $as_echo_n "(cached) " >&6
8137 else
8138   rm -f .libs 2>/dev/null
8139 mkdir .libs 2>/dev/null
8140 if test -d .libs; then
8141   lt_cv_objdir=.libs
8142 else
8143   # MS-DOS does not allow filenames that begin with a dot.
8144   lt_cv_objdir=_libs
8145 fi
8146 rmdir .libs 2>/dev/null
8147 fi
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8149 $as_echo "$lt_cv_objdir" >&6; }
8150 objdir=$lt_cv_objdir
8151
8152
8153
8154
8155
8156 cat >>confdefs.h <<_ACEOF
8157 #define LT_OBJDIR "$lt_cv_objdir/"
8158 _ACEOF
8159
8160
8161
8162
8163 case $host_os in
8164 aix3*)
8165   # AIX sometimes has problems with the GCC collect2 program.  For some
8166   # reason, if we set the COLLECT_NAMES environment variable, the problems
8167   # vanish in a puff of smoke.
8168   if test "X${COLLECT_NAMES+set}" != Xset; then
8169     COLLECT_NAMES=
8170     export COLLECT_NAMES
8171   fi
8172   ;;
8173 esac
8174
8175 # Global variables:
8176 ofile=libtool
8177 can_build_shared=yes
8178
8179 # All known linkers require a `.a' archive for static linking (except MSVC,
8180 # which needs '.lib').
8181 libext=a
8182
8183 with_gnu_ld="$lt_cv_prog_gnu_ld"
8184
8185 old_CC="$CC"
8186 old_CFLAGS="$CFLAGS"
8187
8188 # Set sane defaults for various variables
8189 test -z "$CC" && CC=cc
8190 test -z "$LTCC" && LTCC=$CC
8191 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8192 test -z "$LD" && LD=ld
8193 test -z "$ac_objext" && ac_objext=o
8194
8195 for cc_temp in $compiler""; do
8196   case $cc_temp in
8197     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8198     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8199     \-*) ;;
8200     *) break;;
8201   esac
8202 done
8203 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8204
8205
8206 # Only perform the check for file, if the check method requires it
8207 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8208 case $deplibs_check_method in
8209 file_magic*)
8210   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8212 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8213 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8214   $as_echo_n "(cached) " >&6
8215 else
8216   case $MAGIC_CMD in
8217 [\\/*] |  ?:[\\/]*)
8218   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8219   ;;
8220 *)
8221   lt_save_MAGIC_CMD="$MAGIC_CMD"
8222   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8223   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8224   for ac_dir in $ac_dummy; do
8225     IFS="$lt_save_ifs"
8226     test -z "$ac_dir" && ac_dir=.
8227     if test -f $ac_dir/${ac_tool_prefix}file; then
8228       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8229       if test -n "$file_magic_test_file"; then
8230         case $deplibs_check_method in
8231         "file_magic "*)
8232           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8233           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8234           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8235             $EGREP "$file_magic_regex" > /dev/null; then
8236             :
8237           else
8238             cat <<_LT_EOF 1>&2
8239
8240 *** Warning: the command libtool uses to detect shared libraries,
8241 *** $file_magic_cmd, produces output that libtool cannot recognize.
8242 *** The result is that libtool may fail to recognize shared libraries
8243 *** as such.  This will affect the creation of libtool libraries that
8244 *** depend on shared libraries, but programs linked with such libtool
8245 *** libraries will work regardless of this problem.  Nevertheless, you
8246 *** may want to report the problem to your system manager and/or to
8247 *** bug-libtool@gnu.org
8248
8249 _LT_EOF
8250           fi ;;
8251         esac
8252       fi
8253       break
8254     fi
8255   done
8256   IFS="$lt_save_ifs"
8257   MAGIC_CMD="$lt_save_MAGIC_CMD"
8258   ;;
8259 esac
8260 fi
8261
8262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8263 if test -n "$MAGIC_CMD"; then
8264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8265 $as_echo "$MAGIC_CMD" >&6; }
8266 else
8267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8268 $as_echo "no" >&6; }
8269 fi
8270
8271
8272
8273
8274
8275 if test -z "$lt_cv_path_MAGIC_CMD"; then
8276   if test -n "$ac_tool_prefix"; then
8277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8278 $as_echo_n "checking for file... " >&6; }
8279 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8280   $as_echo_n "(cached) " >&6
8281 else
8282   case $MAGIC_CMD in
8283 [\\/*] |  ?:[\\/]*)
8284   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8285   ;;
8286 *)
8287   lt_save_MAGIC_CMD="$MAGIC_CMD"
8288   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8289   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8290   for ac_dir in $ac_dummy; do
8291     IFS="$lt_save_ifs"
8292     test -z "$ac_dir" && ac_dir=.
8293     if test -f $ac_dir/file; then
8294       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8295       if test -n "$file_magic_test_file"; then
8296         case $deplibs_check_method in
8297         "file_magic "*)
8298           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8299           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8300           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8301             $EGREP "$file_magic_regex" > /dev/null; then
8302             :
8303           else
8304             cat <<_LT_EOF 1>&2
8305
8306 *** Warning: the command libtool uses to detect shared libraries,
8307 *** $file_magic_cmd, produces output that libtool cannot recognize.
8308 *** The result is that libtool may fail to recognize shared libraries
8309 *** as such.  This will affect the creation of libtool libraries that
8310 *** depend on shared libraries, but programs linked with such libtool
8311 *** libraries will work regardless of this problem.  Nevertheless, you
8312 *** may want to report the problem to your system manager and/or to
8313 *** bug-libtool@gnu.org
8314
8315 _LT_EOF
8316           fi ;;
8317         esac
8318       fi
8319       break
8320     fi
8321   done
8322   IFS="$lt_save_ifs"
8323   MAGIC_CMD="$lt_save_MAGIC_CMD"
8324   ;;
8325 esac
8326 fi
8327
8328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8329 if test -n "$MAGIC_CMD"; then
8330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8331 $as_echo "$MAGIC_CMD" >&6; }
8332 else
8333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8335 fi
8336
8337
8338   else
8339     MAGIC_CMD=:
8340   fi
8341 fi
8342
8343   fi
8344   ;;
8345 esac
8346
8347 # Use C for the default configuration in the libtool script
8348
8349 lt_save_CC="$CC"
8350 ac_ext=c
8351 ac_cpp='$CPP $CPPFLAGS'
8352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8355
8356
8357 # Source file extension for C test sources.
8358 ac_ext=c
8359
8360 # Object file extension for compiled C test sources.
8361 objext=o
8362 objext=$objext
8363
8364 # Code to be used in simple compile tests
8365 lt_simple_compile_test_code="int some_variable = 0;"
8366
8367 # Code to be used in simple link tests
8368 lt_simple_link_test_code='int main(){return(0);}'
8369
8370
8371
8372
8373
8374
8375
8376 # If no C compiler was specified, use CC.
8377 LTCC=${LTCC-"$CC"}
8378
8379 # If no C compiler flags were specified, use CFLAGS.
8380 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8381
8382 # Allow CC to be a program name with arguments.
8383 compiler=$CC
8384
8385 # Save the default compiler, since it gets overwritten when the other
8386 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8387 compiler_DEFAULT=$CC
8388
8389 # save warnings/boilerplate of simple test code
8390 ac_outfile=conftest.$ac_objext
8391 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8392 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8393 _lt_compiler_boilerplate=`cat conftest.err`
8394 $RM conftest*
8395
8396 ac_outfile=conftest.$ac_objext
8397 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8398 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8399 _lt_linker_boilerplate=`cat conftest.err`
8400 $RM -r conftest*
8401
8402
8403 ## CAVEAT EMPTOR:
8404 ## There is no encapsulation within the following macros, do not change
8405 ## the running order or otherwise move them around unless you know exactly
8406 ## what you are doing...
8407 if test -n "$compiler"; then
8408
8409 lt_prog_compiler_no_builtin_flag=
8410
8411 if test "$GCC" = yes; then
8412   case $cc_basename in
8413   nvcc*)
8414     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8415   *)
8416     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8417   esac
8418
8419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8420 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8421 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8422   $as_echo_n "(cached) " >&6
8423 else
8424   lt_cv_prog_compiler_rtti_exceptions=no
8425    ac_outfile=conftest.$ac_objext
8426    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8427    lt_compiler_flag="-fno-rtti -fno-exceptions"
8428    # Insert the option either (1) after the last *FLAGS variable, or
8429    # (2) before a word containing "conftest.", or (3) at the end.
8430    # Note that $ac_compile itself does not contain backslashes and begins
8431    # with a dollar sign (not a hyphen), so the echo should work correctly.
8432    # The option is referenced via a variable to avoid confusing sed.
8433    lt_compile=`echo "$ac_compile" | $SED \
8434    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8435    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8436    -e 's:$: $lt_compiler_flag:'`
8437    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8438    (eval "$lt_compile" 2>conftest.err)
8439    ac_status=$?
8440    cat conftest.err >&5
8441    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442    if (exit $ac_status) && test -s "$ac_outfile"; then
8443      # The compiler can only warn and ignore the option if not recognized
8444      # So say no if there are warnings other than the usual output.
8445      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8446      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8447      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8448        lt_cv_prog_compiler_rtti_exceptions=yes
8449      fi
8450    fi
8451    $RM conftest*
8452
8453 fi
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8455 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8456
8457 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8458     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8459 else
8460     :
8461 fi
8462
8463 fi
8464
8465
8466
8467
8468
8469
8470   lt_prog_compiler_wl=
8471 lt_prog_compiler_pic=
8472 lt_prog_compiler_static=
8473
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8475 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8476
8477   if test "$GCC" = yes; then
8478     lt_prog_compiler_wl='-Wl,'
8479     lt_prog_compiler_static='-static'
8480
8481     case $host_os in
8482       aix*)
8483       # All AIX code is PIC.
8484       if test "$host_cpu" = ia64; then
8485         # AIX 5 now supports IA64 processor
8486         lt_prog_compiler_static='-Bstatic'
8487       fi
8488       ;;
8489
8490     amigaos*)
8491       case $host_cpu in
8492       powerpc)
8493             # see comment about AmigaOS4 .so support
8494             lt_prog_compiler_pic='-fPIC'
8495         ;;
8496       m68k)
8497             # FIXME: we need at least 68020 code to build shared libraries, but
8498             # adding the `-m68020' flag to GCC prevents building anything better,
8499             # like `-m68040'.
8500             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8501         ;;
8502       esac
8503       ;;
8504
8505     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8506       # PIC is the default for these OSes.
8507       ;;
8508
8509     mingw* | cygwin* | pw32* | os2* | cegcc*)
8510       # This hack is so that the source file can tell whether it is being
8511       # built for inclusion in a dll (and should export symbols for example).
8512       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8513       # (--disable-auto-import) libraries
8514       lt_prog_compiler_pic='-DDLL_EXPORT'
8515       ;;
8516
8517     darwin* | rhapsody*)
8518       # PIC is the default on this platform
8519       # Common symbols not allowed in MH_DYLIB files
8520       lt_prog_compiler_pic='-fno-common'
8521       ;;
8522
8523     haiku*)
8524       # PIC is the default for Haiku.
8525       # The "-static" flag exists, but is broken.
8526       lt_prog_compiler_static=
8527       ;;
8528
8529     hpux*)
8530       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8531       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8532       # sets the default TLS model and affects inlining.
8533       case $host_cpu in
8534       hppa*64*)
8535         # +Z the default
8536         ;;
8537       *)
8538         lt_prog_compiler_pic='-fPIC'
8539         ;;
8540       esac
8541       ;;
8542
8543     interix[3-9]*)
8544       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8545       # Instead, we relocate shared libraries at runtime.
8546       ;;
8547
8548     msdosdjgpp*)
8549       # Just because we use GCC doesn't mean we suddenly get shared libraries
8550       # on systems that don't support them.
8551       lt_prog_compiler_can_build_shared=no
8552       enable_shared=no
8553       ;;
8554
8555     *nto* | *qnx*)
8556       # QNX uses GNU C++, but need to define -shared option too, otherwise
8557       # it will coredump.
8558       lt_prog_compiler_pic='-fPIC -shared'
8559       ;;
8560
8561     sysv4*MP*)
8562       if test -d /usr/nec; then
8563         lt_prog_compiler_pic=-Kconform_pic
8564       fi
8565       ;;
8566
8567     *)
8568       lt_prog_compiler_pic='-fPIC'
8569       ;;
8570     esac
8571
8572     case $cc_basename in
8573     nvcc*) # Cuda Compiler Driver 2.2
8574       lt_prog_compiler_wl='-Xlinker '
8575       lt_prog_compiler_pic='-Xcompiler -fPIC'
8576       ;;
8577     esac
8578   else
8579     # PORTME Check for flag to pass linker flags through the system compiler.
8580     case $host_os in
8581     aix*)
8582       lt_prog_compiler_wl='-Wl,'
8583       if test "$host_cpu" = ia64; then
8584         # AIX 5 now supports IA64 processor
8585         lt_prog_compiler_static='-Bstatic'
8586       else
8587         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8588       fi
8589       ;;
8590
8591     mingw* | cygwin* | pw32* | os2* | cegcc*)
8592       # This hack is so that the source file can tell whether it is being
8593       # built for inclusion in a dll (and should export symbols for example).
8594       lt_prog_compiler_pic='-DDLL_EXPORT'
8595       ;;
8596
8597     hpux9* | hpux10* | hpux11*)
8598       lt_prog_compiler_wl='-Wl,'
8599       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8600       # not for PA HP-UX.
8601       case $host_cpu in
8602       hppa*64*|ia64*)
8603         # +Z the default
8604         ;;
8605       *)
8606         lt_prog_compiler_pic='+Z'
8607         ;;
8608       esac
8609       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8610       lt_prog_compiler_static='${wl}-a ${wl}archive'
8611       ;;
8612
8613     irix5* | irix6* | nonstopux*)
8614       lt_prog_compiler_wl='-Wl,'
8615       # PIC (with -KPIC) is the default.
8616       lt_prog_compiler_static='-non_shared'
8617       ;;
8618
8619     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8620       case $cc_basename in
8621       # old Intel for x86_64 which still supported -KPIC.
8622       ecc*)
8623         lt_prog_compiler_wl='-Wl,'
8624         lt_prog_compiler_pic='-KPIC'
8625         lt_prog_compiler_static='-static'
8626         ;;
8627       # icc used to be incompatible with GCC.
8628       # ICC 10 doesn't accept -KPIC any more.
8629       icc* | ifort*)
8630         lt_prog_compiler_wl='-Wl,'
8631         lt_prog_compiler_pic='-fPIC'
8632         lt_prog_compiler_static='-static'
8633         ;;
8634       # Lahey Fortran 8.1.
8635       lf95*)
8636         lt_prog_compiler_wl='-Wl,'
8637         lt_prog_compiler_pic='--shared'
8638         lt_prog_compiler_static='--static'
8639         ;;
8640       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8641         # Portland Group compilers (*not* the Pentium gcc compiler,
8642         # which looks to be a dead project)
8643         lt_prog_compiler_wl='-Wl,'
8644         lt_prog_compiler_pic='-fpic'
8645         lt_prog_compiler_static='-Bstatic'
8646         ;;
8647       ccc*)
8648         lt_prog_compiler_wl='-Wl,'
8649         # All Alpha code is PIC.
8650         lt_prog_compiler_static='-non_shared'
8651         ;;
8652       xl* | bgxl* | bgf* | mpixl*)
8653         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8654         lt_prog_compiler_wl='-Wl,'
8655         lt_prog_compiler_pic='-qpic'
8656         lt_prog_compiler_static='-qstaticlink'
8657         ;;
8658       *)
8659         case `$CC -V 2>&1 | sed 5q` in
8660         *Sun\ F* | *Sun*Fortran*)
8661           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8662           lt_prog_compiler_pic='-KPIC'
8663           lt_prog_compiler_static='-Bstatic'
8664           lt_prog_compiler_wl=''
8665           ;;
8666         *Sun\ C*)
8667           # Sun C 5.9
8668           lt_prog_compiler_pic='-KPIC'
8669           lt_prog_compiler_static='-Bstatic'
8670           lt_prog_compiler_wl='-Wl,'
8671           ;;
8672         esac
8673         ;;
8674       esac
8675       ;;
8676
8677     newsos6)
8678       lt_prog_compiler_pic='-KPIC'
8679       lt_prog_compiler_static='-Bstatic'
8680       ;;
8681
8682     *nto* | *qnx*)
8683       # QNX uses GNU C++, but need to define -shared option too, otherwise
8684       # it will coredump.
8685       lt_prog_compiler_pic='-fPIC -shared'
8686       ;;
8687
8688     osf3* | osf4* | osf5*)
8689       lt_prog_compiler_wl='-Wl,'
8690       # All OSF/1 code is PIC.
8691       lt_prog_compiler_static='-non_shared'
8692       ;;
8693
8694     rdos*)
8695       lt_prog_compiler_static='-non_shared'
8696       ;;
8697
8698     solaris*)
8699       lt_prog_compiler_pic='-KPIC'
8700       lt_prog_compiler_static='-Bstatic'
8701       case $cc_basename in
8702       f77* | f90* | f95*)
8703         lt_prog_compiler_wl='-Qoption ld ';;
8704       *)
8705         lt_prog_compiler_wl='-Wl,';;
8706       esac
8707       ;;
8708
8709     sunos4*)
8710       lt_prog_compiler_wl='-Qoption ld '
8711       lt_prog_compiler_pic='-PIC'
8712       lt_prog_compiler_static='-Bstatic'
8713       ;;
8714
8715     sysv4 | sysv4.2uw2* | sysv4.3*)
8716       lt_prog_compiler_wl='-Wl,'
8717       lt_prog_compiler_pic='-KPIC'
8718       lt_prog_compiler_static='-Bstatic'
8719       ;;
8720
8721     sysv4*MP*)
8722       if test -d /usr/nec ;then
8723         lt_prog_compiler_pic='-Kconform_pic'
8724         lt_prog_compiler_static='-Bstatic'
8725       fi
8726       ;;
8727
8728     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8729       lt_prog_compiler_wl='-Wl,'
8730       lt_prog_compiler_pic='-KPIC'
8731       lt_prog_compiler_static='-Bstatic'
8732       ;;
8733
8734     unicos*)
8735       lt_prog_compiler_wl='-Wl,'
8736       lt_prog_compiler_can_build_shared=no
8737       ;;
8738
8739     uts4*)
8740       lt_prog_compiler_pic='-pic'
8741       lt_prog_compiler_static='-Bstatic'
8742       ;;
8743
8744     *)
8745       lt_prog_compiler_can_build_shared=no
8746       ;;
8747     esac
8748   fi
8749
8750 case $host_os in
8751   # For platforms which do not support PIC, -DPIC is meaningless:
8752   *djgpp*)
8753     lt_prog_compiler_pic=
8754     ;;
8755   *)
8756     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8757     ;;
8758 esac
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8760 $as_echo "$lt_prog_compiler_pic" >&6; }
8761
8762
8763
8764
8765
8766
8767 #
8768 # Check to make sure the PIC flag actually works.
8769 #
8770 if test -n "$lt_prog_compiler_pic"; then
8771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8772 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8773 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8774   $as_echo_n "(cached) " >&6
8775 else
8776   lt_cv_prog_compiler_pic_works=no
8777    ac_outfile=conftest.$ac_objext
8778    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8779    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8780    # Insert the option either (1) after the last *FLAGS variable, or
8781    # (2) before a word containing "conftest.", or (3) at the end.
8782    # Note that $ac_compile itself does not contain backslashes and begins
8783    # with a dollar sign (not a hyphen), so the echo should work correctly.
8784    # The option is referenced via a variable to avoid confusing sed.
8785    lt_compile=`echo "$ac_compile" | $SED \
8786    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788    -e 's:$: $lt_compiler_flag:'`
8789    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790    (eval "$lt_compile" 2>conftest.err)
8791    ac_status=$?
8792    cat conftest.err >&5
8793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794    if (exit $ac_status) && test -s "$ac_outfile"; then
8795      # The compiler can only warn and ignore the option if not recognized
8796      # So say no if there are warnings other than the usual output.
8797      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8798      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8799      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8800        lt_cv_prog_compiler_pic_works=yes
8801      fi
8802    fi
8803    $RM conftest*
8804
8805 fi
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8807 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8808
8809 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8810     case $lt_prog_compiler_pic in
8811      "" | " "*) ;;
8812      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8813      esac
8814 else
8815     lt_prog_compiler_pic=
8816      lt_prog_compiler_can_build_shared=no
8817 fi
8818
8819 fi
8820
8821
8822
8823
8824
8825
8826 #
8827 # Check to make sure the static flag actually works.
8828 #
8829 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8831 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8832 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8833   $as_echo_n "(cached) " >&6
8834 else
8835   lt_cv_prog_compiler_static_works=no
8836    save_LDFLAGS="$LDFLAGS"
8837    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8838    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8839    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8840      # The linker can only warn and ignore the option if not recognized
8841      # So say no if there are warnings
8842      if test -s conftest.err; then
8843        # Append any errors to the config.log.
8844        cat conftest.err 1>&5
8845        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8846        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8847        if diff conftest.exp conftest.er2 >/dev/null; then
8848          lt_cv_prog_compiler_static_works=yes
8849        fi
8850      else
8851        lt_cv_prog_compiler_static_works=yes
8852      fi
8853    fi
8854    $RM -r conftest*
8855    LDFLAGS="$save_LDFLAGS"
8856
8857 fi
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8859 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8860
8861 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8862     :
8863 else
8864     lt_prog_compiler_static=
8865 fi
8866
8867
8868
8869
8870
8871
8872
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8875 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8876   $as_echo_n "(cached) " >&6
8877 else
8878   lt_cv_prog_compiler_c_o=no
8879    $RM -r conftest 2>/dev/null
8880    mkdir conftest
8881    cd conftest
8882    mkdir out
8883    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8884
8885    lt_compiler_flag="-o out/conftest2.$ac_objext"
8886    # Insert the option either (1) after the last *FLAGS variable, or
8887    # (2) before a word containing "conftest.", or (3) at the end.
8888    # Note that $ac_compile itself does not contain backslashes and begins
8889    # with a dollar sign (not a hyphen), so the echo should work correctly.
8890    lt_compile=`echo "$ac_compile" | $SED \
8891    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8892    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8893    -e 's:$: $lt_compiler_flag:'`
8894    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8895    (eval "$lt_compile" 2>out/conftest.err)
8896    ac_status=$?
8897    cat out/conftest.err >&5
8898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8900    then
8901      # The compiler can only warn and ignore the option if not recognized
8902      # So say no if there are warnings
8903      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8904      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8905      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8906        lt_cv_prog_compiler_c_o=yes
8907      fi
8908    fi
8909    chmod u+w . 2>&5
8910    $RM conftest*
8911    # SGI C++ compiler will create directory out/ii_files/ for
8912    # template instantiation
8913    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8914    $RM out/* && rmdir out
8915    cd ..
8916    $RM -r conftest
8917    $RM conftest*
8918
8919 fi
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8921 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8922
8923
8924
8925
8926
8927
8928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931   $as_echo_n "(cached) " >&6
8932 else
8933   lt_cv_prog_compiler_c_o=no
8934    $RM -r conftest 2>/dev/null
8935    mkdir conftest
8936    cd conftest
8937    mkdir out
8938    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940    lt_compiler_flag="-o out/conftest2.$ac_objext"
8941    # Insert the option either (1) after the last *FLAGS variable, or
8942    # (2) before a word containing "conftest.", or (3) at the end.
8943    # Note that $ac_compile itself does not contain backslashes and begins
8944    # with a dollar sign (not a hyphen), so the echo should work correctly.
8945    lt_compile=`echo "$ac_compile" | $SED \
8946    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948    -e 's:$: $lt_compiler_flag:'`
8949    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950    (eval "$lt_compile" 2>out/conftest.err)
8951    ac_status=$?
8952    cat out/conftest.err >&5
8953    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955    then
8956      # The compiler can only warn and ignore the option if not recognized
8957      # So say no if there are warnings
8958      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961        lt_cv_prog_compiler_c_o=yes
8962      fi
8963    fi
8964    chmod u+w . 2>&5
8965    $RM conftest*
8966    # SGI C++ compiler will create directory out/ii_files/ for
8967    # template instantiation
8968    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969    $RM out/* && rmdir out
8970    cd ..
8971    $RM -r conftest
8972    $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981 hard_links="nottested"
8982 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8983   # do not overwrite the value of need_locks provided by the user
8984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8985 $as_echo_n "checking if we can lock with hard links... " >&6; }
8986   hard_links=yes
8987   $RM conftest*
8988   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8989   touch conftest.a
8990   ln conftest.a conftest.b 2>&5 || hard_links=no
8991   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8993 $as_echo "$hard_links" >&6; }
8994   if test "$hard_links" = no; then
8995     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8996 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8997     need_locks=warn
8998   fi
8999 else
9000   need_locks=no
9001 fi
9002
9003
9004
9005
9006
9007
9008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9009 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9010
9011   runpath_var=
9012   allow_undefined_flag=
9013   always_export_symbols=no
9014   archive_cmds=
9015   archive_expsym_cmds=
9016   compiler_needs_object=no
9017   enable_shared_with_static_runtimes=no
9018   export_dynamic_flag_spec=
9019   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9020   hardcode_automatic=no
9021   hardcode_direct=no
9022   hardcode_direct_absolute=no
9023   hardcode_libdir_flag_spec=
9024   hardcode_libdir_flag_spec_ld=
9025   hardcode_libdir_separator=
9026   hardcode_minus_L=no
9027   hardcode_shlibpath_var=unsupported
9028   inherit_rpath=no
9029   link_all_deplibs=unknown
9030   module_cmds=
9031   module_expsym_cmds=
9032   old_archive_from_new_cmds=
9033   old_archive_from_expsyms_cmds=
9034   thread_safe_flag_spec=
9035   whole_archive_flag_spec=
9036   # include_expsyms should be a list of space-separated symbols to be *always*
9037   # included in the symbol list
9038   include_expsyms=
9039   # exclude_expsyms can be an extended regexp of symbols to exclude
9040   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9041   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9042   # as well as any symbol that contains `d'.
9043   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9044   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9045   # platforms (ab)use it in PIC code, but their linkers get confused if
9046   # the symbol is explicitly referenced.  Since portable code cannot
9047   # rely on this symbol name, it's probably fine to never include it in
9048   # preloaded symbol tables.
9049   # Exclude shared library initialization/finalization symbols.
9050   extract_expsyms_cmds=
9051
9052   case $host_os in
9053   cygwin* | mingw* | pw32* | cegcc*)
9054     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9055     # When not using gcc, we currently assume that we are using
9056     # Microsoft Visual C++.
9057     if test "$GCC" != yes; then
9058       with_gnu_ld=no
9059     fi
9060     ;;
9061   interix*)
9062     # we just hope/assume this is gcc and not c89 (= MSVC++)
9063     with_gnu_ld=yes
9064     ;;
9065   openbsd*)
9066     with_gnu_ld=no
9067     ;;
9068   esac
9069
9070   ld_shlibs=yes
9071
9072   # On some targets, GNU ld is compatible enough with the native linker
9073   # that we're better off using the native interface for both.
9074   lt_use_gnu_ld_interface=no
9075   if test "$with_gnu_ld" = yes; then
9076     case $host_os in
9077       aix*)
9078         # The AIX port of GNU ld has always aspired to compatibility
9079         # with the native linker.  However, as the warning in the GNU ld
9080         # block says, versions before 2.19.5* couldn't really create working
9081         # shared libraries, regardless of the interface used.
9082         case `$LD -v 2>&1` in
9083           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9084           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9085           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9086           *)
9087             lt_use_gnu_ld_interface=yes
9088             ;;
9089         esac
9090         ;;
9091       *)
9092         lt_use_gnu_ld_interface=yes
9093         ;;
9094     esac
9095   fi
9096
9097   if test "$lt_use_gnu_ld_interface" = yes; then
9098     # If archive_cmds runs LD, not CC, wlarc should be empty
9099     wlarc='${wl}'
9100
9101     # Set some defaults for GNU ld with shared library support. These
9102     # are reset later if shared libraries are not supported. Putting them
9103     # here allows them to be overridden if necessary.
9104     runpath_var=LD_RUN_PATH
9105     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9106     export_dynamic_flag_spec='${wl}--export-dynamic'
9107     # ancient GNU ld didn't support --whole-archive et. al.
9108     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9109       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9110     else
9111       whole_archive_flag_spec=
9112     fi
9113     supports_anon_versioning=no
9114     case `$LD -v 2>&1` in
9115       *GNU\ gold*) supports_anon_versioning=yes ;;
9116       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9117       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9118       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9119       *\ 2.11.*) ;; # other 2.11 versions
9120       *) supports_anon_versioning=yes ;;
9121     esac
9122
9123     # See if GNU ld supports shared libraries.
9124     case $host_os in
9125     aix[3-9]*)
9126       # On AIX/PPC, the GNU linker is very broken
9127       if test "$host_cpu" != ia64; then
9128         ld_shlibs=no
9129         cat <<_LT_EOF 1>&2
9130
9131 *** Warning: the GNU linker, at least up to release 2.19, is reported
9132 *** to be unable to reliably create shared libraries on AIX.
9133 *** Therefore, libtool is disabling shared libraries support.  If you
9134 *** really care for shared libraries, you may want to install binutils
9135 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9136 *** You will then need to restart the configuration process.
9137
9138 _LT_EOF
9139       fi
9140       ;;
9141
9142     amigaos*)
9143       case $host_cpu in
9144       powerpc)
9145             # see comment about AmigaOS4 .so support
9146             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9147             archive_expsym_cmds=''
9148         ;;
9149       m68k)
9150             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)'
9151             hardcode_libdir_flag_spec='-L$libdir'
9152             hardcode_minus_L=yes
9153         ;;
9154       esac
9155       ;;
9156
9157     beos*)
9158       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9159         allow_undefined_flag=unsupported
9160         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9161         # support --undefined.  This deserves some investigation.  FIXME
9162         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163       else
9164         ld_shlibs=no
9165       fi
9166       ;;
9167
9168     cygwin* | mingw* | pw32* | cegcc*)
9169       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9170       # as there is no search path for DLLs.
9171       hardcode_libdir_flag_spec='-L$libdir'
9172       export_dynamic_flag_spec='${wl}--export-all-symbols'
9173       allow_undefined_flag=unsupported
9174       always_export_symbols=no
9175       enable_shared_with_static_runtimes=yes
9176       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9177
9178       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9179         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9180         # If the export-symbols file already is a .def file (1st line
9181         # is EXPORTS), use it as is; otherwise, prepend...
9182         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9183           cp $export_symbols $output_objdir/$soname.def;
9184         else
9185           echo EXPORTS > $output_objdir/$soname.def;
9186           cat $export_symbols >> $output_objdir/$soname.def;
9187         fi~
9188         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189       else
9190         ld_shlibs=no
9191       fi
9192       ;;
9193
9194     haiku*)
9195       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196       link_all_deplibs=yes
9197       ;;
9198
9199     interix[3-9]*)
9200       hardcode_direct=no
9201       hardcode_shlibpath_var=no
9202       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9203       export_dynamic_flag_spec='${wl}-E'
9204       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9205       # Instead, shared libraries are loaded at an image base (0x10000000 by
9206       # default) and relocated if they conflict, which is a slow very memory
9207       # consuming and fragmenting process.  To avoid this, we pick a random,
9208       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9209       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9210       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9211       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'
9212       ;;
9213
9214     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9215       tmp_diet=no
9216       if test "$host_os" = linux-dietlibc; then
9217         case $cc_basename in
9218           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9219         esac
9220       fi
9221       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9222          && test "$tmp_diet" = no
9223       then
9224         tmp_addflag=
9225         tmp_sharedflag='-shared'
9226         case $cc_basename,$host_cpu in
9227         pgcc*)                          # Portland Group C compiler
9228           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'
9229           tmp_addflag=' $pic_flag'
9230           ;;
9231         pgf77* | pgf90* | pgf95* | pgfortran*)
9232                                         # Portland Group f77 and f90 compilers
9233           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'
9234           tmp_addflag=' $pic_flag -Mnomain' ;;
9235         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9236           tmp_addflag=' -i_dynamic' ;;
9237         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9238           tmp_addflag=' -i_dynamic -nofor_main' ;;
9239         ifc* | ifort*)                  # Intel Fortran compiler
9240           tmp_addflag=' -nofor_main' ;;
9241         lf95*)                          # Lahey Fortran 8.1
9242           whole_archive_flag_spec=
9243           tmp_sharedflag='--shared' ;;
9244         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9245           tmp_sharedflag='-qmkshrobj'
9246           tmp_addflag= ;;
9247         nvcc*)  # Cuda Compiler Driver 2.2
9248           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'
9249           compiler_needs_object=yes
9250           ;;
9251         esac
9252         case `$CC -V 2>&1 | sed 5q` in
9253         *Sun\ C*)                       # Sun C 5.9
9254           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'
9255           compiler_needs_object=yes
9256           tmp_sharedflag='-G' ;;
9257         *Sun\ F*)                       # Sun Fortran 8.3
9258           tmp_sharedflag='-G' ;;
9259         esac
9260         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261
9262         if test "x$supports_anon_versioning" = xyes; then
9263           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9264             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9265             echo "local: *; };" >> $output_objdir/$libname.ver~
9266             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9267         fi
9268
9269         case $cc_basename in
9270         xlf* | bgf* | bgxlf* | mpixlf*)
9271           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9272           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9273           hardcode_libdir_flag_spec=
9274           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9275           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9276           if test "x$supports_anon_versioning" = xyes; then
9277             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9278               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9279               echo "local: *; };" >> $output_objdir/$libname.ver~
9280               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9281           fi
9282           ;;
9283         esac
9284       else
9285         ld_shlibs=no
9286       fi
9287       ;;
9288
9289     netbsd*)
9290       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9291         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9292         wlarc=
9293       else
9294         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9296       fi
9297       ;;
9298
9299     solaris*)
9300       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9301         ld_shlibs=no
9302         cat <<_LT_EOF 1>&2
9303
9304 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9305 *** create shared libraries on Solaris systems.  Therefore, libtool
9306 *** is disabling shared libraries support.  We urge you to upgrade GNU
9307 *** binutils to release 2.9.1 or newer.  Another option is to modify
9308 *** your PATH or compiler configuration so that the native linker is
9309 *** used, and then restart.
9310
9311 _LT_EOF
9312       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9313         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9315       else
9316         ld_shlibs=no
9317       fi
9318       ;;
9319
9320     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9321       case `$LD -v 2>&1` in
9322         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9323         ld_shlibs=no
9324         cat <<_LT_EOF 1>&2
9325
9326 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9327 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9328 *** is disabling shared libraries support.  We urge you to upgrade GNU
9329 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9330 *** your PATH or compiler configuration so that the native linker is
9331 *** used, and then restart.
9332
9333 _LT_EOF
9334         ;;
9335         *)
9336           # For security reasons, it is highly recommended that you always
9337           # use absolute paths for naming shared libraries, and exclude the
9338           # DT_RUNPATH tag from executables and libraries.  But doing so
9339           # requires that you compile everything twice, which is a pain.
9340           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9342             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344           else
9345             ld_shlibs=no
9346           fi
9347         ;;
9348       esac
9349       ;;
9350
9351     sunos4*)
9352       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9353       wlarc=
9354       hardcode_direct=yes
9355       hardcode_shlibpath_var=no
9356       ;;
9357
9358     *)
9359       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362       else
9363         ld_shlibs=no
9364       fi
9365       ;;
9366     esac
9367
9368     if test "$ld_shlibs" = no; then
9369       runpath_var=
9370       hardcode_libdir_flag_spec=
9371       export_dynamic_flag_spec=
9372       whole_archive_flag_spec=
9373     fi
9374   else
9375     # PORTME fill in a description of your system's linker (not GNU ld)
9376     case $host_os in
9377     aix3*)
9378       allow_undefined_flag=unsupported
9379       always_export_symbols=yes
9380       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'
9381       # Note: this linker hardcodes the directories in LIBPATH if there
9382       # are no directories specified by -L.
9383       hardcode_minus_L=yes
9384       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9385         # Neither direct hardcoding nor static linking is supported with a
9386         # broken collect2.
9387         hardcode_direct=unsupported
9388       fi
9389       ;;
9390
9391     aix[4-9]*)
9392       if test "$host_cpu" = ia64; then
9393         # On IA64, the linker does run time linking by default, so we don't
9394         # have to do anything special.
9395         aix_use_runtimelinking=no
9396         exp_sym_flag='-Bexport'
9397         no_entry_flag=""
9398       else
9399         # If we're using GNU nm, then we don't want the "-C" option.
9400         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9401         # Also, AIX nm treats weak defined symbols like other global
9402         # defined symbols, whereas GNU nm marks them as "W".
9403         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9404           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'
9405         else
9406           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'
9407         fi
9408         aix_use_runtimelinking=no
9409
9410         # Test if we are trying to use run time linking or normal
9411         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9412         # need to do runtime linking.
9413         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9414           for ld_flag in $LDFLAGS; do
9415           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9416             aix_use_runtimelinking=yes
9417             break
9418           fi
9419           done
9420           ;;
9421         esac
9422
9423         exp_sym_flag='-bexport'
9424         no_entry_flag='-bnoentry'
9425       fi
9426
9427       # When large executables or shared objects are built, AIX ld can
9428       # have problems creating the table of contents.  If linking a library
9429       # or program results in "error TOC overflow" add -mminimal-toc to
9430       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9431       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9432
9433       archive_cmds=''
9434       hardcode_direct=yes
9435       hardcode_direct_absolute=yes
9436       hardcode_libdir_separator=':'
9437       link_all_deplibs=yes
9438       file_list_spec='${wl}-f,'
9439
9440       if test "$GCC" = yes; then
9441         case $host_os in aix4.[012]|aix4.[012].*)
9442         # We only want to do this on AIX 4.2 and lower, the check
9443         # below for broken collect2 doesn't work under 4.3+
9444           collect2name=`${CC} -print-prog-name=collect2`
9445           if test -f "$collect2name" &&
9446            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9447           then
9448           # We have reworked collect2
9449           :
9450           else
9451           # We have old collect2
9452           hardcode_direct=unsupported
9453           # It fails to find uninstalled libraries when the uninstalled
9454           # path is not listed in the libpath.  Setting hardcode_minus_L
9455           # to unsupported forces relinking
9456           hardcode_minus_L=yes
9457           hardcode_libdir_flag_spec='-L$libdir'
9458           hardcode_libdir_separator=
9459           fi
9460           ;;
9461         esac
9462         shared_flag='-shared'
9463         if test "$aix_use_runtimelinking" = yes; then
9464           shared_flag="$shared_flag "'${wl}-G'
9465         fi
9466       else
9467         # not using gcc
9468         if test "$host_cpu" = ia64; then
9469         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9470         # chokes on -Wl,-G. The following line is correct:
9471           shared_flag='-G'
9472         else
9473           if test "$aix_use_runtimelinking" = yes; then
9474             shared_flag='${wl}-G'
9475           else
9476             shared_flag='${wl}-bM:SRE'
9477           fi
9478         fi
9479       fi
9480
9481       export_dynamic_flag_spec='${wl}-bexpall'
9482       # It seems that -bexpall does not export symbols beginning with
9483       # underscore (_), so it is better to generate a list of symbols to export.
9484       always_export_symbols=yes
9485       if test "$aix_use_runtimelinking" = yes; then
9486         # Warning - without using the other runtime loading flags (-brtl),
9487         # -berok will link without error, but may produce a broken library.
9488         allow_undefined_flag='-berok'
9489         # Determine the default libpath from the value encoded in an
9490         # empty executable.
9491         if test x$gcc_no_link = xyes; then
9492   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9493 fi
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h.  */
9496
9497 int
9498 main ()
9499 {
9500
9501   ;
9502   return 0;
9503 }
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506
9507 lt_aix_libpath_sed='
9508     /Import File Strings/,/^$/ {
9509         /^0/ {
9510             s/^0  *\(.*\)$/\1/
9511             p
9512         }
9513     }'
9514 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515 # Check for a 64-bit object if we didn't find anything.
9516 if test -z "$aix_libpath"; then
9517   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9518 fi
9519 fi
9520 rm -f core conftest.err conftest.$ac_objext \
9521     conftest$ac_exeext conftest.$ac_ext
9522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9523
9524         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9525         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"
9526       else
9527         if test "$host_cpu" = ia64; then
9528           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9529           allow_undefined_flag="-z nodefs"
9530           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"
9531         else
9532          # Determine the default libpath from the value encoded in an
9533          # empty executable.
9534          if test x$gcc_no_link = xyes; then
9535   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9536 fi
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h.  */
9539
9540 int
9541 main ()
9542 {
9543
9544   ;
9545   return 0;
9546 }
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549
9550 lt_aix_libpath_sed='
9551     /Import File Strings/,/^$/ {
9552         /^0/ {
9553             s/^0  *\(.*\)$/\1/
9554             p
9555         }
9556     }'
9557 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9558 # Check for a 64-bit object if we didn't find anything.
9559 if test -z "$aix_libpath"; then
9560   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 fi
9562 fi
9563 rm -f core conftest.err conftest.$ac_objext \
9564     conftest$ac_exeext conftest.$ac_ext
9565 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9566
9567          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9568           # Warning - without using the other run time loading flags,
9569           # -berok will link without error, but may produce a broken library.
9570           no_undefined_flag=' ${wl}-bernotok'
9571           allow_undefined_flag=' ${wl}-berok'
9572           if test "$with_gnu_ld" = yes; then
9573             # We only use this code for GNU lds that support --whole-archive.
9574             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9575           else
9576             # Exported symbols can be pulled into shared objects from archives
9577             whole_archive_flag_spec='$convenience'
9578           fi
9579           archive_cmds_need_lc=yes
9580           # This is similar to how AIX traditionally builds its shared libraries.
9581           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'
9582         fi
9583       fi
9584       ;;
9585
9586     amigaos*)
9587       case $host_cpu in
9588       powerpc)
9589             # see comment about AmigaOS4 .so support
9590             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9591             archive_expsym_cmds=''
9592         ;;
9593       m68k)
9594             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)'
9595             hardcode_libdir_flag_spec='-L$libdir'
9596             hardcode_minus_L=yes
9597         ;;
9598       esac
9599       ;;
9600
9601     bsdi[45]*)
9602       export_dynamic_flag_spec=-rdynamic
9603       ;;
9604
9605     cygwin* | mingw* | pw32* | cegcc*)
9606       # When not using gcc, we currently assume that we are using
9607       # Microsoft Visual C++.
9608       # hardcode_libdir_flag_spec is actually meaningless, as there is
9609       # no search path for DLLs.
9610       hardcode_libdir_flag_spec=' '
9611       allow_undefined_flag=unsupported
9612       # Tell ltmain to make .lib files, not .a files.
9613       libext=lib
9614       # Tell ltmain to make .dll files, not .so files.
9615       shrext_cmds=".dll"
9616       # FIXME: Setting linknames here is a bad hack.
9617       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9618       # The linker will automatically build a .lib file if we build a DLL.
9619       old_archive_from_new_cmds='true'
9620       # FIXME: Should let the user specify the lib program.
9621       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9622       fix_srcfile_path='`cygpath -w "$srcfile"`'
9623       enable_shared_with_static_runtimes=yes
9624       ;;
9625
9626     darwin* | rhapsody*)
9627
9628
9629   archive_cmds_need_lc=no
9630   hardcode_direct=no
9631   hardcode_automatic=yes
9632   hardcode_shlibpath_var=unsupported
9633   if test "$lt_cv_ld_force_load" = "yes"; then
9634     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\"`'
9635   else
9636     whole_archive_flag_spec=''
9637   fi
9638   link_all_deplibs=yes
9639   allow_undefined_flag="$_lt_dar_allow_undefined"
9640   case $cc_basename in
9641      ifort*) _lt_dar_can_shared=yes ;;
9642      *) _lt_dar_can_shared=$GCC ;;
9643   esac
9644   if test "$_lt_dar_can_shared" = "yes"; then
9645     output_verbose_link_cmd=func_echo_all
9646     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9647     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9648     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}"
9649     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}"
9650
9651   else
9652   ld_shlibs=no
9653   fi
9654
9655       ;;
9656
9657     dgux*)
9658       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9659       hardcode_libdir_flag_spec='-L$libdir'
9660       hardcode_shlibpath_var=no
9661       ;;
9662
9663     freebsd1*)
9664       ld_shlibs=no
9665       ;;
9666
9667     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9668     # support.  Future versions do this automatically, but an explicit c++rt0.o
9669     # does not break anything, and helps significantly (at the cost of a little
9670     # extra space).
9671     freebsd2.2*)
9672       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9673       hardcode_libdir_flag_spec='-R$libdir'
9674       hardcode_direct=yes
9675       hardcode_shlibpath_var=no
9676       ;;
9677
9678     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9679     freebsd2*)
9680       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9681       hardcode_direct=yes
9682       hardcode_minus_L=yes
9683       hardcode_shlibpath_var=no
9684       ;;
9685
9686     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9687     freebsd* | dragonfly*)
9688       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9689       hardcode_libdir_flag_spec='-R$libdir'
9690       hardcode_direct=yes
9691       hardcode_shlibpath_var=no
9692       ;;
9693
9694     hpux9*)
9695       if test "$GCC" = yes; then
9696         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'
9697       else
9698         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'
9699       fi
9700       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9701       hardcode_libdir_separator=:
9702       hardcode_direct=yes
9703
9704       # hardcode_minus_L: Not really in the search PATH,
9705       # but as the default location of the library.
9706       hardcode_minus_L=yes
9707       export_dynamic_flag_spec='${wl}-E'
9708       ;;
9709
9710     hpux10*)
9711       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9712         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9713       else
9714         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9715       fi
9716       if test "$with_gnu_ld" = no; then
9717         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9718         hardcode_libdir_flag_spec_ld='+b $libdir'
9719         hardcode_libdir_separator=:
9720         hardcode_direct=yes
9721         hardcode_direct_absolute=yes
9722         export_dynamic_flag_spec='${wl}-E'
9723         # hardcode_minus_L: Not really in the search PATH,
9724         # but as the default location of the library.
9725         hardcode_minus_L=yes
9726       fi
9727       ;;
9728
9729     hpux11*)
9730       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9731         case $host_cpu in
9732         hppa*64*)
9733           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9734           ;;
9735         ia64*)
9736           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9737           ;;
9738         *)
9739           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9740           ;;
9741         esac
9742       else
9743         case $host_cpu in
9744         hppa*64*)
9745           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9746           ;;
9747         ia64*)
9748           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9749           ;;
9750         *)
9751
9752           # Older versions of the 11.00 compiler do not understand -b yet
9753           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9754           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9755 $as_echo_n "checking if $CC understands -b... " >&6; }
9756 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9757   $as_echo_n "(cached) " >&6
9758 else
9759   lt_cv_prog_compiler__b=no
9760    save_LDFLAGS="$LDFLAGS"
9761    LDFLAGS="$LDFLAGS -b"
9762    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9763    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9764      # The linker can only warn and ignore the option if not recognized
9765      # So say no if there are warnings
9766      if test -s conftest.err; then
9767        # Append any errors to the config.log.
9768        cat conftest.err 1>&5
9769        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9770        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9771        if diff conftest.exp conftest.er2 >/dev/null; then
9772          lt_cv_prog_compiler__b=yes
9773        fi
9774      else
9775        lt_cv_prog_compiler__b=yes
9776      fi
9777    fi
9778    $RM -r conftest*
9779    LDFLAGS="$save_LDFLAGS"
9780
9781 fi
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9783 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9784
9785 if test x"$lt_cv_prog_compiler__b" = xyes; then
9786     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9787 else
9788     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9789 fi
9790
9791           ;;
9792         esac
9793       fi
9794       if test "$with_gnu_ld" = no; then
9795         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9796         hardcode_libdir_separator=:
9797
9798         case $host_cpu in
9799         hppa*64*|ia64*)
9800           hardcode_direct=no
9801           hardcode_shlibpath_var=no
9802           ;;
9803         *)
9804           hardcode_direct=yes
9805           hardcode_direct_absolute=yes
9806           export_dynamic_flag_spec='${wl}-E'
9807
9808           # hardcode_minus_L: Not really in the search PATH,
9809           # but as the default location of the library.
9810           hardcode_minus_L=yes
9811           ;;
9812         esac
9813       fi
9814       ;;
9815
9816     irix5* | irix6* | nonstopux*)
9817       if test "$GCC" = yes; then
9818         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'
9819         # Try to use the -exported_symbol ld option, if it does not
9820         # work, assume that -exports_file does not work either and
9821         # implicitly export all symbols.
9822         save_LDFLAGS="$LDFLAGS"
9823         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9824         if test x$gcc_no_link = xyes; then
9825   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9826 fi
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h.  */
9829 int foo(void) {}
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832   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'
9833
9834 fi
9835 rm -f core conftest.err conftest.$ac_objext \
9836     conftest$ac_exeext conftest.$ac_ext
9837         LDFLAGS="$save_LDFLAGS"
9838       else
9839         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'
9840         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'
9841       fi
9842       archive_cmds_need_lc='no'
9843       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844       hardcode_libdir_separator=:
9845       inherit_rpath=yes
9846       link_all_deplibs=yes
9847       ;;
9848
9849     netbsd*)
9850       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9851         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9852       else
9853         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9854       fi
9855       hardcode_libdir_flag_spec='-R$libdir'
9856       hardcode_direct=yes
9857       hardcode_shlibpath_var=no
9858       ;;
9859
9860     newsos6)
9861       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862       hardcode_direct=yes
9863       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9864       hardcode_libdir_separator=:
9865       hardcode_shlibpath_var=no
9866       ;;
9867
9868     *nto* | *qnx*)
9869       ;;
9870
9871     openbsd*)
9872       if test -f /usr/libexec/ld.so; then
9873         hardcode_direct=yes
9874         hardcode_shlibpath_var=no
9875         hardcode_direct_absolute=yes
9876         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9877           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9878           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9879           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9880           export_dynamic_flag_spec='${wl}-E'
9881         else
9882           case $host_os in
9883            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9884              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9885              hardcode_libdir_flag_spec='-R$libdir'
9886              ;;
9887            *)
9888              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9890              ;;
9891           esac
9892         fi
9893       else
9894         ld_shlibs=no
9895       fi
9896       ;;
9897
9898     os2*)
9899       hardcode_libdir_flag_spec='-L$libdir'
9900       hardcode_minus_L=yes
9901       allow_undefined_flag=unsupported
9902       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'
9903       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9904       ;;
9905
9906     osf3*)
9907       if test "$GCC" = yes; then
9908         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9909         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'
9910       else
9911         allow_undefined_flag=' -expect_unresolved \*'
9912         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'
9913       fi
9914       archive_cmds_need_lc='no'
9915       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9916       hardcode_libdir_separator=:
9917       ;;
9918
9919     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9920       if test "$GCC" = yes; then
9921         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9922         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'
9923         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9924       else
9925         allow_undefined_flag=' -expect_unresolved \*'
9926         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'
9927         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~
9928         $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'
9929
9930         # Both c and cxx compiler support -rpath directly
9931         hardcode_libdir_flag_spec='-rpath $libdir'
9932       fi
9933       archive_cmds_need_lc='no'
9934       hardcode_libdir_separator=:
9935       ;;
9936
9937     solaris*)
9938       no_undefined_flag=' -z defs'
9939       if test "$GCC" = yes; then
9940         wlarc='${wl}'
9941         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9942         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9943           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9944       else
9945         case `$CC -V 2>&1` in
9946         *"Compilers 5.0"*)
9947           wlarc=''
9948           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9949           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9950           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9951           ;;
9952         *)
9953           wlarc='${wl}'
9954           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9955           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9956           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9957           ;;
9958         esac
9959       fi
9960       hardcode_libdir_flag_spec='-R$libdir'
9961       hardcode_shlibpath_var=no
9962       case $host_os in
9963       solaris2.[0-5] | solaris2.[0-5].*) ;;
9964       *)
9965         # The compiler driver will combine and reorder linker options,
9966         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9967         # but is careful enough not to reorder.
9968         # Supported since Solaris 2.6 (maybe 2.5.1?)
9969         if test "$GCC" = yes; then
9970           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9971         else
9972           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9973         fi
9974         ;;
9975       esac
9976       link_all_deplibs=yes
9977       ;;
9978
9979     sunos4*)
9980       if test "x$host_vendor" = xsequent; then
9981         # Use $CC to link under sequent, because it throws in some extra .o
9982         # files that make .init and .fini sections work.
9983         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9984       else
9985         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9986       fi
9987       hardcode_libdir_flag_spec='-L$libdir'
9988       hardcode_direct=yes
9989       hardcode_minus_L=yes
9990       hardcode_shlibpath_var=no
9991       ;;
9992
9993     sysv4)
9994       case $host_vendor in
9995         sni)
9996           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997           hardcode_direct=yes # is this really true???
9998         ;;
9999         siemens)
10000           ## LD is ld it makes a PLAMLIB
10001           ## CC just makes a GrossModule.
10002           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10003           reload_cmds='$CC -r -o $output$reload_objs'
10004           hardcode_direct=no
10005         ;;
10006         motorola)
10007           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10009         ;;
10010       esac
10011       runpath_var='LD_RUN_PATH'
10012       hardcode_shlibpath_var=no
10013       ;;
10014
10015     sysv4.3*)
10016       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017       hardcode_shlibpath_var=no
10018       export_dynamic_flag_spec='-Bexport'
10019       ;;
10020
10021     sysv4*MP*)
10022       if test -d /usr/nec; then
10023         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024         hardcode_shlibpath_var=no
10025         runpath_var=LD_RUN_PATH
10026         hardcode_runpath_var=yes
10027         ld_shlibs=yes
10028       fi
10029       ;;
10030
10031     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10032       no_undefined_flag='${wl}-z,text'
10033       archive_cmds_need_lc=no
10034       hardcode_shlibpath_var=no
10035       runpath_var='LD_RUN_PATH'
10036
10037       if test "$GCC" = yes; then
10038         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10039         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040       else
10041         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043       fi
10044       ;;
10045
10046     sysv5* | sco3.2v5* | sco5v6*)
10047       # Note: We can NOT use -z defs as we might desire, because we do not
10048       # link with -lc, and that would cause any symbols used from libc to
10049       # always be unresolved, which means just about no library would
10050       # ever link correctly.  If we're not using GNU ld we use -z text
10051       # though, which does catch some bad symbols but isn't as heavy-handed
10052       # as -z defs.
10053       no_undefined_flag='${wl}-z,text'
10054       allow_undefined_flag='${wl}-z,nodefs'
10055       archive_cmds_need_lc=no
10056       hardcode_shlibpath_var=no
10057       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10058       hardcode_libdir_separator=':'
10059       link_all_deplibs=yes
10060       export_dynamic_flag_spec='${wl}-Bexport'
10061       runpath_var='LD_RUN_PATH'
10062
10063       if test "$GCC" = yes; then
10064         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066       else
10067         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069       fi
10070       ;;
10071
10072     uts4*)
10073       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074       hardcode_libdir_flag_spec='-L$libdir'
10075       hardcode_shlibpath_var=no
10076       ;;
10077
10078     *)
10079       ld_shlibs=no
10080       ;;
10081     esac
10082
10083     if test x$host_vendor = xsni; then
10084       case $host in
10085       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10086         export_dynamic_flag_spec='${wl}-Blargedynsym'
10087         ;;
10088       esac
10089     fi
10090   fi
10091
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10093 $as_echo "$ld_shlibs" >&6; }
10094 test "$ld_shlibs" = no && can_build_shared=no
10095
10096 with_gnu_ld=$with_gnu_ld
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112 #
10113 # Do we need to explicitly link libc?
10114 #
10115 case "x$archive_cmds_need_lc" in
10116 x|xyes)
10117   # Assume -lc should be added
10118   archive_cmds_need_lc=yes
10119
10120   if test "$enable_shared" = yes && test "$GCC" = yes; then
10121     case $archive_cmds in
10122     *'~'*)
10123       # FIXME: we may have to deal with multi-command sequences.
10124       ;;
10125     '$CC '*)
10126       # Test whether the compiler implicitly links with -lc since on some
10127       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10128       # to ld, don't add -lc before -lgcc.
10129       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10130 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10131 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10132   $as_echo_n "(cached) " >&6
10133 else
10134   $RM conftest*
10135         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10136
10137         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10138   (eval $ac_compile) 2>&5
10139   ac_status=$?
10140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10141   test $ac_status = 0; } 2>conftest.err; then
10142           soname=conftest
10143           lib=conftest
10144           libobjs=conftest.$ac_objext
10145           deplibs=
10146           wl=$lt_prog_compiler_wl
10147           pic_flag=$lt_prog_compiler_pic
10148           compiler_flags=-v
10149           linker_flags=-v
10150           verstring=
10151           output_objdir=.
10152           libname=conftest
10153           lt_save_allow_undefined_flag=$allow_undefined_flag
10154           allow_undefined_flag=
10155           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10156   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10157   ac_status=$?
10158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10159   test $ac_status = 0; }
10160           then
10161             lt_cv_archive_cmds_need_lc=no
10162           else
10163             lt_cv_archive_cmds_need_lc=yes
10164           fi
10165           allow_undefined_flag=$lt_save_allow_undefined_flag
10166         else
10167           cat conftest.err 1>&5
10168         fi
10169         $RM conftest*
10170
10171 fi
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10173 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10174       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10175       ;;
10176     esac
10177   fi
10178   ;;
10179 esac
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10338 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10339
10340 if test "$GCC" = yes; then
10341   case $host_os in
10342     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10343     *) lt_awk_arg="/^libraries:/" ;;
10344   esac
10345   case $host_os in
10346     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10347     *) lt_sed_strip_eq="s,=/,/,g" ;;
10348   esac
10349   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10350   case $lt_search_path_spec in
10351   *\;*)
10352     # if the path contains ";" then we assume it to be the separator
10353     # otherwise default to the standard path separator (i.e. ":") - it is
10354     # assumed that no part of a normal pathname contains ";" but that should
10355     # okay in the real world where ";" in dirpaths is itself problematic.
10356     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10357     ;;
10358   *)
10359     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10360     ;;
10361   esac
10362   # Ok, now we have the path, separated by spaces, we can step through it
10363   # and add multilib dir if necessary.
10364   lt_tmp_lt_search_path_spec=
10365   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10366   for lt_sys_path in $lt_search_path_spec; do
10367     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10368       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10369     else
10370       test -d "$lt_sys_path" && \
10371         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10372     fi
10373   done
10374   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10375 BEGIN {RS=" "; FS="/|\n";} {
10376   lt_foo="";
10377   lt_count=0;
10378   for (lt_i = NF; lt_i > 0; lt_i--) {
10379     if ($lt_i != "" && $lt_i != ".") {
10380       if ($lt_i == "..") {
10381         lt_count++;
10382       } else {
10383         if (lt_count == 0) {
10384           lt_foo="/" $lt_i lt_foo;
10385         } else {
10386           lt_count--;
10387         }
10388       }
10389     }
10390   }
10391   if (lt_foo != "") { lt_freq[lt_foo]++; }
10392   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10393 }'`
10394   # AWK program above erroneously prepends '/' to C:/dos/paths
10395   # for these hosts.
10396   case $host_os in
10397     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10398       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10399   esac
10400   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10401 else
10402   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10403 fi
10404 library_names_spec=
10405 libname_spec='lib$name'
10406 soname_spec=
10407 shrext_cmds=".so"
10408 postinstall_cmds=
10409 postuninstall_cmds=
10410 finish_cmds=
10411 finish_eval=
10412 shlibpath_var=
10413 shlibpath_overrides_runpath=unknown
10414 version_type=none
10415 dynamic_linker="$host_os ld.so"
10416 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10417 need_lib_prefix=unknown
10418 hardcode_into_libs=no
10419
10420 # when you set need_version to no, make sure it does not cause -set_version
10421 # flags to be left without arguments
10422 need_version=unknown
10423
10424 case $host_os in
10425 aix3*)
10426   version_type=linux
10427   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10428   shlibpath_var=LIBPATH
10429
10430   # AIX 3 has no versioning support, so we append a major version to the name.
10431   soname_spec='${libname}${release}${shared_ext}$major'
10432   ;;
10433
10434 aix[4-9]*)
10435   version_type=linux
10436   need_lib_prefix=no
10437   need_version=no
10438   hardcode_into_libs=yes
10439   if test "$host_cpu" = ia64; then
10440     # AIX 5 supports IA64
10441     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10442     shlibpath_var=LD_LIBRARY_PATH
10443   else
10444     # With GCC up to 2.95.x, collect2 would create an import file
10445     # for dependence libraries.  The import file would start with
10446     # the line `#! .'.  This would cause the generated library to
10447     # depend on `.', always an invalid library.  This was fixed in
10448     # development snapshots of GCC prior to 3.0.
10449     case $host_os in
10450       aix4 | aix4.[01] | aix4.[01].*)
10451       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10452            echo ' yes '
10453            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10454         :
10455       else
10456         can_build_shared=no
10457       fi
10458       ;;
10459     esac
10460     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10461     # soname into executable. Probably we can add versioning support to
10462     # collect2, so additional links can be useful in future.
10463     if test "$aix_use_runtimelinking" = yes; then
10464       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10465       # instead of lib<name>.a to let people know that these are not
10466       # typical AIX shared libraries.
10467       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10468     else
10469       # We preserve .a as extension for shared libraries through AIX4.2
10470       # and later when we are not doing run time linking.
10471       library_names_spec='${libname}${release}.a $libname.a'
10472       soname_spec='${libname}${release}${shared_ext}$major'
10473     fi
10474     shlibpath_var=LIBPATH
10475   fi
10476   ;;
10477
10478 amigaos*)
10479   case $host_cpu in
10480   powerpc)
10481     # Since July 2007 AmigaOS4 officially supports .so libraries.
10482     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10484     ;;
10485   m68k)
10486     library_names_spec='$libname.ixlibrary $libname.a'
10487     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10488     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'
10489     ;;
10490   esac
10491   ;;
10492
10493 beos*)
10494   library_names_spec='${libname}${shared_ext}'
10495   dynamic_linker="$host_os ld.so"
10496   shlibpath_var=LIBRARY_PATH
10497   ;;
10498
10499 bsdi[45]*)
10500   version_type=linux
10501   need_version=no
10502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503   soname_spec='${libname}${release}${shared_ext}$major'
10504   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10505   shlibpath_var=LD_LIBRARY_PATH
10506   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10507   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10508   # the default ld.so.conf also contains /usr/contrib/lib and
10509   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10510   # libtool to hard-code these into programs
10511   ;;
10512
10513 cygwin* | mingw* | pw32* | cegcc*)
10514   version_type=windows
10515   shrext_cmds=".dll"
10516   need_version=no
10517   need_lib_prefix=no
10518
10519   case $GCC,$host_os in
10520   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10521     library_names_spec='$libname.dll.a'
10522     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10523     postinstall_cmds='base_file=`basename \${file}`~
10524       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10525       dldir=$destdir/`dirname \$dlpath`~
10526       test -d \$dldir || mkdir -p \$dldir~
10527       $install_prog $dir/$dlname \$dldir/$dlname~
10528       chmod a+x \$dldir/$dlname~
10529       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10530         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10531       fi'
10532     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10533       dlpath=$dir/\$dldll~
10534        $RM \$dlpath'
10535     shlibpath_overrides_runpath=yes
10536
10537     case $host_os in
10538     cygwin*)
10539       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10540       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10541
10542       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10543       ;;
10544     mingw* | cegcc*)
10545       # MinGW DLLs use traditional 'lib' prefix
10546       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10547       ;;
10548     pw32*)
10549       # pw32 DLLs use 'pw' prefix rather than 'lib'
10550       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551       ;;
10552     esac
10553     ;;
10554
10555   *)
10556     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10557     ;;
10558   esac
10559   dynamic_linker='Win32 ld.exe'
10560   # FIXME: first we should search . and the directory the executable is in
10561   shlibpath_var=PATH
10562   ;;
10563
10564 darwin* | rhapsody*)
10565   dynamic_linker="$host_os dyld"
10566   version_type=darwin
10567   need_lib_prefix=no
10568   need_version=no
10569   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10570   soname_spec='${libname}${release}${major}$shared_ext'
10571   shlibpath_overrides_runpath=yes
10572   shlibpath_var=DYLD_LIBRARY_PATH
10573   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10574
10575   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10576   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10577   ;;
10578
10579 dgux*)
10580   version_type=linux
10581   need_lib_prefix=no
10582   need_version=no
10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10584   soname_spec='${libname}${release}${shared_ext}$major'
10585   shlibpath_var=LD_LIBRARY_PATH
10586   ;;
10587
10588 freebsd1*)
10589   dynamic_linker=no
10590   ;;
10591
10592 freebsd* | dragonfly*)
10593   # DragonFly does not have aout.  When/if they implement a new
10594   # versioning mechanism, adjust this.
10595   if test -x /usr/bin/objformat; then
10596     objformat=`/usr/bin/objformat`
10597   else
10598     case $host_os in
10599     freebsd[123]*) objformat=aout ;;
10600     *) objformat=elf ;;
10601     esac
10602   fi
10603   version_type=freebsd-$objformat
10604   case $version_type in
10605     freebsd-elf*)
10606       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10607       need_version=no
10608       need_lib_prefix=no
10609       ;;
10610     freebsd-*)
10611       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10612       need_version=yes
10613       ;;
10614   esac
10615   shlibpath_var=LD_LIBRARY_PATH
10616   case $host_os in
10617   freebsd2*)
10618     shlibpath_overrides_runpath=yes
10619     ;;
10620   freebsd3.[01]* | freebsdelf3.[01]*)
10621     shlibpath_overrides_runpath=yes
10622     hardcode_into_libs=yes
10623     ;;
10624   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10625   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10626     shlibpath_overrides_runpath=no
10627     hardcode_into_libs=yes
10628     ;;
10629   *) # from 4.6 on, and DragonFly
10630     shlibpath_overrides_runpath=yes
10631     hardcode_into_libs=yes
10632     ;;
10633   esac
10634   ;;
10635
10636 gnu*)
10637   version_type=linux
10638   need_lib_prefix=no
10639   need_version=no
10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10641   soname_spec='${libname}${release}${shared_ext}$major'
10642   shlibpath_var=LD_LIBRARY_PATH
10643   hardcode_into_libs=yes
10644   ;;
10645
10646 haiku*)
10647   version_type=linux
10648   need_lib_prefix=no
10649   need_version=no
10650   dynamic_linker="$host_os runtime_loader"
10651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10652   soname_spec='${libname}${release}${shared_ext}$major'
10653   shlibpath_var=LIBRARY_PATH
10654   shlibpath_overrides_runpath=yes
10655   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10656   hardcode_into_libs=yes
10657   ;;
10658
10659 hpux9* | hpux10* | hpux11*)
10660   # Give a soname corresponding to the major version so that dld.sl refuses to
10661   # link against other versions.
10662   version_type=sunos
10663   need_lib_prefix=no
10664   need_version=no
10665   case $host_cpu in
10666   ia64*)
10667     shrext_cmds='.so'
10668     hardcode_into_libs=yes
10669     dynamic_linker="$host_os dld.so"
10670     shlibpath_var=LD_LIBRARY_PATH
10671     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673     soname_spec='${libname}${release}${shared_ext}$major'
10674     if test "X$HPUX_IA64_MODE" = X32; then
10675       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10676     else
10677       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10678     fi
10679     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10680     ;;
10681   hppa*64*)
10682     shrext_cmds='.sl'
10683     hardcode_into_libs=yes
10684     dynamic_linker="$host_os dld.sl"
10685     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10686     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10687     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688     soname_spec='${libname}${release}${shared_ext}$major'
10689     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10690     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10691     ;;
10692   *)
10693     shrext_cmds='.sl'
10694     dynamic_linker="$host_os dld.sl"
10695     shlibpath_var=SHLIB_PATH
10696     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10697     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698     soname_spec='${libname}${release}${shared_ext}$major'
10699     ;;
10700   esac
10701   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10702   postinstall_cmds='chmod 555 $lib'
10703   # or fails outright, so override atomically:
10704   install_override_mode=555
10705   ;;
10706
10707 interix[3-9]*)
10708   version_type=linux
10709   need_lib_prefix=no
10710   need_version=no
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10714   shlibpath_var=LD_LIBRARY_PATH
10715   shlibpath_overrides_runpath=no
10716   hardcode_into_libs=yes
10717   ;;
10718
10719 irix5* | irix6* | nonstopux*)
10720   case $host_os in
10721     nonstopux*) version_type=nonstopux ;;
10722     *)
10723         if test "$lt_cv_prog_gnu_ld" = yes; then
10724                 version_type=linux
10725         else
10726                 version_type=irix
10727         fi ;;
10728   esac
10729   need_lib_prefix=no
10730   need_version=no
10731   soname_spec='${libname}${release}${shared_ext}$major'
10732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10733   case $host_os in
10734   irix5* | nonstopux*)
10735     libsuff= shlibsuff=
10736     ;;
10737   *)
10738     case $LD in # libtool.m4 will add one of these switches to LD
10739     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10740       libsuff= shlibsuff= libmagic=32-bit;;
10741     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10742       libsuff=32 shlibsuff=N32 libmagic=N32;;
10743     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10744       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10745     *) libsuff= shlibsuff= libmagic=never-match;;
10746     esac
10747     ;;
10748   esac
10749   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10750   shlibpath_overrides_runpath=no
10751   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10752   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10753   hardcode_into_libs=yes
10754   ;;
10755
10756 # No shared lib support for Linux oldld, aout, or coff.
10757 linux*oldld* | linux*aout* | linux*coff*)
10758   dynamic_linker=no
10759   ;;
10760
10761 # This must be Linux ELF.
10762 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10763   version_type=linux
10764   need_lib_prefix=no
10765   need_version=no
10766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10767   soname_spec='${libname}${release}${shared_ext}$major'
10768   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10769   shlibpath_var=LD_LIBRARY_PATH
10770   shlibpath_overrides_runpath=no
10771
10772   # Some binutils ld are patched to set DT_RUNPATH
10773   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10774   $as_echo_n "(cached) " >&6
10775 else
10776   lt_cv_shlibpath_overrides_runpath=no
10777     save_LDFLAGS=$LDFLAGS
10778     save_libdir=$libdir
10779     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10780          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10781     if test x$gcc_no_link = xyes; then
10782   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10783 fi
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h.  */
10786
10787 int
10788 main ()
10789 {
10790
10791   ;
10792   return 0;
10793 }
10794 _ACEOF
10795 if ac_fn_c_try_link "$LINENO"; then :
10796   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10797   lt_cv_shlibpath_overrides_runpath=yes
10798 fi
10799 fi
10800 rm -f core conftest.err conftest.$ac_objext \
10801     conftest$ac_exeext conftest.$ac_ext
10802     LDFLAGS=$save_LDFLAGS
10803     libdir=$save_libdir
10804
10805 fi
10806
10807   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10808
10809   # This implies no fast_install, which is unacceptable.
10810   # Some rework will be needed to allow for fast_install
10811   # before this can be enabled.
10812   hardcode_into_libs=yes
10813
10814   # Append ld.so.conf contents to the search path
10815   if test -f /etc/ld.so.conf; then
10816     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' ' '`
10817     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10818   fi
10819
10820   # We used to test for /lib/ld.so.1 and disable shared libraries on
10821   # powerpc, because MkLinux only supported shared libraries with the
10822   # GNU dynamic linker.  Since this was broken with cross compilers,
10823   # most powerpc-linux boxes support dynamic linking these days and
10824   # people can always --disable-shared, the test was removed, and we
10825   # assume the GNU/Linux dynamic linker is in use.
10826   dynamic_linker='GNU/Linux ld.so'
10827   ;;
10828
10829 netbsd*)
10830   version_type=sunos
10831   need_lib_prefix=no
10832   need_version=no
10833   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10834     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10835     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10836     dynamic_linker='NetBSD (a.out) ld.so'
10837   else
10838     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839     soname_spec='${libname}${release}${shared_ext}$major'
10840     dynamic_linker='NetBSD ld.elf_so'
10841   fi
10842   shlibpath_var=LD_LIBRARY_PATH
10843   shlibpath_overrides_runpath=yes
10844   hardcode_into_libs=yes
10845   ;;
10846
10847 newsos6)
10848   version_type=linux
10849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   shlibpath_overrides_runpath=yes
10852   ;;
10853
10854 *nto* | *qnx*)
10855   version_type=qnx
10856   need_lib_prefix=no
10857   need_version=no
10858   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10859   soname_spec='${libname}${release}${shared_ext}$major'
10860   shlibpath_var=LD_LIBRARY_PATH
10861   shlibpath_overrides_runpath=no
10862   hardcode_into_libs=yes
10863   dynamic_linker='ldqnx.so'
10864   ;;
10865
10866 openbsd*)
10867   version_type=sunos
10868   sys_lib_dlsearch_path_spec="/usr/lib"
10869   need_lib_prefix=no
10870   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10871   case $host_os in
10872     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10873     *)                          need_version=no  ;;
10874   esac
10875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10876   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10877   shlibpath_var=LD_LIBRARY_PATH
10878   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10879     case $host_os in
10880       openbsd2.[89] | openbsd2.[89].*)
10881         shlibpath_overrides_runpath=no
10882         ;;
10883       *)
10884         shlibpath_overrides_runpath=yes
10885         ;;
10886       esac
10887   else
10888     shlibpath_overrides_runpath=yes
10889   fi
10890   ;;
10891
10892 os2*)
10893   libname_spec='$name'
10894   shrext_cmds=".dll"
10895   need_lib_prefix=no
10896   library_names_spec='$libname${shared_ext} $libname.a'
10897   dynamic_linker='OS/2 ld.exe'
10898   shlibpath_var=LIBPATH
10899   ;;
10900
10901 osf3* | osf4* | osf5*)
10902   version_type=osf
10903   need_lib_prefix=no
10904   need_version=no
10905   soname_spec='${libname}${release}${shared_ext}$major'
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907   shlibpath_var=LD_LIBRARY_PATH
10908   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10909   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10910   ;;
10911
10912 rdos*)
10913   dynamic_linker=no
10914   ;;
10915
10916 solaris*)
10917   version_type=linux
10918   need_lib_prefix=no
10919   need_version=no
10920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921   soname_spec='${libname}${release}${shared_ext}$major'
10922   shlibpath_var=LD_LIBRARY_PATH
10923   shlibpath_overrides_runpath=yes
10924   hardcode_into_libs=yes
10925   # ldd complains unless libraries are executable
10926   postinstall_cmds='chmod +x $lib'
10927   ;;
10928
10929 sunos4*)
10930   version_type=sunos
10931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10932   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10933   shlibpath_var=LD_LIBRARY_PATH
10934   shlibpath_overrides_runpath=yes
10935   if test "$with_gnu_ld" = yes; then
10936     need_lib_prefix=no
10937   fi
10938   need_version=yes
10939   ;;
10940
10941 sysv4 | sysv4.3*)
10942   version_type=linux
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   case $host_vendor in
10947     sni)
10948       shlibpath_overrides_runpath=no
10949       need_lib_prefix=no
10950       runpath_var=LD_RUN_PATH
10951       ;;
10952     siemens)
10953       need_lib_prefix=no
10954       ;;
10955     motorola)
10956       need_lib_prefix=no
10957       need_version=no
10958       shlibpath_overrides_runpath=no
10959       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10960       ;;
10961   esac
10962   ;;
10963
10964 sysv4*MP*)
10965   if test -d /usr/nec ;then
10966     version_type=linux
10967     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10968     soname_spec='$libname${shared_ext}.$major'
10969     shlibpath_var=LD_LIBRARY_PATH
10970   fi
10971   ;;
10972
10973 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10974   version_type=freebsd-elf
10975   need_lib_prefix=no
10976   need_version=no
10977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10978   soname_spec='${libname}${release}${shared_ext}$major'
10979   shlibpath_var=LD_LIBRARY_PATH
10980   shlibpath_overrides_runpath=yes
10981   hardcode_into_libs=yes
10982   if test "$with_gnu_ld" = yes; then
10983     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10984   else
10985     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10986     case $host_os in
10987       sco3.2v5*)
10988         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10989         ;;
10990     esac
10991   fi
10992   sys_lib_dlsearch_path_spec='/usr/lib'
10993   ;;
10994
10995 tpf*)
10996   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10997   version_type=linux
10998   need_lib_prefix=no
10999   need_version=no
11000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001   shlibpath_var=LD_LIBRARY_PATH
11002   shlibpath_overrides_runpath=no
11003   hardcode_into_libs=yes
11004   ;;
11005
11006 uts4*)
11007   version_type=linux
11008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009   soname_spec='${libname}${release}${shared_ext}$major'
11010   shlibpath_var=LD_LIBRARY_PATH
11011   ;;
11012
11013 *)
11014   dynamic_linker=no
11015   ;;
11016 esac
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11018 $as_echo "$dynamic_linker" >&6; }
11019 test "$dynamic_linker" = no && can_build_shared=no
11020
11021 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11022 if test "$GCC" = yes; then
11023   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11024 fi
11025
11026 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11027   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11028 fi
11029 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11030   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11031 fi
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11125 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11126 hardcode_action=
11127 if test -n "$hardcode_libdir_flag_spec" ||
11128    test -n "$runpath_var" ||
11129    test "X$hardcode_automatic" = "Xyes" ; then
11130
11131   # We can hardcode non-existent directories.
11132   if test "$hardcode_direct" != no &&
11133      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11134      # have to relink, otherwise we might link with an installed library
11135      # when we should be linking with a yet-to-be-installed one
11136      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11137      test "$hardcode_minus_L" != no; then
11138     # Linking always hardcodes the temporary library directory.
11139     hardcode_action=relink
11140   else
11141     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11142     hardcode_action=immediate
11143   fi
11144 else
11145   # We cannot hardcode anything, or else we can only hardcode existing
11146   # directories.
11147   hardcode_action=unsupported
11148 fi
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11150 $as_echo "$hardcode_action" >&6; }
11151
11152 if test "$hardcode_action" = relink ||
11153    test "$inherit_rpath" = yes; then
11154   # Fast installation is not supported
11155   enable_fast_install=no
11156 elif test "$shlibpath_overrides_runpath" = yes ||
11157      test "$enable_shared" = no; then
11158   # Fast installation is not necessary
11159   enable_fast_install=needless
11160 fi
11161
11162
11163
11164
11165
11166
11167   if test "x$enable_dlopen" != xyes; then
11168   enable_dlopen=unknown
11169   enable_dlopen_self=unknown
11170   enable_dlopen_self_static=unknown
11171 else
11172   lt_cv_dlopen=no
11173   lt_cv_dlopen_libs=
11174
11175   case $host_os in
11176   beos*)
11177     lt_cv_dlopen="load_add_on"
11178     lt_cv_dlopen_libs=
11179     lt_cv_dlopen_self=yes
11180     ;;
11181
11182   mingw* | pw32* | cegcc*)
11183     lt_cv_dlopen="LoadLibrary"
11184     lt_cv_dlopen_libs=
11185     ;;
11186
11187   cygwin*)
11188     lt_cv_dlopen="dlopen"
11189     lt_cv_dlopen_libs=
11190     ;;
11191
11192   darwin*)
11193   # if libdl is installed we need to link against it
11194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11196 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11197   $as_echo_n "(cached) " >&6
11198 else
11199   ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-ldl  $LIBS"
11201 if test x$gcc_no_link = xyes; then
11202   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11203 fi
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h.  */
11206
11207 /* Override any GCC internal prototype to avoid an error.
11208    Use char because int might match the return type of a GCC
11209    builtin and then its argument prototype would still apply.  */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char dlopen ();
11214 int
11215 main ()
11216 {
11217 return dlopen ();
11218   ;
11219   return 0;
11220 }
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223   ac_cv_lib_dl_dlopen=yes
11224 else
11225   ac_cv_lib_dl_dlopen=no
11226 fi
11227 rm -f core conftest.err conftest.$ac_objext \
11228     conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11230 fi
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11233 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11234   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11235 else
11236
11237     lt_cv_dlopen="dyld"
11238     lt_cv_dlopen_libs=
11239     lt_cv_dlopen_self=yes
11240
11241 fi
11242
11243     ;;
11244
11245   *)
11246     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11247 if test "x$ac_cv_func_shl_load" = x""yes; then :
11248   lt_cv_dlopen="shl_load"
11249 else
11250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11251 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11252 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11253   $as_echo_n "(cached) " >&6
11254 else
11255   ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-ldld  $LIBS"
11257 if test x$gcc_no_link = xyes; then
11258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11259 fi
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h.  */
11262
11263 /* Override any GCC internal prototype to avoid an error.
11264    Use char because int might match the return type of a GCC
11265    builtin and then its argument prototype would still apply.  */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char shl_load ();
11270 int
11271 main ()
11272 {
11273 return shl_load ();
11274   ;
11275   return 0;
11276 }
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279   ac_cv_lib_dld_shl_load=yes
11280 else
11281   ac_cv_lib_dld_shl_load=no
11282 fi
11283 rm -f core conftest.err conftest.$ac_objext \
11284     conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11286 fi
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11288 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11289 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11290   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11291 else
11292   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11293 if test "x$ac_cv_func_dlopen" = x""yes; then :
11294   lt_cv_dlopen="dlopen"
11295 else
11296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11297 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11298 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11299   $as_echo_n "(cached) " >&6
11300 else
11301   ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-ldl  $LIBS"
11303 if test x$gcc_no_link = xyes; then
11304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11305 fi
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h.  */
11308
11309 /* Override any GCC internal prototype to avoid an error.
11310    Use char because int might match the return type of a GCC
11311    builtin and then its argument prototype would still apply.  */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char dlopen ();
11316 int
11317 main ()
11318 {
11319 return dlopen ();
11320   ;
11321   return 0;
11322 }
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325   ac_cv_lib_dl_dlopen=yes
11326 else
11327   ac_cv_lib_dl_dlopen=no
11328 fi
11329 rm -f core conftest.err conftest.$ac_objext \
11330     conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11332 fi
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11334 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11335 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11336   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11337 else
11338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11339 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11340 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11341   $as_echo_n "(cached) " >&6
11342 else
11343   ac_check_lib_save_LIBS=$LIBS
11344 LIBS="-lsvld  $LIBS"
11345 if test x$gcc_no_link = xyes; then
11346   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11347 fi
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h.  */
11350
11351 /* Override any GCC internal prototype to avoid an error.
11352    Use char because int might match the return type of a GCC
11353    builtin and then its argument prototype would still apply.  */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char dlopen ();
11358 int
11359 main ()
11360 {
11361 return dlopen ();
11362   ;
11363   return 0;
11364 }
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367   ac_cv_lib_svld_dlopen=yes
11368 else
11369   ac_cv_lib_svld_dlopen=no
11370 fi
11371 rm -f core conftest.err conftest.$ac_objext \
11372     conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11374 fi
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11376 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11377 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11378   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11379 else
11380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11381 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11383   $as_echo_n "(cached) " >&6
11384 else
11385   ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld  $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11389 fi
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h.  */
11392
11393 /* Override any GCC internal prototype to avoid an error.
11394    Use char because int might match the return type of a GCC
11395    builtin and then its argument prototype would still apply.  */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char dld_link ();
11400 int
11401 main ()
11402 {
11403 return dld_link ();
11404   ;
11405   return 0;
11406 }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409   ac_cv_lib_dld_dld_link=yes
11410 else
11411   ac_cv_lib_dld_dld_link=no
11412 fi
11413 rm -f core conftest.err conftest.$ac_objext \
11414     conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11416 fi
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11418 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11419 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11420   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11421 fi
11422
11423
11424 fi
11425
11426
11427 fi
11428
11429
11430 fi
11431
11432
11433 fi
11434
11435
11436 fi
11437
11438     ;;
11439   esac
11440
11441   if test "x$lt_cv_dlopen" != xno; then
11442     enable_dlopen=yes
11443   else
11444     enable_dlopen=no
11445   fi
11446
11447   case $lt_cv_dlopen in
11448   dlopen)
11449     save_CPPFLAGS="$CPPFLAGS"
11450     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11451
11452     save_LDFLAGS="$LDFLAGS"
11453     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11454
11455     save_LIBS="$LIBS"
11456     LIBS="$lt_cv_dlopen_libs $LIBS"
11457
11458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11459 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11460 if test "${lt_cv_dlopen_self+set}" = set; then :
11461   $as_echo_n "(cached) " >&6
11462 else
11463           if test "$cross_compiling" = yes; then :
11464   lt_cv_dlopen_self=cross
11465 else
11466   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11467   lt_status=$lt_dlunknown
11468   cat > conftest.$ac_ext <<_LT_EOF
11469 #line 11469 "configure"
11470 #include "confdefs.h"
11471
11472 #if HAVE_DLFCN_H
11473 #include <dlfcn.h>
11474 #endif
11475
11476 #include <stdio.h>
11477
11478 #ifdef RTLD_GLOBAL
11479 #  define LT_DLGLOBAL           RTLD_GLOBAL
11480 #else
11481 #  ifdef DL_GLOBAL
11482 #    define LT_DLGLOBAL         DL_GLOBAL
11483 #  else
11484 #    define LT_DLGLOBAL         0
11485 #  endif
11486 #endif
11487
11488 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11489    find out it does not work in some platform. */
11490 #ifndef LT_DLLAZY_OR_NOW
11491 #  ifdef RTLD_LAZY
11492 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11493 #  else
11494 #    ifdef DL_LAZY
11495 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11496 #    else
11497 #      ifdef RTLD_NOW
11498 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11499 #      else
11500 #        ifdef DL_NOW
11501 #          define LT_DLLAZY_OR_NOW      DL_NOW
11502 #        else
11503 #          define LT_DLLAZY_OR_NOW      0
11504 #        endif
11505 #      endif
11506 #    endif
11507 #  endif
11508 #endif
11509
11510 /* When -fvisbility=hidden is used, assume the code has been annotated
11511    correspondingly for the symbols needed.  */
11512 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11513 void fnord () __attribute__((visibility("default")));
11514 #endif
11515
11516 void fnord () { int i=42; }
11517 int main ()
11518 {
11519   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11520   int status = $lt_dlunknown;
11521
11522   if (self)
11523     {
11524       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11525       else
11526         {
11527           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11528           else puts (dlerror ());
11529         }
11530       /* dlclose (self); */
11531     }
11532   else
11533     puts (dlerror ());
11534
11535   return status;
11536 }
11537 _LT_EOF
11538   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11539   (eval $ac_link) 2>&5
11540   ac_status=$?
11541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11542   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11543     (./conftest; exit; ) >&5 2>/dev/null
11544     lt_status=$?
11545     case x$lt_status in
11546       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11547       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11548       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11549     esac
11550   else :
11551     # compilation failed
11552     lt_cv_dlopen_self=no
11553   fi
11554 fi
11555 rm -fr conftest*
11556
11557
11558 fi
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11560 $as_echo "$lt_cv_dlopen_self" >&6; }
11561
11562     if test "x$lt_cv_dlopen_self" = xyes; then
11563       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11564       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11565 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11566 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11567   $as_echo_n "(cached) " >&6
11568 else
11569           if test "$cross_compiling" = yes; then :
11570   lt_cv_dlopen_self_static=cross
11571 else
11572   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11573   lt_status=$lt_dlunknown
11574   cat > conftest.$ac_ext <<_LT_EOF
11575 #line 11575 "configure"
11576 #include "confdefs.h"
11577
11578 #if HAVE_DLFCN_H
11579 #include <dlfcn.h>
11580 #endif
11581
11582 #include <stdio.h>
11583
11584 #ifdef RTLD_GLOBAL
11585 #  define LT_DLGLOBAL           RTLD_GLOBAL
11586 #else
11587 #  ifdef DL_GLOBAL
11588 #    define LT_DLGLOBAL         DL_GLOBAL
11589 #  else
11590 #    define LT_DLGLOBAL         0
11591 #  endif
11592 #endif
11593
11594 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11595    find out it does not work in some platform. */
11596 #ifndef LT_DLLAZY_OR_NOW
11597 #  ifdef RTLD_LAZY
11598 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11599 #  else
11600 #    ifdef DL_LAZY
11601 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11602 #    else
11603 #      ifdef RTLD_NOW
11604 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11605 #      else
11606 #        ifdef DL_NOW
11607 #          define LT_DLLAZY_OR_NOW      DL_NOW
11608 #        else
11609 #          define LT_DLLAZY_OR_NOW      0
11610 #        endif
11611 #      endif
11612 #    endif
11613 #  endif
11614 #endif
11615
11616 /* When -fvisbility=hidden is used, assume the code has been annotated
11617    correspondingly for the symbols needed.  */
11618 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11619 void fnord () __attribute__((visibility("default")));
11620 #endif
11621
11622 void fnord () { int i=42; }
11623 int main ()
11624 {
11625   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11626   int status = $lt_dlunknown;
11627
11628   if (self)
11629     {
11630       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11631       else
11632         {
11633           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11634           else puts (dlerror ());
11635         }
11636       /* dlclose (self); */
11637     }
11638   else
11639     puts (dlerror ());
11640
11641   return status;
11642 }
11643 _LT_EOF
11644   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11645   (eval $ac_link) 2>&5
11646   ac_status=$?
11647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11648   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11649     (./conftest; exit; ) >&5 2>/dev/null
11650     lt_status=$?
11651     case x$lt_status in
11652       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11653       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11654       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11655     esac
11656   else :
11657     # compilation failed
11658     lt_cv_dlopen_self_static=no
11659   fi
11660 fi
11661 rm -fr conftest*
11662
11663
11664 fi
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11666 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11667     fi
11668
11669     CPPFLAGS="$save_CPPFLAGS"
11670     LDFLAGS="$save_LDFLAGS"
11671     LIBS="$save_LIBS"
11672     ;;
11673   esac
11674
11675   case $lt_cv_dlopen_self in
11676   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11677   *) enable_dlopen_self=unknown ;;
11678   esac
11679
11680   case $lt_cv_dlopen_self_static in
11681   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11682   *) enable_dlopen_self_static=unknown ;;
11683   esac
11684 fi
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702 striplib=
11703 old_striplib=
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11705 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11706 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11707   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11708   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11710 $as_echo "yes" >&6; }
11711 else
11712 # FIXME - insert some real tests, host_os isn't really good enough
11713   case $host_os in
11714   darwin*)
11715     if test -n "$STRIP" ; then
11716       striplib="$STRIP -x"
11717       old_striplib="$STRIP -S"
11718       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11719 $as_echo "yes" >&6; }
11720     else
11721       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11722 $as_echo "no" >&6; }
11723     fi
11724     ;;
11725   *)
11726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11728     ;;
11729   esac
11730 fi
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743   # Report which library types will actually be built
11744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11745 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11747 $as_echo "$can_build_shared" >&6; }
11748
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11750 $as_echo_n "checking whether to build shared libraries... " >&6; }
11751   test "$can_build_shared" = "no" && enable_shared=no
11752
11753   # On AIX, shared libraries and static libraries use the same namespace, and
11754   # are all built from PIC.
11755   case $host_os in
11756   aix3*)
11757     test "$enable_shared" = yes && enable_static=no
11758     if test -n "$RANLIB"; then
11759       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11760       postinstall_cmds='$RANLIB $lib'
11761     fi
11762     ;;
11763
11764   aix[4-9]*)
11765     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11766       test "$enable_shared" = yes && enable_static=no
11767     fi
11768     ;;
11769   esac
11770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11771 $as_echo "$enable_shared" >&6; }
11772
11773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11774 $as_echo_n "checking whether to build static libraries... " >&6; }
11775   # Make sure either enable_shared or enable_static is yes.
11776   test "$enable_shared" = yes || enable_static=yes
11777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11778 $as_echo "$enable_static" >&6; }
11779
11780
11781
11782
11783 fi
11784 ac_ext=c
11785 ac_cpp='$CPP $CPPFLAGS'
11786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11789
11790 CC="$lt_save_CC"
11791
11792       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11793     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11794     (test "X$CXX" != "Xg++"))) ; then
11795   ac_ext=cpp
11796 ac_cpp='$CXXCPP $CPPFLAGS'
11797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11801 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11802 if test -z "$CXXCPP"; then
11803   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11804   $as_echo_n "(cached) " >&6
11805 else
11806       # Double quotes because CXXCPP needs to be expanded
11807     for CXXCPP in "$CXX -E" "/lib/cpp"
11808     do
11809       ac_preproc_ok=false
11810 for ac_cxx_preproc_warn_flag in '' yes
11811 do
11812   # Use a header file that comes with gcc, so configuring glibc
11813   # with a fresh cross-compiler works.
11814   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11815   # <limits.h> exists even on freestanding compilers.
11816   # On the NeXT, cc -E runs the code through the compiler's parser,
11817   # not just through cpp. "Syntax error" is here to catch this case.
11818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h.  */
11820 #ifdef __STDC__
11821 # include <limits.h>
11822 #else
11823 # include <assert.h>
11824 #endif
11825                      Syntax error
11826 _ACEOF
11827 if ac_fn_cxx_try_cpp "$LINENO"; then :
11828
11829 else
11830   # Broken: fails on valid input.
11831 continue
11832 fi
11833 rm -f conftest.err conftest.$ac_ext
11834
11835   # OK, works on sane cases.  Now check whether nonexistent headers
11836   # can be detected and how.
11837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h.  */
11839 #include <ac_nonexistent.h>
11840 _ACEOF
11841 if ac_fn_cxx_try_cpp "$LINENO"; then :
11842   # Broken: success on invalid input.
11843 continue
11844 else
11845   # Passes both tests.
11846 ac_preproc_ok=:
11847 break
11848 fi
11849 rm -f conftest.err conftest.$ac_ext
11850
11851 done
11852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11853 rm -f conftest.err conftest.$ac_ext
11854 if $ac_preproc_ok; then :
11855   break
11856 fi
11857
11858     done
11859     ac_cv_prog_CXXCPP=$CXXCPP
11860
11861 fi
11862   CXXCPP=$ac_cv_prog_CXXCPP
11863 else
11864   ac_cv_prog_CXXCPP=$CXXCPP
11865 fi
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11867 $as_echo "$CXXCPP" >&6; }
11868 ac_preproc_ok=false
11869 for ac_cxx_preproc_warn_flag in '' yes
11870 do
11871   # Use a header file that comes with gcc, so configuring glibc
11872   # with a fresh cross-compiler works.
11873   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874   # <limits.h> exists even on freestanding compilers.
11875   # On the NeXT, cc -E runs the code through the compiler's parser,
11876   # not just through cpp. "Syntax error" is here to catch this case.
11877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h.  */
11879 #ifdef __STDC__
11880 # include <limits.h>
11881 #else
11882 # include <assert.h>
11883 #endif
11884                      Syntax error
11885 _ACEOF
11886 if ac_fn_cxx_try_cpp "$LINENO"; then :
11887
11888 else
11889   # Broken: fails on valid input.
11890 continue
11891 fi
11892 rm -f conftest.err conftest.$ac_ext
11893
11894   # OK, works on sane cases.  Now check whether nonexistent headers
11895   # can be detected and how.
11896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h.  */
11898 #include <ac_nonexistent.h>
11899 _ACEOF
11900 if ac_fn_cxx_try_cpp "$LINENO"; then :
11901   # Broken: success on invalid input.
11902 continue
11903 else
11904   # Passes both tests.
11905 ac_preproc_ok=:
11906 break
11907 fi
11908 rm -f conftest.err conftest.$ac_ext
11909
11910 done
11911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11912 rm -f conftest.err conftest.$ac_ext
11913 if $ac_preproc_ok; then :
11914
11915 else
11916   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11918 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11919 See \`config.log' for more details." "$LINENO" 5; }
11920 fi
11921
11922 ac_ext=c
11923 ac_cpp='$CPP $CPPFLAGS'
11924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11927
11928 else
11929   _lt_caught_CXX_error=yes
11930 fi
11931
11932 ac_ext=cpp
11933 ac_cpp='$CXXCPP $CPPFLAGS'
11934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11937
11938 archive_cmds_need_lc_CXX=no
11939 allow_undefined_flag_CXX=
11940 always_export_symbols_CXX=no
11941 archive_expsym_cmds_CXX=
11942 compiler_needs_object_CXX=no
11943 export_dynamic_flag_spec_CXX=
11944 hardcode_direct_CXX=no
11945 hardcode_direct_absolute_CXX=no
11946 hardcode_libdir_flag_spec_CXX=
11947 hardcode_libdir_flag_spec_ld_CXX=
11948 hardcode_libdir_separator_CXX=
11949 hardcode_minus_L_CXX=no
11950 hardcode_shlibpath_var_CXX=unsupported
11951 hardcode_automatic_CXX=no
11952 inherit_rpath_CXX=no
11953 module_cmds_CXX=
11954 module_expsym_cmds_CXX=
11955 link_all_deplibs_CXX=unknown
11956 old_archive_cmds_CXX=$old_archive_cmds
11957 reload_flag_CXX=$reload_flag
11958 reload_cmds_CXX=$reload_cmds
11959 no_undefined_flag_CXX=
11960 whole_archive_flag_spec_CXX=
11961 enable_shared_with_static_runtimes_CXX=no
11962
11963 # Source file extension for C++ test sources.
11964 ac_ext=cpp
11965
11966 # Object file extension for compiled C++ test sources.
11967 objext=o
11968 objext_CXX=$objext
11969
11970 # No sense in running all these tests if we already determined that
11971 # the CXX compiler isn't working.  Some variables (like enable_shared)
11972 # are currently assumed to apply to all compilers on this platform,
11973 # and will be corrupted by setting them based on a non-working compiler.
11974 if test "$_lt_caught_CXX_error" != yes; then
11975   # Code to be used in simple compile tests
11976   lt_simple_compile_test_code="int some_variable = 0;"
11977
11978   # Code to be used in simple link tests
11979   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11980
11981   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11982
11983
11984
11985
11986
11987
11988 # If no C compiler was specified, use CC.
11989 LTCC=${LTCC-"$CC"}
11990
11991 # If no C compiler flags were specified, use CFLAGS.
11992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11993
11994 # Allow CC to be a program name with arguments.
11995 compiler=$CC
11996
11997
11998   # save warnings/boilerplate of simple test code
11999   ac_outfile=conftest.$ac_objext
12000 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12001 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12002 _lt_compiler_boilerplate=`cat conftest.err`
12003 $RM conftest*
12004
12005   ac_outfile=conftest.$ac_objext
12006 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12007 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12008 _lt_linker_boilerplate=`cat conftest.err`
12009 $RM -r conftest*
12010
12011
12012   # Allow CC to be a program name with arguments.
12013   lt_save_CC=$CC
12014   lt_save_LD=$LD
12015   lt_save_GCC=$GCC
12016   GCC=$GXX
12017   lt_save_with_gnu_ld=$with_gnu_ld
12018   lt_save_path_LD=$lt_cv_path_LD
12019   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12020     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12021   else
12022     $as_unset lt_cv_prog_gnu_ld
12023   fi
12024   if test -n "${lt_cv_path_LDCXX+set}"; then
12025     lt_cv_path_LD=$lt_cv_path_LDCXX
12026   else
12027     $as_unset lt_cv_path_LD
12028   fi
12029   test -z "${LDCXX+set}" || LD=$LDCXX
12030   CC=${CXX-"c++"}
12031   compiler=$CC
12032   compiler_CXX=$CC
12033   for cc_temp in $compiler""; do
12034   case $cc_temp in
12035     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12036     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12037     \-*) ;;
12038     *) break;;
12039   esac
12040 done
12041 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12042
12043
12044   if test -n "$compiler"; then
12045     # We don't want -fno-exception when compiling C++ code, so set the
12046     # no_builtin_flag separately
12047     if test "$GXX" = yes; then
12048       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12049     else
12050       lt_prog_compiler_no_builtin_flag_CXX=
12051     fi
12052
12053     if test "$GXX" = yes; then
12054       # Set up default GNU C++ configuration
12055
12056
12057
12058 # Check whether --with-gnu-ld was given.
12059 if test "${with_gnu_ld+set}" = set; then :
12060   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12061 else
12062   with_gnu_ld=no
12063 fi
12064
12065 ac_prog=ld
12066 if test "$GCC" = yes; then
12067   # Check if gcc -print-prog-name=ld gives a path.
12068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12069 $as_echo_n "checking for ld used by $CC... " >&6; }
12070   case $host in
12071   *-*-mingw*)
12072     # gcc leaves a trailing carriage return which upsets mingw
12073     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12074   *)
12075     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12076   esac
12077   case $ac_prog in
12078     # Accept absolute paths.
12079     [\\/]* | ?:[\\/]*)
12080       re_direlt='/[^/][^/]*/\.\./'
12081       # Canonicalize the pathname of ld
12082       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12083       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12084         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12085       done
12086       test -z "$LD" && LD="$ac_prog"
12087       ;;
12088   "")
12089     # If it fails, then pretend we aren't using GCC.
12090     ac_prog=ld
12091     ;;
12092   *)
12093     # If it is relative, then search for the first ld in PATH.
12094     with_gnu_ld=unknown
12095     ;;
12096   esac
12097 elif test "$with_gnu_ld" = yes; then
12098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12099 $as_echo_n "checking for GNU ld... " >&6; }
12100 else
12101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12102 $as_echo_n "checking for non-GNU ld... " >&6; }
12103 fi
12104 if test "${lt_cv_path_LD+set}" = set; then :
12105   $as_echo_n "(cached) " >&6
12106 else
12107   if test -z "$LD"; then
12108   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12109   for ac_dir in $PATH; do
12110     IFS="$lt_save_ifs"
12111     test -z "$ac_dir" && ac_dir=.
12112     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12113       lt_cv_path_LD="$ac_dir/$ac_prog"
12114       # Check to see if the program is GNU ld.  I'd rather use --version,
12115       # but apparently some variants of GNU ld only accept -v.
12116       # Break only if it was the GNU/non-GNU ld that we prefer.
12117       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12118       *GNU* | *'with BFD'*)
12119         test "$with_gnu_ld" != no && break
12120         ;;
12121       *)
12122         test "$with_gnu_ld" != yes && break
12123         ;;
12124       esac
12125     fi
12126   done
12127   IFS="$lt_save_ifs"
12128 else
12129   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12130 fi
12131 fi
12132
12133 LD="$lt_cv_path_LD"
12134 if test -n "$LD"; then
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12136 $as_echo "$LD" >&6; }
12137 else
12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 fi
12141 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12143 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12144 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12145   $as_echo_n "(cached) " >&6
12146 else
12147   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12148 case `$LD -v 2>&1 </dev/null` in
12149 *GNU* | *'with BFD'*)
12150   lt_cv_prog_gnu_ld=yes
12151   ;;
12152 *)
12153   lt_cv_prog_gnu_ld=no
12154   ;;
12155 esac
12156 fi
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12158 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12159 with_gnu_ld=$lt_cv_prog_gnu_ld
12160
12161
12162
12163
12164
12165
12166
12167       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12168       # archiving commands below assume that GNU ld is being used.
12169       if test "$with_gnu_ld" = yes; then
12170         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12171         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'
12172
12173         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12174         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12175
12176         # If archive_cmds runs LD, not CC, wlarc should be empty
12177         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12178         #     investigate it a little bit more. (MM)
12179         wlarc='${wl}'
12180
12181         # ancient GNU ld didn't support --whole-archive et. al.
12182         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12183           $GREP 'no-whole-archive' > /dev/null; then
12184           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12185         else
12186           whole_archive_flag_spec_CXX=
12187         fi
12188       else
12189         with_gnu_ld=no
12190         wlarc=
12191
12192         # A generic and very simple default shared library creation
12193         # command for GNU C++ for the case where it uses the native
12194         # linker, instead of GNU ld.  If possible, this setting should
12195         # overridden to take advantage of the native linker features on
12196         # the platform it is being used on.
12197         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12198       fi
12199
12200       # Commands to make compiler produce verbose output that lists
12201       # what "hidden" libraries, object files and flags are used when
12202       # linking a shared library.
12203       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12204
12205     else
12206       GXX=no
12207       with_gnu_ld=no
12208       wlarc=
12209     fi
12210
12211     # PORTME: fill in a description of your system's C++ link characteristics
12212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12213 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12214     ld_shlibs_CXX=yes
12215     case $host_os in
12216       aix3*)
12217         # FIXME: insert proper C++ library support
12218         ld_shlibs_CXX=no
12219         ;;
12220       aix[4-9]*)
12221         if test "$host_cpu" = ia64; then
12222           # On IA64, the linker does run time linking by default, so we don't
12223           # have to do anything special.
12224           aix_use_runtimelinking=no
12225           exp_sym_flag='-Bexport'
12226           no_entry_flag=""
12227         else
12228           aix_use_runtimelinking=no
12229
12230           # Test if we are trying to use run time linking or normal
12231           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12232           # need to do runtime linking.
12233           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12234             for ld_flag in $LDFLAGS; do
12235               case $ld_flag in
12236               *-brtl*)
12237                 aix_use_runtimelinking=yes
12238                 break
12239                 ;;
12240               esac
12241             done
12242             ;;
12243           esac
12244
12245           exp_sym_flag='-bexport'
12246           no_entry_flag='-bnoentry'
12247         fi
12248
12249         # When large executables or shared objects are built, AIX ld can
12250         # have problems creating the table of contents.  If linking a library
12251         # or program results in "error TOC overflow" add -mminimal-toc to
12252         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12253         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12254
12255         archive_cmds_CXX=''
12256         hardcode_direct_CXX=yes
12257         hardcode_direct_absolute_CXX=yes
12258         hardcode_libdir_separator_CXX=':'
12259         link_all_deplibs_CXX=yes
12260         file_list_spec_CXX='${wl}-f,'
12261
12262         if test "$GXX" = yes; then
12263           case $host_os in aix4.[012]|aix4.[012].*)
12264           # We only want to do this on AIX 4.2 and lower, the check
12265           # below for broken collect2 doesn't work under 4.3+
12266           collect2name=`${CC} -print-prog-name=collect2`
12267           if test -f "$collect2name" &&
12268              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12269           then
12270             # We have reworked collect2
12271             :
12272           else
12273             # We have old collect2
12274             hardcode_direct_CXX=unsupported
12275             # It fails to find uninstalled libraries when the uninstalled
12276             # path is not listed in the libpath.  Setting hardcode_minus_L
12277             # to unsupported forces relinking
12278             hardcode_minus_L_CXX=yes
12279             hardcode_libdir_flag_spec_CXX='-L$libdir'
12280             hardcode_libdir_separator_CXX=
12281           fi
12282           esac
12283           shared_flag='-shared'
12284           if test "$aix_use_runtimelinking" = yes; then
12285             shared_flag="$shared_flag "'${wl}-G'
12286           fi
12287         else
12288           # not using gcc
12289           if test "$host_cpu" = ia64; then
12290           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12291           # chokes on -Wl,-G. The following line is correct:
12292           shared_flag='-G'
12293           else
12294             if test "$aix_use_runtimelinking" = yes; then
12295               shared_flag='${wl}-G'
12296             else
12297               shared_flag='${wl}-bM:SRE'
12298             fi
12299           fi
12300         fi
12301
12302         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12303         # It seems that -bexpall does not export symbols beginning with
12304         # underscore (_), so it is better to generate a list of symbols to
12305         # export.
12306         always_export_symbols_CXX=yes
12307         if test "$aix_use_runtimelinking" = yes; then
12308           # Warning - without using the other runtime loading flags (-brtl),
12309           # -berok will link without error, but may produce a broken library.
12310           allow_undefined_flag_CXX='-berok'
12311           # Determine the default libpath from the value encoded in an empty
12312           # executable.
12313           if test x$gcc_no_link = xyes; then
12314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12315 fi
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h.  */
12318
12319 int
12320 main ()
12321 {
12322
12323   ;
12324   return 0;
12325 }
12326 _ACEOF
12327 if ac_fn_cxx_try_link "$LINENO"; then :
12328
12329 lt_aix_libpath_sed='
12330     /Import File Strings/,/^$/ {
12331         /^0/ {
12332             s/^0  *\(.*\)$/\1/
12333             p
12334         }
12335     }'
12336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12337 # Check for a 64-bit object if we didn't find anything.
12338 if test -z "$aix_libpath"; then
12339   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12340 fi
12341 fi
12342 rm -f core conftest.err conftest.$ac_objext \
12343     conftest$ac_exeext conftest.$ac_ext
12344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12345
12346           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12347
12348           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"
12349         else
12350           if test "$host_cpu" = ia64; then
12351             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12352             allow_undefined_flag_CXX="-z nodefs"
12353             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"
12354           else
12355             # Determine the default libpath from the value encoded in an
12356             # empty executable.
12357             if test x$gcc_no_link = xyes; then
12358   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12359 fi
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h.  */
12362
12363 int
12364 main ()
12365 {
12366
12367   ;
12368   return 0;
12369 }
12370 _ACEOF
12371 if ac_fn_cxx_try_link "$LINENO"; then :
12372
12373 lt_aix_libpath_sed='
12374     /Import File Strings/,/^$/ {
12375         /^0/ {
12376             s/^0  *\(.*\)$/\1/
12377             p
12378         }
12379     }'
12380 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12381 # Check for a 64-bit object if we didn't find anything.
12382 if test -z "$aix_libpath"; then
12383   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 fi
12385 fi
12386 rm -f core conftest.err conftest.$ac_objext \
12387     conftest$ac_exeext conftest.$ac_ext
12388 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12389
12390             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12391             # Warning - without using the other run time loading flags,
12392             # -berok will link without error, but may produce a broken library.
12393             no_undefined_flag_CXX=' ${wl}-bernotok'
12394             allow_undefined_flag_CXX=' ${wl}-berok'
12395             if test "$with_gnu_ld" = yes; then
12396               # We only use this code for GNU lds that support --whole-archive.
12397               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12398             else
12399               # Exported symbols can be pulled into shared objects from archives
12400               whole_archive_flag_spec_CXX='$convenience'
12401             fi
12402             archive_cmds_need_lc_CXX=yes
12403             # This is similar to how AIX traditionally builds its shared
12404             # libraries.
12405             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'
12406           fi
12407         fi
12408         ;;
12409
12410       beos*)
12411         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12412           allow_undefined_flag_CXX=unsupported
12413           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12414           # support --undefined.  This deserves some investigation.  FIXME
12415           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12416         else
12417           ld_shlibs_CXX=no
12418         fi
12419         ;;
12420
12421       chorus*)
12422         case $cc_basename in
12423           *)
12424           # FIXME: insert proper C++ library support
12425           ld_shlibs_CXX=no
12426           ;;
12427         esac
12428         ;;
12429
12430       cygwin* | mingw* | pw32* | cegcc*)
12431         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12432         # as there is no search path for DLLs.
12433         hardcode_libdir_flag_spec_CXX='-L$libdir'
12434         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12435         allow_undefined_flag_CXX=unsupported
12436         always_export_symbols_CXX=no
12437         enable_shared_with_static_runtimes_CXX=yes
12438
12439         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12440           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'
12441           # If the export-symbols file already is a .def file (1st line
12442           # is EXPORTS), use it as is; otherwise, prepend...
12443           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12444             cp $export_symbols $output_objdir/$soname.def;
12445           else
12446             echo EXPORTS > $output_objdir/$soname.def;
12447             cat $export_symbols >> $output_objdir/$soname.def;
12448           fi~
12449           $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'
12450         else
12451           ld_shlibs_CXX=no
12452         fi
12453         ;;
12454       darwin* | rhapsody*)
12455
12456
12457   archive_cmds_need_lc_CXX=no
12458   hardcode_direct_CXX=no
12459   hardcode_automatic_CXX=yes
12460   hardcode_shlibpath_var_CXX=unsupported
12461   if test "$lt_cv_ld_force_load" = "yes"; then
12462     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\"`'
12463   else
12464     whole_archive_flag_spec_CXX=''
12465   fi
12466   link_all_deplibs_CXX=yes
12467   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12468   case $cc_basename in
12469      ifort*) _lt_dar_can_shared=yes ;;
12470      *) _lt_dar_can_shared=$GCC ;;
12471   esac
12472   if test "$_lt_dar_can_shared" = "yes"; then
12473     output_verbose_link_cmd=func_echo_all
12474     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}"
12475     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12476     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}"
12477     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}"
12478        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12479       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}"
12480       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}"
12481     fi
12482
12483   else
12484   ld_shlibs_CXX=no
12485   fi
12486
12487         ;;
12488
12489       dgux*)
12490         case $cc_basename in
12491           ec++*)
12492             # FIXME: insert proper C++ library support
12493             ld_shlibs_CXX=no
12494             ;;
12495           ghcx*)
12496             # Green Hills C++ Compiler
12497             # FIXME: insert proper C++ library support
12498             ld_shlibs_CXX=no
12499             ;;
12500           *)
12501             # FIXME: insert proper C++ library support
12502             ld_shlibs_CXX=no
12503             ;;
12504         esac
12505         ;;
12506
12507       freebsd[12]*)
12508         # C++ shared libraries reported to be fairly broken before
12509         # switch to ELF
12510         ld_shlibs_CXX=no
12511         ;;
12512
12513       freebsd-elf*)
12514         archive_cmds_need_lc_CXX=no
12515         ;;
12516
12517       freebsd* | dragonfly*)
12518         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12519         # conventions
12520         ld_shlibs_CXX=yes
12521         ;;
12522
12523       gnu*)
12524         ;;
12525
12526       haiku*)
12527         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12528         link_all_deplibs_CXX=yes
12529         ;;
12530
12531       hpux9*)
12532         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12533         hardcode_libdir_separator_CXX=:
12534         export_dynamic_flag_spec_CXX='${wl}-E'
12535         hardcode_direct_CXX=yes
12536         hardcode_minus_L_CXX=yes # Not in the search PATH,
12537                                              # but as the default
12538                                              # location of the library.
12539
12540         case $cc_basename in
12541           CC*)
12542             # FIXME: insert proper C++ library support
12543             ld_shlibs_CXX=no
12544             ;;
12545           aCC*)
12546             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'
12547             # Commands to make compiler produce verbose output that lists
12548             # what "hidden" libraries, object files and flags are used when
12549             # linking a shared library.
12550             #
12551             # There doesn't appear to be a way to prevent this compiler from
12552             # explicitly linking system object files so we need to strip them
12553             # from the output so that they don't get included in the library
12554             # dependencies.
12555             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"'
12556             ;;
12557           *)
12558             if test "$GXX" = yes; then
12559               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'
12560             else
12561               # FIXME: insert proper C++ library support
12562               ld_shlibs_CXX=no
12563             fi
12564             ;;
12565         esac
12566         ;;
12567
12568       hpux10*|hpux11*)
12569         if test $with_gnu_ld = no; then
12570           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12571           hardcode_libdir_separator_CXX=:
12572
12573           case $host_cpu in
12574             hppa*64*|ia64*)
12575               ;;
12576             *)
12577               export_dynamic_flag_spec_CXX='${wl}-E'
12578               ;;
12579           esac
12580         fi
12581         case $host_cpu in
12582           hppa*64*|ia64*)
12583             hardcode_direct_CXX=no
12584             hardcode_shlibpath_var_CXX=no
12585             ;;
12586           *)
12587             hardcode_direct_CXX=yes
12588             hardcode_direct_absolute_CXX=yes
12589             hardcode_minus_L_CXX=yes # Not in the search PATH,
12590                                                  # but as the default
12591                                                  # location of the library.
12592             ;;
12593         esac
12594
12595         case $cc_basename in
12596           CC*)
12597             # FIXME: insert proper C++ library support
12598             ld_shlibs_CXX=no
12599             ;;
12600           aCC*)
12601             case $host_cpu in
12602               hppa*64*)
12603                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12604                 ;;
12605               ia64*)
12606                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12607                 ;;
12608               *)
12609                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12610                 ;;
12611             esac
12612             # Commands to make compiler produce verbose output that lists
12613             # what "hidden" libraries, object files and flags are used when
12614             # linking a shared library.
12615             #
12616             # There doesn't appear to be a way to prevent this compiler from
12617             # explicitly linking system object files so we need to strip them
12618             # from the output so that they don't get included in the library
12619             # dependencies.
12620             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"'
12621             ;;
12622           *)
12623             if test "$GXX" = yes; then
12624               if test $with_gnu_ld = no; then
12625                 case $host_cpu in
12626                   hppa*64*)
12627                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12628                     ;;
12629                   ia64*)
12630                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631                     ;;
12632                   *)
12633                     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'
12634                     ;;
12635                 esac
12636               fi
12637             else
12638               # FIXME: insert proper C++ library support
12639               ld_shlibs_CXX=no
12640             fi
12641             ;;
12642         esac
12643         ;;
12644
12645       interix[3-9]*)
12646         hardcode_direct_CXX=no
12647         hardcode_shlibpath_var_CXX=no
12648         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12649         export_dynamic_flag_spec_CXX='${wl}-E'
12650         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12651         # Instead, shared libraries are loaded at an image base (0x10000000 by
12652         # default) and relocated if they conflict, which is a slow very memory
12653         # consuming and fragmenting process.  To avoid this, we pick a random,
12654         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12655         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12656         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'
12657         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'
12658         ;;
12659       irix5* | irix6*)
12660         case $cc_basename in
12661           CC*)
12662             # SGI C++
12663             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'
12664
12665             # Archives containing C++ object files must be created using
12666             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12667             # necessary to make sure instantiated templates are included
12668             # in the archive.
12669             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12670             ;;
12671           *)
12672             if test "$GXX" = yes; then
12673               if test "$with_gnu_ld" = no; then
12674                 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'
12675               else
12676                 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'
12677               fi
12678             fi
12679             link_all_deplibs_CXX=yes
12680             ;;
12681         esac
12682         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12683         hardcode_libdir_separator_CXX=:
12684         inherit_rpath_CXX=yes
12685         ;;
12686
12687       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12688         case $cc_basename in
12689           KCC*)
12690             # Kuck and Associates, Inc. (KAI) C++ Compiler
12691
12692             # KCC will only create a shared library if the output file
12693             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12694             # to its proper name (with version) after linking.
12695             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'
12696             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'
12697             # Commands to make compiler produce verbose output that lists
12698             # what "hidden" libraries, object files and flags are used when
12699             # linking a shared library.
12700             #
12701             # There doesn't appear to be a way to prevent this compiler from
12702             # explicitly linking system object files so we need to strip them
12703             # from the output so that they don't get included in the library
12704             # dependencies.
12705             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"'
12706
12707             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12708             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12709
12710             # Archives containing C++ object files must be created using
12711             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12712             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12713             ;;
12714           icpc* | ecpc* )
12715             # Intel C++
12716             with_gnu_ld=yes
12717             # version 8.0 and above of icpc choke on multiply defined symbols
12718             # if we add $predep_objects and $postdep_objects, however 7.1 and
12719             # earlier do not add the objects themselves.
12720             case `$CC -V 2>&1` in
12721               *"Version 7."*)
12722                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12723                 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'
12724                 ;;
12725               *)  # Version 8.0 or newer
12726                 tmp_idyn=
12727                 case $host_cpu in
12728                   ia64*) tmp_idyn=' -i_dynamic';;
12729                 esac
12730                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12731                 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'
12732                 ;;
12733             esac
12734             archive_cmds_need_lc_CXX=no
12735             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12736             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12737             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12738             ;;
12739           pgCC* | pgcpp*)
12740             # Portland Group C++ compiler
12741             case `$CC -V` in
12742             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12743               prelink_cmds_CXX='tpldir=Template.dir~
12744                 rm -rf $tpldir~
12745                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12746                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12747               old_archive_cmds_CXX='tpldir=Template.dir~
12748                 rm -rf $tpldir~
12749                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12750                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12751                 $RANLIB $oldlib'
12752               archive_cmds_CXX='tpldir=Template.dir~
12753                 rm -rf $tpldir~
12754                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12755                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12756               archive_expsym_cmds_CXX='tpldir=Template.dir~
12757                 rm -rf $tpldir~
12758                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12759                 $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'
12760               ;;
12761             *) # Version 6 and above use weak symbols
12762               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12763               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'
12764               ;;
12765             esac
12766
12767             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12768             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769             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'
12770             ;;
12771           cxx*)
12772             # Compaq C++
12773             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12774             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'
12775
12776             runpath_var=LD_RUN_PATH
12777             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12778             hardcode_libdir_separator_CXX=:
12779
12780             # Commands to make compiler produce verbose output that lists
12781             # what "hidden" libraries, object files and flags are used when
12782             # linking a shared library.
12783             #
12784             # There doesn't appear to be a way to prevent this compiler from
12785             # explicitly linking system object files so we need to strip them
12786             # from the output so that they don't get included in the library
12787             # dependencies.
12788             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'
12789             ;;
12790           xl* | mpixl* | bgxl*)
12791             # IBM XL 8.0 on PPC, with GNU ld
12792             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12793             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12794             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795             if test "x$supports_anon_versioning" = xyes; then
12796               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12797                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12798                 echo "local: *; };" >> $output_objdir/$libname.ver~
12799                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12800             fi
12801             ;;
12802           *)
12803             case `$CC -V 2>&1 | sed 5q` in
12804             *Sun\ C*)
12805               # Sun C++ 5.9
12806               no_undefined_flag_CXX=' -zdefs'
12807               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12808               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'
12809               hardcode_libdir_flag_spec_CXX='-R$libdir'
12810               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'
12811               compiler_needs_object_CXX=yes
12812
12813               # Not sure whether something based on
12814               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12815               # would be better.
12816               output_verbose_link_cmd='func_echo_all'
12817
12818               # Archives containing C++ object files must be created using
12819               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12820               # necessary to make sure instantiated templates are included
12821               # in the archive.
12822               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12823               ;;
12824             esac
12825             ;;
12826         esac
12827         ;;
12828
12829       lynxos*)
12830         # FIXME: insert proper C++ library support
12831         ld_shlibs_CXX=no
12832         ;;
12833
12834       m88k*)
12835         # FIXME: insert proper C++ library support
12836         ld_shlibs_CXX=no
12837         ;;
12838
12839       mvs*)
12840         case $cc_basename in
12841           cxx*)
12842             # FIXME: insert proper C++ library support
12843             ld_shlibs_CXX=no
12844             ;;
12845           *)
12846             # FIXME: insert proper C++ library support
12847             ld_shlibs_CXX=no
12848             ;;
12849         esac
12850         ;;
12851
12852       netbsd*)
12853         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12854           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12855           wlarc=
12856           hardcode_libdir_flag_spec_CXX='-R$libdir'
12857           hardcode_direct_CXX=yes
12858           hardcode_shlibpath_var_CXX=no
12859         fi
12860         # Workaround some broken pre-1.5 toolchains
12861         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12862         ;;
12863
12864       *nto* | *qnx*)
12865         ld_shlibs_CXX=yes
12866         ;;
12867
12868       openbsd2*)
12869         # C++ shared libraries are fairly broken
12870         ld_shlibs_CXX=no
12871         ;;
12872
12873       openbsd*)
12874         if test -f /usr/libexec/ld.so; then
12875           hardcode_direct_CXX=yes
12876           hardcode_shlibpath_var_CXX=no
12877           hardcode_direct_absolute_CXX=yes
12878           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12879           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12880           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12881             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12882             export_dynamic_flag_spec_CXX='${wl}-E'
12883             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12884           fi
12885           output_verbose_link_cmd=func_echo_all
12886         else
12887           ld_shlibs_CXX=no
12888         fi
12889         ;;
12890
12891       osf3* | osf4* | osf5*)
12892         case $cc_basename in
12893           KCC*)
12894             # Kuck and Associates, Inc. (KAI) C++ Compiler
12895
12896             # KCC will only create a shared library if the output file
12897             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12898             # to its proper name (with version) after linking.
12899             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'
12900
12901             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902             hardcode_libdir_separator_CXX=:
12903
12904             # Archives containing C++ object files must be created using
12905             # the KAI C++ compiler.
12906             case $host in
12907               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12908               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12909             esac
12910             ;;
12911           RCC*)
12912             # Rational C++ 2.4.1
12913             # FIXME: insert proper C++ library support
12914             ld_shlibs_CXX=no
12915             ;;
12916           cxx*)
12917             case $host in
12918               osf3*)
12919                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12920                 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'
12921                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12922                 ;;
12923               *)
12924                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12925                 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'
12926                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12927                   echo "-hidden">> $lib.exp~
12928                   $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~
12929                   $RM $lib.exp'
12930                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12931                 ;;
12932             esac
12933
12934             hardcode_libdir_separator_CXX=:
12935
12936             # Commands to make compiler produce verbose output that lists
12937             # what "hidden" libraries, object files and flags are used when
12938             # linking a shared library.
12939             #
12940             # There doesn't appear to be a way to prevent this compiler from
12941             # explicitly linking system object files so we need to strip them
12942             # from the output so that they don't get included in the library
12943             # dependencies.
12944             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"'
12945             ;;
12946           *)
12947             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12948               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12949               case $host in
12950                 osf3*)
12951                   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'
12952                   ;;
12953                 *)
12954                   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'
12955                   ;;
12956               esac
12957
12958               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12959               hardcode_libdir_separator_CXX=:
12960
12961               # Commands to make compiler produce verbose output that lists
12962               # what "hidden" libraries, object files and flags are used when
12963               # linking a shared library.
12964               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12965
12966             else
12967               # FIXME: insert proper C++ library support
12968               ld_shlibs_CXX=no
12969             fi
12970             ;;
12971         esac
12972         ;;
12973
12974       psos*)
12975         # FIXME: insert proper C++ library support
12976         ld_shlibs_CXX=no
12977         ;;
12978
12979       sunos4*)
12980         case $cc_basename in
12981           CC*)
12982             # Sun C++ 4.x
12983             # FIXME: insert proper C++ library support
12984             ld_shlibs_CXX=no
12985             ;;
12986           lcc*)
12987             # Lucid
12988             # FIXME: insert proper C++ library support
12989             ld_shlibs_CXX=no
12990             ;;
12991           *)
12992             # FIXME: insert proper C++ library support
12993             ld_shlibs_CXX=no
12994             ;;
12995         esac
12996         ;;
12997
12998       solaris*)
12999         case $cc_basename in
13000           CC*)
13001             # Sun C++ 4.2, 5.x and Centerline C++
13002             archive_cmds_need_lc_CXX=yes
13003             no_undefined_flag_CXX=' -zdefs'
13004             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13005             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13006               $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'
13007
13008             hardcode_libdir_flag_spec_CXX='-R$libdir'
13009             hardcode_shlibpath_var_CXX=no
13010             case $host_os in
13011               solaris2.[0-5] | solaris2.[0-5].*) ;;
13012               *)
13013                 # The compiler driver will combine and reorder linker options,
13014                 # but understands `-z linker_flag'.
13015                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13016                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13017                 ;;
13018             esac
13019             link_all_deplibs_CXX=yes
13020
13021             output_verbose_link_cmd='func_echo_all'
13022
13023             # Archives containing C++ object files must be created using
13024             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13025             # necessary to make sure instantiated templates are included
13026             # in the archive.
13027             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13028             ;;
13029           gcx*)
13030             # Green Hills C++ Compiler
13031             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13032
13033             # The C++ compiler must be used to create the archive.
13034             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13035             ;;
13036           *)
13037             # GNU C++ compiler with Solaris linker
13038             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13039               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13040               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13041                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13042                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13043                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13044
13045                 # Commands to make compiler produce verbose output that lists
13046                 # what "hidden" libraries, object files and flags are used when
13047                 # linking a shared library.
13048                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13049               else
13050                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13051                 # platform.
13052                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13053                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13054                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13055
13056                 # Commands to make compiler produce verbose output that lists
13057                 # what "hidden" libraries, object files and flags are used when
13058                 # linking a shared library.
13059                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13060               fi
13061
13062               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13063               case $host_os in
13064                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13065                 *)
13066                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13067                   ;;
13068               esac
13069             fi
13070             ;;
13071         esac
13072         ;;
13073
13074     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13075       no_undefined_flag_CXX='${wl}-z,text'
13076       archive_cmds_need_lc_CXX=no
13077       hardcode_shlibpath_var_CXX=no
13078       runpath_var='LD_RUN_PATH'
13079
13080       case $cc_basename in
13081         CC*)
13082           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13083           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13084           ;;
13085         *)
13086           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088           ;;
13089       esac
13090       ;;
13091
13092       sysv5* | sco3.2v5* | sco5v6*)
13093         # Note: We can NOT use -z defs as we might desire, because we do not
13094         # link with -lc, and that would cause any symbols used from libc to
13095         # always be unresolved, which means just about no library would
13096         # ever link correctly.  If we're not using GNU ld we use -z text
13097         # though, which does catch some bad symbols but isn't as heavy-handed
13098         # as -z defs.
13099         no_undefined_flag_CXX='${wl}-z,text'
13100         allow_undefined_flag_CXX='${wl}-z,nodefs'
13101         archive_cmds_need_lc_CXX=no
13102         hardcode_shlibpath_var_CXX=no
13103         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13104         hardcode_libdir_separator_CXX=':'
13105         link_all_deplibs_CXX=yes
13106         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13107         runpath_var='LD_RUN_PATH'
13108
13109         case $cc_basename in
13110           CC*)
13111             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13114               '"$old_archive_cmds_CXX"
13115             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13116               '"$reload_cmds_CXX"
13117             ;;
13118           *)
13119             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121             ;;
13122         esac
13123       ;;
13124
13125       tandem*)
13126         case $cc_basename in
13127           NCC*)
13128             # NonStop-UX NCC 3.20
13129             # FIXME: insert proper C++ library support
13130             ld_shlibs_CXX=no
13131             ;;
13132           *)
13133             # FIXME: insert proper C++ library support
13134             ld_shlibs_CXX=no
13135             ;;
13136         esac
13137         ;;
13138
13139       vxworks*)
13140         # FIXME: insert proper C++ library support
13141         ld_shlibs_CXX=no
13142         ;;
13143
13144       *)
13145         # FIXME: insert proper C++ library support
13146         ld_shlibs_CXX=no
13147         ;;
13148     esac
13149
13150     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13151 $as_echo "$ld_shlibs_CXX" >&6; }
13152     test "$ld_shlibs_CXX" = no && can_build_shared=no
13153
13154     GCC_CXX="$GXX"
13155     LD_CXX="$LD"
13156
13157     ## CAVEAT EMPTOR:
13158     ## There is no encapsulation within the following macros, do not change
13159     ## the running order or otherwise move them around unless you know exactly
13160     ## what you are doing...
13161     # Dependencies to place before and after the object being linked:
13162 predep_objects_CXX=
13163 postdep_objects_CXX=
13164 predeps_CXX=
13165 postdeps_CXX=
13166 compiler_lib_search_path_CXX=
13167
13168 cat > conftest.$ac_ext <<_LT_EOF
13169 class Foo
13170 {
13171 public:
13172   Foo (void) { a = 0; }
13173 private:
13174   int a;
13175 };
13176 _LT_EOF
13177
13178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13179   (eval $ac_compile) 2>&5
13180   ac_status=$?
13181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13182   test $ac_status = 0; }; then
13183   # Parse the compiler output and extract the necessary
13184   # objects, libraries and library flags.
13185
13186   # Sentinel used to keep track of whether or not we are before
13187   # the conftest object file.
13188   pre_test_object_deps_done=no
13189
13190   for p in `eval "$output_verbose_link_cmd"`; do
13191     case $p in
13192
13193     -L* | -R* | -l*)
13194        # Some compilers place space between "-{L,R}" and the path.
13195        # Remove the space.
13196        if test $p = "-L" ||
13197           test $p = "-R"; then
13198          prev=$p
13199          continue
13200        else
13201          prev=
13202        fi
13203
13204        if test "$pre_test_object_deps_done" = no; then
13205          case $p in
13206          -L* | -R*)
13207            # Internal compiler library paths should come after those
13208            # provided the user.  The postdeps already come after the
13209            # user supplied libs so there is no need to process them.
13210            if test -z "$compiler_lib_search_path_CXX"; then
13211              compiler_lib_search_path_CXX="${prev}${p}"
13212            else
13213              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13214            fi
13215            ;;
13216          # The "-l" case would never come before the object being
13217          # linked, so don't bother handling this case.
13218          esac
13219        else
13220          if test -z "$postdeps_CXX"; then
13221            postdeps_CXX="${prev}${p}"
13222          else
13223            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13224          fi
13225        fi
13226        ;;
13227
13228     *.$objext)
13229        # This assumes that the test object file only shows up
13230        # once in the compiler output.
13231        if test "$p" = "conftest.$objext"; then
13232          pre_test_object_deps_done=yes
13233          continue
13234        fi
13235
13236        if test "$pre_test_object_deps_done" = no; then
13237          if test -z "$predep_objects_CXX"; then
13238            predep_objects_CXX="$p"
13239          else
13240            predep_objects_CXX="$predep_objects_CXX $p"
13241          fi
13242        else
13243          if test -z "$postdep_objects_CXX"; then
13244            postdep_objects_CXX="$p"
13245          else
13246            postdep_objects_CXX="$postdep_objects_CXX $p"
13247          fi
13248        fi
13249        ;;
13250
13251     *) ;; # Ignore the rest.
13252
13253     esac
13254   done
13255
13256   # Clean up.
13257   rm -f a.out a.exe
13258 else
13259   echo "libtool.m4: error: problem compiling CXX test program"
13260 fi
13261
13262 $RM -f confest.$objext
13263
13264 # PORTME: override above test on systems where it is broken
13265 case $host_os in
13266 interix[3-9]*)
13267   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13268   # hack all around it, let's just trust "g++" to DTRT.
13269   predep_objects_CXX=
13270   postdep_objects_CXX=
13271   postdeps_CXX=
13272   ;;
13273
13274 linux*)
13275   case `$CC -V 2>&1 | sed 5q` in
13276   *Sun\ C*)
13277     # Sun C++ 5.9
13278
13279     # The more standards-conforming stlport4 library is
13280     # incompatible with the Cstd library. Avoid specifying
13281     # it if it's in CXXFLAGS. Ignore libCrun as
13282     # -library=stlport4 depends on it.
13283     case " $CXX $CXXFLAGS " in
13284     *" -library=stlport4 "*)
13285       solaris_use_stlport4=yes
13286       ;;
13287     esac
13288
13289     if test "$solaris_use_stlport4" != yes; then
13290       postdeps_CXX='-library=Cstd -library=Crun'
13291     fi
13292     ;;
13293   esac
13294   ;;
13295
13296 solaris*)
13297   case $cc_basename in
13298   CC*)
13299     # The more standards-conforming stlport4 library is
13300     # incompatible with the Cstd library. Avoid specifying
13301     # it if it's in CXXFLAGS. Ignore libCrun as
13302     # -library=stlport4 depends on it.
13303     case " $CXX $CXXFLAGS " in
13304     *" -library=stlport4 "*)
13305       solaris_use_stlport4=yes
13306       ;;
13307     esac
13308
13309     # Adding this requires a known-good setup of shared libraries for
13310     # Sun compiler versions before 5.6, else PIC objects from an old
13311     # archive will be linked into the output, leading to subtle bugs.
13312     if test "$solaris_use_stlport4" != yes; then
13313       postdeps_CXX='-library=Cstd -library=Crun'
13314     fi
13315     ;;
13316   esac
13317   ;;
13318 esac
13319
13320
13321 case " $postdeps_CXX " in
13322 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13323 esac
13324  compiler_lib_search_dirs_CXX=
13325 if test -n "${compiler_lib_search_path_CXX}"; then
13326  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13327 fi
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359     lt_prog_compiler_wl_CXX=
13360 lt_prog_compiler_pic_CXX=
13361 lt_prog_compiler_static_CXX=
13362
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13364 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13365
13366   # C++ specific cases for pic, static, wl, etc.
13367   if test "$GXX" = yes; then
13368     lt_prog_compiler_wl_CXX='-Wl,'
13369     lt_prog_compiler_static_CXX='-static'
13370
13371     case $host_os in
13372     aix*)
13373       # All AIX code is PIC.
13374       if test "$host_cpu" = ia64; then
13375         # AIX 5 now supports IA64 processor
13376         lt_prog_compiler_static_CXX='-Bstatic'
13377       fi
13378       ;;
13379
13380     amigaos*)
13381       case $host_cpu in
13382       powerpc)
13383             # see comment about AmigaOS4 .so support
13384             lt_prog_compiler_pic_CXX='-fPIC'
13385         ;;
13386       m68k)
13387             # FIXME: we need at least 68020 code to build shared libraries, but
13388             # adding the `-m68020' flag to GCC prevents building anything better,
13389             # like `-m68040'.
13390             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13391         ;;
13392       esac
13393       ;;
13394
13395     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13396       # PIC is the default for these OSes.
13397       ;;
13398     mingw* | cygwin* | os2* | pw32* | cegcc*)
13399       # This hack is so that the source file can tell whether it is being
13400       # built for inclusion in a dll (and should export symbols for example).
13401       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13402       # (--disable-auto-import) libraries
13403       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13404       ;;
13405     darwin* | rhapsody*)
13406       # PIC is the default on this platform
13407       # Common symbols not allowed in MH_DYLIB files
13408       lt_prog_compiler_pic_CXX='-fno-common'
13409       ;;
13410     *djgpp*)
13411       # DJGPP does not support shared libraries at all
13412       lt_prog_compiler_pic_CXX=
13413       ;;
13414     haiku*)
13415       # PIC is the default for Haiku.
13416       # The "-static" flag exists, but is broken.
13417       lt_prog_compiler_static_CXX=
13418       ;;
13419     interix[3-9]*)
13420       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13421       # Instead, we relocate shared libraries at runtime.
13422       ;;
13423     sysv4*MP*)
13424       if test -d /usr/nec; then
13425         lt_prog_compiler_pic_CXX=-Kconform_pic
13426       fi
13427       ;;
13428     hpux*)
13429       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13430       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13431       # sets the default TLS model and affects inlining.
13432       case $host_cpu in
13433       hppa*64*)
13434         ;;
13435       *)
13436         lt_prog_compiler_pic_CXX='-fPIC'
13437         ;;
13438       esac
13439       ;;
13440     *qnx* | *nto*)
13441       # QNX uses GNU C++, but need to define -shared option too, otherwise
13442       # it will coredump.
13443       lt_prog_compiler_pic_CXX='-fPIC -shared'
13444       ;;
13445     *)
13446       lt_prog_compiler_pic_CXX='-fPIC'
13447       ;;
13448     esac
13449   else
13450     case $host_os in
13451       aix[4-9]*)
13452         # All AIX code is PIC.
13453         if test "$host_cpu" = ia64; then
13454           # AIX 5 now supports IA64 processor
13455           lt_prog_compiler_static_CXX='-Bstatic'
13456         else
13457           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13458         fi
13459         ;;
13460       chorus*)
13461         case $cc_basename in
13462         cxch68*)
13463           # Green Hills C++ Compiler
13464           # _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"
13465           ;;
13466         esac
13467         ;;
13468       dgux*)
13469         case $cc_basename in
13470           ec++*)
13471             lt_prog_compiler_pic_CXX='-KPIC'
13472             ;;
13473           ghcx*)
13474             # Green Hills C++ Compiler
13475             lt_prog_compiler_pic_CXX='-pic'
13476             ;;
13477           *)
13478             ;;
13479         esac
13480         ;;
13481       freebsd* | dragonfly*)
13482         # FreeBSD uses GNU C++
13483         ;;
13484       hpux9* | hpux10* | hpux11*)
13485         case $cc_basename in
13486           CC*)
13487             lt_prog_compiler_wl_CXX='-Wl,'
13488             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13489             if test "$host_cpu" != ia64; then
13490               lt_prog_compiler_pic_CXX='+Z'
13491             fi
13492             ;;
13493           aCC*)
13494             lt_prog_compiler_wl_CXX='-Wl,'
13495             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13496             case $host_cpu in
13497             hppa*64*|ia64*)
13498               # +Z the default
13499               ;;
13500             *)
13501               lt_prog_compiler_pic_CXX='+Z'
13502               ;;
13503             esac
13504             ;;
13505           *)
13506             ;;
13507         esac
13508         ;;
13509       interix*)
13510         # This is c89, which is MS Visual C++ (no shared libs)
13511         # Anyone wants to do a port?
13512         ;;
13513       irix5* | irix6* | nonstopux*)
13514         case $cc_basename in
13515           CC*)
13516             lt_prog_compiler_wl_CXX='-Wl,'
13517             lt_prog_compiler_static_CXX='-non_shared'
13518             # CC pic flag -KPIC is the default.
13519             ;;
13520           *)
13521             ;;
13522         esac
13523         ;;
13524       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13525         case $cc_basename in
13526           KCC*)
13527             # KAI C++ Compiler
13528             lt_prog_compiler_wl_CXX='--backend -Wl,'
13529             lt_prog_compiler_pic_CXX='-fPIC'
13530             ;;
13531           ecpc* )
13532             # old Intel C++ for x86_64 which still supported -KPIC.
13533             lt_prog_compiler_wl_CXX='-Wl,'
13534             lt_prog_compiler_pic_CXX='-KPIC'
13535             lt_prog_compiler_static_CXX='-static'
13536             ;;
13537           icpc* )
13538             # Intel C++, used to be incompatible with GCC.
13539             # ICC 10 doesn't accept -KPIC any more.
13540             lt_prog_compiler_wl_CXX='-Wl,'
13541             lt_prog_compiler_pic_CXX='-fPIC'
13542             lt_prog_compiler_static_CXX='-static'
13543             ;;
13544           pgCC* | pgcpp*)
13545             # Portland Group C++ compiler
13546             lt_prog_compiler_wl_CXX='-Wl,'
13547             lt_prog_compiler_pic_CXX='-fpic'
13548             lt_prog_compiler_static_CXX='-Bstatic'
13549             ;;
13550           cxx*)
13551             # Compaq C++
13552             # Make sure the PIC flag is empty.  It appears that all Alpha
13553             # Linux and Compaq Tru64 Unix objects are PIC.
13554             lt_prog_compiler_pic_CXX=
13555             lt_prog_compiler_static_CXX='-non_shared'
13556             ;;
13557           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13558             # IBM XL 8.0, 9.0 on PPC and BlueGene
13559             lt_prog_compiler_wl_CXX='-Wl,'
13560             lt_prog_compiler_pic_CXX='-qpic'
13561             lt_prog_compiler_static_CXX='-qstaticlink'
13562             ;;
13563           *)
13564             case `$CC -V 2>&1 | sed 5q` in
13565             *Sun\ C*)
13566               # Sun C++ 5.9
13567               lt_prog_compiler_pic_CXX='-KPIC'
13568               lt_prog_compiler_static_CXX='-Bstatic'
13569               lt_prog_compiler_wl_CXX='-Qoption ld '
13570               ;;
13571             esac
13572             ;;
13573         esac
13574         ;;
13575       lynxos*)
13576         ;;
13577       m88k*)
13578         ;;
13579       mvs*)
13580         case $cc_basename in
13581           cxx*)
13582             lt_prog_compiler_pic_CXX='-W c,exportall'
13583             ;;
13584           *)
13585             ;;
13586         esac
13587         ;;
13588       netbsd*)
13589         ;;
13590       *qnx* | *nto*)
13591         # QNX uses GNU C++, but need to define -shared option too, otherwise
13592         # it will coredump.
13593         lt_prog_compiler_pic_CXX='-fPIC -shared'
13594         ;;
13595       osf3* | osf4* | osf5*)
13596         case $cc_basename in
13597           KCC*)
13598             lt_prog_compiler_wl_CXX='--backend -Wl,'
13599             ;;
13600           RCC*)
13601             # Rational C++ 2.4.1
13602             lt_prog_compiler_pic_CXX='-pic'
13603             ;;
13604           cxx*)
13605             # Digital/Compaq C++
13606             lt_prog_compiler_wl_CXX='-Wl,'
13607             # Make sure the PIC flag is empty.  It appears that all Alpha
13608             # Linux and Compaq Tru64 Unix objects are PIC.
13609             lt_prog_compiler_pic_CXX=
13610             lt_prog_compiler_static_CXX='-non_shared'
13611             ;;
13612           *)
13613             ;;
13614         esac
13615         ;;
13616       psos*)
13617         ;;
13618       solaris*)
13619         case $cc_basename in
13620           CC*)
13621             # Sun C++ 4.2, 5.x and Centerline C++
13622             lt_prog_compiler_pic_CXX='-KPIC'
13623             lt_prog_compiler_static_CXX='-Bstatic'
13624             lt_prog_compiler_wl_CXX='-Qoption ld '
13625             ;;
13626           gcx*)
13627             # Green Hills C++ Compiler
13628             lt_prog_compiler_pic_CXX='-PIC'
13629             ;;
13630           *)
13631             ;;
13632         esac
13633         ;;
13634       sunos4*)
13635         case $cc_basename in
13636           CC*)
13637             # Sun C++ 4.x
13638             lt_prog_compiler_pic_CXX='-pic'
13639             lt_prog_compiler_static_CXX='-Bstatic'
13640             ;;
13641           lcc*)
13642             # Lucid
13643             lt_prog_compiler_pic_CXX='-pic'
13644             ;;
13645           *)
13646             ;;
13647         esac
13648         ;;
13649       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13650         case $cc_basename in
13651           CC*)
13652             lt_prog_compiler_wl_CXX='-Wl,'
13653             lt_prog_compiler_pic_CXX='-KPIC'
13654             lt_prog_compiler_static_CXX='-Bstatic'
13655             ;;
13656         esac
13657         ;;
13658       tandem*)
13659         case $cc_basename in
13660           NCC*)
13661             # NonStop-UX NCC 3.20
13662             lt_prog_compiler_pic_CXX='-KPIC'
13663             ;;
13664           *)
13665             ;;
13666         esac
13667         ;;
13668       vxworks*)
13669         ;;
13670       *)
13671         lt_prog_compiler_can_build_shared_CXX=no
13672         ;;
13673     esac
13674   fi
13675
13676 case $host_os in
13677   # For platforms which do not support PIC, -DPIC is meaningless:
13678   *djgpp*)
13679     lt_prog_compiler_pic_CXX=
13680     ;;
13681   *)
13682     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13683     ;;
13684 esac
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13686 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13687
13688
13689
13690 #
13691 # Check to make sure the PIC flag actually works.
13692 #
13693 if test -n "$lt_prog_compiler_pic_CXX"; then
13694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13695 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13696 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13697   $as_echo_n "(cached) " >&6
13698 else
13699   lt_cv_prog_compiler_pic_works_CXX=no
13700    ac_outfile=conftest.$ac_objext
13701    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13702    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13703    # Insert the option either (1) after the last *FLAGS variable, or
13704    # (2) before a word containing "conftest.", or (3) at the end.
13705    # Note that $ac_compile itself does not contain backslashes and begins
13706    # with a dollar sign (not a hyphen), so the echo should work correctly.
13707    # The option is referenced via a variable to avoid confusing sed.
13708    lt_compile=`echo "$ac_compile" | $SED \
13709    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13710    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13711    -e 's:$: $lt_compiler_flag:'`
13712    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13713    (eval "$lt_compile" 2>conftest.err)
13714    ac_status=$?
13715    cat conftest.err >&5
13716    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717    if (exit $ac_status) && test -s "$ac_outfile"; then
13718      # The compiler can only warn and ignore the option if not recognized
13719      # So say no if there are warnings other than the usual output.
13720      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13721      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13722      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13723        lt_cv_prog_compiler_pic_works_CXX=yes
13724      fi
13725    fi
13726    $RM conftest*
13727
13728 fi
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13730 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13731
13732 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13733     case $lt_prog_compiler_pic_CXX in
13734      "" | " "*) ;;
13735      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13736      esac
13737 else
13738     lt_prog_compiler_pic_CXX=
13739      lt_prog_compiler_can_build_shared_CXX=no
13740 fi
13741
13742 fi
13743
13744
13745
13746 #
13747 # Check to make sure the static flag actually works.
13748 #
13749 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13751 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13752 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13753   $as_echo_n "(cached) " >&6
13754 else
13755   lt_cv_prog_compiler_static_works_CXX=no
13756    save_LDFLAGS="$LDFLAGS"
13757    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13758    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13759    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13760      # The linker can only warn and ignore the option if not recognized
13761      # So say no if there are warnings
13762      if test -s conftest.err; then
13763        # Append any errors to the config.log.
13764        cat conftest.err 1>&5
13765        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13766        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13767        if diff conftest.exp conftest.er2 >/dev/null; then
13768          lt_cv_prog_compiler_static_works_CXX=yes
13769        fi
13770      else
13771        lt_cv_prog_compiler_static_works_CXX=yes
13772      fi
13773    fi
13774    $RM -r conftest*
13775    LDFLAGS="$save_LDFLAGS"
13776
13777 fi
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13779 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13780
13781 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13782     :
13783 else
13784     lt_prog_compiler_static_CXX=
13785 fi
13786
13787
13788
13789
13790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13791 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13792 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13793   $as_echo_n "(cached) " >&6
13794 else
13795   lt_cv_prog_compiler_c_o_CXX=no
13796    $RM -r conftest 2>/dev/null
13797    mkdir conftest
13798    cd conftest
13799    mkdir out
13800    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13801
13802    lt_compiler_flag="-o out/conftest2.$ac_objext"
13803    # Insert the option either (1) after the last *FLAGS variable, or
13804    # (2) before a word containing "conftest.", or (3) at the end.
13805    # Note that $ac_compile itself does not contain backslashes and begins
13806    # with a dollar sign (not a hyphen), so the echo should work correctly.
13807    lt_compile=`echo "$ac_compile" | $SED \
13808    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13809    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13810    -e 's:$: $lt_compiler_flag:'`
13811    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13812    (eval "$lt_compile" 2>out/conftest.err)
13813    ac_status=$?
13814    cat out/conftest.err >&5
13815    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13817    then
13818      # The compiler can only warn and ignore the option if not recognized
13819      # So say no if there are warnings
13820      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13821      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13822      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13823        lt_cv_prog_compiler_c_o_CXX=yes
13824      fi
13825    fi
13826    chmod u+w . 2>&5
13827    $RM conftest*
13828    # SGI C++ compiler will create directory out/ii_files/ for
13829    # template instantiation
13830    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13831    $RM out/* && rmdir out
13832    cd ..
13833    $RM -r conftest
13834    $RM conftest*
13835
13836 fi
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13838 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13839
13840
13841
13842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13843 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13844 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13845   $as_echo_n "(cached) " >&6
13846 else
13847   lt_cv_prog_compiler_c_o_CXX=no
13848    $RM -r conftest 2>/dev/null
13849    mkdir conftest
13850    cd conftest
13851    mkdir out
13852    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13853
13854    lt_compiler_flag="-o out/conftest2.$ac_objext"
13855    # Insert the option either (1) after the last *FLAGS variable, or
13856    # (2) before a word containing "conftest.", or (3) at the end.
13857    # Note that $ac_compile itself does not contain backslashes and begins
13858    # with a dollar sign (not a hyphen), so the echo should work correctly.
13859    lt_compile=`echo "$ac_compile" | $SED \
13860    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13861    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13862    -e 's:$: $lt_compiler_flag:'`
13863    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13864    (eval "$lt_compile" 2>out/conftest.err)
13865    ac_status=$?
13866    cat out/conftest.err >&5
13867    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13869    then
13870      # The compiler can only warn and ignore the option if not recognized
13871      # So say no if there are warnings
13872      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13873      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13874      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13875        lt_cv_prog_compiler_c_o_CXX=yes
13876      fi
13877    fi
13878    chmod u+w . 2>&5
13879    $RM conftest*
13880    # SGI C++ compiler will create directory out/ii_files/ for
13881    # template instantiation
13882    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13883    $RM out/* && rmdir out
13884    cd ..
13885    $RM -r conftest
13886    $RM conftest*
13887
13888 fi
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13890 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13891
13892
13893
13894
13895 hard_links="nottested"
13896 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13897   # do not overwrite the value of need_locks provided by the user
13898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13899 $as_echo_n "checking if we can lock with hard links... " >&6; }
13900   hard_links=yes
13901   $RM conftest*
13902   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13903   touch conftest.a
13904   ln conftest.a conftest.b 2>&5 || hard_links=no
13905   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13907 $as_echo "$hard_links" >&6; }
13908   if test "$hard_links" = no; then
13909     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13910 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13911     need_locks=warn
13912   fi
13913 else
13914   need_locks=no
13915 fi
13916
13917
13918
13919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13920 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13921
13922   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13923   case $host_os in
13924   aix[4-9]*)
13925     # If we're using GNU nm, then we don't want the "-C" option.
13926     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13927     # Also, AIX nm treats weak defined symbols like other global defined
13928     # symbols, whereas GNU nm marks them as "W".
13929     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13930       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'
13931     else
13932       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'
13933     fi
13934     ;;
13935   pw32*)
13936     export_symbols_cmds_CXX="$ltdll_cmds"
13937   ;;
13938   cygwin* | mingw* | cegcc*)
13939     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'
13940   ;;
13941   *)
13942     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13943   ;;
13944   esac
13945   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13946
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13948 $as_echo "$ld_shlibs_CXX" >&6; }
13949 test "$ld_shlibs_CXX" = no && can_build_shared=no
13950
13951 with_gnu_ld_CXX=$with_gnu_ld
13952
13953
13954
13955
13956
13957
13958 #
13959 # Do we need to explicitly link libc?
13960 #
13961 case "x$archive_cmds_need_lc_CXX" in
13962 x|xyes)
13963   # Assume -lc should be added
13964   archive_cmds_need_lc_CXX=yes
13965
13966   if test "$enable_shared" = yes && test "$GCC" = yes; then
13967     case $archive_cmds_CXX in
13968     *'~'*)
13969       # FIXME: we may have to deal with multi-command sequences.
13970       ;;
13971     '$CC '*)
13972       # Test whether the compiler implicitly links with -lc since on some
13973       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13974       # to ld, don't add -lc before -lgcc.
13975       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13976 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13977 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13978   $as_echo_n "(cached) " >&6
13979 else
13980   $RM conftest*
13981         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982
13983         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13984   (eval $ac_compile) 2>&5
13985   ac_status=$?
13986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13987   test $ac_status = 0; } 2>conftest.err; then
13988           soname=conftest
13989           lib=conftest
13990           libobjs=conftest.$ac_objext
13991           deplibs=
13992           wl=$lt_prog_compiler_wl_CXX
13993           pic_flag=$lt_prog_compiler_pic_CXX
13994           compiler_flags=-v
13995           linker_flags=-v
13996           verstring=
13997           output_objdir=.
13998           libname=conftest
13999           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14000           allow_undefined_flag_CXX=
14001           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14002   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14003   ac_status=$?
14004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14005   test $ac_status = 0; }
14006           then
14007             lt_cv_archive_cmds_need_lc_CXX=no
14008           else
14009             lt_cv_archive_cmds_need_lc_CXX=yes
14010           fi
14011           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14012         else
14013           cat conftest.err 1>&5
14014         fi
14015         $RM conftest*
14016
14017 fi
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14019 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14020       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14021       ;;
14022     esac
14023   fi
14024   ;;
14025 esac
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14091 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14092
14093 library_names_spec=
14094 libname_spec='lib$name'
14095 soname_spec=
14096 shrext_cmds=".so"
14097 postinstall_cmds=
14098 postuninstall_cmds=
14099 finish_cmds=
14100 finish_eval=
14101 shlibpath_var=
14102 shlibpath_overrides_runpath=unknown
14103 version_type=none
14104 dynamic_linker="$host_os ld.so"
14105 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14106 need_lib_prefix=unknown
14107 hardcode_into_libs=no
14108
14109 # when you set need_version to no, make sure it does not cause -set_version
14110 # flags to be left without arguments
14111 need_version=unknown
14112
14113 case $host_os in
14114 aix3*)
14115   version_type=linux
14116   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14117   shlibpath_var=LIBPATH
14118
14119   # AIX 3 has no versioning support, so we append a major version to the name.
14120   soname_spec='${libname}${release}${shared_ext}$major'
14121   ;;
14122
14123 aix[4-9]*)
14124   version_type=linux
14125   need_lib_prefix=no
14126   need_version=no
14127   hardcode_into_libs=yes
14128   if test "$host_cpu" = ia64; then
14129     # AIX 5 supports IA64
14130     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14131     shlibpath_var=LD_LIBRARY_PATH
14132   else
14133     # With GCC up to 2.95.x, collect2 would create an import file
14134     # for dependence libraries.  The import file would start with
14135     # the line `#! .'.  This would cause the generated library to
14136     # depend on `.', always an invalid library.  This was fixed in
14137     # development snapshots of GCC prior to 3.0.
14138     case $host_os in
14139       aix4 | aix4.[01] | aix4.[01].*)
14140       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14141            echo ' yes '
14142            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14143         :
14144       else
14145         can_build_shared=no
14146       fi
14147       ;;
14148     esac
14149     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14150     # soname into executable. Probably we can add versioning support to
14151     # collect2, so additional links can be useful in future.
14152     if test "$aix_use_runtimelinking" = yes; then
14153       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14154       # instead of lib<name>.a to let people know that these are not
14155       # typical AIX shared libraries.
14156       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14157     else
14158       # We preserve .a as extension for shared libraries through AIX4.2
14159       # and later when we are not doing run time linking.
14160       library_names_spec='${libname}${release}.a $libname.a'
14161       soname_spec='${libname}${release}${shared_ext}$major'
14162     fi
14163     shlibpath_var=LIBPATH
14164   fi
14165   ;;
14166
14167 amigaos*)
14168   case $host_cpu in
14169   powerpc)
14170     # Since July 2007 AmigaOS4 officially supports .so libraries.
14171     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14172     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14173     ;;
14174   m68k)
14175     library_names_spec='$libname.ixlibrary $libname.a'
14176     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14177     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'
14178     ;;
14179   esac
14180   ;;
14181
14182 beos*)
14183   library_names_spec='${libname}${shared_ext}'
14184   dynamic_linker="$host_os ld.so"
14185   shlibpath_var=LIBRARY_PATH
14186   ;;
14187
14188 bsdi[45]*)
14189   version_type=linux
14190   need_version=no
14191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192   soname_spec='${libname}${release}${shared_ext}$major'
14193   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14194   shlibpath_var=LD_LIBRARY_PATH
14195   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14196   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14197   # the default ld.so.conf also contains /usr/contrib/lib and
14198   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14199   # libtool to hard-code these into programs
14200   ;;
14201
14202 cygwin* | mingw* | pw32* | cegcc*)
14203   version_type=windows
14204   shrext_cmds=".dll"
14205   need_version=no
14206   need_lib_prefix=no
14207
14208   case $GCC,$host_os in
14209   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14210     library_names_spec='$libname.dll.a'
14211     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14212     postinstall_cmds='base_file=`basename \${file}`~
14213       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14214       dldir=$destdir/`dirname \$dlpath`~
14215       test -d \$dldir || mkdir -p \$dldir~
14216       $install_prog $dir/$dlname \$dldir/$dlname~
14217       chmod a+x \$dldir/$dlname~
14218       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14219         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14220       fi'
14221     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14222       dlpath=$dir/\$dldll~
14223        $RM \$dlpath'
14224     shlibpath_overrides_runpath=yes
14225
14226     case $host_os in
14227     cygwin*)
14228       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14229       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14230
14231       ;;
14232     mingw* | cegcc*)
14233       # MinGW DLLs use traditional 'lib' prefix
14234       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14235       ;;
14236     pw32*)
14237       # pw32 DLLs use 'pw' prefix rather than 'lib'
14238       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14239       ;;
14240     esac
14241     ;;
14242
14243   *)
14244     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14245     ;;
14246   esac
14247   dynamic_linker='Win32 ld.exe'
14248   # FIXME: first we should search . and the directory the executable is in
14249   shlibpath_var=PATH
14250   ;;
14251
14252 darwin* | rhapsody*)
14253   dynamic_linker="$host_os dyld"
14254   version_type=darwin
14255   need_lib_prefix=no
14256   need_version=no
14257   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14258   soname_spec='${libname}${release}${major}$shared_ext'
14259   shlibpath_overrides_runpath=yes
14260   shlibpath_var=DYLD_LIBRARY_PATH
14261   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14262
14263   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14264   ;;
14265
14266 dgux*)
14267   version_type=linux
14268   need_lib_prefix=no
14269   need_version=no
14270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14271   soname_spec='${libname}${release}${shared_ext}$major'
14272   shlibpath_var=LD_LIBRARY_PATH
14273   ;;
14274
14275 freebsd1*)
14276   dynamic_linker=no
14277   ;;
14278
14279 freebsd* | dragonfly*)
14280   # DragonFly does not have aout.  When/if they implement a new
14281   # versioning mechanism, adjust this.
14282   if test -x /usr/bin/objformat; then
14283     objformat=`/usr/bin/objformat`
14284   else
14285     case $host_os in
14286     freebsd[123]*) objformat=aout ;;
14287     *) objformat=elf ;;
14288     esac
14289   fi
14290   version_type=freebsd-$objformat
14291   case $version_type in
14292     freebsd-elf*)
14293       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14294       need_version=no
14295       need_lib_prefix=no
14296       ;;
14297     freebsd-*)
14298       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14299       need_version=yes
14300       ;;
14301   esac
14302   shlibpath_var=LD_LIBRARY_PATH
14303   case $host_os in
14304   freebsd2*)
14305     shlibpath_overrides_runpath=yes
14306     ;;
14307   freebsd3.[01]* | freebsdelf3.[01]*)
14308     shlibpath_overrides_runpath=yes
14309     hardcode_into_libs=yes
14310     ;;
14311   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14312   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14313     shlibpath_overrides_runpath=no
14314     hardcode_into_libs=yes
14315     ;;
14316   *) # from 4.6 on, and DragonFly
14317     shlibpath_overrides_runpath=yes
14318     hardcode_into_libs=yes
14319     ;;
14320   esac
14321   ;;
14322
14323 gnu*)
14324   version_type=linux
14325   need_lib_prefix=no
14326   need_version=no
14327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14328   soname_spec='${libname}${release}${shared_ext}$major'
14329   shlibpath_var=LD_LIBRARY_PATH
14330   hardcode_into_libs=yes
14331   ;;
14332
14333 haiku*)
14334   version_type=linux
14335   need_lib_prefix=no
14336   need_version=no
14337   dynamic_linker="$host_os runtime_loader"
14338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14339   soname_spec='${libname}${release}${shared_ext}$major'
14340   shlibpath_var=LIBRARY_PATH
14341   shlibpath_overrides_runpath=yes
14342   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14343   hardcode_into_libs=yes
14344   ;;
14345
14346 hpux9* | hpux10* | hpux11*)
14347   # Give a soname corresponding to the major version so that dld.sl refuses to
14348   # link against other versions.
14349   version_type=sunos
14350   need_lib_prefix=no
14351   need_version=no
14352   case $host_cpu in
14353   ia64*)
14354     shrext_cmds='.so'
14355     hardcode_into_libs=yes
14356     dynamic_linker="$host_os dld.so"
14357     shlibpath_var=LD_LIBRARY_PATH
14358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360     soname_spec='${libname}${release}${shared_ext}$major'
14361     if test "X$HPUX_IA64_MODE" = X32; then
14362       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14363     else
14364       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14365     fi
14366     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14367     ;;
14368   hppa*64*)
14369     shrext_cmds='.sl'
14370     hardcode_into_libs=yes
14371     dynamic_linker="$host_os dld.sl"
14372     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14373     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14374     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375     soname_spec='${libname}${release}${shared_ext}$major'
14376     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14377     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14378     ;;
14379   *)
14380     shrext_cmds='.sl'
14381     dynamic_linker="$host_os dld.sl"
14382     shlibpath_var=SHLIB_PATH
14383     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14384     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385     soname_spec='${libname}${release}${shared_ext}$major'
14386     ;;
14387   esac
14388   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14389   postinstall_cmds='chmod 555 $lib'
14390   # or fails outright, so override atomically:
14391   install_override_mode=555
14392   ;;
14393
14394 interix[3-9]*)
14395   version_type=linux
14396   need_lib_prefix=no
14397   need_version=no
14398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14399   soname_spec='${libname}${release}${shared_ext}$major'
14400   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14401   shlibpath_var=LD_LIBRARY_PATH
14402   shlibpath_overrides_runpath=no
14403   hardcode_into_libs=yes
14404   ;;
14405
14406 irix5* | irix6* | nonstopux*)
14407   case $host_os in
14408     nonstopux*) version_type=nonstopux ;;
14409     *)
14410         if test "$lt_cv_prog_gnu_ld" = yes; then
14411                 version_type=linux
14412         else
14413                 version_type=irix
14414         fi ;;
14415   esac
14416   need_lib_prefix=no
14417   need_version=no
14418   soname_spec='${libname}${release}${shared_ext}$major'
14419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14420   case $host_os in
14421   irix5* | nonstopux*)
14422     libsuff= shlibsuff=
14423     ;;
14424   *)
14425     case $LD in # libtool.m4 will add one of these switches to LD
14426     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14427       libsuff= shlibsuff= libmagic=32-bit;;
14428     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14429       libsuff=32 shlibsuff=N32 libmagic=N32;;
14430     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14431       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14432     *) libsuff= shlibsuff= libmagic=never-match;;
14433     esac
14434     ;;
14435   esac
14436   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14437   shlibpath_overrides_runpath=no
14438   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14439   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14440   hardcode_into_libs=yes
14441   ;;
14442
14443 # No shared lib support for Linux oldld, aout, or coff.
14444 linux*oldld* | linux*aout* | linux*coff*)
14445   dynamic_linker=no
14446   ;;
14447
14448 # This must be Linux ELF.
14449 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14450   version_type=linux
14451   need_lib_prefix=no
14452   need_version=no
14453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454   soname_spec='${libname}${release}${shared_ext}$major'
14455   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14456   shlibpath_var=LD_LIBRARY_PATH
14457   shlibpath_overrides_runpath=no
14458
14459   # Some binutils ld are patched to set DT_RUNPATH
14460   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14461   $as_echo_n "(cached) " >&6
14462 else
14463   lt_cv_shlibpath_overrides_runpath=no
14464     save_LDFLAGS=$LDFLAGS
14465     save_libdir=$libdir
14466     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14467          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14468     if test x$gcc_no_link = xyes; then
14469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14470 fi
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h.  */
14473
14474 int
14475 main ()
14476 {
14477
14478   ;
14479   return 0;
14480 }
14481 _ACEOF
14482 if ac_fn_cxx_try_link "$LINENO"; then :
14483   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14484   lt_cv_shlibpath_overrides_runpath=yes
14485 fi
14486 fi
14487 rm -f core conftest.err conftest.$ac_objext \
14488     conftest$ac_exeext conftest.$ac_ext
14489     LDFLAGS=$save_LDFLAGS
14490     libdir=$save_libdir
14491
14492 fi
14493
14494   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14495
14496   # This implies no fast_install, which is unacceptable.
14497   # Some rework will be needed to allow for fast_install
14498   # before this can be enabled.
14499   hardcode_into_libs=yes
14500
14501   # Append ld.so.conf contents to the search path
14502   if test -f /etc/ld.so.conf; then
14503     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' ' '`
14504     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14505   fi
14506
14507   # We used to test for /lib/ld.so.1 and disable shared libraries on
14508   # powerpc, because MkLinux only supported shared libraries with the
14509   # GNU dynamic linker.  Since this was broken with cross compilers,
14510   # most powerpc-linux boxes support dynamic linking these days and
14511   # people can always --disable-shared, the test was removed, and we
14512   # assume the GNU/Linux dynamic linker is in use.
14513   dynamic_linker='GNU/Linux ld.so'
14514   ;;
14515
14516 netbsd*)
14517   version_type=sunos
14518   need_lib_prefix=no
14519   need_version=no
14520   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14522     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14523     dynamic_linker='NetBSD (a.out) ld.so'
14524   else
14525     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526     soname_spec='${libname}${release}${shared_ext}$major'
14527     dynamic_linker='NetBSD ld.elf_so'
14528   fi
14529   shlibpath_var=LD_LIBRARY_PATH
14530   shlibpath_overrides_runpath=yes
14531   hardcode_into_libs=yes
14532   ;;
14533
14534 newsos6)
14535   version_type=linux
14536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537   shlibpath_var=LD_LIBRARY_PATH
14538   shlibpath_overrides_runpath=yes
14539   ;;
14540
14541 *nto* | *qnx*)
14542   version_type=qnx
14543   need_lib_prefix=no
14544   need_version=no
14545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546   soname_spec='${libname}${release}${shared_ext}$major'
14547   shlibpath_var=LD_LIBRARY_PATH
14548   shlibpath_overrides_runpath=no
14549   hardcode_into_libs=yes
14550   dynamic_linker='ldqnx.so'
14551   ;;
14552
14553 openbsd*)
14554   version_type=sunos
14555   sys_lib_dlsearch_path_spec="/usr/lib"
14556   need_lib_prefix=no
14557   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14558   case $host_os in
14559     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14560     *)                          need_version=no  ;;
14561   esac
14562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14563   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14564   shlibpath_var=LD_LIBRARY_PATH
14565   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14566     case $host_os in
14567       openbsd2.[89] | openbsd2.[89].*)
14568         shlibpath_overrides_runpath=no
14569         ;;
14570       *)
14571         shlibpath_overrides_runpath=yes
14572         ;;
14573       esac
14574   else
14575     shlibpath_overrides_runpath=yes
14576   fi
14577   ;;
14578
14579 os2*)
14580   libname_spec='$name'
14581   shrext_cmds=".dll"
14582   need_lib_prefix=no
14583   library_names_spec='$libname${shared_ext} $libname.a'
14584   dynamic_linker='OS/2 ld.exe'
14585   shlibpath_var=LIBPATH
14586   ;;
14587
14588 osf3* | osf4* | osf5*)
14589   version_type=osf
14590   need_lib_prefix=no
14591   need_version=no
14592   soname_spec='${libname}${release}${shared_ext}$major'
14593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594   shlibpath_var=LD_LIBRARY_PATH
14595   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14596   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14597   ;;
14598
14599 rdos*)
14600   dynamic_linker=no
14601   ;;
14602
14603 solaris*)
14604   version_type=linux
14605   need_lib_prefix=no
14606   need_version=no
14607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608   soname_spec='${libname}${release}${shared_ext}$major'
14609   shlibpath_var=LD_LIBRARY_PATH
14610   shlibpath_overrides_runpath=yes
14611   hardcode_into_libs=yes
14612   # ldd complains unless libraries are executable
14613   postinstall_cmds='chmod +x $lib'
14614   ;;
14615
14616 sunos4*)
14617   version_type=sunos
14618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14619   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14620   shlibpath_var=LD_LIBRARY_PATH
14621   shlibpath_overrides_runpath=yes
14622   if test "$with_gnu_ld" = yes; then
14623     need_lib_prefix=no
14624   fi
14625   need_version=yes
14626   ;;
14627
14628 sysv4 | sysv4.3*)
14629   version_type=linux
14630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14631   soname_spec='${libname}${release}${shared_ext}$major'
14632   shlibpath_var=LD_LIBRARY_PATH
14633   case $host_vendor in
14634     sni)
14635       shlibpath_overrides_runpath=no
14636       need_lib_prefix=no
14637       runpath_var=LD_RUN_PATH
14638       ;;
14639     siemens)
14640       need_lib_prefix=no
14641       ;;
14642     motorola)
14643       need_lib_prefix=no
14644       need_version=no
14645       shlibpath_overrides_runpath=no
14646       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14647       ;;
14648   esac
14649   ;;
14650
14651 sysv4*MP*)
14652   if test -d /usr/nec ;then
14653     version_type=linux
14654     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14655     soname_spec='$libname${shared_ext}.$major'
14656     shlibpath_var=LD_LIBRARY_PATH
14657   fi
14658   ;;
14659
14660 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14661   version_type=freebsd-elf
14662   need_lib_prefix=no
14663   need_version=no
14664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14665   soname_spec='${libname}${release}${shared_ext}$major'
14666   shlibpath_var=LD_LIBRARY_PATH
14667   shlibpath_overrides_runpath=yes
14668   hardcode_into_libs=yes
14669   if test "$with_gnu_ld" = yes; then
14670     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14671   else
14672     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14673     case $host_os in
14674       sco3.2v5*)
14675         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14676         ;;
14677     esac
14678   fi
14679   sys_lib_dlsearch_path_spec='/usr/lib'
14680   ;;
14681
14682 tpf*)
14683   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14684   version_type=linux
14685   need_lib_prefix=no
14686   need_version=no
14687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688   shlibpath_var=LD_LIBRARY_PATH
14689   shlibpath_overrides_runpath=no
14690   hardcode_into_libs=yes
14691   ;;
14692
14693 uts4*)
14694   version_type=linux
14695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14696   soname_spec='${libname}${release}${shared_ext}$major'
14697   shlibpath_var=LD_LIBRARY_PATH
14698   ;;
14699
14700 *)
14701   dynamic_linker=no
14702   ;;
14703 esac
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14705 $as_echo "$dynamic_linker" >&6; }
14706 test "$dynamic_linker" = no && can_build_shared=no
14707
14708 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14709 if test "$GCC" = yes; then
14710   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14711 fi
14712
14713 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14714   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14715 fi
14716 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14717   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14718 fi
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14758 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14759 hardcode_action_CXX=
14760 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14761    test -n "$runpath_var_CXX" ||
14762    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14763
14764   # We can hardcode non-existent directories.
14765   if test "$hardcode_direct_CXX" != no &&
14766      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14767      # have to relink, otherwise we might link with an installed library
14768      # when we should be linking with a yet-to-be-installed one
14769      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14770      test "$hardcode_minus_L_CXX" != no; then
14771     # Linking always hardcodes the temporary library directory.
14772     hardcode_action_CXX=relink
14773   else
14774     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14775     hardcode_action_CXX=immediate
14776   fi
14777 else
14778   # We cannot hardcode anything, or else we can only hardcode existing
14779   # directories.
14780   hardcode_action_CXX=unsupported
14781 fi
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14783 $as_echo "$hardcode_action_CXX" >&6; }
14784
14785 if test "$hardcode_action_CXX" = relink ||
14786    test "$inherit_rpath_CXX" = yes; then
14787   # Fast installation is not supported
14788   enable_fast_install=no
14789 elif test "$shlibpath_overrides_runpath" = yes ||
14790      test "$enable_shared" = no; then
14791   # Fast installation is not necessary
14792   enable_fast_install=needless
14793 fi
14794
14795
14796
14797
14798
14799
14800
14801   fi # test -n "$compiler"
14802
14803   CC=$lt_save_CC
14804   LDCXX=$LD
14805   LD=$lt_save_LD
14806   GCC=$lt_save_GCC
14807   with_gnu_ld=$lt_save_with_gnu_ld
14808   lt_cv_path_LDCXX=$lt_cv_path_LD
14809   lt_cv_path_LD=$lt_save_path_LD
14810   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14811   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14812 fi # test "$_lt_caught_CXX_error" != yes
14813
14814 ac_ext=c
14815 ac_cpp='$CPP $CPPFLAGS'
14816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832         ac_config_commands="$ac_config_commands libtool"
14833
14834
14835
14836
14837 # Only expand once:
14838
14839
14840
14841
14842
14843 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14844 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14845
14846 # Possibly disable most of the library.
14847 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14848 ## than just ignoring the results.  Faster /and/ more correct, win win.
14849
14850   # Check whether --enable-hosted-libstdcxx was given.
14851 if test "${enable_hosted_libstdcxx+set}" = set; then :
14852   enableval=$enable_hosted_libstdcxx;
14853 else
14854   case "$host" in
14855         arm*-*-symbianelf*)
14856             enable_hosted_libstdcxx=no
14857             ;;
14858         *)
14859             enable_hosted_libstdcxx=yes
14860             ;;
14861      esac
14862 fi
14863
14864   if test "$enable_hosted_libstdcxx" = no; then
14865     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14866 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14867     is_hosted=no
14868     hosted_define=0
14869     enable_abi_check=no
14870     enable_libstdcxx_pch=no
14871   else
14872     is_hosted=yes
14873     hosted_define=1
14874   fi
14875
14876
14877 cat >>confdefs.h <<_ACEOF
14878 #define _GLIBCXX_HOSTED $hosted_define
14879 _ACEOF
14880
14881
14882
14883 # Enable compiler support that doesn't require linking.
14884
14885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14886 $as_echo_n "checking for exception model to use... " >&6; }
14887
14888   ac_ext=cpp
14889 ac_cpp='$CXXCPP $CPPFLAGS'
14890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14893
14894    # Check whether --enable-sjlj-exceptions was given.
14895 if test "${enable_sjlj_exceptions+set}" = set; then :
14896   enableval=$enable_sjlj_exceptions;
14897       case "$enableval" in
14898        yes|no|auto) ;;
14899        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14900                           esac
14901
14902 else
14903   enable_sjlj_exceptions=auto
14904 fi
14905
14906
14907
14908   if test $enable_sjlj_exceptions = auto; then
14909     # Botheration.  Now we've got to detect the exception model.  Link tests
14910     # against libgcc.a are problematic since we've not been given proper -L
14911     # bits for single-tree newlib and libgloss.
14912     #
14913     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14914     cat > conftest.$ac_ext << EOF
14915 #line 14915 "configure"
14916 struct S { ~S(); };
14917 void bar();
14918 void foo()
14919 {
14920   S s;
14921   bar();
14922 }
14923 EOF
14924     old_CXXFLAGS="$CXXFLAGS"
14925     CXXFLAGS=-S
14926     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14927   (eval $ac_compile) 2>&5
14928   ac_status=$?
14929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14930   test $ac_status = 0; }; then
14931       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14932         enable_sjlj_exceptions=yes
14933       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14934         enable_sjlj_exceptions=no
14935       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14936         enable_sjlj_exceptions=no
14937       fi
14938     fi
14939     CXXFLAGS="$old_CXXFLAGS"
14940     rm -f conftest*
14941   fi
14942
14943   # This is a tad weird, for hysterical raisins.  We have to map
14944   # enable/disable to two different models.
14945   case $enable_sjlj_exceptions in
14946     yes)
14947
14948 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14949
14950       ac_exception_model_name=sjlj
14951       ;;
14952     no)
14953       ac_exception_model_name="call frame"
14954       ;;
14955     *)
14956       as_fn_error "unable to detect exception model" "$LINENO" 5
14957       ;;
14958   esac
14959  ac_ext=c
14960 ac_cpp='$CPP $CPPFLAGS'
14961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14964
14965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14966 $as_echo "$ac_exception_model_name" >&6; }
14967
14968
14969    # Check whether --enable-libstdcxx-pch was given.
14970 if test "${enable_libstdcxx_pch+set}" = set; then :
14971   enableval=$enable_libstdcxx_pch;
14972       case "$enableval" in
14973        yes|no) ;;
14974        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14975       esac
14976
14977 else
14978   enable_libstdcxx_pch=$is_hosted
14979 fi
14980
14981
14982   if test $enable_libstdcxx_pch = yes; then
14983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14984 $as_echo_n "checking for compiler with PCH support... " >&6; }
14985 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14986   $as_echo_n "(cached) " >&6
14987 else
14988   ac_save_CXXFLAGS="$CXXFLAGS"
14989        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14990
14991        ac_ext=cpp
14992 ac_cpp='$CXXCPP $CPPFLAGS'
14993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14996
14997        echo '#include <math.h>' > conftest.h
14998        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14999                           -o conftest.h.gch 1>&5 2>&1 &&
15000                 echo '#error "pch failed"' > conftest.h &&
15001           echo '#include "conftest.h"' > conftest.cc &&
15002                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15003        then
15004          glibcxx_cv_prog_CXX_pch=yes
15005        else
15006          glibcxx_cv_prog_CXX_pch=no
15007        fi
15008        rm -f conftest*
15009        CXXFLAGS=$ac_save_CXXFLAGS
15010        ac_ext=c
15011 ac_cpp='$CPP $CPPFLAGS'
15012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15015
15016
15017 fi
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15019 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15020     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15021   fi
15022
15023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15024 $as_echo_n "checking for enabled PCH... " >&6; }
15025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15026 $as_echo "$enable_libstdcxx_pch" >&6; }
15027
15028
15029   if test $enable_libstdcxx_pch = yes; then
15030     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15031   else
15032     glibcxx_PCHFLAGS=""
15033   fi
15034
15035
15036
15037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15038 $as_echo_n "checking for thread model used by GCC... " >&6; }
15039   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15041 $as_echo "$target_thread_file" >&6; }
15042
15043   if test $target_thread_file != single; then
15044
15045 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15046
15047   fi
15048
15049   glibcxx_thread_h=gthr-$target_thread_file.h
15050
15051     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15052   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15053     enable_thread=yes
15054   else
15055    enable_thread=no
15056   fi
15057
15058
15059
15060
15061
15062   ac_ext=cpp
15063 ac_cpp='$CXXCPP $CPPFLAGS'
15064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15067
15068   old_CXXFLAGS="$CXXFLAGS"
15069
15070   # Do link tests if possible, instead asm tests, limited to some platforms
15071   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15072   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15073   atomic_builtins_link_tests=no
15074   if test x$gcc_no_link != xyes; then
15075     # Can do link tests. Limit to some tested platforms
15076     case "$host" in
15077       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15078         atomic_builtins_link_tests=yes
15079         ;;
15080     esac
15081   fi
15082
15083   if test x$atomic_builtins_link_tests = xyes; then
15084
15085   # Do link tests.
15086
15087   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15088
15089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15090 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15091   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15092   $as_echo_n "(cached) " >&6
15093 else
15094
15095     if test x$gcc_no_link = xyes; then
15096   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15097 fi
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h.  */
15100
15101 int
15102 main ()
15103 {
15104 typedef bool atomic_type;
15105        atomic_type c1;
15106        atomic_type c2;
15107        const atomic_type c3(0);
15108        __sync_fetch_and_add(&c1, c2);
15109        __sync_val_compare_and_swap(&c1, c3, c2);
15110        __sync_lock_test_and_set(&c1, c3);
15111        __sync_lock_release(&c1);
15112        __sync_synchronize();
15113   ;
15114   return 0;
15115 }
15116 _ACEOF
15117 if ac_fn_cxx_try_link "$LINENO"; then :
15118   glibcxx_cv_atomic_bool=yes
15119 else
15120   glibcxx_cv_atomic_bool=no
15121 fi
15122 rm -f core conftest.err conftest.$ac_objext \
15123     conftest$ac_exeext conftest.$ac_ext
15124
15125 fi
15126
15127   if test $glibcxx_cv_atomic_bool = yes; then
15128
15129 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15130
15131   fi
15132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15133 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15134
15135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15136 $as_echo_n "checking for atomic builtins for short... " >&6; }
15137   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15138   $as_echo_n "(cached) " >&6
15139 else
15140
15141     if test x$gcc_no_link = xyes; then
15142   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15143 fi
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h.  */
15146
15147 int
15148 main ()
15149 {
15150 typedef short atomic_type;
15151        atomic_type c1;
15152        atomic_type c2;
15153        const atomic_type c3(0);
15154        __sync_fetch_and_add(&c1, c2);
15155        __sync_val_compare_and_swap(&c1, c3, c2);
15156        __sync_lock_test_and_set(&c1, c3);
15157        __sync_lock_release(&c1);
15158        __sync_synchronize();
15159   ;
15160   return 0;
15161 }
15162 _ACEOF
15163 if ac_fn_cxx_try_link "$LINENO"; then :
15164   glibcxx_cv_atomic_short=yes
15165 else
15166   glibcxx_cv_atomic_short=no
15167 fi
15168 rm -f core conftest.err conftest.$ac_objext \
15169     conftest$ac_exeext conftest.$ac_ext
15170
15171 fi
15172
15173   if test $glibcxx_cv_atomic_short = yes; then
15174
15175 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15176
15177   fi
15178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15179 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15180
15181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15182 $as_echo_n "checking for atomic builtins for int... " >&6; }
15183   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15184   $as_echo_n "(cached) " >&6
15185 else
15186
15187     if test x$gcc_no_link = xyes; then
15188   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15189 fi
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h.  */
15192
15193 int
15194 main ()
15195 {
15196 typedef int atomic_type;
15197        atomic_type c1;
15198        atomic_type c2;
15199        const atomic_type c3(0);
15200        __sync_fetch_and_add(&c1, c2);
15201        __sync_val_compare_and_swap(&c1, c3, c2);
15202        __sync_lock_test_and_set(&c1, c3);
15203        __sync_lock_release(&c1);
15204        __sync_synchronize();
15205   ;
15206   return 0;
15207 }
15208 _ACEOF
15209 if ac_fn_cxx_try_link "$LINENO"; then :
15210   glibcxx_cv_atomic_int=yes
15211 else
15212   glibcxx_cv_atomic_int=no
15213 fi
15214 rm -f core conftest.err conftest.$ac_objext \
15215     conftest$ac_exeext conftest.$ac_ext
15216
15217 fi
15218
15219   if test $glibcxx_cv_atomic_int = yes; then
15220
15221 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15222
15223   fi
15224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15225 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15226
15227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15228 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15229   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15230   $as_echo_n "(cached) " >&6
15231 else
15232
15233     if test x$gcc_no_link = xyes; then
15234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15235 fi
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h.  */
15238
15239 int
15240 main ()
15241 {
15242 typedef long long atomic_type;
15243        atomic_type c1;
15244        atomic_type c2;
15245        const atomic_type c3(0);
15246        __sync_fetch_and_add(&c1, c2);
15247        __sync_val_compare_and_swap(&c1, c3, c2);
15248        __sync_lock_test_and_set(&c1, c3);
15249        __sync_lock_release(&c1);
15250        __sync_synchronize();
15251   ;
15252   return 0;
15253 }
15254 _ACEOF
15255 if ac_fn_cxx_try_link "$LINENO"; then :
15256   glibcxx_cv_atomic_long_long=yes
15257 else
15258   glibcxx_cv_atomic_long_long=no
15259 fi
15260 rm -f core conftest.err conftest.$ac_objext \
15261     conftest$ac_exeext conftest.$ac_ext
15262
15263 fi
15264
15265   if test $glibcxx_cv_atomic_long_long = yes; then
15266
15267 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15268
15269   fi
15270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15271 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15272
15273   else
15274
15275   # Do asm tests.
15276
15277   # Compile unoptimized.
15278   CXXFLAGS='-O0 -S'
15279
15280   # Fake what AC_TRY_COMPILE does.
15281
15282     cat > conftest.$ac_ext << EOF
15283 #line 15283 "configure"
15284 int main()
15285 {
15286   typedef bool atomic_type;
15287   atomic_type c1;
15288   atomic_type c2;
15289   const atomic_type c3(0);
15290   __sync_fetch_and_add(&c1, c2);
15291   __sync_val_compare_and_swap(&c1, c3, c2);
15292   __sync_lock_test_and_set(&c1, c3);
15293   __sync_lock_release(&c1);
15294   __sync_synchronize();
15295   return 0;
15296 }
15297 EOF
15298
15299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15300 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15301     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15302   (eval $ac_compile) 2>&5
15303   ac_status=$?
15304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15305   test $ac_status = 0; }; then
15306       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15307         glibcxx_cv_atomic_bool=no
15308       else
15309
15310 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15311
15312         glibcxx_cv_atomic_bool=yes
15313       fi
15314     fi
15315     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15316 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15317     rm -f conftest*
15318
15319     cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15322 {
15323   typedef short atomic_type;
15324   atomic_type c1;
15325   atomic_type c2;
15326   const atomic_type c3(0);
15327   __sync_fetch_and_add(&c1, c2);
15328   __sync_val_compare_and_swap(&c1, c3, c2);
15329   __sync_lock_test_and_set(&c1, c3);
15330   __sync_lock_release(&c1);
15331   __sync_synchronize();
15332   return 0;
15333 }
15334 EOF
15335
15336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15337 $as_echo_n "checking for atomic builtins for short... " >&6; }
15338     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339   (eval $ac_compile) 2>&5
15340   ac_status=$?
15341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342   test $ac_status = 0; }; then
15343       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344         glibcxx_cv_atomic_short=no
15345       else
15346
15347 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15348
15349         glibcxx_cv_atomic_short=yes
15350       fi
15351     fi
15352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15353 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15354     rm -f conftest*
15355
15356     cat > conftest.$ac_ext << EOF
15357 #line 15357 "configure"
15358 int main()
15359 {
15360   // NB: _Atomic_word not necessarily int.
15361   typedef int atomic_type;
15362   atomic_type c1;
15363   atomic_type c2;
15364   const atomic_type c3(0);
15365   __sync_fetch_and_add(&c1, c2);
15366   __sync_val_compare_and_swap(&c1, c3, c2);
15367   __sync_lock_test_and_set(&c1, c3);
15368   __sync_lock_release(&c1);
15369   __sync_synchronize();
15370   return 0;
15371 }
15372 EOF
15373
15374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15375 $as_echo_n "checking for atomic builtins for int... " >&6; }
15376     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15377   (eval $ac_compile) 2>&5
15378   ac_status=$?
15379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15380   test $ac_status = 0; }; then
15381       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15382         glibcxx_cv_atomic_int=no
15383       else
15384
15385 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15386
15387         glibcxx_cv_atomic_int=yes
15388       fi
15389     fi
15390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15391 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15392     rm -f conftest*
15393
15394     cat > conftest.$ac_ext << EOF
15395 #line 15395 "configure"
15396 int main()
15397 {
15398   typedef long long atomic_type;
15399   atomic_type c1;
15400   atomic_type c2;
15401   const atomic_type c3(0);
15402   __sync_fetch_and_add(&c1, c2);
15403   __sync_val_compare_and_swap(&c1, c3, c2);
15404   __sync_lock_test_and_set(&c1, c3);
15405   __sync_lock_release(&c1);
15406   __sync_synchronize();
15407   return 0;
15408 }
15409 EOF
15410
15411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15412 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15413     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15414   (eval $ac_compile) 2>&5
15415   ac_status=$?
15416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417   test $ac_status = 0; }; then
15418       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15419         glibcxx_cv_atomic_long_long=no
15420       else
15421
15422 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15423
15424         glibcxx_cv_atomic_long_long=yes
15425       fi
15426     fi
15427     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15428 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15429     rm -f conftest*
15430
15431   fi
15432
15433   CXXFLAGS="$old_CXXFLAGS"
15434   ac_ext=c
15435 ac_cpp='$CPP $CPPFLAGS'
15436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15439
15440
15441   # Set atomicity_dir to builtins if either of above tests pass.
15442   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15443     atomicity_dir=cpu/generic/atomicity_builtins
15444   fi
15445
15446   # If still generic, set to mutex.
15447   if test $atomicity_dir = "cpu/generic" ; then
15448     atomicity_dir=cpu/generic/atomicity_mutex
15449     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15450 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15451       if test "x$target_thread_file" = xsingle; then
15452         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15453 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15454         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15455 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15456       else
15457         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15458 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15459         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15460 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15461       fi
15462   fi
15463
15464
15465
15466
15467   # Fake what AC_TRY_COMPILE does, without linking as this is
15468   # unnecessary for this test.
15469
15470     cat > conftest.$ac_ext << EOF
15471 #line 15471 "configure"
15472 int main()
15473 {
15474   _Decimal32 d1;
15475   _Decimal64 d2;
15476   _Decimal128 d3;
15477   return 0;
15478 }
15479 EOF
15480
15481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15482 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15483     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15484   (eval $ac_compile) 2>&5
15485   ac_status=$?
15486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15487   test $ac_status = 0; }; then
15488
15489 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15490
15491       enable_dfp=yes
15492     else
15493       enable_dfp=no
15494     fi
15495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15496 $as_echo "$enable_dfp" >&6; }
15497     rm -f conftest*
15498
15499
15500 # Checks for compiler support that doesn't require linking.
15501
15502   # All these tests are for C++; save the language and the compiler flags.
15503   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15504   # found in GLIBCXX_CONFIGURE.
15505
15506   ac_ext=cpp
15507 ac_cpp='$CXXCPP $CPPFLAGS'
15508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15511
15512   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15513   ac_save_CXXFLAGS="$CXXFLAGS"
15514
15515   # Check for maintainer-mode bits.
15516   if test x"$USE_MAINTAINER_MODE" = xno; then
15517     WERROR=''
15518   else
15519     WERROR='-Werror'
15520   fi
15521
15522   # Check for -ffunction-sections -fdata-sections
15523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15524 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15525   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h.  */
15528 int foo; void bar() { };
15529 int
15530 main ()
15531 {
15532
15533   ;
15534   return 0;
15535 }
15536 _ACEOF
15537 if ac_fn_cxx_try_compile "$LINENO"; then :
15538   ac_fdsections=yes
15539 else
15540   ac_fdsections=no
15541 fi
15542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15543   if test "$ac_test_CXXFLAGS" = set; then
15544     CXXFLAGS="$ac_save_CXXFLAGS"
15545   else
15546     # this is the suspicious part
15547     CXXFLAGS=''
15548   fi
15549   if test x"$ac_fdsections" = x"yes"; then
15550     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15551   fi
15552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15553 $as_echo "$ac_fdsections" >&6; }
15554
15555   ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15560
15561
15562
15563
15564
15565 # Enable all the variable C++ runtime options that don't require linking.
15566
15567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15568 $as_echo_n "checking for underlying I/O to use... " >&6; }
15569    # Check whether --enable-cstdio was given.
15570 if test "${enable_cstdio+set}" = set; then :
15571   enableval=$enable_cstdio;
15572       case "$enableval" in
15573        stdio) ;;
15574        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15575                           esac
15576
15577 else
15578   enable_cstdio=stdio
15579 fi
15580
15581
15582
15583   # Now that libio has been removed, you can have any color you want as long
15584   # as it's black.  This is one big no-op until other packages are added, but
15585   # showing the framework never hurts.
15586   case ${enable_cstdio} in
15587     stdio)
15588       CSTDIO_H=config/io/c_io_stdio.h
15589       BASIC_FILE_H=config/io/basic_file_stdio.h
15590       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15591       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15592 $as_echo "stdio" >&6; }
15593       ;;
15594   esac
15595
15596
15597
15598
15599
15600
15601    # Check whether --enable-clocale was given.
15602 if test "${enable_clocale+set}" = set; then :
15603   enableval=$enable_clocale;
15604       case "$enableval" in
15605        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15606        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15607                           esac
15608
15609 else
15610   enable_clocale=auto
15611 fi
15612
15613
15614
15615   # Deal with gettext issues.  Default to not using it (=no) until we detect
15616   # support for it later.  Let the user turn it off via --e/d, but let that
15617   # default to on for easier handling.
15618   USE_NLS=no
15619   # Check whether --enable-nls was given.
15620 if test "${enable_nls+set}" = set; then :
15621   enableval=$enable_nls;
15622 else
15623   enable_nls=yes
15624 fi
15625
15626
15627   # Either a known packaage, or "auto"
15628   if test $enable_clocale = no || test $enable_clocale = yes; then
15629      enable_clocale=auto
15630   fi
15631   enable_clocale_flag=$enable_clocale
15632
15633   # Probe for locale model to use if none specified.
15634   # Default to "generic".
15635   if test $enable_clocale_flag = auto; then
15636     case ${target_os} in
15637       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15638         enable_clocale_flag=gnu
15639         ;;
15640       darwin* | freebsd*)
15641         enable_clocale_flag=darwin
15642         ;;
15643       *)
15644         enable_clocale_flag=generic
15645         ;;
15646     esac
15647   fi
15648
15649   # Sanity check model, and test for special functionality.
15650   if test $enable_clocale_flag = gnu; then
15651     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h.  */
15653
15654     #include <features.h>
15655     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15656       _GLIBCXX_ok
15657     #endif
15658
15659 _ACEOF
15660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15661   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15662   enable_clocale_flag=gnu
15663 else
15664   enable_clocale_flag=generic
15665 fi
15666 rm -f conftest*
15667
15668
15669     # Set it to scream when it hurts.
15670     ac_save_CFLAGS="$CFLAGS"
15671     CFLAGS="-Wimplicit-function-declaration -Werror"
15672
15673     # Use strxfrm_l if available.
15674     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h.  */
15676 #define _GNU_SOURCE 1
15677                     #include <string.h>
15678                     #include <locale.h>
15679 int
15680 main ()
15681 {
15682 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15683   ;
15684   return 0;
15685 }
15686 _ACEOF
15687 if ac_fn_c_try_compile "$LINENO"; then :
15688
15689 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15690
15691 fi
15692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15693
15694     # Use strerror_l if available.
15695     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h.  */
15697 #define _GNU_SOURCE 1
15698                     #include <string.h>
15699                     #include <locale.h>
15700 int
15701 main ()
15702 {
15703 __locale_t loc; strerror_l(5, loc);
15704   ;
15705   return 0;
15706 }
15707 _ACEOF
15708 if ac_fn_c_try_compile "$LINENO"; then :
15709
15710 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15711
15712 fi
15713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15714
15715     CFLAGS="$ac_save_CFLAGS"
15716   fi
15717
15718   # Perhaps use strerror_r if available, and strerror_l isn't.
15719   ac_save_CFLAGS="$CFLAGS"
15720   CFLAGS="-Wimplicit-function-declaration -Werror"
15721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h.  */
15723 #define _GNU_SOURCE 1
15724                   #include <string.h>
15725                   #include <locale.h>
15726 int
15727 main ()
15728 {
15729 char s[128]; strerror_r(5, s, 128);
15730   ;
15731   return 0;
15732 }
15733 _ACEOF
15734 if ac_fn_c_try_compile "$LINENO"; then :
15735
15736 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15737
15738 fi
15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740   CFLAGS="$ac_save_CFLAGS"
15741
15742   # Set configure bits for specified locale package
15743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15744 $as_echo_n "checking for C locale to use... " >&6; }
15745   case ${enable_clocale_flag} in
15746     generic)
15747       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15748 $as_echo "generic" >&6; }
15749
15750       CLOCALE_H=config/locale/generic/c_locale.h
15751       CLOCALE_CC=config/locale/generic/c_locale.cc
15752       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15753       CCOLLATE_CC=config/locale/generic/collate_members.cc
15754       CCTYPE_CC=config/locale/generic/ctype_members.cc
15755       CMESSAGES_H=config/locale/generic/messages_members.h
15756       CMESSAGES_CC=config/locale/generic/messages_members.cc
15757       CMONEY_CC=config/locale/generic/monetary_members.cc
15758       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15759       CTIME_H=config/locale/generic/time_members.h
15760       CTIME_CC=config/locale/generic/time_members.cc
15761       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15762       ;;
15763     darwin)
15764       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15765 $as_echo "darwin or freebsd" >&6; }
15766
15767       CLOCALE_H=config/locale/generic/c_locale.h
15768       CLOCALE_CC=config/locale/generic/c_locale.cc
15769       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15770       CCOLLATE_CC=config/locale/generic/collate_members.cc
15771       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15772       CMESSAGES_H=config/locale/generic/messages_members.h
15773       CMESSAGES_CC=config/locale/generic/messages_members.cc
15774       CMONEY_CC=config/locale/generic/monetary_members.cc
15775       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15776       CTIME_H=config/locale/generic/time_members.h
15777       CTIME_CC=config/locale/generic/time_members.cc
15778       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15779       ;;
15780
15781     gnu)
15782       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15783 $as_echo "gnu" >&6; }
15784
15785       # Declare intention to use gettext, and add support for specific
15786       # languages.
15787       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15788       ALL_LINGUAS="de fr"
15789
15790       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15791       # Extract the first word of "msgfmt", so it can be a program name with args.
15792 set dummy msgfmt; ac_word=$2
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15794 $as_echo_n "checking for $ac_word... " >&6; }
15795 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15796   $as_echo_n "(cached) " >&6
15797 else
15798   if test -n "$check_msgfmt"; then
15799   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15800 else
15801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15802 for as_dir in $PATH
15803 do
15804   IFS=$as_save_IFS
15805   test -z "$as_dir" && as_dir=.
15806     for ac_exec_ext in '' $ac_executable_extensions; do
15807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15808     ac_cv_prog_check_msgfmt="yes"
15809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15810     break 2
15811   fi
15812 done
15813   done
15814 IFS=$as_save_IFS
15815
15816   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15817 fi
15818 fi
15819 check_msgfmt=$ac_cv_prog_check_msgfmt
15820 if test -n "$check_msgfmt"; then
15821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15822 $as_echo "$check_msgfmt" >&6; }
15823 else
15824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15826 fi
15827
15828
15829       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15830         USE_NLS=yes
15831       fi
15832       # Export the build objects.
15833       for ling in $ALL_LINGUAS; do \
15834         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15835         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15836       done
15837
15838
15839
15840       CLOCALE_H=config/locale/gnu/c_locale.h
15841       CLOCALE_CC=config/locale/gnu/c_locale.cc
15842       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15843       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15844       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15845       CMESSAGES_H=config/locale/gnu/messages_members.h
15846       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15847       CMONEY_CC=config/locale/gnu/monetary_members.cc
15848       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15849       CTIME_H=config/locale/gnu/time_members.h
15850       CTIME_CC=config/locale/gnu/time_members.cc
15851       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15852       ;;
15853     ieee_1003.1-2001)
15854       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15855 $as_echo "IEEE 1003.1" >&6; }
15856
15857       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15858       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15859       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15860       CCOLLATE_CC=config/locale/generic/collate_members.cc
15861       CCTYPE_CC=config/locale/generic/ctype_members.cc
15862       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15863       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15864       CMONEY_CC=config/locale/generic/monetary_members.cc
15865       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15866       CTIME_H=config/locale/generic/time_members.h
15867       CTIME_CC=config/locale/generic/time_members.cc
15868       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15869       ;;
15870   esac
15871
15872   # This is where the testsuite looks for locale catalogs, using the
15873   # -DLOCALEDIR define during testsuite compilation.
15874   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15875
15876
15877   # A standalone libintl (e.g., GNU libintl) may be in use.
15878   if test $USE_NLS = yes; then
15879     for ac_header in libintl.h
15880 do :
15881   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15883   cat >>confdefs.h <<_ACEOF
15884 #define HAVE_LIBINTL_H 1
15885 _ACEOF
15886
15887 else
15888   USE_NLS=no
15889 fi
15890
15891 done
15892
15893     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15894 $as_echo_n "checking for library containing gettext... " >&6; }
15895 if test "${ac_cv_search_gettext+set}" = set; then :
15896   $as_echo_n "(cached) " >&6
15897 else
15898   ac_func_search_save_LIBS=$LIBS
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h.  */
15901
15902 /* Override any GCC internal prototype to avoid an error.
15903    Use char because int might match the return type of a GCC
15904    builtin and then its argument prototype would still apply.  */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char gettext ();
15909 int
15910 main ()
15911 {
15912 return gettext ();
15913   ;
15914   return 0;
15915 }
15916 _ACEOF
15917 for ac_lib in '' intl; do
15918   if test -z "$ac_lib"; then
15919     ac_res="none required"
15920   else
15921     ac_res=-l$ac_lib
15922     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15923   fi
15924   if test x$gcc_no_link = xyes; then
15925   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15926 fi
15927 if ac_fn_c_try_link "$LINENO"; then :
15928   ac_cv_search_gettext=$ac_res
15929 fi
15930 rm -f core conftest.err conftest.$ac_objext \
15931     conftest$ac_exeext
15932   if test "${ac_cv_search_gettext+set}" = set; then :
15933   break
15934 fi
15935 done
15936 if test "${ac_cv_search_gettext+set}" = set; then :
15937
15938 else
15939   ac_cv_search_gettext=no
15940 fi
15941 rm conftest.$ac_ext
15942 LIBS=$ac_func_search_save_LIBS
15943 fi
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15945 $as_echo "$ac_cv_search_gettext" >&6; }
15946 ac_res=$ac_cv_search_gettext
15947 if test "$ac_res" != no; then :
15948   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15949
15950 else
15951   USE_NLS=no
15952 fi
15953
15954   fi
15955   if test $USE_NLS = yes; then
15956
15957 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15958
15959   fi
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15977 $as_echo_n "checking for std::allocator base class... " >&6; }
15978    # Check whether --enable-libstdcxx-allocator was given.
15979 if test "${enable_libstdcxx_allocator+set}" = set; then :
15980   enableval=$enable_libstdcxx_allocator;
15981       case "$enableval" in
15982        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15983        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15984                           esac
15985
15986 else
15987   enable_libstdcxx_allocator=auto
15988 fi
15989
15990
15991
15992   # If they didn't use this option switch, or if they specified --enable
15993   # with no specific model, we'll have to look for one.  If they
15994   # specified --disable (???), do likewise.
15995   if test $enable_libstdcxx_allocator = no ||
15996      test $enable_libstdcxx_allocator = yes;
15997   then
15998      enable_libstdcxx_allocator=auto
15999   fi
16000
16001   # Either a known package, or "auto". Auto implies the default choice
16002   # for a particular platform.
16003   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16004
16005   # Probe for host-specific support if no specific model is specified.
16006   # Default to "new".
16007   if test $enable_libstdcxx_allocator_flag = auto; then
16008     case ${target_os} in
16009       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16010         enable_libstdcxx_allocator_flag=new
16011         ;;
16012       *)
16013         enable_libstdcxx_allocator_flag=new
16014         ;;
16015     esac
16016   fi
16017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16018 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16019
16020
16021   # Set configure bits for specified locale package
16022   case ${enable_libstdcxx_allocator_flag} in
16023     bitmap)
16024       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16025       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16026       ;;
16027     malloc)
16028       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16029       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16030       ;;
16031     mt)
16032       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16033       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16034       ;;
16035     new)
16036       ALLOCATOR_H=config/allocator/new_allocator_base.h
16037       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16038       ;;
16039     pool)
16040       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16041       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16042       ;;
16043   esac
16044
16045
16046
16047
16048
16049    # Check whether --enable-cheaders was given.
16050 if test "${enable_cheaders+set}" = set; then :
16051   enableval=$enable_cheaders;
16052       case "$enableval" in
16053        c|c_std|c_global) ;;
16054        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16055                           esac
16056
16057 else
16058   enable_cheaders=$c_model
16059 fi
16060
16061
16062   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16063 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16064
16065   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16066
16067   # Allow overrides to configure.host here.
16068   if test $enable_cheaders = c_global; then
16069      c_compatibility=yes
16070   fi
16071
16072
16073
16074
16075
16076
16077
16078    # Check whether --enable-long-long was given.
16079 if test "${enable_long_long+set}" = set; then :
16080   enableval=$enable_long_long;
16081       case "$enableval" in
16082        yes|no) ;;
16083        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16084       esac
16085
16086 else
16087   enable_long_long=yes
16088 fi
16089
16090
16091   if test $enable_long_long = yes; then
16092
16093 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16094
16095   fi
16096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16097 $as_echo_n "checking for enabled long long specializations... " >&6; }
16098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16099 $as_echo "$enable_long_long" >&6; }
16100
16101
16102    # Check whether --enable-wchar_t was given.
16103 if test "${enable_wchar_t+set}" = set; then :
16104   enableval=$enable_wchar_t;
16105       case "$enableval" in
16106        yes|no) ;;
16107        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16108       esac
16109
16110 else
16111   enable_wchar_t=yes
16112 fi
16113
16114
16115
16116   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16117   for ac_header in wchar.h
16118 do :
16119   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16120 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16121   cat >>confdefs.h <<_ACEOF
16122 #define HAVE_WCHAR_H 1
16123 _ACEOF
16124  ac_has_wchar_h=yes
16125 else
16126   ac_has_wchar_h=no
16127 fi
16128
16129 done
16130
16131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16132 $as_echo_n "checking for mbstate_t... " >&6; }
16133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h.  */
16135 #include <wchar.h>
16136 int
16137 main ()
16138 {
16139 mbstate_t teststate;
16140   ;
16141   return 0;
16142 }
16143 _ACEOF
16144 if ac_fn_c_try_compile "$LINENO"; then :
16145   have_mbstate_t=yes
16146 else
16147   have_mbstate_t=no
16148 fi
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16151 $as_echo "$have_mbstate_t" >&6; }
16152   if test x"$have_mbstate_t" = xyes; then
16153
16154 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16155
16156   fi
16157
16158   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16159   # ac_has_wchar_h.
16160   for ac_header in wctype.h
16161 do :
16162   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16163 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16164   cat >>confdefs.h <<_ACEOF
16165 #define HAVE_WCTYPE_H 1
16166 _ACEOF
16167  ac_has_wctype_h=yes
16168 else
16169   ac_has_wctype_h=no
16170 fi
16171
16172 done
16173
16174
16175   if test x"$enable_wchar_t" = x"yes"; then
16176
16177
16178     ac_ext=cpp
16179 ac_cpp='$CXXCPP $CPPFLAGS'
16180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16183
16184
16185     if test x"$ac_has_wchar_h" = xyes &&
16186        test x"$ac_has_wctype_h" = xyes; then
16187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h.  */
16189 #include <wchar.h>
16190                       #include <stddef.h>
16191                       wint_t i;
16192                       long l = WEOF;
16193                       long j = WCHAR_MIN;
16194                       long k = WCHAR_MAX;
16195                       namespace test
16196                       {
16197                         using ::btowc;
16198                         using ::fgetwc;
16199                         using ::fgetws;
16200                         using ::fputwc;
16201                         using ::fputws;
16202                         using ::fwide;
16203                         using ::fwprintf;
16204                         using ::fwscanf;
16205                         using ::getwc;
16206                         using ::getwchar;
16207                         using ::mbrlen;
16208                         using ::mbrtowc;
16209                         using ::mbsinit;
16210                         using ::mbsrtowcs;
16211                         using ::putwc;
16212                         using ::putwchar;
16213                         using ::swprintf;
16214                         using ::swscanf;
16215                         using ::ungetwc;
16216                         using ::vfwprintf;
16217                         using ::vswprintf;
16218                         using ::vwprintf;
16219                         using ::wcrtomb;
16220                         using ::wcscat;
16221                         using ::wcschr;
16222                         using ::wcscmp;
16223                         using ::wcscoll;
16224                         using ::wcscpy;
16225                         using ::wcscspn;
16226                         using ::wcsftime;
16227                         using ::wcslen;
16228                         using ::wcsncat;
16229                         using ::wcsncmp;
16230                         using ::wcsncpy;
16231                         using ::wcspbrk;
16232                         using ::wcsrchr;
16233                         using ::wcsrtombs;
16234                         using ::wcsspn;
16235                         using ::wcsstr;
16236                         using ::wcstod;
16237                         using ::wcstok;
16238                         using ::wcstol;
16239                         using ::wcstoul;
16240                         using ::wcsxfrm;
16241                         using ::wctob;
16242                         using ::wmemchr;
16243                         using ::wmemcmp;
16244                         using ::wmemcpy;
16245                         using ::wmemmove;
16246                         using ::wmemset;
16247                         using ::wprintf;
16248                         using ::wscanf;
16249                       }
16250
16251 int
16252 main ()
16253 {
16254
16255   ;
16256   return 0;
16257 }
16258 _ACEOF
16259 if ac_fn_cxx_try_compile "$LINENO"; then :
16260
16261 else
16262   enable_wchar_t=no
16263 fi
16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16265     else
16266       enable_wchar_t=no
16267     fi
16268
16269     ac_ext=c
16270 ac_cpp='$CPP $CPPFLAGS'
16271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16274
16275   fi
16276
16277   if test x"$enable_wchar_t" = x"yes"; then
16278
16279 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16280
16281   fi
16282
16283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16284 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16286 $as_echo "$enable_wchar_t" >&6; }
16287
16288
16289
16290    # Check whether --enable-c99 was given.
16291 if test "${enable_c99+set}" = set; then :
16292   enableval=$enable_c99;
16293       case "$enableval" in
16294        yes|no) ;;
16295        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16296       esac
16297
16298 else
16299   enable_c99=yes
16300 fi
16301
16302
16303
16304   if test x"$enable_c99" = x"yes"; then
16305
16306
16307   ac_ext=cpp
16308 ac_cpp='$CXXCPP $CPPFLAGS'
16309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16312
16313
16314   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16315   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16316   # spuriously enabled.
16317   # Long term, -std=c++0x could be even better, could manage to explicitely
16318   # request C99 facilities to the underlying C headers.
16319   ac_save_CXXFLAGS="$CXXFLAGS"
16320   CXXFLAGS="$CXXFLAGS -std=c++98"
16321   ac_save_LIBS="$LIBS"
16322   ac_save_gcc_no_link="$gcc_no_link"
16323
16324   if test x$gcc_no_link != xyes; then
16325     # Use -fno-exceptions to that the C driver can link these tests without
16326     # hitting undefined references to personality routines.
16327     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16329 $as_echo_n "checking for sin in -lm... " >&6; }
16330 if test "${ac_cv_lib_m_sin+set}" = set; then :
16331   $as_echo_n "(cached) " >&6
16332 else
16333   ac_check_lib_save_LIBS=$LIBS
16334 LIBS="-lm  $LIBS"
16335 if test x$gcc_no_link = xyes; then
16336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16337 fi
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h.  */
16340
16341 /* Override any GCC internal prototype to avoid an error.
16342    Use char because int might match the return type of a GCC
16343    builtin and then its argument prototype would still apply.  */
16344 #ifdef __cplusplus
16345 extern "C"
16346 #endif
16347 char sin ();
16348 int
16349 main ()
16350 {
16351 return sin ();
16352   ;
16353   return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_cxx_try_link "$LINENO"; then :
16357   ac_cv_lib_m_sin=yes
16358 else
16359   ac_cv_lib_m_sin=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext \
16362     conftest$ac_exeext conftest.$ac_ext
16363 LIBS=$ac_check_lib_save_LIBS
16364 fi
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16366 $as_echo "$ac_cv_lib_m_sin" >&6; }
16367 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16368
16369       LIBS="$LIBS -lm"
16370
16371 else
16372
16373       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16374       gcc_no_link=yes
16375
16376 fi
16377
16378   fi
16379
16380   # Check for the existence of <math.h> functions used if C99 is enabled.
16381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16382 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16383   if test "${glibcxx_cv_c99_math+set}" = set; then :
16384   $as_echo_n "(cached) " >&6
16385 else
16386
16387   if test x$gcc_no_link = xyes; then
16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h.  */
16390 #include <math.h>
16391       volatile double d1, d2;
16392       volatile int i;
16393 int
16394 main ()
16395 {
16396 i = fpclassify(d1);
16397       i = isfinite(d1);
16398       i = isinf(d1);
16399       i = isnan(d1);
16400       i = isnormal(d1);
16401       i = signbit(d1);
16402       i = isgreater(d1, d2);
16403       i = isgreaterequal(d1, d2);
16404       i = isless(d1, d2);
16405       i = islessequal(d1, d2);
16406       i = islessgreater(d1, d2);
16407       i = islessgreater(d1, d2);
16408       i = isunordered(d1, d2);
16409
16410   ;
16411   return 0;
16412 }
16413 _ACEOF
16414 if ac_fn_cxx_try_compile "$LINENO"; then :
16415   glibcxx_cv_c99_math=yes
16416 else
16417   glibcxx_cv_c99_math=no
16418 fi
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 else
16421   if test x$gcc_no_link = xyes; then
16422   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16423 fi
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h.  */
16426 #include <math.h>
16427       volatile double d1, d2;
16428       volatile int i;
16429 int
16430 main ()
16431 {
16432 i = fpclassify(d1);
16433       i = isfinite(d1);
16434       i = isinf(d1);
16435       i = isnan(d1);
16436       i = isnormal(d1);
16437       i = signbit(d1);
16438       i = isgreater(d1, d2);
16439       i = isgreaterequal(d1, d2);
16440       i = isless(d1, d2);
16441       i = islessequal(d1, d2);
16442       i = islessgreater(d1, d2);
16443       i = islessgreater(d1, d2);
16444       i = isunordered(d1, d2);
16445
16446   ;
16447   return 0;
16448 }
16449 _ACEOF
16450 if ac_fn_cxx_try_link "$LINENO"; then :
16451   glibcxx_cv_c99_math=yes
16452 else
16453   glibcxx_cv_c99_math=no
16454 fi
16455 rm -f core conftest.err conftest.$ac_objext \
16456     conftest$ac_exeext conftest.$ac_ext
16457 fi
16458
16459 fi
16460
16461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16462 $as_echo "$glibcxx_cv_c99_math" >&6; }
16463   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16464
16465 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16466
16467   fi
16468
16469   # Check for the existence of <complex.h> complex math functions.
16470   # This is necessary even though libstdc++ uses the builtin versions
16471   # of these functions, because if the builtin cannot be used, a reference
16472   # to the library function is emitted.
16473   for ac_header in tgmath.h
16474 do :
16475   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16476 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16477   cat >>confdefs.h <<_ACEOF
16478 #define HAVE_TGMATH_H 1
16479 _ACEOF
16480  ac_has_tgmath_h=yes
16481 else
16482   ac_has_tgmath_h=no
16483 fi
16484
16485 done
16486
16487   for ac_header in complex.h
16488 do :
16489   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16490 if test "x$ac_cv_header_complex_h" = x""yes; then :
16491   cat >>confdefs.h <<_ACEOF
16492 #define HAVE_COMPLEX_H 1
16493 _ACEOF
16494  ac_has_complex_h=yes
16495 else
16496   ac_has_complex_h=no
16497 fi
16498
16499 done
16500
16501   glibcxx_cv_c99_complex=no;
16502   if test x"$ac_has_complex_h" = x"yes"; then
16503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16504 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16505     if test x$gcc_no_link = xyes; then
16506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h.  */
16508 #include <complex.h>
16509         typedef __complex__ float float_type;
16510         typedef __complex__ double double_type;
16511         typedef __complex__ long double ld_type;
16512         volatile float_type tmpf;
16513         volatile double_type tmpd;
16514         volatile ld_type tmpld;
16515         volatile float f;
16516         volatile double d;
16517         volatile long double ld;
16518 int
16519 main ()
16520 {
16521 f = cabsf(tmpf);
16522         f = cargf(tmpf);
16523         tmpf = ccosf(tmpf);
16524         tmpf = ccoshf(tmpf);
16525         tmpf = cexpf(tmpf);
16526         tmpf = clogf(tmpf);
16527         tmpf = csinf(tmpf);
16528         tmpf = csinhf(tmpf);
16529         tmpf = csqrtf(tmpf);
16530         tmpf = ctanf(tmpf);
16531         tmpf = ctanhf(tmpf);
16532         tmpf = cpowf(tmpf, tmpf);
16533         tmpf = cprojf(tmpf);
16534         d = cabs(tmpd);
16535         d = carg(tmpd);
16536         tmpd = ccos(tmpd);
16537         tmpd = ccosh(tmpd);
16538         tmpd = cexp(tmpd);
16539         tmpd = clog(tmpd);
16540         tmpd = csin(tmpd);
16541         tmpd = csinh(tmpd);
16542         tmpd = csqrt(tmpd);
16543         tmpd = ctan(tmpd);
16544         tmpd = ctanh(tmpd);
16545         tmpd = cpow(tmpd, tmpd);
16546         tmpd = cproj(tmpd);
16547         ld = cabsl(tmpld);
16548         ld = cargl(tmpld);
16549         tmpld = ccosl(tmpld);
16550         tmpld = ccoshl(tmpld);
16551         tmpld = cexpl(tmpld);
16552         tmpld = clogl(tmpld);
16553         tmpld = csinl(tmpld);
16554         tmpld = csinhl(tmpld);
16555         tmpld = csqrtl(tmpld);
16556         tmpld = ctanl(tmpld);
16557         tmpld = ctanhl(tmpld);
16558         tmpld = cpowl(tmpld, tmpld);
16559         tmpld = cprojl(tmpld);
16560
16561   ;
16562   return 0;
16563 }
16564 _ACEOF
16565 if ac_fn_cxx_try_compile "$LINENO"; then :
16566   glibcxx_cv_c99_complex=yes
16567 else
16568   glibcxx_cv_c99_complex=no
16569 fi
16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 else
16572   if test x$gcc_no_link = xyes; then
16573   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16574 fi
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h.  */
16577 #include <complex.h>
16578         typedef __complex__ float float_type;
16579         typedef __complex__ double double_type;
16580         typedef __complex__ long double ld_type;
16581         volatile float_type tmpf;
16582         volatile double_type tmpd;
16583         volatile ld_type tmpld;
16584         volatile float f;
16585         volatile double d;
16586         volatile long double ld;
16587 int
16588 main ()
16589 {
16590 f = cabsf(tmpf);
16591         f = cargf(tmpf);
16592         tmpf = ccosf(tmpf);
16593         tmpf = ccoshf(tmpf);
16594         tmpf = cexpf(tmpf);
16595         tmpf = clogf(tmpf);
16596         tmpf = csinf(tmpf);
16597         tmpf = csinhf(tmpf);
16598         tmpf = csqrtf(tmpf);
16599         tmpf = ctanf(tmpf);
16600         tmpf = ctanhf(tmpf);
16601         tmpf = cpowf(tmpf, tmpf);
16602         tmpf = cprojf(tmpf);
16603         d = cabs(tmpd);
16604         d = carg(tmpd);
16605         tmpd = ccos(tmpd);
16606         tmpd = ccosh(tmpd);
16607         tmpd = cexp(tmpd);
16608         tmpd = clog(tmpd);
16609         tmpd = csin(tmpd);
16610         tmpd = csinh(tmpd);
16611         tmpd = csqrt(tmpd);
16612         tmpd = ctan(tmpd);
16613         tmpd = ctanh(tmpd);
16614         tmpd = cpow(tmpd, tmpd);
16615         tmpd = cproj(tmpd);
16616         ld = cabsl(tmpld);
16617         ld = cargl(tmpld);
16618         tmpld = ccosl(tmpld);
16619         tmpld = ccoshl(tmpld);
16620         tmpld = cexpl(tmpld);
16621         tmpld = clogl(tmpld);
16622         tmpld = csinl(tmpld);
16623         tmpld = csinhl(tmpld);
16624         tmpld = csqrtl(tmpld);
16625         tmpld = ctanl(tmpld);
16626         tmpld = ctanhl(tmpld);
16627         tmpld = cpowl(tmpld, tmpld);
16628         tmpld = cprojl(tmpld);
16629
16630   ;
16631   return 0;
16632 }
16633 _ACEOF
16634 if ac_fn_cxx_try_link "$LINENO"; then :
16635   glibcxx_cv_c99_complex=yes
16636 else
16637   glibcxx_cv_c99_complex=no
16638 fi
16639 rm -f core conftest.err conftest.$ac_objext \
16640     conftest$ac_exeext conftest.$ac_ext
16641 fi
16642   fi
16643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16644 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16645   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16646
16647 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16648
16649   fi
16650
16651   # Check for the existence in <stdio.h> of vscanf, et. al.
16652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16653 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16654   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16655   $as_echo_n "(cached) " >&6
16656 else
16657
16658   if test x$gcc_no_link = xyes; then
16659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h.  */
16661 #include <stdio.h>
16662       #include <stdarg.h>
16663       void foo(char* fmt, ...)
16664       {
16665         va_list args; va_start(args, fmt);
16666         vfscanf(stderr, "%i", args);
16667         vscanf("%i", args);
16668         vsnprintf(fmt, 0, "%i", args);
16669         vsscanf(fmt, "%i", args);
16670       }
16671 int
16672 main ()
16673 {
16674 snprintf("12", 0, "%i");
16675   ;
16676   return 0;
16677 }
16678 _ACEOF
16679 if ac_fn_cxx_try_compile "$LINENO"; then :
16680   glibcxx_cv_c99_stdio=yes
16681 else
16682   glibcxx_cv_c99_stdio=no
16683 fi
16684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16685 else
16686   if test x$gcc_no_link = xyes; then
16687   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16688 fi
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h.  */
16691 #include <stdio.h>
16692       #include <stdarg.h>
16693       void foo(char* fmt, ...)
16694       {
16695         va_list args; va_start(args, fmt);
16696         vfscanf(stderr, "%i", args);
16697         vscanf("%i", args);
16698         vsnprintf(fmt, 0, "%i", args);
16699         vsscanf(fmt, "%i", args);
16700       }
16701 int
16702 main ()
16703 {
16704 snprintf("12", 0, "%i");
16705   ;
16706   return 0;
16707 }
16708 _ACEOF
16709 if ac_fn_cxx_try_link "$LINENO"; then :
16710   glibcxx_cv_c99_stdio=yes
16711 else
16712   glibcxx_cv_c99_stdio=no
16713 fi
16714 rm -f core conftest.err conftest.$ac_objext \
16715     conftest$ac_exeext conftest.$ac_ext
16716 fi
16717
16718 fi
16719
16720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16721 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16722
16723   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16725 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16726   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16727   $as_echo_n "(cached) " >&6
16728 else
16729
16730   if test x$gcc_no_link = xyes; then
16731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h.  */
16733 #include <stdlib.h>
16734       volatile float f;
16735       volatile long double ld;
16736       volatile unsigned long long ll;
16737       lldiv_t mydivt;
16738 int
16739 main ()
16740 {
16741 char* tmp;
16742       f = strtof("gnu", &tmp);
16743       ld = strtold("gnu", &tmp);
16744       ll = strtoll("gnu", &tmp, 10);
16745       ll = strtoull("gnu", &tmp, 10);
16746       ll = llabs(10);
16747       mydivt = lldiv(10,1);
16748       ll = mydivt.quot;
16749       ll = mydivt.rem;
16750       ll = atoll("10");
16751       _Exit(0);
16752
16753   ;
16754   return 0;
16755 }
16756 _ACEOF
16757 if ac_fn_cxx_try_compile "$LINENO"; then :
16758   glibcxx_cv_c99_stdlib=yes
16759 else
16760   glibcxx_cv_c99_stdlib=no
16761 fi
16762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16763 else
16764   if test x$gcc_no_link = xyes; then
16765   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16766 fi
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h.  */
16769 #include <stdlib.h>
16770       volatile float f;
16771       volatile long double ld;
16772       volatile unsigned long long ll;
16773       lldiv_t mydivt;
16774 int
16775 main ()
16776 {
16777 char* tmp;
16778       f = strtof("gnu", &tmp);
16779       ld = strtold("gnu", &tmp);
16780       ll = strtoll("gnu", &tmp, 10);
16781       ll = strtoull("gnu", &tmp, 10);
16782       ll = llabs(10);
16783       mydivt = lldiv(10,1);
16784       ll = mydivt.quot;
16785       ll = mydivt.rem;
16786       ll = atoll("10");
16787       _Exit(0);
16788
16789   ;
16790   return 0;
16791 }
16792 _ACEOF
16793 if ac_fn_cxx_try_link "$LINENO"; then :
16794   glibcxx_cv_c99_stdlib=yes
16795 else
16796   glibcxx_cv_c99_stdlib=no
16797 fi
16798 rm -f core conftest.err conftest.$ac_objext \
16799     conftest$ac_exeext conftest.$ac_ext
16800 fi
16801
16802 fi
16803
16804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16805 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16806
16807   # Check for the existence in <wchar.h> of wcstold, etc.
16808   glibcxx_cv_c99_wchar=no;
16809   if test x"$ac_has_wchar_h" = xyes &&
16810      test x"$ac_has_wctype_h" = xyes; then
16811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16812 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16813     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h.  */
16815 #include <wchar.h>
16816                     namespace test
16817                     {
16818                       using ::wcstold;
16819                       using ::wcstoll;
16820                       using ::wcstoull;
16821                     }
16822
16823 int
16824 main ()
16825 {
16826
16827   ;
16828   return 0;
16829 }
16830 _ACEOF
16831 if ac_fn_cxx_try_compile "$LINENO"; then :
16832   glibcxx_cv_c99_wchar=yes
16833 else
16834   glibcxx_cv_c99_wchar=no
16835 fi
16836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16837
16838     # Checks for wide character functions that may not be present.
16839     # Injection of these is wrapped with guard macros.
16840     # NB: only put functions here, instead of immediately above, if
16841     # absolutely necessary.
16842     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h.  */
16844 #include <wchar.h>
16845                     namespace test { using ::vfwscanf; }
16846 int
16847 main ()
16848 {
16849
16850   ;
16851   return 0;
16852 }
16853 _ACEOF
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16855
16856 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16857
16858 fi
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860
16861     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h.  */
16863 #include <wchar.h>
16864                     namespace test { using ::vswscanf; }
16865 int
16866 main ()
16867 {
16868
16869   ;
16870   return 0;
16871 }
16872 _ACEOF
16873 if ac_fn_cxx_try_compile "$LINENO"; then :
16874
16875 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16876
16877 fi
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879
16880     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h.  */
16882 #include <wchar.h>
16883                     namespace test { using ::vwscanf; }
16884 int
16885 main ()
16886 {
16887
16888   ;
16889   return 0;
16890 }
16891 _ACEOF
16892 if ac_fn_cxx_try_compile "$LINENO"; then :
16893
16894 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16895
16896 fi
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898
16899     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h.  */
16901 #include <wchar.h>
16902                     namespace test { using ::wcstof; }
16903 int
16904 main ()
16905 {
16906
16907   ;
16908   return 0;
16909 }
16910 _ACEOF
16911 if ac_fn_cxx_try_compile "$LINENO"; then :
16912
16913 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16914
16915 fi
16916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16917
16918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h.  */
16920 #include <wctype.h>
16921 int
16922 main ()
16923 {
16924  wint_t t; int i = iswblank(t);
16925   ;
16926   return 0;
16927 }
16928 _ACEOF
16929 if ac_fn_cxx_try_compile "$LINENO"; then :
16930
16931 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16932
16933 fi
16934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935
16936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16937 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16938   fi
16939
16940   # Option parsed, now set things appropriately.
16941   if test x"$glibcxx_cv_c99_math" = x"no" ||
16942      test x"$glibcxx_cv_c99_complex" = x"no" ||
16943      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16944      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16945      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16946     enable_c99=no;
16947   else
16948
16949 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16950
16951   fi
16952
16953   gcc_no_link="$ac_save_gcc_no_link"
16954   LIBS="$ac_save_LIBS"
16955   CXXFLAGS="$ac_save_CXXFLAGS"
16956   ac_ext=c
16957 ac_cpp='$CPP $CPPFLAGS'
16958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16961
16962   fi
16963
16964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16965 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16967 $as_echo "$enable_c99" >&6; }
16968
16969
16970    # Check whether --enable-concept-checks was given.
16971 if test "${enable_concept_checks+set}" = set; then :
16972   enableval=$enable_concept_checks;
16973       case "$enableval" in
16974        yes|no) ;;
16975        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16976       esac
16977
16978 else
16979   enable_concept_checks=no
16980 fi
16981
16982
16983   if test $enable_concept_checks = yes; then
16984
16985 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16986
16987   fi
16988
16989
16990    # Check whether --enable-libstdcxx-debug-flags was given.
16991 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16992   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16993       xno | x)    enable_libstdcxx_debug_flags= ;;
16994       x-*)        ;;
16995       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16996      esac
16997 else
16998   enable_libstdcxx_debug_flags="-g3 -O0"
16999 fi
17000
17001
17002
17003   # Option parsed, now set things appropriately
17004   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17005
17006
17007   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17008 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17009
17010
17011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17012 $as_echo_n "checking for additional debug build... " >&6; }
17013    # Check whether --enable-libstdcxx-debug was given.
17014 if test "${enable_libstdcxx_debug+set}" = set; then :
17015   enableval=$enable_libstdcxx_debug;
17016       case "$enableval" in
17017        yes|no) ;;
17018        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17019       esac
17020
17021 else
17022   enable_libstdcxx_debug=no
17023 fi
17024
17025
17026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17027 $as_echo "$enable_libstdcxx_debug" >&6; }
17028
17029
17030
17031
17032   enable_parallel=no;
17033
17034   # See if configured libgomp/omp.h exists. (libgomp may be in
17035   # noconfigdirs but not explicitly disabled.)
17036   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17037     enable_parallel=yes;
17038   else
17039     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17040 $as_echo "$as_me: target-libgomp not built" >&6;}
17041   fi
17042
17043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17044 $as_echo_n "checking for parallel mode support... " >&6; }
17045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17046 $as_echo "$enable_parallel" >&6; }
17047
17048
17049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17050 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17051    # Check whether --enable-cxx-flags was given.
17052 if test "${enable_cxx_flags+set}" = set; then :
17053   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17054       xno | x)   enable_cxx_flags= ;;
17055       x-*)       ;;
17056       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17057      esac
17058 else
17059   enable_cxx_flags=
17060 fi
17061
17062
17063
17064   # Run through flags (either default or command-line) and set anything
17065   # extra (e.g., #defines) that must accompany particular g++ options.
17066   if test -n "$enable_cxx_flags"; then
17067     for f in $enable_cxx_flags; do
17068       case "$f" in
17069         -fhonor-std)  ;;
17070         -*)  ;;
17071         *)   # and we're trying to pass /what/ exactly?
17072              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17073       esac
17074     done
17075   fi
17076
17077   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17079 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17080
17081
17082
17083    # Check whether --enable-fully-dynamic-string was given.
17084 if test "${enable_fully_dynamic_string+set}" = set; then :
17085   enableval=$enable_fully_dynamic_string;
17086       case "$enableval" in
17087        yes|no) ;;
17088        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17089       esac
17090
17091 else
17092   enable_fully_dynamic_string=no
17093 fi
17094
17095
17096   if test $enable_fully_dynamic_string = yes; then
17097
17098 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17099
17100   fi
17101
17102
17103 # Checks for operating systems support that doesn't require linking.
17104
17105
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17107 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17108 if test "${glibcxx_cv_system_error1+set}" = set; then :
17109   $as_echo_n "(cached) " >&6
17110 else
17111
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h.  */
17114 #include <errno.h>
17115 int
17116 main ()
17117 {
17118 int i = EOWNERDEAD;
17119   ;
17120   return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_c_try_compile "$LINENO"; then :
17124   glibcxx_cv_system_error1=yes
17125 else
17126   glibcxx_cv_system_error1=no
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130 fi
17131
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17133 $as_echo "$glibcxx_cv_system_error1" >&6; }
17134 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17135
17136 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17137
17138 fi
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17140 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17141 if test "${glibcxx_cv_system_error2+set}" = set; then :
17142   $as_echo_n "(cached) " >&6
17143 else
17144
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h.  */
17147 #include <errno.h>
17148 int
17149 main ()
17150 {
17151 int i = ENOTRECOVERABLE;
17152   ;
17153   return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_c_try_compile "$LINENO"; then :
17157   glibcxx_cv_system_error2=yes
17158 else
17159   glibcxx_cv_system_error2=no
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163 fi
17164
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17166 $as_echo "$glibcxx_cv_system_error2" >&6; }
17167 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17168
17169 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17170
17171 fi
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17173 $as_echo_n "checking for ENOLINK... " >&6; }
17174 if test "${glibcxx_cv_system_error3+set}" = set; then :
17175   $as_echo_n "(cached) " >&6
17176 else
17177
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h.  */
17180 #include <errno.h>
17181 int
17182 main ()
17183 {
17184 int i = ENOLINK;
17185   ;
17186   return 0;
17187 }
17188 _ACEOF
17189 if ac_fn_c_try_compile "$LINENO"; then :
17190   glibcxx_cv_system_error3=yes
17191 else
17192   glibcxx_cv_system_error3=no
17193 fi
17194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195
17196 fi
17197
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17199 $as_echo "$glibcxx_cv_system_error3" >&6; }
17200 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17201
17202 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17203
17204 fi
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17206 $as_echo_n "checking for EPROTO... " >&6; }
17207 if test "${glibcxx_cv_system_error4+set}" = set; then :
17208   $as_echo_n "(cached) " >&6
17209 else
17210
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h.  */
17213 #include <errno.h>
17214 int
17215 main ()
17216 {
17217 int i = EPROTO;
17218   ;
17219   return 0;
17220 }
17221 _ACEOF
17222 if ac_fn_c_try_compile "$LINENO"; then :
17223   glibcxx_cv_system_error4=yes
17224 else
17225   glibcxx_cv_system_error4=no
17226 fi
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228
17229 fi
17230
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17232 $as_echo "$glibcxx_cv_system_error4" >&6; }
17233 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17234
17235 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17236
17237 fi
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17239 $as_echo_n "checking for ENODATA... " >&6; }
17240 if test "${glibcxx_cv_system_error5+set}" = set; then :
17241   $as_echo_n "(cached) " >&6
17242 else
17243
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h.  */
17246 #include <errno.h>
17247 int
17248 main ()
17249 {
17250 int i = ENODATA;
17251   ;
17252   return 0;
17253 }
17254 _ACEOF
17255 if ac_fn_c_try_compile "$LINENO"; then :
17256   glibcxx_cv_system_error5=yes
17257 else
17258   glibcxx_cv_system_error5=no
17259 fi
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261
17262 fi
17263
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17265 $as_echo "$glibcxx_cv_system_error5" >&6; }
17266 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17267
17268 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17269
17270 fi
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17272 $as_echo_n "checking for ENOSR... " >&6; }
17273 if test "${glibcxx_cv_system_error6+set}" = set; then :
17274   $as_echo_n "(cached) " >&6
17275 else
17276
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h.  */
17279 #include <errno.h>
17280 int
17281 main ()
17282 {
17283 int i = ENOSR;
17284   ;
17285   return 0;
17286 }
17287 _ACEOF
17288 if ac_fn_c_try_compile "$LINENO"; then :
17289   glibcxx_cv_system_error6=yes
17290 else
17291   glibcxx_cv_system_error6=no
17292 fi
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294
17295 fi
17296
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17298 $as_echo "$glibcxx_cv_system_error6" >&6; }
17299 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17300
17301 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17302
17303 fi
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17305 $as_echo_n "checking for ENOSTR... " >&6; }
17306 if test "${glibcxx_cv_system_error7+set}" = set; then :
17307   $as_echo_n "(cached) " >&6
17308 else
17309
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h.  */
17312 #include <errno.h>
17313 int
17314 main ()
17315 {
17316 int i = ENOSTR;
17317   ;
17318   return 0;
17319 }
17320 _ACEOF
17321 if ac_fn_c_try_compile "$LINENO"; then :
17322   glibcxx_cv_system_error7=yes
17323 else
17324   glibcxx_cv_system_error7=no
17325 fi
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327
17328 fi
17329
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17331 $as_echo "$glibcxx_cv_system_error7" >&6; }
17332 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17333
17334 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17335
17336 fi
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17338 $as_echo_n "checking for ETIME... " >&6; }
17339 if test "${glibcxx_cv_system_error8+set}" = set; then :
17340   $as_echo_n "(cached) " >&6
17341 else
17342
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h.  */
17345 #include <errno.h>
17346 int
17347 main ()
17348 {
17349 int i = ETIME;
17350   ;
17351   return 0;
17352 }
17353 _ACEOF
17354 if ac_fn_c_try_compile "$LINENO"; then :
17355   glibcxx_cv_system_error8=yes
17356 else
17357   glibcxx_cv_system_error8=no
17358 fi
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360
17361 fi
17362
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17364 $as_echo "$glibcxx_cv_system_error8" >&6; }
17365 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17366
17367 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17368
17369 fi
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17371 $as_echo_n "checking for EBADMSG... " >&6; }
17372 if test "${glibcxx_cv_system_error9+set}" = set; then :
17373   $as_echo_n "(cached) " >&6
17374 else
17375
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h.  */
17378 #include <errno.h>
17379 int
17380 main ()
17381 {
17382 int i = EBADMSG;
17383   ;
17384   return 0;
17385 }
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388   glibcxx_cv_system_error9=yes
17389 else
17390   glibcxx_cv_system_error9=no
17391 fi
17392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393
17394 fi
17395
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17397 $as_echo "$glibcxx_cv_system_error9" >&6; }
17398 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17399
17400 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17401
17402 fi
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17404 $as_echo_n "checking for ECANCELED... " >&6; }
17405 if test "${glibcxx_cv_system_error10+set}" = set; then :
17406   $as_echo_n "(cached) " >&6
17407 else
17408
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h.  */
17411 #include <errno.h>
17412 int
17413 main ()
17414 {
17415 int i = ECANCELED;
17416   ;
17417   return 0;
17418 }
17419 _ACEOF
17420 if ac_fn_c_try_compile "$LINENO"; then :
17421   glibcxx_cv_system_error10=yes
17422 else
17423   glibcxx_cv_system_error10=no
17424 fi
17425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426
17427 fi
17428
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17430 $as_echo "$glibcxx_cv_system_error10" >&6; }
17431 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17432
17433 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17434
17435 fi
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17437 $as_echo_n "checking for EOVERFLOW... " >&6; }
17438 if test "${glibcxx_cv_system_error11+set}" = set; then :
17439   $as_echo_n "(cached) " >&6
17440 else
17441
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h.  */
17444 #include <errno.h>
17445 int
17446 main ()
17447 {
17448 int i = EOVERFLOW;
17449   ;
17450   return 0;
17451 }
17452 _ACEOF
17453 if ac_fn_c_try_compile "$LINENO"; then :
17454   glibcxx_cv_system_error11=yes
17455 else
17456   glibcxx_cv_system_error11=no
17457 fi
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459
17460 fi
17461
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17463 $as_echo "$glibcxx_cv_system_error11" >&6; }
17464 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17465
17466 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17467
17468 fi
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17470 $as_echo_n "checking for ENOTSUP... " >&6; }
17471 if test "${glibcxx_cv_system_error12+set}" = set; then :
17472   $as_echo_n "(cached) " >&6
17473 else
17474
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h.  */
17477 #include <errno.h>
17478 int
17479 main ()
17480 {
17481 int i = ENOTSUP;
17482   ;
17483   return 0;
17484 }
17485 _ACEOF
17486 if ac_fn_c_try_compile "$LINENO"; then :
17487   glibcxx_cv_system_error12=yes
17488 else
17489   glibcxx_cv_system_error12=no
17490 fi
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492
17493 fi
17494
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17496 $as_echo "$glibcxx_cv_system_error12" >&6; }
17497 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17498
17499 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17500
17501 fi
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17503 $as_echo_n "checking for EIDRM... " >&6; }
17504 if test "${glibcxx_cv_system_error13+set}" = set; then :
17505   $as_echo_n "(cached) " >&6
17506 else
17507
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h.  */
17510 #include <errno.h>
17511 int
17512 main ()
17513 {
17514 int i = EIDRM;
17515   ;
17516   return 0;
17517 }
17518 _ACEOF
17519 if ac_fn_c_try_compile "$LINENO"; then :
17520   glibcxx_cv_system_error13=yes
17521 else
17522   glibcxx_cv_system_error13=no
17523 fi
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525
17526 fi
17527
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17529 $as_echo "$glibcxx_cv_system_error13" >&6; }
17530 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17531
17532 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17533
17534 fi
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17536 $as_echo_n "checking for ETXTBSY... " >&6; }
17537 if test "${glibcxx_cv_system_error14+set}" = set; then :
17538   $as_echo_n "(cached) " >&6
17539 else
17540
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h.  */
17543 #include <errno.h>
17544 int
17545 main ()
17546 {
17547 int i = ETXTBSY;
17548   ;
17549   return 0;
17550 }
17551 _ACEOF
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553   glibcxx_cv_system_error14=yes
17554 else
17555   glibcxx_cv_system_error14=no
17556 fi
17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558
17559 fi
17560
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17562 $as_echo "$glibcxx_cv_system_error14" >&6; }
17563 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17564
17565 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17566
17567 fi
17568
17569
17570
17571 # For the streamoff typedef.
17572
17573
17574
17575   ac_ext=cpp
17576 ac_cpp='$CXXCPP $CPPFLAGS'
17577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17580
17581
17582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17583 $as_echo_n "checking for int64_t... " >&6; }
17584   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17585   $as_echo_n "(cached) " >&6
17586 else
17587
17588     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h.  */
17590 #include <stdint.h>
17591 int
17592 main ()
17593 {
17594 int64_t var;
17595   ;
17596   return 0;
17597 }
17598 _ACEOF
17599 if ac_fn_cxx_try_compile "$LINENO"; then :
17600   glibcxx_cv_INT64_T=yes
17601 else
17602   glibcxx_cv_INT64_T=no
17603 fi
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605
17606 fi
17607
17608
17609   if test $glibcxx_cv_INT64_T = yes; then
17610
17611 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17612
17613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17614 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17615
17616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17617 $as_echo_n "checking for int64_t as long... " >&6; }
17618     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17619   $as_echo_n "(cached) " >&6
17620 else
17621
17622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h.  */
17624 #include <stdint.h>
17625         template<typename, typename> struct same { enum { value = -1 }; };
17626         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17627         int array[same<int64_t, long>::value];
17628 int
17629 main ()
17630 {
17631
17632   ;
17633   return 0;
17634 }
17635 _ACEOF
17636 if ac_fn_cxx_try_compile "$LINENO"; then :
17637   glibcxx_cv_int64_t_long=yes
17638 else
17639   glibcxx_cv_int64_t_long=no
17640 fi
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642
17643 fi
17644
17645
17646     if test $glibcxx_cv_int64_t_long = yes; then
17647
17648 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17649
17650       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17651 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17652     fi
17653
17654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17655 $as_echo_n "checking for int64_t as long long... " >&6; }
17656     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17657   $as_echo_n "(cached) " >&6
17658 else
17659
17660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h.  */
17662 #include <stdint.h>
17663         template<typename, typename> struct same { enum { value = -1 }; };
17664         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17665         int array[same<int64_t, long long>::value];
17666 int
17667 main ()
17668 {
17669
17670   ;
17671   return 0;
17672 }
17673 _ACEOF
17674 if ac_fn_cxx_try_compile "$LINENO"; then :
17675   glibcxx_cv_int64_t_long_long=yes
17676 else
17677   glibcxx_cv_int64_t_long_long=no
17678 fi
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681 fi
17682
17683
17684     if test $glibcxx_cv_int64_t_long_long = yes; then
17685
17686 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17687
17688       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17689 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17690     fi
17691   fi
17692
17693   ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17698
17699
17700
17701 # For LFS support.
17702
17703
17704   ac_ext=cpp
17705 ac_cpp='$CXXCPP $CPPFLAGS'
17706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17709
17710   ac_save_CXXFLAGS="$CXXFLAGS"
17711   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17713 $as_echo_n "checking for LFS support... " >&6; }
17714   if test "${glibcxx_cv_LFS+set}" = set; then :
17715   $as_echo_n "(cached) " >&6
17716 else
17717
17718     if test x$gcc_no_link = xyes; then
17719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h.  */
17721 #include <unistd.h>
17722        #include <stdio.h>
17723        #include <sys/stat.h>
17724
17725 int
17726 main ()
17727 {
17728 FILE* fp;
17729        fopen64("t", "w");
17730        fseeko64(fp, 0, SEEK_CUR);
17731        ftello64(fp);
17732        lseek64(1, 0, SEEK_CUR);
17733        struct stat64 buf;
17734        fstat64(1, &buf);
17735   ;
17736   return 0;
17737 }
17738 _ACEOF
17739 if ac_fn_cxx_try_compile "$LINENO"; then :
17740   glibcxx_cv_LFS=yes
17741 else
17742   glibcxx_cv_LFS=no
17743 fi
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 else
17746   if test x$gcc_no_link = xyes; then
17747   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17748 fi
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h.  */
17751 #include <unistd.h>
17752        #include <stdio.h>
17753        #include <sys/stat.h>
17754
17755 int
17756 main ()
17757 {
17758 FILE* fp;
17759        fopen64("t", "w");
17760        fseeko64(fp, 0, SEEK_CUR);
17761        ftello64(fp);
17762        lseek64(1, 0, SEEK_CUR);
17763        struct stat64 buf;
17764        fstat64(1, &buf);
17765   ;
17766   return 0;
17767 }
17768 _ACEOF
17769 if ac_fn_cxx_try_link "$LINENO"; then :
17770   glibcxx_cv_LFS=yes
17771 else
17772   glibcxx_cv_LFS=no
17773 fi
17774 rm -f core conftest.err conftest.$ac_objext \
17775     conftest$ac_exeext conftest.$ac_ext
17776 fi
17777
17778 fi
17779
17780   if test $glibcxx_cv_LFS = yes; then
17781
17782 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17783
17784   fi
17785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17786 $as_echo "$glibcxx_cv_LFS" >&6; }
17787   CXXFLAGS="$ac_save_CXXFLAGS"
17788   ac_ext=c
17789 ac_cpp='$CPP $CPPFLAGS'
17790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17793
17794
17795
17796 # For showmanyc_helper().
17797 for ac_header in sys/ioctl.h sys/filio.h
17798 do :
17799   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17800 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17801 eval as_val=\$$as_ac_Header
17802    if test "x$as_val" = x""yes; then :
17803   cat >>confdefs.h <<_ACEOF
17804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17805 _ACEOF
17806
17807 fi
17808
17809 done
17810
17811
17812
17813
17814   ac_ext=cpp
17815 ac_cpp='$CXXCPP $CPPFLAGS'
17816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17819
17820   ac_save_CXXFLAGS="$CXXFLAGS"
17821   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17822
17823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17824 $as_echo_n "checking for poll... " >&6; }
17825   if test "${glibcxx_cv_POLL+set}" = set; then :
17826   $as_echo_n "(cached) " >&6
17827 else
17828
17829     if test x$gcc_no_link = xyes; then
17830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h.  */
17832 #include <poll.h>
17833 int
17834 main ()
17835 {
17836 struct pollfd pfd[1];
17837        pfd[0].events = POLLIN;
17838        poll(pfd, 1, 0);
17839   ;
17840   return 0;
17841 }
17842 _ACEOF
17843 if ac_fn_cxx_try_compile "$LINENO"; then :
17844   glibcxx_cv_POLL=yes
17845 else
17846   glibcxx_cv_POLL=no
17847 fi
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849 else
17850   if test x$gcc_no_link = xyes; then
17851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17852 fi
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h.  */
17855 #include <poll.h>
17856 int
17857 main ()
17858 {
17859 struct pollfd pfd[1];
17860        pfd[0].events = POLLIN;
17861        poll(pfd, 1, 0);
17862   ;
17863   return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_cxx_try_link "$LINENO"; then :
17867   glibcxx_cv_POLL=yes
17868 else
17869   glibcxx_cv_POLL=no
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext \
17872     conftest$ac_exeext conftest.$ac_ext
17873 fi
17874
17875 fi
17876
17877   if test $glibcxx_cv_POLL = yes; then
17878
17879 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17880
17881   fi
17882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17883 $as_echo "$glibcxx_cv_POLL" >&6; }
17884
17885   CXXFLAGS="$ac_save_CXXFLAGS"
17886   ac_ext=c
17887 ac_cpp='$CPP $CPPFLAGS'
17888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17891
17892
17893
17894
17895
17896   ac_ext=cpp
17897 ac_cpp='$CXXCPP $CPPFLAGS'
17898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17901
17902   ac_save_CXXFLAGS="$CXXFLAGS"
17903   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17904
17905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17906 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17907   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17908   $as_echo_n "(cached) " >&6
17909 else
17910
17911     if test x$gcc_no_link = xyes; then
17912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h.  */
17914 #include <sys/stat.h>
17915 int
17916 main ()
17917 {
17918 struct stat buffer;
17919        fstat(0, &buffer);
17920        S_ISREG(buffer.st_mode);
17921   ;
17922   return 0;
17923 }
17924 _ACEOF
17925 if ac_fn_cxx_try_compile "$LINENO"; then :
17926   glibcxx_cv_S_ISREG=yes
17927 else
17928   glibcxx_cv_S_ISREG=no
17929 fi
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 else
17932   if test x$gcc_no_link = xyes; then
17933   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17934 fi
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h.  */
17937 #include <sys/stat.h>
17938 int
17939 main ()
17940 {
17941 struct stat buffer;
17942        fstat(0, &buffer);
17943        S_ISREG(buffer.st_mode);
17944   ;
17945   return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_cxx_try_link "$LINENO"; then :
17949   glibcxx_cv_S_ISREG=yes
17950 else
17951   glibcxx_cv_S_ISREG=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext \
17954     conftest$ac_exeext conftest.$ac_ext
17955 fi
17956
17957 fi
17958
17959   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17960   $as_echo_n "(cached) " >&6
17961 else
17962
17963     if test x$gcc_no_link = xyes; then
17964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h.  */
17966 #include <sys/stat.h>
17967 int
17968 main ()
17969 {
17970 struct stat buffer;
17971        fstat(0, &buffer);
17972        S_IFREG & buffer.st_mode;
17973   ;
17974   return 0;
17975 }
17976 _ACEOF
17977 if ac_fn_cxx_try_compile "$LINENO"; then :
17978   glibcxx_cv_S_IFREG=yes
17979 else
17980   glibcxx_cv_S_IFREG=no
17981 fi
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 else
17984   if test x$gcc_no_link = xyes; then
17985   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17986 fi
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h.  */
17989 #include <sys/stat.h>
17990 int
17991 main ()
17992 {
17993 struct stat buffer;
17994        fstat(0, &buffer);
17995        S_IFREG & buffer.st_mode;
17996   ;
17997   return 0;
17998 }
17999 _ACEOF
18000 if ac_fn_cxx_try_link "$LINENO"; then :
18001   glibcxx_cv_S_IFREG=yes
18002 else
18003   glibcxx_cv_S_IFREG=no
18004 fi
18005 rm -f core conftest.err conftest.$ac_objext \
18006     conftest$ac_exeext conftest.$ac_ext
18007 fi
18008
18009 fi
18010
18011   res=no
18012   if test $glibcxx_cv_S_ISREG = yes; then
18013
18014 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18015
18016     res=S_ISREG
18017   elif test $glibcxx_cv_S_IFREG = yes; then
18018
18019 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18020
18021     res=S_IFREG
18022   fi
18023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18024 $as_echo "$res" >&6; }
18025
18026   CXXFLAGS="$ac_save_CXXFLAGS"
18027   ac_ext=c
18028 ac_cpp='$CPP $CPPFLAGS'
18029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18032
18033
18034
18035 # For xsputn_2().
18036 for ac_header in sys/uio.h
18037 do :
18038   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18039 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18040   cat >>confdefs.h <<_ACEOF
18041 #define HAVE_SYS_UIO_H 1
18042 _ACEOF
18043
18044 fi
18045
18046 done
18047
18048
18049
18050
18051   ac_ext=cpp
18052 ac_cpp='$CXXCPP $CPPFLAGS'
18053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056
18057   ac_save_CXXFLAGS="$CXXFLAGS"
18058   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18059
18060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18061 $as_echo_n "checking for writev... " >&6; }
18062   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18063   $as_echo_n "(cached) " >&6
18064 else
18065
18066     if test x$gcc_no_link = xyes; then
18067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h.  */
18069 #include <sys/uio.h>
18070 int
18071 main ()
18072 {
18073 struct iovec iov[2];
18074        writev(0, iov, 0);
18075   ;
18076   return 0;
18077 }
18078 _ACEOF
18079 if ac_fn_cxx_try_compile "$LINENO"; then :
18080   glibcxx_cv_WRITEV=yes
18081 else
18082   glibcxx_cv_WRITEV=no
18083 fi
18084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085 else
18086   if test x$gcc_no_link = xyes; then
18087   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 fi
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h.  */
18091 #include <sys/uio.h>
18092 int
18093 main ()
18094 {
18095 struct iovec iov[2];
18096        writev(0, iov, 0);
18097   ;
18098   return 0;
18099 }
18100 _ACEOF
18101 if ac_fn_cxx_try_link "$LINENO"; then :
18102   glibcxx_cv_WRITEV=yes
18103 else
18104   glibcxx_cv_WRITEV=no
18105 fi
18106 rm -f core conftest.err conftest.$ac_objext \
18107     conftest$ac_exeext conftest.$ac_ext
18108 fi
18109
18110 fi
18111
18112   if test $glibcxx_cv_WRITEV = yes; then
18113
18114 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18115
18116   fi
18117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18118 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18119
18120   CXXFLAGS="$ac_save_CXXFLAGS"
18121   ac_ext=c
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18126
18127
18128
18129 # For C99 support to TR1.
18130
18131
18132
18133   ac_ext=cpp
18134 ac_cpp='$CXXCPP $CPPFLAGS'
18135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18138
18139
18140   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18141   # undefined and fake C99 facilities may be spuriously enabled.
18142   ac_save_CXXFLAGS="$CXXFLAGS"
18143   CXXFLAGS="$CXXFLAGS -std=c++98"
18144
18145   # Check for the existence of <complex.h> complex math functions used
18146   # by tr1/complex.
18147   for ac_header in complex.h
18148 do :
18149   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18150 if test "x$ac_cv_header_complex_h" = x""yes; then :
18151   cat >>confdefs.h <<_ACEOF
18152 #define HAVE_COMPLEX_H 1
18153 _ACEOF
18154  ac_has_complex_h=yes
18155 else
18156   ac_has_complex_h=no
18157 fi
18158
18159 done
18160
18161   ac_c99_complex_tr1=no;
18162   if test x"$ac_has_complex_h" = x"yes"; then
18163     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18164 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18165     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h.  */
18167 #include <complex.h>
18168 int
18169 main ()
18170 {
18171 typedef __complex__ float float_type; float_type tmpf;
18172                     cacosf(tmpf);
18173                     casinf(tmpf);
18174                     catanf(tmpf);
18175                     cacoshf(tmpf);
18176                     casinhf(tmpf);
18177                     catanhf(tmpf);
18178                     typedef __complex__ double double_type; double_type tmpd;
18179                     cacos(tmpd);
18180                     casin(tmpd);
18181                     catan(tmpd);
18182                     cacosh(tmpd);
18183                     casinh(tmpd);
18184                     catanh(tmpd);
18185                     typedef __complex__ long double ld_type; ld_type tmpld;
18186                     cacosl(tmpld);
18187                     casinl(tmpld);
18188                     catanl(tmpld);
18189                     cacoshl(tmpld);
18190                     casinhl(tmpld);
18191                     catanhl(tmpld);
18192
18193   ;
18194   return 0;
18195 }
18196 _ACEOF
18197 if ac_fn_cxx_try_compile "$LINENO"; then :
18198   ac_c99_complex_tr1=yes
18199 else
18200   ac_c99_complex_tr1=no
18201 fi
18202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18203   fi
18204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18205 $as_echo "$ac_c99_complex_tr1" >&6; }
18206   if test x"$ac_c99_complex_tr1" = x"yes"; then
18207
18208 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18209
18210   fi
18211
18212   # Check for the existence of <ctype.h> functions.
18213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18214 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18215   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18216   $as_echo_n "(cached) " >&6
18217 else
18218
18219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18220 /* end confdefs.h.  */
18221 #include <ctype.h>
18222 int
18223 main ()
18224 {
18225 int ch;
18226                   int ret;
18227                   ret = isblank(ch);
18228
18229   ;
18230   return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234   glibcxx_cv_c99_ctype_tr1=yes
18235 else
18236   glibcxx_cv_c99_ctype_tr1=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239
18240 fi
18241
18242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18243 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18244   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18245
18246 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18247
18248   fi
18249
18250   # Check for the existence of <fenv.h> functions.
18251   for ac_header in fenv.h
18252 do :
18253   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18254 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18255   cat >>confdefs.h <<_ACEOF
18256 #define HAVE_FENV_H 1
18257 _ACEOF
18258  ac_has_fenv_h=yes
18259 else
18260   ac_has_fenv_h=no
18261 fi
18262
18263 done
18264
18265   ac_c99_fenv_tr1=no;
18266   if test x"$ac_has_fenv_h" = x"yes"; then
18267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18268 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18269     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h.  */
18271 #include <fenv.h>
18272 int
18273 main ()
18274 {
18275 int except, mode;
18276                     fexcept_t* pflag;
18277                     fenv_t* penv;
18278                     int ret;
18279                     ret = feclearexcept(except);
18280                     ret = fegetexceptflag(pflag, except);
18281                     ret = feraiseexcept(except);
18282                     ret = fesetexceptflag(pflag, except);
18283                     ret = fetestexcept(except);
18284                     ret = fegetround();
18285                     ret = fesetround(mode);
18286                     ret = fegetenv(penv);
18287                     ret = feholdexcept(penv);
18288                     ret = fesetenv(penv);
18289                     ret = feupdateenv(penv);
18290
18291   ;
18292   return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296   ac_c99_fenv_tr1=yes
18297 else
18298   ac_c99_fenv_tr1=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301   fi
18302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18303 $as_echo "$ac_c99_fenv_tr1" >&6; }
18304   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18305
18306 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18307
18308   fi
18309
18310   # Check for the existence of <stdint.h> types.
18311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18312 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18313   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18314   $as_echo_n "(cached) " >&6
18315 else
18316
18317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h.  */
18319 #define __STDC_LIMIT_MACROS
18320                   #define __STDC_CONSTANT_MACROS
18321                   #include <stdint.h>
18322 int
18323 main ()
18324 {
18325 typedef int8_t          my_int8_t;
18326                   my_int8_t               i8 = INT8_MIN;
18327                   i8 = INT8_MAX;
18328                   typedef int16_t         my_int16_t;
18329                   my_int16_t              i16 = INT16_MIN;
18330                   i16 = INT16_MAX;
18331                   typedef int32_t         my_int32_t;
18332                   my_int32_t              i32 = INT32_MIN;
18333                   i32 = INT32_MAX;
18334                   typedef int64_t         my_int64_t;
18335                   my_int64_t              i64 = INT64_MIN;
18336                   i64 = INT64_MAX;
18337                   typedef int_fast8_t     my_int_fast8_t;
18338                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18339                   if8 = INT_FAST8_MAX;
18340                   typedef int_fast16_t    my_int_fast16_t;
18341                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18342                   if16 = INT_FAST16_MAX;
18343                   typedef int_fast32_t    my_int_fast32_t;
18344                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18345                   if32 = INT_FAST32_MAX;
18346                   typedef int_fast64_t    my_int_fast64_t;
18347                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18348                   if64 = INT_FAST64_MAX;
18349                   typedef int_least8_t    my_int_least8_t;
18350                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18351                   il8 = INT_LEAST8_MAX;
18352                   typedef int_least16_t   my_int_least16_t;
18353                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18354                   il16 = INT_LEAST16_MAX;
18355                   typedef int_least32_t   my_int_least32_t;
18356                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18357                   il32 = INT_LEAST32_MAX;
18358                   typedef int_least64_t   my_int_least64_t;
18359                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18360                   il64 = INT_LEAST64_MAX;
18361                   typedef intmax_t        my_intmax_t;
18362                   my_intmax_t             im = INTMAX_MAX;
18363                   im = INTMAX_MIN;
18364                   typedef intptr_t        my_intptr_t;
18365                   my_intptr_t             ip = INTPTR_MAX;
18366                   ip = INTPTR_MIN;
18367                   typedef uint8_t         my_uint8_t;
18368                   my_uint8_t              ui8 = UINT8_MAX;
18369                   ui8 = UINT8_MAX;
18370                   typedef uint16_t        my_uint16_t;
18371                   my_uint16_t             ui16 = UINT16_MAX;
18372                   ui16 = UINT16_MAX;
18373                   typedef uint32_t        my_uint32_t;
18374                   my_uint32_t             ui32 = UINT32_MAX;
18375                   ui32 = UINT32_MAX;
18376                   typedef uint64_t        my_uint64_t;
18377                   my_uint64_t             ui64 = UINT64_MAX;
18378                   ui64 = UINT64_MAX;
18379                   typedef uint_fast8_t    my_uint_fast8_t;
18380                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18381                   uif8 = UINT_FAST8_MAX;
18382                   typedef uint_fast16_t   my_uint_fast16_t;
18383                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18384                   uif16 = UINT_FAST16_MAX;
18385                   typedef uint_fast32_t   my_uint_fast32_t;
18386                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18387                   uif32 = UINT_FAST32_MAX;
18388                   typedef uint_fast64_t   my_uint_fast64_t;
18389                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18390                   uif64 = UINT_FAST64_MAX;
18391                   typedef uint_least8_t   my_uint_least8_t;
18392                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18393                   uil8 = UINT_LEAST8_MAX;
18394                   typedef uint_least16_t  my_uint_least16_t;
18395                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18396                   uil16 = UINT_LEAST16_MAX;
18397                   typedef uint_least32_t  my_uint_least32_t;
18398                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18399                   uil32 = UINT_LEAST32_MAX;
18400                   typedef uint_least64_t  my_uint_least64_t;
18401                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18402                   uil64 = UINT_LEAST64_MAX;
18403                   typedef uintmax_t       my_uintmax_t;
18404                   my_uintmax_t            uim = UINTMAX_MAX;
18405                   uim = UINTMAX_MAX;
18406                   typedef uintptr_t       my_uintptr_t;
18407                   my_uintptr_t            uip = UINTPTR_MAX;
18408                   uip = UINTPTR_MAX;
18409
18410   ;
18411   return 0;
18412 }
18413 _ACEOF
18414 if ac_fn_cxx_try_compile "$LINENO"; then :
18415   glibcxx_cv_c99_stdint_tr1=yes
18416 else
18417   glibcxx_cv_c99_stdint_tr1=no
18418 fi
18419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420
18421 fi
18422
18423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18424 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18425   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18426
18427 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18428
18429   fi
18430
18431   # Check for the existence of <math.h> functions.
18432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18433 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18434   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18435   $as_echo_n "(cached) " >&6
18436 else
18437
18438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h.  */
18440 #include <math.h>
18441 int
18442 main ()
18443 {
18444 typedef double_t  my_double_t;
18445                   typedef float_t   my_float_t;
18446                   acosh(0.0);
18447                   acoshf(0.0f);
18448                   acoshl(0.0l);
18449                   asinh(0.0);
18450                   asinhf(0.0f);
18451                   asinhl(0.0l);
18452                   atanh(0.0);
18453                   atanhf(0.0f);
18454                   atanhl(0.0l);
18455                   cbrt(0.0);
18456                   cbrtf(0.0f);
18457                   cbrtl(0.0l);
18458                   copysign(0.0, 0.0);
18459                   copysignf(0.0f, 0.0f);
18460                   copysignl(0.0l, 0.0l);
18461                   erf(0.0);
18462                   erff(0.0f);
18463                   erfl(0.0l);
18464                   erfc(0.0);
18465                   erfcf(0.0f);
18466                   erfcl(0.0l);
18467                   exp2(0.0);
18468                   exp2f(0.0f);
18469                   exp2l(0.0l);
18470                   expm1(0.0);
18471                   expm1f(0.0f);
18472                   expm1l(0.0l);
18473                   fdim(0.0, 0.0);
18474                   fdimf(0.0f, 0.0f);
18475                   fdiml(0.0l, 0.0l);
18476                   fma(0.0, 0.0, 0.0);
18477                   fmaf(0.0f, 0.0f, 0.0f);
18478                   fmal(0.0l, 0.0l, 0.0l);
18479                   fmax(0.0, 0.0);
18480                   fmaxf(0.0f, 0.0f);
18481                   fmaxl(0.0l, 0.0l);
18482                   fmin(0.0, 0.0);
18483                   fminf(0.0f, 0.0f);
18484                   fminl(0.0l, 0.0l);
18485                   hypot(0.0, 0.0);
18486                   hypotf(0.0f, 0.0f);
18487                   hypotl(0.0l, 0.0l);
18488                   ilogb(0.0);
18489                   ilogbf(0.0f);
18490                   ilogbl(0.0l);
18491                   lgamma(0.0);
18492                   lgammaf(0.0f);
18493                   lgammal(0.0l);
18494                   llrint(0.0);
18495                   llrintf(0.0f);
18496                   llrintl(0.0l);
18497                   llround(0.0);
18498                   llroundf(0.0f);
18499                   llroundl(0.0l);
18500                   log1p(0.0);
18501                   log1pf(0.0f);
18502                   log1pl(0.0l);
18503                   log2(0.0);
18504                   log2f(0.0f);
18505                   log2l(0.0l);
18506                   logb(0.0);
18507                   logbf(0.0f);
18508                   logbl(0.0l);
18509                   lrint(0.0);
18510                   lrintf(0.0f);
18511                   lrintl(0.0l);
18512                   lround(0.0);
18513                   lroundf(0.0f);
18514                   lroundl(0.0l);
18515                   nan(0);
18516                   nanf(0);
18517                   nanl(0);
18518                   nearbyint(0.0);
18519                   nearbyintf(0.0f);
18520                   nearbyintl(0.0l);
18521                   nextafter(0.0, 0.0);
18522                   nextafterf(0.0f, 0.0f);
18523                   nextafterl(0.0l, 0.0l);
18524                   nexttoward(0.0, 0.0);
18525                   nexttowardf(0.0f, 0.0f);
18526                   nexttowardl(0.0l, 0.0l);
18527                   remainder(0.0, 0.0);
18528                   remainderf(0.0f, 0.0f);
18529                   remainderl(0.0l, 0.0l);
18530                   remquo(0.0, 0.0, 0);
18531                   remquof(0.0f, 0.0f, 0);
18532                   remquol(0.0l, 0.0l, 0);
18533                   rint(0.0);
18534                   rintf(0.0f);
18535                   rintl(0.0l);
18536                   round(0.0);
18537                   roundf(0.0f);
18538                   roundl(0.0l);
18539                   scalbln(0.0, 0l);
18540                   scalblnf(0.0f, 0l);
18541                   scalblnl(0.0l, 0l);
18542                   scalbn(0.0, 0);
18543                   scalbnf(0.0f, 0);
18544                   scalbnl(0.0l, 0);
18545                   tgamma(0.0);
18546                   tgammaf(0.0f);
18547                   tgammal(0.0l);
18548                   trunc(0.0);
18549                   truncf(0.0f);
18550                   truncl(0.0l);
18551
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_cxx_try_compile "$LINENO"; then :
18557   glibcxx_cv_c99_math_tr1=yes
18558 else
18559   glibcxx_cv_c99_math_tr1=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562
18563 fi
18564
18565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18566 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18567   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18568
18569 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18570
18571   fi
18572
18573   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18574   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18575   ac_c99_inttypes_tr1=no;
18576   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18577     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18578 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18579     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h.  */
18581 #include <inttypes.h>
18582 int
18583 main ()
18584 {
18585 intmax_t i, numer, denom, base;
18586                     const char* s;
18587                     char** endptr;
18588                     intmax_t ret = imaxabs(i);
18589                     imaxdiv_t dret = imaxdiv(numer, denom);
18590                     ret = strtoimax(s, endptr, base);
18591                     uintmax_t uret = strtoumax(s, endptr, base);
18592
18593   ;
18594   return 0;
18595 }
18596 _ACEOF
18597 if ac_fn_cxx_try_compile "$LINENO"; then :
18598   ac_c99_inttypes_tr1=yes
18599 else
18600   ac_c99_inttypes_tr1=no
18601 fi
18602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603   fi
18604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18605 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18606   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18607
18608 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18609
18610   fi
18611
18612   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18613   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18614   ac_c99_inttypes_wchar_t_tr1=no;
18615   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18617 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18618     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h.  */
18620 #include <inttypes.h>
18621 int
18622 main ()
18623 {
18624 intmax_t base;
18625                     const wchar_t* s;
18626                     wchar_t** endptr;
18627                     intmax_t ret = wcstoimax(s, endptr, base);
18628                     uintmax_t uret = wcstoumax(s, endptr, base);
18629
18630   ;
18631   return 0;
18632 }
18633 _ACEOF
18634 if ac_fn_cxx_try_compile "$LINENO"; then :
18635   ac_c99_inttypes_wchar_t_tr1=yes
18636 else
18637   ac_c99_inttypes_wchar_t_tr1=no
18638 fi
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640   fi
18641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18642 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18643   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18644
18645 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18646
18647   fi
18648
18649   # Check for the existence of the <stdbool.h> header.
18650   for ac_header in stdbool.h
18651 do :
18652   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18653 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18654   cat >>confdefs.h <<_ACEOF
18655 #define HAVE_STDBOOL_H 1
18656 _ACEOF
18657
18658 fi
18659
18660 done
18661
18662
18663   CXXFLAGS="$ac_save_CXXFLAGS"
18664   ac_ext=c
18665 ac_cpp='$CPP $CPPFLAGS'
18666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18669
18670
18671
18672 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18673
18674
18675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18676 $as_echo_n "checking for the value of EOF... " >&6; }
18677 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18678   $as_echo_n "(cached) " >&6
18679 else
18680
18681   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
18682
18683 else
18684   as_fn_error "computing EOF failed" "$LINENO" 5
18685 fi
18686
18687
18688 fi
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18690 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18691
18692 cat >>confdefs.h <<_ACEOF
18693 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18694 _ACEOF
18695
18696
18697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18698 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18699 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18700   $as_echo_n "(cached) " >&6
18701 else
18702
18703   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
18704
18705 else
18706   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18707 fi
18708
18709
18710 fi
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18712 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18713
18714 cat >>confdefs.h <<_ACEOF
18715 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18716 _ACEOF
18717
18718
18719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18720 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18721 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18722   $as_echo_n "(cached) " >&6
18723 else
18724
18725   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
18726
18727 else
18728   as_fn_error "computing SEEK_END failed" "$LINENO" 5
18729 fi
18730
18731
18732 fi
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18734 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18735
18736 cat >>confdefs.h <<_ACEOF
18737 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18738 _ACEOF
18739
18740
18741
18742 # For gettimeofday support.
18743
18744
18745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18746 $as_echo_n "checking for gettimeofday... " >&6; }
18747
18748
18749   ac_ext=cpp
18750 ac_cpp='$CXXCPP $CPPFLAGS'
18751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18754
18755   ac_save_CXXFLAGS="$CXXFLAGS"
18756   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18757
18758   ac_has_gettimeofday=no;
18759   for ac_header in sys/time.h
18760 do :
18761   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18762 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18763   cat >>confdefs.h <<_ACEOF
18764 #define HAVE_SYS_TIME_H 1
18765 _ACEOF
18766  ac_has_sys_time_h=yes
18767 else
18768   ac_has_sys_time_h=no
18769 fi
18770
18771 done
18772
18773   if test x"$ac_has_sys_time_h" = x"yes"; then
18774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18775 $as_echo_n "checking for gettimeofday... " >&6; }
18776     if test x$gcc_no_link = xyes; then
18777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h.  */
18779 #include <sys/time.h>
18780 int
18781 main ()
18782 {
18783 timeval tv; gettimeofday(&tv, 0);
18784   ;
18785   return 0;
18786 }
18787 _ACEOF
18788 if ac_fn_cxx_try_compile "$LINENO"; then :
18789   ac_has_gettimeofday=yes
18790 else
18791   ac_has_gettimeofday=no
18792 fi
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 else
18795   if test x$gcc_no_link = xyes; then
18796   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18797 fi
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h.  */
18800 #include <sys/time.h>
18801 int
18802 main ()
18803 {
18804 timeval tv; gettimeofday(&tv, 0);
18805   ;
18806   return 0;
18807 }
18808 _ACEOF
18809 if ac_fn_cxx_try_link "$LINENO"; then :
18810   ac_has_gettimeofday=yes
18811 else
18812   ac_has_gettimeofday=no
18813 fi
18814 rm -f core conftest.err conftest.$ac_objext \
18815     conftest$ac_exeext conftest.$ac_ext
18816 fi
18817
18818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18819 $as_echo "$ac_has_gettimeofday" >&6; }
18820   fi
18821
18822   if test x"$ac_has_gettimeofday" = x"yes"; then
18823
18824 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18825
18826   fi
18827
18828   CXXFLAGS="$ac_save_CXXFLAGS"
18829   ac_ext=c
18830 ac_cpp='$CPP $CPPFLAGS'
18831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834
18835
18836
18837 # For clock_gettime, nanosleep and sched_yield support.
18838 # NB: The default is [no], because otherwise it requires linking.
18839
18840
18841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18842 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18843    # Check whether --enable-libstdcxx-time was given.
18844 if test "${enable_libstdcxx_time+set}" = set; then :
18845   enableval=$enable_libstdcxx_time;
18846       case "$enableval" in
18847        yes|no|rt) ;;
18848        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18849                           esac
18850
18851 else
18852   enable_libstdcxx_time=no
18853 fi
18854
18855
18856
18857
18858   ac_ext=cpp
18859 ac_cpp='$CXXCPP $CPPFLAGS'
18860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18863
18864   ac_save_CXXFLAGS="$CXXFLAGS"
18865   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18866   ac_save_LIBS="$LIBS"
18867
18868   ac_has_clock_monotonic=no
18869   ac_has_clock_realtime=no
18870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18871 $as_echo "$enable_libstdcxx_time" >&6; }
18872
18873   if test x"$enable_libstdcxx_time" != x"no"; then
18874
18875     if test x"$enable_libstdcxx_time" = x"rt"; then
18876       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18877 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18878 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18879   $as_echo_n "(cached) " >&6
18880 else
18881   ac_func_search_save_LIBS=$LIBS
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h.  */
18884
18885 /* Override any GCC internal prototype to avoid an error.
18886    Use char because int might match the return type of a GCC
18887    builtin and then its argument prototype would still apply.  */
18888 #ifdef __cplusplus
18889 extern "C"
18890 #endif
18891 char clock_gettime ();
18892 int
18893 main ()
18894 {
18895 return clock_gettime ();
18896   ;
18897   return 0;
18898 }
18899 _ACEOF
18900 for ac_lib in '' rt posix4; do
18901   if test -z "$ac_lib"; then
18902     ac_res="none required"
18903   else
18904     ac_res=-l$ac_lib
18905     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18906   fi
18907   if test x$gcc_no_link = xyes; then
18908   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18909 fi
18910 if ac_fn_cxx_try_link "$LINENO"; then :
18911   ac_cv_search_clock_gettime=$ac_res
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext \
18914     conftest$ac_exeext
18915   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18916   break
18917 fi
18918 done
18919 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18920
18921 else
18922   ac_cv_search_clock_gettime=no
18923 fi
18924 rm conftest.$ac_ext
18925 LIBS=$ac_func_search_save_LIBS
18926 fi
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18928 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18929 ac_res=$ac_cv_search_clock_gettime
18930 if test "$ac_res" != no; then :
18931   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18932
18933 fi
18934
18935       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18936 $as_echo_n "checking for library containing nanosleep... " >&6; }
18937 if test "${ac_cv_search_nanosleep+set}" = set; then :
18938   $as_echo_n "(cached) " >&6
18939 else
18940   ac_func_search_save_LIBS=$LIBS
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h.  */
18943
18944 /* Override any GCC internal prototype to avoid an error.
18945    Use char because int might match the return type of a GCC
18946    builtin and then its argument prototype would still apply.  */
18947 #ifdef __cplusplus
18948 extern "C"
18949 #endif
18950 char nanosleep ();
18951 int
18952 main ()
18953 {
18954 return nanosleep ();
18955   ;
18956   return 0;
18957 }
18958 _ACEOF
18959 for ac_lib in '' rt posix4; do
18960   if test -z "$ac_lib"; then
18961     ac_res="none required"
18962   else
18963     ac_res=-l$ac_lib
18964     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18965   fi
18966   if test x$gcc_no_link = xyes; then
18967   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18968 fi
18969 if ac_fn_cxx_try_link "$LINENO"; then :
18970   ac_cv_search_nanosleep=$ac_res
18971 fi
18972 rm -f core conftest.err conftest.$ac_objext \
18973     conftest$ac_exeext
18974   if test "${ac_cv_search_nanosleep+set}" = set; then :
18975   break
18976 fi
18977 done
18978 if test "${ac_cv_search_nanosleep+set}" = set; then :
18979
18980 else
18981   ac_cv_search_nanosleep=no
18982 fi
18983 rm conftest.$ac_ext
18984 LIBS=$ac_func_search_save_LIBS
18985 fi
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18987 $as_echo "$ac_cv_search_nanosleep" >&6; }
18988 ac_res=$ac_cv_search_nanosleep
18989 if test "$ac_res" != no; then :
18990   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18991
18992 fi
18993
18994     else
18995       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18996 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18997 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18998   $as_echo_n "(cached) " >&6
18999 else
19000   ac_func_search_save_LIBS=$LIBS
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h.  */
19003
19004 /* Override any GCC internal prototype to avoid an error.
19005    Use char because int might match the return type of a GCC
19006    builtin and then its argument prototype would still apply.  */
19007 #ifdef __cplusplus
19008 extern "C"
19009 #endif
19010 char clock_gettime ();
19011 int
19012 main ()
19013 {
19014 return clock_gettime ();
19015   ;
19016   return 0;
19017 }
19018 _ACEOF
19019 for ac_lib in '' posix4; do
19020   if test -z "$ac_lib"; then
19021     ac_res="none required"
19022   else
19023     ac_res=-l$ac_lib
19024     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19025   fi
19026   if test x$gcc_no_link = xyes; then
19027   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19028 fi
19029 if ac_fn_cxx_try_link "$LINENO"; then :
19030   ac_cv_search_clock_gettime=$ac_res
19031 fi
19032 rm -f core conftest.err conftest.$ac_objext \
19033     conftest$ac_exeext
19034   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19035   break
19036 fi
19037 done
19038 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19039
19040 else
19041   ac_cv_search_clock_gettime=no
19042 fi
19043 rm conftest.$ac_ext
19044 LIBS=$ac_func_search_save_LIBS
19045 fi
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19047 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19048 ac_res=$ac_cv_search_clock_gettime
19049 if test "$ac_res" != no; then :
19050   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19051
19052 fi
19053
19054       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19055 $as_echo_n "checking for library containing nanosleep... " >&6; }
19056 if test "${ac_cv_search_nanosleep+set}" = set; then :
19057   $as_echo_n "(cached) " >&6
19058 else
19059   ac_func_search_save_LIBS=$LIBS
19060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h.  */
19062
19063 /* Override any GCC internal prototype to avoid an error.
19064    Use char because int might match the return type of a GCC
19065    builtin and then its argument prototype would still apply.  */
19066 #ifdef __cplusplus
19067 extern "C"
19068 #endif
19069 char nanosleep ();
19070 int
19071 main ()
19072 {
19073 return nanosleep ();
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 for ac_lib in '' posix4; do
19079   if test -z "$ac_lib"; then
19080     ac_res="none required"
19081   else
19082     ac_res=-l$ac_lib
19083     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19084   fi
19085   if test x$gcc_no_link = xyes; then
19086   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19087 fi
19088 if ac_fn_cxx_try_link "$LINENO"; then :
19089   ac_cv_search_nanosleep=$ac_res
19090 fi
19091 rm -f core conftest.err conftest.$ac_objext \
19092     conftest$ac_exeext
19093   if test "${ac_cv_search_nanosleep+set}" = set; then :
19094   break
19095 fi
19096 done
19097 if test "${ac_cv_search_nanosleep+set}" = set; then :
19098
19099 else
19100   ac_cv_search_nanosleep=no
19101 fi
19102 rm conftest.$ac_ext
19103 LIBS=$ac_func_search_save_LIBS
19104 fi
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19106 $as_echo "$ac_cv_search_nanosleep" >&6; }
19107 ac_res=$ac_cv_search_nanosleep
19108 if test "$ac_res" != no; then :
19109   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19110
19111 fi
19112
19113     fi
19114
19115     case "$ac_cv_search_clock_gettime" in
19116       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19117       ;;
19118     esac
19119     case "$ac_cv_search_nanosleep" in
19120       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19121       ;;
19122     esac
19123
19124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19125 $as_echo_n "checking for library containing sched_yield... " >&6; }
19126 if test "${ac_cv_search_sched_yield+set}" = set; then :
19127   $as_echo_n "(cached) " >&6
19128 else
19129   ac_func_search_save_LIBS=$LIBS
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h.  */
19132
19133 /* Override any GCC internal prototype to avoid an error.
19134    Use char because int might match the return type of a GCC
19135    builtin and then its argument prototype would still apply.  */
19136 #ifdef __cplusplus
19137 extern "C"
19138 #endif
19139 char sched_yield ();
19140 int
19141 main ()
19142 {
19143 return sched_yield ();
19144   ;
19145   return 0;
19146 }
19147 _ACEOF
19148 for ac_lib in '' rt posix4; do
19149   if test -z "$ac_lib"; then
19150     ac_res="none required"
19151   else
19152     ac_res=-l$ac_lib
19153     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19154   fi
19155   if test x$gcc_no_link = xyes; then
19156   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19157 fi
19158 if ac_fn_cxx_try_link "$LINENO"; then :
19159   ac_cv_search_sched_yield=$ac_res
19160 fi
19161 rm -f core conftest.err conftest.$ac_objext \
19162     conftest$ac_exeext
19163   if test "${ac_cv_search_sched_yield+set}" = set; then :
19164   break
19165 fi
19166 done
19167 if test "${ac_cv_search_sched_yield+set}" = set; then :
19168
19169 else
19170   ac_cv_search_sched_yield=no
19171 fi
19172 rm conftest.$ac_ext
19173 LIBS=$ac_func_search_save_LIBS
19174 fi
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19176 $as_echo "$ac_cv_search_sched_yield" >&6; }
19177 ac_res=$ac_cv_search_sched_yield
19178 if test "$ac_res" != no; then :
19179   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19180
19181 fi
19182
19183
19184     case "$ac_cv_search_sched_yield" in
19185       -lposix4*)
19186       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19187
19188 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19189
19190       ;;
19191       -lrt*)
19192       if test x"$enable_libstdcxx_time" = x"rt"; then
19193         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19194
19195 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19196
19197       fi
19198       ;;
19199       *)
19200
19201 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19202
19203       ;;
19204     esac
19205
19206     for ac_header in unistd.h
19207 do :
19208   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19209 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19210   cat >>confdefs.h <<_ACEOF
19211 #define HAVE_UNISTD_H 1
19212 _ACEOF
19213  ac_has_unistd_h=yes
19214 else
19215   ac_has_unistd_h=no
19216 fi
19217
19218 done
19219
19220
19221     if test x"$ac_has_unistd_h" = x"yes"; then
19222       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19223 $as_echo_n "checking for monotonic clock... " >&6; }
19224       if test x$gcc_no_link = xyes; then
19225   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19226 fi
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h.  */
19229 #include <unistd.h>
19230          #include <time.h>
19231
19232 int
19233 main ()
19234 {
19235 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19236           timespec tp;
19237          #endif
19238           clock_gettime(CLOCK_MONOTONIC, &tp);
19239
19240   ;
19241   return 0;
19242 }
19243 _ACEOF
19244 if ac_fn_cxx_try_link "$LINENO"; then :
19245   ac_has_clock_monotonic=yes
19246 else
19247   ac_has_clock_monotonic=no
19248 fi
19249 rm -f core conftest.err conftest.$ac_objext \
19250     conftest$ac_exeext conftest.$ac_ext
19251
19252       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19253 $as_echo "$ac_has_clock_monotonic" >&6; }
19254
19255       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19256 $as_echo_n "checking for realtime clock... " >&6; }
19257       if test x$gcc_no_link = xyes; then
19258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19259 fi
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h.  */
19262 #include <unistd.h>
19263          #include <time.h>
19264
19265 int
19266 main ()
19267 {
19268 #if _POSIX_TIMERS > 0
19269           timespec tp;
19270          #endif
19271           clock_gettime(CLOCK_REALTIME, &tp);
19272
19273   ;
19274   return 0;
19275 }
19276 _ACEOF
19277 if ac_fn_cxx_try_link "$LINENO"; then :
19278   ac_has_clock_realtime=yes
19279 else
19280   ac_has_clock_realtime=no
19281 fi
19282 rm -f core conftest.err conftest.$ac_objext \
19283     conftest$ac_exeext conftest.$ac_ext
19284
19285       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19286 $as_echo "$ac_has_clock_realtime" >&6; }
19287
19288       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19289 $as_echo_n "checking for nanosleep... " >&6; }
19290       if test x$gcc_no_link = xyes; then
19291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19292 fi
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h.  */
19295 #include <unistd.h>
19296          #include <time.h>
19297
19298 int
19299 main ()
19300 {
19301 #if _POSIX_TIMERS > 0
19302           timespec tp;
19303          #endif
19304           nanosleep(&tp, 0);
19305
19306   ;
19307   return 0;
19308 }
19309 _ACEOF
19310 if ac_fn_cxx_try_link "$LINENO"; then :
19311   ac_has_nanosleep=yes
19312 else
19313   ac_has_nanosleep=no
19314 fi
19315 rm -f core conftest.err conftest.$ac_objext \
19316     conftest$ac_exeext conftest.$ac_ext
19317
19318       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19319 $as_echo "$ac_has_nanosleep" >&6; }
19320     fi
19321   fi
19322
19323   if test x"$ac_has_clock_monotonic" = x"yes"; then
19324
19325 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19326
19327   fi
19328
19329   if test x"$ac_has_clock_realtime" = x"yes"; then
19330
19331 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19332
19333   fi
19334
19335   if test x"$ac_has_nanosleep" = x"yes"; then
19336
19337 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19338
19339   fi
19340
19341
19342
19343   CXXFLAGS="$ac_save_CXXFLAGS"
19344   LIBS="$ac_save_LIBS"
19345   ac_ext=c
19346 ac_cpp='$CPP $CPPFLAGS'
19347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19350
19351
19352
19353 # For gthread support
19354
19355
19356   ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19361
19362
19363   ac_save_CXXFLAGS="$CXXFLAGS"
19364   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19365
19366   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19367   case $target_thread_file in
19368     posix)
19369       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19370   esac
19371
19372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19373 $as_echo_n "checking for gthreads library... " >&6; }
19374
19375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h.  */
19377 #include "gthr.h"
19378 int
19379 main ()
19380 {
19381
19382       #ifndef __GTHREADS_CXX0X
19383       #error
19384       #endif
19385
19386       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19387       #if (defined(_PTHREADS) \
19388            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19389       #error
19390       #endif
19391
19392   ;
19393   return 0;
19394 }
19395 _ACEOF
19396 if ac_fn_cxx_try_compile "$LINENO"; then :
19397   ac_has_gthreads=yes
19398 else
19399   ac_has_gthreads=no
19400 fi
19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402
19403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19404 $as_echo "$ac_has_gthreads" >&6; }
19405
19406   if test x"$ac_has_gthreads" = x"yes"; then
19407
19408 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19409
19410   fi
19411
19412   CXXFLAGS="$ac_save_CXXFLAGS"
19413   ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418
19419
19420
19421
19422   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19423 if test "x$ac_cv_header_locale_h" = x""yes; then :
19424
19425     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19426 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19427 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19428   $as_echo_n "(cached) " >&6
19429 else
19430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h.  */
19432 #include <locale.h>
19433 int
19434 main ()
19435 {
19436 return LC_MESSAGES
19437   ;
19438   return 0;
19439 }
19440 _ACEOF
19441 if ac_fn_c_try_compile "$LINENO"; then :
19442   ac_cv_val_LC_MESSAGES=yes
19443 else
19444   ac_cv_val_LC_MESSAGES=no
19445 fi
19446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19447 fi
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19449 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19450     if test $ac_cv_val_LC_MESSAGES = yes; then
19451
19452 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19453
19454     fi
19455
19456 fi
19457
19458
19459
19460
19461 # Check for available headers.
19462 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19463 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19464 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19465 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19466 wchar.h wctype.h
19467 do :
19468   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19470 eval as_val=\$$as_ac_Header
19471    if test "x$as_val" = x""yes; then :
19472   cat >>confdefs.h <<_ACEOF
19473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19474 _ACEOF
19475
19476 fi
19477
19478 done
19479
19480
19481 # Only do link tests if native. Else, hardcode.
19482 if $GLIBCXX_IS_NATIVE; then
19483
19484   # We can do more elaborate tests that assume a working linker.
19485   CANADIAN=no
19486
19487
19488
19489 # Check whether --with-gnu-ld was given.
19490 if test "${with_gnu_ld+set}" = set; then :
19491   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19492 else
19493   with_gnu_ld=no
19494 fi
19495
19496 ac_prog=ld
19497 if test "$GCC" = yes; then
19498   # Check if gcc -print-prog-name=ld gives a path.
19499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19500 $as_echo_n "checking for ld used by $CC... " >&6; }
19501   case $host in
19502   *-*-mingw*)
19503     # gcc leaves a trailing carriage return which upsets mingw
19504     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19505   *)
19506     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19507   esac
19508   case $ac_prog in
19509     # Accept absolute paths.
19510     [\\/]* | ?:[\\/]*)
19511       re_direlt='/[^/][^/]*/\.\./'
19512       # Canonicalize the pathname of ld
19513       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19514       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19515         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19516       done
19517       test -z "$LD" && LD="$ac_prog"
19518       ;;
19519   "")
19520     # If it fails, then pretend we aren't using GCC.
19521     ac_prog=ld
19522     ;;
19523   *)
19524     # If it is relative, then search for the first ld in PATH.
19525     with_gnu_ld=unknown
19526     ;;
19527   esac
19528 elif test "$with_gnu_ld" = yes; then
19529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19530 $as_echo_n "checking for GNU ld... " >&6; }
19531 else
19532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19533 $as_echo_n "checking for non-GNU ld... " >&6; }
19534 fi
19535 if test "${lt_cv_path_LD+set}" = set; then :
19536   $as_echo_n "(cached) " >&6
19537 else
19538   if test -z "$LD"; then
19539   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19540   for ac_dir in $PATH; do
19541     IFS="$lt_save_ifs"
19542     test -z "$ac_dir" && ac_dir=.
19543     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19544       lt_cv_path_LD="$ac_dir/$ac_prog"
19545       # Check to see if the program is GNU ld.  I'd rather use --version,
19546       # but apparently some variants of GNU ld only accept -v.
19547       # Break only if it was the GNU/non-GNU ld that we prefer.
19548       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19549       *GNU* | *'with BFD'*)
19550         test "$with_gnu_ld" != no && break
19551         ;;
19552       *)
19553         test "$with_gnu_ld" != yes && break
19554         ;;
19555       esac
19556     fi
19557   done
19558   IFS="$lt_save_ifs"
19559 else
19560   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19561 fi
19562 fi
19563
19564 LD="$lt_cv_path_LD"
19565 if test -n "$LD"; then
19566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19567 $as_echo "$LD" >&6; }
19568 else
19569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19570 $as_echo "no" >&6; }
19571 fi
19572 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19575 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19576   $as_echo_n "(cached) " >&6
19577 else
19578   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19579 case `$LD -v 2>&1 </dev/null` in
19580 *GNU* | *'with BFD'*)
19581   lt_cv_prog_gnu_ld=yes
19582   ;;
19583 *)
19584   lt_cv_prog_gnu_ld=no
19585   ;;
19586 esac
19587 fi
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19590 with_gnu_ld=$lt_cv_prog_gnu_ld
19591
19592
19593
19594
19595
19596
19597
19598   # If we're not using GNU ld, then there's no point in even trying these
19599   # tests.  Check for that first.  We should have already tested for gld
19600   # by now (in libtool), but require it now just to be safe...
19601   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19602   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19603
19604
19605
19606   # The name set by libtool depends on the version of libtool.  Shame on us
19607   # for depending on an impl detail, but c'est la vie.  Older versions used
19608   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19609   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19610   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19611   # set (hence we're using an older libtool), then set it.
19612   if test x${with_gnu_ld+set} != xset; then
19613     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19614       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19615       with_gnu_ld=no
19616     else
19617       with_gnu_ld=$ac_cv_prog_gnu_ld
19618     fi
19619   fi
19620
19621   # Start by getting the version number.  I think the libtool test already
19622   # does some of this, but throws away the result.
19623   glibcxx_ld_is_gold=no
19624   if test x"$with_gnu_ld" = x"yes"; then
19625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19626 $as_echo_n "checking for ld version... " >&6; }
19627
19628     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19629       glibcxx_ld_is_gold=yes
19630     fi
19631     ldver=`$LD --version 2>/dev/null |
19632            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'`
19633
19634     glibcxx_gnu_ld_version=`echo $ldver | \
19635            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19637 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19638   fi
19639
19640   # Set --gc-sections.
19641   glibcxx_have_gc_sections=no
19642   if test "$glibcxx_ld_is_gold" = "yes"; then
19643     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19644       glibcxx_have_gc_sections=yes
19645     fi
19646   else
19647     glibcxx_gcsections_min_ld=21602
19648     if test x"$with_gnu_ld" = x"yes" &&
19649         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19650       glibcxx_have_gc_sections=yes
19651     fi
19652   fi
19653   if test "$glibcxx_have_gc_sections" = "yes"; then
19654     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19655     # NB: This flag only works reliably after 2.16.1. Configure tests
19656     # for this are difficult, so hard wire a value that should work.
19657
19658     ac_test_CFLAGS="${CFLAGS+set}"
19659     ac_save_CFLAGS="$CFLAGS"
19660     CFLAGS='-Wl,--gc-sections'
19661
19662     # Check for -Wl,--gc-sections
19663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19664 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19665     if test x$gcc_no_link = xyes; then
19666   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667 fi
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h.  */
19670  int one(void) { return 1; }
19671      int two(void) { return 2; }
19672
19673 int
19674 main ()
19675 {
19676  two();
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682   ac_gcsections=yes
19683 else
19684   ac_gcsections=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687     conftest$ac_exeext conftest.$ac_ext
19688     if test "$ac_gcsections" = "yes"; then
19689       rm -f conftest.c
19690       touch conftest.c
19691       if $CC -c conftest.c; then
19692         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19693            grep "Warning: gc-sections option ignored" > /dev/null; then
19694           ac_gcsections=no
19695         fi
19696       fi
19697       rm -f conftest.c conftest.o conftest
19698     fi
19699     if test "$ac_gcsections" = "yes"; then
19700       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19701     fi
19702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19703 $as_echo "$ac_gcsections" >&6; }
19704
19705     if test "$ac_test_CFLAGS" = set; then
19706       CFLAGS="$ac_save_CFLAGS"
19707     else
19708       # this is the suspicious part
19709       CFLAGS=''
19710     fi
19711   fi
19712
19713   # Set -z,relro.
19714   # Note this is only for shared objects.
19715   ac_ld_relro=no
19716   if test x"$with_gnu_ld" = x"yes"; then
19717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19718 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19719     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19720     if test -n "$cxx_z_relo"; then
19721       OPT_LDFLAGS="-Wl,-z,relro"
19722       ac_ld_relro=yes
19723     fi
19724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19725 $as_echo "$ac_ld_relro" >&6; }
19726   fi
19727
19728   # Set linker optimization flags.
19729   if test x"$with_gnu_ld" = x"yes"; then
19730     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19731   fi
19732
19733
19734
19735
19736
19737   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19738   ac_save_CXXFLAGS="$CXXFLAGS"
19739   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19740
19741     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19742 $as_echo_n "checking for sin in -lm... " >&6; }
19743 if test "${ac_cv_lib_m_sin+set}" = set; then :
19744   $as_echo_n "(cached) " >&6
19745 else
19746   ac_check_lib_save_LIBS=$LIBS
19747 LIBS="-lm  $LIBS"
19748 if test x$gcc_no_link = xyes; then
19749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19750 fi
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h.  */
19753
19754 /* Override any GCC internal prototype to avoid an error.
19755    Use char because int might match the return type of a GCC
19756    builtin and then its argument prototype would still apply.  */
19757 #ifdef __cplusplus
19758 extern "C"
19759 #endif
19760 char sin ();
19761 int
19762 main ()
19763 {
19764 return sin ();
19765   ;
19766   return 0;
19767 }
19768 _ACEOF
19769 if ac_fn_c_try_link "$LINENO"; then :
19770   ac_cv_lib_m_sin=yes
19771 else
19772   ac_cv_lib_m_sin=no
19773 fi
19774 rm -f core conftest.err conftest.$ac_objext \
19775     conftest$ac_exeext conftest.$ac_ext
19776 LIBS=$ac_check_lib_save_LIBS
19777 fi
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19779 $as_echo "$ac_cv_lib_m_sin" >&6; }
19780 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19781   libm="-lm"
19782 fi
19783
19784   ac_save_LIBS="$LIBS"
19785   LIBS="$LIBS $libm"
19786
19787
19788
19789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19790 $as_echo_n "checking for isinf declaration... " >&6; }
19791   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19792     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19793   $as_echo_n "(cached) " >&6
19794 else
19795
19796
19797       ac_ext=cpp
19798 ac_cpp='$CXXCPP $CPPFLAGS'
19799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19802
19803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h.  */
19805 #include <math.h>
19806                       #ifdef HAVE_IEEEFP_H
19807                       #include <ieeefp.h>
19808                       #endif
19809
19810 int
19811 main ()
19812 {
19813  isinf(0);
19814   ;
19815   return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_compile "$LINENO"; then :
19819   glibcxx_cv_func_isinf_use=yes
19820 else
19821   glibcxx_cv_func_isinf_use=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824       ac_ext=c
19825 ac_cpp='$CPP $CPPFLAGS'
19826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19829
19830
19831 fi
19832
19833   fi
19834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19835 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19836
19837   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19838     for ac_func in isinf
19839 do :
19840   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19841 if test "x$ac_cv_func_isinf" = x""yes; then :
19842   cat >>confdefs.h <<_ACEOF
19843 #define HAVE_ISINF 1
19844 _ACEOF
19845
19846 fi
19847 done
19848
19849   else
19850
19851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19852 $as_echo_n "checking for _isinf declaration... " >&6; }
19853   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19854     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19855   $as_echo_n "(cached) " >&6
19856 else
19857
19858
19859       ac_ext=cpp
19860 ac_cpp='$CXXCPP $CPPFLAGS'
19861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19864
19865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h.  */
19867 #include <math.h>
19868                       #ifdef HAVE_IEEEFP_H
19869                       #include <ieeefp.h>
19870                       #endif
19871
19872 int
19873 main ()
19874 {
19875  _isinf(0);
19876   ;
19877   return 0;
19878 }
19879 _ACEOF
19880 if ac_fn_cxx_try_compile "$LINENO"; then :
19881   glibcxx_cv_func__isinf_use=yes
19882 else
19883   glibcxx_cv_func__isinf_use=no
19884 fi
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886       ac_ext=c
19887 ac_cpp='$CPP $CPPFLAGS'
19888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19891
19892
19893 fi
19894
19895   fi
19896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19897 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19898
19899     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19900       for ac_func in _isinf
19901 do :
19902   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19903 if test "x$ac_cv_func__isinf" = x""yes; then :
19904   cat >>confdefs.h <<_ACEOF
19905 #define HAVE__ISINF 1
19906 _ACEOF
19907
19908 fi
19909 done
19910
19911     fi
19912   fi
19913
19914
19915
19916
19917
19918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19919 $as_echo_n "checking for isnan declaration... " >&6; }
19920   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19921     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19922   $as_echo_n "(cached) " >&6
19923 else
19924
19925
19926       ac_ext=cpp
19927 ac_cpp='$CXXCPP $CPPFLAGS'
19928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19931
19932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h.  */
19934 #include <math.h>
19935                       #ifdef HAVE_IEEEFP_H
19936                       #include <ieeefp.h>
19937                       #endif
19938
19939 int
19940 main ()
19941 {
19942  isnan(0);
19943   ;
19944   return 0;
19945 }
19946 _ACEOF
19947 if ac_fn_cxx_try_compile "$LINENO"; then :
19948   glibcxx_cv_func_isnan_use=yes
19949 else
19950   glibcxx_cv_func_isnan_use=no
19951 fi
19952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19953       ac_ext=c
19954 ac_cpp='$CPP $CPPFLAGS'
19955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19958
19959
19960 fi
19961
19962   fi
19963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19964 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19965
19966   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19967     for ac_func in isnan
19968 do :
19969   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19970 if test "x$ac_cv_func_isnan" = x""yes; then :
19971   cat >>confdefs.h <<_ACEOF
19972 #define HAVE_ISNAN 1
19973 _ACEOF
19974
19975 fi
19976 done
19977
19978   else
19979
19980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19981 $as_echo_n "checking for _isnan declaration... " >&6; }
19982   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19983     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19984   $as_echo_n "(cached) " >&6
19985 else
19986
19987
19988       ac_ext=cpp
19989 ac_cpp='$CXXCPP $CPPFLAGS'
19990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19993
19994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h.  */
19996 #include <math.h>
19997                       #ifdef HAVE_IEEEFP_H
19998                       #include <ieeefp.h>
19999                       #endif
20000
20001 int
20002 main ()
20003 {
20004  _isnan(0);
20005   ;
20006   return 0;
20007 }
20008 _ACEOF
20009 if ac_fn_cxx_try_compile "$LINENO"; then :
20010   glibcxx_cv_func__isnan_use=yes
20011 else
20012   glibcxx_cv_func__isnan_use=no
20013 fi
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015       ac_ext=c
20016 ac_cpp='$CPP $CPPFLAGS'
20017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20020
20021
20022 fi
20023
20024   fi
20025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20026 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20027
20028     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20029       for ac_func in _isnan
20030 do :
20031   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20032 if test "x$ac_cv_func__isnan" = x""yes; then :
20033   cat >>confdefs.h <<_ACEOF
20034 #define HAVE__ISNAN 1
20035 _ACEOF
20036
20037 fi
20038 done
20039
20040     fi
20041   fi
20042
20043
20044
20045
20046
20047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20048 $as_echo_n "checking for finite declaration... " >&6; }
20049   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20050     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20051   $as_echo_n "(cached) " >&6
20052 else
20053
20054
20055       ac_ext=cpp
20056 ac_cpp='$CXXCPP $CPPFLAGS'
20057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20060
20061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h.  */
20063 #include <math.h>
20064                       #ifdef HAVE_IEEEFP_H
20065                       #include <ieeefp.h>
20066                       #endif
20067
20068 int
20069 main ()
20070 {
20071  finite(0);
20072   ;
20073   return 0;
20074 }
20075 _ACEOF
20076 if ac_fn_cxx_try_compile "$LINENO"; then :
20077   glibcxx_cv_func_finite_use=yes
20078 else
20079   glibcxx_cv_func_finite_use=no
20080 fi
20081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20082       ac_ext=c
20083 ac_cpp='$CPP $CPPFLAGS'
20084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20087
20088
20089 fi
20090
20091   fi
20092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20093 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20094
20095   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20096     for ac_func in finite
20097 do :
20098   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20099 if test "x$ac_cv_func_finite" = x""yes; then :
20100   cat >>confdefs.h <<_ACEOF
20101 #define HAVE_FINITE 1
20102 _ACEOF
20103
20104 fi
20105 done
20106
20107   else
20108
20109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20110 $as_echo_n "checking for _finite declaration... " >&6; }
20111   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20112     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20113   $as_echo_n "(cached) " >&6
20114 else
20115
20116
20117       ac_ext=cpp
20118 ac_cpp='$CXXCPP $CPPFLAGS'
20119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20122
20123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h.  */
20125 #include <math.h>
20126                       #ifdef HAVE_IEEEFP_H
20127                       #include <ieeefp.h>
20128                       #endif
20129
20130 int
20131 main ()
20132 {
20133  _finite(0);
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_compile "$LINENO"; then :
20139   glibcxx_cv_func__finite_use=yes
20140 else
20141   glibcxx_cv_func__finite_use=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144       ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20149
20150
20151 fi
20152
20153   fi
20154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20155 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20156
20157     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20158       for ac_func in _finite
20159 do :
20160   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20161 if test "x$ac_cv_func__finite" = x""yes; then :
20162   cat >>confdefs.h <<_ACEOF
20163 #define HAVE__FINITE 1
20164 _ACEOF
20165
20166 fi
20167 done
20168
20169     fi
20170   fi
20171
20172
20173
20174
20175
20176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20177 $as_echo_n "checking for sincos declaration... " >&6; }
20178   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20179     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20180   $as_echo_n "(cached) " >&6
20181 else
20182
20183
20184       ac_ext=cpp
20185 ac_cpp='$CXXCPP $CPPFLAGS'
20186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20189
20190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h.  */
20192 #include <math.h>
20193 int
20194 main ()
20195 {
20196  sincos(0, 0, 0);
20197   ;
20198   return 0;
20199 }
20200 _ACEOF
20201 if ac_fn_cxx_try_compile "$LINENO"; then :
20202   glibcxx_cv_func_sincos_use=yes
20203 else
20204   glibcxx_cv_func_sincos_use=no
20205 fi
20206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207       ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20212
20213
20214 fi
20215
20216   fi
20217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20218 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20219
20220   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20221     for ac_func in sincos
20222 do :
20223   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20224 if test "x$ac_cv_func_sincos" = x""yes; then :
20225   cat >>confdefs.h <<_ACEOF
20226 #define HAVE_SINCOS 1
20227 _ACEOF
20228
20229 fi
20230 done
20231
20232   else
20233
20234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20235 $as_echo_n "checking for _sincos declaration... " >&6; }
20236   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20237     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20238   $as_echo_n "(cached) " >&6
20239 else
20240
20241
20242       ac_ext=cpp
20243 ac_cpp='$CXXCPP $CPPFLAGS'
20244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20247
20248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h.  */
20250 #include <math.h>
20251 int
20252 main ()
20253 {
20254  _sincos(0, 0, 0);
20255   ;
20256   return 0;
20257 }
20258 _ACEOF
20259 if ac_fn_cxx_try_compile "$LINENO"; then :
20260   glibcxx_cv_func__sincos_use=yes
20261 else
20262   glibcxx_cv_func__sincos_use=no
20263 fi
20264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20265       ac_ext=c
20266 ac_cpp='$CPP $CPPFLAGS'
20267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20270
20271
20272 fi
20273
20274   fi
20275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20276 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20277
20278     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20279       for ac_func in _sincos
20280 do :
20281   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20282 if test "x$ac_cv_func__sincos" = x""yes; then :
20283   cat >>confdefs.h <<_ACEOF
20284 #define HAVE__SINCOS 1
20285 _ACEOF
20286
20287 fi
20288 done
20289
20290     fi
20291   fi
20292
20293
20294
20295
20296
20297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20298 $as_echo_n "checking for fpclass declaration... " >&6; }
20299   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20300     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20301   $as_echo_n "(cached) " >&6
20302 else
20303
20304
20305       ac_ext=cpp
20306 ac_cpp='$CXXCPP $CPPFLAGS'
20307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20310
20311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h.  */
20313 #include <math.h>
20314                       #ifdef HAVE_IEEEFP_H
20315                       #include <ieeefp.h>
20316                       #endif
20317
20318 int
20319 main ()
20320 {
20321  fpclass(0);
20322   ;
20323   return 0;
20324 }
20325 _ACEOF
20326 if ac_fn_cxx_try_compile "$LINENO"; then :
20327   glibcxx_cv_func_fpclass_use=yes
20328 else
20329   glibcxx_cv_func_fpclass_use=no
20330 fi
20331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20332       ac_ext=c
20333 ac_cpp='$CPP $CPPFLAGS'
20334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20337
20338
20339 fi
20340
20341   fi
20342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20343 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20344
20345   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20346     for ac_func in fpclass
20347 do :
20348   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20349 if test "x$ac_cv_func_fpclass" = x""yes; then :
20350   cat >>confdefs.h <<_ACEOF
20351 #define HAVE_FPCLASS 1
20352 _ACEOF
20353
20354 fi
20355 done
20356
20357   else
20358
20359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20360 $as_echo_n "checking for _fpclass declaration... " >&6; }
20361   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20362     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20363   $as_echo_n "(cached) " >&6
20364 else
20365
20366
20367       ac_ext=cpp
20368 ac_cpp='$CXXCPP $CPPFLAGS'
20369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20372
20373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20374 /* end confdefs.h.  */
20375 #include <math.h>
20376                       #ifdef HAVE_IEEEFP_H
20377                       #include <ieeefp.h>
20378                       #endif
20379
20380 int
20381 main ()
20382 {
20383  _fpclass(0);
20384   ;
20385   return 0;
20386 }
20387 _ACEOF
20388 if ac_fn_cxx_try_compile "$LINENO"; then :
20389   glibcxx_cv_func__fpclass_use=yes
20390 else
20391   glibcxx_cv_func__fpclass_use=no
20392 fi
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394       ac_ext=c
20395 ac_cpp='$CPP $CPPFLAGS'
20396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20399
20400
20401 fi
20402
20403   fi
20404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20405 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20406
20407     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20408       for ac_func in _fpclass
20409 do :
20410   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20411 if test "x$ac_cv_func__fpclass" = x""yes; then :
20412   cat >>confdefs.h <<_ACEOF
20413 #define HAVE__FPCLASS 1
20414 _ACEOF
20415
20416 fi
20417 done
20418
20419     fi
20420   fi
20421
20422
20423
20424
20425
20426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20427 $as_echo_n "checking for qfpclass declaration... " >&6; }
20428   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20429     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20430   $as_echo_n "(cached) " >&6
20431 else
20432
20433
20434       ac_ext=cpp
20435 ac_cpp='$CXXCPP $CPPFLAGS'
20436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20439
20440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h.  */
20442 #include <math.h>
20443                       #ifdef HAVE_IEEEFP_H
20444                       #include <ieeefp.h>
20445                       #endif
20446
20447 int
20448 main ()
20449 {
20450  qfpclass(0);
20451   ;
20452   return 0;
20453 }
20454 _ACEOF
20455 if ac_fn_cxx_try_compile "$LINENO"; then :
20456   glibcxx_cv_func_qfpclass_use=yes
20457 else
20458   glibcxx_cv_func_qfpclass_use=no
20459 fi
20460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20461       ac_ext=c
20462 ac_cpp='$CPP $CPPFLAGS'
20463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20466
20467
20468 fi
20469
20470   fi
20471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20472 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20473
20474   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20475     for ac_func in qfpclass
20476 do :
20477   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20478 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20479   cat >>confdefs.h <<_ACEOF
20480 #define HAVE_QFPCLASS 1
20481 _ACEOF
20482
20483 fi
20484 done
20485
20486   else
20487
20488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20489 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20490   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20491     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20492   $as_echo_n "(cached) " >&6
20493 else
20494
20495
20496       ac_ext=cpp
20497 ac_cpp='$CXXCPP $CPPFLAGS'
20498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20501
20502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20503 /* end confdefs.h.  */
20504 #include <math.h>
20505                       #ifdef HAVE_IEEEFP_H
20506                       #include <ieeefp.h>
20507                       #endif
20508
20509 int
20510 main ()
20511 {
20512  _qfpclass(0);
20513   ;
20514   return 0;
20515 }
20516 _ACEOF
20517 if ac_fn_cxx_try_compile "$LINENO"; then :
20518   glibcxx_cv_func__qfpclass_use=yes
20519 else
20520   glibcxx_cv_func__qfpclass_use=no
20521 fi
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523       ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528
20529
20530 fi
20531
20532   fi
20533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20534 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20535
20536     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20537       for ac_func in _qfpclass
20538 do :
20539   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20540 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20541   cat >>confdefs.h <<_ACEOF
20542 #define HAVE__QFPCLASS 1
20543 _ACEOF
20544
20545 fi
20546 done
20547
20548     fi
20549   fi
20550
20551
20552
20553
20554
20555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20556 $as_echo_n "checking for hypot declaration... " >&6; }
20557   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20558     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20559   $as_echo_n "(cached) " >&6
20560 else
20561
20562
20563       ac_ext=cpp
20564 ac_cpp='$CXXCPP $CPPFLAGS'
20565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20568
20569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20570 /* end confdefs.h.  */
20571 #include <math.h>
20572 int
20573 main ()
20574 {
20575  hypot(0, 0);
20576   ;
20577   return 0;
20578 }
20579 _ACEOF
20580 if ac_fn_cxx_try_compile "$LINENO"; then :
20581   glibcxx_cv_func_hypot_use=yes
20582 else
20583   glibcxx_cv_func_hypot_use=no
20584 fi
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586       ac_ext=c
20587 ac_cpp='$CPP $CPPFLAGS'
20588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20591
20592
20593 fi
20594
20595   fi
20596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20597 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20598
20599   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20600     for ac_func in hypot
20601 do :
20602   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20603 if test "x$ac_cv_func_hypot" = x""yes; then :
20604   cat >>confdefs.h <<_ACEOF
20605 #define HAVE_HYPOT 1
20606 _ACEOF
20607
20608 fi
20609 done
20610
20611   else
20612
20613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20614 $as_echo_n "checking for _hypot declaration... " >&6; }
20615   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20616     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20617   $as_echo_n "(cached) " >&6
20618 else
20619
20620
20621       ac_ext=cpp
20622 ac_cpp='$CXXCPP $CPPFLAGS'
20623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20626
20627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h.  */
20629 #include <math.h>
20630 int
20631 main ()
20632 {
20633  _hypot(0, 0);
20634   ;
20635   return 0;
20636 }
20637 _ACEOF
20638 if ac_fn_cxx_try_compile "$LINENO"; then :
20639   glibcxx_cv_func__hypot_use=yes
20640 else
20641   glibcxx_cv_func__hypot_use=no
20642 fi
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644       ac_ext=c
20645 ac_cpp='$CPP $CPPFLAGS'
20646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20649
20650
20651 fi
20652
20653   fi
20654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20655 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20656
20657     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20658       for ac_func in _hypot
20659 do :
20660   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20661 if test "x$ac_cv_func__hypot" = x""yes; then :
20662   cat >>confdefs.h <<_ACEOF
20663 #define HAVE__HYPOT 1
20664 _ACEOF
20665
20666 fi
20667 done
20668
20669     fi
20670   fi
20671
20672
20673
20674
20675
20676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20677 $as_echo_n "checking for float trig functions... " >&6; }
20678   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20679   $as_echo_n "(cached) " >&6
20680 else
20681
20682
20683     ac_ext=cpp
20684 ac_cpp='$CXXCPP $CPPFLAGS'
20685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20688
20689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h.  */
20691 #include <math.h>
20692 int
20693 main ()
20694 {
20695 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20696   ;
20697   return 0;
20698 }
20699 _ACEOF
20700 if ac_fn_cxx_try_compile "$LINENO"; then :
20701   glibcxx_cv_func_float_trig_use=yes
20702 else
20703   glibcxx_cv_func_float_trig_use=no
20704 fi
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706     ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712 fi
20713
20714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20715 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20716   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20717     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20718 do :
20719   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20721 eval as_val=\$$as_ac_var
20722    if test "x$as_val" = x""yes; then :
20723   cat >>confdefs.h <<_ACEOF
20724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20725 _ACEOF
20726
20727 fi
20728 done
20729
20730   else
20731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20732 $as_echo_n "checking for _float trig functions... " >&6; }
20733     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20734   $as_echo_n "(cached) " >&6
20735 else
20736
20737
20738       ac_ext=cpp
20739 ac_cpp='$CXXCPP $CPPFLAGS'
20740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20743
20744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h.  */
20746 #include <math.h>
20747 int
20748 main ()
20749 {
20750 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20751   ;
20752   return 0;
20753 }
20754 _ACEOF
20755 if ac_fn_cxx_try_compile "$LINENO"; then :
20756   glibcxx_cv_func__float_trig_use=yes
20757 else
20758   glibcxx_cv_func__float_trig_use=no
20759 fi
20760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20761       ac_ext=c
20762 ac_cpp='$CPP $CPPFLAGS'
20763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20766
20767 fi
20768
20769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20770 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20771     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20772       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20773 do :
20774   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20776 eval as_val=\$$as_ac_var
20777    if test "x$as_val" = x""yes; then :
20778   cat >>confdefs.h <<_ACEOF
20779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20780 _ACEOF
20781
20782 fi
20783 done
20784
20785     fi
20786   fi
20787
20788
20789
20790
20791
20792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20793 $as_echo_n "checking for float round functions... " >&6; }
20794   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20795   $as_echo_n "(cached) " >&6
20796 else
20797
20798
20799     ac_ext=cpp
20800 ac_cpp='$CXXCPP $CPPFLAGS'
20801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20804
20805     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h.  */
20807 #include <math.h>
20808 int
20809 main ()
20810 {
20811 ceilf (0); floorf (0);
20812   ;
20813   return 0;
20814 }
20815 _ACEOF
20816 if ac_fn_cxx_try_compile "$LINENO"; then :
20817   glibcxx_cv_func_float_round_use=yes
20818 else
20819   glibcxx_cv_func_float_round_use=no
20820 fi
20821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20822     ac_ext=c
20823 ac_cpp='$CPP $CPPFLAGS'
20824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20827
20828 fi
20829
20830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20831 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20832   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20833     for ac_func in ceilf floorf
20834 do :
20835   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20837 eval as_val=\$$as_ac_var
20838    if test "x$as_val" = x""yes; then :
20839   cat >>confdefs.h <<_ACEOF
20840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20841 _ACEOF
20842
20843 fi
20844 done
20845
20846   else
20847     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20848 $as_echo_n "checking for _float round functions... " >&6; }
20849     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20850   $as_echo_n "(cached) " >&6
20851 else
20852
20853
20854       ac_ext=cpp
20855 ac_cpp='$CXXCPP $CPPFLAGS'
20856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20859
20860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h.  */
20862 #include <math.h>
20863 int
20864 main ()
20865 {
20866 _ceilf (0); _floorf (0);
20867   ;
20868   return 0;
20869 }
20870 _ACEOF
20871 if ac_fn_cxx_try_compile "$LINENO"; then :
20872   glibcxx_cv_func__float_round_use=yes
20873 else
20874   glibcxx_cv_func__float_round_use=no
20875 fi
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877       ac_ext=c
20878 ac_cpp='$CPP $CPPFLAGS'
20879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20882
20883 fi
20884
20885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20886 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20887     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20888       for ac_func in _ceilf _floorf
20889 do :
20890   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20892 eval as_val=\$$as_ac_var
20893    if test "x$as_val" = x""yes; then :
20894   cat >>confdefs.h <<_ACEOF
20895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20896 _ACEOF
20897
20898 fi
20899 done
20900
20901     fi
20902   fi
20903
20904
20905
20906
20907
20908
20909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20910 $as_echo_n "checking for expf declaration... " >&6; }
20911   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20912     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20913   $as_echo_n "(cached) " >&6
20914 else
20915
20916
20917       ac_ext=cpp
20918 ac_cpp='$CXXCPP $CPPFLAGS'
20919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20922
20923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h.  */
20925 #include <math.h>
20926                       #ifdef HAVE_IEEEFP_H
20927                       #include <ieeefp.h>
20928                       #endif
20929
20930 int
20931 main ()
20932 {
20933  expf(0);
20934   ;
20935   return 0;
20936 }
20937 _ACEOF
20938 if ac_fn_cxx_try_compile "$LINENO"; then :
20939   glibcxx_cv_func_expf_use=yes
20940 else
20941   glibcxx_cv_func_expf_use=no
20942 fi
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944       ac_ext=c
20945 ac_cpp='$CPP $CPPFLAGS'
20946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20949
20950
20951 fi
20952
20953   fi
20954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20955 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20956
20957   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20958     for ac_func in expf
20959 do :
20960   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20961 if test "x$ac_cv_func_expf" = x""yes; then :
20962   cat >>confdefs.h <<_ACEOF
20963 #define HAVE_EXPF 1
20964 _ACEOF
20965
20966 fi
20967 done
20968
20969   else
20970
20971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20972 $as_echo_n "checking for _expf declaration... " >&6; }
20973   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20974     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20975   $as_echo_n "(cached) " >&6
20976 else
20977
20978
20979       ac_ext=cpp
20980 ac_cpp='$CXXCPP $CPPFLAGS'
20981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20984
20985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h.  */
20987 #include <math.h>
20988                       #ifdef HAVE_IEEEFP_H
20989                       #include <ieeefp.h>
20990                       #endif
20991
20992 int
20993 main ()
20994 {
20995  _expf(0);
20996   ;
20997   return 0;
20998 }
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001   glibcxx_cv_func__expf_use=yes
21002 else
21003   glibcxx_cv_func__expf_use=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006       ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21011
21012
21013 fi
21014
21015   fi
21016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21017 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21018
21019     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21020       for ac_func in _expf
21021 do :
21022   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21023 if test "x$ac_cv_func__expf" = x""yes; then :
21024   cat >>confdefs.h <<_ACEOF
21025 #define HAVE__EXPF 1
21026 _ACEOF
21027
21028 fi
21029 done
21030
21031     fi
21032   fi
21033
21034
21035
21036
21037
21038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21039 $as_echo_n "checking for isnanf declaration... " >&6; }
21040   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21041     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21042   $as_echo_n "(cached) " >&6
21043 else
21044
21045
21046       ac_ext=cpp
21047 ac_cpp='$CXXCPP $CPPFLAGS'
21048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21051
21052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21053 /* end confdefs.h.  */
21054 #include <math.h>
21055                       #ifdef HAVE_IEEEFP_H
21056                       #include <ieeefp.h>
21057                       #endif
21058
21059 int
21060 main ()
21061 {
21062  isnanf(0);
21063   ;
21064   return 0;
21065 }
21066 _ACEOF
21067 if ac_fn_cxx_try_compile "$LINENO"; then :
21068   glibcxx_cv_func_isnanf_use=yes
21069 else
21070   glibcxx_cv_func_isnanf_use=no
21071 fi
21072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21073       ac_ext=c
21074 ac_cpp='$CPP $CPPFLAGS'
21075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21078
21079
21080 fi
21081
21082   fi
21083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21084 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21085
21086   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21087     for ac_func in isnanf
21088 do :
21089   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21090 if test "x$ac_cv_func_isnanf" = x""yes; then :
21091   cat >>confdefs.h <<_ACEOF
21092 #define HAVE_ISNANF 1
21093 _ACEOF
21094
21095 fi
21096 done
21097
21098   else
21099
21100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21101 $as_echo_n "checking for _isnanf declaration... " >&6; }
21102   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21103     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21104   $as_echo_n "(cached) " >&6
21105 else
21106
21107
21108       ac_ext=cpp
21109 ac_cpp='$CXXCPP $CPPFLAGS'
21110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21113
21114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h.  */
21116 #include <math.h>
21117                       #ifdef HAVE_IEEEFP_H
21118                       #include <ieeefp.h>
21119                       #endif
21120
21121 int
21122 main ()
21123 {
21124  _isnanf(0);
21125   ;
21126   return 0;
21127 }
21128 _ACEOF
21129 if ac_fn_cxx_try_compile "$LINENO"; then :
21130   glibcxx_cv_func__isnanf_use=yes
21131 else
21132   glibcxx_cv_func__isnanf_use=no
21133 fi
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135       ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21140
21141
21142 fi
21143
21144   fi
21145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21146 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21147
21148     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21149       for ac_func in _isnanf
21150 do :
21151   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21152 if test "x$ac_cv_func__isnanf" = x""yes; then :
21153   cat >>confdefs.h <<_ACEOF
21154 #define HAVE__ISNANF 1
21155 _ACEOF
21156
21157 fi
21158 done
21159
21160     fi
21161   fi
21162
21163
21164
21165
21166
21167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21168 $as_echo_n "checking for isinff declaration... " >&6; }
21169   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21170     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21171   $as_echo_n "(cached) " >&6
21172 else
21173
21174
21175       ac_ext=cpp
21176 ac_cpp='$CXXCPP $CPPFLAGS'
21177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21180
21181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 /* end confdefs.h.  */
21183 #include <math.h>
21184                       #ifdef HAVE_IEEEFP_H
21185                       #include <ieeefp.h>
21186                       #endif
21187
21188 int
21189 main ()
21190 {
21191  isinff(0);
21192   ;
21193   return 0;
21194 }
21195 _ACEOF
21196 if ac_fn_cxx_try_compile "$LINENO"; then :
21197   glibcxx_cv_func_isinff_use=yes
21198 else
21199   glibcxx_cv_func_isinff_use=no
21200 fi
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21202       ac_ext=c
21203 ac_cpp='$CPP $CPPFLAGS'
21204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21207
21208
21209 fi
21210
21211   fi
21212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21213 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21214
21215   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21216     for ac_func in isinff
21217 do :
21218   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21219 if test "x$ac_cv_func_isinff" = x""yes; then :
21220   cat >>confdefs.h <<_ACEOF
21221 #define HAVE_ISINFF 1
21222 _ACEOF
21223
21224 fi
21225 done
21226
21227   else
21228
21229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21230 $as_echo_n "checking for _isinff declaration... " >&6; }
21231   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21232     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21233   $as_echo_n "(cached) " >&6
21234 else
21235
21236
21237       ac_ext=cpp
21238 ac_cpp='$CXXCPP $CPPFLAGS'
21239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242
21243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h.  */
21245 #include <math.h>
21246                       #ifdef HAVE_IEEEFP_H
21247                       #include <ieeefp.h>
21248                       #endif
21249
21250 int
21251 main ()
21252 {
21253  _isinff(0);
21254   ;
21255   return 0;
21256 }
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259   glibcxx_cv_func__isinff_use=yes
21260 else
21261   glibcxx_cv_func__isinff_use=no
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264       ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269
21270
21271 fi
21272
21273   fi
21274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21275 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21276
21277     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21278       for ac_func in _isinff
21279 do :
21280   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21281 if test "x$ac_cv_func__isinff" = x""yes; then :
21282   cat >>confdefs.h <<_ACEOF
21283 #define HAVE__ISINFF 1
21284 _ACEOF
21285
21286 fi
21287 done
21288
21289     fi
21290   fi
21291
21292
21293
21294
21295
21296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21297 $as_echo_n "checking for atan2f declaration... " >&6; }
21298   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21299     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21300   $as_echo_n "(cached) " >&6
21301 else
21302
21303
21304       ac_ext=cpp
21305 ac_cpp='$CXXCPP $CPPFLAGS'
21306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21309
21310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21311 /* end confdefs.h.  */
21312 #include <math.h>
21313 int
21314 main ()
21315 {
21316  atan2f(0, 0);
21317   ;
21318   return 0;
21319 }
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322   glibcxx_cv_func_atan2f_use=yes
21323 else
21324   glibcxx_cv_func_atan2f_use=no
21325 fi
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327       ac_ext=c
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21332
21333
21334 fi
21335
21336   fi
21337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21338 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21339
21340   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21341     for ac_func in atan2f
21342 do :
21343   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21344 if test "x$ac_cv_func_atan2f" = x""yes; then :
21345   cat >>confdefs.h <<_ACEOF
21346 #define HAVE_ATAN2F 1
21347 _ACEOF
21348
21349 fi
21350 done
21351
21352   else
21353
21354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21355 $as_echo_n "checking for _atan2f declaration... " >&6; }
21356   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21357     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21358   $as_echo_n "(cached) " >&6
21359 else
21360
21361
21362       ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21367
21368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h.  */
21370 #include <math.h>
21371 int
21372 main ()
21373 {
21374  _atan2f(0, 0);
21375   ;
21376   return 0;
21377 }
21378 _ACEOF
21379 if ac_fn_cxx_try_compile "$LINENO"; then :
21380   glibcxx_cv_func__atan2f_use=yes
21381 else
21382   glibcxx_cv_func__atan2f_use=no
21383 fi
21384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21385       ac_ext=c
21386 ac_cpp='$CPP $CPPFLAGS'
21387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21390
21391
21392 fi
21393
21394   fi
21395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21396 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21397
21398     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21399       for ac_func in _atan2f
21400 do :
21401   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21402 if test "x$ac_cv_func__atan2f" = x""yes; then :
21403   cat >>confdefs.h <<_ACEOF
21404 #define HAVE__ATAN2F 1
21405 _ACEOF
21406
21407 fi
21408 done
21409
21410     fi
21411   fi
21412
21413
21414
21415
21416
21417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21418 $as_echo_n "checking for fabsf declaration... " >&6; }
21419   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21420     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21421   $as_echo_n "(cached) " >&6
21422 else
21423
21424
21425       ac_ext=cpp
21426 ac_cpp='$CXXCPP $CPPFLAGS'
21427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21430
21431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h.  */
21433 #include <math.h>
21434                       #ifdef HAVE_IEEEFP_H
21435                       #include <ieeefp.h>
21436                       #endif
21437
21438 int
21439 main ()
21440 {
21441  fabsf(0);
21442   ;
21443   return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447   glibcxx_cv_func_fabsf_use=yes
21448 else
21449   glibcxx_cv_func_fabsf_use=no
21450 fi
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452       ac_ext=c
21453 ac_cpp='$CPP $CPPFLAGS'
21454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21457
21458
21459 fi
21460
21461   fi
21462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21463 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21464
21465   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21466     for ac_func in fabsf
21467 do :
21468   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21469 if test "x$ac_cv_func_fabsf" = x""yes; then :
21470   cat >>confdefs.h <<_ACEOF
21471 #define HAVE_FABSF 1
21472 _ACEOF
21473
21474 fi
21475 done
21476
21477   else
21478
21479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21480 $as_echo_n "checking for _fabsf declaration... " >&6; }
21481   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21482     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21483   $as_echo_n "(cached) " >&6
21484 else
21485
21486
21487       ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21492
21493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h.  */
21495 #include <math.h>
21496                       #ifdef HAVE_IEEEFP_H
21497                       #include <ieeefp.h>
21498                       #endif
21499
21500 int
21501 main ()
21502 {
21503  _fabsf(0);
21504   ;
21505   return 0;
21506 }
21507 _ACEOF
21508 if ac_fn_cxx_try_compile "$LINENO"; then :
21509   glibcxx_cv_func__fabsf_use=yes
21510 else
21511   glibcxx_cv_func__fabsf_use=no
21512 fi
21513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514       ac_ext=c
21515 ac_cpp='$CPP $CPPFLAGS'
21516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21519
21520
21521 fi
21522
21523   fi
21524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21525 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21526
21527     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21528       for ac_func in _fabsf
21529 do :
21530   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21531 if test "x$ac_cv_func__fabsf" = x""yes; then :
21532   cat >>confdefs.h <<_ACEOF
21533 #define HAVE__FABSF 1
21534 _ACEOF
21535
21536 fi
21537 done
21538
21539     fi
21540   fi
21541
21542
21543
21544
21545
21546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21547 $as_echo_n "checking for fmodf declaration... " >&6; }
21548   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21549     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21550   $as_echo_n "(cached) " >&6
21551 else
21552
21553
21554       ac_ext=cpp
21555 ac_cpp='$CXXCPP $CPPFLAGS'
21556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21559
21560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h.  */
21562 #include <math.h>
21563 int
21564 main ()
21565 {
21566  fmodf(0, 0);
21567   ;
21568   return 0;
21569 }
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572   glibcxx_cv_func_fmodf_use=yes
21573 else
21574   glibcxx_cv_func_fmodf_use=no
21575 fi
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577       ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21582
21583
21584 fi
21585
21586   fi
21587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21588 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21589
21590   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21591     for ac_func in fmodf
21592 do :
21593   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21594 if test "x$ac_cv_func_fmodf" = x""yes; then :
21595   cat >>confdefs.h <<_ACEOF
21596 #define HAVE_FMODF 1
21597 _ACEOF
21598
21599 fi
21600 done
21601
21602   else
21603
21604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21605 $as_echo_n "checking for _fmodf declaration... " >&6; }
21606   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21607     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21608   $as_echo_n "(cached) " >&6
21609 else
21610
21611
21612       ac_ext=cpp
21613 ac_cpp='$CXXCPP $CPPFLAGS'
21614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21617
21618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h.  */
21620 #include <math.h>
21621 int
21622 main ()
21623 {
21624  _fmodf(0, 0);
21625   ;
21626   return 0;
21627 }
21628 _ACEOF
21629 if ac_fn_cxx_try_compile "$LINENO"; then :
21630   glibcxx_cv_func__fmodf_use=yes
21631 else
21632   glibcxx_cv_func__fmodf_use=no
21633 fi
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635       ac_ext=c
21636 ac_cpp='$CPP $CPPFLAGS'
21637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640
21641
21642 fi
21643
21644   fi
21645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21646 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21647
21648     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21649       for ac_func in _fmodf
21650 do :
21651   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21652 if test "x$ac_cv_func__fmodf" = x""yes; then :
21653   cat >>confdefs.h <<_ACEOF
21654 #define HAVE__FMODF 1
21655 _ACEOF
21656
21657 fi
21658 done
21659
21660     fi
21661   fi
21662
21663
21664
21665
21666
21667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21668 $as_echo_n "checking for frexpf declaration... " >&6; }
21669   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21670     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21671   $as_echo_n "(cached) " >&6
21672 else
21673
21674
21675       ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680
21681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h.  */
21683 #include <math.h>
21684 int
21685 main ()
21686 {
21687  frexpf(0, 0);
21688   ;
21689   return 0;
21690 }
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693   glibcxx_cv_func_frexpf_use=yes
21694 else
21695   glibcxx_cv_func_frexpf_use=no
21696 fi
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698       ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703
21704
21705 fi
21706
21707   fi
21708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21709 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21710
21711   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21712     for ac_func in frexpf
21713 do :
21714   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21715 if test "x$ac_cv_func_frexpf" = x""yes; then :
21716   cat >>confdefs.h <<_ACEOF
21717 #define HAVE_FREXPF 1
21718 _ACEOF
21719
21720 fi
21721 done
21722
21723   else
21724
21725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21726 $as_echo_n "checking for _frexpf declaration... " >&6; }
21727   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21728     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21729   $as_echo_n "(cached) " >&6
21730 else
21731
21732
21733       ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738
21739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h.  */
21741 #include <math.h>
21742 int
21743 main ()
21744 {
21745  _frexpf(0, 0);
21746   ;
21747   return 0;
21748 }
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751   glibcxx_cv_func__frexpf_use=yes
21752 else
21753   glibcxx_cv_func__frexpf_use=no
21754 fi
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756       ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21761
21762
21763 fi
21764
21765   fi
21766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21767 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21768
21769     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21770       for ac_func in _frexpf
21771 do :
21772   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21773 if test "x$ac_cv_func__frexpf" = x""yes; then :
21774   cat >>confdefs.h <<_ACEOF
21775 #define HAVE__FREXPF 1
21776 _ACEOF
21777
21778 fi
21779 done
21780
21781     fi
21782   fi
21783
21784
21785
21786
21787
21788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21789 $as_echo_n "checking for hypotf declaration... " >&6; }
21790   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21791     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21792   $as_echo_n "(cached) " >&6
21793 else
21794
21795
21796       ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801
21802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h.  */
21804 #include <math.h>
21805 int
21806 main ()
21807 {
21808  hypotf(0, 0);
21809   ;
21810   return 0;
21811 }
21812 _ACEOF
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814   glibcxx_cv_func_hypotf_use=yes
21815 else
21816   glibcxx_cv_func_hypotf_use=no
21817 fi
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819       ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824
21825
21826 fi
21827
21828   fi
21829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21830 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21831
21832   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21833     for ac_func in hypotf
21834 do :
21835   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21836 if test "x$ac_cv_func_hypotf" = x""yes; then :
21837   cat >>confdefs.h <<_ACEOF
21838 #define HAVE_HYPOTF 1
21839 _ACEOF
21840
21841 fi
21842 done
21843
21844   else
21845
21846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21847 $as_echo_n "checking for _hypotf declaration... " >&6; }
21848   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21849     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21850   $as_echo_n "(cached) " >&6
21851 else
21852
21853
21854       ac_ext=cpp
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859
21860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h.  */
21862 #include <math.h>
21863 int
21864 main ()
21865 {
21866  _hypotf(0, 0);
21867   ;
21868   return 0;
21869 }
21870 _ACEOF
21871 if ac_fn_cxx_try_compile "$LINENO"; then :
21872   glibcxx_cv_func__hypotf_use=yes
21873 else
21874   glibcxx_cv_func__hypotf_use=no
21875 fi
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877       ac_ext=c
21878 ac_cpp='$CPP $CPPFLAGS'
21879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21882
21883
21884 fi
21885
21886   fi
21887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21888 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21889
21890     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21891       for ac_func in _hypotf
21892 do :
21893   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21894 if test "x$ac_cv_func__hypotf" = x""yes; then :
21895   cat >>confdefs.h <<_ACEOF
21896 #define HAVE__HYPOTF 1
21897 _ACEOF
21898
21899 fi
21900 done
21901
21902     fi
21903   fi
21904
21905
21906
21907
21908
21909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21910 $as_echo_n "checking for ldexpf declaration... " >&6; }
21911   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21912     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21913   $as_echo_n "(cached) " >&6
21914 else
21915
21916
21917       ac_ext=cpp
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21922
21923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h.  */
21925 #include <math.h>
21926 int
21927 main ()
21928 {
21929  ldexpf(0, 0);
21930   ;
21931   return 0;
21932 }
21933 _ACEOF
21934 if ac_fn_cxx_try_compile "$LINENO"; then :
21935   glibcxx_cv_func_ldexpf_use=yes
21936 else
21937   glibcxx_cv_func_ldexpf_use=no
21938 fi
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940       ac_ext=c
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21945
21946
21947 fi
21948
21949   fi
21950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21951 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21952
21953   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21954     for ac_func in ldexpf
21955 do :
21956   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21957 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21958   cat >>confdefs.h <<_ACEOF
21959 #define HAVE_LDEXPF 1
21960 _ACEOF
21961
21962 fi
21963 done
21964
21965   else
21966
21967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21968 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21969   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21970     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21971   $as_echo_n "(cached) " >&6
21972 else
21973
21974
21975       ac_ext=cpp
21976 ac_cpp='$CXXCPP $CPPFLAGS'
21977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21980
21981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21982 /* end confdefs.h.  */
21983 #include <math.h>
21984 int
21985 main ()
21986 {
21987  _ldexpf(0, 0);
21988   ;
21989   return 0;
21990 }
21991 _ACEOF
21992 if ac_fn_cxx_try_compile "$LINENO"; then :
21993   glibcxx_cv_func__ldexpf_use=yes
21994 else
21995   glibcxx_cv_func__ldexpf_use=no
21996 fi
21997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21998       ac_ext=c
21999 ac_cpp='$CPP $CPPFLAGS'
22000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22003
22004
22005 fi
22006
22007   fi
22008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22009 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22010
22011     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22012       for ac_func in _ldexpf
22013 do :
22014   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22015 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22016   cat >>confdefs.h <<_ACEOF
22017 #define HAVE__LDEXPF 1
22018 _ACEOF
22019
22020 fi
22021 done
22022
22023     fi
22024   fi
22025
22026
22027
22028
22029
22030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22031 $as_echo_n "checking for logf declaration... " >&6; }
22032   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22033     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22034   $as_echo_n "(cached) " >&6
22035 else
22036
22037
22038       ac_ext=cpp
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22043
22044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h.  */
22046 #include <math.h>
22047                       #ifdef HAVE_IEEEFP_H
22048                       #include <ieeefp.h>
22049                       #endif
22050
22051 int
22052 main ()
22053 {
22054  logf(0);
22055   ;
22056   return 0;
22057 }
22058 _ACEOF
22059 if ac_fn_cxx_try_compile "$LINENO"; then :
22060   glibcxx_cv_func_logf_use=yes
22061 else
22062   glibcxx_cv_func_logf_use=no
22063 fi
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065       ac_ext=c
22066 ac_cpp='$CPP $CPPFLAGS'
22067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22070
22071
22072 fi
22073
22074   fi
22075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22076 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22077
22078   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22079     for ac_func in logf
22080 do :
22081   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22082 if test "x$ac_cv_func_logf" = x""yes; then :
22083   cat >>confdefs.h <<_ACEOF
22084 #define HAVE_LOGF 1
22085 _ACEOF
22086
22087 fi
22088 done
22089
22090   else
22091
22092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22093 $as_echo_n "checking for _logf declaration... " >&6; }
22094   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22095     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22096   $as_echo_n "(cached) " >&6
22097 else
22098
22099
22100       ac_ext=cpp
22101 ac_cpp='$CXXCPP $CPPFLAGS'
22102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105
22106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h.  */
22108 #include <math.h>
22109                       #ifdef HAVE_IEEEFP_H
22110                       #include <ieeefp.h>
22111                       #endif
22112
22113 int
22114 main ()
22115 {
22116  _logf(0);
22117   ;
22118   return 0;
22119 }
22120 _ACEOF
22121 if ac_fn_cxx_try_compile "$LINENO"; then :
22122   glibcxx_cv_func__logf_use=yes
22123 else
22124   glibcxx_cv_func__logf_use=no
22125 fi
22126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127       ac_ext=c
22128 ac_cpp='$CPP $CPPFLAGS'
22129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132
22133
22134 fi
22135
22136   fi
22137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22138 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22139
22140     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22141       for ac_func in _logf
22142 do :
22143   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22144 if test "x$ac_cv_func__logf" = x""yes; then :
22145   cat >>confdefs.h <<_ACEOF
22146 #define HAVE__LOGF 1
22147 _ACEOF
22148
22149 fi
22150 done
22151
22152     fi
22153   fi
22154
22155
22156
22157
22158
22159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22160 $as_echo_n "checking for log10f declaration... " >&6; }
22161   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22162     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22163   $as_echo_n "(cached) " >&6
22164 else
22165
22166
22167       ac_ext=cpp
22168 ac_cpp='$CXXCPP $CPPFLAGS'
22169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22172
22173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h.  */
22175 #include <math.h>
22176                       #ifdef HAVE_IEEEFP_H
22177                       #include <ieeefp.h>
22178                       #endif
22179
22180 int
22181 main ()
22182 {
22183  log10f(0);
22184   ;
22185   return 0;
22186 }
22187 _ACEOF
22188 if ac_fn_cxx_try_compile "$LINENO"; then :
22189   glibcxx_cv_func_log10f_use=yes
22190 else
22191   glibcxx_cv_func_log10f_use=no
22192 fi
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194       ac_ext=c
22195 ac_cpp='$CPP $CPPFLAGS'
22196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22199
22200
22201 fi
22202
22203   fi
22204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22205 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22206
22207   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22208     for ac_func in log10f
22209 do :
22210   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22211 if test "x$ac_cv_func_log10f" = x""yes; then :
22212   cat >>confdefs.h <<_ACEOF
22213 #define HAVE_LOG10F 1
22214 _ACEOF
22215
22216 fi
22217 done
22218
22219   else
22220
22221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22222 $as_echo_n "checking for _log10f declaration... " >&6; }
22223   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22224     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22225   $as_echo_n "(cached) " >&6
22226 else
22227
22228
22229       ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h.  */
22237 #include <math.h>
22238                       #ifdef HAVE_IEEEFP_H
22239                       #include <ieeefp.h>
22240                       #endif
22241
22242 int
22243 main ()
22244 {
22245  _log10f(0);
22246   ;
22247   return 0;
22248 }
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251   glibcxx_cv_func__log10f_use=yes
22252 else
22253   glibcxx_cv_func__log10f_use=no
22254 fi
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256       ac_ext=c
22257 ac_cpp='$CPP $CPPFLAGS'
22258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22261
22262
22263 fi
22264
22265   fi
22266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22267 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22268
22269     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22270       for ac_func in _log10f
22271 do :
22272   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22273 if test "x$ac_cv_func__log10f" = x""yes; then :
22274   cat >>confdefs.h <<_ACEOF
22275 #define HAVE__LOG10F 1
22276 _ACEOF
22277
22278 fi
22279 done
22280
22281     fi
22282   fi
22283
22284
22285
22286
22287
22288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22289 $as_echo_n "checking for modff declaration... " >&6; }
22290   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22291     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22292   $as_echo_n "(cached) " >&6
22293 else
22294
22295
22296       ac_ext=cpp
22297 ac_cpp='$CXXCPP $CPPFLAGS'
22298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22301
22302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h.  */
22304 #include <math.h>
22305 int
22306 main ()
22307 {
22308  modff(0, 0);
22309   ;
22310   return 0;
22311 }
22312 _ACEOF
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314   glibcxx_cv_func_modff_use=yes
22315 else
22316   glibcxx_cv_func_modff_use=no
22317 fi
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319       ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22324
22325
22326 fi
22327
22328   fi
22329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22330 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22331
22332   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22333     for ac_func in modff
22334 do :
22335   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22336 if test "x$ac_cv_func_modff" = x""yes; then :
22337   cat >>confdefs.h <<_ACEOF
22338 #define HAVE_MODFF 1
22339 _ACEOF
22340
22341 fi
22342 done
22343
22344   else
22345
22346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22347 $as_echo_n "checking for _modff declaration... " >&6; }
22348   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22349     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22350   $as_echo_n "(cached) " >&6
22351 else
22352
22353
22354       ac_ext=cpp
22355 ac_cpp='$CXXCPP $CPPFLAGS'
22356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22359
22360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h.  */
22362 #include <math.h>
22363 int
22364 main ()
22365 {
22366  _modff(0, 0);
22367   ;
22368   return 0;
22369 }
22370 _ACEOF
22371 if ac_fn_cxx_try_compile "$LINENO"; then :
22372   glibcxx_cv_func__modff_use=yes
22373 else
22374   glibcxx_cv_func__modff_use=no
22375 fi
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377       ac_ext=c
22378 ac_cpp='$CPP $CPPFLAGS'
22379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382
22383
22384 fi
22385
22386   fi
22387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22388 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22389
22390     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22391       for ac_func in _modff
22392 do :
22393   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22394 if test "x$ac_cv_func__modff" = x""yes; then :
22395   cat >>confdefs.h <<_ACEOF
22396 #define HAVE__MODFF 1
22397 _ACEOF
22398
22399 fi
22400 done
22401
22402     fi
22403   fi
22404
22405
22406
22407
22408
22409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22410 $as_echo_n "checking for modf declaration... " >&6; }
22411   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22412     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22413   $as_echo_n "(cached) " >&6
22414 else
22415
22416
22417       ac_ext=cpp
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22422
22423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h.  */
22425 #include <math.h>
22426 int
22427 main ()
22428 {
22429  modf(0, 0);
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435   glibcxx_cv_func_modf_use=yes
22436 else
22437   glibcxx_cv_func_modf_use=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440       ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445
22446
22447 fi
22448
22449   fi
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22451 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22452
22453   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22454     for ac_func in modf
22455 do :
22456   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22457 if test "x$ac_cv_func_modf" = x""yes; then :
22458   cat >>confdefs.h <<_ACEOF
22459 #define HAVE_MODF 1
22460 _ACEOF
22461
22462 fi
22463 done
22464
22465   else
22466
22467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22468 $as_echo_n "checking for _modf declaration... " >&6; }
22469   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22470     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22471   $as_echo_n "(cached) " >&6
22472 else
22473
22474
22475       ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480
22481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h.  */
22483 #include <math.h>
22484 int
22485 main ()
22486 {
22487  _modf(0, 0);
22488   ;
22489   return 0;
22490 }
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493   glibcxx_cv_func__modf_use=yes
22494 else
22495   glibcxx_cv_func__modf_use=no
22496 fi
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498       ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22503
22504
22505 fi
22506
22507   fi
22508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22509 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22510
22511     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22512       for ac_func in _modf
22513 do :
22514   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22515 if test "x$ac_cv_func__modf" = x""yes; then :
22516   cat >>confdefs.h <<_ACEOF
22517 #define HAVE__MODF 1
22518 _ACEOF
22519
22520 fi
22521 done
22522
22523     fi
22524   fi
22525
22526
22527
22528
22529
22530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22531 $as_echo_n "checking for powf declaration... " >&6; }
22532   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22533     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22534   $as_echo_n "(cached) " >&6
22535 else
22536
22537
22538       ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h.  */
22546 #include <math.h>
22547 int
22548 main ()
22549 {
22550  powf(0, 0);
22551   ;
22552   return 0;
22553 }
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556   glibcxx_cv_func_powf_use=yes
22557 else
22558   glibcxx_cv_func_powf_use=no
22559 fi
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561       ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22566
22567
22568 fi
22569
22570   fi
22571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22572 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22573
22574   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22575     for ac_func in powf
22576 do :
22577   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22578 if test "x$ac_cv_func_powf" = x""yes; then :
22579   cat >>confdefs.h <<_ACEOF
22580 #define HAVE_POWF 1
22581 _ACEOF
22582
22583 fi
22584 done
22585
22586   else
22587
22588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22589 $as_echo_n "checking for _powf declaration... " >&6; }
22590   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22591     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22592   $as_echo_n "(cached) " >&6
22593 else
22594
22595
22596       ac_ext=cpp
22597 ac_cpp='$CXXCPP $CPPFLAGS'
22598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22601
22602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h.  */
22604 #include <math.h>
22605 int
22606 main ()
22607 {
22608  _powf(0, 0);
22609   ;
22610   return 0;
22611 }
22612 _ACEOF
22613 if ac_fn_cxx_try_compile "$LINENO"; then :
22614   glibcxx_cv_func__powf_use=yes
22615 else
22616   glibcxx_cv_func__powf_use=no
22617 fi
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619       ac_ext=c
22620 ac_cpp='$CPP $CPPFLAGS'
22621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22624
22625
22626 fi
22627
22628   fi
22629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22630 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22631
22632     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22633       for ac_func in _powf
22634 do :
22635   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22636 if test "x$ac_cv_func__powf" = x""yes; then :
22637   cat >>confdefs.h <<_ACEOF
22638 #define HAVE__POWF 1
22639 _ACEOF
22640
22641 fi
22642 done
22643
22644     fi
22645   fi
22646
22647
22648
22649
22650
22651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22652 $as_echo_n "checking for sqrtf declaration... " >&6; }
22653   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22654     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22655   $as_echo_n "(cached) " >&6
22656 else
22657
22658
22659       ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664
22665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h.  */
22667 #include <math.h>
22668                       #ifdef HAVE_IEEEFP_H
22669                       #include <ieeefp.h>
22670                       #endif
22671
22672 int
22673 main ()
22674 {
22675  sqrtf(0);
22676   ;
22677   return 0;
22678 }
22679 _ACEOF
22680 if ac_fn_cxx_try_compile "$LINENO"; then :
22681   glibcxx_cv_func_sqrtf_use=yes
22682 else
22683   glibcxx_cv_func_sqrtf_use=no
22684 fi
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686       ac_ext=c
22687 ac_cpp='$CPP $CPPFLAGS'
22688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22691
22692
22693 fi
22694
22695   fi
22696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22697 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22698
22699   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22700     for ac_func in sqrtf
22701 do :
22702   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22703 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22704   cat >>confdefs.h <<_ACEOF
22705 #define HAVE_SQRTF 1
22706 _ACEOF
22707
22708 fi
22709 done
22710
22711   else
22712
22713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22714 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22715   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22716     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22717   $as_echo_n "(cached) " >&6
22718 else
22719
22720
22721       ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726
22727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h.  */
22729 #include <math.h>
22730                       #ifdef HAVE_IEEEFP_H
22731                       #include <ieeefp.h>
22732                       #endif
22733
22734 int
22735 main ()
22736 {
22737  _sqrtf(0);
22738   ;
22739   return 0;
22740 }
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743   glibcxx_cv_func__sqrtf_use=yes
22744 else
22745   glibcxx_cv_func__sqrtf_use=no
22746 fi
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748       ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22753
22754
22755 fi
22756
22757   fi
22758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22759 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22760
22761     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22762       for ac_func in _sqrtf
22763 do :
22764   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22765 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22766   cat >>confdefs.h <<_ACEOF
22767 #define HAVE__SQRTF 1
22768 _ACEOF
22769
22770 fi
22771 done
22772
22773     fi
22774   fi
22775
22776
22777
22778
22779
22780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22781 $as_echo_n "checking for sincosf declaration... " >&6; }
22782   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22783     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22784   $as_echo_n "(cached) " >&6
22785 else
22786
22787
22788       ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793
22794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h.  */
22796 #include <math.h>
22797 int
22798 main ()
22799 {
22800  sincosf(0, 0, 0);
22801   ;
22802   return 0;
22803 }
22804 _ACEOF
22805 if ac_fn_cxx_try_compile "$LINENO"; then :
22806   glibcxx_cv_func_sincosf_use=yes
22807 else
22808   glibcxx_cv_func_sincosf_use=no
22809 fi
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22811       ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816
22817
22818 fi
22819
22820   fi
22821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22822 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22823
22824   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22825     for ac_func in sincosf
22826 do :
22827   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22828 if test "x$ac_cv_func_sincosf" = x""yes; then :
22829   cat >>confdefs.h <<_ACEOF
22830 #define HAVE_SINCOSF 1
22831 _ACEOF
22832
22833 fi
22834 done
22835
22836   else
22837
22838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22839 $as_echo_n "checking for _sincosf declaration... " >&6; }
22840   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22841     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22842   $as_echo_n "(cached) " >&6
22843 else
22844
22845
22846       ac_ext=cpp
22847 ac_cpp='$CXXCPP $CPPFLAGS'
22848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851
22852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22853 /* end confdefs.h.  */
22854 #include <math.h>
22855 int
22856 main ()
22857 {
22858  _sincosf(0, 0, 0);
22859   ;
22860   return 0;
22861 }
22862 _ACEOF
22863 if ac_fn_cxx_try_compile "$LINENO"; then :
22864   glibcxx_cv_func__sincosf_use=yes
22865 else
22866   glibcxx_cv_func__sincosf_use=no
22867 fi
22868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22869       ac_ext=c
22870 ac_cpp='$CPP $CPPFLAGS'
22871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22874
22875
22876 fi
22877
22878   fi
22879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22880 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22881
22882     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22883       for ac_func in _sincosf
22884 do :
22885   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22886 if test "x$ac_cv_func__sincosf" = x""yes; then :
22887   cat >>confdefs.h <<_ACEOF
22888 #define HAVE__SINCOSF 1
22889 _ACEOF
22890
22891 fi
22892 done
22893
22894     fi
22895   fi
22896
22897
22898
22899
22900
22901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22902 $as_echo_n "checking for finitef declaration... " >&6; }
22903   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22904     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22905   $as_echo_n "(cached) " >&6
22906 else
22907
22908
22909       ac_ext=cpp
22910 ac_cpp='$CXXCPP $CPPFLAGS'
22911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914
22915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h.  */
22917 #include <math.h>
22918                       #ifdef HAVE_IEEEFP_H
22919                       #include <ieeefp.h>
22920                       #endif
22921
22922 int
22923 main ()
22924 {
22925  finitef(0);
22926   ;
22927   return 0;
22928 }
22929 _ACEOF
22930 if ac_fn_cxx_try_compile "$LINENO"; then :
22931   glibcxx_cv_func_finitef_use=yes
22932 else
22933   glibcxx_cv_func_finitef_use=no
22934 fi
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22936       ac_ext=c
22937 ac_cpp='$CPP $CPPFLAGS'
22938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941
22942
22943 fi
22944
22945   fi
22946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22947 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22948
22949   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22950     for ac_func in finitef
22951 do :
22952   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22953 if test "x$ac_cv_func_finitef" = x""yes; then :
22954   cat >>confdefs.h <<_ACEOF
22955 #define HAVE_FINITEF 1
22956 _ACEOF
22957
22958 fi
22959 done
22960
22961   else
22962
22963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22964 $as_echo_n "checking for _finitef declaration... " >&6; }
22965   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22966     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22967   $as_echo_n "(cached) " >&6
22968 else
22969
22970
22971       ac_ext=cpp
22972 ac_cpp='$CXXCPP $CPPFLAGS'
22973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976
22977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h.  */
22979 #include <math.h>
22980                       #ifdef HAVE_IEEEFP_H
22981                       #include <ieeefp.h>
22982                       #endif
22983
22984 int
22985 main ()
22986 {
22987  _finitef(0);
22988   ;
22989   return 0;
22990 }
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993   glibcxx_cv_func__finitef_use=yes
22994 else
22995   glibcxx_cv_func__finitef_use=no
22996 fi
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998       ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003
23004
23005 fi
23006
23007   fi
23008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23009 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23010
23011     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23012       for ac_func in _finitef
23013 do :
23014   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23015 if test "x$ac_cv_func__finitef" = x""yes; then :
23016   cat >>confdefs.h <<_ACEOF
23017 #define HAVE__FINITEF 1
23018 _ACEOF
23019
23020 fi
23021 done
23022
23023     fi
23024   fi
23025
23026
23027
23028
23029
23030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23031 $as_echo_n "checking for long double trig functions... " >&6; }
23032   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23033   $as_echo_n "(cached) " >&6
23034 else
23035
23036
23037     ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23042
23043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h.  */
23045 #include <math.h>
23046 int
23047 main ()
23048 {
23049 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23050   ;
23051   return 0;
23052 }
23053 _ACEOF
23054 if ac_fn_cxx_try_compile "$LINENO"; then :
23055   glibcxx_cv_func_long_double_trig_use=yes
23056 else
23057   glibcxx_cv_func_long_double_trig_use=no
23058 fi
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060     ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23065
23066 fi
23067
23068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23069 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23070   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23071     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23072 do :
23073   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23075 eval as_val=\$$as_ac_var
23076    if test "x$as_val" = x""yes; then :
23077   cat >>confdefs.h <<_ACEOF
23078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23079 _ACEOF
23080
23081 fi
23082 done
23083
23084   else
23085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23086 $as_echo_n "checking for _long double trig functions... " >&6; }
23087     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23088   $as_echo_n "(cached) " >&6
23089 else
23090
23091
23092       ac_ext=cpp
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23097
23098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h.  */
23100 #include <math.h>
23101 int
23102 main ()
23103 {
23104 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23105   ;
23106   return 0;
23107 }
23108 _ACEOF
23109 if ac_fn_cxx_try_compile "$LINENO"; then :
23110   glibcxx_cv_func__long_double_trig_use=yes
23111 else
23112   glibcxx_cv_func__long_double_trig_use=no
23113 fi
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115       ac_ext=c
23116 ac_cpp='$CPP $CPPFLAGS'
23117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23120
23121 fi
23122
23123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23124 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23125     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23126       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23127 do :
23128   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23130 eval as_val=\$$as_ac_var
23131    if test "x$as_val" = x""yes; then :
23132   cat >>confdefs.h <<_ACEOF
23133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23134 _ACEOF
23135
23136 fi
23137 done
23138
23139     fi
23140   fi
23141
23142
23143
23144
23145
23146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23147 $as_echo_n "checking for long double round functions... " >&6; }
23148   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23149   $as_echo_n "(cached) " >&6
23150 else
23151
23152
23153     ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23158
23159     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h.  */
23161 #include <math.h>
23162 int
23163 main ()
23164 {
23165 ceill (0); floorl (0);
23166   ;
23167   return 0;
23168 }
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171   glibcxx_cv_func_long_double_round_use=yes
23172 else
23173   glibcxx_cv_func_long_double_round_use=no
23174 fi
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176     ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181
23182 fi
23183
23184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23185 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23186   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23187     for ac_func in ceill floorl
23188 do :
23189   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23191 eval as_val=\$$as_ac_var
23192    if test "x$as_val" = x""yes; then :
23193   cat >>confdefs.h <<_ACEOF
23194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23195 _ACEOF
23196
23197 fi
23198 done
23199
23200   else
23201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23202 $as_echo_n "checking for _long double round functions... " >&6; }
23203     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23204   $as_echo_n "(cached) " >&6
23205 else
23206
23207
23208       ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213
23214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h.  */
23216 #include <math.h>
23217 int
23218 main ()
23219 {
23220 _ceill (0); _floorl (0);
23221   ;
23222   return 0;
23223 }
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226   glibcxx_cv_func__long_double_round_use=yes
23227 else
23228   glibcxx_cv_func__long_double_round_use=no
23229 fi
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231       ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23236
23237 fi
23238
23239     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23240 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23241     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23242       for ac_func in _ceill _floorl
23243 do :
23244   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23246 eval as_val=\$$as_ac_var
23247    if test "x$as_val" = x""yes; then :
23248   cat >>confdefs.h <<_ACEOF
23249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23250 _ACEOF
23251
23252 fi
23253 done
23254
23255     fi
23256   fi
23257
23258
23259
23260
23261
23262
23263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23264 $as_echo_n "checking for isnanl declaration... " >&6; }
23265   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23266     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23267   $as_echo_n "(cached) " >&6
23268 else
23269
23270
23271       ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276
23277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h.  */
23279 #include <math.h>
23280                       #ifdef HAVE_IEEEFP_H
23281                       #include <ieeefp.h>
23282                       #endif
23283
23284 int
23285 main ()
23286 {
23287  isnanl(0);
23288   ;
23289   return 0;
23290 }
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293   glibcxx_cv_func_isnanl_use=yes
23294 else
23295   glibcxx_cv_func_isnanl_use=no
23296 fi
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298       ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23303
23304
23305 fi
23306
23307   fi
23308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23309 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23310
23311   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23312     for ac_func in isnanl
23313 do :
23314   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23315 if test "x$ac_cv_func_isnanl" = x""yes; then :
23316   cat >>confdefs.h <<_ACEOF
23317 #define HAVE_ISNANL 1
23318 _ACEOF
23319
23320 fi
23321 done
23322
23323   else
23324
23325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23326 $as_echo_n "checking for _isnanl declaration... " >&6; }
23327   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23328     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23329   $as_echo_n "(cached) " >&6
23330 else
23331
23332
23333       ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23338
23339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h.  */
23341 #include <math.h>
23342                       #ifdef HAVE_IEEEFP_H
23343                       #include <ieeefp.h>
23344                       #endif
23345
23346 int
23347 main ()
23348 {
23349  _isnanl(0);
23350   ;
23351   return 0;
23352 }
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355   glibcxx_cv_func__isnanl_use=yes
23356 else
23357   glibcxx_cv_func__isnanl_use=no
23358 fi
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360       ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365
23366
23367 fi
23368
23369   fi
23370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23371 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23372
23373     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23374       for ac_func in _isnanl
23375 do :
23376   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23377 if test "x$ac_cv_func__isnanl" = x""yes; then :
23378   cat >>confdefs.h <<_ACEOF
23379 #define HAVE__ISNANL 1
23380 _ACEOF
23381
23382 fi
23383 done
23384
23385     fi
23386   fi
23387
23388
23389
23390
23391
23392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23393 $as_echo_n "checking for isinfl declaration... " >&6; }
23394   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23395     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23396   $as_echo_n "(cached) " >&6
23397 else
23398
23399
23400       ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h.  */
23408 #include <math.h>
23409                       #ifdef HAVE_IEEEFP_H
23410                       #include <ieeefp.h>
23411                       #endif
23412
23413 int
23414 main ()
23415 {
23416  isinfl(0);
23417   ;
23418   return 0;
23419 }
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422   glibcxx_cv_func_isinfl_use=yes
23423 else
23424   glibcxx_cv_func_isinfl_use=no
23425 fi
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427       ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23432
23433
23434 fi
23435
23436   fi
23437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23438 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23439
23440   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23441     for ac_func in isinfl
23442 do :
23443   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23444 if test "x$ac_cv_func_isinfl" = x""yes; then :
23445   cat >>confdefs.h <<_ACEOF
23446 #define HAVE_ISINFL 1
23447 _ACEOF
23448
23449 fi
23450 done
23451
23452   else
23453
23454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23455 $as_echo_n "checking for _isinfl declaration... " >&6; }
23456   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23457     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23458   $as_echo_n "(cached) " >&6
23459 else
23460
23461
23462       ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23467
23468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h.  */
23470 #include <math.h>
23471                       #ifdef HAVE_IEEEFP_H
23472                       #include <ieeefp.h>
23473                       #endif
23474
23475 int
23476 main ()
23477 {
23478  _isinfl(0);
23479   ;
23480   return 0;
23481 }
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484   glibcxx_cv_func__isinfl_use=yes
23485 else
23486   glibcxx_cv_func__isinfl_use=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489       ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23494
23495
23496 fi
23497
23498   fi
23499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23500 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23501
23502     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23503       for ac_func in _isinfl
23504 do :
23505   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23506 if test "x$ac_cv_func__isinfl" = x""yes; then :
23507   cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ISINFL 1
23509 _ACEOF
23510
23511 fi
23512 done
23513
23514     fi
23515   fi
23516
23517
23518
23519
23520
23521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23522 $as_echo_n "checking for atan2l declaration... " >&6; }
23523   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23524     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23525   $as_echo_n "(cached) " >&6
23526 else
23527
23528
23529       ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h.  */
23537 #include <math.h>
23538 int
23539 main ()
23540 {
23541  atan2l(0, 0);
23542   ;
23543   return 0;
23544 }
23545 _ACEOF
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547   glibcxx_cv_func_atan2l_use=yes
23548 else
23549   glibcxx_cv_func_atan2l_use=no
23550 fi
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23552       ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557
23558
23559 fi
23560
23561   fi
23562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23563 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23564
23565   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23566     for ac_func in atan2l
23567 do :
23568   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23569 if test "x$ac_cv_func_atan2l" = x""yes; then :
23570   cat >>confdefs.h <<_ACEOF
23571 #define HAVE_ATAN2L 1
23572 _ACEOF
23573
23574 fi
23575 done
23576
23577   else
23578
23579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23580 $as_echo_n "checking for _atan2l declaration... " >&6; }
23581   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23582     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23583   $as_echo_n "(cached) " >&6
23584 else
23585
23586
23587       ac_ext=cpp
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23592
23593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h.  */
23595 #include <math.h>
23596 int
23597 main ()
23598 {
23599  _atan2l(0, 0);
23600   ;
23601   return 0;
23602 }
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605   glibcxx_cv_func__atan2l_use=yes
23606 else
23607   glibcxx_cv_func__atan2l_use=no
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610       ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615
23616
23617 fi
23618
23619   fi
23620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23621 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23622
23623     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23624       for ac_func in _atan2l
23625 do :
23626   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23627 if test "x$ac_cv_func__atan2l" = x""yes; then :
23628   cat >>confdefs.h <<_ACEOF
23629 #define HAVE__ATAN2L 1
23630 _ACEOF
23631
23632 fi
23633 done
23634
23635     fi
23636   fi
23637
23638
23639
23640
23641
23642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23643 $as_echo_n "checking for expl declaration... " >&6; }
23644   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23645     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23646   $as_echo_n "(cached) " >&6
23647 else
23648
23649
23650       ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655
23656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h.  */
23658 #include <math.h>
23659                       #ifdef HAVE_IEEEFP_H
23660                       #include <ieeefp.h>
23661                       #endif
23662
23663 int
23664 main ()
23665 {
23666  expl(0);
23667   ;
23668   return 0;
23669 }
23670 _ACEOF
23671 if ac_fn_cxx_try_compile "$LINENO"; then :
23672   glibcxx_cv_func_expl_use=yes
23673 else
23674   glibcxx_cv_func_expl_use=no
23675 fi
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677       ac_ext=c
23678 ac_cpp='$CPP $CPPFLAGS'
23679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682
23683
23684 fi
23685
23686   fi
23687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23688 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23689
23690   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23691     for ac_func in expl
23692 do :
23693   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23694 if test "x$ac_cv_func_expl" = x""yes; then :
23695   cat >>confdefs.h <<_ACEOF
23696 #define HAVE_EXPL 1
23697 _ACEOF
23698
23699 fi
23700 done
23701
23702   else
23703
23704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23705 $as_echo_n "checking for _expl declaration... " >&6; }
23706   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23707     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23708   $as_echo_n "(cached) " >&6
23709 else
23710
23711
23712       ac_ext=cpp
23713 ac_cpp='$CXXCPP $CPPFLAGS'
23714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23717
23718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23719 /* end confdefs.h.  */
23720 #include <math.h>
23721                       #ifdef HAVE_IEEEFP_H
23722                       #include <ieeefp.h>
23723                       #endif
23724
23725 int
23726 main ()
23727 {
23728  _expl(0);
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734   glibcxx_cv_func__expl_use=yes
23735 else
23736   glibcxx_cv_func__expl_use=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739       ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744
23745
23746 fi
23747
23748   fi
23749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23750 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23751
23752     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23753       for ac_func in _expl
23754 do :
23755   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23756 if test "x$ac_cv_func__expl" = x""yes; then :
23757   cat >>confdefs.h <<_ACEOF
23758 #define HAVE__EXPL 1
23759 _ACEOF
23760
23761 fi
23762 done
23763
23764     fi
23765   fi
23766
23767
23768
23769
23770
23771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23772 $as_echo_n "checking for fabsl declaration... " >&6; }
23773   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23774     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23775   $as_echo_n "(cached) " >&6
23776 else
23777
23778
23779       ac_ext=cpp
23780 ac_cpp='$CXXCPP $CPPFLAGS'
23781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23784
23785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23786 /* end confdefs.h.  */
23787 #include <math.h>
23788                       #ifdef HAVE_IEEEFP_H
23789                       #include <ieeefp.h>
23790                       #endif
23791
23792 int
23793 main ()
23794 {
23795  fabsl(0);
23796   ;
23797   return 0;
23798 }
23799 _ACEOF
23800 if ac_fn_cxx_try_compile "$LINENO"; then :
23801   glibcxx_cv_func_fabsl_use=yes
23802 else
23803   glibcxx_cv_func_fabsl_use=no
23804 fi
23805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806       ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23811
23812
23813 fi
23814
23815   fi
23816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23817 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23818
23819   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23820     for ac_func in fabsl
23821 do :
23822   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23823 if test "x$ac_cv_func_fabsl" = x""yes; then :
23824   cat >>confdefs.h <<_ACEOF
23825 #define HAVE_FABSL 1
23826 _ACEOF
23827
23828 fi
23829 done
23830
23831   else
23832
23833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23834 $as_echo_n "checking for _fabsl declaration... " >&6; }
23835   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23836     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23837   $as_echo_n "(cached) " >&6
23838 else
23839
23840
23841       ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846
23847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h.  */
23849 #include <math.h>
23850                       #ifdef HAVE_IEEEFP_H
23851                       #include <ieeefp.h>
23852                       #endif
23853
23854 int
23855 main ()
23856 {
23857  _fabsl(0);
23858   ;
23859   return 0;
23860 }
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863   glibcxx_cv_func__fabsl_use=yes
23864 else
23865   glibcxx_cv_func__fabsl_use=no
23866 fi
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868       ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873
23874
23875 fi
23876
23877   fi
23878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23879 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23880
23881     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23882       for ac_func in _fabsl
23883 do :
23884   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23885 if test "x$ac_cv_func__fabsl" = x""yes; then :
23886   cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FABSL 1
23888 _ACEOF
23889
23890 fi
23891 done
23892
23893     fi
23894   fi
23895
23896
23897
23898
23899
23900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23901 $as_echo_n "checking for fmodl declaration... " >&6; }
23902   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23903     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23904   $as_echo_n "(cached) " >&6
23905 else
23906
23907
23908       ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23913
23914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h.  */
23916 #include <math.h>
23917 int
23918 main ()
23919 {
23920  fmodl(0, 0);
23921   ;
23922   return 0;
23923 }
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926   glibcxx_cv_func_fmodl_use=yes
23927 else
23928   glibcxx_cv_func_fmodl_use=no
23929 fi
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931       ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936
23937
23938 fi
23939
23940   fi
23941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23942 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23943
23944   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23945     for ac_func in fmodl
23946 do :
23947   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23948 if test "x$ac_cv_func_fmodl" = x""yes; then :
23949   cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FMODL 1
23951 _ACEOF
23952
23953 fi
23954 done
23955
23956   else
23957
23958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23959 $as_echo_n "checking for _fmodl declaration... " >&6; }
23960   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23961     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23962   $as_echo_n "(cached) " >&6
23963 else
23964
23965
23966       ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23971
23972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h.  */
23974 #include <math.h>
23975 int
23976 main ()
23977 {
23978  _fmodl(0, 0);
23979   ;
23980   return 0;
23981 }
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984   glibcxx_cv_func__fmodl_use=yes
23985 else
23986   glibcxx_cv_func__fmodl_use=no
23987 fi
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989       ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23994
23995
23996 fi
23997
23998   fi
23999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24000 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24001
24002     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24003       for ac_func in _fmodl
24004 do :
24005   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24006 if test "x$ac_cv_func__fmodl" = x""yes; then :
24007   cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FMODL 1
24009 _ACEOF
24010
24011 fi
24012 done
24013
24014     fi
24015   fi
24016
24017
24018
24019
24020
24021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24022 $as_echo_n "checking for frexpl declaration... " >&6; }
24023   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24024     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24025   $as_echo_n "(cached) " >&6
24026 else
24027
24028
24029       ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24034
24035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h.  */
24037 #include <math.h>
24038 int
24039 main ()
24040 {
24041  frexpl(0, 0);
24042   ;
24043   return 0;
24044 }
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047   glibcxx_cv_func_frexpl_use=yes
24048 else
24049   glibcxx_cv_func_frexpl_use=no
24050 fi
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052       ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24057
24058
24059 fi
24060
24061   fi
24062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24063 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24064
24065   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24066     for ac_func in frexpl
24067 do :
24068   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24069 if test "x$ac_cv_func_frexpl" = x""yes; then :
24070   cat >>confdefs.h <<_ACEOF
24071 #define HAVE_FREXPL 1
24072 _ACEOF
24073
24074 fi
24075 done
24076
24077   else
24078
24079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24080 $as_echo_n "checking for _frexpl declaration... " >&6; }
24081   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24082     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24083   $as_echo_n "(cached) " >&6
24084 else
24085
24086
24087       ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24092
24093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h.  */
24095 #include <math.h>
24096 int
24097 main ()
24098 {
24099  _frexpl(0, 0);
24100   ;
24101   return 0;
24102 }
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105   glibcxx_cv_func__frexpl_use=yes
24106 else
24107   glibcxx_cv_func__frexpl_use=no
24108 fi
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110       ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115
24116
24117 fi
24118
24119   fi
24120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24121 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24122
24123     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24124       for ac_func in _frexpl
24125 do :
24126   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24127 if test "x$ac_cv_func__frexpl" = x""yes; then :
24128   cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FREXPL 1
24130 _ACEOF
24131
24132 fi
24133 done
24134
24135     fi
24136   fi
24137
24138
24139
24140
24141
24142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24143 $as_echo_n "checking for hypotl declaration... " >&6; }
24144   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24145     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24146   $as_echo_n "(cached) " >&6
24147 else
24148
24149
24150       ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155
24156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h.  */
24158 #include <math.h>
24159 int
24160 main ()
24161 {
24162  hypotl(0, 0);
24163   ;
24164   return 0;
24165 }
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168   glibcxx_cv_func_hypotl_use=yes
24169 else
24170   glibcxx_cv_func_hypotl_use=no
24171 fi
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173       ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24178
24179
24180 fi
24181
24182   fi
24183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24184 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24185
24186   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24187     for ac_func in hypotl
24188 do :
24189   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24190 if test "x$ac_cv_func_hypotl" = x""yes; then :
24191   cat >>confdefs.h <<_ACEOF
24192 #define HAVE_HYPOTL 1
24193 _ACEOF
24194
24195 fi
24196 done
24197
24198   else
24199
24200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24201 $as_echo_n "checking for _hypotl declaration... " >&6; }
24202   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24203     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24204   $as_echo_n "(cached) " >&6
24205 else
24206
24207
24208       ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213
24214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h.  */
24216 #include <math.h>
24217 int
24218 main ()
24219 {
24220  _hypotl(0, 0);
24221   ;
24222   return 0;
24223 }
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226   glibcxx_cv_func__hypotl_use=yes
24227 else
24228   glibcxx_cv_func__hypotl_use=no
24229 fi
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231       ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24236
24237
24238 fi
24239
24240   fi
24241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24242 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24243
24244     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24245       for ac_func in _hypotl
24246 do :
24247   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24248 if test "x$ac_cv_func__hypotl" = x""yes; then :
24249   cat >>confdefs.h <<_ACEOF
24250 #define HAVE__HYPOTL 1
24251 _ACEOF
24252
24253 fi
24254 done
24255
24256     fi
24257   fi
24258
24259
24260
24261
24262
24263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24264 $as_echo_n "checking for ldexpl declaration... " >&6; }
24265   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24266     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24267   $as_echo_n "(cached) " >&6
24268 else
24269
24270
24271       ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276
24277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h.  */
24279 #include <math.h>
24280 int
24281 main ()
24282 {
24283  ldexpl(0, 0);
24284   ;
24285   return 0;
24286 }
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289   glibcxx_cv_func_ldexpl_use=yes
24290 else
24291   glibcxx_cv_func_ldexpl_use=no
24292 fi
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294       ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24299
24300
24301 fi
24302
24303   fi
24304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24305 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24306
24307   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24308     for ac_func in ldexpl
24309 do :
24310   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24311 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24312   cat >>confdefs.h <<_ACEOF
24313 #define HAVE_LDEXPL 1
24314 _ACEOF
24315
24316 fi
24317 done
24318
24319   else
24320
24321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24322 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24323   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24324     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24325   $as_echo_n "(cached) " >&6
24326 else
24327
24328
24329       ac_ext=cpp
24330 ac_cpp='$CXXCPP $CPPFLAGS'
24331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24334
24335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24336 /* end confdefs.h.  */
24337 #include <math.h>
24338 int
24339 main ()
24340 {
24341  _ldexpl(0, 0);
24342   ;
24343   return 0;
24344 }
24345 _ACEOF
24346 if ac_fn_cxx_try_compile "$LINENO"; then :
24347   glibcxx_cv_func__ldexpl_use=yes
24348 else
24349   glibcxx_cv_func__ldexpl_use=no
24350 fi
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352       ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24357
24358
24359 fi
24360
24361   fi
24362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24363 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24364
24365     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24366       for ac_func in _ldexpl
24367 do :
24368   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24369 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24370   cat >>confdefs.h <<_ACEOF
24371 #define HAVE__LDEXPL 1
24372 _ACEOF
24373
24374 fi
24375 done
24376
24377     fi
24378   fi
24379
24380
24381
24382
24383
24384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24385 $as_echo_n "checking for logl declaration... " >&6; }
24386   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24387     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24388   $as_echo_n "(cached) " >&6
24389 else
24390
24391
24392       ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397
24398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h.  */
24400 #include <math.h>
24401                       #ifdef HAVE_IEEEFP_H
24402                       #include <ieeefp.h>
24403                       #endif
24404
24405 int
24406 main ()
24407 {
24408  logl(0);
24409   ;
24410   return 0;
24411 }
24412 _ACEOF
24413 if ac_fn_cxx_try_compile "$LINENO"; then :
24414   glibcxx_cv_func_logl_use=yes
24415 else
24416   glibcxx_cv_func_logl_use=no
24417 fi
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419       ac_ext=c
24420 ac_cpp='$CPP $CPPFLAGS'
24421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24424
24425
24426 fi
24427
24428   fi
24429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24430 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24431
24432   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24433     for ac_func in logl
24434 do :
24435   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24436 if test "x$ac_cv_func_logl" = x""yes; then :
24437   cat >>confdefs.h <<_ACEOF
24438 #define HAVE_LOGL 1
24439 _ACEOF
24440
24441 fi
24442 done
24443
24444   else
24445
24446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24447 $as_echo_n "checking for _logl declaration... " >&6; }
24448   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24449     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24450   $as_echo_n "(cached) " >&6
24451 else
24452
24453
24454       ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459
24460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h.  */
24462 #include <math.h>
24463                       #ifdef HAVE_IEEEFP_H
24464                       #include <ieeefp.h>
24465                       #endif
24466
24467 int
24468 main ()
24469 {
24470  _logl(0);
24471   ;
24472   return 0;
24473 }
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476   glibcxx_cv_func__logl_use=yes
24477 else
24478   glibcxx_cv_func__logl_use=no
24479 fi
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481       ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486
24487
24488 fi
24489
24490   fi
24491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24492 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24493
24494     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24495       for ac_func in _logl
24496 do :
24497   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24498 if test "x$ac_cv_func__logl" = x""yes; then :
24499   cat >>confdefs.h <<_ACEOF
24500 #define HAVE__LOGL 1
24501 _ACEOF
24502
24503 fi
24504 done
24505
24506     fi
24507   fi
24508
24509
24510
24511
24512
24513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24514 $as_echo_n "checking for log10l declaration... " >&6; }
24515   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24516     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24517   $as_echo_n "(cached) " >&6
24518 else
24519
24520
24521       ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24526
24527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h.  */
24529 #include <math.h>
24530                       #ifdef HAVE_IEEEFP_H
24531                       #include <ieeefp.h>
24532                       #endif
24533
24534 int
24535 main ()
24536 {
24537  log10l(0);
24538   ;
24539   return 0;
24540 }
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543   glibcxx_cv_func_log10l_use=yes
24544 else
24545   glibcxx_cv_func_log10l_use=no
24546 fi
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548       ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24553
24554
24555 fi
24556
24557   fi
24558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24559 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24560
24561   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24562     for ac_func in log10l
24563 do :
24564   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24565 if test "x$ac_cv_func_log10l" = x""yes; then :
24566   cat >>confdefs.h <<_ACEOF
24567 #define HAVE_LOG10L 1
24568 _ACEOF
24569
24570 fi
24571 done
24572
24573   else
24574
24575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24576 $as_echo_n "checking for _log10l declaration... " >&6; }
24577   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24578     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24579   $as_echo_n "(cached) " >&6
24580 else
24581
24582
24583       ac_ext=cpp
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588
24589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h.  */
24591 #include <math.h>
24592                       #ifdef HAVE_IEEEFP_H
24593                       #include <ieeefp.h>
24594                       #endif
24595
24596 int
24597 main ()
24598 {
24599  _log10l(0);
24600   ;
24601   return 0;
24602 }
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605   glibcxx_cv_func__log10l_use=yes
24606 else
24607   glibcxx_cv_func__log10l_use=no
24608 fi
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610       ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24615
24616
24617 fi
24618
24619   fi
24620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24621 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24622
24623     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24624       for ac_func in _log10l
24625 do :
24626   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24627 if test "x$ac_cv_func__log10l" = x""yes; then :
24628   cat >>confdefs.h <<_ACEOF
24629 #define HAVE__LOG10L 1
24630 _ACEOF
24631
24632 fi
24633 done
24634
24635     fi
24636   fi
24637
24638
24639
24640
24641
24642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24643 $as_echo_n "checking for modfl declaration... " >&6; }
24644   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24645     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24646   $as_echo_n "(cached) " >&6
24647 else
24648
24649
24650       ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24655
24656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h.  */
24658 #include <math.h>
24659 int
24660 main ()
24661 {
24662  modfl(0, 0);
24663   ;
24664   return 0;
24665 }
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668   glibcxx_cv_func_modfl_use=yes
24669 else
24670   glibcxx_cv_func_modfl_use=no
24671 fi
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673       ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24678
24679
24680 fi
24681
24682   fi
24683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24684 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24685
24686   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24687     for ac_func in modfl
24688 do :
24689   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24690 if test "x$ac_cv_func_modfl" = x""yes; then :
24691   cat >>confdefs.h <<_ACEOF
24692 #define HAVE_MODFL 1
24693 _ACEOF
24694
24695 fi
24696 done
24697
24698   else
24699
24700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24701 $as_echo_n "checking for _modfl declaration... " >&6; }
24702   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24703     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24704   $as_echo_n "(cached) " >&6
24705 else
24706
24707
24708       ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24713
24714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h.  */
24716 #include <math.h>
24717 int
24718 main ()
24719 {
24720  _modfl(0, 0);
24721   ;
24722   return 0;
24723 }
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726   glibcxx_cv_func__modfl_use=yes
24727 else
24728   glibcxx_cv_func__modfl_use=no
24729 fi
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731       ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736
24737
24738 fi
24739
24740   fi
24741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24742 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24743
24744     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24745       for ac_func in _modfl
24746 do :
24747   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24748 if test "x$ac_cv_func__modfl" = x""yes; then :
24749   cat >>confdefs.h <<_ACEOF
24750 #define HAVE__MODFL 1
24751 _ACEOF
24752
24753 fi
24754 done
24755
24756     fi
24757   fi
24758
24759
24760
24761
24762
24763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24764 $as_echo_n "checking for powl declaration... " >&6; }
24765   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24766     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24767   $as_echo_n "(cached) " >&6
24768 else
24769
24770
24771       ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776
24777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h.  */
24779 #include <math.h>
24780 int
24781 main ()
24782 {
24783  powl(0, 0);
24784   ;
24785   return 0;
24786 }
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789   glibcxx_cv_func_powl_use=yes
24790 else
24791   glibcxx_cv_func_powl_use=no
24792 fi
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794       ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799
24800
24801 fi
24802
24803   fi
24804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24805 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24806
24807   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24808     for ac_func in powl
24809 do :
24810   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24811 if test "x$ac_cv_func_powl" = x""yes; then :
24812   cat >>confdefs.h <<_ACEOF
24813 #define HAVE_POWL 1
24814 _ACEOF
24815
24816 fi
24817 done
24818
24819   else
24820
24821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24822 $as_echo_n "checking for _powl declaration... " >&6; }
24823   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24824     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24825   $as_echo_n "(cached) " >&6
24826 else
24827
24828
24829       ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834
24835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h.  */
24837 #include <math.h>
24838 int
24839 main ()
24840 {
24841  _powl(0, 0);
24842   ;
24843   return 0;
24844 }
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847   glibcxx_cv_func__powl_use=yes
24848 else
24849   glibcxx_cv_func__powl_use=no
24850 fi
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852       ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24857
24858
24859 fi
24860
24861   fi
24862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24863 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24864
24865     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24866       for ac_func in _powl
24867 do :
24868   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24869 if test "x$ac_cv_func__powl" = x""yes; then :
24870   cat >>confdefs.h <<_ACEOF
24871 #define HAVE__POWL 1
24872 _ACEOF
24873
24874 fi
24875 done
24876
24877     fi
24878   fi
24879
24880
24881
24882
24883
24884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24885 $as_echo_n "checking for sqrtl declaration... " >&6; }
24886   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24887     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24888   $as_echo_n "(cached) " >&6
24889 else
24890
24891
24892       ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897
24898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h.  */
24900 #include <math.h>
24901                       #ifdef HAVE_IEEEFP_H
24902                       #include <ieeefp.h>
24903                       #endif
24904
24905 int
24906 main ()
24907 {
24908  sqrtl(0);
24909   ;
24910   return 0;
24911 }
24912 _ACEOF
24913 if ac_fn_cxx_try_compile "$LINENO"; then :
24914   glibcxx_cv_func_sqrtl_use=yes
24915 else
24916   glibcxx_cv_func_sqrtl_use=no
24917 fi
24918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24919       ac_ext=c
24920 ac_cpp='$CPP $CPPFLAGS'
24921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24924
24925
24926 fi
24927
24928   fi
24929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24930 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24931
24932   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24933     for ac_func in sqrtl
24934 do :
24935   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24936 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24937   cat >>confdefs.h <<_ACEOF
24938 #define HAVE_SQRTL 1
24939 _ACEOF
24940
24941 fi
24942 done
24943
24944   else
24945
24946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24947 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24948   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24949     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24950   $as_echo_n "(cached) " >&6
24951 else
24952
24953
24954       ac_ext=cpp
24955 ac_cpp='$CXXCPP $CPPFLAGS'
24956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959
24960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24961 /* end confdefs.h.  */
24962 #include <math.h>
24963                       #ifdef HAVE_IEEEFP_H
24964                       #include <ieeefp.h>
24965                       #endif
24966
24967 int
24968 main ()
24969 {
24970  _sqrtl(0);
24971   ;
24972   return 0;
24973 }
24974 _ACEOF
24975 if ac_fn_cxx_try_compile "$LINENO"; then :
24976   glibcxx_cv_func__sqrtl_use=yes
24977 else
24978   glibcxx_cv_func__sqrtl_use=no
24979 fi
24980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981       ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986
24987
24988 fi
24989
24990   fi
24991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24992 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24993
24994     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24995       for ac_func in _sqrtl
24996 do :
24997   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24998 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24999   cat >>confdefs.h <<_ACEOF
25000 #define HAVE__SQRTL 1
25001 _ACEOF
25002
25003 fi
25004 done
25005
25006     fi
25007   fi
25008
25009
25010
25011
25012
25013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25014 $as_echo_n "checking for sincosl declaration... " >&6; }
25015   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25016     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25017   $as_echo_n "(cached) " >&6
25018 else
25019
25020
25021       ac_ext=cpp
25022 ac_cpp='$CXXCPP $CPPFLAGS'
25023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25026
25027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25028 /* end confdefs.h.  */
25029 #include <math.h>
25030 int
25031 main ()
25032 {
25033  sincosl(0, 0, 0);
25034   ;
25035   return 0;
25036 }
25037 _ACEOF
25038 if ac_fn_cxx_try_compile "$LINENO"; then :
25039   glibcxx_cv_func_sincosl_use=yes
25040 else
25041   glibcxx_cv_func_sincosl_use=no
25042 fi
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044       ac_ext=c
25045 ac_cpp='$CPP $CPPFLAGS'
25046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049
25050
25051 fi
25052
25053   fi
25054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25055 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25056
25057   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25058     for ac_func in sincosl
25059 do :
25060   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25061 if test "x$ac_cv_func_sincosl" = x""yes; then :
25062   cat >>confdefs.h <<_ACEOF
25063 #define HAVE_SINCOSL 1
25064 _ACEOF
25065
25066 fi
25067 done
25068
25069   else
25070
25071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25072 $as_echo_n "checking for _sincosl declaration... " >&6; }
25073   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25074     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25075   $as_echo_n "(cached) " >&6
25076 else
25077
25078
25079       ac_ext=cpp
25080 ac_cpp='$CXXCPP $CPPFLAGS'
25081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25084
25085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25086 /* end confdefs.h.  */
25087 #include <math.h>
25088 int
25089 main ()
25090 {
25091  _sincosl(0, 0, 0);
25092   ;
25093   return 0;
25094 }
25095 _ACEOF
25096 if ac_fn_cxx_try_compile "$LINENO"; then :
25097   glibcxx_cv_func__sincosl_use=yes
25098 else
25099   glibcxx_cv_func__sincosl_use=no
25100 fi
25101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25102       ac_ext=c
25103 ac_cpp='$CPP $CPPFLAGS'
25104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25107
25108
25109 fi
25110
25111   fi
25112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25113 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25114
25115     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25116       for ac_func in _sincosl
25117 do :
25118   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25119 if test "x$ac_cv_func__sincosl" = x""yes; then :
25120   cat >>confdefs.h <<_ACEOF
25121 #define HAVE__SINCOSL 1
25122 _ACEOF
25123
25124 fi
25125 done
25126
25127     fi
25128   fi
25129
25130
25131
25132
25133
25134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25135 $as_echo_n "checking for finitel declaration... " >&6; }
25136   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25137     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25138   $as_echo_n "(cached) " >&6
25139 else
25140
25141
25142       ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25147
25148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h.  */
25150 #include <math.h>
25151                       #ifdef HAVE_IEEEFP_H
25152                       #include <ieeefp.h>
25153                       #endif
25154
25155 int
25156 main ()
25157 {
25158  finitel(0);
25159   ;
25160   return 0;
25161 }
25162 _ACEOF
25163 if ac_fn_cxx_try_compile "$LINENO"; then :
25164   glibcxx_cv_func_finitel_use=yes
25165 else
25166   glibcxx_cv_func_finitel_use=no
25167 fi
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25169       ac_ext=c
25170 ac_cpp='$CPP $CPPFLAGS'
25171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174
25175
25176 fi
25177
25178   fi
25179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25180 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25181
25182   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25183     for ac_func in finitel
25184 do :
25185   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25186 if test "x$ac_cv_func_finitel" = x""yes; then :
25187   cat >>confdefs.h <<_ACEOF
25188 #define HAVE_FINITEL 1
25189 _ACEOF
25190
25191 fi
25192 done
25193
25194   else
25195
25196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25197 $as_echo_n "checking for _finitel declaration... " >&6; }
25198   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25199     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25200   $as_echo_n "(cached) " >&6
25201 else
25202
25203
25204       ac_ext=cpp
25205 ac_cpp='$CXXCPP $CPPFLAGS'
25206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25209
25210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25211 /* end confdefs.h.  */
25212 #include <math.h>
25213                       #ifdef HAVE_IEEEFP_H
25214                       #include <ieeefp.h>
25215                       #endif
25216
25217 int
25218 main ()
25219 {
25220  _finitel(0);
25221   ;
25222   return 0;
25223 }
25224 _ACEOF
25225 if ac_fn_cxx_try_compile "$LINENO"; then :
25226   glibcxx_cv_func__finitel_use=yes
25227 else
25228   glibcxx_cv_func__finitel_use=no
25229 fi
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231       ac_ext=c
25232 ac_cpp='$CPP $CPPFLAGS'
25233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25236
25237
25238 fi
25239
25240   fi
25241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25242 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25243
25244     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25245       for ac_func in _finitel
25246 do :
25247   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25248 if test "x$ac_cv_func__finitel" = x""yes; then :
25249   cat >>confdefs.h <<_ACEOF
25250 #define HAVE__FINITEL 1
25251 _ACEOF
25252
25253 fi
25254 done
25255
25256     fi
25257   fi
25258
25259
25260
25261
25262   LIBS="$ac_save_LIBS"
25263   CXXFLAGS="$ac_save_CXXFLAGS"
25264
25265
25266   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25267   ac_save_CXXFLAGS="$CXXFLAGS"
25268   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25269
25270
25271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25272 $as_echo_n "checking for strtold declaration... " >&6; }
25273   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25274     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25275   $as_echo_n "(cached) " >&6
25276 else
25277
25278
25279       ac_ext=cpp
25280 ac_cpp='$CXXCPP $CPPFLAGS'
25281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25284
25285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25286 /* end confdefs.h.  */
25287 #include <stdlib.h>
25288 int
25289 main ()
25290 {
25291  strtold(0, 0);
25292   ;
25293   return 0;
25294 }
25295 _ACEOF
25296 if ac_fn_cxx_try_compile "$LINENO"; then :
25297   glibcxx_cv_func_strtold_use=yes
25298 else
25299   glibcxx_cv_func_strtold_use=no
25300 fi
25301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25302       ac_ext=c
25303 ac_cpp='$CPP $CPPFLAGS'
25304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25307
25308
25309 fi
25310
25311   fi
25312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25313 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25314   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25315     for ac_func in strtold
25316 do :
25317   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25318 if test "x$ac_cv_func_strtold" = x""yes; then :
25319   cat >>confdefs.h <<_ACEOF
25320 #define HAVE_STRTOLD 1
25321 _ACEOF
25322
25323 fi
25324 done
25325
25326   fi
25327
25328
25329
25330
25331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25332 $as_echo_n "checking for strtof declaration... " >&6; }
25333   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25334     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25335   $as_echo_n "(cached) " >&6
25336 else
25337
25338
25339       ac_ext=cpp
25340 ac_cpp='$CXXCPP $CPPFLAGS'
25341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344
25345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25346 /* end confdefs.h.  */
25347 #include <stdlib.h>
25348 int
25349 main ()
25350 {
25351  strtof(0, 0);
25352   ;
25353   return 0;
25354 }
25355 _ACEOF
25356 if ac_fn_cxx_try_compile "$LINENO"; then :
25357   glibcxx_cv_func_strtof_use=yes
25358 else
25359   glibcxx_cv_func_strtof_use=no
25360 fi
25361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25362       ac_ext=c
25363 ac_cpp='$CPP $CPPFLAGS'
25364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25367
25368
25369 fi
25370
25371   fi
25372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25373 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25374   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25375     for ac_func in strtof
25376 do :
25377   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25378 if test "x$ac_cv_func_strtof" = x""yes; then :
25379   cat >>confdefs.h <<_ACEOF
25380 #define HAVE_STRTOF 1
25381 _ACEOF
25382
25383 fi
25384 done
25385
25386   fi
25387
25388
25389
25390
25391   CXXFLAGS="$ac_save_CXXFLAGS"
25392
25393
25394   # For /dev/random and /dev/urandom for TR1.
25395
25396
25397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25398 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25399   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25400   $as_echo_n "(cached) " >&6
25401 else
25402
25403     if test -r /dev/random && test -r /dev/urandom; then
25404       glibcxx_cv_random_tr1=yes;
25405     else
25406       glibcxx_cv_random_tr1=no;
25407     fi
25408
25409 fi
25410
25411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25412 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25413
25414   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25415
25416 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25417
25418   fi
25419
25420
25421
25422   # For TLS support.
25423
25424
25425    # Check whether --enable-tls was given.
25426 if test "${enable_tls+set}" = set; then :
25427   enableval=$enable_tls;
25428       case "$enableval" in
25429        yes|no) ;;
25430        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25431       esac
25432
25433 else
25434   enable_tls=yes
25435 fi
25436
25437
25438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25439 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25440 if test "${gcc_cv_have_tls+set}" = set; then :
25441   $as_echo_n "(cached) " >&6
25442 else
25443
25444     if test "$cross_compiling" = yes; then :
25445                 if test x$gcc_no_link = xyes; then
25446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25447 fi
25448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25449 /* end confdefs.h.  */
25450 __thread int a; int b; int main() { return a = b; }
25451 _ACEOF
25452 if ac_fn_c_try_link "$LINENO"; then :
25453   chktls_save_LDFLAGS="$LDFLAGS"
25454                           case $host in
25455             *-*-linux*)
25456               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25457               ;;
25458           esac
25459           chktls_save_CFLAGS="$CFLAGS"
25460           CFLAGS="-fPIC $CFLAGS"
25461                   if test x$gcc_no_link = xyes; then
25462   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25463 fi
25464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25465 /* end confdefs.h.  */
25466 int f() { return 0; }
25467 _ACEOF
25468 if ac_fn_c_try_link "$LINENO"; then :
25469   if test x$gcc_no_link = xyes; then
25470   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25471 fi
25472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h.  */
25474 __thread int a; int b; int f() { return a = b; }
25475 _ACEOF
25476 if ac_fn_c_try_link "$LINENO"; then :
25477   gcc_cv_have_tls=yes
25478 else
25479   gcc_cv_have_tls=no
25480 fi
25481 rm -f core conftest.err conftest.$ac_objext \
25482     conftest$ac_exeext conftest.$ac_ext
25483 else
25484   gcc_cv_have_tls=yes
25485 fi
25486 rm -f core conftest.err conftest.$ac_objext \
25487     conftest$ac_exeext conftest.$ac_ext
25488           CFLAGS="$chktls_save_CFLAGS"
25489           LDFLAGS="$chktls_save_LDFLAGS"
25490 else
25491   gcc_cv_have_tls=no
25492 fi
25493 rm -f core conftest.err conftest.$ac_objext \
25494     conftest$ac_exeext conftest.$ac_ext
25495
25496
25497 else
25498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h.  */
25500 __thread int a; int b; int main() { return a = b; }
25501 _ACEOF
25502 if ac_fn_c_try_run "$LINENO"; then :
25503                       chktls_save_LDFLAGS="$LDFLAGS"
25504       LDFLAGS="-static $LDFLAGS"
25505       if test x$gcc_no_link = xyes; then
25506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25507 fi
25508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25509 /* end confdefs.h.  */
25510 int main() { return 0; }
25511 _ACEOF
25512 if ac_fn_c_try_link "$LINENO"; then :
25513   if test "$cross_compiling" = yes; then :
25514   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25516 as_fn_error "cannot run test program while cross compiling
25517 See \`config.log' for more details." "$LINENO" 5; }
25518 else
25519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25520 /* end confdefs.h.  */
25521 __thread int a; int b; int main() { return a = b; }
25522 _ACEOF
25523 if ac_fn_c_try_run "$LINENO"; then :
25524   gcc_cv_have_tls=yes
25525 else
25526   gcc_cv_have_tls=no
25527 fi
25528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25529   conftest.$ac_objext conftest.beam conftest.$ac_ext
25530 fi
25531
25532 else
25533   gcc_cv_have_tls=yes
25534 fi
25535 rm -f core conftest.err conftest.$ac_objext \
25536     conftest$ac_exeext conftest.$ac_ext
25537       LDFLAGS="$chktls_save_LDFLAGS"
25538       if test $gcc_cv_have_tls = yes; then
25539                                                 chktls_save_CFLAGS="$CFLAGS"
25540         thread_CFLAGS=failed
25541         for flag in '' '-pthread' '-lpthread'; do
25542           CFLAGS="$flag $chktls_save_CFLAGS"
25543           if test x$gcc_no_link = xyes; then
25544   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25545 fi
25546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25547 /* end confdefs.h.  */
25548 #include <pthread.h>
25549                 void *g(void *d) { return NULL; }
25550 int
25551 main ()
25552 {
25553 pthread_t t; pthread_create(&t,NULL,g,NULL);
25554   ;
25555   return 0;
25556 }
25557 _ACEOF
25558 if ac_fn_c_try_link "$LINENO"; then :
25559   thread_CFLAGS="$flag"
25560 fi
25561 rm -f core conftest.err conftest.$ac_objext \
25562     conftest$ac_exeext conftest.$ac_ext
25563           if test "X$thread_CFLAGS" != Xfailed; then
25564             break
25565           fi
25566         done
25567         CFLAGS="$chktls_save_CFLAGS"
25568         if test "X$thread_CFLAGS" != Xfailed; then
25569           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25570                                                   if test "$cross_compiling" = yes; then :
25571   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25573 as_fn_error "cannot run test program while cross compiling
25574 See \`config.log' for more details." "$LINENO" 5; }
25575 else
25576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h.  */
25578 #include <pthread.h>
25579                 __thread int a;
25580                 static int *volatile a_in_other_thread;
25581                 static void *
25582                 thread_func (void *arg)
25583                 {
25584                   a_in_other_thread = &a;
25585                   return (void *)0;
25586                 }
25587 int
25588 main ()
25589 {
25590 pthread_t thread;
25591                 void *thread_retval;
25592                 int *volatile a_in_main_thread;
25593                 a_in_main_thread = &a;
25594                 if (pthread_create (&thread, (pthread_attr_t *)0,
25595                                     thread_func, (void *)0))
25596                   return 0;
25597                 if (pthread_join (thread, &thread_retval))
25598                   return 0;
25599                 return (a_in_other_thread == a_in_main_thread);
25600   ;
25601   return 0;
25602 }
25603 _ACEOF
25604 if ac_fn_c_try_run "$LINENO"; then :
25605   gcc_cv_have_tls=yes
25606 else
25607   gcc_cv_have_tls=no
25608 fi
25609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25610   conftest.$ac_objext conftest.beam conftest.$ac_ext
25611 fi
25612
25613           CFLAGS="$chktls_save_CFLAGS"
25614         fi
25615       fi
25616 else
25617   gcc_cv_have_tls=no
25618 fi
25619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25620   conftest.$ac_objext conftest.beam conftest.$ac_ext
25621 fi
25622
25623 fi
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25625 $as_echo "$gcc_cv_have_tls" >&6; }
25626   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25627
25628 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25629
25630   fi
25631
25632   # For iconv support.
25633
25634       if test "X$prefix" = "XNONE"; then
25635     acl_final_prefix="$ac_default_prefix"
25636   else
25637     acl_final_prefix="$prefix"
25638   fi
25639   if test "X$exec_prefix" = "XNONE"; then
25640     acl_final_exec_prefix='${prefix}'
25641   else
25642     acl_final_exec_prefix="$exec_prefix"
25643   fi
25644   acl_save_prefix="$prefix"
25645   prefix="$acl_final_prefix"
25646   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25647   prefix="$acl_save_prefix"
25648
25649
25650 # Check whether --with-gnu-ld was given.
25651 if test "${with_gnu_ld+set}" = set; then :
25652   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25653 else
25654   with_gnu_ld=no
25655 fi
25656
25657 # Prepare PATH_SEPARATOR.
25658 # The user is always right.
25659 if test "${PATH_SEPARATOR+set}" != set; then
25660   echo "#! /bin/sh" >conf$$.sh
25661   echo  "exit 0"   >>conf$$.sh
25662   chmod +x conf$$.sh
25663   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25664     PATH_SEPARATOR=';'
25665   else
25666     PATH_SEPARATOR=:
25667   fi
25668   rm -f conf$$.sh
25669 fi
25670 ac_prog=ld
25671 if test "$GCC" = yes; then
25672   # Check if gcc -print-prog-name=ld gives a path.
25673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25674 $as_echo_n "checking for ld used by GCC... " >&6; }
25675   case $host in
25676   *-*-mingw*)
25677     # gcc leaves a trailing carriage return which upsets mingw
25678     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25679   *)
25680     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25681   esac
25682   case $ac_prog in
25683     # Accept absolute paths.
25684     [\\/]* | [A-Za-z]:[\\/]*)
25685       re_direlt='/[^/][^/]*/\.\./'
25686       # Canonicalize the path of ld
25687       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25688       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25689         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25690       done
25691       test -z "$LD" && LD="$ac_prog"
25692       ;;
25693   "")
25694     # If it fails, then pretend we aren't using GCC.
25695     ac_prog=ld
25696     ;;
25697   *)
25698     # If it is relative, then search for the first ld in PATH.
25699     with_gnu_ld=unknown
25700     ;;
25701   esac
25702 elif test "$with_gnu_ld" = yes; then
25703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25704 $as_echo_n "checking for GNU ld... " >&6; }
25705 else
25706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25707 $as_echo_n "checking for non-GNU ld... " >&6; }
25708 fi
25709 if test "${acl_cv_path_LD+set}" = set; then :
25710   $as_echo_n "(cached) " >&6
25711 else
25712   if test -z "$LD"; then
25713   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25714   for ac_dir in $PATH; do
25715     test -z "$ac_dir" && ac_dir=.
25716     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25717       acl_cv_path_LD="$ac_dir/$ac_prog"
25718       # Check to see if the program is GNU ld.  I'd rather use --version,
25719       # but apparently some GNU ld's only accept -v.
25720       # Break only if it was the GNU/non-GNU ld that we prefer.
25721       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25722         test "$with_gnu_ld" != no && break
25723       else
25724         test "$with_gnu_ld" != yes && break
25725       fi
25726     fi
25727   done
25728   IFS="$ac_save_ifs"
25729 else
25730   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25731 fi
25732 fi
25733
25734 LD="$acl_cv_path_LD"
25735 if test -n "$LD"; then
25736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25737 $as_echo "$LD" >&6; }
25738 else
25739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25740 $as_echo "no" >&6; }
25741 fi
25742 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25744 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25745 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25746   $as_echo_n "(cached) " >&6
25747 else
25748   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25749 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25750   acl_cv_prog_gnu_ld=yes
25751 else
25752   acl_cv_prog_gnu_ld=no
25753 fi
25754 fi
25755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25756 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25757 with_gnu_ld=$acl_cv_prog_gnu_ld
25758
25759
25760
25761                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25762 $as_echo_n "checking for shared library run path origin... " >&6; }
25763 if test "${acl_cv_rpath+set}" = set; then :
25764   $as_echo_n "(cached) " >&6
25765 else
25766
25767     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25768     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25769     . ./conftest.sh
25770     rm -f ./conftest.sh
25771     acl_cv_rpath=done
25772
25773 fi
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25775 $as_echo "$acl_cv_rpath" >&6; }
25776   wl="$acl_cv_wl"
25777   libext="$acl_cv_libext"
25778   shlibext="$acl_cv_shlibext"
25779   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25780   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25781   hardcode_direct="$acl_cv_hardcode_direct"
25782   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25783     # Check whether --enable-rpath was given.
25784 if test "${enable_rpath+set}" = set; then :
25785   enableval=$enable_rpath; :
25786 else
25787   enable_rpath=yes
25788 fi
25789
25790
25791
25792
25793
25794
25795
25796
25797     use_additional=yes
25798
25799   acl_save_prefix="$prefix"
25800   prefix="$acl_final_prefix"
25801   acl_save_exec_prefix="$exec_prefix"
25802   exec_prefix="$acl_final_exec_prefix"
25803
25804     eval additional_includedir=\"$includedir\"
25805     eval additional_libdir=\"$libdir\"
25806
25807   exec_prefix="$acl_save_exec_prefix"
25808   prefix="$acl_save_prefix"
25809
25810
25811 # Check whether --with-libiconv-prefix was given.
25812 if test "${with_libiconv_prefix+set}" = set; then :
25813   withval=$with_libiconv_prefix;
25814     if test "X$withval" = "Xno"; then
25815       use_additional=no
25816     else
25817       if test "X$withval" = "X"; then
25818
25819   acl_save_prefix="$prefix"
25820   prefix="$acl_final_prefix"
25821   acl_save_exec_prefix="$exec_prefix"
25822   exec_prefix="$acl_final_exec_prefix"
25823
25824           eval additional_includedir=\"$includedir\"
25825           eval additional_libdir=\"$libdir\"
25826
25827   exec_prefix="$acl_save_exec_prefix"
25828   prefix="$acl_save_prefix"
25829
25830       else
25831         additional_includedir="$withval/include"
25832         additional_libdir="$withval/lib"
25833       fi
25834     fi
25835
25836 fi
25837
25838       LIBICONV=
25839   LTLIBICONV=
25840   INCICONV=
25841   rpathdirs=
25842   ltrpathdirs=
25843   names_already_handled=
25844   names_next_round='iconv '
25845   while test -n "$names_next_round"; do
25846     names_this_round="$names_next_round"
25847     names_next_round=
25848     for name in $names_this_round; do
25849       already_handled=
25850       for n in $names_already_handled; do
25851         if test "$n" = "$name"; then
25852           already_handled=yes
25853           break
25854         fi
25855       done
25856       if test -z "$already_handled"; then
25857         names_already_handled="$names_already_handled $name"
25858                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25859         eval value=\"\$HAVE_LIB$uppername\"
25860         if test -n "$value"; then
25861           if test "$value" = yes; then
25862             eval value=\"\$LIB$uppername\"
25863             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25864             eval value=\"\$LTLIB$uppername\"
25865             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25866           else
25867                                     :
25868           fi
25869         else
25870                               found_dir=
25871           found_la=
25872           found_so=
25873           found_a=
25874           if test $use_additional = yes; then
25875             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25876               found_dir="$additional_libdir"
25877               found_so="$additional_libdir/lib$name.$shlibext"
25878               if test -f "$additional_libdir/lib$name.la"; then
25879                 found_la="$additional_libdir/lib$name.la"
25880               fi
25881             else
25882               if test -f "$additional_libdir/lib$name.$libext"; then
25883                 found_dir="$additional_libdir"
25884                 found_a="$additional_libdir/lib$name.$libext"
25885                 if test -f "$additional_libdir/lib$name.la"; then
25886                   found_la="$additional_libdir/lib$name.la"
25887                 fi
25888               fi
25889             fi
25890           fi
25891           if test "X$found_dir" = "X"; then
25892             for x in $LDFLAGS $LTLIBICONV; do
25893
25894   acl_save_prefix="$prefix"
25895   prefix="$acl_final_prefix"
25896   acl_save_exec_prefix="$exec_prefix"
25897   exec_prefix="$acl_final_exec_prefix"
25898   eval x=\"$x\"
25899   exec_prefix="$acl_save_exec_prefix"
25900   prefix="$acl_save_prefix"
25901
25902               case "$x" in
25903                 -L*)
25904                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25905                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25906                     found_dir="$dir"
25907                     found_so="$dir/lib$name.$shlibext"
25908                     if test -f "$dir/lib$name.la"; then
25909                       found_la="$dir/lib$name.la"
25910                     fi
25911                   else
25912                     if test -f "$dir/lib$name.$libext"; then
25913                       found_dir="$dir"
25914                       found_a="$dir/lib$name.$libext"
25915                       if test -f "$dir/lib$name.la"; then
25916                         found_la="$dir/lib$name.la"
25917                       fi
25918                     fi
25919                   fi
25920                   ;;
25921               esac
25922               if test "X$found_dir" != "X"; then
25923                 break
25924               fi
25925             done
25926           fi
25927           if test "X$found_dir" != "X"; then
25928                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25929             if test "X$found_so" != "X"; then
25930                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25931                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25932               else
25933                                                                                 haveit=
25934                 for x in $ltrpathdirs; do
25935                   if test "X$x" = "X$found_dir"; then
25936                     haveit=yes
25937                     break
25938                   fi
25939                 done
25940                 if test -z "$haveit"; then
25941                   ltrpathdirs="$ltrpathdirs $found_dir"
25942                 fi
25943                                 if test "$hardcode_direct" = yes; then
25944                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25945                 else
25946                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25947                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25948                                                             haveit=
25949                     for x in $rpathdirs; do
25950                       if test "X$x" = "X$found_dir"; then
25951                         haveit=yes
25952                         break
25953                       fi
25954                     done
25955                     if test -z "$haveit"; then
25956                       rpathdirs="$rpathdirs $found_dir"
25957                     fi
25958                   else
25959                                                                                 haveit=
25960                     for x in $LDFLAGS $LIBICONV; do
25961
25962   acl_save_prefix="$prefix"
25963   prefix="$acl_final_prefix"
25964   acl_save_exec_prefix="$exec_prefix"
25965   exec_prefix="$acl_final_exec_prefix"
25966   eval x=\"$x\"
25967   exec_prefix="$acl_save_exec_prefix"
25968   prefix="$acl_save_prefix"
25969
25970                       if test "X$x" = "X-L$found_dir"; then
25971                         haveit=yes
25972                         break
25973                       fi
25974                     done
25975                     if test -z "$haveit"; then
25976                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25977                     fi
25978                     if test "$hardcode_minus_L" != no; then
25979                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25980                     else
25981                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25982                     fi
25983                   fi
25984                 fi
25985               fi
25986             else
25987               if test "X$found_a" != "X"; then
25988                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25989               else
25990                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25991               fi
25992             fi
25993                         additional_includedir=
25994             case "$found_dir" in
25995               */lib | */lib/)
25996                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25997                 additional_includedir="$basedir/include"
25998                 ;;
25999             esac
26000             if test "X$additional_includedir" != "X"; then
26001                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26002                 haveit=
26003                 if test "X$additional_includedir" = "X/usr/local/include"; then
26004                   if test -n "$GCC"; then
26005                     case $host_os in
26006                       linux*) haveit=yes;;
26007                     esac
26008                   fi
26009                 fi
26010                 if test -z "$haveit"; then
26011                   for x in $CPPFLAGS $INCICONV; do
26012
26013   acl_save_prefix="$prefix"
26014   prefix="$acl_final_prefix"
26015   acl_save_exec_prefix="$exec_prefix"
26016   exec_prefix="$acl_final_exec_prefix"
26017   eval x=\"$x\"
26018   exec_prefix="$acl_save_exec_prefix"
26019   prefix="$acl_save_prefix"
26020
26021                     if test "X$x" = "X-I$additional_includedir"; then
26022                       haveit=yes
26023                       break
26024                     fi
26025                   done
26026                   if test -z "$haveit"; then
26027                     if test -d "$additional_includedir"; then
26028                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26029                     fi
26030                   fi
26031                 fi
26032               fi
26033             fi
26034                         if test -n "$found_la"; then
26035                                                         save_libdir="$libdir"
26036               case "$found_la" in
26037                 */* | *\\*) . "$found_la" ;;
26038                 *) . "./$found_la" ;;
26039               esac
26040               libdir="$save_libdir"
26041                             for dep in $dependency_libs; do
26042                 case "$dep" in
26043                   -L*)
26044                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26045                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26046                       haveit=
26047                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26048                         if test -n "$GCC"; then
26049                           case $host_os in
26050                             linux*) haveit=yes;;
26051                           esac
26052                         fi
26053                       fi
26054                       if test -z "$haveit"; then
26055                         haveit=
26056                         for x in $LDFLAGS $LIBICONV; do
26057
26058   acl_save_prefix="$prefix"
26059   prefix="$acl_final_prefix"
26060   acl_save_exec_prefix="$exec_prefix"
26061   exec_prefix="$acl_final_exec_prefix"
26062   eval x=\"$x\"
26063   exec_prefix="$acl_save_exec_prefix"
26064   prefix="$acl_save_prefix"
26065
26066                           if test "X$x" = "X-L$additional_libdir"; then
26067                             haveit=yes
26068                             break
26069                           fi
26070                         done
26071                         if test -z "$haveit"; then
26072                           if test -d "$additional_libdir"; then
26073                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26074                           fi
26075                         fi
26076                         haveit=
26077                         for x in $LDFLAGS $LTLIBICONV; do
26078
26079   acl_save_prefix="$prefix"
26080   prefix="$acl_final_prefix"
26081   acl_save_exec_prefix="$exec_prefix"
26082   exec_prefix="$acl_final_exec_prefix"
26083   eval x=\"$x\"
26084   exec_prefix="$acl_save_exec_prefix"
26085   prefix="$acl_save_prefix"
26086
26087                           if test "X$x" = "X-L$additional_libdir"; then
26088                             haveit=yes
26089                             break
26090                           fi
26091                         done
26092                         if test -z "$haveit"; then
26093                           if test -d "$additional_libdir"; then
26094                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26095                           fi
26096                         fi
26097                       fi
26098                     fi
26099                     ;;
26100                   -R*)
26101                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26102                     if test "$enable_rpath" != no; then
26103                                                                   haveit=
26104                       for x in $rpathdirs; do
26105                         if test "X$x" = "X$dir"; then
26106                           haveit=yes
26107                           break
26108                         fi
26109                       done
26110                       if test -z "$haveit"; then
26111                         rpathdirs="$rpathdirs $dir"
26112                       fi
26113                                                                   haveit=
26114                       for x in $ltrpathdirs; do
26115                         if test "X$x" = "X$dir"; then
26116                           haveit=yes
26117                           break
26118                         fi
26119                       done
26120                       if test -z "$haveit"; then
26121                         ltrpathdirs="$ltrpathdirs $dir"
26122                       fi
26123                     fi
26124                     ;;
26125                   -l*)
26126                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26127                     ;;
26128                   *.la)
26129                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26130                     ;;
26131                   *)
26132                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26133                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26134                     ;;
26135                 esac
26136               done
26137             fi
26138           else
26139                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26140             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26141           fi
26142         fi
26143       fi
26144     done
26145   done
26146   if test "X$rpathdirs" != "X"; then
26147     if test -n "$hardcode_libdir_separator"; then
26148                         alldirs=
26149       for found_dir in $rpathdirs; do
26150         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26151       done
26152             acl_save_libdir="$libdir"
26153       libdir="$alldirs"
26154       eval flag=\"$hardcode_libdir_flag_spec\"
26155       libdir="$acl_save_libdir"
26156       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26157     else
26158             for found_dir in $rpathdirs; do
26159         acl_save_libdir="$libdir"
26160         libdir="$found_dir"
26161         eval flag=\"$hardcode_libdir_flag_spec\"
26162         libdir="$acl_save_libdir"
26163         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26164       done
26165     fi
26166   fi
26167   if test "X$ltrpathdirs" != "X"; then
26168             for found_dir in $ltrpathdirs; do
26169       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26170     done
26171   fi
26172
26173
26174
26175
26176
26177
26178
26179           am_save_CPPFLAGS="$CPPFLAGS"
26180
26181   for element in $INCICONV; do
26182     haveit=
26183     for x in $CPPFLAGS; do
26184
26185   acl_save_prefix="$prefix"
26186   prefix="$acl_final_prefix"
26187   acl_save_exec_prefix="$exec_prefix"
26188   exec_prefix="$acl_final_exec_prefix"
26189   eval x=\"$x\"
26190   exec_prefix="$acl_save_exec_prefix"
26191   prefix="$acl_save_prefix"
26192
26193       if test "X$x" = "X$element"; then
26194         haveit=yes
26195         break
26196       fi
26197     done
26198     if test -z "$haveit"; then
26199       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26200     fi
26201   done
26202
26203
26204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26205 $as_echo_n "checking for iconv... " >&6; }
26206 if test "${am_cv_func_iconv+set}" = set; then :
26207   $as_echo_n "(cached) " >&6
26208 else
26209
26210     am_cv_func_iconv="no, consider installing GNU libiconv"
26211     am_cv_lib_iconv=no
26212     if test x$gcc_no_link = xyes; then
26213   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26214 fi
26215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26216 /* end confdefs.h.  */
26217 #include <stdlib.h>
26218 #include <iconv.h>
26219 int
26220 main ()
26221 {
26222 iconv_t cd = iconv_open("","");
26223        iconv(cd,NULL,NULL,NULL,NULL);
26224        iconv_close(cd);
26225   ;
26226   return 0;
26227 }
26228 _ACEOF
26229 if ac_fn_c_try_link "$LINENO"; then :
26230   am_cv_func_iconv=yes
26231 fi
26232 rm -f core conftest.err conftest.$ac_objext \
26233     conftest$ac_exeext conftest.$ac_ext
26234     if test "$am_cv_func_iconv" != yes; then
26235       am_save_LIBS="$LIBS"
26236       LIBS="$LIBS $LIBICONV"
26237       if test x$gcc_no_link = xyes; then
26238   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26239 fi
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h.  */
26242 #include <stdlib.h>
26243 #include <iconv.h>
26244 int
26245 main ()
26246 {
26247 iconv_t cd = iconv_open("","");
26248          iconv(cd,NULL,NULL,NULL,NULL);
26249          iconv_close(cd);
26250   ;
26251   return 0;
26252 }
26253 _ACEOF
26254 if ac_fn_c_try_link "$LINENO"; then :
26255   am_cv_lib_iconv=yes
26256         am_cv_func_iconv=yes
26257 fi
26258 rm -f core conftest.err conftest.$ac_objext \
26259     conftest$ac_exeext conftest.$ac_ext
26260       LIBS="$am_save_LIBS"
26261     fi
26262
26263 fi
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26265 $as_echo "$am_cv_func_iconv" >&6; }
26266   if test "$am_cv_func_iconv" = yes; then
26267
26268 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26269
26270   fi
26271   if test "$am_cv_lib_iconv" = yes; then
26272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26273 $as_echo_n "checking how to link with libiconv... " >&6; }
26274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26275 $as_echo "$LIBICONV" >&6; }
26276   else
26277             CPPFLAGS="$am_save_CPPFLAGS"
26278     LIBICONV=
26279     LTLIBICONV=
26280   fi
26281
26282
26283
26284   if test "$am_cv_func_iconv" = yes; then
26285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26286 $as_echo_n "checking for iconv declaration... " >&6; }
26287     if test "${am_cv_proto_iconv+set}" = set; then :
26288   $as_echo_n "(cached) " >&6
26289 else
26290
26291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h.  */
26293
26294 #include <stdlib.h>
26295 #include <iconv.h>
26296 extern
26297 #ifdef __cplusplus
26298 "C"
26299 #endif
26300 #if defined(__STDC__) || defined(__cplusplus)
26301 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26302 #else
26303 size_t iconv();
26304 #endif
26305
26306 int
26307 main ()
26308 {
26309
26310   ;
26311   return 0;
26312 }
26313 _ACEOF
26314 if ac_fn_c_try_compile "$LINENO"; then :
26315   am_cv_proto_iconv_arg1=""
26316 else
26317   am_cv_proto_iconv_arg1="const"
26318 fi
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320       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);"
26321 fi
26322
26323     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26325          }$am_cv_proto_iconv" >&5
26326 $as_echo "${ac_t:-
26327          }$am_cv_proto_iconv" >&6; }
26328
26329 cat >>confdefs.h <<_ACEOF
26330 #define ICONV_CONST $am_cv_proto_iconv_arg1
26331 _ACEOF
26332
26333   fi
26334
26335
26336 else
26337
26338   # This lets us hard-code the functionality we know we'll have in the cross
26339   # target environment.  "Let" is a sugar-coated word placed on an especially
26340   # dull and tedious hack, actually.
26341   #
26342   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26343   # that involve linking, can't be used:
26344   #    "cannot open sim-crt0.o"
26345   #    "cannot open crt0.o"
26346   # etc.  All this is because there currently exists no unified, consistent
26347   # way for top level CC information to be passed down to target directories:
26348   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26349   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26350   # crosses can be removed.
26351
26352   # If Canadian cross, then don't pick up tools from the build directory.
26353   # Used only in GLIBCXX_EXPORT_INCLUDES.
26354   if test -n "$with_cross_host" &&
26355      test x"$build_alias" != x"$with_cross_host" &&
26356      test x"$build" != x"$target";
26357   then
26358     CANADIAN=yes
26359   else
26360     CANADIAN=no
26361   fi
26362
26363   # Construct crosses by hand, eliminating bits that need ld...
26364   # GLIBCXX_CHECK_MATH_SUPPORT
26365
26366   # First, test for "known" system libraries.  We may be using newlib even
26367   # on a hosted environment.
26368   if test "x${with_newlib}" = "xyes"; then
26369     os_include_dir="os/newlib"
26370     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26371
26372
26373     # GLIBCXX_CHECK_STDLIB_SUPPORT
26374     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26375
26376
26377     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26378
26379     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26380
26381     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26382
26383     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26384
26385     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26386
26387     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26388
26389     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26390
26391     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26392
26393     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26394
26395     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26396
26397     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26398
26399     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26400
26401     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26402
26403     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26404
26405     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26406
26407     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26408
26409     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26410
26411     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26412
26413     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26414
26415     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26416
26417     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26418
26419     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26420
26421
26422     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26423
26424   else
26425
26426 # Base decisions on target environment.
26427 case "${host}" in
26428   arm*-*-symbianelf*)
26429     # This is a freestanding configuration; there is nothing to do here.
26430     ;;
26431
26432   mips*-sde-elf*)
26433     # These definitions are for the SDE C library rather than newlib.
26434     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26435
26436
26437   # All these tests are for C++; save the language and the compiler flags.
26438   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26439   # found in GLIBCXX_CONFIGURE.
26440
26441   ac_ext=cpp
26442 ac_cpp='$CXXCPP $CPPFLAGS'
26443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26446
26447   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26448   ac_save_CXXFLAGS="$CXXFLAGS"
26449
26450   # Check for maintainer-mode bits.
26451   if test x"$USE_MAINTAINER_MODE" = xno; then
26452     WERROR=''
26453   else
26454     WERROR='-Werror'
26455   fi
26456
26457   # Check for -ffunction-sections -fdata-sections
26458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26459 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26460   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26462 /* end confdefs.h.  */
26463 int foo; void bar() { };
26464 int
26465 main ()
26466 {
26467
26468   ;
26469   return 0;
26470 }
26471 _ACEOF
26472 if ac_fn_cxx_try_compile "$LINENO"; then :
26473   ac_fdsections=yes
26474 else
26475   ac_fdsections=no
26476 fi
26477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26478   if test "$ac_test_CXXFLAGS" = set; then
26479     CXXFLAGS="$ac_save_CXXFLAGS"
26480   else
26481     # this is the suspicious part
26482     CXXFLAGS=''
26483   fi
26484   if test x"$ac_fdsections" = x"yes"; then
26485     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26486   fi
26487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26488 $as_echo "$ac_fdsections" >&6; }
26489
26490   ac_ext=c
26491 ac_cpp='$CPP $CPPFLAGS'
26492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26495
26496
26497
26498
26499
26500   # If we're not using GNU ld, then there's no point in even trying these
26501   # tests.  Check for that first.  We should have already tested for gld
26502   # by now (in libtool), but require it now just to be safe...
26503   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26504   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26505
26506
26507
26508   # The name set by libtool depends on the version of libtool.  Shame on us
26509   # for depending on an impl detail, but c'est la vie.  Older versions used
26510   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26511   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26512   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26513   # set (hence we're using an older libtool), then set it.
26514   if test x${with_gnu_ld+set} != xset; then
26515     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26516       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26517       with_gnu_ld=no
26518     else
26519       with_gnu_ld=$ac_cv_prog_gnu_ld
26520     fi
26521   fi
26522
26523   # Start by getting the version number.  I think the libtool test already
26524   # does some of this, but throws away the result.
26525   glibcxx_ld_is_gold=no
26526   if test x"$with_gnu_ld" = x"yes"; then
26527     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26528 $as_echo_n "checking for ld version... " >&6; }
26529
26530     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26531       glibcxx_ld_is_gold=yes
26532     fi
26533     ldver=`$LD --version 2>/dev/null |
26534            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'`
26535
26536     glibcxx_gnu_ld_version=`echo $ldver | \
26537            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26538     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26539 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26540   fi
26541
26542   # Set --gc-sections.
26543   glibcxx_have_gc_sections=no
26544   if test "$glibcxx_ld_is_gold" = "yes"; then
26545     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26546       glibcxx_have_gc_sections=yes
26547     fi
26548   else
26549     glibcxx_gcsections_min_ld=21602
26550     if test x"$with_gnu_ld" = x"yes" &&
26551         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26552       glibcxx_have_gc_sections=yes
26553     fi
26554   fi
26555   if test "$glibcxx_have_gc_sections" = "yes"; then
26556     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26557     # NB: This flag only works reliably after 2.16.1. Configure tests
26558     # for this are difficult, so hard wire a value that should work.
26559
26560     ac_test_CFLAGS="${CFLAGS+set}"
26561     ac_save_CFLAGS="$CFLAGS"
26562     CFLAGS='-Wl,--gc-sections'
26563
26564     # Check for -Wl,--gc-sections
26565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26566 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26567     if test x$gcc_no_link = xyes; then
26568   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26569 fi
26570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26571 /* end confdefs.h.  */
26572  int one(void) { return 1; }
26573      int two(void) { return 2; }
26574
26575 int
26576 main ()
26577 {
26578  two();
26579   ;
26580   return 0;
26581 }
26582 _ACEOF
26583 if ac_fn_c_try_link "$LINENO"; then :
26584   ac_gcsections=yes
26585 else
26586   ac_gcsections=no
26587 fi
26588 rm -f core conftest.err conftest.$ac_objext \
26589     conftest$ac_exeext conftest.$ac_ext
26590     if test "$ac_gcsections" = "yes"; then
26591       rm -f conftest.c
26592       touch conftest.c
26593       if $CC -c conftest.c; then
26594         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26595            grep "Warning: gc-sections option ignored" > /dev/null; then
26596           ac_gcsections=no
26597         fi
26598       fi
26599       rm -f conftest.c conftest.o conftest
26600     fi
26601     if test "$ac_gcsections" = "yes"; then
26602       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26603     fi
26604     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26605 $as_echo "$ac_gcsections" >&6; }
26606
26607     if test "$ac_test_CFLAGS" = set; then
26608       CFLAGS="$ac_save_CFLAGS"
26609     else
26610       # this is the suspicious part
26611       CFLAGS=''
26612     fi
26613   fi
26614
26615   # Set -z,relro.
26616   # Note this is only for shared objects.
26617   ac_ld_relro=no
26618   if test x"$with_gnu_ld" = x"yes"; then
26619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26620 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26621     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26622     if test -n "$cxx_z_relo"; then
26623       OPT_LDFLAGS="-Wl,-z,relro"
26624       ac_ld_relro=yes
26625     fi
26626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26627 $as_echo "$ac_ld_relro" >&6; }
26628   fi
26629
26630   # Set linker optimization flags.
26631   if test x"$with_gnu_ld" = x"yes"; then
26632     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26633   fi
26634
26635
26636
26637
26638
26639   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26640   ac_save_CXXFLAGS="$CXXFLAGS"
26641   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26642
26643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26644 $as_echo_n "checking for sin in -lm... " >&6; }
26645 if test "${ac_cv_lib_m_sin+set}" = set; then :
26646   $as_echo_n "(cached) " >&6
26647 else
26648   ac_check_lib_save_LIBS=$LIBS
26649 LIBS="-lm  $LIBS"
26650 if test x$gcc_no_link = xyes; then
26651   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26652 fi
26653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26654 /* end confdefs.h.  */
26655
26656 /* Override any GCC internal prototype to avoid an error.
26657    Use char because int might match the return type of a GCC
26658    builtin and then its argument prototype would still apply.  */
26659 #ifdef __cplusplus
26660 extern "C"
26661 #endif
26662 char sin ();
26663 int
26664 main ()
26665 {
26666 return sin ();
26667   ;
26668   return 0;
26669 }
26670 _ACEOF
26671 if ac_fn_c_try_link "$LINENO"; then :
26672   ac_cv_lib_m_sin=yes
26673 else
26674   ac_cv_lib_m_sin=no
26675 fi
26676 rm -f core conftest.err conftest.$ac_objext \
26677     conftest$ac_exeext conftest.$ac_ext
26678 LIBS=$ac_check_lib_save_LIBS
26679 fi
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26681 $as_echo "$ac_cv_lib_m_sin" >&6; }
26682 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26683   libm="-lm"
26684 fi
26685
26686   ac_save_LIBS="$LIBS"
26687   LIBS="$LIBS $libm"
26688
26689
26690
26691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26692 $as_echo_n "checking for isinf declaration... " >&6; }
26693   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26694     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26695   $as_echo_n "(cached) " >&6
26696 else
26697
26698
26699       ac_ext=cpp
26700 ac_cpp='$CXXCPP $CPPFLAGS'
26701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26704
26705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26706 /* end confdefs.h.  */
26707 #include <math.h>
26708                       #ifdef HAVE_IEEEFP_H
26709                       #include <ieeefp.h>
26710                       #endif
26711
26712 int
26713 main ()
26714 {
26715  isinf(0);
26716   ;
26717   return 0;
26718 }
26719 _ACEOF
26720 if ac_fn_cxx_try_compile "$LINENO"; then :
26721   glibcxx_cv_func_isinf_use=yes
26722 else
26723   glibcxx_cv_func_isinf_use=no
26724 fi
26725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26726       ac_ext=c
26727 ac_cpp='$CPP $CPPFLAGS'
26728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731
26732
26733 fi
26734
26735   fi
26736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26737 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26738
26739   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26740     for ac_func in isinf
26741 do :
26742   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26743 if test "x$ac_cv_func_isinf" = x""yes; then :
26744   cat >>confdefs.h <<_ACEOF
26745 #define HAVE_ISINF 1
26746 _ACEOF
26747
26748 fi
26749 done
26750
26751   else
26752
26753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26754 $as_echo_n "checking for _isinf declaration... " >&6; }
26755   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26756     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26757   $as_echo_n "(cached) " >&6
26758 else
26759
26760
26761       ac_ext=cpp
26762 ac_cpp='$CXXCPP $CPPFLAGS'
26763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26766
26767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h.  */
26769 #include <math.h>
26770                       #ifdef HAVE_IEEEFP_H
26771                       #include <ieeefp.h>
26772                       #endif
26773
26774 int
26775 main ()
26776 {
26777  _isinf(0);
26778   ;
26779   return 0;
26780 }
26781 _ACEOF
26782 if ac_fn_cxx_try_compile "$LINENO"; then :
26783   glibcxx_cv_func__isinf_use=yes
26784 else
26785   glibcxx_cv_func__isinf_use=no
26786 fi
26787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26788       ac_ext=c
26789 ac_cpp='$CPP $CPPFLAGS'
26790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26793
26794
26795 fi
26796
26797   fi
26798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26799 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26800
26801     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26802       for ac_func in _isinf
26803 do :
26804   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26805 if test "x$ac_cv_func__isinf" = x""yes; then :
26806   cat >>confdefs.h <<_ACEOF
26807 #define HAVE__ISINF 1
26808 _ACEOF
26809
26810 fi
26811 done
26812
26813     fi
26814   fi
26815
26816
26817
26818
26819
26820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26821 $as_echo_n "checking for isnan declaration... " >&6; }
26822   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26823     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26824   $as_echo_n "(cached) " >&6
26825 else
26826
26827
26828       ac_ext=cpp
26829 ac_cpp='$CXXCPP $CPPFLAGS'
26830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26833
26834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26835 /* end confdefs.h.  */
26836 #include <math.h>
26837                       #ifdef HAVE_IEEEFP_H
26838                       #include <ieeefp.h>
26839                       #endif
26840
26841 int
26842 main ()
26843 {
26844  isnan(0);
26845   ;
26846   return 0;
26847 }
26848 _ACEOF
26849 if ac_fn_cxx_try_compile "$LINENO"; then :
26850   glibcxx_cv_func_isnan_use=yes
26851 else
26852   glibcxx_cv_func_isnan_use=no
26853 fi
26854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26855       ac_ext=c
26856 ac_cpp='$CPP $CPPFLAGS'
26857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26860
26861
26862 fi
26863
26864   fi
26865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26866 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26867
26868   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26869     for ac_func in isnan
26870 do :
26871   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26872 if test "x$ac_cv_func_isnan" = x""yes; then :
26873   cat >>confdefs.h <<_ACEOF
26874 #define HAVE_ISNAN 1
26875 _ACEOF
26876
26877 fi
26878 done
26879
26880   else
26881
26882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26883 $as_echo_n "checking for _isnan declaration... " >&6; }
26884   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26885     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26886   $as_echo_n "(cached) " >&6
26887 else
26888
26889
26890       ac_ext=cpp
26891 ac_cpp='$CXXCPP $CPPFLAGS'
26892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26895
26896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h.  */
26898 #include <math.h>
26899                       #ifdef HAVE_IEEEFP_H
26900                       #include <ieeefp.h>
26901                       #endif
26902
26903 int
26904 main ()
26905 {
26906  _isnan(0);
26907   ;
26908   return 0;
26909 }
26910 _ACEOF
26911 if ac_fn_cxx_try_compile "$LINENO"; then :
26912   glibcxx_cv_func__isnan_use=yes
26913 else
26914   glibcxx_cv_func__isnan_use=no
26915 fi
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26917       ac_ext=c
26918 ac_cpp='$CPP $CPPFLAGS'
26919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26922
26923
26924 fi
26925
26926   fi
26927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26928 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26929
26930     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26931       for ac_func in _isnan
26932 do :
26933   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26934 if test "x$ac_cv_func__isnan" = x""yes; then :
26935   cat >>confdefs.h <<_ACEOF
26936 #define HAVE__ISNAN 1
26937 _ACEOF
26938
26939 fi
26940 done
26941
26942     fi
26943   fi
26944
26945
26946
26947
26948
26949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26950 $as_echo_n "checking for finite declaration... " >&6; }
26951   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26952     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26953   $as_echo_n "(cached) " >&6
26954 else
26955
26956
26957       ac_ext=cpp
26958 ac_cpp='$CXXCPP $CPPFLAGS'
26959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26962
26963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26964 /* end confdefs.h.  */
26965 #include <math.h>
26966                       #ifdef HAVE_IEEEFP_H
26967                       #include <ieeefp.h>
26968                       #endif
26969
26970 int
26971 main ()
26972 {
26973  finite(0);
26974   ;
26975   return 0;
26976 }
26977 _ACEOF
26978 if ac_fn_cxx_try_compile "$LINENO"; then :
26979   glibcxx_cv_func_finite_use=yes
26980 else
26981   glibcxx_cv_func_finite_use=no
26982 fi
26983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26984       ac_ext=c
26985 ac_cpp='$CPP $CPPFLAGS'
26986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26989
26990
26991 fi
26992
26993   fi
26994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26995 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26996
26997   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26998     for ac_func in finite
26999 do :
27000   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27001 if test "x$ac_cv_func_finite" = x""yes; then :
27002   cat >>confdefs.h <<_ACEOF
27003 #define HAVE_FINITE 1
27004 _ACEOF
27005
27006 fi
27007 done
27008
27009   else
27010
27011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27012 $as_echo_n "checking for _finite declaration... " >&6; }
27013   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27014     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27015   $as_echo_n "(cached) " >&6
27016 else
27017
27018
27019       ac_ext=cpp
27020 ac_cpp='$CXXCPP $CPPFLAGS'
27021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27024
27025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27026 /* end confdefs.h.  */
27027 #include <math.h>
27028                       #ifdef HAVE_IEEEFP_H
27029                       #include <ieeefp.h>
27030                       #endif
27031
27032 int
27033 main ()
27034 {
27035  _finite(0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 if ac_fn_cxx_try_compile "$LINENO"; then :
27041   glibcxx_cv_func__finite_use=yes
27042 else
27043   glibcxx_cv_func__finite_use=no
27044 fi
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046       ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27051
27052
27053 fi
27054
27055   fi
27056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27057 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27058
27059     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27060       for ac_func in _finite
27061 do :
27062   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27063 if test "x$ac_cv_func__finite" = x""yes; then :
27064   cat >>confdefs.h <<_ACEOF
27065 #define HAVE__FINITE 1
27066 _ACEOF
27067
27068 fi
27069 done
27070
27071     fi
27072   fi
27073
27074
27075
27076
27077
27078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27079 $as_echo_n "checking for sincos declaration... " >&6; }
27080   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27081     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27082   $as_echo_n "(cached) " >&6
27083 else
27084
27085
27086       ac_ext=cpp
27087 ac_cpp='$CXXCPP $CPPFLAGS'
27088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27091
27092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27093 /* end confdefs.h.  */
27094 #include <math.h>
27095 int
27096 main ()
27097 {
27098  sincos(0, 0, 0);
27099   ;
27100   return 0;
27101 }
27102 _ACEOF
27103 if ac_fn_cxx_try_compile "$LINENO"; then :
27104   glibcxx_cv_func_sincos_use=yes
27105 else
27106   glibcxx_cv_func_sincos_use=no
27107 fi
27108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27109       ac_ext=c
27110 ac_cpp='$CPP $CPPFLAGS'
27111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27114
27115
27116 fi
27117
27118   fi
27119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27120 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27121
27122   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27123     for ac_func in sincos
27124 do :
27125   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27126 if test "x$ac_cv_func_sincos" = x""yes; then :
27127   cat >>confdefs.h <<_ACEOF
27128 #define HAVE_SINCOS 1
27129 _ACEOF
27130
27131 fi
27132 done
27133
27134   else
27135
27136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27137 $as_echo_n "checking for _sincos declaration... " >&6; }
27138   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27139     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27140   $as_echo_n "(cached) " >&6
27141 else
27142
27143
27144       ac_ext=cpp
27145 ac_cpp='$CXXCPP $CPPFLAGS'
27146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27149
27150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27151 /* end confdefs.h.  */
27152 #include <math.h>
27153 int
27154 main ()
27155 {
27156  _sincos(0, 0, 0);
27157   ;
27158   return 0;
27159 }
27160 _ACEOF
27161 if ac_fn_cxx_try_compile "$LINENO"; then :
27162   glibcxx_cv_func__sincos_use=yes
27163 else
27164   glibcxx_cv_func__sincos_use=no
27165 fi
27166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27167       ac_ext=c
27168 ac_cpp='$CPP $CPPFLAGS'
27169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27172
27173
27174 fi
27175
27176   fi
27177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27178 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27179
27180     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27181       for ac_func in _sincos
27182 do :
27183   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27184 if test "x$ac_cv_func__sincos" = x""yes; then :
27185   cat >>confdefs.h <<_ACEOF
27186 #define HAVE__SINCOS 1
27187 _ACEOF
27188
27189 fi
27190 done
27191
27192     fi
27193   fi
27194
27195
27196
27197
27198
27199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27200 $as_echo_n "checking for fpclass declaration... " >&6; }
27201   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27202     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27203   $as_echo_n "(cached) " >&6
27204 else
27205
27206
27207       ac_ext=cpp
27208 ac_cpp='$CXXCPP $CPPFLAGS'
27209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27212
27213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27214 /* end confdefs.h.  */
27215 #include <math.h>
27216                       #ifdef HAVE_IEEEFP_H
27217                       #include <ieeefp.h>
27218                       #endif
27219
27220 int
27221 main ()
27222 {
27223  fpclass(0);
27224   ;
27225   return 0;
27226 }
27227 _ACEOF
27228 if ac_fn_cxx_try_compile "$LINENO"; then :
27229   glibcxx_cv_func_fpclass_use=yes
27230 else
27231   glibcxx_cv_func_fpclass_use=no
27232 fi
27233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27234       ac_ext=c
27235 ac_cpp='$CPP $CPPFLAGS'
27236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27239
27240
27241 fi
27242
27243   fi
27244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27245 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27246
27247   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27248     for ac_func in fpclass
27249 do :
27250   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27251 if test "x$ac_cv_func_fpclass" = x""yes; then :
27252   cat >>confdefs.h <<_ACEOF
27253 #define HAVE_FPCLASS 1
27254 _ACEOF
27255
27256 fi
27257 done
27258
27259   else
27260
27261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27262 $as_echo_n "checking for _fpclass declaration... " >&6; }
27263   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27264     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27265   $as_echo_n "(cached) " >&6
27266 else
27267
27268
27269       ac_ext=cpp
27270 ac_cpp='$CXXCPP $CPPFLAGS'
27271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27274
27275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27276 /* end confdefs.h.  */
27277 #include <math.h>
27278                       #ifdef HAVE_IEEEFP_H
27279                       #include <ieeefp.h>
27280                       #endif
27281
27282 int
27283 main ()
27284 {
27285  _fpclass(0);
27286   ;
27287   return 0;
27288 }
27289 _ACEOF
27290 if ac_fn_cxx_try_compile "$LINENO"; then :
27291   glibcxx_cv_func__fpclass_use=yes
27292 else
27293   glibcxx_cv_func__fpclass_use=no
27294 fi
27295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27296       ac_ext=c
27297 ac_cpp='$CPP $CPPFLAGS'
27298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27301
27302
27303 fi
27304
27305   fi
27306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27307 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27308
27309     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27310       for ac_func in _fpclass
27311 do :
27312   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27313 if test "x$ac_cv_func__fpclass" = x""yes; then :
27314   cat >>confdefs.h <<_ACEOF
27315 #define HAVE__FPCLASS 1
27316 _ACEOF
27317
27318 fi
27319 done
27320
27321     fi
27322   fi
27323
27324
27325
27326
27327
27328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27329 $as_echo_n "checking for qfpclass declaration... " >&6; }
27330   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27331     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27332   $as_echo_n "(cached) " >&6
27333 else
27334
27335
27336       ac_ext=cpp
27337 ac_cpp='$CXXCPP $CPPFLAGS'
27338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27341
27342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27343 /* end confdefs.h.  */
27344 #include <math.h>
27345                       #ifdef HAVE_IEEEFP_H
27346                       #include <ieeefp.h>
27347                       #endif
27348
27349 int
27350 main ()
27351 {
27352  qfpclass(0);
27353   ;
27354   return 0;
27355 }
27356 _ACEOF
27357 if ac_fn_cxx_try_compile "$LINENO"; then :
27358   glibcxx_cv_func_qfpclass_use=yes
27359 else
27360   glibcxx_cv_func_qfpclass_use=no
27361 fi
27362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27363       ac_ext=c
27364 ac_cpp='$CPP $CPPFLAGS'
27365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27368
27369
27370 fi
27371
27372   fi
27373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27374 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27375
27376   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27377     for ac_func in qfpclass
27378 do :
27379   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27380 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27381   cat >>confdefs.h <<_ACEOF
27382 #define HAVE_QFPCLASS 1
27383 _ACEOF
27384
27385 fi
27386 done
27387
27388   else
27389
27390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27391 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27392   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27393     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27394   $as_echo_n "(cached) " >&6
27395 else
27396
27397
27398       ac_ext=cpp
27399 ac_cpp='$CXXCPP $CPPFLAGS'
27400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27403
27404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27405 /* end confdefs.h.  */
27406 #include <math.h>
27407                       #ifdef HAVE_IEEEFP_H
27408                       #include <ieeefp.h>
27409                       #endif
27410
27411 int
27412 main ()
27413 {
27414  _qfpclass(0);
27415   ;
27416   return 0;
27417 }
27418 _ACEOF
27419 if ac_fn_cxx_try_compile "$LINENO"; then :
27420   glibcxx_cv_func__qfpclass_use=yes
27421 else
27422   glibcxx_cv_func__qfpclass_use=no
27423 fi
27424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27425       ac_ext=c
27426 ac_cpp='$CPP $CPPFLAGS'
27427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27430
27431
27432 fi
27433
27434   fi
27435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27436 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27437
27438     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27439       for ac_func in _qfpclass
27440 do :
27441   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27442 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27443   cat >>confdefs.h <<_ACEOF
27444 #define HAVE__QFPCLASS 1
27445 _ACEOF
27446
27447 fi
27448 done
27449
27450     fi
27451   fi
27452
27453
27454
27455
27456
27457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27458 $as_echo_n "checking for hypot declaration... " >&6; }
27459   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27460     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27461   $as_echo_n "(cached) " >&6
27462 else
27463
27464
27465       ac_ext=cpp
27466 ac_cpp='$CXXCPP $CPPFLAGS'
27467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27470
27471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27472 /* end confdefs.h.  */
27473 #include <math.h>
27474 int
27475 main ()
27476 {
27477  hypot(0, 0);
27478   ;
27479   return 0;
27480 }
27481 _ACEOF
27482 if ac_fn_cxx_try_compile "$LINENO"; then :
27483   glibcxx_cv_func_hypot_use=yes
27484 else
27485   glibcxx_cv_func_hypot_use=no
27486 fi
27487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27488       ac_ext=c
27489 ac_cpp='$CPP $CPPFLAGS'
27490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27493
27494
27495 fi
27496
27497   fi
27498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27499 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27500
27501   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27502     for ac_func in hypot
27503 do :
27504   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27505 if test "x$ac_cv_func_hypot" = x""yes; then :
27506   cat >>confdefs.h <<_ACEOF
27507 #define HAVE_HYPOT 1
27508 _ACEOF
27509
27510 fi
27511 done
27512
27513   else
27514
27515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27516 $as_echo_n "checking for _hypot declaration... " >&6; }
27517   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27518     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27519   $as_echo_n "(cached) " >&6
27520 else
27521
27522
27523       ac_ext=cpp
27524 ac_cpp='$CXXCPP $CPPFLAGS'
27525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27528
27529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27530 /* end confdefs.h.  */
27531 #include <math.h>
27532 int
27533 main ()
27534 {
27535  _hypot(0, 0);
27536   ;
27537   return 0;
27538 }
27539 _ACEOF
27540 if ac_fn_cxx_try_compile "$LINENO"; then :
27541   glibcxx_cv_func__hypot_use=yes
27542 else
27543   glibcxx_cv_func__hypot_use=no
27544 fi
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27546       ac_ext=c
27547 ac_cpp='$CPP $CPPFLAGS'
27548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27551
27552
27553 fi
27554
27555   fi
27556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27557 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27558
27559     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27560       for ac_func in _hypot
27561 do :
27562   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27563 if test "x$ac_cv_func__hypot" = x""yes; then :
27564   cat >>confdefs.h <<_ACEOF
27565 #define HAVE__HYPOT 1
27566 _ACEOF
27567
27568 fi
27569 done
27570
27571     fi
27572   fi
27573
27574
27575
27576
27577
27578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27579 $as_echo_n "checking for float trig functions... " >&6; }
27580   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27581   $as_echo_n "(cached) " >&6
27582 else
27583
27584
27585     ac_ext=cpp
27586 ac_cpp='$CXXCPP $CPPFLAGS'
27587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27590
27591     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27592 /* end confdefs.h.  */
27593 #include <math.h>
27594 int
27595 main ()
27596 {
27597 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27598   ;
27599   return 0;
27600 }
27601 _ACEOF
27602 if ac_fn_cxx_try_compile "$LINENO"; then :
27603   glibcxx_cv_func_float_trig_use=yes
27604 else
27605   glibcxx_cv_func_float_trig_use=no
27606 fi
27607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27608     ac_ext=c
27609 ac_cpp='$CPP $CPPFLAGS'
27610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613
27614 fi
27615
27616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27617 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27618   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27619     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27620 do :
27621   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27623 eval as_val=\$$as_ac_var
27624    if test "x$as_val" = x""yes; then :
27625   cat >>confdefs.h <<_ACEOF
27626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27627 _ACEOF
27628
27629 fi
27630 done
27631
27632   else
27633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27634 $as_echo_n "checking for _float trig functions... " >&6; }
27635     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27636   $as_echo_n "(cached) " >&6
27637 else
27638
27639
27640       ac_ext=cpp
27641 ac_cpp='$CXXCPP $CPPFLAGS'
27642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27645
27646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27647 /* end confdefs.h.  */
27648 #include <math.h>
27649 int
27650 main ()
27651 {
27652 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27653   ;
27654   return 0;
27655 }
27656 _ACEOF
27657 if ac_fn_cxx_try_compile "$LINENO"; then :
27658   glibcxx_cv_func__float_trig_use=yes
27659 else
27660   glibcxx_cv_func__float_trig_use=no
27661 fi
27662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27663       ac_ext=c
27664 ac_cpp='$CPP $CPPFLAGS'
27665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27668
27669 fi
27670
27671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27672 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27673     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27674       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27675 do :
27676   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27678 eval as_val=\$$as_ac_var
27679    if test "x$as_val" = x""yes; then :
27680   cat >>confdefs.h <<_ACEOF
27681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27682 _ACEOF
27683
27684 fi
27685 done
27686
27687     fi
27688   fi
27689
27690
27691
27692
27693
27694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27695 $as_echo_n "checking for float round functions... " >&6; }
27696   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27697   $as_echo_n "(cached) " >&6
27698 else
27699
27700
27701     ac_ext=cpp
27702 ac_cpp='$CXXCPP $CPPFLAGS'
27703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27706
27707     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27708 /* end confdefs.h.  */
27709 #include <math.h>
27710 int
27711 main ()
27712 {
27713 ceilf (0); floorf (0);
27714   ;
27715   return 0;
27716 }
27717 _ACEOF
27718 if ac_fn_cxx_try_compile "$LINENO"; then :
27719   glibcxx_cv_func_float_round_use=yes
27720 else
27721   glibcxx_cv_func_float_round_use=no
27722 fi
27723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27724     ac_ext=c
27725 ac_cpp='$CPP $CPPFLAGS'
27726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27729
27730 fi
27731
27732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27733 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27734   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27735     for ac_func in ceilf floorf
27736 do :
27737   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27739 eval as_val=\$$as_ac_var
27740    if test "x$as_val" = x""yes; then :
27741   cat >>confdefs.h <<_ACEOF
27742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27743 _ACEOF
27744
27745 fi
27746 done
27747
27748   else
27749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27750 $as_echo_n "checking for _float round functions... " >&6; }
27751     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27752   $as_echo_n "(cached) " >&6
27753 else
27754
27755
27756       ac_ext=cpp
27757 ac_cpp='$CXXCPP $CPPFLAGS'
27758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27761
27762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27763 /* end confdefs.h.  */
27764 #include <math.h>
27765 int
27766 main ()
27767 {
27768 _ceilf (0); _floorf (0);
27769   ;
27770   return 0;
27771 }
27772 _ACEOF
27773 if ac_fn_cxx_try_compile "$LINENO"; then :
27774   glibcxx_cv_func__float_round_use=yes
27775 else
27776   glibcxx_cv_func__float_round_use=no
27777 fi
27778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27779       ac_ext=c
27780 ac_cpp='$CPP $CPPFLAGS'
27781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27784
27785 fi
27786
27787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27788 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27789     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27790       for ac_func in _ceilf _floorf
27791 do :
27792   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27794 eval as_val=\$$as_ac_var
27795    if test "x$as_val" = x""yes; then :
27796   cat >>confdefs.h <<_ACEOF
27797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27798 _ACEOF
27799
27800 fi
27801 done
27802
27803     fi
27804   fi
27805
27806
27807
27808
27809
27810
27811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27812 $as_echo_n "checking for expf declaration... " >&6; }
27813   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27814     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27815   $as_echo_n "(cached) " >&6
27816 else
27817
27818
27819       ac_ext=cpp
27820 ac_cpp='$CXXCPP $CPPFLAGS'
27821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27824
27825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27826 /* end confdefs.h.  */
27827 #include <math.h>
27828                       #ifdef HAVE_IEEEFP_H
27829                       #include <ieeefp.h>
27830                       #endif
27831
27832 int
27833 main ()
27834 {
27835  expf(0);
27836   ;
27837   return 0;
27838 }
27839 _ACEOF
27840 if ac_fn_cxx_try_compile "$LINENO"; then :
27841   glibcxx_cv_func_expf_use=yes
27842 else
27843   glibcxx_cv_func_expf_use=no
27844 fi
27845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846       ac_ext=c
27847 ac_cpp='$CPP $CPPFLAGS'
27848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27851
27852
27853 fi
27854
27855   fi
27856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27857 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27858
27859   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27860     for ac_func in expf
27861 do :
27862   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27863 if test "x$ac_cv_func_expf" = x""yes; then :
27864   cat >>confdefs.h <<_ACEOF
27865 #define HAVE_EXPF 1
27866 _ACEOF
27867
27868 fi
27869 done
27870
27871   else
27872
27873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27874 $as_echo_n "checking for _expf declaration... " >&6; }
27875   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27876     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27877   $as_echo_n "(cached) " >&6
27878 else
27879
27880
27881       ac_ext=cpp
27882 ac_cpp='$CXXCPP $CPPFLAGS'
27883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27886
27887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27888 /* end confdefs.h.  */
27889 #include <math.h>
27890                       #ifdef HAVE_IEEEFP_H
27891                       #include <ieeefp.h>
27892                       #endif
27893
27894 int
27895 main ()
27896 {
27897  _expf(0);
27898   ;
27899   return 0;
27900 }
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903   glibcxx_cv_func__expf_use=yes
27904 else
27905   glibcxx_cv_func__expf_use=no
27906 fi
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908       ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913
27914
27915 fi
27916
27917   fi
27918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27919 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27920
27921     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27922       for ac_func in _expf
27923 do :
27924   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27925 if test "x$ac_cv_func__expf" = x""yes; then :
27926   cat >>confdefs.h <<_ACEOF
27927 #define HAVE__EXPF 1
27928 _ACEOF
27929
27930 fi
27931 done
27932
27933     fi
27934   fi
27935
27936
27937
27938
27939
27940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27941 $as_echo_n "checking for isnanf declaration... " >&6; }
27942   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27943     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27944   $as_echo_n "(cached) " >&6
27945 else
27946
27947
27948       ac_ext=cpp
27949 ac_cpp='$CXXCPP $CPPFLAGS'
27950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27953
27954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27955 /* end confdefs.h.  */
27956 #include <math.h>
27957                       #ifdef HAVE_IEEEFP_H
27958                       #include <ieeefp.h>
27959                       #endif
27960
27961 int
27962 main ()
27963 {
27964  isnanf(0);
27965   ;
27966   return 0;
27967 }
27968 _ACEOF
27969 if ac_fn_cxx_try_compile "$LINENO"; then :
27970   glibcxx_cv_func_isnanf_use=yes
27971 else
27972   glibcxx_cv_func_isnanf_use=no
27973 fi
27974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27975       ac_ext=c
27976 ac_cpp='$CPP $CPPFLAGS'
27977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27980
27981
27982 fi
27983
27984   fi
27985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27986 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27987
27988   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27989     for ac_func in isnanf
27990 do :
27991   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27992 if test "x$ac_cv_func_isnanf" = x""yes; then :
27993   cat >>confdefs.h <<_ACEOF
27994 #define HAVE_ISNANF 1
27995 _ACEOF
27996
27997 fi
27998 done
27999
28000   else
28001
28002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28003 $as_echo_n "checking for _isnanf declaration... " >&6; }
28004   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28005     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28006   $as_echo_n "(cached) " >&6
28007 else
28008
28009
28010       ac_ext=cpp
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015
28016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28017 /* end confdefs.h.  */
28018 #include <math.h>
28019                       #ifdef HAVE_IEEEFP_H
28020                       #include <ieeefp.h>
28021                       #endif
28022
28023 int
28024 main ()
28025 {
28026  _isnanf(0);
28027   ;
28028   return 0;
28029 }
28030 _ACEOF
28031 if ac_fn_cxx_try_compile "$LINENO"; then :
28032   glibcxx_cv_func__isnanf_use=yes
28033 else
28034   glibcxx_cv_func__isnanf_use=no
28035 fi
28036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28037       ac_ext=c
28038 ac_cpp='$CPP $CPPFLAGS'
28039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28042
28043
28044 fi
28045
28046   fi
28047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28048 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28049
28050     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28051       for ac_func in _isnanf
28052 do :
28053   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28054 if test "x$ac_cv_func__isnanf" = x""yes; then :
28055   cat >>confdefs.h <<_ACEOF
28056 #define HAVE__ISNANF 1
28057 _ACEOF
28058
28059 fi
28060 done
28061
28062     fi
28063   fi
28064
28065
28066
28067
28068
28069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28070 $as_echo_n "checking for isinff declaration... " >&6; }
28071   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28072     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28073   $as_echo_n "(cached) " >&6
28074 else
28075
28076
28077       ac_ext=cpp
28078 ac_cpp='$CXXCPP $CPPFLAGS'
28079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28082
28083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084 /* end confdefs.h.  */
28085 #include <math.h>
28086                       #ifdef HAVE_IEEEFP_H
28087                       #include <ieeefp.h>
28088                       #endif
28089
28090 int
28091 main ()
28092 {
28093  isinff(0);
28094   ;
28095   return 0;
28096 }
28097 _ACEOF
28098 if ac_fn_cxx_try_compile "$LINENO"; then :
28099   glibcxx_cv_func_isinff_use=yes
28100 else
28101   glibcxx_cv_func_isinff_use=no
28102 fi
28103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28104       ac_ext=c
28105 ac_cpp='$CPP $CPPFLAGS'
28106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28109
28110
28111 fi
28112
28113   fi
28114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28115 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28116
28117   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28118     for ac_func in isinff
28119 do :
28120   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28121 if test "x$ac_cv_func_isinff" = x""yes; then :
28122   cat >>confdefs.h <<_ACEOF
28123 #define HAVE_ISINFF 1
28124 _ACEOF
28125
28126 fi
28127 done
28128
28129   else
28130
28131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28132 $as_echo_n "checking for _isinff declaration... " >&6; }
28133   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28134     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28135   $as_echo_n "(cached) " >&6
28136 else
28137
28138
28139       ac_ext=cpp
28140 ac_cpp='$CXXCPP $CPPFLAGS'
28141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28144
28145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28146 /* end confdefs.h.  */
28147 #include <math.h>
28148                       #ifdef HAVE_IEEEFP_H
28149                       #include <ieeefp.h>
28150                       #endif
28151
28152 int
28153 main ()
28154 {
28155  _isinff(0);
28156   ;
28157   return 0;
28158 }
28159 _ACEOF
28160 if ac_fn_cxx_try_compile "$LINENO"; then :
28161   glibcxx_cv_func__isinff_use=yes
28162 else
28163   glibcxx_cv_func__isinff_use=no
28164 fi
28165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28166       ac_ext=c
28167 ac_cpp='$CPP $CPPFLAGS'
28168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28171
28172
28173 fi
28174
28175   fi
28176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28177 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28178
28179     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28180       for ac_func in _isinff
28181 do :
28182   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28183 if test "x$ac_cv_func__isinff" = x""yes; then :
28184   cat >>confdefs.h <<_ACEOF
28185 #define HAVE__ISINFF 1
28186 _ACEOF
28187
28188 fi
28189 done
28190
28191     fi
28192   fi
28193
28194
28195
28196
28197
28198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28199 $as_echo_n "checking for atan2f declaration... " >&6; }
28200   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28201     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28202   $as_echo_n "(cached) " >&6
28203 else
28204
28205
28206       ac_ext=cpp
28207 ac_cpp='$CXXCPP $CPPFLAGS'
28208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28211
28212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h.  */
28214 #include <math.h>
28215 int
28216 main ()
28217 {
28218  atan2f(0, 0);
28219   ;
28220   return 0;
28221 }
28222 _ACEOF
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224   glibcxx_cv_func_atan2f_use=yes
28225 else
28226   glibcxx_cv_func_atan2f_use=no
28227 fi
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28229       ac_ext=c
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28234
28235
28236 fi
28237
28238   fi
28239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28240 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28241
28242   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28243     for ac_func in atan2f
28244 do :
28245   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28246 if test "x$ac_cv_func_atan2f" = x""yes; then :
28247   cat >>confdefs.h <<_ACEOF
28248 #define HAVE_ATAN2F 1
28249 _ACEOF
28250
28251 fi
28252 done
28253
28254   else
28255
28256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28257 $as_echo_n "checking for _atan2f declaration... " >&6; }
28258   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28259     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28260   $as_echo_n "(cached) " >&6
28261 else
28262
28263
28264       ac_ext=cpp
28265 ac_cpp='$CXXCPP $CPPFLAGS'
28266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269
28270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h.  */
28272 #include <math.h>
28273 int
28274 main ()
28275 {
28276  _atan2f(0, 0);
28277   ;
28278   return 0;
28279 }
28280 _ACEOF
28281 if ac_fn_cxx_try_compile "$LINENO"; then :
28282   glibcxx_cv_func__atan2f_use=yes
28283 else
28284   glibcxx_cv_func__atan2f_use=no
28285 fi
28286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28287       ac_ext=c
28288 ac_cpp='$CPP $CPPFLAGS'
28289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28292
28293
28294 fi
28295
28296   fi
28297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28298 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28299
28300     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28301       for ac_func in _atan2f
28302 do :
28303   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28304 if test "x$ac_cv_func__atan2f" = x""yes; then :
28305   cat >>confdefs.h <<_ACEOF
28306 #define HAVE__ATAN2F 1
28307 _ACEOF
28308
28309 fi
28310 done
28311
28312     fi
28313   fi
28314
28315
28316
28317
28318
28319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28320 $as_echo_n "checking for fabsf declaration... " >&6; }
28321   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28322     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28323   $as_echo_n "(cached) " >&6
28324 else
28325
28326
28327       ac_ext=cpp
28328 ac_cpp='$CXXCPP $CPPFLAGS'
28329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28332
28333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28334 /* end confdefs.h.  */
28335 #include <math.h>
28336                       #ifdef HAVE_IEEEFP_H
28337                       #include <ieeefp.h>
28338                       #endif
28339
28340 int
28341 main ()
28342 {
28343  fabsf(0);
28344   ;
28345   return 0;
28346 }
28347 _ACEOF
28348 if ac_fn_cxx_try_compile "$LINENO"; then :
28349   glibcxx_cv_func_fabsf_use=yes
28350 else
28351   glibcxx_cv_func_fabsf_use=no
28352 fi
28353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28354       ac_ext=c
28355 ac_cpp='$CPP $CPPFLAGS'
28356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28359
28360
28361 fi
28362
28363   fi
28364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28365 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28366
28367   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28368     for ac_func in fabsf
28369 do :
28370   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28371 if test "x$ac_cv_func_fabsf" = x""yes; then :
28372   cat >>confdefs.h <<_ACEOF
28373 #define HAVE_FABSF 1
28374 _ACEOF
28375
28376 fi
28377 done
28378
28379   else
28380
28381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28382 $as_echo_n "checking for _fabsf declaration... " >&6; }
28383   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28384     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28385   $as_echo_n "(cached) " >&6
28386 else
28387
28388
28389       ac_ext=cpp
28390 ac_cpp='$CXXCPP $CPPFLAGS'
28391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394
28395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28396 /* end confdefs.h.  */
28397 #include <math.h>
28398                       #ifdef HAVE_IEEEFP_H
28399                       #include <ieeefp.h>
28400                       #endif
28401
28402 int
28403 main ()
28404 {
28405  _fabsf(0);
28406   ;
28407   return 0;
28408 }
28409 _ACEOF
28410 if ac_fn_cxx_try_compile "$LINENO"; then :
28411   glibcxx_cv_func__fabsf_use=yes
28412 else
28413   glibcxx_cv_func__fabsf_use=no
28414 fi
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416       ac_ext=c
28417 ac_cpp='$CPP $CPPFLAGS'
28418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421
28422
28423 fi
28424
28425   fi
28426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28427 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28428
28429     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28430       for ac_func in _fabsf
28431 do :
28432   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28433 if test "x$ac_cv_func__fabsf" = x""yes; then :
28434   cat >>confdefs.h <<_ACEOF
28435 #define HAVE__FABSF 1
28436 _ACEOF
28437
28438 fi
28439 done
28440
28441     fi
28442   fi
28443
28444
28445
28446
28447
28448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28449 $as_echo_n "checking for fmodf declaration... " >&6; }
28450   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28451     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28452   $as_echo_n "(cached) " >&6
28453 else
28454
28455
28456       ac_ext=cpp
28457 ac_cpp='$CXXCPP $CPPFLAGS'
28458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28461
28462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28463 /* end confdefs.h.  */
28464 #include <math.h>
28465 int
28466 main ()
28467 {
28468  fmodf(0, 0);
28469   ;
28470   return 0;
28471 }
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474   glibcxx_cv_func_fmodf_use=yes
28475 else
28476   glibcxx_cv_func_fmodf_use=no
28477 fi
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479       ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484
28485
28486 fi
28487
28488   fi
28489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28490 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28491
28492   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28493     for ac_func in fmodf
28494 do :
28495   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28496 if test "x$ac_cv_func_fmodf" = x""yes; then :
28497   cat >>confdefs.h <<_ACEOF
28498 #define HAVE_FMODF 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504   else
28505
28506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28507 $as_echo_n "checking for _fmodf declaration... " >&6; }
28508   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28509     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28510   $as_echo_n "(cached) " >&6
28511 else
28512
28513
28514       ac_ext=cpp
28515 ac_cpp='$CXXCPP $CPPFLAGS'
28516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28519
28520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h.  */
28522 #include <math.h>
28523 int
28524 main ()
28525 {
28526  _fmodf(0, 0);
28527   ;
28528   return 0;
28529 }
28530 _ACEOF
28531 if ac_fn_cxx_try_compile "$LINENO"; then :
28532   glibcxx_cv_func__fmodf_use=yes
28533 else
28534   glibcxx_cv_func__fmodf_use=no
28535 fi
28536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28537       ac_ext=c
28538 ac_cpp='$CPP $CPPFLAGS'
28539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28542
28543
28544 fi
28545
28546   fi
28547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28548 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28549
28550     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28551       for ac_func in _fmodf
28552 do :
28553   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28554 if test "x$ac_cv_func__fmodf" = x""yes; then :
28555   cat >>confdefs.h <<_ACEOF
28556 #define HAVE__FMODF 1
28557 _ACEOF
28558
28559 fi
28560 done
28561
28562     fi
28563   fi
28564
28565
28566
28567
28568
28569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28570 $as_echo_n "checking for frexpf declaration... " >&6; }
28571   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28572     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28573   $as_echo_n "(cached) " >&6
28574 else
28575
28576
28577       ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28582
28583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h.  */
28585 #include <math.h>
28586 int
28587 main ()
28588 {
28589  frexpf(0, 0);
28590   ;
28591   return 0;
28592 }
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595   glibcxx_cv_func_frexpf_use=yes
28596 else
28597   glibcxx_cv_func_frexpf_use=no
28598 fi
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600       ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28605
28606
28607 fi
28608
28609   fi
28610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28611 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28612
28613   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28614     for ac_func in frexpf
28615 do :
28616   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28617 if test "x$ac_cv_func_frexpf" = x""yes; then :
28618   cat >>confdefs.h <<_ACEOF
28619 #define HAVE_FREXPF 1
28620 _ACEOF
28621
28622 fi
28623 done
28624
28625   else
28626
28627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28628 $as_echo_n "checking for _frexpf declaration... " >&6; }
28629   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28630     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28631   $as_echo_n "(cached) " >&6
28632 else
28633
28634
28635       ac_ext=cpp
28636 ac_cpp='$CXXCPP $CPPFLAGS'
28637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28640
28641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28642 /* end confdefs.h.  */
28643 #include <math.h>
28644 int
28645 main ()
28646 {
28647  _frexpf(0, 0);
28648   ;
28649   return 0;
28650 }
28651 _ACEOF
28652 if ac_fn_cxx_try_compile "$LINENO"; then :
28653   glibcxx_cv_func__frexpf_use=yes
28654 else
28655   glibcxx_cv_func__frexpf_use=no
28656 fi
28657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658       ac_ext=c
28659 ac_cpp='$CPP $CPPFLAGS'
28660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663
28664
28665 fi
28666
28667   fi
28668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28669 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28670
28671     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28672       for ac_func in _frexpf
28673 do :
28674   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28675 if test "x$ac_cv_func__frexpf" = x""yes; then :
28676   cat >>confdefs.h <<_ACEOF
28677 #define HAVE__FREXPF 1
28678 _ACEOF
28679
28680 fi
28681 done
28682
28683     fi
28684   fi
28685
28686
28687
28688
28689
28690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28691 $as_echo_n "checking for hypotf declaration... " >&6; }
28692   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28693     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28694   $as_echo_n "(cached) " >&6
28695 else
28696
28697
28698       ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28703
28704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h.  */
28706 #include <math.h>
28707 int
28708 main ()
28709 {
28710  hypotf(0, 0);
28711   ;
28712   return 0;
28713 }
28714 _ACEOF
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716   glibcxx_cv_func_hypotf_use=yes
28717 else
28718   glibcxx_cv_func_hypotf_use=no
28719 fi
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28721       ac_ext=c
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28726
28727
28728 fi
28729
28730   fi
28731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28732 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28733
28734   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28735     for ac_func in hypotf
28736 do :
28737   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28738 if test "x$ac_cv_func_hypotf" = x""yes; then :
28739   cat >>confdefs.h <<_ACEOF
28740 #define HAVE_HYPOTF 1
28741 _ACEOF
28742
28743 fi
28744 done
28745
28746   else
28747
28748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28749 $as_echo_n "checking for _hypotf declaration... " >&6; }
28750   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28751     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28752   $as_echo_n "(cached) " >&6
28753 else
28754
28755
28756       ac_ext=cpp
28757 ac_cpp='$CXXCPP $CPPFLAGS'
28758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28761
28762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h.  */
28764 #include <math.h>
28765 int
28766 main ()
28767 {
28768  _hypotf(0, 0);
28769   ;
28770   return 0;
28771 }
28772 _ACEOF
28773 if ac_fn_cxx_try_compile "$LINENO"; then :
28774   glibcxx_cv_func__hypotf_use=yes
28775 else
28776   glibcxx_cv_func__hypotf_use=no
28777 fi
28778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28779       ac_ext=c
28780 ac_cpp='$CPP $CPPFLAGS'
28781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28784
28785
28786 fi
28787
28788   fi
28789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28790 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28791
28792     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28793       for ac_func in _hypotf
28794 do :
28795   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28796 if test "x$ac_cv_func__hypotf" = x""yes; then :
28797   cat >>confdefs.h <<_ACEOF
28798 #define HAVE__HYPOTF 1
28799 _ACEOF
28800
28801 fi
28802 done
28803
28804     fi
28805   fi
28806
28807
28808
28809
28810
28811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28812 $as_echo_n "checking for ldexpf declaration... " >&6; }
28813   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28814     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28815   $as_echo_n "(cached) " >&6
28816 else
28817
28818
28819       ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h.  */
28827 #include <math.h>
28828 int
28829 main ()
28830 {
28831  ldexpf(0, 0);
28832   ;
28833   return 0;
28834 }
28835 _ACEOF
28836 if ac_fn_cxx_try_compile "$LINENO"; then :
28837   glibcxx_cv_func_ldexpf_use=yes
28838 else
28839   glibcxx_cv_func_ldexpf_use=no
28840 fi
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28842       ac_ext=c
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847
28848
28849 fi
28850
28851   fi
28852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28853 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28854
28855   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28856     for ac_func in ldexpf
28857 do :
28858   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28859 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28860   cat >>confdefs.h <<_ACEOF
28861 #define HAVE_LDEXPF 1
28862 _ACEOF
28863
28864 fi
28865 done
28866
28867   else
28868
28869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28870 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28871   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28872     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28873   $as_echo_n "(cached) " >&6
28874 else
28875
28876
28877       ac_ext=cpp
28878 ac_cpp='$CXXCPP $CPPFLAGS'
28879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28882
28883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28884 /* end confdefs.h.  */
28885 #include <math.h>
28886 int
28887 main ()
28888 {
28889  _ldexpf(0, 0);
28890   ;
28891   return 0;
28892 }
28893 _ACEOF
28894 if ac_fn_cxx_try_compile "$LINENO"; then :
28895   glibcxx_cv_func__ldexpf_use=yes
28896 else
28897   glibcxx_cv_func__ldexpf_use=no
28898 fi
28899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28900       ac_ext=c
28901 ac_cpp='$CPP $CPPFLAGS'
28902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28905
28906
28907 fi
28908
28909   fi
28910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28911 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28912
28913     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28914       for ac_func in _ldexpf
28915 do :
28916   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28917 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28918   cat >>confdefs.h <<_ACEOF
28919 #define HAVE__LDEXPF 1
28920 _ACEOF
28921
28922 fi
28923 done
28924
28925     fi
28926   fi
28927
28928
28929
28930
28931
28932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28933 $as_echo_n "checking for logf declaration... " >&6; }
28934   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28935     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28936   $as_echo_n "(cached) " >&6
28937 else
28938
28939
28940       ac_ext=cpp
28941 ac_cpp='$CXXCPP $CPPFLAGS'
28942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28945
28946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947 /* end confdefs.h.  */
28948 #include <math.h>
28949                       #ifdef HAVE_IEEEFP_H
28950                       #include <ieeefp.h>
28951                       #endif
28952
28953 int
28954 main ()
28955 {
28956  logf(0);
28957   ;
28958   return 0;
28959 }
28960 _ACEOF
28961 if ac_fn_cxx_try_compile "$LINENO"; then :
28962   glibcxx_cv_func_logf_use=yes
28963 else
28964   glibcxx_cv_func_logf_use=no
28965 fi
28966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28967       ac_ext=c
28968 ac_cpp='$CPP $CPPFLAGS'
28969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28972
28973
28974 fi
28975
28976   fi
28977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28978 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28979
28980   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28981     for ac_func in logf
28982 do :
28983   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28984 if test "x$ac_cv_func_logf" = x""yes; then :
28985   cat >>confdefs.h <<_ACEOF
28986 #define HAVE_LOGF 1
28987 _ACEOF
28988
28989 fi
28990 done
28991
28992   else
28993
28994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28995 $as_echo_n "checking for _logf declaration... " >&6; }
28996   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28997     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28998   $as_echo_n "(cached) " >&6
28999 else
29000
29001
29002       ac_ext=cpp
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007
29008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29009 /* end confdefs.h.  */
29010 #include <math.h>
29011                       #ifdef HAVE_IEEEFP_H
29012                       #include <ieeefp.h>
29013                       #endif
29014
29015 int
29016 main ()
29017 {
29018  _logf(0);
29019   ;
29020   return 0;
29021 }
29022 _ACEOF
29023 if ac_fn_cxx_try_compile "$LINENO"; then :
29024   glibcxx_cv_func__logf_use=yes
29025 else
29026   glibcxx_cv_func__logf_use=no
29027 fi
29028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29029       ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034
29035
29036 fi
29037
29038   fi
29039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29040 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29041
29042     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29043       for ac_func in _logf
29044 do :
29045   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29046 if test "x$ac_cv_func__logf" = x""yes; then :
29047   cat >>confdefs.h <<_ACEOF
29048 #define HAVE__LOGF 1
29049 _ACEOF
29050
29051 fi
29052 done
29053
29054     fi
29055   fi
29056
29057
29058
29059
29060
29061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29062 $as_echo_n "checking for log10f declaration... " >&6; }
29063   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29064     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29065   $as_echo_n "(cached) " >&6
29066 else
29067
29068
29069       ac_ext=cpp
29070 ac_cpp='$CXXCPP $CPPFLAGS'
29071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29074
29075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29076 /* end confdefs.h.  */
29077 #include <math.h>
29078                       #ifdef HAVE_IEEEFP_H
29079                       #include <ieeefp.h>
29080                       #endif
29081
29082 int
29083 main ()
29084 {
29085  log10f(0);
29086   ;
29087   return 0;
29088 }
29089 _ACEOF
29090 if ac_fn_cxx_try_compile "$LINENO"; then :
29091   glibcxx_cv_func_log10f_use=yes
29092 else
29093   glibcxx_cv_func_log10f_use=no
29094 fi
29095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29096       ac_ext=c
29097 ac_cpp='$CPP $CPPFLAGS'
29098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29101
29102
29103 fi
29104
29105   fi
29106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29107 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29108
29109   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29110     for ac_func in log10f
29111 do :
29112   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29113 if test "x$ac_cv_func_log10f" = x""yes; then :
29114   cat >>confdefs.h <<_ACEOF
29115 #define HAVE_LOG10F 1
29116 _ACEOF
29117
29118 fi
29119 done
29120
29121   else
29122
29123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29124 $as_echo_n "checking for _log10f declaration... " >&6; }
29125   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29126     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29127   $as_echo_n "(cached) " >&6
29128 else
29129
29130
29131       ac_ext=cpp
29132 ac_cpp='$CXXCPP $CPPFLAGS'
29133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29136
29137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29138 /* end confdefs.h.  */
29139 #include <math.h>
29140                       #ifdef HAVE_IEEEFP_H
29141                       #include <ieeefp.h>
29142                       #endif
29143
29144 int
29145 main ()
29146 {
29147  _log10f(0);
29148   ;
29149   return 0;
29150 }
29151 _ACEOF
29152 if ac_fn_cxx_try_compile "$LINENO"; then :
29153   glibcxx_cv_func__log10f_use=yes
29154 else
29155   glibcxx_cv_func__log10f_use=no
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29158       ac_ext=c
29159 ac_cpp='$CPP $CPPFLAGS'
29160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163
29164
29165 fi
29166
29167   fi
29168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29169 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29170
29171     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29172       for ac_func in _log10f
29173 do :
29174   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29175 if test "x$ac_cv_func__log10f" = x""yes; then :
29176   cat >>confdefs.h <<_ACEOF
29177 #define HAVE__LOG10F 1
29178 _ACEOF
29179
29180 fi
29181 done
29182
29183     fi
29184   fi
29185
29186
29187
29188
29189
29190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29191 $as_echo_n "checking for modff declaration... " >&6; }
29192   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29193     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29194   $as_echo_n "(cached) " >&6
29195 else
29196
29197
29198       ac_ext=cpp
29199 ac_cpp='$CXXCPP $CPPFLAGS'
29200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29203
29204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29205 /* end confdefs.h.  */
29206 #include <math.h>
29207 int
29208 main ()
29209 {
29210  modff(0, 0);
29211   ;
29212   return 0;
29213 }
29214 _ACEOF
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216   glibcxx_cv_func_modff_use=yes
29217 else
29218   glibcxx_cv_func_modff_use=no
29219 fi
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221       ac_ext=c
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29226
29227
29228 fi
29229
29230   fi
29231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29232 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29233
29234   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29235     for ac_func in modff
29236 do :
29237   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29238 if test "x$ac_cv_func_modff" = x""yes; then :
29239   cat >>confdefs.h <<_ACEOF
29240 #define HAVE_MODFF 1
29241 _ACEOF
29242
29243 fi
29244 done
29245
29246   else
29247
29248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29249 $as_echo_n "checking for _modff declaration... " >&6; }
29250   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29251     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29252   $as_echo_n "(cached) " >&6
29253 else
29254
29255
29256       ac_ext=cpp
29257 ac_cpp='$CXXCPP $CPPFLAGS'
29258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29261
29262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29263 /* end confdefs.h.  */
29264 #include <math.h>
29265 int
29266 main ()
29267 {
29268  _modff(0, 0);
29269   ;
29270   return 0;
29271 }
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274   glibcxx_cv_func__modff_use=yes
29275 else
29276   glibcxx_cv_func__modff_use=no
29277 fi
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279       ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284
29285
29286 fi
29287
29288   fi
29289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29290 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29291
29292     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29293       for ac_func in _modff
29294 do :
29295   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29296 if test "x$ac_cv_func__modff" = x""yes; then :
29297   cat >>confdefs.h <<_ACEOF
29298 #define HAVE__MODFF 1
29299 _ACEOF
29300
29301 fi
29302 done
29303
29304     fi
29305   fi
29306
29307
29308
29309
29310
29311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29312 $as_echo_n "checking for modf declaration... " >&6; }
29313   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29314     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29315   $as_echo_n "(cached) " >&6
29316 else
29317
29318
29319       ac_ext=cpp
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29324
29325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h.  */
29327 #include <math.h>
29328 int
29329 main ()
29330 {
29331  modf(0, 0);
29332   ;
29333   return 0;
29334 }
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337   glibcxx_cv_func_modf_use=yes
29338 else
29339   glibcxx_cv_func_modf_use=no
29340 fi
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342       ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347
29348
29349 fi
29350
29351   fi
29352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29353 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29354
29355   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29356     for ac_func in modf
29357 do :
29358   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29359 if test "x$ac_cv_func_modf" = x""yes; then :
29360   cat >>confdefs.h <<_ACEOF
29361 #define HAVE_MODF 1
29362 _ACEOF
29363
29364 fi
29365 done
29366
29367   else
29368
29369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29370 $as_echo_n "checking for _modf declaration... " >&6; }
29371   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29372     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29373   $as_echo_n "(cached) " >&6
29374 else
29375
29376
29377       ac_ext=cpp
29378 ac_cpp='$CXXCPP $CPPFLAGS'
29379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29382
29383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29384 /* end confdefs.h.  */
29385 #include <math.h>
29386 int
29387 main ()
29388 {
29389  _modf(0, 0);
29390   ;
29391   return 0;
29392 }
29393 _ACEOF
29394 if ac_fn_cxx_try_compile "$LINENO"; then :
29395   glibcxx_cv_func__modf_use=yes
29396 else
29397   glibcxx_cv_func__modf_use=no
29398 fi
29399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29400       ac_ext=c
29401 ac_cpp='$CPP $CPPFLAGS'
29402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405
29406
29407 fi
29408
29409   fi
29410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29411 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29412
29413     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29414       for ac_func in _modf
29415 do :
29416   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29417 if test "x$ac_cv_func__modf" = x""yes; then :
29418   cat >>confdefs.h <<_ACEOF
29419 #define HAVE__MODF 1
29420 _ACEOF
29421
29422 fi
29423 done
29424
29425     fi
29426   fi
29427
29428
29429
29430
29431
29432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29433 $as_echo_n "checking for powf declaration... " >&6; }
29434   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29435     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29436   $as_echo_n "(cached) " >&6
29437 else
29438
29439
29440       ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445
29446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h.  */
29448 #include <math.h>
29449 int
29450 main ()
29451 {
29452  powf(0, 0);
29453   ;
29454   return 0;
29455 }
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458   glibcxx_cv_func_powf_use=yes
29459 else
29460   glibcxx_cv_func_powf_use=no
29461 fi
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463       ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29468
29469
29470 fi
29471
29472   fi
29473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29474 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29475
29476   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29477     for ac_func in powf
29478 do :
29479   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29480 if test "x$ac_cv_func_powf" = x""yes; then :
29481   cat >>confdefs.h <<_ACEOF
29482 #define HAVE_POWF 1
29483 _ACEOF
29484
29485 fi
29486 done
29487
29488   else
29489
29490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29491 $as_echo_n "checking for _powf declaration... " >&6; }
29492   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29493     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29494   $as_echo_n "(cached) " >&6
29495 else
29496
29497
29498       ac_ext=cpp
29499 ac_cpp='$CXXCPP $CPPFLAGS'
29500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29503
29504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29505 /* end confdefs.h.  */
29506 #include <math.h>
29507 int
29508 main ()
29509 {
29510  _powf(0, 0);
29511   ;
29512   return 0;
29513 }
29514 _ACEOF
29515 if ac_fn_cxx_try_compile "$LINENO"; then :
29516   glibcxx_cv_func__powf_use=yes
29517 else
29518   glibcxx_cv_func__powf_use=no
29519 fi
29520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29521       ac_ext=c
29522 ac_cpp='$CPP $CPPFLAGS'
29523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29526
29527
29528 fi
29529
29530   fi
29531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29532 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29533
29534     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29535       for ac_func in _powf
29536 do :
29537   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29538 if test "x$ac_cv_func__powf" = x""yes; then :
29539   cat >>confdefs.h <<_ACEOF
29540 #define HAVE__POWF 1
29541 _ACEOF
29542
29543 fi
29544 done
29545
29546     fi
29547   fi
29548
29549
29550
29551
29552
29553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29554 $as_echo_n "checking for sqrtf declaration... " >&6; }
29555   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29556     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29557   $as_echo_n "(cached) " >&6
29558 else
29559
29560
29561       ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566
29567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h.  */
29569 #include <math.h>
29570                       #ifdef HAVE_IEEEFP_H
29571                       #include <ieeefp.h>
29572                       #endif
29573
29574 int
29575 main ()
29576 {
29577  sqrtf(0);
29578   ;
29579   return 0;
29580 }
29581 _ACEOF
29582 if ac_fn_cxx_try_compile "$LINENO"; then :
29583   glibcxx_cv_func_sqrtf_use=yes
29584 else
29585   glibcxx_cv_func_sqrtf_use=no
29586 fi
29587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29588       ac_ext=c
29589 ac_cpp='$CPP $CPPFLAGS'
29590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29593
29594
29595 fi
29596
29597   fi
29598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29599 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29600
29601   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29602     for ac_func in sqrtf
29603 do :
29604   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29605 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29606   cat >>confdefs.h <<_ACEOF
29607 #define HAVE_SQRTF 1
29608 _ACEOF
29609
29610 fi
29611 done
29612
29613   else
29614
29615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29616 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29617   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29618     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29619   $as_echo_n "(cached) " >&6
29620 else
29621
29622
29623       ac_ext=cpp
29624 ac_cpp='$CXXCPP $CPPFLAGS'
29625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29628
29629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29630 /* end confdefs.h.  */
29631 #include <math.h>
29632                       #ifdef HAVE_IEEEFP_H
29633                       #include <ieeefp.h>
29634                       #endif
29635
29636 int
29637 main ()
29638 {
29639  _sqrtf(0);
29640   ;
29641   return 0;
29642 }
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645   glibcxx_cv_func__sqrtf_use=yes
29646 else
29647   glibcxx_cv_func__sqrtf_use=no
29648 fi
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650       ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655
29656
29657 fi
29658
29659   fi
29660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29661 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29662
29663     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29664       for ac_func in _sqrtf
29665 do :
29666   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29667 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29668   cat >>confdefs.h <<_ACEOF
29669 #define HAVE__SQRTF 1
29670 _ACEOF
29671
29672 fi
29673 done
29674
29675     fi
29676   fi
29677
29678
29679
29680
29681
29682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29683 $as_echo_n "checking for sincosf declaration... " >&6; }
29684   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29685     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29686   $as_echo_n "(cached) " >&6
29687 else
29688
29689
29690       ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29695
29696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29697 /* end confdefs.h.  */
29698 #include <math.h>
29699 int
29700 main ()
29701 {
29702  sincosf(0, 0, 0);
29703   ;
29704   return 0;
29705 }
29706 _ACEOF
29707 if ac_fn_cxx_try_compile "$LINENO"; then :
29708   glibcxx_cv_func_sincosf_use=yes
29709 else
29710   glibcxx_cv_func_sincosf_use=no
29711 fi
29712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713       ac_ext=c
29714 ac_cpp='$CPP $CPPFLAGS'
29715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29718
29719
29720 fi
29721
29722   fi
29723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29724 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29725
29726   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29727     for ac_func in sincosf
29728 do :
29729   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29730 if test "x$ac_cv_func_sincosf" = x""yes; then :
29731   cat >>confdefs.h <<_ACEOF
29732 #define HAVE_SINCOSF 1
29733 _ACEOF
29734
29735 fi
29736 done
29737
29738   else
29739
29740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29741 $as_echo_n "checking for _sincosf declaration... " >&6; }
29742   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29743     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29744   $as_echo_n "(cached) " >&6
29745 else
29746
29747
29748       ac_ext=cpp
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753
29754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29755 /* end confdefs.h.  */
29756 #include <math.h>
29757 int
29758 main ()
29759 {
29760  _sincosf(0, 0, 0);
29761   ;
29762   return 0;
29763 }
29764 _ACEOF
29765 if ac_fn_cxx_try_compile "$LINENO"; then :
29766   glibcxx_cv_func__sincosf_use=yes
29767 else
29768   glibcxx_cv_func__sincosf_use=no
29769 fi
29770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29771       ac_ext=c
29772 ac_cpp='$CPP $CPPFLAGS'
29773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29776
29777
29778 fi
29779
29780   fi
29781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29782 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29783
29784     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29785       for ac_func in _sincosf
29786 do :
29787   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29788 if test "x$ac_cv_func__sincosf" = x""yes; then :
29789   cat >>confdefs.h <<_ACEOF
29790 #define HAVE__SINCOSF 1
29791 _ACEOF
29792
29793 fi
29794 done
29795
29796     fi
29797   fi
29798
29799
29800
29801
29802
29803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29804 $as_echo_n "checking for finitef declaration... " >&6; }
29805   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29806     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29807   $as_echo_n "(cached) " >&6
29808 else
29809
29810
29811       ac_ext=cpp
29812 ac_cpp='$CXXCPP $CPPFLAGS'
29813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29816
29817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29818 /* end confdefs.h.  */
29819 #include <math.h>
29820                       #ifdef HAVE_IEEEFP_H
29821                       #include <ieeefp.h>
29822                       #endif
29823
29824 int
29825 main ()
29826 {
29827  finitef(0);
29828   ;
29829   return 0;
29830 }
29831 _ACEOF
29832 if ac_fn_cxx_try_compile "$LINENO"; then :
29833   glibcxx_cv_func_finitef_use=yes
29834 else
29835   glibcxx_cv_func_finitef_use=no
29836 fi
29837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29838       ac_ext=c
29839 ac_cpp='$CPP $CPPFLAGS'
29840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29843
29844
29845 fi
29846
29847   fi
29848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29849 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29850
29851   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29852     for ac_func in finitef
29853 do :
29854   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29855 if test "x$ac_cv_func_finitef" = x""yes; then :
29856   cat >>confdefs.h <<_ACEOF
29857 #define HAVE_FINITEF 1
29858 _ACEOF
29859
29860 fi
29861 done
29862
29863   else
29864
29865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29866 $as_echo_n "checking for _finitef declaration... " >&6; }
29867   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29868     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29869   $as_echo_n "(cached) " >&6
29870 else
29871
29872
29873       ac_ext=cpp
29874 ac_cpp='$CXXCPP $CPPFLAGS'
29875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29878
29879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h.  */
29881 #include <math.h>
29882                       #ifdef HAVE_IEEEFP_H
29883                       #include <ieeefp.h>
29884                       #endif
29885
29886 int
29887 main ()
29888 {
29889  _finitef(0);
29890   ;
29891   return 0;
29892 }
29893 _ACEOF
29894 if ac_fn_cxx_try_compile "$LINENO"; then :
29895   glibcxx_cv_func__finitef_use=yes
29896 else
29897   glibcxx_cv_func__finitef_use=no
29898 fi
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900       ac_ext=c
29901 ac_cpp='$CPP $CPPFLAGS'
29902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905
29906
29907 fi
29908
29909   fi
29910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29911 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29912
29913     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29914       for ac_func in _finitef
29915 do :
29916   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29917 if test "x$ac_cv_func__finitef" = x""yes; then :
29918   cat >>confdefs.h <<_ACEOF
29919 #define HAVE__FINITEF 1
29920 _ACEOF
29921
29922 fi
29923 done
29924
29925     fi
29926   fi
29927
29928
29929
29930
29931
29932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29933 $as_echo_n "checking for long double trig functions... " >&6; }
29934   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29935   $as_echo_n "(cached) " >&6
29936 else
29937
29938
29939     ac_ext=cpp
29940 ac_cpp='$CXXCPP $CPPFLAGS'
29941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29944
29945     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h.  */
29947 #include <math.h>
29948 int
29949 main ()
29950 {
29951 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29952   ;
29953   return 0;
29954 }
29955 _ACEOF
29956 if ac_fn_cxx_try_compile "$LINENO"; then :
29957   glibcxx_cv_func_long_double_trig_use=yes
29958 else
29959   glibcxx_cv_func_long_double_trig_use=no
29960 fi
29961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29962     ac_ext=c
29963 ac_cpp='$CPP $CPPFLAGS'
29964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29967
29968 fi
29969
29970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29971 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29972   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29973     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29974 do :
29975   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29977 eval as_val=\$$as_ac_var
29978    if test "x$as_val" = x""yes; then :
29979   cat >>confdefs.h <<_ACEOF
29980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29981 _ACEOF
29982
29983 fi
29984 done
29985
29986   else
29987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29988 $as_echo_n "checking for _long double trig functions... " >&6; }
29989     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29990   $as_echo_n "(cached) " >&6
29991 else
29992
29993
29994       ac_ext=cpp
29995 ac_cpp='$CXXCPP $CPPFLAGS'
29996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29999
30000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30001 /* end confdefs.h.  */
30002 #include <math.h>
30003 int
30004 main ()
30005 {
30006 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30007   ;
30008   return 0;
30009 }
30010 _ACEOF
30011 if ac_fn_cxx_try_compile "$LINENO"; then :
30012   glibcxx_cv_func__long_double_trig_use=yes
30013 else
30014   glibcxx_cv_func__long_double_trig_use=no
30015 fi
30016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30017       ac_ext=c
30018 ac_cpp='$CPP $CPPFLAGS'
30019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30022
30023 fi
30024
30025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30026 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30027     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30028       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30029 do :
30030   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30032 eval as_val=\$$as_ac_var
30033    if test "x$as_val" = x""yes; then :
30034   cat >>confdefs.h <<_ACEOF
30035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30036 _ACEOF
30037
30038 fi
30039 done
30040
30041     fi
30042   fi
30043
30044
30045
30046
30047
30048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30049 $as_echo_n "checking for long double round functions... " >&6; }
30050   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30051   $as_echo_n "(cached) " >&6
30052 else
30053
30054
30055     ac_ext=cpp
30056 ac_cpp='$CXXCPP $CPPFLAGS'
30057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060
30061     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30062 /* end confdefs.h.  */
30063 #include <math.h>
30064 int
30065 main ()
30066 {
30067 ceill (0); floorl (0);
30068   ;
30069   return 0;
30070 }
30071 _ACEOF
30072 if ac_fn_cxx_try_compile "$LINENO"; then :
30073   glibcxx_cv_func_long_double_round_use=yes
30074 else
30075   glibcxx_cv_func_long_double_round_use=no
30076 fi
30077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30078     ac_ext=c
30079 ac_cpp='$CPP $CPPFLAGS'
30080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30083
30084 fi
30085
30086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30087 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30088   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30089     for ac_func in ceill floorl
30090 do :
30091   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30093 eval as_val=\$$as_ac_var
30094    if test "x$as_val" = x""yes; then :
30095   cat >>confdefs.h <<_ACEOF
30096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30097 _ACEOF
30098
30099 fi
30100 done
30101
30102   else
30103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30104 $as_echo_n "checking for _long double round functions... " >&6; }
30105     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30106   $as_echo_n "(cached) " >&6
30107 else
30108
30109
30110       ac_ext=cpp
30111 ac_cpp='$CXXCPP $CPPFLAGS'
30112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30115
30116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30117 /* end confdefs.h.  */
30118 #include <math.h>
30119 int
30120 main ()
30121 {
30122 _ceill (0); _floorl (0);
30123   ;
30124   return 0;
30125 }
30126 _ACEOF
30127 if ac_fn_cxx_try_compile "$LINENO"; then :
30128   glibcxx_cv_func__long_double_round_use=yes
30129 else
30130   glibcxx_cv_func__long_double_round_use=no
30131 fi
30132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30133       ac_ext=c
30134 ac_cpp='$CPP $CPPFLAGS'
30135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30138
30139 fi
30140
30141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30142 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30143     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30144       for ac_func in _ceill _floorl
30145 do :
30146   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30148 eval as_val=\$$as_ac_var
30149    if test "x$as_val" = x""yes; then :
30150   cat >>confdefs.h <<_ACEOF
30151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30152 _ACEOF
30153
30154 fi
30155 done
30156
30157     fi
30158   fi
30159
30160
30161
30162
30163
30164
30165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30166 $as_echo_n "checking for isnanl declaration... " >&6; }
30167   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30168     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30169   $as_echo_n "(cached) " >&6
30170 else
30171
30172
30173       ac_ext=cpp
30174 ac_cpp='$CXXCPP $CPPFLAGS'
30175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178
30179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h.  */
30181 #include <math.h>
30182                       #ifdef HAVE_IEEEFP_H
30183                       #include <ieeefp.h>
30184                       #endif
30185
30186 int
30187 main ()
30188 {
30189  isnanl(0);
30190   ;
30191   return 0;
30192 }
30193 _ACEOF
30194 if ac_fn_cxx_try_compile "$LINENO"; then :
30195   glibcxx_cv_func_isnanl_use=yes
30196 else
30197   glibcxx_cv_func_isnanl_use=no
30198 fi
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200       ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205
30206
30207 fi
30208
30209   fi
30210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30211 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30212
30213   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30214     for ac_func in isnanl
30215 do :
30216   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30217 if test "x$ac_cv_func_isnanl" = x""yes; then :
30218   cat >>confdefs.h <<_ACEOF
30219 #define HAVE_ISNANL 1
30220 _ACEOF
30221
30222 fi
30223 done
30224
30225   else
30226
30227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30228 $as_echo_n "checking for _isnanl declaration... " >&6; }
30229   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30230     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30231   $as_echo_n "(cached) " >&6
30232 else
30233
30234
30235       ac_ext=cpp
30236 ac_cpp='$CXXCPP $CPPFLAGS'
30237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30240
30241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h.  */
30243 #include <math.h>
30244                       #ifdef HAVE_IEEEFP_H
30245                       #include <ieeefp.h>
30246                       #endif
30247
30248 int
30249 main ()
30250 {
30251  _isnanl(0);
30252   ;
30253   return 0;
30254 }
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257   glibcxx_cv_func__isnanl_use=yes
30258 else
30259   glibcxx_cv_func__isnanl_use=no
30260 fi
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262       ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267
30268
30269 fi
30270
30271   fi
30272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30273 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30274
30275     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30276       for ac_func in _isnanl
30277 do :
30278   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30279 if test "x$ac_cv_func__isnanl" = x""yes; then :
30280   cat >>confdefs.h <<_ACEOF
30281 #define HAVE__ISNANL 1
30282 _ACEOF
30283
30284 fi
30285 done
30286
30287     fi
30288   fi
30289
30290
30291
30292
30293
30294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30295 $as_echo_n "checking for isinfl declaration... " >&6; }
30296   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30297     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30298   $as_echo_n "(cached) " >&6
30299 else
30300
30301
30302       ac_ext=cpp
30303 ac_cpp='$CXXCPP $CPPFLAGS'
30304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30307
30308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30309 /* end confdefs.h.  */
30310 #include <math.h>
30311                       #ifdef HAVE_IEEEFP_H
30312                       #include <ieeefp.h>
30313                       #endif
30314
30315 int
30316 main ()
30317 {
30318  isinfl(0);
30319   ;
30320   return 0;
30321 }
30322 _ACEOF
30323 if ac_fn_cxx_try_compile "$LINENO"; then :
30324   glibcxx_cv_func_isinfl_use=yes
30325 else
30326   glibcxx_cv_func_isinfl_use=no
30327 fi
30328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30329       ac_ext=c
30330 ac_cpp='$CPP $CPPFLAGS'
30331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30334
30335
30336 fi
30337
30338   fi
30339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30340 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30341
30342   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30343     for ac_func in isinfl
30344 do :
30345   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30346 if test "x$ac_cv_func_isinfl" = x""yes; then :
30347   cat >>confdefs.h <<_ACEOF
30348 #define HAVE_ISINFL 1
30349 _ACEOF
30350
30351 fi
30352 done
30353
30354   else
30355
30356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30357 $as_echo_n "checking for _isinfl declaration... " >&6; }
30358   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30359     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30360   $as_echo_n "(cached) " >&6
30361 else
30362
30363
30364       ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30369
30370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h.  */
30372 #include <math.h>
30373                       #ifdef HAVE_IEEEFP_H
30374                       #include <ieeefp.h>
30375                       #endif
30376
30377 int
30378 main ()
30379 {
30380  _isinfl(0);
30381   ;
30382   return 0;
30383 }
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386   glibcxx_cv_func__isinfl_use=yes
30387 else
30388   glibcxx_cv_func__isinfl_use=no
30389 fi
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391       ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396
30397
30398 fi
30399
30400   fi
30401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30402 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30403
30404     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30405       for ac_func in _isinfl
30406 do :
30407   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30408 if test "x$ac_cv_func__isinfl" = x""yes; then :
30409   cat >>confdefs.h <<_ACEOF
30410 #define HAVE__ISINFL 1
30411 _ACEOF
30412
30413 fi
30414 done
30415
30416     fi
30417   fi
30418
30419
30420
30421
30422
30423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30424 $as_echo_n "checking for atan2l declaration... " >&6; }
30425   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30426     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30427   $as_echo_n "(cached) " >&6
30428 else
30429
30430
30431       ac_ext=cpp
30432 ac_cpp='$CXXCPP $CPPFLAGS'
30433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30436
30437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30438 /* end confdefs.h.  */
30439 #include <math.h>
30440 int
30441 main ()
30442 {
30443  atan2l(0, 0);
30444   ;
30445   return 0;
30446 }
30447 _ACEOF
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449   glibcxx_cv_func_atan2l_use=yes
30450 else
30451   glibcxx_cv_func_atan2l_use=no
30452 fi
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454       ac_ext=c
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30459
30460
30461 fi
30462
30463   fi
30464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30465 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30466
30467   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30468     for ac_func in atan2l
30469 do :
30470   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30471 if test "x$ac_cv_func_atan2l" = x""yes; then :
30472   cat >>confdefs.h <<_ACEOF
30473 #define HAVE_ATAN2L 1
30474 _ACEOF
30475
30476 fi
30477 done
30478
30479   else
30480
30481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30482 $as_echo_n "checking for _atan2l declaration... " >&6; }
30483   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30484     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30485   $as_echo_n "(cached) " >&6
30486 else
30487
30488
30489       ac_ext=cpp
30490 ac_cpp='$CXXCPP $CPPFLAGS'
30491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30494
30495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30496 /* end confdefs.h.  */
30497 #include <math.h>
30498 int
30499 main ()
30500 {
30501  _atan2l(0, 0);
30502   ;
30503   return 0;
30504 }
30505 _ACEOF
30506 if ac_fn_cxx_try_compile "$LINENO"; then :
30507   glibcxx_cv_func__atan2l_use=yes
30508 else
30509   glibcxx_cv_func__atan2l_use=no
30510 fi
30511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30512       ac_ext=c
30513 ac_cpp='$CPP $CPPFLAGS'
30514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517
30518
30519 fi
30520
30521   fi
30522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30523 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30524
30525     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30526       for ac_func in _atan2l
30527 do :
30528   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30529 if test "x$ac_cv_func__atan2l" = x""yes; then :
30530   cat >>confdefs.h <<_ACEOF
30531 #define HAVE__ATAN2L 1
30532 _ACEOF
30533
30534 fi
30535 done
30536
30537     fi
30538   fi
30539
30540
30541
30542
30543
30544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30545 $as_echo_n "checking for expl declaration... " >&6; }
30546   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30547     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30548   $as_echo_n "(cached) " >&6
30549 else
30550
30551
30552       ac_ext=cpp
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30557
30558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h.  */
30560 #include <math.h>
30561                       #ifdef HAVE_IEEEFP_H
30562                       #include <ieeefp.h>
30563                       #endif
30564
30565 int
30566 main ()
30567 {
30568  expl(0);
30569   ;
30570   return 0;
30571 }
30572 _ACEOF
30573 if ac_fn_cxx_try_compile "$LINENO"; then :
30574   glibcxx_cv_func_expl_use=yes
30575 else
30576   glibcxx_cv_func_expl_use=no
30577 fi
30578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30579       ac_ext=c
30580 ac_cpp='$CPP $CPPFLAGS'
30581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584
30585
30586 fi
30587
30588   fi
30589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30590 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30591
30592   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30593     for ac_func in expl
30594 do :
30595   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30596 if test "x$ac_cv_func_expl" = x""yes; then :
30597   cat >>confdefs.h <<_ACEOF
30598 #define HAVE_EXPL 1
30599 _ACEOF
30600
30601 fi
30602 done
30603
30604   else
30605
30606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30607 $as_echo_n "checking for _expl declaration... " >&6; }
30608   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30609     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30610   $as_echo_n "(cached) " >&6
30611 else
30612
30613
30614       ac_ext=cpp
30615 ac_cpp='$CXXCPP $CPPFLAGS'
30616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30619
30620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30621 /* end confdefs.h.  */
30622 #include <math.h>
30623                       #ifdef HAVE_IEEEFP_H
30624                       #include <ieeefp.h>
30625                       #endif
30626
30627 int
30628 main ()
30629 {
30630  _expl(0);
30631   ;
30632   return 0;
30633 }
30634 _ACEOF
30635 if ac_fn_cxx_try_compile "$LINENO"; then :
30636   glibcxx_cv_func__expl_use=yes
30637 else
30638   glibcxx_cv_func__expl_use=no
30639 fi
30640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30641       ac_ext=c
30642 ac_cpp='$CPP $CPPFLAGS'
30643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30646
30647
30648 fi
30649
30650   fi
30651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30652 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30653
30654     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30655       for ac_func in _expl
30656 do :
30657   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30658 if test "x$ac_cv_func__expl" = x""yes; then :
30659   cat >>confdefs.h <<_ACEOF
30660 #define HAVE__EXPL 1
30661 _ACEOF
30662
30663 fi
30664 done
30665
30666     fi
30667   fi
30668
30669
30670
30671
30672
30673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30674 $as_echo_n "checking for fabsl declaration... " >&6; }
30675   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30676     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30677   $as_echo_n "(cached) " >&6
30678 else
30679
30680
30681       ac_ext=cpp
30682 ac_cpp='$CXXCPP $CPPFLAGS'
30683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30686
30687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30688 /* end confdefs.h.  */
30689 #include <math.h>
30690                       #ifdef HAVE_IEEEFP_H
30691                       #include <ieeefp.h>
30692                       #endif
30693
30694 int
30695 main ()
30696 {
30697  fabsl(0);
30698   ;
30699   return 0;
30700 }
30701 _ACEOF
30702 if ac_fn_cxx_try_compile "$LINENO"; then :
30703   glibcxx_cv_func_fabsl_use=yes
30704 else
30705   glibcxx_cv_func_fabsl_use=no
30706 fi
30707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708       ac_ext=c
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30713
30714
30715 fi
30716
30717   fi
30718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30719 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30720
30721   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30722     for ac_func in fabsl
30723 do :
30724   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30725 if test "x$ac_cv_func_fabsl" = x""yes; then :
30726   cat >>confdefs.h <<_ACEOF
30727 #define HAVE_FABSL 1
30728 _ACEOF
30729
30730 fi
30731 done
30732
30733   else
30734
30735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30736 $as_echo_n "checking for _fabsl declaration... " >&6; }
30737   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30738     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30739   $as_echo_n "(cached) " >&6
30740 else
30741
30742
30743       ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748
30749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h.  */
30751 #include <math.h>
30752                       #ifdef HAVE_IEEEFP_H
30753                       #include <ieeefp.h>
30754                       #endif
30755
30756 int
30757 main ()
30758 {
30759  _fabsl(0);
30760   ;
30761   return 0;
30762 }
30763 _ACEOF
30764 if ac_fn_cxx_try_compile "$LINENO"; then :
30765   glibcxx_cv_func__fabsl_use=yes
30766 else
30767   glibcxx_cv_func__fabsl_use=no
30768 fi
30769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770       ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775
30776
30777 fi
30778
30779   fi
30780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30781 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30782
30783     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30784       for ac_func in _fabsl
30785 do :
30786   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30787 if test "x$ac_cv_func__fabsl" = x""yes; then :
30788   cat >>confdefs.h <<_ACEOF
30789 #define HAVE__FABSL 1
30790 _ACEOF
30791
30792 fi
30793 done
30794
30795     fi
30796   fi
30797
30798
30799
30800
30801
30802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30803 $as_echo_n "checking for fmodl declaration... " >&6; }
30804   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30805     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30806   $as_echo_n "(cached) " >&6
30807 else
30808
30809
30810       ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30815
30816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h.  */
30818 #include <math.h>
30819 int
30820 main ()
30821 {
30822  fmodl(0, 0);
30823   ;
30824   return 0;
30825 }
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828   glibcxx_cv_func_fmodl_use=yes
30829 else
30830   glibcxx_cv_func_fmodl_use=no
30831 fi
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833       ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30838
30839
30840 fi
30841
30842   fi
30843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30844 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30845
30846   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30847     for ac_func in fmodl
30848 do :
30849   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30850 if test "x$ac_cv_func_fmodl" = x""yes; then :
30851   cat >>confdefs.h <<_ACEOF
30852 #define HAVE_FMODL 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858   else
30859
30860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30861 $as_echo_n "checking for _fmodl declaration... " >&6; }
30862   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30863     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30864   $as_echo_n "(cached) " >&6
30865 else
30866
30867
30868       ac_ext=cpp
30869 ac_cpp='$CXXCPP $CPPFLAGS'
30870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30873
30874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h.  */
30876 #include <math.h>
30877 int
30878 main ()
30879 {
30880  _fmodl(0, 0);
30881   ;
30882   return 0;
30883 }
30884 _ACEOF
30885 if ac_fn_cxx_try_compile "$LINENO"; then :
30886   glibcxx_cv_func__fmodl_use=yes
30887 else
30888   glibcxx_cv_func__fmodl_use=no
30889 fi
30890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30891       ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896
30897
30898 fi
30899
30900   fi
30901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30902 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30903
30904     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30905       for ac_func in _fmodl
30906 do :
30907   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30908 if test "x$ac_cv_func__fmodl" = x""yes; then :
30909   cat >>confdefs.h <<_ACEOF
30910 #define HAVE__FMODL 1
30911 _ACEOF
30912
30913 fi
30914 done
30915
30916     fi
30917   fi
30918
30919
30920
30921
30922
30923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30924 $as_echo_n "checking for frexpl declaration... " >&6; }
30925   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30926     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30927   $as_echo_n "(cached) " >&6
30928 else
30929
30930
30931       ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h.  */
30939 #include <math.h>
30940 int
30941 main ()
30942 {
30943  frexpl(0, 0);
30944   ;
30945   return 0;
30946 }
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949   glibcxx_cv_func_frexpl_use=yes
30950 else
30951   glibcxx_cv_func_frexpl_use=no
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954       ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962
30963   fi
30964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30965 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30966
30967   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30968     for ac_func in frexpl
30969 do :
30970   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30971 if test "x$ac_cv_func_frexpl" = x""yes; then :
30972   cat >>confdefs.h <<_ACEOF
30973 #define HAVE_FREXPL 1
30974 _ACEOF
30975
30976 fi
30977 done
30978
30979   else
30980
30981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30982 $as_echo_n "checking for _frexpl declaration... " >&6; }
30983   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30984     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30985   $as_echo_n "(cached) " >&6
30986 else
30987
30988
30989       ac_ext=cpp
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30994
30995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h.  */
30997 #include <math.h>
30998 int
30999 main ()
31000 {
31001  _frexpl(0, 0);
31002   ;
31003   return 0;
31004 }
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007   glibcxx_cv_func__frexpl_use=yes
31008 else
31009   glibcxx_cv_func__frexpl_use=no
31010 fi
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012       ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017
31018
31019 fi
31020
31021   fi
31022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31023 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31024
31025     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31026       for ac_func in _frexpl
31027 do :
31028   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31029 if test "x$ac_cv_func__frexpl" = x""yes; then :
31030   cat >>confdefs.h <<_ACEOF
31031 #define HAVE__FREXPL 1
31032 _ACEOF
31033
31034 fi
31035 done
31036
31037     fi
31038   fi
31039
31040
31041
31042
31043
31044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31045 $as_echo_n "checking for hypotl declaration... " >&6; }
31046   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31047     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31048   $as_echo_n "(cached) " >&6
31049 else
31050
31051
31052       ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31057
31058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h.  */
31060 #include <math.h>
31061 int
31062 main ()
31063 {
31064  hypotl(0, 0);
31065   ;
31066   return 0;
31067 }
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070   glibcxx_cv_func_hypotl_use=yes
31071 else
31072   glibcxx_cv_func_hypotl_use=no
31073 fi
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075       ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31080
31081
31082 fi
31083
31084   fi
31085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31086 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31087
31088   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31089     for ac_func in hypotl
31090 do :
31091   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31092 if test "x$ac_cv_func_hypotl" = x""yes; then :
31093   cat >>confdefs.h <<_ACEOF
31094 #define HAVE_HYPOTL 1
31095 _ACEOF
31096
31097 fi
31098 done
31099
31100   else
31101
31102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31103 $as_echo_n "checking for _hypotl declaration... " >&6; }
31104   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31105     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31106   $as_echo_n "(cached) " >&6
31107 else
31108
31109
31110       ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31115
31116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h.  */
31118 #include <math.h>
31119 int
31120 main ()
31121 {
31122  _hypotl(0, 0);
31123   ;
31124   return 0;
31125 }
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128   glibcxx_cv_func__hypotl_use=yes
31129 else
31130   glibcxx_cv_func__hypotl_use=no
31131 fi
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133       ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31138
31139
31140 fi
31141
31142   fi
31143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31144 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31145
31146     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31147       for ac_func in _hypotl
31148 do :
31149   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31150 if test "x$ac_cv_func__hypotl" = x""yes; then :
31151   cat >>confdefs.h <<_ACEOF
31152 #define HAVE__HYPOTL 1
31153 _ACEOF
31154
31155 fi
31156 done
31157
31158     fi
31159   fi
31160
31161
31162
31163
31164
31165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31166 $as_echo_n "checking for ldexpl declaration... " >&6; }
31167   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31168     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31169   $as_echo_n "(cached) " >&6
31170 else
31171
31172
31173       ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31178
31179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h.  */
31181 #include <math.h>
31182 int
31183 main ()
31184 {
31185  ldexpl(0, 0);
31186   ;
31187   return 0;
31188 }
31189 _ACEOF
31190 if ac_fn_cxx_try_compile "$LINENO"; then :
31191   glibcxx_cv_func_ldexpl_use=yes
31192 else
31193   glibcxx_cv_func_ldexpl_use=no
31194 fi
31195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31196       ac_ext=c
31197 ac_cpp='$CPP $CPPFLAGS'
31198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31201
31202
31203 fi
31204
31205   fi
31206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31207 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31208
31209   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31210     for ac_func in ldexpl
31211 do :
31212   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31213 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31214   cat >>confdefs.h <<_ACEOF
31215 #define HAVE_LDEXPL 1
31216 _ACEOF
31217
31218 fi
31219 done
31220
31221   else
31222
31223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31224 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31225   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31226     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31227   $as_echo_n "(cached) " >&6
31228 else
31229
31230
31231       ac_ext=cpp
31232 ac_cpp='$CXXCPP $CPPFLAGS'
31233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31236
31237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31238 /* end confdefs.h.  */
31239 #include <math.h>
31240 int
31241 main ()
31242 {
31243  _ldexpl(0, 0);
31244   ;
31245   return 0;
31246 }
31247 _ACEOF
31248 if ac_fn_cxx_try_compile "$LINENO"; then :
31249   glibcxx_cv_func__ldexpl_use=yes
31250 else
31251   glibcxx_cv_func__ldexpl_use=no
31252 fi
31253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31254       ac_ext=c
31255 ac_cpp='$CPP $CPPFLAGS'
31256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31259
31260
31261 fi
31262
31263   fi
31264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31265 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31266
31267     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31268       for ac_func in _ldexpl
31269 do :
31270   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31271 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31272   cat >>confdefs.h <<_ACEOF
31273 #define HAVE__LDEXPL 1
31274 _ACEOF
31275
31276 fi
31277 done
31278
31279     fi
31280   fi
31281
31282
31283
31284
31285
31286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31287 $as_echo_n "checking for logl declaration... " >&6; }
31288   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31289     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31290   $as_echo_n "(cached) " >&6
31291 else
31292
31293
31294       ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299
31300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h.  */
31302 #include <math.h>
31303                       #ifdef HAVE_IEEEFP_H
31304                       #include <ieeefp.h>
31305                       #endif
31306
31307 int
31308 main ()
31309 {
31310  logl(0);
31311   ;
31312   return 0;
31313 }
31314 _ACEOF
31315 if ac_fn_cxx_try_compile "$LINENO"; then :
31316   glibcxx_cv_func_logl_use=yes
31317 else
31318   glibcxx_cv_func_logl_use=no
31319 fi
31320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31321       ac_ext=c
31322 ac_cpp='$CPP $CPPFLAGS'
31323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31326
31327
31328 fi
31329
31330   fi
31331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31332 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31333
31334   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31335     for ac_func in logl
31336 do :
31337   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31338 if test "x$ac_cv_func_logl" = x""yes; then :
31339   cat >>confdefs.h <<_ACEOF
31340 #define HAVE_LOGL 1
31341 _ACEOF
31342
31343 fi
31344 done
31345
31346   else
31347
31348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31349 $as_echo_n "checking for _logl declaration... " >&6; }
31350   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31351     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31352   $as_echo_n "(cached) " >&6
31353 else
31354
31355
31356       ac_ext=cpp
31357 ac_cpp='$CXXCPP $CPPFLAGS'
31358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361
31362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31363 /* end confdefs.h.  */
31364 #include <math.h>
31365                       #ifdef HAVE_IEEEFP_H
31366                       #include <ieeefp.h>
31367                       #endif
31368
31369 int
31370 main ()
31371 {
31372  _logl(0);
31373   ;
31374   return 0;
31375 }
31376 _ACEOF
31377 if ac_fn_cxx_try_compile "$LINENO"; then :
31378   glibcxx_cv_func__logl_use=yes
31379 else
31380   glibcxx_cv_func__logl_use=no
31381 fi
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383       ac_ext=c
31384 ac_cpp='$CPP $CPPFLAGS'
31385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388
31389
31390 fi
31391
31392   fi
31393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31394 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31395
31396     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31397       for ac_func in _logl
31398 do :
31399   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31400 if test "x$ac_cv_func__logl" = x""yes; then :
31401   cat >>confdefs.h <<_ACEOF
31402 #define HAVE__LOGL 1
31403 _ACEOF
31404
31405 fi
31406 done
31407
31408     fi
31409   fi
31410
31411
31412
31413
31414
31415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31416 $as_echo_n "checking for log10l declaration... " >&6; }
31417   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31418     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31419   $as_echo_n "(cached) " >&6
31420 else
31421
31422
31423       ac_ext=cpp
31424 ac_cpp='$CXXCPP $CPPFLAGS'
31425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31428
31429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31430 /* end confdefs.h.  */
31431 #include <math.h>
31432                       #ifdef HAVE_IEEEFP_H
31433                       #include <ieeefp.h>
31434                       #endif
31435
31436 int
31437 main ()
31438 {
31439  log10l(0);
31440   ;
31441   return 0;
31442 }
31443 _ACEOF
31444 if ac_fn_cxx_try_compile "$LINENO"; then :
31445   glibcxx_cv_func_log10l_use=yes
31446 else
31447   glibcxx_cv_func_log10l_use=no
31448 fi
31449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450       ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31455
31456
31457 fi
31458
31459   fi
31460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31461 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31462
31463   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31464     for ac_func in log10l
31465 do :
31466   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31467 if test "x$ac_cv_func_log10l" = x""yes; then :
31468   cat >>confdefs.h <<_ACEOF
31469 #define HAVE_LOG10L 1
31470 _ACEOF
31471
31472 fi
31473 done
31474
31475   else
31476
31477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31478 $as_echo_n "checking for _log10l declaration... " >&6; }
31479   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31480     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31481   $as_echo_n "(cached) " >&6
31482 else
31483
31484
31485       ac_ext=cpp
31486 ac_cpp='$CXXCPP $CPPFLAGS'
31487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31490
31491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31492 /* end confdefs.h.  */
31493 #include <math.h>
31494                       #ifdef HAVE_IEEEFP_H
31495                       #include <ieeefp.h>
31496                       #endif
31497
31498 int
31499 main ()
31500 {
31501  _log10l(0);
31502   ;
31503   return 0;
31504 }
31505 _ACEOF
31506 if ac_fn_cxx_try_compile "$LINENO"; then :
31507   glibcxx_cv_func__log10l_use=yes
31508 else
31509   glibcxx_cv_func__log10l_use=no
31510 fi
31511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31512       ac_ext=c
31513 ac_cpp='$CPP $CPPFLAGS'
31514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517
31518
31519 fi
31520
31521   fi
31522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31523 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31524
31525     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31526       for ac_func in _log10l
31527 do :
31528   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31529 if test "x$ac_cv_func__log10l" = x""yes; then :
31530   cat >>confdefs.h <<_ACEOF
31531 #define HAVE__LOG10L 1
31532 _ACEOF
31533
31534 fi
31535 done
31536
31537     fi
31538   fi
31539
31540
31541
31542
31543
31544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31545 $as_echo_n "checking for modfl declaration... " >&6; }
31546   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31547     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31548   $as_echo_n "(cached) " >&6
31549 else
31550
31551
31552       ac_ext=cpp
31553 ac_cpp='$CXXCPP $CPPFLAGS'
31554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31557
31558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31559 /* end confdefs.h.  */
31560 #include <math.h>
31561 int
31562 main ()
31563 {
31564  modfl(0, 0);
31565   ;
31566   return 0;
31567 }
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570   glibcxx_cv_func_modfl_use=yes
31571 else
31572   glibcxx_cv_func_modfl_use=no
31573 fi
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575       ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31580
31581
31582 fi
31583
31584   fi
31585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31586 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31587
31588   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31589     for ac_func in modfl
31590 do :
31591   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31592 if test "x$ac_cv_func_modfl" = x""yes; then :
31593   cat >>confdefs.h <<_ACEOF
31594 #define HAVE_MODFL 1
31595 _ACEOF
31596
31597 fi
31598 done
31599
31600   else
31601
31602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31603 $as_echo_n "checking for _modfl declaration... " >&6; }
31604   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31605     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31606   $as_echo_n "(cached) " >&6
31607 else
31608
31609
31610       ac_ext=cpp
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615
31616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31617 /* end confdefs.h.  */
31618 #include <math.h>
31619 int
31620 main ()
31621 {
31622  _modfl(0, 0);
31623   ;
31624   return 0;
31625 }
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628   glibcxx_cv_func__modfl_use=yes
31629 else
31630   glibcxx_cv_func__modfl_use=no
31631 fi
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633       ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638
31639
31640 fi
31641
31642   fi
31643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31644 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31645
31646     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31647       for ac_func in _modfl
31648 do :
31649   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31650 if test "x$ac_cv_func__modfl" = x""yes; then :
31651   cat >>confdefs.h <<_ACEOF
31652 #define HAVE__MODFL 1
31653 _ACEOF
31654
31655 fi
31656 done
31657
31658     fi
31659   fi
31660
31661
31662
31663
31664
31665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31666 $as_echo_n "checking for powl declaration... " >&6; }
31667   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31668     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31669   $as_echo_n "(cached) " >&6
31670 else
31671
31672
31673       ac_ext=cpp
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31678
31679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h.  */
31681 #include <math.h>
31682 int
31683 main ()
31684 {
31685  powl(0, 0);
31686   ;
31687   return 0;
31688 }
31689 _ACEOF
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691   glibcxx_cv_func_powl_use=yes
31692 else
31693   glibcxx_cv_func_powl_use=no
31694 fi
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696       ac_ext=c
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31701
31702
31703 fi
31704
31705   fi
31706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31707 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31708
31709   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31710     for ac_func in powl
31711 do :
31712   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31713 if test "x$ac_cv_func_powl" = x""yes; then :
31714   cat >>confdefs.h <<_ACEOF
31715 #define HAVE_POWL 1
31716 _ACEOF
31717
31718 fi
31719 done
31720
31721   else
31722
31723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31724 $as_echo_n "checking for _powl declaration... " >&6; }
31725   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31726     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31727   $as_echo_n "(cached) " >&6
31728 else
31729
31730
31731       ac_ext=cpp
31732 ac_cpp='$CXXCPP $CPPFLAGS'
31733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31736
31737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31738 /* end confdefs.h.  */
31739 #include <math.h>
31740 int
31741 main ()
31742 {
31743  _powl(0, 0);
31744   ;
31745   return 0;
31746 }
31747 _ACEOF
31748 if ac_fn_cxx_try_compile "$LINENO"; then :
31749   glibcxx_cv_func__powl_use=yes
31750 else
31751   glibcxx_cv_func__powl_use=no
31752 fi
31753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31754       ac_ext=c
31755 ac_cpp='$CPP $CPPFLAGS'
31756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31759
31760
31761 fi
31762
31763   fi
31764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31765 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31766
31767     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31768       for ac_func in _powl
31769 do :
31770   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31771 if test "x$ac_cv_func__powl" = x""yes; then :
31772   cat >>confdefs.h <<_ACEOF
31773 #define HAVE__POWL 1
31774 _ACEOF
31775
31776 fi
31777 done
31778
31779     fi
31780   fi
31781
31782
31783
31784
31785
31786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31787 $as_echo_n "checking for sqrtl declaration... " >&6; }
31788   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31789     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31790   $as_echo_n "(cached) " >&6
31791 else
31792
31793
31794       ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31799
31800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h.  */
31802 #include <math.h>
31803                       #ifdef HAVE_IEEEFP_H
31804                       #include <ieeefp.h>
31805                       #endif
31806
31807 int
31808 main ()
31809 {
31810  sqrtl(0);
31811   ;
31812   return 0;
31813 }
31814 _ACEOF
31815 if ac_fn_cxx_try_compile "$LINENO"; then :
31816   glibcxx_cv_func_sqrtl_use=yes
31817 else
31818   glibcxx_cv_func_sqrtl_use=no
31819 fi
31820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31821       ac_ext=c
31822 ac_cpp='$CPP $CPPFLAGS'
31823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31826
31827
31828 fi
31829
31830   fi
31831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31832 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31833
31834   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31835     for ac_func in sqrtl
31836 do :
31837   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31838 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31839   cat >>confdefs.h <<_ACEOF
31840 #define HAVE_SQRTL 1
31841 _ACEOF
31842
31843 fi
31844 done
31845
31846   else
31847
31848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31849 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31850   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31851     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31852   $as_echo_n "(cached) " >&6
31853 else
31854
31855
31856       ac_ext=cpp
31857 ac_cpp='$CXXCPP $CPPFLAGS'
31858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861
31862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h.  */
31864 #include <math.h>
31865                       #ifdef HAVE_IEEEFP_H
31866                       #include <ieeefp.h>
31867                       #endif
31868
31869 int
31870 main ()
31871 {
31872  _sqrtl(0);
31873   ;
31874   return 0;
31875 }
31876 _ACEOF
31877 if ac_fn_cxx_try_compile "$LINENO"; then :
31878   glibcxx_cv_func__sqrtl_use=yes
31879 else
31880   glibcxx_cv_func__sqrtl_use=no
31881 fi
31882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31883       ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888
31889
31890 fi
31891
31892   fi
31893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31894 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31895
31896     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31897       for ac_func in _sqrtl
31898 do :
31899   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31900 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31901   cat >>confdefs.h <<_ACEOF
31902 #define HAVE__SQRTL 1
31903 _ACEOF
31904
31905 fi
31906 done
31907
31908     fi
31909   fi
31910
31911
31912
31913
31914
31915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31916 $as_echo_n "checking for sincosl declaration... " >&6; }
31917   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31918     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31919   $as_echo_n "(cached) " >&6
31920 else
31921
31922
31923       ac_ext=cpp
31924 ac_cpp='$CXXCPP $CPPFLAGS'
31925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928
31929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31930 /* end confdefs.h.  */
31931 #include <math.h>
31932 int
31933 main ()
31934 {
31935  sincosl(0, 0, 0);
31936   ;
31937   return 0;
31938 }
31939 _ACEOF
31940 if ac_fn_cxx_try_compile "$LINENO"; then :
31941   glibcxx_cv_func_sincosl_use=yes
31942 else
31943   glibcxx_cv_func_sincosl_use=no
31944 fi
31945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31946       ac_ext=c
31947 ac_cpp='$CPP $CPPFLAGS'
31948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951
31952
31953 fi
31954
31955   fi
31956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31957 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31958
31959   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31960     for ac_func in sincosl
31961 do :
31962   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31963 if test "x$ac_cv_func_sincosl" = x""yes; then :
31964   cat >>confdefs.h <<_ACEOF
31965 #define HAVE_SINCOSL 1
31966 _ACEOF
31967
31968 fi
31969 done
31970
31971   else
31972
31973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31974 $as_echo_n "checking for _sincosl declaration... " >&6; }
31975   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31976     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31977   $as_echo_n "(cached) " >&6
31978 else
31979
31980
31981       ac_ext=cpp
31982 ac_cpp='$CXXCPP $CPPFLAGS'
31983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31986
31987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31988 /* end confdefs.h.  */
31989 #include <math.h>
31990 int
31991 main ()
31992 {
31993  _sincosl(0, 0, 0);
31994   ;
31995   return 0;
31996 }
31997 _ACEOF
31998 if ac_fn_cxx_try_compile "$LINENO"; then :
31999   glibcxx_cv_func__sincosl_use=yes
32000 else
32001   glibcxx_cv_func__sincosl_use=no
32002 fi
32003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32004       ac_ext=c
32005 ac_cpp='$CPP $CPPFLAGS'
32006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32009
32010
32011 fi
32012
32013   fi
32014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32015 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32016
32017     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32018       for ac_func in _sincosl
32019 do :
32020   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32021 if test "x$ac_cv_func__sincosl" = x""yes; then :
32022   cat >>confdefs.h <<_ACEOF
32023 #define HAVE__SINCOSL 1
32024 _ACEOF
32025
32026 fi
32027 done
32028
32029     fi
32030   fi
32031
32032
32033
32034
32035
32036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32037 $as_echo_n "checking for finitel declaration... " >&6; }
32038   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32039     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32040   $as_echo_n "(cached) " >&6
32041 else
32042
32043
32044       ac_ext=cpp
32045 ac_cpp='$CXXCPP $CPPFLAGS'
32046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32049
32050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32051 /* end confdefs.h.  */
32052 #include <math.h>
32053                       #ifdef HAVE_IEEEFP_H
32054                       #include <ieeefp.h>
32055                       #endif
32056
32057 int
32058 main ()
32059 {
32060  finitel(0);
32061   ;
32062   return 0;
32063 }
32064 _ACEOF
32065 if ac_fn_cxx_try_compile "$LINENO"; then :
32066   glibcxx_cv_func_finitel_use=yes
32067 else
32068   glibcxx_cv_func_finitel_use=no
32069 fi
32070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32071       ac_ext=c
32072 ac_cpp='$CPP $CPPFLAGS'
32073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32076
32077
32078 fi
32079
32080   fi
32081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32082 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32083
32084   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32085     for ac_func in finitel
32086 do :
32087   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32088 if test "x$ac_cv_func_finitel" = x""yes; then :
32089   cat >>confdefs.h <<_ACEOF
32090 #define HAVE_FINITEL 1
32091 _ACEOF
32092
32093 fi
32094 done
32095
32096   else
32097
32098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32099 $as_echo_n "checking for _finitel declaration... " >&6; }
32100   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32101     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32102   $as_echo_n "(cached) " >&6
32103 else
32104
32105
32106       ac_ext=cpp
32107 ac_cpp='$CXXCPP $CPPFLAGS'
32108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32111
32112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32113 /* end confdefs.h.  */
32114 #include <math.h>
32115                       #ifdef HAVE_IEEEFP_H
32116                       #include <ieeefp.h>
32117                       #endif
32118
32119 int
32120 main ()
32121 {
32122  _finitel(0);
32123   ;
32124   return 0;
32125 }
32126 _ACEOF
32127 if ac_fn_cxx_try_compile "$LINENO"; then :
32128   glibcxx_cv_func__finitel_use=yes
32129 else
32130   glibcxx_cv_func__finitel_use=no
32131 fi
32132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32133       ac_ext=c
32134 ac_cpp='$CPP $CPPFLAGS'
32135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32138
32139
32140 fi
32141
32142   fi
32143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32144 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32145
32146     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32147       for ac_func in _finitel
32148 do :
32149   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32150 if test "x$ac_cv_func__finitel" = x""yes; then :
32151   cat >>confdefs.h <<_ACEOF
32152 #define HAVE__FINITEL 1
32153 _ACEOF
32154
32155 fi
32156 done
32157
32158     fi
32159   fi
32160
32161
32162
32163
32164   LIBS="$ac_save_LIBS"
32165   CXXFLAGS="$ac_save_CXXFLAGS"
32166
32167
32168   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32169   ac_save_CXXFLAGS="$CXXFLAGS"
32170   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32171
32172
32173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32174 $as_echo_n "checking for strtold declaration... " >&6; }
32175   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32176     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32177   $as_echo_n "(cached) " >&6
32178 else
32179
32180
32181       ac_ext=cpp
32182 ac_cpp='$CXXCPP $CPPFLAGS'
32183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32186
32187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32188 /* end confdefs.h.  */
32189 #include <stdlib.h>
32190 int
32191 main ()
32192 {
32193  strtold(0, 0);
32194   ;
32195   return 0;
32196 }
32197 _ACEOF
32198 if ac_fn_cxx_try_compile "$LINENO"; then :
32199   glibcxx_cv_func_strtold_use=yes
32200 else
32201   glibcxx_cv_func_strtold_use=no
32202 fi
32203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32204       ac_ext=c
32205 ac_cpp='$CPP $CPPFLAGS'
32206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32209
32210
32211 fi
32212
32213   fi
32214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32215 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32216   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32217     for ac_func in strtold
32218 do :
32219   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32220 if test "x$ac_cv_func_strtold" = x""yes; then :
32221   cat >>confdefs.h <<_ACEOF
32222 #define HAVE_STRTOLD 1
32223 _ACEOF
32224
32225 fi
32226 done
32227
32228   fi
32229
32230
32231
32232
32233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32234 $as_echo_n "checking for strtof declaration... " >&6; }
32235   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32236     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32237   $as_echo_n "(cached) " >&6
32238 else
32239
32240
32241       ac_ext=cpp
32242 ac_cpp='$CXXCPP $CPPFLAGS'
32243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32246
32247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32248 /* end confdefs.h.  */
32249 #include <stdlib.h>
32250 int
32251 main ()
32252 {
32253  strtof(0, 0);
32254   ;
32255   return 0;
32256 }
32257 _ACEOF
32258 if ac_fn_cxx_try_compile "$LINENO"; then :
32259   glibcxx_cv_func_strtof_use=yes
32260 else
32261   glibcxx_cv_func_strtof_use=no
32262 fi
32263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32264       ac_ext=c
32265 ac_cpp='$CPP $CPPFLAGS'
32266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32269
32270
32271 fi
32272
32273   fi
32274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32275 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32276   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32277     for ac_func in strtof
32278 do :
32279   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32280 if test "x$ac_cv_func_strtof" = x""yes; then :
32281   cat >>confdefs.h <<_ACEOF
32282 #define HAVE_STRTOF 1
32283 _ACEOF
32284
32285 fi
32286 done
32287
32288   fi
32289
32290
32291
32292
32293   CXXFLAGS="$ac_save_CXXFLAGS"
32294
32295
32296     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32297
32298     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32299
32300     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32301
32302     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32303
32304
32305     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32306
32307     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32308
32309     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32310
32311     ;;
32312
32313   *-aix*)
32314
32315   # If we're not using GNU ld, then there's no point in even trying these
32316   # tests.  Check for that first.  We should have already tested for gld
32317   # by now (in libtool), but require it now just to be safe...
32318   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32319   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32320
32321
32322
32323   # The name set by libtool depends on the version of libtool.  Shame on us
32324   # for depending on an impl detail, but c'est la vie.  Older versions used
32325   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32326   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32327   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32328   # set (hence we're using an older libtool), then set it.
32329   if test x${with_gnu_ld+set} != xset; then
32330     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32331       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32332       with_gnu_ld=no
32333     else
32334       with_gnu_ld=$ac_cv_prog_gnu_ld
32335     fi
32336   fi
32337
32338   # Start by getting the version number.  I think the libtool test already
32339   # does some of this, but throws away the result.
32340   glibcxx_ld_is_gold=no
32341   if test x"$with_gnu_ld" = x"yes"; then
32342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32343 $as_echo_n "checking for ld version... " >&6; }
32344
32345     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32346       glibcxx_ld_is_gold=yes
32347     fi
32348     ldver=`$LD --version 2>/dev/null |
32349            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'`
32350
32351     glibcxx_gnu_ld_version=`echo $ldver | \
32352            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32353     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32354 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32355   fi
32356
32357   # Set --gc-sections.
32358   glibcxx_have_gc_sections=no
32359   if test "$glibcxx_ld_is_gold" = "yes"; then
32360     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32361       glibcxx_have_gc_sections=yes
32362     fi
32363   else
32364     glibcxx_gcsections_min_ld=21602
32365     if test x"$with_gnu_ld" = x"yes" &&
32366         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32367       glibcxx_have_gc_sections=yes
32368     fi
32369   fi
32370   if test "$glibcxx_have_gc_sections" = "yes"; then
32371     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32372     # NB: This flag only works reliably after 2.16.1. Configure tests
32373     # for this are difficult, so hard wire a value that should work.
32374
32375     ac_test_CFLAGS="${CFLAGS+set}"
32376     ac_save_CFLAGS="$CFLAGS"
32377     CFLAGS='-Wl,--gc-sections'
32378
32379     # Check for -Wl,--gc-sections
32380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32381 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32382     if test x$gcc_no_link = xyes; then
32383   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32384 fi
32385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32386 /* end confdefs.h.  */
32387  int one(void) { return 1; }
32388      int two(void) { return 2; }
32389
32390 int
32391 main ()
32392 {
32393  two();
32394   ;
32395   return 0;
32396 }
32397 _ACEOF
32398 if ac_fn_c_try_link "$LINENO"; then :
32399   ac_gcsections=yes
32400 else
32401   ac_gcsections=no
32402 fi
32403 rm -f core conftest.err conftest.$ac_objext \
32404     conftest$ac_exeext conftest.$ac_ext
32405     if test "$ac_gcsections" = "yes"; then
32406       rm -f conftest.c
32407       touch conftest.c
32408       if $CC -c conftest.c; then
32409         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32410            grep "Warning: gc-sections option ignored" > /dev/null; then
32411           ac_gcsections=no
32412         fi
32413       fi
32414       rm -f conftest.c conftest.o conftest
32415     fi
32416     if test "$ac_gcsections" = "yes"; then
32417       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32418     fi
32419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32420 $as_echo "$ac_gcsections" >&6; }
32421
32422     if test "$ac_test_CFLAGS" = set; then
32423       CFLAGS="$ac_save_CFLAGS"
32424     else
32425       # this is the suspicious part
32426       CFLAGS=''
32427     fi
32428   fi
32429
32430   # Set -z,relro.
32431   # Note this is only for shared objects.
32432   ac_ld_relro=no
32433   if test x"$with_gnu_ld" = x"yes"; then
32434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32435 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32436     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32437     if test -n "$cxx_z_relo"; then
32438       OPT_LDFLAGS="-Wl,-z,relro"
32439       ac_ld_relro=yes
32440     fi
32441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32442 $as_echo "$ac_ld_relro" >&6; }
32443   fi
32444
32445   # Set linker optimization flags.
32446   if test x"$with_gnu_ld" = x"yes"; then
32447     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32448   fi
32449
32450
32451
32452
32453
32454   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32455   ac_save_CXXFLAGS="$CXXFLAGS"
32456   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32457
32458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32459 $as_echo_n "checking for sin in -lm... " >&6; }
32460 if test "${ac_cv_lib_m_sin+set}" = set; then :
32461   $as_echo_n "(cached) " >&6
32462 else
32463   ac_check_lib_save_LIBS=$LIBS
32464 LIBS="-lm  $LIBS"
32465 if test x$gcc_no_link = xyes; then
32466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32467 fi
32468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32469 /* end confdefs.h.  */
32470
32471 /* Override any GCC internal prototype to avoid an error.
32472    Use char because int might match the return type of a GCC
32473    builtin and then its argument prototype would still apply.  */
32474 #ifdef __cplusplus
32475 extern "C"
32476 #endif
32477 char sin ();
32478 int
32479 main ()
32480 {
32481 return sin ();
32482   ;
32483   return 0;
32484 }
32485 _ACEOF
32486 if ac_fn_c_try_link "$LINENO"; then :
32487   ac_cv_lib_m_sin=yes
32488 else
32489   ac_cv_lib_m_sin=no
32490 fi
32491 rm -f core conftest.err conftest.$ac_objext \
32492     conftest$ac_exeext conftest.$ac_ext
32493 LIBS=$ac_check_lib_save_LIBS
32494 fi
32495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32496 $as_echo "$ac_cv_lib_m_sin" >&6; }
32497 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32498   libm="-lm"
32499 fi
32500
32501   ac_save_LIBS="$LIBS"
32502   LIBS="$LIBS $libm"
32503
32504
32505
32506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32507 $as_echo_n "checking for isinf declaration... " >&6; }
32508   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32509     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32510   $as_echo_n "(cached) " >&6
32511 else
32512
32513
32514       ac_ext=cpp
32515 ac_cpp='$CXXCPP $CPPFLAGS'
32516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32519
32520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32521 /* end confdefs.h.  */
32522 #include <math.h>
32523                       #ifdef HAVE_IEEEFP_H
32524                       #include <ieeefp.h>
32525                       #endif
32526
32527 int
32528 main ()
32529 {
32530  isinf(0);
32531   ;
32532   return 0;
32533 }
32534 _ACEOF
32535 if ac_fn_cxx_try_compile "$LINENO"; then :
32536   glibcxx_cv_func_isinf_use=yes
32537 else
32538   glibcxx_cv_func_isinf_use=no
32539 fi
32540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32541       ac_ext=c
32542 ac_cpp='$CPP $CPPFLAGS'
32543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32546
32547
32548 fi
32549
32550   fi
32551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32552 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32553
32554   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32555     for ac_func in isinf
32556 do :
32557   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32558 if test "x$ac_cv_func_isinf" = x""yes; then :
32559   cat >>confdefs.h <<_ACEOF
32560 #define HAVE_ISINF 1
32561 _ACEOF
32562
32563 fi
32564 done
32565
32566   else
32567
32568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32569 $as_echo_n "checking for _isinf declaration... " >&6; }
32570   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32571     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32572   $as_echo_n "(cached) " >&6
32573 else
32574
32575
32576       ac_ext=cpp
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32581
32582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32583 /* end confdefs.h.  */
32584 #include <math.h>
32585                       #ifdef HAVE_IEEEFP_H
32586                       #include <ieeefp.h>
32587                       #endif
32588
32589 int
32590 main ()
32591 {
32592  _isinf(0);
32593   ;
32594   return 0;
32595 }
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598   glibcxx_cv_func__isinf_use=yes
32599 else
32600   glibcxx_cv_func__isinf_use=no
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603       ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32608
32609
32610 fi
32611
32612   fi
32613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32614 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32615
32616     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32617       for ac_func in _isinf
32618 do :
32619   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32620 if test "x$ac_cv_func__isinf" = x""yes; then :
32621   cat >>confdefs.h <<_ACEOF
32622 #define HAVE__ISINF 1
32623 _ACEOF
32624
32625 fi
32626 done
32627
32628     fi
32629   fi
32630
32631
32632
32633
32634
32635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32636 $as_echo_n "checking for isnan declaration... " >&6; }
32637   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32638     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32639   $as_echo_n "(cached) " >&6
32640 else
32641
32642
32643       ac_ext=cpp
32644 ac_cpp='$CXXCPP $CPPFLAGS'
32645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32648
32649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32650 /* end confdefs.h.  */
32651 #include <math.h>
32652                       #ifdef HAVE_IEEEFP_H
32653                       #include <ieeefp.h>
32654                       #endif
32655
32656 int
32657 main ()
32658 {
32659  isnan(0);
32660   ;
32661   return 0;
32662 }
32663 _ACEOF
32664 if ac_fn_cxx_try_compile "$LINENO"; then :
32665   glibcxx_cv_func_isnan_use=yes
32666 else
32667   glibcxx_cv_func_isnan_use=no
32668 fi
32669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32670       ac_ext=c
32671 ac_cpp='$CPP $CPPFLAGS'
32672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32675
32676
32677 fi
32678
32679   fi
32680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32681 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32682
32683   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32684     for ac_func in isnan
32685 do :
32686   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32687 if test "x$ac_cv_func_isnan" = x""yes; then :
32688   cat >>confdefs.h <<_ACEOF
32689 #define HAVE_ISNAN 1
32690 _ACEOF
32691
32692 fi
32693 done
32694
32695   else
32696
32697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32698 $as_echo_n "checking for _isnan declaration... " >&6; }
32699   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32700     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32701   $as_echo_n "(cached) " >&6
32702 else
32703
32704
32705       ac_ext=cpp
32706 ac_cpp='$CXXCPP $CPPFLAGS'
32707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32710
32711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32712 /* end confdefs.h.  */
32713 #include <math.h>
32714                       #ifdef HAVE_IEEEFP_H
32715                       #include <ieeefp.h>
32716                       #endif
32717
32718 int
32719 main ()
32720 {
32721  _isnan(0);
32722   ;
32723   return 0;
32724 }
32725 _ACEOF
32726 if ac_fn_cxx_try_compile "$LINENO"; then :
32727   glibcxx_cv_func__isnan_use=yes
32728 else
32729   glibcxx_cv_func__isnan_use=no
32730 fi
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32732       ac_ext=c
32733 ac_cpp='$CPP $CPPFLAGS'
32734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32737
32738
32739 fi
32740
32741   fi
32742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32743 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32744
32745     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32746       for ac_func in _isnan
32747 do :
32748   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32749 if test "x$ac_cv_func__isnan" = x""yes; then :
32750   cat >>confdefs.h <<_ACEOF
32751 #define HAVE__ISNAN 1
32752 _ACEOF
32753
32754 fi
32755 done
32756
32757     fi
32758   fi
32759
32760
32761
32762
32763
32764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32765 $as_echo_n "checking for finite declaration... " >&6; }
32766   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32767     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32768   $as_echo_n "(cached) " >&6
32769 else
32770
32771
32772       ac_ext=cpp
32773 ac_cpp='$CXXCPP $CPPFLAGS'
32774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32777
32778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32779 /* end confdefs.h.  */
32780 #include <math.h>
32781                       #ifdef HAVE_IEEEFP_H
32782                       #include <ieeefp.h>
32783                       #endif
32784
32785 int
32786 main ()
32787 {
32788  finite(0);
32789   ;
32790   return 0;
32791 }
32792 _ACEOF
32793 if ac_fn_cxx_try_compile "$LINENO"; then :
32794   glibcxx_cv_func_finite_use=yes
32795 else
32796   glibcxx_cv_func_finite_use=no
32797 fi
32798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32799       ac_ext=c
32800 ac_cpp='$CPP $CPPFLAGS'
32801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32804
32805
32806 fi
32807
32808   fi
32809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32810 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32811
32812   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32813     for ac_func in finite
32814 do :
32815   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32816 if test "x$ac_cv_func_finite" = x""yes; then :
32817   cat >>confdefs.h <<_ACEOF
32818 #define HAVE_FINITE 1
32819 _ACEOF
32820
32821 fi
32822 done
32823
32824   else
32825
32826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32827 $as_echo_n "checking for _finite declaration... " >&6; }
32828   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32829     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32830   $as_echo_n "(cached) " >&6
32831 else
32832
32833
32834       ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839
32840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h.  */
32842 #include <math.h>
32843                       #ifdef HAVE_IEEEFP_H
32844                       #include <ieeefp.h>
32845                       #endif
32846
32847 int
32848 main ()
32849 {
32850  _finite(0);
32851   ;
32852   return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856   glibcxx_cv_func__finite_use=yes
32857 else
32858   glibcxx_cv_func__finite_use=no
32859 fi
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861       ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866
32867
32868 fi
32869
32870   fi
32871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32872 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32873
32874     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32875       for ac_func in _finite
32876 do :
32877   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32878 if test "x$ac_cv_func__finite" = x""yes; then :
32879   cat >>confdefs.h <<_ACEOF
32880 #define HAVE__FINITE 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886     fi
32887   fi
32888
32889
32890
32891
32892
32893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32894 $as_echo_n "checking for sincos declaration... " >&6; }
32895   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32896     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32897   $as_echo_n "(cached) " >&6
32898 else
32899
32900
32901       ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906
32907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h.  */
32909 #include <math.h>
32910 int
32911 main ()
32912 {
32913  sincos(0, 0, 0);
32914   ;
32915   return 0;
32916 }
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919   glibcxx_cv_func_sincos_use=yes
32920 else
32921   glibcxx_cv_func_sincos_use=no
32922 fi
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924       ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32929
32930
32931 fi
32932
32933   fi
32934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32935 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32936
32937   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32938     for ac_func in sincos
32939 do :
32940   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32941 if test "x$ac_cv_func_sincos" = x""yes; then :
32942   cat >>confdefs.h <<_ACEOF
32943 #define HAVE_SINCOS 1
32944 _ACEOF
32945
32946 fi
32947 done
32948
32949   else
32950
32951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32952 $as_echo_n "checking for _sincos declaration... " >&6; }
32953   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32954     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32955   $as_echo_n "(cached) " >&6
32956 else
32957
32958
32959       ac_ext=cpp
32960 ac_cpp='$CXXCPP $CPPFLAGS'
32961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32964
32965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32966 /* end confdefs.h.  */
32967 #include <math.h>
32968 int
32969 main ()
32970 {
32971  _sincos(0, 0, 0);
32972   ;
32973   return 0;
32974 }
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977   glibcxx_cv_func__sincos_use=yes
32978 else
32979   glibcxx_cv_func__sincos_use=no
32980 fi
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982       ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32987
32988
32989 fi
32990
32991   fi
32992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32993 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32994
32995     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32996       for ac_func in _sincos
32997 do :
32998   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32999 if test "x$ac_cv_func__sincos" = x""yes; then :
33000   cat >>confdefs.h <<_ACEOF
33001 #define HAVE__SINCOS 1
33002 _ACEOF
33003
33004 fi
33005 done
33006
33007     fi
33008   fi
33009
33010
33011
33012
33013
33014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33015 $as_echo_n "checking for fpclass declaration... " >&6; }
33016   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33017     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33018   $as_echo_n "(cached) " >&6
33019 else
33020
33021
33022       ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027
33028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h.  */
33030 #include <math.h>
33031                       #ifdef HAVE_IEEEFP_H
33032                       #include <ieeefp.h>
33033                       #endif
33034
33035 int
33036 main ()
33037 {
33038  fpclass(0);
33039   ;
33040   return 0;
33041 }
33042 _ACEOF
33043 if ac_fn_cxx_try_compile "$LINENO"; then :
33044   glibcxx_cv_func_fpclass_use=yes
33045 else
33046   glibcxx_cv_func_fpclass_use=no
33047 fi
33048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33049       ac_ext=c
33050 ac_cpp='$CPP $CPPFLAGS'
33051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33054
33055
33056 fi
33057
33058   fi
33059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33060 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33061
33062   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33063     for ac_func in fpclass
33064 do :
33065   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33066 if test "x$ac_cv_func_fpclass" = x""yes; then :
33067   cat >>confdefs.h <<_ACEOF
33068 #define HAVE_FPCLASS 1
33069 _ACEOF
33070
33071 fi
33072 done
33073
33074   else
33075
33076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33077 $as_echo_n "checking for _fpclass declaration... " >&6; }
33078   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33079     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33080   $as_echo_n "(cached) " >&6
33081 else
33082
33083
33084       ac_ext=cpp
33085 ac_cpp='$CXXCPP $CPPFLAGS'
33086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33089
33090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33091 /* end confdefs.h.  */
33092 #include <math.h>
33093                       #ifdef HAVE_IEEEFP_H
33094                       #include <ieeefp.h>
33095                       #endif
33096
33097 int
33098 main ()
33099 {
33100  _fpclass(0);
33101   ;
33102   return 0;
33103 }
33104 _ACEOF
33105 if ac_fn_cxx_try_compile "$LINENO"; then :
33106   glibcxx_cv_func__fpclass_use=yes
33107 else
33108   glibcxx_cv_func__fpclass_use=no
33109 fi
33110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33111       ac_ext=c
33112 ac_cpp='$CPP $CPPFLAGS'
33113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33116
33117
33118 fi
33119
33120   fi
33121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33122 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33123
33124     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33125       for ac_func in _fpclass
33126 do :
33127   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33128 if test "x$ac_cv_func__fpclass" = x""yes; then :
33129   cat >>confdefs.h <<_ACEOF
33130 #define HAVE__FPCLASS 1
33131 _ACEOF
33132
33133 fi
33134 done
33135
33136     fi
33137   fi
33138
33139
33140
33141
33142
33143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33144 $as_echo_n "checking for qfpclass declaration... " >&6; }
33145   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33146     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33147   $as_echo_n "(cached) " >&6
33148 else
33149
33150
33151       ac_ext=cpp
33152 ac_cpp='$CXXCPP $CPPFLAGS'
33153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33156
33157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33158 /* end confdefs.h.  */
33159 #include <math.h>
33160                       #ifdef HAVE_IEEEFP_H
33161                       #include <ieeefp.h>
33162                       #endif
33163
33164 int
33165 main ()
33166 {
33167  qfpclass(0);
33168   ;
33169   return 0;
33170 }
33171 _ACEOF
33172 if ac_fn_cxx_try_compile "$LINENO"; then :
33173   glibcxx_cv_func_qfpclass_use=yes
33174 else
33175   glibcxx_cv_func_qfpclass_use=no
33176 fi
33177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33178       ac_ext=c
33179 ac_cpp='$CPP $CPPFLAGS'
33180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33183
33184
33185 fi
33186
33187   fi
33188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33189 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33190
33191   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33192     for ac_func in qfpclass
33193 do :
33194   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33195 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33196   cat >>confdefs.h <<_ACEOF
33197 #define HAVE_QFPCLASS 1
33198 _ACEOF
33199
33200 fi
33201 done
33202
33203   else
33204
33205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33206 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33207   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33208     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33209   $as_echo_n "(cached) " >&6
33210 else
33211
33212
33213       ac_ext=cpp
33214 ac_cpp='$CXXCPP $CPPFLAGS'
33215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33218
33219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33220 /* end confdefs.h.  */
33221 #include <math.h>
33222                       #ifdef HAVE_IEEEFP_H
33223                       #include <ieeefp.h>
33224                       #endif
33225
33226 int
33227 main ()
33228 {
33229  _qfpclass(0);
33230   ;
33231   return 0;
33232 }
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235   glibcxx_cv_func__qfpclass_use=yes
33236 else
33237   glibcxx_cv_func__qfpclass_use=no
33238 fi
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240       ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249   fi
33250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33251 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33252
33253     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33254       for ac_func in _qfpclass
33255 do :
33256   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33257 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33258   cat >>confdefs.h <<_ACEOF
33259 #define HAVE__QFPCLASS 1
33260 _ACEOF
33261
33262 fi
33263 done
33264
33265     fi
33266   fi
33267
33268
33269
33270
33271
33272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33273 $as_echo_n "checking for hypot declaration... " >&6; }
33274   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33275     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33276   $as_echo_n "(cached) " >&6
33277 else
33278
33279
33280       ac_ext=cpp
33281 ac_cpp='$CXXCPP $CPPFLAGS'
33282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285
33286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33287 /* end confdefs.h.  */
33288 #include <math.h>
33289 int
33290 main ()
33291 {
33292  hypot(0, 0);
33293   ;
33294   return 0;
33295 }
33296 _ACEOF
33297 if ac_fn_cxx_try_compile "$LINENO"; then :
33298   glibcxx_cv_func_hypot_use=yes
33299 else
33300   glibcxx_cv_func_hypot_use=no
33301 fi
33302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33303       ac_ext=c
33304 ac_cpp='$CPP $CPPFLAGS'
33305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33308
33309
33310 fi
33311
33312   fi
33313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33314 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33315
33316   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33317     for ac_func in hypot
33318 do :
33319   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33320 if test "x$ac_cv_func_hypot" = x""yes; then :
33321   cat >>confdefs.h <<_ACEOF
33322 #define HAVE_HYPOT 1
33323 _ACEOF
33324
33325 fi
33326 done
33327
33328   else
33329
33330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33331 $as_echo_n "checking for _hypot declaration... " >&6; }
33332   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33333     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33334   $as_echo_n "(cached) " >&6
33335 else
33336
33337
33338       ac_ext=cpp
33339 ac_cpp='$CXXCPP $CPPFLAGS'
33340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33343
33344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33345 /* end confdefs.h.  */
33346 #include <math.h>
33347 int
33348 main ()
33349 {
33350  _hypot(0, 0);
33351   ;
33352   return 0;
33353 }
33354 _ACEOF
33355 if ac_fn_cxx_try_compile "$LINENO"; then :
33356   glibcxx_cv_func__hypot_use=yes
33357 else
33358   glibcxx_cv_func__hypot_use=no
33359 fi
33360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33361       ac_ext=c
33362 ac_cpp='$CPP $CPPFLAGS'
33363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33366
33367
33368 fi
33369
33370   fi
33371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33372 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33373
33374     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33375       for ac_func in _hypot
33376 do :
33377   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33378 if test "x$ac_cv_func__hypot" = x""yes; then :
33379   cat >>confdefs.h <<_ACEOF
33380 #define HAVE__HYPOT 1
33381 _ACEOF
33382
33383 fi
33384 done
33385
33386     fi
33387   fi
33388
33389
33390
33391
33392
33393     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33394 $as_echo_n "checking for float trig functions... " >&6; }
33395   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33396   $as_echo_n "(cached) " >&6
33397 else
33398
33399
33400     ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33405
33406     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h.  */
33408 #include <math.h>
33409 int
33410 main ()
33411 {
33412 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33413   ;
33414   return 0;
33415 }
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418   glibcxx_cv_func_float_trig_use=yes
33419 else
33420   glibcxx_cv_func_float_trig_use=no
33421 fi
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423     ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428
33429 fi
33430
33431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33432 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33433   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33434     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33435 do :
33436   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33438 eval as_val=\$$as_ac_var
33439    if test "x$as_val" = x""yes; then :
33440   cat >>confdefs.h <<_ACEOF
33441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33442 _ACEOF
33443
33444 fi
33445 done
33446
33447   else
33448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33449 $as_echo_n "checking for _float trig functions... " >&6; }
33450     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33451   $as_echo_n "(cached) " >&6
33452 else
33453
33454
33455       ac_ext=cpp
33456 ac_cpp='$CXXCPP $CPPFLAGS'
33457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33460
33461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33462 /* end confdefs.h.  */
33463 #include <math.h>
33464 int
33465 main ()
33466 {
33467 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33468   ;
33469   return 0;
33470 }
33471 _ACEOF
33472 if ac_fn_cxx_try_compile "$LINENO"; then :
33473   glibcxx_cv_func__float_trig_use=yes
33474 else
33475   glibcxx_cv_func__float_trig_use=no
33476 fi
33477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33478       ac_ext=c
33479 ac_cpp='$CPP $CPPFLAGS'
33480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33483
33484 fi
33485
33486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33487 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33488     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33489       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33490 do :
33491   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33493 eval as_val=\$$as_ac_var
33494    if test "x$as_val" = x""yes; then :
33495   cat >>confdefs.h <<_ACEOF
33496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33497 _ACEOF
33498
33499 fi
33500 done
33501
33502     fi
33503   fi
33504
33505
33506
33507
33508
33509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33510 $as_echo_n "checking for float round functions... " >&6; }
33511   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33512   $as_echo_n "(cached) " >&6
33513 else
33514
33515
33516     ac_ext=cpp
33517 ac_cpp='$CXXCPP $CPPFLAGS'
33518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33521
33522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33523 /* end confdefs.h.  */
33524 #include <math.h>
33525 int
33526 main ()
33527 {
33528 ceilf (0); floorf (0);
33529   ;
33530   return 0;
33531 }
33532 _ACEOF
33533 if ac_fn_cxx_try_compile "$LINENO"; then :
33534   glibcxx_cv_func_float_round_use=yes
33535 else
33536   glibcxx_cv_func_float_round_use=no
33537 fi
33538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33539     ac_ext=c
33540 ac_cpp='$CPP $CPPFLAGS'
33541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33544
33545 fi
33546
33547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33548 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33549   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33550     for ac_func in ceilf floorf
33551 do :
33552   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33554 eval as_val=\$$as_ac_var
33555    if test "x$as_val" = x""yes; then :
33556   cat >>confdefs.h <<_ACEOF
33557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33558 _ACEOF
33559
33560 fi
33561 done
33562
33563   else
33564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33565 $as_echo_n "checking for _float round functions... " >&6; }
33566     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33567   $as_echo_n "(cached) " >&6
33568 else
33569
33570
33571       ac_ext=cpp
33572 ac_cpp='$CXXCPP $CPPFLAGS'
33573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33576
33577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33578 /* end confdefs.h.  */
33579 #include <math.h>
33580 int
33581 main ()
33582 {
33583 _ceilf (0); _floorf (0);
33584   ;
33585   return 0;
33586 }
33587 _ACEOF
33588 if ac_fn_cxx_try_compile "$LINENO"; then :
33589   glibcxx_cv_func__float_round_use=yes
33590 else
33591   glibcxx_cv_func__float_round_use=no
33592 fi
33593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33594       ac_ext=c
33595 ac_cpp='$CPP $CPPFLAGS'
33596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33599
33600 fi
33601
33602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33603 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33604     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33605       for ac_func in _ceilf _floorf
33606 do :
33607   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33609 eval as_val=\$$as_ac_var
33610    if test "x$as_val" = x""yes; then :
33611   cat >>confdefs.h <<_ACEOF
33612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33613 _ACEOF
33614
33615 fi
33616 done
33617
33618     fi
33619   fi
33620
33621
33622
33623
33624
33625
33626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33627 $as_echo_n "checking for expf declaration... " >&6; }
33628   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33629     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33630   $as_echo_n "(cached) " >&6
33631 else
33632
33633
33634       ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639
33640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h.  */
33642 #include <math.h>
33643                       #ifdef HAVE_IEEEFP_H
33644                       #include <ieeefp.h>
33645                       #endif
33646
33647 int
33648 main ()
33649 {
33650  expf(0);
33651   ;
33652   return 0;
33653 }
33654 _ACEOF
33655 if ac_fn_cxx_try_compile "$LINENO"; then :
33656   glibcxx_cv_func_expf_use=yes
33657 else
33658   glibcxx_cv_func_expf_use=no
33659 fi
33660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33661       ac_ext=c
33662 ac_cpp='$CPP $CPPFLAGS'
33663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33666
33667
33668 fi
33669
33670   fi
33671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33672 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33673
33674   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33675     for ac_func in expf
33676 do :
33677   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33678 if test "x$ac_cv_func_expf" = x""yes; then :
33679   cat >>confdefs.h <<_ACEOF
33680 #define HAVE_EXPF 1
33681 _ACEOF
33682
33683 fi
33684 done
33685
33686   else
33687
33688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33689 $as_echo_n "checking for _expf declaration... " >&6; }
33690   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33691     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33692   $as_echo_n "(cached) " >&6
33693 else
33694
33695
33696       ac_ext=cpp
33697 ac_cpp='$CXXCPP $CPPFLAGS'
33698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701
33702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33703 /* end confdefs.h.  */
33704 #include <math.h>
33705                       #ifdef HAVE_IEEEFP_H
33706                       #include <ieeefp.h>
33707                       #endif
33708
33709 int
33710 main ()
33711 {
33712  _expf(0);
33713   ;
33714   return 0;
33715 }
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718   glibcxx_cv_func__expf_use=yes
33719 else
33720   glibcxx_cv_func__expf_use=no
33721 fi
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723       ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728
33729
33730 fi
33731
33732   fi
33733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33734 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33735
33736     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33737       for ac_func in _expf
33738 do :
33739   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33740 if test "x$ac_cv_func__expf" = x""yes; then :
33741   cat >>confdefs.h <<_ACEOF
33742 #define HAVE__EXPF 1
33743 _ACEOF
33744
33745 fi
33746 done
33747
33748     fi
33749   fi
33750
33751
33752
33753
33754
33755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33756 $as_echo_n "checking for isnanf declaration... " >&6; }
33757   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33758     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33759   $as_echo_n "(cached) " >&6
33760 else
33761
33762
33763       ac_ext=cpp
33764 ac_cpp='$CXXCPP $CPPFLAGS'
33765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33768
33769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33770 /* end confdefs.h.  */
33771 #include <math.h>
33772                       #ifdef HAVE_IEEEFP_H
33773                       #include <ieeefp.h>
33774                       #endif
33775
33776 int
33777 main ()
33778 {
33779  isnanf(0);
33780   ;
33781   return 0;
33782 }
33783 _ACEOF
33784 if ac_fn_cxx_try_compile "$LINENO"; then :
33785   glibcxx_cv_func_isnanf_use=yes
33786 else
33787   glibcxx_cv_func_isnanf_use=no
33788 fi
33789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790       ac_ext=c
33791 ac_cpp='$CPP $CPPFLAGS'
33792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33795
33796
33797 fi
33798
33799   fi
33800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33801 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33802
33803   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33804     for ac_func in isnanf
33805 do :
33806   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33807 if test "x$ac_cv_func_isnanf" = x""yes; then :
33808   cat >>confdefs.h <<_ACEOF
33809 #define HAVE_ISNANF 1
33810 _ACEOF
33811
33812 fi
33813 done
33814
33815   else
33816
33817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33818 $as_echo_n "checking for _isnanf declaration... " >&6; }
33819   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33820     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33821   $as_echo_n "(cached) " >&6
33822 else
33823
33824
33825       ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830
33831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h.  */
33833 #include <math.h>
33834                       #ifdef HAVE_IEEEFP_H
33835                       #include <ieeefp.h>
33836                       #endif
33837
33838 int
33839 main ()
33840 {
33841  _isnanf(0);
33842   ;
33843   return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847   glibcxx_cv_func__isnanf_use=yes
33848 else
33849   glibcxx_cv_func__isnanf_use=no
33850 fi
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852       ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857
33858
33859 fi
33860
33861   fi
33862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33863 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33864
33865     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33866       for ac_func in _isnanf
33867 do :
33868   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33869 if test "x$ac_cv_func__isnanf" = x""yes; then :
33870   cat >>confdefs.h <<_ACEOF
33871 #define HAVE__ISNANF 1
33872 _ACEOF
33873
33874 fi
33875 done
33876
33877     fi
33878   fi
33879
33880
33881
33882
33883
33884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33885 $as_echo_n "checking for isinff declaration... " >&6; }
33886   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33887     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33888   $as_echo_n "(cached) " >&6
33889 else
33890
33891
33892       ac_ext=cpp
33893 ac_cpp='$CXXCPP $CPPFLAGS'
33894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897
33898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33899 /* end confdefs.h.  */
33900 #include <math.h>
33901                       #ifdef HAVE_IEEEFP_H
33902                       #include <ieeefp.h>
33903                       #endif
33904
33905 int
33906 main ()
33907 {
33908  isinff(0);
33909   ;
33910   return 0;
33911 }
33912 _ACEOF
33913 if ac_fn_cxx_try_compile "$LINENO"; then :
33914   glibcxx_cv_func_isinff_use=yes
33915 else
33916   glibcxx_cv_func_isinff_use=no
33917 fi
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919       ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924
33925
33926 fi
33927
33928   fi
33929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33930 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33931
33932   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33933     for ac_func in isinff
33934 do :
33935   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33936 if test "x$ac_cv_func_isinff" = x""yes; then :
33937   cat >>confdefs.h <<_ACEOF
33938 #define HAVE_ISINFF 1
33939 _ACEOF
33940
33941 fi
33942 done
33943
33944   else
33945
33946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33947 $as_echo_n "checking for _isinff declaration... " >&6; }
33948   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33949     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33950   $as_echo_n "(cached) " >&6
33951 else
33952
33953
33954       ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959
33960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h.  */
33962 #include <math.h>
33963                       #ifdef HAVE_IEEEFP_H
33964                       #include <ieeefp.h>
33965                       #endif
33966
33967 int
33968 main ()
33969 {
33970  _isinff(0);
33971   ;
33972   return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976   glibcxx_cv_func__isinff_use=yes
33977 else
33978   glibcxx_cv_func__isinff_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981       ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990   fi
33991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33992 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33993
33994     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33995       for ac_func in _isinff
33996 do :
33997   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33998 if test "x$ac_cv_func__isinff" = x""yes; then :
33999   cat >>confdefs.h <<_ACEOF
34000 #define HAVE__ISINFF 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006     fi
34007   fi
34008
34009
34010
34011
34012
34013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34014 $as_echo_n "checking for atan2f declaration... " >&6; }
34015   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34016     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34017   $as_echo_n "(cached) " >&6
34018 else
34019
34020
34021       ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026
34027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h.  */
34029 #include <math.h>
34030 int
34031 main ()
34032 {
34033  atan2f(0, 0);
34034   ;
34035   return 0;
34036 }
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039   glibcxx_cv_func_atan2f_use=yes
34040 else
34041   glibcxx_cv_func_atan2f_use=no
34042 fi
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044       ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34049
34050
34051 fi
34052
34053   fi
34054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34055 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34056
34057   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34058     for ac_func in atan2f
34059 do :
34060   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34061 if test "x$ac_cv_func_atan2f" = x""yes; then :
34062   cat >>confdefs.h <<_ACEOF
34063 #define HAVE_ATAN2F 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069   else
34070
34071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34072 $as_echo_n "checking for _atan2f declaration... " >&6; }
34073   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34074     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34075   $as_echo_n "(cached) " >&6
34076 else
34077
34078
34079       ac_ext=cpp
34080 ac_cpp='$CXXCPP $CPPFLAGS'
34081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34084
34085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34086 /* end confdefs.h.  */
34087 #include <math.h>
34088 int
34089 main ()
34090 {
34091  _atan2f(0, 0);
34092   ;
34093   return 0;
34094 }
34095 _ACEOF
34096 if ac_fn_cxx_try_compile "$LINENO"; then :
34097   glibcxx_cv_func__atan2f_use=yes
34098 else
34099   glibcxx_cv_func__atan2f_use=no
34100 fi
34101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34102       ac_ext=c
34103 ac_cpp='$CPP $CPPFLAGS'
34104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34107
34108
34109 fi
34110
34111   fi
34112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34113 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34114
34115     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34116       for ac_func in _atan2f
34117 do :
34118   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34119 if test "x$ac_cv_func__atan2f" = x""yes; then :
34120   cat >>confdefs.h <<_ACEOF
34121 #define HAVE__ATAN2F 1
34122 _ACEOF
34123
34124 fi
34125 done
34126
34127     fi
34128   fi
34129
34130
34131
34132
34133
34134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34135 $as_echo_n "checking for fabsf declaration... " >&6; }
34136   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34137     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34138   $as_echo_n "(cached) " >&6
34139 else
34140
34141
34142       ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34147
34148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h.  */
34150 #include <math.h>
34151                       #ifdef HAVE_IEEEFP_H
34152                       #include <ieeefp.h>
34153                       #endif
34154
34155 int
34156 main ()
34157 {
34158  fabsf(0);
34159   ;
34160   return 0;
34161 }
34162 _ACEOF
34163 if ac_fn_cxx_try_compile "$LINENO"; then :
34164   glibcxx_cv_func_fabsf_use=yes
34165 else
34166   glibcxx_cv_func_fabsf_use=no
34167 fi
34168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34169       ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34174
34175
34176 fi
34177
34178   fi
34179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34180 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34181
34182   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34183     for ac_func in fabsf
34184 do :
34185   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34186 if test "x$ac_cv_func_fabsf" = x""yes; then :
34187   cat >>confdefs.h <<_ACEOF
34188 #define HAVE_FABSF 1
34189 _ACEOF
34190
34191 fi
34192 done
34193
34194   else
34195
34196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34197 $as_echo_n "checking for _fabsf declaration... " >&6; }
34198   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34199     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34200   $as_echo_n "(cached) " >&6
34201 else
34202
34203
34204       ac_ext=cpp
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34209
34210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34211 /* end confdefs.h.  */
34212 #include <math.h>
34213                       #ifdef HAVE_IEEEFP_H
34214                       #include <ieeefp.h>
34215                       #endif
34216
34217 int
34218 main ()
34219 {
34220  _fabsf(0);
34221   ;
34222   return 0;
34223 }
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226   glibcxx_cv_func__fabsf_use=yes
34227 else
34228   glibcxx_cv_func__fabsf_use=no
34229 fi
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231       ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 fi
34239
34240   fi
34241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34242 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34243
34244     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34245       for ac_func in _fabsf
34246 do :
34247   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34248 if test "x$ac_cv_func__fabsf" = x""yes; then :
34249   cat >>confdefs.h <<_ACEOF
34250 #define HAVE__FABSF 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256     fi
34257   fi
34258
34259
34260
34261
34262
34263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34264 $as_echo_n "checking for fmodf declaration... " >&6; }
34265   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34266     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34267   $as_echo_n "(cached) " >&6
34268 else
34269
34270
34271       ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276
34277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h.  */
34279 #include <math.h>
34280 int
34281 main ()
34282 {
34283  fmodf(0, 0);
34284   ;
34285   return 0;
34286 }
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289   glibcxx_cv_func_fmodf_use=yes
34290 else
34291   glibcxx_cv_func_fmodf_use=no
34292 fi
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294       ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299
34300
34301 fi
34302
34303   fi
34304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34305 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34306
34307   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34308     for ac_func in fmodf
34309 do :
34310   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34311 if test "x$ac_cv_func_fmodf" = x""yes; then :
34312   cat >>confdefs.h <<_ACEOF
34313 #define HAVE_FMODF 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319   else
34320
34321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34322 $as_echo_n "checking for _fmodf declaration... " >&6; }
34323   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34324     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34325   $as_echo_n "(cached) " >&6
34326 else
34327
34328
34329       ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334
34335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h.  */
34337 #include <math.h>
34338 int
34339 main ()
34340 {
34341  _fmodf(0, 0);
34342   ;
34343   return 0;
34344 }
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347   glibcxx_cv_func__fmodf_use=yes
34348 else
34349   glibcxx_cv_func__fmodf_use=no
34350 fi
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352       ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361   fi
34362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34363 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34364
34365     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34366       for ac_func in _fmodf
34367 do :
34368   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34369 if test "x$ac_cv_func__fmodf" = x""yes; then :
34370   cat >>confdefs.h <<_ACEOF
34371 #define HAVE__FMODF 1
34372 _ACEOF
34373
34374 fi
34375 done
34376
34377     fi
34378   fi
34379
34380
34381
34382
34383
34384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34385 $as_echo_n "checking for frexpf declaration... " >&6; }
34386   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34387     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34388   $as_echo_n "(cached) " >&6
34389 else
34390
34391
34392       ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397
34398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h.  */
34400 #include <math.h>
34401 int
34402 main ()
34403 {
34404  frexpf(0, 0);
34405   ;
34406   return 0;
34407 }
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410   glibcxx_cv_func_frexpf_use=yes
34411 else
34412   glibcxx_cv_func_frexpf_use=no
34413 fi
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415       ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420
34421
34422 fi
34423
34424   fi
34425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34426 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34427
34428   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34429     for ac_func in frexpf
34430 do :
34431   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34432 if test "x$ac_cv_func_frexpf" = x""yes; then :
34433   cat >>confdefs.h <<_ACEOF
34434 #define HAVE_FREXPF 1
34435 _ACEOF
34436
34437 fi
34438 done
34439
34440   else
34441
34442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34443 $as_echo_n "checking for _frexpf declaration... " >&6; }
34444   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34445     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34446   $as_echo_n "(cached) " >&6
34447 else
34448
34449
34450       ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h.  */
34458 #include <math.h>
34459 int
34460 main ()
34461 {
34462  _frexpf(0, 0);
34463   ;
34464   return 0;
34465 }
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468   glibcxx_cv_func__frexpf_use=yes
34469 else
34470   glibcxx_cv_func__frexpf_use=no
34471 fi
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473       ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34478
34479
34480 fi
34481
34482   fi
34483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34484 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34485
34486     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34487       for ac_func in _frexpf
34488 do :
34489   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34490 if test "x$ac_cv_func__frexpf" = x""yes; then :
34491   cat >>confdefs.h <<_ACEOF
34492 #define HAVE__FREXPF 1
34493 _ACEOF
34494
34495 fi
34496 done
34497
34498     fi
34499   fi
34500
34501
34502
34503
34504
34505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34506 $as_echo_n "checking for hypotf declaration... " >&6; }
34507   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34508     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34509   $as_echo_n "(cached) " >&6
34510 else
34511
34512
34513       ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518
34519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h.  */
34521 #include <math.h>
34522 int
34523 main ()
34524 {
34525  hypotf(0, 0);
34526   ;
34527   return 0;
34528 }
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531   glibcxx_cv_func_hypotf_use=yes
34532 else
34533   glibcxx_cv_func_hypotf_use=no
34534 fi
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536       ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541
34542
34543 fi
34544
34545   fi
34546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34547 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34548
34549   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34550     for ac_func in hypotf
34551 do :
34552   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34553 if test "x$ac_cv_func_hypotf" = x""yes; then :
34554   cat >>confdefs.h <<_ACEOF
34555 #define HAVE_HYPOTF 1
34556 _ACEOF
34557
34558 fi
34559 done
34560
34561   else
34562
34563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34564 $as_echo_n "checking for _hypotf declaration... " >&6; }
34565   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34566     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34567   $as_echo_n "(cached) " >&6
34568 else
34569
34570
34571       ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576
34577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h.  */
34579 #include <math.h>
34580 int
34581 main ()
34582 {
34583  _hypotf(0, 0);
34584   ;
34585   return 0;
34586 }
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589   glibcxx_cv_func__hypotf_use=yes
34590 else
34591   glibcxx_cv_func__hypotf_use=no
34592 fi
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594       ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34599
34600
34601 fi
34602
34603   fi
34604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34605 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34606
34607     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34608       for ac_func in _hypotf
34609 do :
34610   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34611 if test "x$ac_cv_func__hypotf" = x""yes; then :
34612   cat >>confdefs.h <<_ACEOF
34613 #define HAVE__HYPOTF 1
34614 _ACEOF
34615
34616 fi
34617 done
34618
34619     fi
34620   fi
34621
34622
34623
34624
34625
34626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34627 $as_echo_n "checking for ldexpf declaration... " >&6; }
34628   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34629     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34630   $as_echo_n "(cached) " >&6
34631 else
34632
34633
34634       ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639
34640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h.  */
34642 #include <math.h>
34643 int
34644 main ()
34645 {
34646  ldexpf(0, 0);
34647   ;
34648   return 0;
34649 }
34650 _ACEOF
34651 if ac_fn_cxx_try_compile "$LINENO"; then :
34652   glibcxx_cv_func_ldexpf_use=yes
34653 else
34654   glibcxx_cv_func_ldexpf_use=no
34655 fi
34656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657       ac_ext=c
34658 ac_cpp='$CPP $CPPFLAGS'
34659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34662
34663
34664 fi
34665
34666   fi
34667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34668 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34669
34670   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34671     for ac_func in ldexpf
34672 do :
34673   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34674 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34675   cat >>confdefs.h <<_ACEOF
34676 #define HAVE_LDEXPF 1
34677 _ACEOF
34678
34679 fi
34680 done
34681
34682   else
34683
34684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34685 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34686   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34687     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34688   $as_echo_n "(cached) " >&6
34689 else
34690
34691
34692       ac_ext=cpp
34693 ac_cpp='$CXXCPP $CPPFLAGS'
34694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34697
34698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34699 /* end confdefs.h.  */
34700 #include <math.h>
34701 int
34702 main ()
34703 {
34704  _ldexpf(0, 0);
34705   ;
34706   return 0;
34707 }
34708 _ACEOF
34709 if ac_fn_cxx_try_compile "$LINENO"; then :
34710   glibcxx_cv_func__ldexpf_use=yes
34711 else
34712   glibcxx_cv_func__ldexpf_use=no
34713 fi
34714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34715       ac_ext=c
34716 ac_cpp='$CPP $CPPFLAGS'
34717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34720
34721
34722 fi
34723
34724   fi
34725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34726 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34727
34728     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34729       for ac_func in _ldexpf
34730 do :
34731   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34732 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34733   cat >>confdefs.h <<_ACEOF
34734 #define HAVE__LDEXPF 1
34735 _ACEOF
34736
34737 fi
34738 done
34739
34740     fi
34741   fi
34742
34743
34744
34745
34746
34747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34748 $as_echo_n "checking for logf declaration... " >&6; }
34749   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34750     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34751   $as_echo_n "(cached) " >&6
34752 else
34753
34754
34755       ac_ext=cpp
34756 ac_cpp='$CXXCPP $CPPFLAGS'
34757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34760
34761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762 /* end confdefs.h.  */
34763 #include <math.h>
34764                       #ifdef HAVE_IEEEFP_H
34765                       #include <ieeefp.h>
34766                       #endif
34767
34768 int
34769 main ()
34770 {
34771  logf(0);
34772   ;
34773   return 0;
34774 }
34775 _ACEOF
34776 if ac_fn_cxx_try_compile "$LINENO"; then :
34777   glibcxx_cv_func_logf_use=yes
34778 else
34779   glibcxx_cv_func_logf_use=no
34780 fi
34781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34782       ac_ext=c
34783 ac_cpp='$CPP $CPPFLAGS'
34784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34787
34788
34789 fi
34790
34791   fi
34792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34793 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34794
34795   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34796     for ac_func in logf
34797 do :
34798   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34799 if test "x$ac_cv_func_logf" = x""yes; then :
34800   cat >>confdefs.h <<_ACEOF
34801 #define HAVE_LOGF 1
34802 _ACEOF
34803
34804 fi
34805 done
34806
34807   else
34808
34809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34810 $as_echo_n "checking for _logf declaration... " >&6; }
34811   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34812     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34813   $as_echo_n "(cached) " >&6
34814 else
34815
34816
34817       ac_ext=cpp
34818 ac_cpp='$CXXCPP $CPPFLAGS'
34819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822
34823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34824 /* end confdefs.h.  */
34825 #include <math.h>
34826                       #ifdef HAVE_IEEEFP_H
34827                       #include <ieeefp.h>
34828                       #endif
34829
34830 int
34831 main ()
34832 {
34833  _logf(0);
34834   ;
34835   return 0;
34836 }
34837 _ACEOF
34838 if ac_fn_cxx_try_compile "$LINENO"; then :
34839   glibcxx_cv_func__logf_use=yes
34840 else
34841   glibcxx_cv_func__logf_use=no
34842 fi
34843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34844       ac_ext=c
34845 ac_cpp='$CPP $CPPFLAGS'
34846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849
34850
34851 fi
34852
34853   fi
34854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34855 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34856
34857     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34858       for ac_func in _logf
34859 do :
34860   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34861 if test "x$ac_cv_func__logf" = x""yes; then :
34862   cat >>confdefs.h <<_ACEOF
34863 #define HAVE__LOGF 1
34864 _ACEOF
34865
34866 fi
34867 done
34868
34869     fi
34870   fi
34871
34872
34873
34874
34875
34876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34877 $as_echo_n "checking for log10f declaration... " >&6; }
34878   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34879     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34880   $as_echo_n "(cached) " >&6
34881 else
34882
34883
34884       ac_ext=cpp
34885 ac_cpp='$CXXCPP $CPPFLAGS'
34886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34889
34890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34891 /* end confdefs.h.  */
34892 #include <math.h>
34893                       #ifdef HAVE_IEEEFP_H
34894                       #include <ieeefp.h>
34895                       #endif
34896
34897 int
34898 main ()
34899 {
34900  log10f(0);
34901   ;
34902   return 0;
34903 }
34904 _ACEOF
34905 if ac_fn_cxx_try_compile "$LINENO"; then :
34906   glibcxx_cv_func_log10f_use=yes
34907 else
34908   glibcxx_cv_func_log10f_use=no
34909 fi
34910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34911       ac_ext=c
34912 ac_cpp='$CPP $CPPFLAGS'
34913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34916
34917
34918 fi
34919
34920   fi
34921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34922 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34923
34924   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34925     for ac_func in log10f
34926 do :
34927   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34928 if test "x$ac_cv_func_log10f" = x""yes; then :
34929   cat >>confdefs.h <<_ACEOF
34930 #define HAVE_LOG10F 1
34931 _ACEOF
34932
34933 fi
34934 done
34935
34936   else
34937
34938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34939 $as_echo_n "checking for _log10f declaration... " >&6; }
34940   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34941     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34942   $as_echo_n "(cached) " >&6
34943 else
34944
34945
34946       ac_ext=cpp
34947 ac_cpp='$CXXCPP $CPPFLAGS'
34948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34951
34952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953 /* end confdefs.h.  */
34954 #include <math.h>
34955                       #ifdef HAVE_IEEEFP_H
34956                       #include <ieeefp.h>
34957                       #endif
34958
34959 int
34960 main ()
34961 {
34962  _log10f(0);
34963   ;
34964   return 0;
34965 }
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968   glibcxx_cv_func__log10f_use=yes
34969 else
34970   glibcxx_cv_func__log10f_use=no
34971 fi
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973       ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978
34979
34980 fi
34981
34982   fi
34983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34984 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34985
34986     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34987       for ac_func in _log10f
34988 do :
34989   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34990 if test "x$ac_cv_func__log10f" = x""yes; then :
34991   cat >>confdefs.h <<_ACEOF
34992 #define HAVE__LOG10F 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998     fi
34999   fi
35000
35001
35002
35003
35004
35005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35006 $as_echo_n "checking for modff declaration... " >&6; }
35007   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35008     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35009   $as_echo_n "(cached) " >&6
35010 else
35011
35012
35013       ac_ext=cpp
35014 ac_cpp='$CXXCPP $CPPFLAGS'
35015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35018
35019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35020 /* end confdefs.h.  */
35021 #include <math.h>
35022 int
35023 main ()
35024 {
35025  modff(0, 0);
35026   ;
35027   return 0;
35028 }
35029 _ACEOF
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031   glibcxx_cv_func_modff_use=yes
35032 else
35033   glibcxx_cv_func_modff_use=no
35034 fi
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036       ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35041
35042
35043 fi
35044
35045   fi
35046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35047 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35048
35049   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35050     for ac_func in modff
35051 do :
35052   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35053 if test "x$ac_cv_func_modff" = x""yes; then :
35054   cat >>confdefs.h <<_ACEOF
35055 #define HAVE_MODFF 1
35056 _ACEOF
35057
35058 fi
35059 done
35060
35061   else
35062
35063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35064 $as_echo_n "checking for _modff declaration... " >&6; }
35065   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35066     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35067   $as_echo_n "(cached) " >&6
35068 else
35069
35070
35071       ac_ext=cpp
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35076
35077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h.  */
35079 #include <math.h>
35080 int
35081 main ()
35082 {
35083  _modff(0, 0);
35084   ;
35085   return 0;
35086 }
35087 _ACEOF
35088 if ac_fn_cxx_try_compile "$LINENO"; then :
35089   glibcxx_cv_func__modff_use=yes
35090 else
35091   glibcxx_cv_func__modff_use=no
35092 fi
35093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094       ac_ext=c
35095 ac_cpp='$CPP $CPPFLAGS'
35096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35099
35100
35101 fi
35102
35103   fi
35104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35105 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35106
35107     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35108       for ac_func in _modff
35109 do :
35110   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35111 if test "x$ac_cv_func__modff" = x""yes; then :
35112   cat >>confdefs.h <<_ACEOF
35113 #define HAVE__MODFF 1
35114 _ACEOF
35115
35116 fi
35117 done
35118
35119     fi
35120   fi
35121
35122
35123
35124
35125
35126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35127 $as_echo_n "checking for modf declaration... " >&6; }
35128   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35129     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35130   $as_echo_n "(cached) " >&6
35131 else
35132
35133
35134       ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139
35140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h.  */
35142 #include <math.h>
35143 int
35144 main ()
35145 {
35146  modf(0, 0);
35147   ;
35148   return 0;
35149 }
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152   glibcxx_cv_func_modf_use=yes
35153 else
35154   glibcxx_cv_func_modf_use=no
35155 fi
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157       ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35162
35163
35164 fi
35165
35166   fi
35167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35168 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35169
35170   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35171     for ac_func in modf
35172 do :
35173   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35174 if test "x$ac_cv_func_modf" = x""yes; then :
35175   cat >>confdefs.h <<_ACEOF
35176 #define HAVE_MODF 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182   else
35183
35184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35185 $as_echo_n "checking for _modf declaration... " >&6; }
35186   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35187     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35188   $as_echo_n "(cached) " >&6
35189 else
35190
35191
35192       ac_ext=cpp
35193 ac_cpp='$CXXCPP $CPPFLAGS'
35194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35197
35198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h.  */
35200 #include <math.h>
35201 int
35202 main ()
35203 {
35204  _modf(0, 0);
35205   ;
35206   return 0;
35207 }
35208 _ACEOF
35209 if ac_fn_cxx_try_compile "$LINENO"; then :
35210   glibcxx_cv_func__modf_use=yes
35211 else
35212   glibcxx_cv_func__modf_use=no
35213 fi
35214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215       ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35220
35221
35222 fi
35223
35224   fi
35225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35226 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35227
35228     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35229       for ac_func in _modf
35230 do :
35231   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35232 if test "x$ac_cv_func__modf" = x""yes; then :
35233   cat >>confdefs.h <<_ACEOF
35234 #define HAVE__MODF 1
35235 _ACEOF
35236
35237 fi
35238 done
35239
35240     fi
35241   fi
35242
35243
35244
35245
35246
35247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35248 $as_echo_n "checking for powf declaration... " >&6; }
35249   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35250     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35251   $as_echo_n "(cached) " >&6
35252 else
35253
35254
35255       ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35260
35261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h.  */
35263 #include <math.h>
35264 int
35265 main ()
35266 {
35267  powf(0, 0);
35268   ;
35269   return 0;
35270 }
35271 _ACEOF
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273   glibcxx_cv_func_powf_use=yes
35274 else
35275   glibcxx_cv_func_powf_use=no
35276 fi
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35278       ac_ext=c
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35283
35284
35285 fi
35286
35287   fi
35288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35289 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35290
35291   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35292     for ac_func in powf
35293 do :
35294   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35295 if test "x$ac_cv_func_powf" = x""yes; then :
35296   cat >>confdefs.h <<_ACEOF
35297 #define HAVE_POWF 1
35298 _ACEOF
35299
35300 fi
35301 done
35302
35303   else
35304
35305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35306 $as_echo_n "checking for _powf declaration... " >&6; }
35307   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35308     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35309   $as_echo_n "(cached) " >&6
35310 else
35311
35312
35313       ac_ext=cpp
35314 ac_cpp='$CXXCPP $CPPFLAGS'
35315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35318
35319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35320 /* end confdefs.h.  */
35321 #include <math.h>
35322 int
35323 main ()
35324 {
35325  _powf(0, 0);
35326   ;
35327   return 0;
35328 }
35329 _ACEOF
35330 if ac_fn_cxx_try_compile "$LINENO"; then :
35331   glibcxx_cv_func__powf_use=yes
35332 else
35333   glibcxx_cv_func__powf_use=no
35334 fi
35335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35336       ac_ext=c
35337 ac_cpp='$CPP $CPPFLAGS'
35338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35341
35342
35343 fi
35344
35345   fi
35346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35347 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35348
35349     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35350       for ac_func in _powf
35351 do :
35352   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35353 if test "x$ac_cv_func__powf" = x""yes; then :
35354   cat >>confdefs.h <<_ACEOF
35355 #define HAVE__POWF 1
35356 _ACEOF
35357
35358 fi
35359 done
35360
35361     fi
35362   fi
35363
35364
35365
35366
35367
35368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35369 $as_echo_n "checking for sqrtf declaration... " >&6; }
35370   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35371     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35372   $as_echo_n "(cached) " >&6
35373 else
35374
35375
35376       ac_ext=cpp
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35381
35382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h.  */
35384 #include <math.h>
35385                       #ifdef HAVE_IEEEFP_H
35386                       #include <ieeefp.h>
35387                       #endif
35388
35389 int
35390 main ()
35391 {
35392  sqrtf(0);
35393   ;
35394   return 0;
35395 }
35396 _ACEOF
35397 if ac_fn_cxx_try_compile "$LINENO"; then :
35398   glibcxx_cv_func_sqrtf_use=yes
35399 else
35400   glibcxx_cv_func_sqrtf_use=no
35401 fi
35402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35403       ac_ext=c
35404 ac_cpp='$CPP $CPPFLAGS'
35405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35408
35409
35410 fi
35411
35412   fi
35413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35414 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35415
35416   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35417     for ac_func in sqrtf
35418 do :
35419   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35420 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35421   cat >>confdefs.h <<_ACEOF
35422 #define HAVE_SQRTF 1
35423 _ACEOF
35424
35425 fi
35426 done
35427
35428   else
35429
35430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35431 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35432   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35433     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35434   $as_echo_n "(cached) " >&6
35435 else
35436
35437
35438       ac_ext=cpp
35439 ac_cpp='$CXXCPP $CPPFLAGS'
35440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443
35444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35445 /* end confdefs.h.  */
35446 #include <math.h>
35447                       #ifdef HAVE_IEEEFP_H
35448                       #include <ieeefp.h>
35449                       #endif
35450
35451 int
35452 main ()
35453 {
35454  _sqrtf(0);
35455   ;
35456   return 0;
35457 }
35458 _ACEOF
35459 if ac_fn_cxx_try_compile "$LINENO"; then :
35460   glibcxx_cv_func__sqrtf_use=yes
35461 else
35462   glibcxx_cv_func__sqrtf_use=no
35463 fi
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465       ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470
35471
35472 fi
35473
35474   fi
35475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35476 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35477
35478     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35479       for ac_func in _sqrtf
35480 do :
35481   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35482 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35483   cat >>confdefs.h <<_ACEOF
35484 #define HAVE__SQRTF 1
35485 _ACEOF
35486
35487 fi
35488 done
35489
35490     fi
35491   fi
35492
35493
35494
35495
35496
35497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35498 $as_echo_n "checking for sincosf declaration... " >&6; }
35499   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35500     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35501   $as_echo_n "(cached) " >&6
35502 else
35503
35504
35505       ac_ext=cpp
35506 ac_cpp='$CXXCPP $CPPFLAGS'
35507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35510
35511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35512 /* end confdefs.h.  */
35513 #include <math.h>
35514 int
35515 main ()
35516 {
35517  sincosf(0, 0, 0);
35518   ;
35519   return 0;
35520 }
35521 _ACEOF
35522 if ac_fn_cxx_try_compile "$LINENO"; then :
35523   glibcxx_cv_func_sincosf_use=yes
35524 else
35525   glibcxx_cv_func_sincosf_use=no
35526 fi
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528       ac_ext=c
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35533
35534
35535 fi
35536
35537   fi
35538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35539 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35540
35541   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35542     for ac_func in sincosf
35543 do :
35544   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35545 if test "x$ac_cv_func_sincosf" = x""yes; then :
35546   cat >>confdefs.h <<_ACEOF
35547 #define HAVE_SINCOSF 1
35548 _ACEOF
35549
35550 fi
35551 done
35552
35553   else
35554
35555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35556 $as_echo_n "checking for _sincosf declaration... " >&6; }
35557   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35558     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35559   $as_echo_n "(cached) " >&6
35560 else
35561
35562
35563       ac_ext=cpp
35564 ac_cpp='$CXXCPP $CPPFLAGS'
35565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35568
35569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35570 /* end confdefs.h.  */
35571 #include <math.h>
35572 int
35573 main ()
35574 {
35575  _sincosf(0, 0, 0);
35576   ;
35577   return 0;
35578 }
35579 _ACEOF
35580 if ac_fn_cxx_try_compile "$LINENO"; then :
35581   glibcxx_cv_func__sincosf_use=yes
35582 else
35583   glibcxx_cv_func__sincosf_use=no
35584 fi
35585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35586       ac_ext=c
35587 ac_cpp='$CPP $CPPFLAGS'
35588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591
35592
35593 fi
35594
35595   fi
35596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35597 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35598
35599     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35600       for ac_func in _sincosf
35601 do :
35602   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35603 if test "x$ac_cv_func__sincosf" = x""yes; then :
35604   cat >>confdefs.h <<_ACEOF
35605 #define HAVE__SINCOSF 1
35606 _ACEOF
35607
35608 fi
35609 done
35610
35611     fi
35612   fi
35613
35614
35615
35616
35617
35618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35619 $as_echo_n "checking for finitef declaration... " >&6; }
35620   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35621     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35622   $as_echo_n "(cached) " >&6
35623 else
35624
35625
35626       ac_ext=cpp
35627 ac_cpp='$CXXCPP $CPPFLAGS'
35628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35631
35632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35633 /* end confdefs.h.  */
35634 #include <math.h>
35635                       #ifdef HAVE_IEEEFP_H
35636                       #include <ieeefp.h>
35637                       #endif
35638
35639 int
35640 main ()
35641 {
35642  finitef(0);
35643   ;
35644   return 0;
35645 }
35646 _ACEOF
35647 if ac_fn_cxx_try_compile "$LINENO"; then :
35648   glibcxx_cv_func_finitef_use=yes
35649 else
35650   glibcxx_cv_func_finitef_use=no
35651 fi
35652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35653       ac_ext=c
35654 ac_cpp='$CPP $CPPFLAGS'
35655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35658
35659
35660 fi
35661
35662   fi
35663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35664 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35665
35666   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35667     for ac_func in finitef
35668 do :
35669   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35670 if test "x$ac_cv_func_finitef" = x""yes; then :
35671   cat >>confdefs.h <<_ACEOF
35672 #define HAVE_FINITEF 1
35673 _ACEOF
35674
35675 fi
35676 done
35677
35678   else
35679
35680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35681 $as_echo_n "checking for _finitef declaration... " >&6; }
35682   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35683     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35684   $as_echo_n "(cached) " >&6
35685 else
35686
35687
35688       ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693
35694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h.  */
35696 #include <math.h>
35697                       #ifdef HAVE_IEEEFP_H
35698                       #include <ieeefp.h>
35699                       #endif
35700
35701 int
35702 main ()
35703 {
35704  _finitef(0);
35705   ;
35706   return 0;
35707 }
35708 _ACEOF
35709 if ac_fn_cxx_try_compile "$LINENO"; then :
35710   glibcxx_cv_func__finitef_use=yes
35711 else
35712   glibcxx_cv_func__finitef_use=no
35713 fi
35714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35715       ac_ext=c
35716 ac_cpp='$CPP $CPPFLAGS'
35717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720
35721
35722 fi
35723
35724   fi
35725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35726 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35727
35728     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35729       for ac_func in _finitef
35730 do :
35731   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35732 if test "x$ac_cv_func__finitef" = x""yes; then :
35733   cat >>confdefs.h <<_ACEOF
35734 #define HAVE__FINITEF 1
35735 _ACEOF
35736
35737 fi
35738 done
35739
35740     fi
35741   fi
35742
35743
35744
35745
35746
35747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35748 $as_echo_n "checking for long double trig functions... " >&6; }
35749   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35750   $as_echo_n "(cached) " >&6
35751 else
35752
35753
35754     ac_ext=cpp
35755 ac_cpp='$CXXCPP $CPPFLAGS'
35756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35759
35760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35761 /* end confdefs.h.  */
35762 #include <math.h>
35763 int
35764 main ()
35765 {
35766 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35767   ;
35768   return 0;
35769 }
35770 _ACEOF
35771 if ac_fn_cxx_try_compile "$LINENO"; then :
35772   glibcxx_cv_func_long_double_trig_use=yes
35773 else
35774   glibcxx_cv_func_long_double_trig_use=no
35775 fi
35776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35777     ac_ext=c
35778 ac_cpp='$CPP $CPPFLAGS'
35779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35782
35783 fi
35784
35785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35786 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35787   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35788     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35789 do :
35790   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35792 eval as_val=\$$as_ac_var
35793    if test "x$as_val" = x""yes; then :
35794   cat >>confdefs.h <<_ACEOF
35795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35796 _ACEOF
35797
35798 fi
35799 done
35800
35801   else
35802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35803 $as_echo_n "checking for _long double trig functions... " >&6; }
35804     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35805   $as_echo_n "(cached) " >&6
35806 else
35807
35808
35809       ac_ext=cpp
35810 ac_cpp='$CXXCPP $CPPFLAGS'
35811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814
35815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35816 /* end confdefs.h.  */
35817 #include <math.h>
35818 int
35819 main ()
35820 {
35821 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35822   ;
35823   return 0;
35824 }
35825 _ACEOF
35826 if ac_fn_cxx_try_compile "$LINENO"; then :
35827   glibcxx_cv_func__long_double_trig_use=yes
35828 else
35829   glibcxx_cv_func__long_double_trig_use=no
35830 fi
35831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35832       ac_ext=c
35833 ac_cpp='$CPP $CPPFLAGS'
35834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35837
35838 fi
35839
35840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35841 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35842     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35843       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35844 do :
35845   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35847 eval as_val=\$$as_ac_var
35848    if test "x$as_val" = x""yes; then :
35849   cat >>confdefs.h <<_ACEOF
35850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35851 _ACEOF
35852
35853 fi
35854 done
35855
35856     fi
35857   fi
35858
35859
35860
35861
35862
35863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35864 $as_echo_n "checking for long double round functions... " >&6; }
35865   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35866   $as_echo_n "(cached) " >&6
35867 else
35868
35869
35870     ac_ext=cpp
35871 ac_cpp='$CXXCPP $CPPFLAGS'
35872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875
35876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35877 /* end confdefs.h.  */
35878 #include <math.h>
35879 int
35880 main ()
35881 {
35882 ceill (0); floorl (0);
35883   ;
35884   return 0;
35885 }
35886 _ACEOF
35887 if ac_fn_cxx_try_compile "$LINENO"; then :
35888   glibcxx_cv_func_long_double_round_use=yes
35889 else
35890   glibcxx_cv_func_long_double_round_use=no
35891 fi
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893     ac_ext=c
35894 ac_cpp='$CPP $CPPFLAGS'
35895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898
35899 fi
35900
35901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35902 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35903   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35904     for ac_func in ceill floorl
35905 do :
35906   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35908 eval as_val=\$$as_ac_var
35909    if test "x$as_val" = x""yes; then :
35910   cat >>confdefs.h <<_ACEOF
35911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35912 _ACEOF
35913
35914 fi
35915 done
35916
35917   else
35918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35919 $as_echo_n "checking for _long double round functions... " >&6; }
35920     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35921   $as_echo_n "(cached) " >&6
35922 else
35923
35924
35925       ac_ext=cpp
35926 ac_cpp='$CXXCPP $CPPFLAGS'
35927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35930
35931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35932 /* end confdefs.h.  */
35933 #include <math.h>
35934 int
35935 main ()
35936 {
35937 _ceill (0); _floorl (0);
35938   ;
35939   return 0;
35940 }
35941 _ACEOF
35942 if ac_fn_cxx_try_compile "$LINENO"; then :
35943   glibcxx_cv_func__long_double_round_use=yes
35944 else
35945   glibcxx_cv_func__long_double_round_use=no
35946 fi
35947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35948       ac_ext=c
35949 ac_cpp='$CPP $CPPFLAGS'
35950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35953
35954 fi
35955
35956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35957 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35958     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35959       for ac_func in _ceill _floorl
35960 do :
35961   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35963 eval as_val=\$$as_ac_var
35964    if test "x$as_val" = x""yes; then :
35965   cat >>confdefs.h <<_ACEOF
35966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35967 _ACEOF
35968
35969 fi
35970 done
35971
35972     fi
35973   fi
35974
35975
35976
35977
35978
35979
35980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35981 $as_echo_n "checking for isnanl declaration... " >&6; }
35982   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35983     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35984   $as_echo_n "(cached) " >&6
35985 else
35986
35987
35988       ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993
35994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35995 /* end confdefs.h.  */
35996 #include <math.h>
35997                       #ifdef HAVE_IEEEFP_H
35998                       #include <ieeefp.h>
35999                       #endif
36000
36001 int
36002 main ()
36003 {
36004  isnanl(0);
36005   ;
36006   return 0;
36007 }
36008 _ACEOF
36009 if ac_fn_cxx_try_compile "$LINENO"; then :
36010   glibcxx_cv_func_isnanl_use=yes
36011 else
36012   glibcxx_cv_func_isnanl_use=no
36013 fi
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015       ac_ext=c
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020
36021
36022 fi
36023
36024   fi
36025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36026 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36027
36028   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36029     for ac_func in isnanl
36030 do :
36031   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36032 if test "x$ac_cv_func_isnanl" = x""yes; then :
36033   cat >>confdefs.h <<_ACEOF
36034 #define HAVE_ISNANL 1
36035 _ACEOF
36036
36037 fi
36038 done
36039
36040   else
36041
36042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36043 $as_echo_n "checking for _isnanl declaration... " >&6; }
36044   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36045     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36046   $as_echo_n "(cached) " >&6
36047 else
36048
36049
36050       ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36055
36056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h.  */
36058 #include <math.h>
36059                       #ifdef HAVE_IEEEFP_H
36060                       #include <ieeefp.h>
36061                       #endif
36062
36063 int
36064 main ()
36065 {
36066  _isnanl(0);
36067   ;
36068   return 0;
36069 }
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072   glibcxx_cv_func__isnanl_use=yes
36073 else
36074   glibcxx_cv_func__isnanl_use=no
36075 fi
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077       ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36082
36083
36084 fi
36085
36086   fi
36087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36088 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36089
36090     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36091       for ac_func in _isnanl
36092 do :
36093   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36094 if test "x$ac_cv_func__isnanl" = x""yes; then :
36095   cat >>confdefs.h <<_ACEOF
36096 #define HAVE__ISNANL 1
36097 _ACEOF
36098
36099 fi
36100 done
36101
36102     fi
36103   fi
36104
36105
36106
36107
36108
36109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36110 $as_echo_n "checking for isinfl declaration... " >&6; }
36111   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36112     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36113   $as_echo_n "(cached) " >&6
36114 else
36115
36116
36117       ac_ext=cpp
36118 ac_cpp='$CXXCPP $CPPFLAGS'
36119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122
36123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36124 /* end confdefs.h.  */
36125 #include <math.h>
36126                       #ifdef HAVE_IEEEFP_H
36127                       #include <ieeefp.h>
36128                       #endif
36129
36130 int
36131 main ()
36132 {
36133  isinfl(0);
36134   ;
36135   return 0;
36136 }
36137 _ACEOF
36138 if ac_fn_cxx_try_compile "$LINENO"; then :
36139   glibcxx_cv_func_isinfl_use=yes
36140 else
36141   glibcxx_cv_func_isinfl_use=no
36142 fi
36143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36144       ac_ext=c
36145 ac_cpp='$CPP $CPPFLAGS'
36146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36149
36150
36151 fi
36152
36153   fi
36154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36155 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36156
36157   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36158     for ac_func in isinfl
36159 do :
36160   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36161 if test "x$ac_cv_func_isinfl" = x""yes; then :
36162   cat >>confdefs.h <<_ACEOF
36163 #define HAVE_ISINFL 1
36164 _ACEOF
36165
36166 fi
36167 done
36168
36169   else
36170
36171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36172 $as_echo_n "checking for _isinfl declaration... " >&6; }
36173   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36174     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36175   $as_echo_n "(cached) " >&6
36176 else
36177
36178
36179       ac_ext=cpp
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36184
36185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36186 /* end confdefs.h.  */
36187 #include <math.h>
36188                       #ifdef HAVE_IEEEFP_H
36189                       #include <ieeefp.h>
36190                       #endif
36191
36192 int
36193 main ()
36194 {
36195  _isinfl(0);
36196   ;
36197   return 0;
36198 }
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201   glibcxx_cv_func__isinfl_use=yes
36202 else
36203   glibcxx_cv_func__isinfl_use=no
36204 fi
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206       ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36211
36212
36213 fi
36214
36215   fi
36216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36217 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36218
36219     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36220       for ac_func in _isinfl
36221 do :
36222   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36223 if test "x$ac_cv_func__isinfl" = x""yes; then :
36224   cat >>confdefs.h <<_ACEOF
36225 #define HAVE__ISINFL 1
36226 _ACEOF
36227
36228 fi
36229 done
36230
36231     fi
36232   fi
36233
36234
36235
36236
36237
36238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36239 $as_echo_n "checking for atan2l declaration... " >&6; }
36240   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36241     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36242   $as_echo_n "(cached) " >&6
36243 else
36244
36245
36246       ac_ext=cpp
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251
36252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253 /* end confdefs.h.  */
36254 #include <math.h>
36255 int
36256 main ()
36257 {
36258  atan2l(0, 0);
36259   ;
36260   return 0;
36261 }
36262 _ACEOF
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264   glibcxx_cv_func_atan2l_use=yes
36265 else
36266   glibcxx_cv_func_atan2l_use=no
36267 fi
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269       ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36274
36275
36276 fi
36277
36278   fi
36279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36280 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36281
36282   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36283     for ac_func in atan2l
36284 do :
36285   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36286 if test "x$ac_cv_func_atan2l" = x""yes; then :
36287   cat >>confdefs.h <<_ACEOF
36288 #define HAVE_ATAN2L 1
36289 _ACEOF
36290
36291 fi
36292 done
36293
36294   else
36295
36296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36297 $as_echo_n "checking for _atan2l declaration... " >&6; }
36298   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36299     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36300   $as_echo_n "(cached) " >&6
36301 else
36302
36303
36304       ac_ext=cpp
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309
36310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36311 /* end confdefs.h.  */
36312 #include <math.h>
36313 int
36314 main ()
36315 {
36316  _atan2l(0, 0);
36317   ;
36318   return 0;
36319 }
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322   glibcxx_cv_func__atan2l_use=yes
36323 else
36324   glibcxx_cv_func__atan2l_use=no
36325 fi
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327       ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36332
36333
36334 fi
36335
36336   fi
36337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36338 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36339
36340     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36341       for ac_func in _atan2l
36342 do :
36343   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36344 if test "x$ac_cv_func__atan2l" = x""yes; then :
36345   cat >>confdefs.h <<_ACEOF
36346 #define HAVE__ATAN2L 1
36347 _ACEOF
36348
36349 fi
36350 done
36351
36352     fi
36353   fi
36354
36355
36356
36357
36358
36359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36360 $as_echo_n "checking for expl declaration... " >&6; }
36361   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36362     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36363   $as_echo_n "(cached) " >&6
36364 else
36365
36366
36367       ac_ext=cpp
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36372
36373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h.  */
36375 #include <math.h>
36376                       #ifdef HAVE_IEEEFP_H
36377                       #include <ieeefp.h>
36378                       #endif
36379
36380 int
36381 main ()
36382 {
36383  expl(0);
36384   ;
36385   return 0;
36386 }
36387 _ACEOF
36388 if ac_fn_cxx_try_compile "$LINENO"; then :
36389   glibcxx_cv_func_expl_use=yes
36390 else
36391   glibcxx_cv_func_expl_use=no
36392 fi
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36394       ac_ext=c
36395 ac_cpp='$CPP $CPPFLAGS'
36396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399
36400
36401 fi
36402
36403   fi
36404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36405 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36406
36407   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36408     for ac_func in expl
36409 do :
36410   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36411 if test "x$ac_cv_func_expl" = x""yes; then :
36412   cat >>confdefs.h <<_ACEOF
36413 #define HAVE_EXPL 1
36414 _ACEOF
36415
36416 fi
36417 done
36418
36419   else
36420
36421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36422 $as_echo_n "checking for _expl declaration... " >&6; }
36423   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36424     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36425   $as_echo_n "(cached) " >&6
36426 else
36427
36428
36429       ac_ext=cpp
36430 ac_cpp='$CXXCPP $CPPFLAGS'
36431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434
36435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36436 /* end confdefs.h.  */
36437 #include <math.h>
36438                       #ifdef HAVE_IEEEFP_H
36439                       #include <ieeefp.h>
36440                       #endif
36441
36442 int
36443 main ()
36444 {
36445  _expl(0);
36446   ;
36447   return 0;
36448 }
36449 _ACEOF
36450 if ac_fn_cxx_try_compile "$LINENO"; then :
36451   glibcxx_cv_func__expl_use=yes
36452 else
36453   glibcxx_cv_func__expl_use=no
36454 fi
36455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456       ac_ext=c
36457 ac_cpp='$CPP $CPPFLAGS'
36458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461
36462
36463 fi
36464
36465   fi
36466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36467 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36468
36469     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36470       for ac_func in _expl
36471 do :
36472   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36473 if test "x$ac_cv_func__expl" = x""yes; then :
36474   cat >>confdefs.h <<_ACEOF
36475 #define HAVE__EXPL 1
36476 _ACEOF
36477
36478 fi
36479 done
36480
36481     fi
36482   fi
36483
36484
36485
36486
36487
36488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36489 $as_echo_n "checking for fabsl declaration... " >&6; }
36490   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36491     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36492   $as_echo_n "(cached) " >&6
36493 else
36494
36495
36496       ac_ext=cpp
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36501
36502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36503 /* end confdefs.h.  */
36504 #include <math.h>
36505                       #ifdef HAVE_IEEEFP_H
36506                       #include <ieeefp.h>
36507                       #endif
36508
36509 int
36510 main ()
36511 {
36512  fabsl(0);
36513   ;
36514   return 0;
36515 }
36516 _ACEOF
36517 if ac_fn_cxx_try_compile "$LINENO"; then :
36518   glibcxx_cv_func_fabsl_use=yes
36519 else
36520   glibcxx_cv_func_fabsl_use=no
36521 fi
36522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523       ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528
36529
36530 fi
36531
36532   fi
36533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36534 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36535
36536   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36537     for ac_func in fabsl
36538 do :
36539   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36540 if test "x$ac_cv_func_fabsl" = x""yes; then :
36541   cat >>confdefs.h <<_ACEOF
36542 #define HAVE_FABSL 1
36543 _ACEOF
36544
36545 fi
36546 done
36547
36548   else
36549
36550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36551 $as_echo_n "checking for _fabsl declaration... " >&6; }
36552   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36553     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36554   $as_echo_n "(cached) " >&6
36555 else
36556
36557
36558       ac_ext=cpp
36559 ac_cpp='$CXXCPP $CPPFLAGS'
36560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36563
36564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36565 /* end confdefs.h.  */
36566 #include <math.h>
36567                       #ifdef HAVE_IEEEFP_H
36568                       #include <ieeefp.h>
36569                       #endif
36570
36571 int
36572 main ()
36573 {
36574  _fabsl(0);
36575   ;
36576   return 0;
36577 }
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580   glibcxx_cv_func__fabsl_use=yes
36581 else
36582   glibcxx_cv_func__fabsl_use=no
36583 fi
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585       ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36590
36591
36592 fi
36593
36594   fi
36595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36596 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36597
36598     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36599       for ac_func in _fabsl
36600 do :
36601   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36602 if test "x$ac_cv_func__fabsl" = x""yes; then :
36603   cat >>confdefs.h <<_ACEOF
36604 #define HAVE__FABSL 1
36605 _ACEOF
36606
36607 fi
36608 done
36609
36610     fi
36611   fi
36612
36613
36614
36615
36616
36617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36618 $as_echo_n "checking for fmodl declaration... " >&6; }
36619   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36620     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36621   $as_echo_n "(cached) " >&6
36622 else
36623
36624
36625       ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h.  */
36633 #include <math.h>
36634 int
36635 main ()
36636 {
36637  fmodl(0, 0);
36638   ;
36639   return 0;
36640 }
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643   glibcxx_cv_func_fmodl_use=yes
36644 else
36645   glibcxx_cv_func_fmodl_use=no
36646 fi
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648       ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653
36654
36655 fi
36656
36657   fi
36658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36659 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36660
36661   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36662     for ac_func in fmodl
36663 do :
36664   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36665 if test "x$ac_cv_func_fmodl" = x""yes; then :
36666   cat >>confdefs.h <<_ACEOF
36667 #define HAVE_FMODL 1
36668 _ACEOF
36669
36670 fi
36671 done
36672
36673   else
36674
36675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36676 $as_echo_n "checking for _fmodl declaration... " >&6; }
36677   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36678     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36679   $as_echo_n "(cached) " >&6
36680 else
36681
36682
36683       ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36688
36689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h.  */
36691 #include <math.h>
36692 int
36693 main ()
36694 {
36695  _fmodl(0, 0);
36696   ;
36697   return 0;
36698 }
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701   glibcxx_cv_func__fmodl_use=yes
36702 else
36703   glibcxx_cv_func__fmodl_use=no
36704 fi
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706       ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36711
36712
36713 fi
36714
36715   fi
36716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36717 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36718
36719     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36720       for ac_func in _fmodl
36721 do :
36722   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36723 if test "x$ac_cv_func__fmodl" = x""yes; then :
36724   cat >>confdefs.h <<_ACEOF
36725 #define HAVE__FMODL 1
36726 _ACEOF
36727
36728 fi
36729 done
36730
36731     fi
36732   fi
36733
36734
36735
36736
36737
36738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36739 $as_echo_n "checking for frexpl declaration... " >&6; }
36740   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36741     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36742   $as_echo_n "(cached) " >&6
36743 else
36744
36745
36746       ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751
36752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h.  */
36754 #include <math.h>
36755 int
36756 main ()
36757 {
36758  frexpl(0, 0);
36759   ;
36760   return 0;
36761 }
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764   glibcxx_cv_func_frexpl_use=yes
36765 else
36766   glibcxx_cv_func_frexpl_use=no
36767 fi
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769       ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36774
36775
36776 fi
36777
36778   fi
36779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36780 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36781
36782   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36783     for ac_func in frexpl
36784 do :
36785   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36786 if test "x$ac_cv_func_frexpl" = x""yes; then :
36787   cat >>confdefs.h <<_ACEOF
36788 #define HAVE_FREXPL 1
36789 _ACEOF
36790
36791 fi
36792 done
36793
36794   else
36795
36796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36797 $as_echo_n "checking for _frexpl declaration... " >&6; }
36798   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36799     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36800   $as_echo_n "(cached) " >&6
36801 else
36802
36803
36804       ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36809
36810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h.  */
36812 #include <math.h>
36813 int
36814 main ()
36815 {
36816  _frexpl(0, 0);
36817   ;
36818   return 0;
36819 }
36820 _ACEOF
36821 if ac_fn_cxx_try_compile "$LINENO"; then :
36822   glibcxx_cv_func__frexpl_use=yes
36823 else
36824   glibcxx_cv_func__frexpl_use=no
36825 fi
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827       ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36832
36833
36834 fi
36835
36836   fi
36837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36838 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36839
36840     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36841       for ac_func in _frexpl
36842 do :
36843   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36844 if test "x$ac_cv_func__frexpl" = x""yes; then :
36845   cat >>confdefs.h <<_ACEOF
36846 #define HAVE__FREXPL 1
36847 _ACEOF
36848
36849 fi
36850 done
36851
36852     fi
36853   fi
36854
36855
36856
36857
36858
36859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36860 $as_echo_n "checking for hypotl declaration... " >&6; }
36861   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36862     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36863   $as_echo_n "(cached) " >&6
36864 else
36865
36866
36867       ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872
36873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h.  */
36875 #include <math.h>
36876 int
36877 main ()
36878 {
36879  hypotl(0, 0);
36880   ;
36881   return 0;
36882 }
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885   glibcxx_cv_func_hypotl_use=yes
36886 else
36887   glibcxx_cv_func_hypotl_use=no
36888 fi
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890       ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895
36896
36897 fi
36898
36899   fi
36900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36901 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36902
36903   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36904     for ac_func in hypotl
36905 do :
36906   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36907 if test "x$ac_cv_func_hypotl" = x""yes; then :
36908   cat >>confdefs.h <<_ACEOF
36909 #define HAVE_HYPOTL 1
36910 _ACEOF
36911
36912 fi
36913 done
36914
36915   else
36916
36917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36918 $as_echo_n "checking for _hypotl declaration... " >&6; }
36919   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36920     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36921   $as_echo_n "(cached) " >&6
36922 else
36923
36924
36925       ac_ext=cpp
36926 ac_cpp='$CXXCPP $CPPFLAGS'
36927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36930
36931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36932 /* end confdefs.h.  */
36933 #include <math.h>
36934 int
36935 main ()
36936 {
36937  _hypotl(0, 0);
36938   ;
36939   return 0;
36940 }
36941 _ACEOF
36942 if ac_fn_cxx_try_compile "$LINENO"; then :
36943   glibcxx_cv_func__hypotl_use=yes
36944 else
36945   glibcxx_cv_func__hypotl_use=no
36946 fi
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948       ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36953
36954
36955 fi
36956
36957   fi
36958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36959 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36960
36961     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36962       for ac_func in _hypotl
36963 do :
36964   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36965 if test "x$ac_cv_func__hypotl" = x""yes; then :
36966   cat >>confdefs.h <<_ACEOF
36967 #define HAVE__HYPOTL 1
36968 _ACEOF
36969
36970 fi
36971 done
36972
36973     fi
36974   fi
36975
36976
36977
36978
36979
36980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36981 $as_echo_n "checking for ldexpl declaration... " >&6; }
36982   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36983     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36984   $as_echo_n "(cached) " >&6
36985 else
36986
36987
36988       ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993
36994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h.  */
36996 #include <math.h>
36997 int
36998 main ()
36999 {
37000  ldexpl(0, 0);
37001   ;
37002   return 0;
37003 }
37004 _ACEOF
37005 if ac_fn_cxx_try_compile "$LINENO"; then :
37006   glibcxx_cv_func_ldexpl_use=yes
37007 else
37008   glibcxx_cv_func_ldexpl_use=no
37009 fi
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37011       ac_ext=c
37012 ac_cpp='$CPP $CPPFLAGS'
37013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37016
37017
37018 fi
37019
37020   fi
37021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37022 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37023
37024   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37025     for ac_func in ldexpl
37026 do :
37027   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37028 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37029   cat >>confdefs.h <<_ACEOF
37030 #define HAVE_LDEXPL 1
37031 _ACEOF
37032
37033 fi
37034 done
37035
37036   else
37037
37038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37039 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37040   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37041     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37042   $as_echo_n "(cached) " >&6
37043 else
37044
37045
37046       ac_ext=cpp
37047 ac_cpp='$CXXCPP $CPPFLAGS'
37048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37051
37052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37053 /* end confdefs.h.  */
37054 #include <math.h>
37055 int
37056 main ()
37057 {
37058  _ldexpl(0, 0);
37059   ;
37060   return 0;
37061 }
37062 _ACEOF
37063 if ac_fn_cxx_try_compile "$LINENO"; then :
37064   glibcxx_cv_func__ldexpl_use=yes
37065 else
37066   glibcxx_cv_func__ldexpl_use=no
37067 fi
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069       ac_ext=c
37070 ac_cpp='$CPP $CPPFLAGS'
37071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37074
37075
37076 fi
37077
37078   fi
37079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37080 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37081
37082     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37083       for ac_func in _ldexpl
37084 do :
37085   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37086 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37087   cat >>confdefs.h <<_ACEOF
37088 #define HAVE__LDEXPL 1
37089 _ACEOF
37090
37091 fi
37092 done
37093
37094     fi
37095   fi
37096
37097
37098
37099
37100
37101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37102 $as_echo_n "checking for logl declaration... " >&6; }
37103   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37104     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37105   $as_echo_n "(cached) " >&6
37106 else
37107
37108
37109       ac_ext=cpp
37110 ac_cpp='$CXXCPP $CPPFLAGS'
37111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37114
37115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116 /* end confdefs.h.  */
37117 #include <math.h>
37118                       #ifdef HAVE_IEEEFP_H
37119                       #include <ieeefp.h>
37120                       #endif
37121
37122 int
37123 main ()
37124 {
37125  logl(0);
37126   ;
37127   return 0;
37128 }
37129 _ACEOF
37130 if ac_fn_cxx_try_compile "$LINENO"; then :
37131   glibcxx_cv_func_logl_use=yes
37132 else
37133   glibcxx_cv_func_logl_use=no
37134 fi
37135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37136       ac_ext=c
37137 ac_cpp='$CPP $CPPFLAGS'
37138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37141
37142
37143 fi
37144
37145   fi
37146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37147 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37148
37149   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37150     for ac_func in logl
37151 do :
37152   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37153 if test "x$ac_cv_func_logl" = x""yes; then :
37154   cat >>confdefs.h <<_ACEOF
37155 #define HAVE_LOGL 1
37156 _ACEOF
37157
37158 fi
37159 done
37160
37161   else
37162
37163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37164 $as_echo_n "checking for _logl declaration... " >&6; }
37165   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37166     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37167   $as_echo_n "(cached) " >&6
37168 else
37169
37170
37171       ac_ext=cpp
37172 ac_cpp='$CXXCPP $CPPFLAGS'
37173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176
37177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37178 /* end confdefs.h.  */
37179 #include <math.h>
37180                       #ifdef HAVE_IEEEFP_H
37181                       #include <ieeefp.h>
37182                       #endif
37183
37184 int
37185 main ()
37186 {
37187  _logl(0);
37188   ;
37189   return 0;
37190 }
37191 _ACEOF
37192 if ac_fn_cxx_try_compile "$LINENO"; then :
37193   glibcxx_cv_func__logl_use=yes
37194 else
37195   glibcxx_cv_func__logl_use=no
37196 fi
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198       ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203
37204
37205 fi
37206
37207   fi
37208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37209 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37210
37211     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37212       for ac_func in _logl
37213 do :
37214   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37215 if test "x$ac_cv_func__logl" = x""yes; then :
37216   cat >>confdefs.h <<_ACEOF
37217 #define HAVE__LOGL 1
37218 _ACEOF
37219
37220 fi
37221 done
37222
37223     fi
37224   fi
37225
37226
37227
37228
37229
37230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37231 $as_echo_n "checking for log10l declaration... " >&6; }
37232   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37233     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37234   $as_echo_n "(cached) " >&6
37235 else
37236
37237
37238       ac_ext=cpp
37239 ac_cpp='$CXXCPP $CPPFLAGS'
37240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37243
37244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37245 /* end confdefs.h.  */
37246 #include <math.h>
37247                       #ifdef HAVE_IEEEFP_H
37248                       #include <ieeefp.h>
37249                       #endif
37250
37251 int
37252 main ()
37253 {
37254  log10l(0);
37255   ;
37256   return 0;
37257 }
37258 _ACEOF
37259 if ac_fn_cxx_try_compile "$LINENO"; then :
37260   glibcxx_cv_func_log10l_use=yes
37261 else
37262   glibcxx_cv_func_log10l_use=no
37263 fi
37264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37265       ac_ext=c
37266 ac_cpp='$CPP $CPPFLAGS'
37267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37270
37271
37272 fi
37273
37274   fi
37275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37276 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37277
37278   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37279     for ac_func in log10l
37280 do :
37281   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37282 if test "x$ac_cv_func_log10l" = x""yes; then :
37283   cat >>confdefs.h <<_ACEOF
37284 #define HAVE_LOG10L 1
37285 _ACEOF
37286
37287 fi
37288 done
37289
37290   else
37291
37292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37293 $as_echo_n "checking for _log10l declaration... " >&6; }
37294   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37295     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37296   $as_echo_n "(cached) " >&6
37297 else
37298
37299
37300       ac_ext=cpp
37301 ac_cpp='$CXXCPP $CPPFLAGS'
37302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37305
37306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 /* end confdefs.h.  */
37308 #include <math.h>
37309                       #ifdef HAVE_IEEEFP_H
37310                       #include <ieeefp.h>
37311                       #endif
37312
37313 int
37314 main ()
37315 {
37316  _log10l(0);
37317   ;
37318   return 0;
37319 }
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322   glibcxx_cv_func__log10l_use=yes
37323 else
37324   glibcxx_cv_func__log10l_use=no
37325 fi
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327       ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37332
37333
37334 fi
37335
37336   fi
37337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37338 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37339
37340     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37341       for ac_func in _log10l
37342 do :
37343   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37344 if test "x$ac_cv_func__log10l" = x""yes; then :
37345   cat >>confdefs.h <<_ACEOF
37346 #define HAVE__LOG10L 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352     fi
37353   fi
37354
37355
37356
37357
37358
37359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37360 $as_echo_n "checking for modfl declaration... " >&6; }
37361   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37362     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37363   $as_echo_n "(cached) " >&6
37364 else
37365
37366
37367       ac_ext=cpp
37368 ac_cpp='$CXXCPP $CPPFLAGS'
37369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37372
37373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37374 /* end confdefs.h.  */
37375 #include <math.h>
37376 int
37377 main ()
37378 {
37379  modfl(0, 0);
37380   ;
37381   return 0;
37382 }
37383 _ACEOF
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385   glibcxx_cv_func_modfl_use=yes
37386 else
37387   glibcxx_cv_func_modfl_use=no
37388 fi
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37390       ac_ext=c
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37395
37396
37397 fi
37398
37399   fi
37400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37401 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37402
37403   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37404     for ac_func in modfl
37405 do :
37406   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37407 if test "x$ac_cv_func_modfl" = x""yes; then :
37408   cat >>confdefs.h <<_ACEOF
37409 #define HAVE_MODFL 1
37410 _ACEOF
37411
37412 fi
37413 done
37414
37415   else
37416
37417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37418 $as_echo_n "checking for _modfl declaration... " >&6; }
37419   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37420     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37421   $as_echo_n "(cached) " >&6
37422 else
37423
37424
37425       ac_ext=cpp
37426 ac_cpp='$CXXCPP $CPPFLAGS'
37427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37430
37431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37432 /* end confdefs.h.  */
37433 #include <math.h>
37434 int
37435 main ()
37436 {
37437  _modfl(0, 0);
37438   ;
37439   return 0;
37440 }
37441 _ACEOF
37442 if ac_fn_cxx_try_compile "$LINENO"; then :
37443   glibcxx_cv_func__modfl_use=yes
37444 else
37445   glibcxx_cv_func__modfl_use=no
37446 fi
37447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37448       ac_ext=c
37449 ac_cpp='$CPP $CPPFLAGS'
37450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453
37454
37455 fi
37456
37457   fi
37458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37459 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37460
37461     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37462       for ac_func in _modfl
37463 do :
37464   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37465 if test "x$ac_cv_func__modfl" = x""yes; then :
37466   cat >>confdefs.h <<_ACEOF
37467 #define HAVE__MODFL 1
37468 _ACEOF
37469
37470 fi
37471 done
37472
37473     fi
37474   fi
37475
37476
37477
37478
37479
37480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37481 $as_echo_n "checking for powl declaration... " >&6; }
37482   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37483     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37484   $as_echo_n "(cached) " >&6
37485 else
37486
37487
37488       ac_ext=cpp
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37493
37494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h.  */
37496 #include <math.h>
37497 int
37498 main ()
37499 {
37500  powl(0, 0);
37501   ;
37502   return 0;
37503 }
37504 _ACEOF
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506   glibcxx_cv_func_powl_use=yes
37507 else
37508   glibcxx_cv_func_powl_use=no
37509 fi
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511       ac_ext=c
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37516
37517
37518 fi
37519
37520   fi
37521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37522 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37523
37524   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37525     for ac_func in powl
37526 do :
37527   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37528 if test "x$ac_cv_func_powl" = x""yes; then :
37529   cat >>confdefs.h <<_ACEOF
37530 #define HAVE_POWL 1
37531 _ACEOF
37532
37533 fi
37534 done
37535
37536   else
37537
37538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37539 $as_echo_n "checking for _powl declaration... " >&6; }
37540   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37541     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37542   $as_echo_n "(cached) " >&6
37543 else
37544
37545
37546       ac_ext=cpp
37547 ac_cpp='$CXXCPP $CPPFLAGS'
37548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37551
37552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37553 /* end confdefs.h.  */
37554 #include <math.h>
37555 int
37556 main ()
37557 {
37558  _powl(0, 0);
37559   ;
37560   return 0;
37561 }
37562 _ACEOF
37563 if ac_fn_cxx_try_compile "$LINENO"; then :
37564   glibcxx_cv_func__powl_use=yes
37565 else
37566   glibcxx_cv_func__powl_use=no
37567 fi
37568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37569       ac_ext=c
37570 ac_cpp='$CPP $CPPFLAGS'
37571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37574
37575
37576 fi
37577
37578   fi
37579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37580 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37581
37582     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37583       for ac_func in _powl
37584 do :
37585   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37586 if test "x$ac_cv_func__powl" = x""yes; then :
37587   cat >>confdefs.h <<_ACEOF
37588 #define HAVE__POWL 1
37589 _ACEOF
37590
37591 fi
37592 done
37593
37594     fi
37595   fi
37596
37597
37598
37599
37600
37601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37602 $as_echo_n "checking for sqrtl declaration... " >&6; }
37603   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37604     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37605   $as_echo_n "(cached) " >&6
37606 else
37607
37608
37609       ac_ext=cpp
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37614
37615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h.  */
37617 #include <math.h>
37618                       #ifdef HAVE_IEEEFP_H
37619                       #include <ieeefp.h>
37620                       #endif
37621
37622 int
37623 main ()
37624 {
37625  sqrtl(0);
37626   ;
37627   return 0;
37628 }
37629 _ACEOF
37630 if ac_fn_cxx_try_compile "$LINENO"; then :
37631   glibcxx_cv_func_sqrtl_use=yes
37632 else
37633   glibcxx_cv_func_sqrtl_use=no
37634 fi
37635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37636       ac_ext=c
37637 ac_cpp='$CPP $CPPFLAGS'
37638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37641
37642
37643 fi
37644
37645   fi
37646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37647 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37648
37649   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37650     for ac_func in sqrtl
37651 do :
37652   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37653 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37654   cat >>confdefs.h <<_ACEOF
37655 #define HAVE_SQRTL 1
37656 _ACEOF
37657
37658 fi
37659 done
37660
37661   else
37662
37663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37664 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37665   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37666     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37667   $as_echo_n "(cached) " >&6
37668 else
37669
37670
37671       ac_ext=cpp
37672 ac_cpp='$CXXCPP $CPPFLAGS'
37673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676
37677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37678 /* end confdefs.h.  */
37679 #include <math.h>
37680                       #ifdef HAVE_IEEEFP_H
37681                       #include <ieeefp.h>
37682                       #endif
37683
37684 int
37685 main ()
37686 {
37687  _sqrtl(0);
37688   ;
37689   return 0;
37690 }
37691 _ACEOF
37692 if ac_fn_cxx_try_compile "$LINENO"; then :
37693   glibcxx_cv_func__sqrtl_use=yes
37694 else
37695   glibcxx_cv_func__sqrtl_use=no
37696 fi
37697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698       ac_ext=c
37699 ac_cpp='$CPP $CPPFLAGS'
37700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703
37704
37705 fi
37706
37707   fi
37708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37709 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37710
37711     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37712       for ac_func in _sqrtl
37713 do :
37714   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37715 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37716   cat >>confdefs.h <<_ACEOF
37717 #define HAVE__SQRTL 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723     fi
37724   fi
37725
37726
37727
37728
37729
37730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37731 $as_echo_n "checking for sincosl declaration... " >&6; }
37732   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37733     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37734   $as_echo_n "(cached) " >&6
37735 else
37736
37737
37738       ac_ext=cpp
37739 ac_cpp='$CXXCPP $CPPFLAGS'
37740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37743
37744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37745 /* end confdefs.h.  */
37746 #include <math.h>
37747 int
37748 main ()
37749 {
37750  sincosl(0, 0, 0);
37751   ;
37752   return 0;
37753 }
37754 _ACEOF
37755 if ac_fn_cxx_try_compile "$LINENO"; then :
37756   glibcxx_cv_func_sincosl_use=yes
37757 else
37758   glibcxx_cv_func_sincosl_use=no
37759 fi
37760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37761       ac_ext=c
37762 ac_cpp='$CPP $CPPFLAGS'
37763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766
37767
37768 fi
37769
37770   fi
37771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37772 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37773
37774   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37775     for ac_func in sincosl
37776 do :
37777   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37778 if test "x$ac_cv_func_sincosl" = x""yes; then :
37779   cat >>confdefs.h <<_ACEOF
37780 #define HAVE_SINCOSL 1
37781 _ACEOF
37782
37783 fi
37784 done
37785
37786   else
37787
37788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37789 $as_echo_n "checking for _sincosl declaration... " >&6; }
37790   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37791     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37792   $as_echo_n "(cached) " >&6
37793 else
37794
37795
37796       ac_ext=cpp
37797 ac_cpp='$CXXCPP $CPPFLAGS'
37798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37801
37802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37803 /* end confdefs.h.  */
37804 #include <math.h>
37805 int
37806 main ()
37807 {
37808  _sincosl(0, 0, 0);
37809   ;
37810   return 0;
37811 }
37812 _ACEOF
37813 if ac_fn_cxx_try_compile "$LINENO"; then :
37814   glibcxx_cv_func__sincosl_use=yes
37815 else
37816   glibcxx_cv_func__sincosl_use=no
37817 fi
37818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37819       ac_ext=c
37820 ac_cpp='$CPP $CPPFLAGS'
37821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37824
37825
37826 fi
37827
37828   fi
37829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37830 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37831
37832     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37833       for ac_func in _sincosl
37834 do :
37835   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37836 if test "x$ac_cv_func__sincosl" = x""yes; then :
37837   cat >>confdefs.h <<_ACEOF
37838 #define HAVE__SINCOSL 1
37839 _ACEOF
37840
37841 fi
37842 done
37843
37844     fi
37845   fi
37846
37847
37848
37849
37850
37851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37852 $as_echo_n "checking for finitel declaration... " >&6; }
37853   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37854     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37855   $as_echo_n "(cached) " >&6
37856 else
37857
37858
37859       ac_ext=cpp
37860 ac_cpp='$CXXCPP $CPPFLAGS'
37861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37864
37865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37866 /* end confdefs.h.  */
37867 #include <math.h>
37868                       #ifdef HAVE_IEEEFP_H
37869                       #include <ieeefp.h>
37870                       #endif
37871
37872 int
37873 main ()
37874 {
37875  finitel(0);
37876   ;
37877   return 0;
37878 }
37879 _ACEOF
37880 if ac_fn_cxx_try_compile "$LINENO"; then :
37881   glibcxx_cv_func_finitel_use=yes
37882 else
37883   glibcxx_cv_func_finitel_use=no
37884 fi
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37886       ac_ext=c
37887 ac_cpp='$CPP $CPPFLAGS'
37888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891
37892
37893 fi
37894
37895   fi
37896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37897 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37898
37899   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37900     for ac_func in finitel
37901 do :
37902   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37903 if test "x$ac_cv_func_finitel" = x""yes; then :
37904   cat >>confdefs.h <<_ACEOF
37905 #define HAVE_FINITEL 1
37906 _ACEOF
37907
37908 fi
37909 done
37910
37911   else
37912
37913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37914 $as_echo_n "checking for _finitel declaration... " >&6; }
37915   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37916     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37917   $as_echo_n "(cached) " >&6
37918 else
37919
37920
37921       ac_ext=cpp
37922 ac_cpp='$CXXCPP $CPPFLAGS'
37923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37926
37927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37928 /* end confdefs.h.  */
37929 #include <math.h>
37930                       #ifdef HAVE_IEEEFP_H
37931                       #include <ieeefp.h>
37932                       #endif
37933
37934 int
37935 main ()
37936 {
37937  _finitel(0);
37938   ;
37939   return 0;
37940 }
37941 _ACEOF
37942 if ac_fn_cxx_try_compile "$LINENO"; then :
37943   glibcxx_cv_func__finitel_use=yes
37944 else
37945   glibcxx_cv_func__finitel_use=no
37946 fi
37947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37948       ac_ext=c
37949 ac_cpp='$CPP $CPPFLAGS'
37950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953
37954
37955 fi
37956
37957   fi
37958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37959 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37960
37961     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37962       for ac_func in _finitel
37963 do :
37964   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37965 if test "x$ac_cv_func__finitel" = x""yes; then :
37966   cat >>confdefs.h <<_ACEOF
37967 #define HAVE__FINITEL 1
37968 _ACEOF
37969
37970 fi
37971 done
37972
37973     fi
37974   fi
37975
37976
37977
37978
37979   LIBS="$ac_save_LIBS"
37980   CXXFLAGS="$ac_save_CXXFLAGS"
37981
37982
37983   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37984   ac_save_CXXFLAGS="$CXXFLAGS"
37985   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37986
37987
37988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37989 $as_echo_n "checking for strtold declaration... " >&6; }
37990   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37991     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37992   $as_echo_n "(cached) " >&6
37993 else
37994
37995
37996       ac_ext=cpp
37997 ac_cpp='$CXXCPP $CPPFLAGS'
37998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38001
38002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38003 /* end confdefs.h.  */
38004 #include <stdlib.h>
38005 int
38006 main ()
38007 {
38008  strtold(0, 0);
38009   ;
38010   return 0;
38011 }
38012 _ACEOF
38013 if ac_fn_cxx_try_compile "$LINENO"; then :
38014   glibcxx_cv_func_strtold_use=yes
38015 else
38016   glibcxx_cv_func_strtold_use=no
38017 fi
38018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38019       ac_ext=c
38020 ac_cpp='$CPP $CPPFLAGS'
38021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38024
38025
38026 fi
38027
38028   fi
38029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38030 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38031   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38032     for ac_func in strtold
38033 do :
38034   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38035 if test "x$ac_cv_func_strtold" = x""yes; then :
38036   cat >>confdefs.h <<_ACEOF
38037 #define HAVE_STRTOLD 1
38038 _ACEOF
38039
38040 fi
38041 done
38042
38043   fi
38044
38045
38046
38047
38048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38049 $as_echo_n "checking for strtof declaration... " >&6; }
38050   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38051     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38052   $as_echo_n "(cached) " >&6
38053 else
38054
38055
38056       ac_ext=cpp
38057 ac_cpp='$CXXCPP $CPPFLAGS'
38058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38061
38062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38063 /* end confdefs.h.  */
38064 #include <stdlib.h>
38065 int
38066 main ()
38067 {
38068  strtof(0, 0);
38069   ;
38070   return 0;
38071 }
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074   glibcxx_cv_func_strtof_use=yes
38075 else
38076   glibcxx_cv_func_strtof_use=no
38077 fi
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079       ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084
38085
38086 fi
38087
38088   fi
38089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38090 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38091   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38092     for ac_func in strtof
38093 do :
38094   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38095 if test "x$ac_cv_func_strtof" = x""yes; then :
38096   cat >>confdefs.h <<_ACEOF
38097 #define HAVE_STRTOF 1
38098 _ACEOF
38099
38100 fi
38101 done
38102
38103   fi
38104
38105
38106
38107
38108   CXXFLAGS="$ac_save_CXXFLAGS"
38109
38110     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38111
38112     # We don't yet support AIX's TLS ABI.
38113     #GCC_CHECK_TLS
38114
38115
38116
38117
38118
38119           am_save_CPPFLAGS="$CPPFLAGS"
38120
38121   for element in $INCICONV; do
38122     haveit=
38123     for x in $CPPFLAGS; do
38124
38125   acl_save_prefix="$prefix"
38126   prefix="$acl_final_prefix"
38127   acl_save_exec_prefix="$exec_prefix"
38128   exec_prefix="$acl_final_exec_prefix"
38129   eval x=\"$x\"
38130   exec_prefix="$acl_save_exec_prefix"
38131   prefix="$acl_save_prefix"
38132
38133       if test "X$x" = "X$element"; then
38134         haveit=yes
38135         break
38136       fi
38137     done
38138     if test -z "$haveit"; then
38139       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38140     fi
38141   done
38142
38143
38144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38145 $as_echo_n "checking for iconv... " >&6; }
38146 if test "${am_cv_func_iconv+set}" = set; then :
38147   $as_echo_n "(cached) " >&6
38148 else
38149
38150     am_cv_func_iconv="no, consider installing GNU libiconv"
38151     am_cv_lib_iconv=no
38152     if test x$gcc_no_link = xyes; then
38153   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38154 fi
38155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38156 /* end confdefs.h.  */
38157 #include <stdlib.h>
38158 #include <iconv.h>
38159 int
38160 main ()
38161 {
38162 iconv_t cd = iconv_open("","");
38163        iconv(cd,NULL,NULL,NULL,NULL);
38164        iconv_close(cd);
38165   ;
38166   return 0;
38167 }
38168 _ACEOF
38169 if ac_fn_c_try_link "$LINENO"; then :
38170   am_cv_func_iconv=yes
38171 fi
38172 rm -f core conftest.err conftest.$ac_objext \
38173     conftest$ac_exeext conftest.$ac_ext
38174     if test "$am_cv_func_iconv" != yes; then
38175       am_save_LIBS="$LIBS"
38176       LIBS="$LIBS $LIBICONV"
38177       if test x$gcc_no_link = xyes; then
38178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38179 fi
38180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38181 /* end confdefs.h.  */
38182 #include <stdlib.h>
38183 #include <iconv.h>
38184 int
38185 main ()
38186 {
38187 iconv_t cd = iconv_open("","");
38188          iconv(cd,NULL,NULL,NULL,NULL);
38189          iconv_close(cd);
38190   ;
38191   return 0;
38192 }
38193 _ACEOF
38194 if ac_fn_c_try_link "$LINENO"; then :
38195   am_cv_lib_iconv=yes
38196         am_cv_func_iconv=yes
38197 fi
38198 rm -f core conftest.err conftest.$ac_objext \
38199     conftest$ac_exeext conftest.$ac_ext
38200       LIBS="$am_save_LIBS"
38201     fi
38202
38203 fi
38204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38205 $as_echo "$am_cv_func_iconv" >&6; }
38206   if test "$am_cv_func_iconv" = yes; then
38207
38208 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38209
38210   fi
38211   if test "$am_cv_lib_iconv" = yes; then
38212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38213 $as_echo_n "checking how to link with libiconv... " >&6; }
38214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38215 $as_echo "$LIBICONV" >&6; }
38216   else
38217             CPPFLAGS="$am_save_CPPFLAGS"
38218     LIBICONV=
38219     LTLIBICONV=
38220   fi
38221
38222
38223
38224   if test "$am_cv_func_iconv" = yes; then
38225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38226 $as_echo_n "checking for iconv declaration... " >&6; }
38227     if test "${am_cv_proto_iconv+set}" = set; then :
38228   $as_echo_n "(cached) " >&6
38229 else
38230
38231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232 /* end confdefs.h.  */
38233
38234 #include <stdlib.h>
38235 #include <iconv.h>
38236 extern
38237 #ifdef __cplusplus
38238 "C"
38239 #endif
38240 #if defined(__STDC__) || defined(__cplusplus)
38241 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38242 #else
38243 size_t iconv();
38244 #endif
38245
38246 int
38247 main ()
38248 {
38249
38250   ;
38251   return 0;
38252 }
38253 _ACEOF
38254 if ac_fn_c_try_compile "$LINENO"; then :
38255   am_cv_proto_iconv_arg1=""
38256 else
38257   am_cv_proto_iconv_arg1="const"
38258 fi
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38260       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);"
38261 fi
38262
38263     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38264     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38265          }$am_cv_proto_iconv" >&5
38266 $as_echo "${ac_t:-
38267          }$am_cv_proto_iconv" >&6; }
38268
38269 cat >>confdefs.h <<_ACEOF
38270 #define ICONV_CONST $am_cv_proto_iconv_arg1
38271 _ACEOF
38272
38273   fi
38274
38275     ;;
38276
38277   *-darwin*)
38278     # Darwin versions vary, but the linker should work in a cross environment,
38279     # so we just check for all the features here.
38280     # Check for available headers.
38281
38282     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38283
38284   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38285   ac_save_CXXFLAGS="$CXXFLAGS"
38286   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38287
38288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38289 $as_echo_n "checking for sin in -lm... " >&6; }
38290 if test "${ac_cv_lib_m_sin+set}" = set; then :
38291   $as_echo_n "(cached) " >&6
38292 else
38293   ac_check_lib_save_LIBS=$LIBS
38294 LIBS="-lm  $LIBS"
38295 if test x$gcc_no_link = xyes; then
38296   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38297 fi
38298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38299 /* end confdefs.h.  */
38300
38301 /* Override any GCC internal prototype to avoid an error.
38302    Use char because int might match the return type of a GCC
38303    builtin and then its argument prototype would still apply.  */
38304 #ifdef __cplusplus
38305 extern "C"
38306 #endif
38307 char sin ();
38308 int
38309 main ()
38310 {
38311 return sin ();
38312   ;
38313   return 0;
38314 }
38315 _ACEOF
38316 if ac_fn_c_try_link "$LINENO"; then :
38317   ac_cv_lib_m_sin=yes
38318 else
38319   ac_cv_lib_m_sin=no
38320 fi
38321 rm -f core conftest.err conftest.$ac_objext \
38322     conftest$ac_exeext conftest.$ac_ext
38323 LIBS=$ac_check_lib_save_LIBS
38324 fi
38325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38326 $as_echo "$ac_cv_lib_m_sin" >&6; }
38327 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38328   libm="-lm"
38329 fi
38330
38331   ac_save_LIBS="$LIBS"
38332   LIBS="$LIBS $libm"
38333
38334
38335
38336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38337 $as_echo_n "checking for isinf declaration... " >&6; }
38338   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38339     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38340   $as_echo_n "(cached) " >&6
38341 else
38342
38343
38344       ac_ext=cpp
38345 ac_cpp='$CXXCPP $CPPFLAGS'
38346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38349
38350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38351 /* end confdefs.h.  */
38352 #include <math.h>
38353                       #ifdef HAVE_IEEEFP_H
38354                       #include <ieeefp.h>
38355                       #endif
38356
38357 int
38358 main ()
38359 {
38360  isinf(0);
38361   ;
38362   return 0;
38363 }
38364 _ACEOF
38365 if ac_fn_cxx_try_compile "$LINENO"; then :
38366   glibcxx_cv_func_isinf_use=yes
38367 else
38368   glibcxx_cv_func_isinf_use=no
38369 fi
38370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38371       ac_ext=c
38372 ac_cpp='$CPP $CPPFLAGS'
38373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38376
38377
38378 fi
38379
38380   fi
38381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38382 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38383
38384   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38385     for ac_func in isinf
38386 do :
38387   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38388 if test "x$ac_cv_func_isinf" = x""yes; then :
38389   cat >>confdefs.h <<_ACEOF
38390 #define HAVE_ISINF 1
38391 _ACEOF
38392
38393 fi
38394 done
38395
38396   else
38397
38398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38399 $as_echo_n "checking for _isinf declaration... " >&6; }
38400   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38401     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38402   $as_echo_n "(cached) " >&6
38403 else
38404
38405
38406       ac_ext=cpp
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38411
38412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38413 /* end confdefs.h.  */
38414 #include <math.h>
38415                       #ifdef HAVE_IEEEFP_H
38416                       #include <ieeefp.h>
38417                       #endif
38418
38419 int
38420 main ()
38421 {
38422  _isinf(0);
38423   ;
38424   return 0;
38425 }
38426 _ACEOF
38427 if ac_fn_cxx_try_compile "$LINENO"; then :
38428   glibcxx_cv_func__isinf_use=yes
38429 else
38430   glibcxx_cv_func__isinf_use=no
38431 fi
38432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38433       ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438
38439
38440 fi
38441
38442   fi
38443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38444 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38445
38446     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38447       for ac_func in _isinf
38448 do :
38449   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38450 if test "x$ac_cv_func__isinf" = x""yes; then :
38451   cat >>confdefs.h <<_ACEOF
38452 #define HAVE__ISINF 1
38453 _ACEOF
38454
38455 fi
38456 done
38457
38458     fi
38459   fi
38460
38461
38462
38463
38464
38465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38466 $as_echo_n "checking for isnan declaration... " >&6; }
38467   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38468     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38469   $as_echo_n "(cached) " >&6
38470 else
38471
38472
38473       ac_ext=cpp
38474 ac_cpp='$CXXCPP $CPPFLAGS'
38475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38478
38479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38480 /* end confdefs.h.  */
38481 #include <math.h>
38482                       #ifdef HAVE_IEEEFP_H
38483                       #include <ieeefp.h>
38484                       #endif
38485
38486 int
38487 main ()
38488 {
38489  isnan(0);
38490   ;
38491   return 0;
38492 }
38493 _ACEOF
38494 if ac_fn_cxx_try_compile "$LINENO"; then :
38495   glibcxx_cv_func_isnan_use=yes
38496 else
38497   glibcxx_cv_func_isnan_use=no
38498 fi
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38500       ac_ext=c
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38505
38506
38507 fi
38508
38509   fi
38510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38511 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38512
38513   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38514     for ac_func in isnan
38515 do :
38516   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38517 if test "x$ac_cv_func_isnan" = x""yes; then :
38518   cat >>confdefs.h <<_ACEOF
38519 #define HAVE_ISNAN 1
38520 _ACEOF
38521
38522 fi
38523 done
38524
38525   else
38526
38527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38528 $as_echo_n "checking for _isnan declaration... " >&6; }
38529   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38530     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38531   $as_echo_n "(cached) " >&6
38532 else
38533
38534
38535       ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540
38541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38542 /* end confdefs.h.  */
38543 #include <math.h>
38544                       #ifdef HAVE_IEEEFP_H
38545                       #include <ieeefp.h>
38546                       #endif
38547
38548 int
38549 main ()
38550 {
38551  _isnan(0);
38552   ;
38553   return 0;
38554 }
38555 _ACEOF
38556 if ac_fn_cxx_try_compile "$LINENO"; then :
38557   glibcxx_cv_func__isnan_use=yes
38558 else
38559   glibcxx_cv_func__isnan_use=no
38560 fi
38561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38562       ac_ext=c
38563 ac_cpp='$CPP $CPPFLAGS'
38564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38567
38568
38569 fi
38570
38571   fi
38572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38573 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38574
38575     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38576       for ac_func in _isnan
38577 do :
38578   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38579 if test "x$ac_cv_func__isnan" = x""yes; then :
38580   cat >>confdefs.h <<_ACEOF
38581 #define HAVE__ISNAN 1
38582 _ACEOF
38583
38584 fi
38585 done
38586
38587     fi
38588   fi
38589
38590
38591
38592
38593
38594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38595 $as_echo_n "checking for finite declaration... " >&6; }
38596   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38597     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38598   $as_echo_n "(cached) " >&6
38599 else
38600
38601
38602       ac_ext=cpp
38603 ac_cpp='$CXXCPP $CPPFLAGS'
38604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38607
38608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38609 /* end confdefs.h.  */
38610 #include <math.h>
38611                       #ifdef HAVE_IEEEFP_H
38612                       #include <ieeefp.h>
38613                       #endif
38614
38615 int
38616 main ()
38617 {
38618  finite(0);
38619   ;
38620   return 0;
38621 }
38622 _ACEOF
38623 if ac_fn_cxx_try_compile "$LINENO"; then :
38624   glibcxx_cv_func_finite_use=yes
38625 else
38626   glibcxx_cv_func_finite_use=no
38627 fi
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38629       ac_ext=c
38630 ac_cpp='$CPP $CPPFLAGS'
38631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38634
38635
38636 fi
38637
38638   fi
38639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38640 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38641
38642   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38643     for ac_func in finite
38644 do :
38645   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38646 if test "x$ac_cv_func_finite" = x""yes; then :
38647   cat >>confdefs.h <<_ACEOF
38648 #define HAVE_FINITE 1
38649 _ACEOF
38650
38651 fi
38652 done
38653
38654   else
38655
38656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38657 $as_echo_n "checking for _finite declaration... " >&6; }
38658   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38659     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38660   $as_echo_n "(cached) " >&6
38661 else
38662
38663
38664       ac_ext=cpp
38665 ac_cpp='$CXXCPP $CPPFLAGS'
38666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38669
38670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38671 /* end confdefs.h.  */
38672 #include <math.h>
38673                       #ifdef HAVE_IEEEFP_H
38674                       #include <ieeefp.h>
38675                       #endif
38676
38677 int
38678 main ()
38679 {
38680  _finite(0);
38681   ;
38682   return 0;
38683 }
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686   glibcxx_cv_func__finite_use=yes
38687 else
38688   glibcxx_cv_func__finite_use=no
38689 fi
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691       ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696
38697
38698 fi
38699
38700   fi
38701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38702 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38703
38704     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38705       for ac_func in _finite
38706 do :
38707   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38708 if test "x$ac_cv_func__finite" = x""yes; then :
38709   cat >>confdefs.h <<_ACEOF
38710 #define HAVE__FINITE 1
38711 _ACEOF
38712
38713 fi
38714 done
38715
38716     fi
38717   fi
38718
38719
38720
38721
38722
38723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38724 $as_echo_n "checking for sincos declaration... " >&6; }
38725   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38726     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38727   $as_echo_n "(cached) " >&6
38728 else
38729
38730
38731       ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736
38737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h.  */
38739 #include <math.h>
38740 int
38741 main ()
38742 {
38743  sincos(0, 0, 0);
38744   ;
38745   return 0;
38746 }
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749   glibcxx_cv_func_sincos_use=yes
38750 else
38751   glibcxx_cv_func_sincos_use=no
38752 fi
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754       ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759
38760
38761 fi
38762
38763   fi
38764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38765 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38766
38767   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38768     for ac_func in sincos
38769 do :
38770   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38771 if test "x$ac_cv_func_sincos" = x""yes; then :
38772   cat >>confdefs.h <<_ACEOF
38773 #define HAVE_SINCOS 1
38774 _ACEOF
38775
38776 fi
38777 done
38778
38779   else
38780
38781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38782 $as_echo_n "checking for _sincos declaration... " >&6; }
38783   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38784     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38785   $as_echo_n "(cached) " >&6
38786 else
38787
38788
38789       ac_ext=cpp
38790 ac_cpp='$CXXCPP $CPPFLAGS'
38791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38794
38795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38796 /* end confdefs.h.  */
38797 #include <math.h>
38798 int
38799 main ()
38800 {
38801  _sincos(0, 0, 0);
38802   ;
38803   return 0;
38804 }
38805 _ACEOF
38806 if ac_fn_cxx_try_compile "$LINENO"; then :
38807   glibcxx_cv_func__sincos_use=yes
38808 else
38809   glibcxx_cv_func__sincos_use=no
38810 fi
38811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38812       ac_ext=c
38813 ac_cpp='$CPP $CPPFLAGS'
38814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38817
38818
38819 fi
38820
38821   fi
38822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38823 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38824
38825     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38826       for ac_func in _sincos
38827 do :
38828   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38829 if test "x$ac_cv_func__sincos" = x""yes; then :
38830   cat >>confdefs.h <<_ACEOF
38831 #define HAVE__SINCOS 1
38832 _ACEOF
38833
38834 fi
38835 done
38836
38837     fi
38838   fi
38839
38840
38841
38842
38843
38844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38845 $as_echo_n "checking for fpclass declaration... " >&6; }
38846   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38847     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38848   $as_echo_n "(cached) " >&6
38849 else
38850
38851
38852       ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857
38858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h.  */
38860 #include <math.h>
38861                       #ifdef HAVE_IEEEFP_H
38862                       #include <ieeefp.h>
38863                       #endif
38864
38865 int
38866 main ()
38867 {
38868  fpclass(0);
38869   ;
38870   return 0;
38871 }
38872 _ACEOF
38873 if ac_fn_cxx_try_compile "$LINENO"; then :
38874   glibcxx_cv_func_fpclass_use=yes
38875 else
38876   glibcxx_cv_func_fpclass_use=no
38877 fi
38878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38879       ac_ext=c
38880 ac_cpp='$CPP $CPPFLAGS'
38881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884
38885
38886 fi
38887
38888   fi
38889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38890 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38891
38892   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38893     for ac_func in fpclass
38894 do :
38895   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38896 if test "x$ac_cv_func_fpclass" = x""yes; then :
38897   cat >>confdefs.h <<_ACEOF
38898 #define HAVE_FPCLASS 1
38899 _ACEOF
38900
38901 fi
38902 done
38903
38904   else
38905
38906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38907 $as_echo_n "checking for _fpclass declaration... " >&6; }
38908   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38909     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38910   $as_echo_n "(cached) " >&6
38911 else
38912
38913
38914       ac_ext=cpp
38915 ac_cpp='$CXXCPP $CPPFLAGS'
38916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38919
38920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38921 /* end confdefs.h.  */
38922 #include <math.h>
38923                       #ifdef HAVE_IEEEFP_H
38924                       #include <ieeefp.h>
38925                       #endif
38926
38927 int
38928 main ()
38929 {
38930  _fpclass(0);
38931   ;
38932   return 0;
38933 }
38934 _ACEOF
38935 if ac_fn_cxx_try_compile "$LINENO"; then :
38936   glibcxx_cv_func__fpclass_use=yes
38937 else
38938   glibcxx_cv_func__fpclass_use=no
38939 fi
38940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38941       ac_ext=c
38942 ac_cpp='$CPP $CPPFLAGS'
38943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38946
38947
38948 fi
38949
38950   fi
38951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38952 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38953
38954     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38955       for ac_func in _fpclass
38956 do :
38957   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38958 if test "x$ac_cv_func__fpclass" = x""yes; then :
38959   cat >>confdefs.h <<_ACEOF
38960 #define HAVE__FPCLASS 1
38961 _ACEOF
38962
38963 fi
38964 done
38965
38966     fi
38967   fi
38968
38969
38970
38971
38972
38973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38974 $as_echo_n "checking for qfpclass declaration... " >&6; }
38975   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38976     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38977   $as_echo_n "(cached) " >&6
38978 else
38979
38980
38981       ac_ext=cpp
38982 ac_cpp='$CXXCPP $CPPFLAGS'
38983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38986
38987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38988 /* end confdefs.h.  */
38989 #include <math.h>
38990                       #ifdef HAVE_IEEEFP_H
38991                       #include <ieeefp.h>
38992                       #endif
38993
38994 int
38995 main ()
38996 {
38997  qfpclass(0);
38998   ;
38999   return 0;
39000 }
39001 _ACEOF
39002 if ac_fn_cxx_try_compile "$LINENO"; then :
39003   glibcxx_cv_func_qfpclass_use=yes
39004 else
39005   glibcxx_cv_func_qfpclass_use=no
39006 fi
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39008       ac_ext=c
39009 ac_cpp='$CPP $CPPFLAGS'
39010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39013
39014
39015 fi
39016
39017   fi
39018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39019 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39020
39021   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39022     for ac_func in qfpclass
39023 do :
39024   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39025 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39026   cat >>confdefs.h <<_ACEOF
39027 #define HAVE_QFPCLASS 1
39028 _ACEOF
39029
39030 fi
39031 done
39032
39033   else
39034
39035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39036 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39037   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39038     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39039   $as_echo_n "(cached) " >&6
39040 else
39041
39042
39043       ac_ext=cpp
39044 ac_cpp='$CXXCPP $CPPFLAGS'
39045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39048
39049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39050 /* end confdefs.h.  */
39051 #include <math.h>
39052                       #ifdef HAVE_IEEEFP_H
39053                       #include <ieeefp.h>
39054                       #endif
39055
39056 int
39057 main ()
39058 {
39059  _qfpclass(0);
39060   ;
39061   return 0;
39062 }
39063 _ACEOF
39064 if ac_fn_cxx_try_compile "$LINENO"; then :
39065   glibcxx_cv_func__qfpclass_use=yes
39066 else
39067   glibcxx_cv_func__qfpclass_use=no
39068 fi
39069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39070       ac_ext=c
39071 ac_cpp='$CPP $CPPFLAGS'
39072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39075
39076
39077 fi
39078
39079   fi
39080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39081 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39082
39083     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39084       for ac_func in _qfpclass
39085 do :
39086   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39087 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39088   cat >>confdefs.h <<_ACEOF
39089 #define HAVE__QFPCLASS 1
39090 _ACEOF
39091
39092 fi
39093 done
39094
39095     fi
39096   fi
39097
39098
39099
39100
39101
39102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39103 $as_echo_n "checking for hypot declaration... " >&6; }
39104   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39105     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39106   $as_echo_n "(cached) " >&6
39107 else
39108
39109
39110       ac_ext=cpp
39111 ac_cpp='$CXXCPP $CPPFLAGS'
39112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39115
39116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39117 /* end confdefs.h.  */
39118 #include <math.h>
39119 int
39120 main ()
39121 {
39122  hypot(0, 0);
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128   glibcxx_cv_func_hypot_use=yes
39129 else
39130   glibcxx_cv_func_hypot_use=no
39131 fi
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133       ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39138
39139
39140 fi
39141
39142   fi
39143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39144 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39145
39146   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39147     for ac_func in hypot
39148 do :
39149   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39150 if test "x$ac_cv_func_hypot" = x""yes; then :
39151   cat >>confdefs.h <<_ACEOF
39152 #define HAVE_HYPOT 1
39153 _ACEOF
39154
39155 fi
39156 done
39157
39158   else
39159
39160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39161 $as_echo_n "checking for _hypot declaration... " >&6; }
39162   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39163     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39164   $as_echo_n "(cached) " >&6
39165 else
39166
39167
39168       ac_ext=cpp
39169 ac_cpp='$CXXCPP $CPPFLAGS'
39170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39173
39174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39175 /* end confdefs.h.  */
39176 #include <math.h>
39177 int
39178 main ()
39179 {
39180  _hypot(0, 0);
39181   ;
39182   return 0;
39183 }
39184 _ACEOF
39185 if ac_fn_cxx_try_compile "$LINENO"; then :
39186   glibcxx_cv_func__hypot_use=yes
39187 else
39188   glibcxx_cv_func__hypot_use=no
39189 fi
39190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39191       ac_ext=c
39192 ac_cpp='$CPP $CPPFLAGS'
39193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39196
39197
39198 fi
39199
39200   fi
39201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39202 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39203
39204     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39205       for ac_func in _hypot
39206 do :
39207   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39208 if test "x$ac_cv_func__hypot" = x""yes; then :
39209   cat >>confdefs.h <<_ACEOF
39210 #define HAVE__HYPOT 1
39211 _ACEOF
39212
39213 fi
39214 done
39215
39216     fi
39217   fi
39218
39219
39220
39221
39222
39223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39224 $as_echo_n "checking for float trig functions... " >&6; }
39225   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39226   $as_echo_n "(cached) " >&6
39227 else
39228
39229
39230     ac_ext=cpp
39231 ac_cpp='$CXXCPP $CPPFLAGS'
39232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39235
39236     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39237 /* end confdefs.h.  */
39238 #include <math.h>
39239 int
39240 main ()
39241 {
39242 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39243   ;
39244   return 0;
39245 }
39246 _ACEOF
39247 if ac_fn_cxx_try_compile "$LINENO"; then :
39248   glibcxx_cv_func_float_trig_use=yes
39249 else
39250   glibcxx_cv_func_float_trig_use=no
39251 fi
39252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253     ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258
39259 fi
39260
39261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39262 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39263   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39264     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39265 do :
39266   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39268 eval as_val=\$$as_ac_var
39269    if test "x$as_val" = x""yes; then :
39270   cat >>confdefs.h <<_ACEOF
39271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39272 _ACEOF
39273
39274 fi
39275 done
39276
39277   else
39278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39279 $as_echo_n "checking for _float trig functions... " >&6; }
39280     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39281   $as_echo_n "(cached) " >&6
39282 else
39283
39284
39285       ac_ext=cpp
39286 ac_cpp='$CXXCPP $CPPFLAGS'
39287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39290
39291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39292 /* end confdefs.h.  */
39293 #include <math.h>
39294 int
39295 main ()
39296 {
39297 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39298   ;
39299   return 0;
39300 }
39301 _ACEOF
39302 if ac_fn_cxx_try_compile "$LINENO"; then :
39303   glibcxx_cv_func__float_trig_use=yes
39304 else
39305   glibcxx_cv_func__float_trig_use=no
39306 fi
39307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39308       ac_ext=c
39309 ac_cpp='$CPP $CPPFLAGS'
39310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39313
39314 fi
39315
39316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39317 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39318     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39319       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39320 do :
39321   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39323 eval as_val=\$$as_ac_var
39324    if test "x$as_val" = x""yes; then :
39325   cat >>confdefs.h <<_ACEOF
39326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39327 _ACEOF
39328
39329 fi
39330 done
39331
39332     fi
39333   fi
39334
39335
39336
39337
39338
39339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39340 $as_echo_n "checking for float round functions... " >&6; }
39341   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39342   $as_echo_n "(cached) " >&6
39343 else
39344
39345
39346     ac_ext=cpp
39347 ac_cpp='$CXXCPP $CPPFLAGS'
39348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39351
39352     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39353 /* end confdefs.h.  */
39354 #include <math.h>
39355 int
39356 main ()
39357 {
39358 ceilf (0); floorf (0);
39359   ;
39360   return 0;
39361 }
39362 _ACEOF
39363 if ac_fn_cxx_try_compile "$LINENO"; then :
39364   glibcxx_cv_func_float_round_use=yes
39365 else
39366   glibcxx_cv_func_float_round_use=no
39367 fi
39368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39369     ac_ext=c
39370 ac_cpp='$CPP $CPPFLAGS'
39371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39374
39375 fi
39376
39377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39378 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39379   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39380     for ac_func in ceilf floorf
39381 do :
39382   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39384 eval as_val=\$$as_ac_var
39385    if test "x$as_val" = x""yes; then :
39386   cat >>confdefs.h <<_ACEOF
39387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39388 _ACEOF
39389
39390 fi
39391 done
39392
39393   else
39394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39395 $as_echo_n "checking for _float round functions... " >&6; }
39396     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39397   $as_echo_n "(cached) " >&6
39398 else
39399
39400
39401       ac_ext=cpp
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39406
39407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39408 /* end confdefs.h.  */
39409 #include <math.h>
39410 int
39411 main ()
39412 {
39413 _ceilf (0); _floorf (0);
39414   ;
39415   return 0;
39416 }
39417 _ACEOF
39418 if ac_fn_cxx_try_compile "$LINENO"; then :
39419   glibcxx_cv_func__float_round_use=yes
39420 else
39421   glibcxx_cv_func__float_round_use=no
39422 fi
39423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39424       ac_ext=c
39425 ac_cpp='$CPP $CPPFLAGS'
39426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39429
39430 fi
39431
39432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39433 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39434     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39435       for ac_func in _ceilf _floorf
39436 do :
39437   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39439 eval as_val=\$$as_ac_var
39440    if test "x$as_val" = x""yes; then :
39441   cat >>confdefs.h <<_ACEOF
39442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39443 _ACEOF
39444
39445 fi
39446 done
39447
39448     fi
39449   fi
39450
39451
39452
39453
39454
39455
39456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39457 $as_echo_n "checking for expf declaration... " >&6; }
39458   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39459     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39460   $as_echo_n "(cached) " >&6
39461 else
39462
39463
39464       ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469
39470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h.  */
39472 #include <math.h>
39473                       #ifdef HAVE_IEEEFP_H
39474                       #include <ieeefp.h>
39475                       #endif
39476
39477 int
39478 main ()
39479 {
39480  expf(0);
39481   ;
39482   return 0;
39483 }
39484 _ACEOF
39485 if ac_fn_cxx_try_compile "$LINENO"; then :
39486   glibcxx_cv_func_expf_use=yes
39487 else
39488   glibcxx_cv_func_expf_use=no
39489 fi
39490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39491       ac_ext=c
39492 ac_cpp='$CPP $CPPFLAGS'
39493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39496
39497
39498 fi
39499
39500   fi
39501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39502 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39503
39504   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39505     for ac_func in expf
39506 do :
39507   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39508 if test "x$ac_cv_func_expf" = x""yes; then :
39509   cat >>confdefs.h <<_ACEOF
39510 #define HAVE_EXPF 1
39511 _ACEOF
39512
39513 fi
39514 done
39515
39516   else
39517
39518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39519 $as_echo_n "checking for _expf declaration... " >&6; }
39520   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39521     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39522   $as_echo_n "(cached) " >&6
39523 else
39524
39525
39526       ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39531
39532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h.  */
39534 #include <math.h>
39535                       #ifdef HAVE_IEEEFP_H
39536                       #include <ieeefp.h>
39537                       #endif
39538
39539 int
39540 main ()
39541 {
39542  _expf(0);
39543   ;
39544   return 0;
39545 }
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548   glibcxx_cv_func__expf_use=yes
39549 else
39550   glibcxx_cv_func__expf_use=no
39551 fi
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553       ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39558
39559
39560 fi
39561
39562   fi
39563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39564 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39565
39566     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39567       for ac_func in _expf
39568 do :
39569   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39570 if test "x$ac_cv_func__expf" = x""yes; then :
39571   cat >>confdefs.h <<_ACEOF
39572 #define HAVE__EXPF 1
39573 _ACEOF
39574
39575 fi
39576 done
39577
39578     fi
39579   fi
39580
39581
39582
39583
39584
39585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39586 $as_echo_n "checking for isnanf declaration... " >&6; }
39587   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39588     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39589   $as_echo_n "(cached) " >&6
39590 else
39591
39592
39593       ac_ext=cpp
39594 ac_cpp='$CXXCPP $CPPFLAGS'
39595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39598
39599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39600 /* end confdefs.h.  */
39601 #include <math.h>
39602                       #ifdef HAVE_IEEEFP_H
39603                       #include <ieeefp.h>
39604                       #endif
39605
39606 int
39607 main ()
39608 {
39609  isnanf(0);
39610   ;
39611   return 0;
39612 }
39613 _ACEOF
39614 if ac_fn_cxx_try_compile "$LINENO"; then :
39615   glibcxx_cv_func_isnanf_use=yes
39616 else
39617   glibcxx_cv_func_isnanf_use=no
39618 fi
39619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39620       ac_ext=c
39621 ac_cpp='$CPP $CPPFLAGS'
39622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39625
39626
39627 fi
39628
39629   fi
39630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39631 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39632
39633   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39634     for ac_func in isnanf
39635 do :
39636   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39637 if test "x$ac_cv_func_isnanf" = x""yes; then :
39638   cat >>confdefs.h <<_ACEOF
39639 #define HAVE_ISNANF 1
39640 _ACEOF
39641
39642 fi
39643 done
39644
39645   else
39646
39647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39648 $as_echo_n "checking for _isnanf declaration... " >&6; }
39649   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39650     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39651   $as_echo_n "(cached) " >&6
39652 else
39653
39654
39655       ac_ext=cpp
39656 ac_cpp='$CXXCPP $CPPFLAGS'
39657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660
39661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39662 /* end confdefs.h.  */
39663 #include <math.h>
39664                       #ifdef HAVE_IEEEFP_H
39665                       #include <ieeefp.h>
39666                       #endif
39667
39668 int
39669 main ()
39670 {
39671  _isnanf(0);
39672   ;
39673   return 0;
39674 }
39675 _ACEOF
39676 if ac_fn_cxx_try_compile "$LINENO"; then :
39677   glibcxx_cv_func__isnanf_use=yes
39678 else
39679   glibcxx_cv_func__isnanf_use=no
39680 fi
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682       ac_ext=c
39683 ac_cpp='$CPP $CPPFLAGS'
39684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687
39688
39689 fi
39690
39691   fi
39692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39693 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39694
39695     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39696       for ac_func in _isnanf
39697 do :
39698   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39699 if test "x$ac_cv_func__isnanf" = x""yes; then :
39700   cat >>confdefs.h <<_ACEOF
39701 #define HAVE__ISNANF 1
39702 _ACEOF
39703
39704 fi
39705 done
39706
39707     fi
39708   fi
39709
39710
39711
39712
39713
39714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39715 $as_echo_n "checking for isinff declaration... " >&6; }
39716   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39717     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39718   $as_echo_n "(cached) " >&6
39719 else
39720
39721
39722       ac_ext=cpp
39723 ac_cpp='$CXXCPP $CPPFLAGS'
39724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39727
39728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39729 /* end confdefs.h.  */
39730 #include <math.h>
39731                       #ifdef HAVE_IEEEFP_H
39732                       #include <ieeefp.h>
39733                       #endif
39734
39735 int
39736 main ()
39737 {
39738  isinff(0);
39739   ;
39740   return 0;
39741 }
39742 _ACEOF
39743 if ac_fn_cxx_try_compile "$LINENO"; then :
39744   glibcxx_cv_func_isinff_use=yes
39745 else
39746   glibcxx_cv_func_isinff_use=no
39747 fi
39748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39749       ac_ext=c
39750 ac_cpp='$CPP $CPPFLAGS'
39751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39754
39755
39756 fi
39757
39758   fi
39759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39760 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39761
39762   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39763     for ac_func in isinff
39764 do :
39765   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39766 if test "x$ac_cv_func_isinff" = x""yes; then :
39767   cat >>confdefs.h <<_ACEOF
39768 #define HAVE_ISINFF 1
39769 _ACEOF
39770
39771 fi
39772 done
39773
39774   else
39775
39776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39777 $as_echo_n "checking for _isinff declaration... " >&6; }
39778   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39779     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39780   $as_echo_n "(cached) " >&6
39781 else
39782
39783
39784       ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789
39790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h.  */
39792 #include <math.h>
39793                       #ifdef HAVE_IEEEFP_H
39794                       #include <ieeefp.h>
39795                       #endif
39796
39797 int
39798 main ()
39799 {
39800  _isinff(0);
39801   ;
39802   return 0;
39803 }
39804 _ACEOF
39805 if ac_fn_cxx_try_compile "$LINENO"; then :
39806   glibcxx_cv_func__isinff_use=yes
39807 else
39808   glibcxx_cv_func__isinff_use=no
39809 fi
39810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39811       ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816
39817
39818 fi
39819
39820   fi
39821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39822 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39823
39824     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39825       for ac_func in _isinff
39826 do :
39827   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39828 if test "x$ac_cv_func__isinff" = x""yes; then :
39829   cat >>confdefs.h <<_ACEOF
39830 #define HAVE__ISINFF 1
39831 _ACEOF
39832
39833 fi
39834 done
39835
39836     fi
39837   fi
39838
39839
39840
39841
39842
39843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39844 $as_echo_n "checking for atan2f declaration... " >&6; }
39845   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39846     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39847   $as_echo_n "(cached) " >&6
39848 else
39849
39850
39851       ac_ext=cpp
39852 ac_cpp='$CXXCPP $CPPFLAGS'
39853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39856
39857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39858 /* end confdefs.h.  */
39859 #include <math.h>
39860 int
39861 main ()
39862 {
39863  atan2f(0, 0);
39864   ;
39865   return 0;
39866 }
39867 _ACEOF
39868 if ac_fn_cxx_try_compile "$LINENO"; then :
39869   glibcxx_cv_func_atan2f_use=yes
39870 else
39871   glibcxx_cv_func_atan2f_use=no
39872 fi
39873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39874       ac_ext=c
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39879
39880
39881 fi
39882
39883   fi
39884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39885 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39886
39887   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39888     for ac_func in atan2f
39889 do :
39890   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39891 if test "x$ac_cv_func_atan2f" = x""yes; then :
39892   cat >>confdefs.h <<_ACEOF
39893 #define HAVE_ATAN2F 1
39894 _ACEOF
39895
39896 fi
39897 done
39898
39899   else
39900
39901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39902 $as_echo_n "checking for _atan2f declaration... " >&6; }
39903   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39904     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39905   $as_echo_n "(cached) " >&6
39906 else
39907
39908
39909       ac_ext=cpp
39910 ac_cpp='$CXXCPP $CPPFLAGS'
39911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39914
39915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39916 /* end confdefs.h.  */
39917 #include <math.h>
39918 int
39919 main ()
39920 {
39921  _atan2f(0, 0);
39922   ;
39923   return 0;
39924 }
39925 _ACEOF
39926 if ac_fn_cxx_try_compile "$LINENO"; then :
39927   glibcxx_cv_func__atan2f_use=yes
39928 else
39929   glibcxx_cv_func__atan2f_use=no
39930 fi
39931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39932       ac_ext=c
39933 ac_cpp='$CPP $CPPFLAGS'
39934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39937
39938
39939 fi
39940
39941   fi
39942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39943 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39944
39945     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39946       for ac_func in _atan2f
39947 do :
39948   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39949 if test "x$ac_cv_func__atan2f" = x""yes; then :
39950   cat >>confdefs.h <<_ACEOF
39951 #define HAVE__ATAN2F 1
39952 _ACEOF
39953
39954 fi
39955 done
39956
39957     fi
39958   fi
39959
39960
39961
39962
39963
39964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39965 $as_echo_n "checking for fabsf declaration... " >&6; }
39966   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39967     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39968   $as_echo_n "(cached) " >&6
39969 else
39970
39971
39972       ac_ext=cpp
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39977
39978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h.  */
39980 #include <math.h>
39981                       #ifdef HAVE_IEEEFP_H
39982                       #include <ieeefp.h>
39983                       #endif
39984
39985 int
39986 main ()
39987 {
39988  fabsf(0);
39989   ;
39990   return 0;
39991 }
39992 _ACEOF
39993 if ac_fn_cxx_try_compile "$LINENO"; then :
39994   glibcxx_cv_func_fabsf_use=yes
39995 else
39996   glibcxx_cv_func_fabsf_use=no
39997 fi
39998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39999       ac_ext=c
40000 ac_cpp='$CPP $CPPFLAGS'
40001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40004
40005
40006 fi
40007
40008   fi
40009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40010 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40011
40012   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40013     for ac_func in fabsf
40014 do :
40015   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40016 if test "x$ac_cv_func_fabsf" = x""yes; then :
40017   cat >>confdefs.h <<_ACEOF
40018 #define HAVE_FABSF 1
40019 _ACEOF
40020
40021 fi
40022 done
40023
40024   else
40025
40026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40027 $as_echo_n "checking for _fabsf declaration... " >&6; }
40028   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40029     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40030   $as_echo_n "(cached) " >&6
40031 else
40032
40033
40034       ac_ext=cpp
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40039
40040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40041 /* end confdefs.h.  */
40042 #include <math.h>
40043                       #ifdef HAVE_IEEEFP_H
40044                       #include <ieeefp.h>
40045                       #endif
40046
40047 int
40048 main ()
40049 {
40050  _fabsf(0);
40051   ;
40052   return 0;
40053 }
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056   glibcxx_cv_func__fabsf_use=yes
40057 else
40058   glibcxx_cv_func__fabsf_use=no
40059 fi
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061       ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067
40068 fi
40069
40070   fi
40071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40072 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40073
40074     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40075       for ac_func in _fabsf
40076 do :
40077   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40078 if test "x$ac_cv_func__fabsf" = x""yes; then :
40079   cat >>confdefs.h <<_ACEOF
40080 #define HAVE__FABSF 1
40081 _ACEOF
40082
40083 fi
40084 done
40085
40086     fi
40087   fi
40088
40089
40090
40091
40092
40093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40094 $as_echo_n "checking for fmodf declaration... " >&6; }
40095   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40096     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40097   $as_echo_n "(cached) " >&6
40098 else
40099
40100
40101       ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40106
40107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h.  */
40109 #include <math.h>
40110 int
40111 main ()
40112 {
40113  fmodf(0, 0);
40114   ;
40115   return 0;
40116 }
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119   glibcxx_cv_func_fmodf_use=yes
40120 else
40121   glibcxx_cv_func_fmodf_use=no
40122 fi
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124       ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40129
40130
40131 fi
40132
40133   fi
40134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40135 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40136
40137   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40138     for ac_func in fmodf
40139 do :
40140   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40141 if test "x$ac_cv_func_fmodf" = x""yes; then :
40142   cat >>confdefs.h <<_ACEOF
40143 #define HAVE_FMODF 1
40144 _ACEOF
40145
40146 fi
40147 done
40148
40149   else
40150
40151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40152 $as_echo_n "checking for _fmodf declaration... " >&6; }
40153   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40154     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40155   $as_echo_n "(cached) " >&6
40156 else
40157
40158
40159       ac_ext=cpp
40160 ac_cpp='$CXXCPP $CPPFLAGS'
40161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40164
40165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40166 /* end confdefs.h.  */
40167 #include <math.h>
40168 int
40169 main ()
40170 {
40171  _fmodf(0, 0);
40172   ;
40173   return 0;
40174 }
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177   glibcxx_cv_func__fmodf_use=yes
40178 else
40179   glibcxx_cv_func__fmodf_use=no
40180 fi
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182       ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40187
40188
40189 fi
40190
40191   fi
40192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40193 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40194
40195     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40196       for ac_func in _fmodf
40197 do :
40198   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40199 if test "x$ac_cv_func__fmodf" = x""yes; then :
40200   cat >>confdefs.h <<_ACEOF
40201 #define HAVE__FMODF 1
40202 _ACEOF
40203
40204 fi
40205 done
40206
40207     fi
40208   fi
40209
40210
40211
40212
40213
40214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40215 $as_echo_n "checking for frexpf declaration... " >&6; }
40216   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40217     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40218   $as_echo_n "(cached) " >&6
40219 else
40220
40221
40222       ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40227
40228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h.  */
40230 #include <math.h>
40231 int
40232 main ()
40233 {
40234  frexpf(0, 0);
40235   ;
40236   return 0;
40237 }
40238 _ACEOF
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240   glibcxx_cv_func_frexpf_use=yes
40241 else
40242   glibcxx_cv_func_frexpf_use=no
40243 fi
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245       ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40250
40251
40252 fi
40253
40254   fi
40255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40256 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40257
40258   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40259     for ac_func in frexpf
40260 do :
40261   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40262 if test "x$ac_cv_func_frexpf" = x""yes; then :
40263   cat >>confdefs.h <<_ACEOF
40264 #define HAVE_FREXPF 1
40265 _ACEOF
40266
40267 fi
40268 done
40269
40270   else
40271
40272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40273 $as_echo_n "checking for _frexpf declaration... " >&6; }
40274   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40275     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40276   $as_echo_n "(cached) " >&6
40277 else
40278
40279
40280       ac_ext=cpp
40281 ac_cpp='$CXXCPP $CPPFLAGS'
40282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40285
40286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40287 /* end confdefs.h.  */
40288 #include <math.h>
40289 int
40290 main ()
40291 {
40292  _frexpf(0, 0);
40293   ;
40294   return 0;
40295 }
40296 _ACEOF
40297 if ac_fn_cxx_try_compile "$LINENO"; then :
40298   glibcxx_cv_func__frexpf_use=yes
40299 else
40300   glibcxx_cv_func__frexpf_use=no
40301 fi
40302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40303       ac_ext=c
40304 ac_cpp='$CPP $CPPFLAGS'
40305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40308
40309
40310 fi
40311
40312   fi
40313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40314 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40315
40316     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40317       for ac_func in _frexpf
40318 do :
40319   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40320 if test "x$ac_cv_func__frexpf" = x""yes; then :
40321   cat >>confdefs.h <<_ACEOF
40322 #define HAVE__FREXPF 1
40323 _ACEOF
40324
40325 fi
40326 done
40327
40328     fi
40329   fi
40330
40331
40332
40333
40334
40335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40336 $as_echo_n "checking for hypotf declaration... " >&6; }
40337   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40338     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40339   $as_echo_n "(cached) " >&6
40340 else
40341
40342
40343       ac_ext=cpp
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40348
40349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h.  */
40351 #include <math.h>
40352 int
40353 main ()
40354 {
40355  hypotf(0, 0);
40356   ;
40357   return 0;
40358 }
40359 _ACEOF
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361   glibcxx_cv_func_hypotf_use=yes
40362 else
40363   glibcxx_cv_func_hypotf_use=no
40364 fi
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40366       ac_ext=c
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40371
40372
40373 fi
40374
40375   fi
40376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40377 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40378
40379   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40380     for ac_func in hypotf
40381 do :
40382   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40383 if test "x$ac_cv_func_hypotf" = x""yes; then :
40384   cat >>confdefs.h <<_ACEOF
40385 #define HAVE_HYPOTF 1
40386 _ACEOF
40387
40388 fi
40389 done
40390
40391   else
40392
40393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40394 $as_echo_n "checking for _hypotf declaration... " >&6; }
40395   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40396     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40397   $as_echo_n "(cached) " >&6
40398 else
40399
40400
40401       ac_ext=cpp
40402 ac_cpp='$CXXCPP $CPPFLAGS'
40403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40406
40407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40408 /* end confdefs.h.  */
40409 #include <math.h>
40410 int
40411 main ()
40412 {
40413  _hypotf(0, 0);
40414   ;
40415   return 0;
40416 }
40417 _ACEOF
40418 if ac_fn_cxx_try_compile "$LINENO"; then :
40419   glibcxx_cv_func__hypotf_use=yes
40420 else
40421   glibcxx_cv_func__hypotf_use=no
40422 fi
40423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40424       ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40429
40430
40431 fi
40432
40433   fi
40434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40435 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40436
40437     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40438       for ac_func in _hypotf
40439 do :
40440   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40441 if test "x$ac_cv_func__hypotf" = x""yes; then :
40442   cat >>confdefs.h <<_ACEOF
40443 #define HAVE__HYPOTF 1
40444 _ACEOF
40445
40446 fi
40447 done
40448
40449     fi
40450   fi
40451
40452
40453
40454
40455
40456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40457 $as_echo_n "checking for ldexpf declaration... " >&6; }
40458   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40459     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40460   $as_echo_n "(cached) " >&6
40461 else
40462
40463
40464       ac_ext=cpp
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40469
40470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h.  */
40472 #include <math.h>
40473 int
40474 main ()
40475 {
40476  ldexpf(0, 0);
40477   ;
40478   return 0;
40479 }
40480 _ACEOF
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482   glibcxx_cv_func_ldexpf_use=yes
40483 else
40484   glibcxx_cv_func_ldexpf_use=no
40485 fi
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40487       ac_ext=c
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40492
40493
40494 fi
40495
40496   fi
40497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40498 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40499
40500   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40501     for ac_func in ldexpf
40502 do :
40503   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40504 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40505   cat >>confdefs.h <<_ACEOF
40506 #define HAVE_LDEXPF 1
40507 _ACEOF
40508
40509 fi
40510 done
40511
40512   else
40513
40514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40515 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40516   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40517     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40518   $as_echo_n "(cached) " >&6
40519 else
40520
40521
40522       ac_ext=cpp
40523 ac_cpp='$CXXCPP $CPPFLAGS'
40524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40527
40528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40529 /* end confdefs.h.  */
40530 #include <math.h>
40531 int
40532 main ()
40533 {
40534  _ldexpf(0, 0);
40535   ;
40536   return 0;
40537 }
40538 _ACEOF
40539 if ac_fn_cxx_try_compile "$LINENO"; then :
40540   glibcxx_cv_func__ldexpf_use=yes
40541 else
40542   glibcxx_cv_func__ldexpf_use=no
40543 fi
40544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40545       ac_ext=c
40546 ac_cpp='$CPP $CPPFLAGS'
40547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40550
40551
40552 fi
40553
40554   fi
40555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40556 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40557
40558     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40559       for ac_func in _ldexpf
40560 do :
40561   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40562 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40563   cat >>confdefs.h <<_ACEOF
40564 #define HAVE__LDEXPF 1
40565 _ACEOF
40566
40567 fi
40568 done
40569
40570     fi
40571   fi
40572
40573
40574
40575
40576
40577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40578 $as_echo_n "checking for logf declaration... " >&6; }
40579   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40580     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40581   $as_echo_n "(cached) " >&6
40582 else
40583
40584
40585       ac_ext=cpp
40586 ac_cpp='$CXXCPP $CPPFLAGS'
40587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40590
40591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40592 /* end confdefs.h.  */
40593 #include <math.h>
40594                       #ifdef HAVE_IEEEFP_H
40595                       #include <ieeefp.h>
40596                       #endif
40597
40598 int
40599 main ()
40600 {
40601  logf(0);
40602   ;
40603   return 0;
40604 }
40605 _ACEOF
40606 if ac_fn_cxx_try_compile "$LINENO"; then :
40607   glibcxx_cv_func_logf_use=yes
40608 else
40609   glibcxx_cv_func_logf_use=no
40610 fi
40611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40612       ac_ext=c
40613 ac_cpp='$CPP $CPPFLAGS'
40614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40617
40618
40619 fi
40620
40621   fi
40622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40623 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40624
40625   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40626     for ac_func in logf
40627 do :
40628   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40629 if test "x$ac_cv_func_logf" = x""yes; then :
40630   cat >>confdefs.h <<_ACEOF
40631 #define HAVE_LOGF 1
40632 _ACEOF
40633
40634 fi
40635 done
40636
40637   else
40638
40639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40640 $as_echo_n "checking for _logf declaration... " >&6; }
40641   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40642     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40643   $as_echo_n "(cached) " >&6
40644 else
40645
40646
40647       ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40654 /* end confdefs.h.  */
40655 #include <math.h>
40656                       #ifdef HAVE_IEEEFP_H
40657                       #include <ieeefp.h>
40658                       #endif
40659
40660 int
40661 main ()
40662 {
40663  _logf(0);
40664   ;
40665   return 0;
40666 }
40667 _ACEOF
40668 if ac_fn_cxx_try_compile "$LINENO"; then :
40669   glibcxx_cv_func__logf_use=yes
40670 else
40671   glibcxx_cv_func__logf_use=no
40672 fi
40673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40674       ac_ext=c
40675 ac_cpp='$CPP $CPPFLAGS'
40676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679
40680
40681 fi
40682
40683   fi
40684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40685 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40686
40687     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40688       for ac_func in _logf
40689 do :
40690   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40691 if test "x$ac_cv_func__logf" = x""yes; then :
40692   cat >>confdefs.h <<_ACEOF
40693 #define HAVE__LOGF 1
40694 _ACEOF
40695
40696 fi
40697 done
40698
40699     fi
40700   fi
40701
40702
40703
40704
40705
40706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40707 $as_echo_n "checking for log10f declaration... " >&6; }
40708   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40709     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40710   $as_echo_n "(cached) " >&6
40711 else
40712
40713
40714       ac_ext=cpp
40715 ac_cpp='$CXXCPP $CPPFLAGS'
40716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40719
40720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40721 /* end confdefs.h.  */
40722 #include <math.h>
40723                       #ifdef HAVE_IEEEFP_H
40724                       #include <ieeefp.h>
40725                       #endif
40726
40727 int
40728 main ()
40729 {
40730  log10f(0);
40731   ;
40732   return 0;
40733 }
40734 _ACEOF
40735 if ac_fn_cxx_try_compile "$LINENO"; then :
40736   glibcxx_cv_func_log10f_use=yes
40737 else
40738   glibcxx_cv_func_log10f_use=no
40739 fi
40740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40741       ac_ext=c
40742 ac_cpp='$CPP $CPPFLAGS'
40743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40746
40747
40748 fi
40749
40750   fi
40751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40752 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40753
40754   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40755     for ac_func in log10f
40756 do :
40757   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40758 if test "x$ac_cv_func_log10f" = x""yes; then :
40759   cat >>confdefs.h <<_ACEOF
40760 #define HAVE_LOG10F 1
40761 _ACEOF
40762
40763 fi
40764 done
40765
40766   else
40767
40768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40769 $as_echo_n "checking for _log10f declaration... " >&6; }
40770   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40771     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40772   $as_echo_n "(cached) " >&6
40773 else
40774
40775
40776       ac_ext=cpp
40777 ac_cpp='$CXXCPP $CPPFLAGS'
40778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781
40782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40783 /* end confdefs.h.  */
40784 #include <math.h>
40785                       #ifdef HAVE_IEEEFP_H
40786                       #include <ieeefp.h>
40787                       #endif
40788
40789 int
40790 main ()
40791 {
40792  _log10f(0);
40793   ;
40794   return 0;
40795 }
40796 _ACEOF
40797 if ac_fn_cxx_try_compile "$LINENO"; then :
40798   glibcxx_cv_func__log10f_use=yes
40799 else
40800   glibcxx_cv_func__log10f_use=no
40801 fi
40802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40803       ac_ext=c
40804 ac_cpp='$CPP $CPPFLAGS'
40805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40808
40809
40810 fi
40811
40812   fi
40813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40814 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40815
40816     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40817       for ac_func in _log10f
40818 do :
40819   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40820 if test "x$ac_cv_func__log10f" = x""yes; then :
40821   cat >>confdefs.h <<_ACEOF
40822 #define HAVE__LOG10F 1
40823 _ACEOF
40824
40825 fi
40826 done
40827
40828     fi
40829   fi
40830
40831
40832
40833
40834
40835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40836 $as_echo_n "checking for modff declaration... " >&6; }
40837   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40838     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40839   $as_echo_n "(cached) " >&6
40840 else
40841
40842
40843       ac_ext=cpp
40844 ac_cpp='$CXXCPP $CPPFLAGS'
40845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40848
40849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40850 /* end confdefs.h.  */
40851 #include <math.h>
40852 int
40853 main ()
40854 {
40855  modff(0, 0);
40856   ;
40857   return 0;
40858 }
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861   glibcxx_cv_func_modff_use=yes
40862 else
40863   glibcxx_cv_func_modff_use=no
40864 fi
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866       ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40871
40872
40873 fi
40874
40875   fi
40876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40877 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40878
40879   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40880     for ac_func in modff
40881 do :
40882   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40883 if test "x$ac_cv_func_modff" = x""yes; then :
40884   cat >>confdefs.h <<_ACEOF
40885 #define HAVE_MODFF 1
40886 _ACEOF
40887
40888 fi
40889 done
40890
40891   else
40892
40893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40894 $as_echo_n "checking for _modff declaration... " >&6; }
40895   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40896     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40897   $as_echo_n "(cached) " >&6
40898 else
40899
40900
40901       ac_ext=cpp
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40906
40907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908 /* end confdefs.h.  */
40909 #include <math.h>
40910 int
40911 main ()
40912 {
40913  _modff(0, 0);
40914   ;
40915   return 0;
40916 }
40917 _ACEOF
40918 if ac_fn_cxx_try_compile "$LINENO"; then :
40919   glibcxx_cv_func__modff_use=yes
40920 else
40921   glibcxx_cv_func__modff_use=no
40922 fi
40923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40924       ac_ext=c
40925 ac_cpp='$CPP $CPPFLAGS'
40926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929
40930
40931 fi
40932
40933   fi
40934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40935 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40936
40937     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40938       for ac_func in _modff
40939 do :
40940   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40941 if test "x$ac_cv_func__modff" = x""yes; then :
40942   cat >>confdefs.h <<_ACEOF
40943 #define HAVE__MODFF 1
40944 _ACEOF
40945
40946 fi
40947 done
40948
40949     fi
40950   fi
40951
40952
40953
40954
40955
40956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40957 $as_echo_n "checking for modf declaration... " >&6; }
40958   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40959     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40960   $as_echo_n "(cached) " >&6
40961 else
40962
40963
40964       ac_ext=cpp
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40969
40970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h.  */
40972 #include <math.h>
40973 int
40974 main ()
40975 {
40976  modf(0, 0);
40977   ;
40978   return 0;
40979 }
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982   glibcxx_cv_func_modf_use=yes
40983 else
40984   glibcxx_cv_func_modf_use=no
40985 fi
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987       ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992
40993
40994 fi
40995
40996   fi
40997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40998 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40999
41000   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41001     for ac_func in modf
41002 do :
41003   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41004 if test "x$ac_cv_func_modf" = x""yes; then :
41005   cat >>confdefs.h <<_ACEOF
41006 #define HAVE_MODF 1
41007 _ACEOF
41008
41009 fi
41010 done
41011
41012   else
41013
41014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41015 $as_echo_n "checking for _modf declaration... " >&6; }
41016   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41017     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41018   $as_echo_n "(cached) " >&6
41019 else
41020
41021
41022       ac_ext=cpp
41023 ac_cpp='$CXXCPP $CPPFLAGS'
41024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41027
41028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41029 /* end confdefs.h.  */
41030 #include <math.h>
41031 int
41032 main ()
41033 {
41034  _modf(0, 0);
41035   ;
41036   return 0;
41037 }
41038 _ACEOF
41039 if ac_fn_cxx_try_compile "$LINENO"; then :
41040   glibcxx_cv_func__modf_use=yes
41041 else
41042   glibcxx_cv_func__modf_use=no
41043 fi
41044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41045       ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41050
41051
41052 fi
41053
41054   fi
41055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41056 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41057
41058     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41059       for ac_func in _modf
41060 do :
41061   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41062 if test "x$ac_cv_func__modf" = x""yes; then :
41063   cat >>confdefs.h <<_ACEOF
41064 #define HAVE__MODF 1
41065 _ACEOF
41066
41067 fi
41068 done
41069
41070     fi
41071   fi
41072
41073
41074
41075
41076
41077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41078 $as_echo_n "checking for powf declaration... " >&6; }
41079   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41080     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41081   $as_echo_n "(cached) " >&6
41082 else
41083
41084
41085       ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41090
41091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h.  */
41093 #include <math.h>
41094 int
41095 main ()
41096 {
41097  powf(0, 0);
41098   ;
41099   return 0;
41100 }
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103   glibcxx_cv_func_powf_use=yes
41104 else
41105   glibcxx_cv_func_powf_use=no
41106 fi
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108       ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41113
41114
41115 fi
41116
41117   fi
41118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41119 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41120
41121   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41122     for ac_func in powf
41123 do :
41124   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41125 if test "x$ac_cv_func_powf" = x""yes; then :
41126   cat >>confdefs.h <<_ACEOF
41127 #define HAVE_POWF 1
41128 _ACEOF
41129
41130 fi
41131 done
41132
41133   else
41134
41135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41136 $as_echo_n "checking for _powf declaration... " >&6; }
41137   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41138     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41139   $as_echo_n "(cached) " >&6
41140 else
41141
41142
41143       ac_ext=cpp
41144 ac_cpp='$CXXCPP $CPPFLAGS'
41145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41148
41149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h.  */
41151 #include <math.h>
41152 int
41153 main ()
41154 {
41155  _powf(0, 0);
41156   ;
41157   return 0;
41158 }
41159 _ACEOF
41160 if ac_fn_cxx_try_compile "$LINENO"; then :
41161   glibcxx_cv_func__powf_use=yes
41162 else
41163   glibcxx_cv_func__powf_use=no
41164 fi
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166       ac_ext=c
41167 ac_cpp='$CPP $CPPFLAGS'
41168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41171
41172
41173 fi
41174
41175   fi
41176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41177 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41178
41179     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41180       for ac_func in _powf
41181 do :
41182   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41183 if test "x$ac_cv_func__powf" = x""yes; then :
41184   cat >>confdefs.h <<_ACEOF
41185 #define HAVE__POWF 1
41186 _ACEOF
41187
41188 fi
41189 done
41190
41191     fi
41192   fi
41193
41194
41195
41196
41197
41198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41199 $as_echo_n "checking for sqrtf declaration... " >&6; }
41200   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41201     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41202   $as_echo_n "(cached) " >&6
41203 else
41204
41205
41206       ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41211
41212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h.  */
41214 #include <math.h>
41215                       #ifdef HAVE_IEEEFP_H
41216                       #include <ieeefp.h>
41217                       #endif
41218
41219 int
41220 main ()
41221 {
41222  sqrtf(0);
41223   ;
41224   return 0;
41225 }
41226 _ACEOF
41227 if ac_fn_cxx_try_compile "$LINENO"; then :
41228   glibcxx_cv_func_sqrtf_use=yes
41229 else
41230   glibcxx_cv_func_sqrtf_use=no
41231 fi
41232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41233       ac_ext=c
41234 ac_cpp='$CPP $CPPFLAGS'
41235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41238
41239
41240 fi
41241
41242   fi
41243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41244 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41245
41246   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41247     for ac_func in sqrtf
41248 do :
41249   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41250 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41251   cat >>confdefs.h <<_ACEOF
41252 #define HAVE_SQRTF 1
41253 _ACEOF
41254
41255 fi
41256 done
41257
41258   else
41259
41260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41261 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41262   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41263     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41264   $as_echo_n "(cached) " >&6
41265 else
41266
41267
41268       ac_ext=cpp
41269 ac_cpp='$CXXCPP $CPPFLAGS'
41270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41273
41274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41275 /* end confdefs.h.  */
41276 #include <math.h>
41277                       #ifdef HAVE_IEEEFP_H
41278                       #include <ieeefp.h>
41279                       #endif
41280
41281 int
41282 main ()
41283 {
41284  _sqrtf(0);
41285   ;
41286   return 0;
41287 }
41288 _ACEOF
41289 if ac_fn_cxx_try_compile "$LINENO"; then :
41290   glibcxx_cv_func__sqrtf_use=yes
41291 else
41292   glibcxx_cv_func__sqrtf_use=no
41293 fi
41294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41295       ac_ext=c
41296 ac_cpp='$CPP $CPPFLAGS'
41297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41300
41301
41302 fi
41303
41304   fi
41305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41306 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41307
41308     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41309       for ac_func in _sqrtf
41310 do :
41311   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41312 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41313   cat >>confdefs.h <<_ACEOF
41314 #define HAVE__SQRTF 1
41315 _ACEOF
41316
41317 fi
41318 done
41319
41320     fi
41321   fi
41322
41323
41324
41325
41326
41327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41328 $as_echo_n "checking for sincosf declaration... " >&6; }
41329   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41330     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41331   $as_echo_n "(cached) " >&6
41332 else
41333
41334
41335       ac_ext=cpp
41336 ac_cpp='$CXXCPP $CPPFLAGS'
41337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41340
41341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41342 /* end confdefs.h.  */
41343 #include <math.h>
41344 int
41345 main ()
41346 {
41347  sincosf(0, 0, 0);
41348   ;
41349   return 0;
41350 }
41351 _ACEOF
41352 if ac_fn_cxx_try_compile "$LINENO"; then :
41353   glibcxx_cv_func_sincosf_use=yes
41354 else
41355   glibcxx_cv_func_sincosf_use=no
41356 fi
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41358       ac_ext=c
41359 ac_cpp='$CPP $CPPFLAGS'
41360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41363
41364
41365 fi
41366
41367   fi
41368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41369 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41370
41371   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41372     for ac_func in sincosf
41373 do :
41374   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41375 if test "x$ac_cv_func_sincosf" = x""yes; then :
41376   cat >>confdefs.h <<_ACEOF
41377 #define HAVE_SINCOSF 1
41378 _ACEOF
41379
41380 fi
41381 done
41382
41383   else
41384
41385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41386 $as_echo_n "checking for _sincosf declaration... " >&6; }
41387   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41388     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41389   $as_echo_n "(cached) " >&6
41390 else
41391
41392
41393       ac_ext=cpp
41394 ac_cpp='$CXXCPP $CPPFLAGS'
41395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41398
41399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41400 /* end confdefs.h.  */
41401 #include <math.h>
41402 int
41403 main ()
41404 {
41405  _sincosf(0, 0, 0);
41406   ;
41407   return 0;
41408 }
41409 _ACEOF
41410 if ac_fn_cxx_try_compile "$LINENO"; then :
41411   glibcxx_cv_func__sincosf_use=yes
41412 else
41413   glibcxx_cv_func__sincosf_use=no
41414 fi
41415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41416       ac_ext=c
41417 ac_cpp='$CPP $CPPFLAGS'
41418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41421
41422
41423 fi
41424
41425   fi
41426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41427 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41428
41429     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41430       for ac_func in _sincosf
41431 do :
41432   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41433 if test "x$ac_cv_func__sincosf" = x""yes; then :
41434   cat >>confdefs.h <<_ACEOF
41435 #define HAVE__SINCOSF 1
41436 _ACEOF
41437
41438 fi
41439 done
41440
41441     fi
41442   fi
41443
41444
41445
41446
41447
41448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41449 $as_echo_n "checking for finitef declaration... " >&6; }
41450   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41451     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41452   $as_echo_n "(cached) " >&6
41453 else
41454
41455
41456       ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41461
41462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h.  */
41464 #include <math.h>
41465                       #ifdef HAVE_IEEEFP_H
41466                       #include <ieeefp.h>
41467                       #endif
41468
41469 int
41470 main ()
41471 {
41472  finitef(0);
41473   ;
41474   return 0;
41475 }
41476 _ACEOF
41477 if ac_fn_cxx_try_compile "$LINENO"; then :
41478   glibcxx_cv_func_finitef_use=yes
41479 else
41480   glibcxx_cv_func_finitef_use=no
41481 fi
41482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41483       ac_ext=c
41484 ac_cpp='$CPP $CPPFLAGS'
41485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41488
41489
41490 fi
41491
41492   fi
41493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41494 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41495
41496   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41497     for ac_func in finitef
41498 do :
41499   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41500 if test "x$ac_cv_func_finitef" = x""yes; then :
41501   cat >>confdefs.h <<_ACEOF
41502 #define HAVE_FINITEF 1
41503 _ACEOF
41504
41505 fi
41506 done
41507
41508   else
41509
41510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41511 $as_echo_n "checking for _finitef declaration... " >&6; }
41512   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41513     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41514   $as_echo_n "(cached) " >&6
41515 else
41516
41517
41518       ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523
41524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41525 /* end confdefs.h.  */
41526 #include <math.h>
41527                       #ifdef HAVE_IEEEFP_H
41528                       #include <ieeefp.h>
41529                       #endif
41530
41531 int
41532 main ()
41533 {
41534  _finitef(0);
41535   ;
41536   return 0;
41537 }
41538 _ACEOF
41539 if ac_fn_cxx_try_compile "$LINENO"; then :
41540   glibcxx_cv_func__finitef_use=yes
41541 else
41542   glibcxx_cv_func__finitef_use=no
41543 fi
41544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41545       ac_ext=c
41546 ac_cpp='$CPP $CPPFLAGS'
41547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41550
41551
41552 fi
41553
41554   fi
41555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41556 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41557
41558     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41559       for ac_func in _finitef
41560 do :
41561   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41562 if test "x$ac_cv_func__finitef" = x""yes; then :
41563   cat >>confdefs.h <<_ACEOF
41564 #define HAVE__FINITEF 1
41565 _ACEOF
41566
41567 fi
41568 done
41569
41570     fi
41571   fi
41572
41573
41574
41575
41576
41577     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41578 $as_echo_n "checking for long double trig functions... " >&6; }
41579   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41580   $as_echo_n "(cached) " >&6
41581 else
41582
41583
41584     ac_ext=cpp
41585 ac_cpp='$CXXCPP $CPPFLAGS'
41586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41589
41590     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41591 /* end confdefs.h.  */
41592 #include <math.h>
41593 int
41594 main ()
41595 {
41596 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41597   ;
41598   return 0;
41599 }
41600 _ACEOF
41601 if ac_fn_cxx_try_compile "$LINENO"; then :
41602   glibcxx_cv_func_long_double_trig_use=yes
41603 else
41604   glibcxx_cv_func_long_double_trig_use=no
41605 fi
41606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41607     ac_ext=c
41608 ac_cpp='$CPP $CPPFLAGS'
41609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41612
41613 fi
41614
41615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41616 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41617   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41618     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41619 do :
41620   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41622 eval as_val=\$$as_ac_var
41623    if test "x$as_val" = x""yes; then :
41624   cat >>confdefs.h <<_ACEOF
41625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41626 _ACEOF
41627
41628 fi
41629 done
41630
41631   else
41632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41633 $as_echo_n "checking for _long double trig functions... " >&6; }
41634     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41635   $as_echo_n "(cached) " >&6
41636 else
41637
41638
41639       ac_ext=cpp
41640 ac_cpp='$CXXCPP $CPPFLAGS'
41641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41644
41645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41646 /* end confdefs.h.  */
41647 #include <math.h>
41648 int
41649 main ()
41650 {
41651 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41652   ;
41653   return 0;
41654 }
41655 _ACEOF
41656 if ac_fn_cxx_try_compile "$LINENO"; then :
41657   glibcxx_cv_func__long_double_trig_use=yes
41658 else
41659   glibcxx_cv_func__long_double_trig_use=no
41660 fi
41661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41662       ac_ext=c
41663 ac_cpp='$CPP $CPPFLAGS'
41664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41667
41668 fi
41669
41670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41671 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41672     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41673       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41674 do :
41675   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41677 eval as_val=\$$as_ac_var
41678    if test "x$as_val" = x""yes; then :
41679   cat >>confdefs.h <<_ACEOF
41680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41681 _ACEOF
41682
41683 fi
41684 done
41685
41686     fi
41687   fi
41688
41689
41690
41691
41692
41693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41694 $as_echo_n "checking for long double round functions... " >&6; }
41695   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41696   $as_echo_n "(cached) " >&6
41697 else
41698
41699
41700     ac_ext=cpp
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705
41706     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41707 /* end confdefs.h.  */
41708 #include <math.h>
41709 int
41710 main ()
41711 {
41712 ceill (0); floorl (0);
41713   ;
41714   return 0;
41715 }
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718   glibcxx_cv_func_long_double_round_use=yes
41719 else
41720   glibcxx_cv_func_long_double_round_use=no
41721 fi
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723     ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728
41729 fi
41730
41731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41732 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41733   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41734     for ac_func in ceill floorl
41735 do :
41736   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41738 eval as_val=\$$as_ac_var
41739    if test "x$as_val" = x""yes; then :
41740   cat >>confdefs.h <<_ACEOF
41741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41742 _ACEOF
41743
41744 fi
41745 done
41746
41747   else
41748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41749 $as_echo_n "checking for _long double round functions... " >&6; }
41750     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41751   $as_echo_n "(cached) " >&6
41752 else
41753
41754
41755       ac_ext=cpp
41756 ac_cpp='$CXXCPP $CPPFLAGS'
41757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760
41761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41762 /* end confdefs.h.  */
41763 #include <math.h>
41764 int
41765 main ()
41766 {
41767 _ceill (0); _floorl (0);
41768   ;
41769   return 0;
41770 }
41771 _ACEOF
41772 if ac_fn_cxx_try_compile "$LINENO"; then :
41773   glibcxx_cv_func__long_double_round_use=yes
41774 else
41775   glibcxx_cv_func__long_double_round_use=no
41776 fi
41777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41778       ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41783
41784 fi
41785
41786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41787 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41788     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41789       for ac_func in _ceill _floorl
41790 do :
41791   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41793 eval as_val=\$$as_ac_var
41794    if test "x$as_val" = x""yes; then :
41795   cat >>confdefs.h <<_ACEOF
41796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41797 _ACEOF
41798
41799 fi
41800 done
41801
41802     fi
41803   fi
41804
41805
41806
41807
41808
41809
41810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41811 $as_echo_n "checking for isnanl declaration... " >&6; }
41812   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41813     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41814   $as_echo_n "(cached) " >&6
41815 else
41816
41817
41818       ac_ext=cpp
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41823
41824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h.  */
41826 #include <math.h>
41827                       #ifdef HAVE_IEEEFP_H
41828                       #include <ieeefp.h>
41829                       #endif
41830
41831 int
41832 main ()
41833 {
41834  isnanl(0);
41835   ;
41836   return 0;
41837 }
41838 _ACEOF
41839 if ac_fn_cxx_try_compile "$LINENO"; then :
41840   glibcxx_cv_func_isnanl_use=yes
41841 else
41842   glibcxx_cv_func_isnanl_use=no
41843 fi
41844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41845       ac_ext=c
41846 ac_cpp='$CPP $CPPFLAGS'
41847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41850
41851
41852 fi
41853
41854   fi
41855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41856 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41857
41858   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41859     for ac_func in isnanl
41860 do :
41861   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41862 if test "x$ac_cv_func_isnanl" = x""yes; then :
41863   cat >>confdefs.h <<_ACEOF
41864 #define HAVE_ISNANL 1
41865 _ACEOF
41866
41867 fi
41868 done
41869
41870   else
41871
41872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41873 $as_echo_n "checking for _isnanl declaration... " >&6; }
41874   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41875     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41876   $as_echo_n "(cached) " >&6
41877 else
41878
41879
41880       ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885
41886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h.  */
41888 #include <math.h>
41889                       #ifdef HAVE_IEEEFP_H
41890                       #include <ieeefp.h>
41891                       #endif
41892
41893 int
41894 main ()
41895 {
41896  _isnanl(0);
41897   ;
41898   return 0;
41899 }
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902   glibcxx_cv_func__isnanl_use=yes
41903 else
41904   glibcxx_cv_func__isnanl_use=no
41905 fi
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907       ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913
41914 fi
41915
41916   fi
41917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41918 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41919
41920     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41921       for ac_func in _isnanl
41922 do :
41923   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41924 if test "x$ac_cv_func__isnanl" = x""yes; then :
41925   cat >>confdefs.h <<_ACEOF
41926 #define HAVE__ISNANL 1
41927 _ACEOF
41928
41929 fi
41930 done
41931
41932     fi
41933   fi
41934
41935
41936
41937
41938
41939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41940 $as_echo_n "checking for isinfl declaration... " >&6; }
41941   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41942     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41943   $as_echo_n "(cached) " >&6
41944 else
41945
41946
41947       ac_ext=cpp
41948 ac_cpp='$CXXCPP $CPPFLAGS'
41949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41952
41953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954 /* end confdefs.h.  */
41955 #include <math.h>
41956                       #ifdef HAVE_IEEEFP_H
41957                       #include <ieeefp.h>
41958                       #endif
41959
41960 int
41961 main ()
41962 {
41963  isinfl(0);
41964   ;
41965   return 0;
41966 }
41967 _ACEOF
41968 if ac_fn_cxx_try_compile "$LINENO"; then :
41969   glibcxx_cv_func_isinfl_use=yes
41970 else
41971   glibcxx_cv_func_isinfl_use=no
41972 fi
41973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41974       ac_ext=c
41975 ac_cpp='$CPP $CPPFLAGS'
41976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41979
41980
41981 fi
41982
41983   fi
41984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41985 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41986
41987   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41988     for ac_func in isinfl
41989 do :
41990   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41991 if test "x$ac_cv_func_isinfl" = x""yes; then :
41992   cat >>confdefs.h <<_ACEOF
41993 #define HAVE_ISINFL 1
41994 _ACEOF
41995
41996 fi
41997 done
41998
41999   else
42000
42001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42002 $as_echo_n "checking for _isinfl declaration... " >&6; }
42003   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42004     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42005   $as_echo_n "(cached) " >&6
42006 else
42007
42008
42009       ac_ext=cpp
42010 ac_cpp='$CXXCPP $CPPFLAGS'
42011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014
42015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42016 /* end confdefs.h.  */
42017 #include <math.h>
42018                       #ifdef HAVE_IEEEFP_H
42019                       #include <ieeefp.h>
42020                       #endif
42021
42022 int
42023 main ()
42024 {
42025  _isinfl(0);
42026   ;
42027   return 0;
42028 }
42029 _ACEOF
42030 if ac_fn_cxx_try_compile "$LINENO"; then :
42031   glibcxx_cv_func__isinfl_use=yes
42032 else
42033   glibcxx_cv_func__isinfl_use=no
42034 fi
42035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42036       ac_ext=c
42037 ac_cpp='$CPP $CPPFLAGS'
42038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42041
42042
42043 fi
42044
42045   fi
42046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42047 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42048
42049     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42050       for ac_func in _isinfl
42051 do :
42052   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42053 if test "x$ac_cv_func__isinfl" = x""yes; then :
42054   cat >>confdefs.h <<_ACEOF
42055 #define HAVE__ISINFL 1
42056 _ACEOF
42057
42058 fi
42059 done
42060
42061     fi
42062   fi
42063
42064
42065
42066
42067
42068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42069 $as_echo_n "checking for atan2l declaration... " >&6; }
42070   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42071     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42072   $as_echo_n "(cached) " >&6
42073 else
42074
42075
42076       ac_ext=cpp
42077 ac_cpp='$CXXCPP $CPPFLAGS'
42078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42081
42082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42083 /* end confdefs.h.  */
42084 #include <math.h>
42085 int
42086 main ()
42087 {
42088  atan2l(0, 0);
42089   ;
42090   return 0;
42091 }
42092 _ACEOF
42093 if ac_fn_cxx_try_compile "$LINENO"; then :
42094   glibcxx_cv_func_atan2l_use=yes
42095 else
42096   glibcxx_cv_func_atan2l_use=no
42097 fi
42098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42099       ac_ext=c
42100 ac_cpp='$CPP $CPPFLAGS'
42101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42104
42105
42106 fi
42107
42108   fi
42109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42110 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42111
42112   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42113     for ac_func in atan2l
42114 do :
42115   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42116 if test "x$ac_cv_func_atan2l" = x""yes; then :
42117   cat >>confdefs.h <<_ACEOF
42118 #define HAVE_ATAN2L 1
42119 _ACEOF
42120
42121 fi
42122 done
42123
42124   else
42125
42126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42127 $as_echo_n "checking for _atan2l declaration... " >&6; }
42128   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42129     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42130   $as_echo_n "(cached) " >&6
42131 else
42132
42133
42134       ac_ext=cpp
42135 ac_cpp='$CXXCPP $CPPFLAGS'
42136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42139
42140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42141 /* end confdefs.h.  */
42142 #include <math.h>
42143 int
42144 main ()
42145 {
42146  _atan2l(0, 0);
42147   ;
42148   return 0;
42149 }
42150 _ACEOF
42151 if ac_fn_cxx_try_compile "$LINENO"; then :
42152   glibcxx_cv_func__atan2l_use=yes
42153 else
42154   glibcxx_cv_func__atan2l_use=no
42155 fi
42156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157       ac_ext=c
42158 ac_cpp='$CPP $CPPFLAGS'
42159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162
42163
42164 fi
42165
42166   fi
42167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42168 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42169
42170     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42171       for ac_func in _atan2l
42172 do :
42173   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42174 if test "x$ac_cv_func__atan2l" = x""yes; then :
42175   cat >>confdefs.h <<_ACEOF
42176 #define HAVE__ATAN2L 1
42177 _ACEOF
42178
42179 fi
42180 done
42181
42182     fi
42183   fi
42184
42185
42186
42187
42188
42189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42190 $as_echo_n "checking for expl declaration... " >&6; }
42191   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42192     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42193   $as_echo_n "(cached) " >&6
42194 else
42195
42196
42197       ac_ext=cpp
42198 ac_cpp='$CXXCPP $CPPFLAGS'
42199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42202
42203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204 /* end confdefs.h.  */
42205 #include <math.h>
42206                       #ifdef HAVE_IEEEFP_H
42207                       #include <ieeefp.h>
42208                       #endif
42209
42210 int
42211 main ()
42212 {
42213  expl(0);
42214   ;
42215   return 0;
42216 }
42217 _ACEOF
42218 if ac_fn_cxx_try_compile "$LINENO"; then :
42219   glibcxx_cv_func_expl_use=yes
42220 else
42221   glibcxx_cv_func_expl_use=no
42222 fi
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224       ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229
42230
42231 fi
42232
42233   fi
42234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42235 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42236
42237   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42238     for ac_func in expl
42239 do :
42240   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42241 if test "x$ac_cv_func_expl" = x""yes; then :
42242   cat >>confdefs.h <<_ACEOF
42243 #define HAVE_EXPL 1
42244 _ACEOF
42245
42246 fi
42247 done
42248
42249   else
42250
42251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42252 $as_echo_n "checking for _expl declaration... " >&6; }
42253   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42254     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42255   $as_echo_n "(cached) " >&6
42256 else
42257
42258
42259       ac_ext=cpp
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264
42265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 /* end confdefs.h.  */
42267 #include <math.h>
42268                       #ifdef HAVE_IEEEFP_H
42269                       #include <ieeefp.h>
42270                       #endif
42271
42272 int
42273 main ()
42274 {
42275  _expl(0);
42276   ;
42277   return 0;
42278 }
42279 _ACEOF
42280 if ac_fn_cxx_try_compile "$LINENO"; then :
42281   glibcxx_cv_func__expl_use=yes
42282 else
42283   glibcxx_cv_func__expl_use=no
42284 fi
42285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42286       ac_ext=c
42287 ac_cpp='$CPP $CPPFLAGS'
42288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291
42292
42293 fi
42294
42295   fi
42296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42297 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42298
42299     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42300       for ac_func in _expl
42301 do :
42302   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42303 if test "x$ac_cv_func__expl" = x""yes; then :
42304   cat >>confdefs.h <<_ACEOF
42305 #define HAVE__EXPL 1
42306 _ACEOF
42307
42308 fi
42309 done
42310
42311     fi
42312   fi
42313
42314
42315
42316
42317
42318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42319 $as_echo_n "checking for fabsl declaration... " >&6; }
42320   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42321     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42322   $as_echo_n "(cached) " >&6
42323 else
42324
42325
42326       ac_ext=cpp
42327 ac_cpp='$CXXCPP $CPPFLAGS'
42328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42331
42332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42333 /* end confdefs.h.  */
42334 #include <math.h>
42335                       #ifdef HAVE_IEEEFP_H
42336                       #include <ieeefp.h>
42337                       #endif
42338
42339 int
42340 main ()
42341 {
42342  fabsl(0);
42343   ;
42344   return 0;
42345 }
42346 _ACEOF
42347 if ac_fn_cxx_try_compile "$LINENO"; then :
42348   glibcxx_cv_func_fabsl_use=yes
42349 else
42350   glibcxx_cv_func_fabsl_use=no
42351 fi
42352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42353       ac_ext=c
42354 ac_cpp='$CPP $CPPFLAGS'
42355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42358
42359
42360 fi
42361
42362   fi
42363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42364 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42365
42366   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42367     for ac_func in fabsl
42368 do :
42369   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42370 if test "x$ac_cv_func_fabsl" = x""yes; then :
42371   cat >>confdefs.h <<_ACEOF
42372 #define HAVE_FABSL 1
42373 _ACEOF
42374
42375 fi
42376 done
42377
42378   else
42379
42380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42381 $as_echo_n "checking for _fabsl declaration... " >&6; }
42382   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42383     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42384   $as_echo_n "(cached) " >&6
42385 else
42386
42387
42388       ac_ext=cpp
42389 ac_cpp='$CXXCPP $CPPFLAGS'
42390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42393
42394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42395 /* end confdefs.h.  */
42396 #include <math.h>
42397                       #ifdef HAVE_IEEEFP_H
42398                       #include <ieeefp.h>
42399                       #endif
42400
42401 int
42402 main ()
42403 {
42404  _fabsl(0);
42405   ;
42406   return 0;
42407 }
42408 _ACEOF
42409 if ac_fn_cxx_try_compile "$LINENO"; then :
42410   glibcxx_cv_func__fabsl_use=yes
42411 else
42412   glibcxx_cv_func__fabsl_use=no
42413 fi
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415       ac_ext=c
42416 ac_cpp='$CPP $CPPFLAGS'
42417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420
42421
42422 fi
42423
42424   fi
42425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42426 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42427
42428     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42429       for ac_func in _fabsl
42430 do :
42431   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42432 if test "x$ac_cv_func__fabsl" = x""yes; then :
42433   cat >>confdefs.h <<_ACEOF
42434 #define HAVE__FABSL 1
42435 _ACEOF
42436
42437 fi
42438 done
42439
42440     fi
42441   fi
42442
42443
42444
42445
42446
42447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42448 $as_echo_n "checking for fmodl declaration... " >&6; }
42449   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42450     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42451   $as_echo_n "(cached) " >&6
42452 else
42453
42454
42455       ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42460
42461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h.  */
42463 #include <math.h>
42464 int
42465 main ()
42466 {
42467  fmodl(0, 0);
42468   ;
42469   return 0;
42470 }
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473   glibcxx_cv_func_fmodl_use=yes
42474 else
42475   glibcxx_cv_func_fmodl_use=no
42476 fi
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478       ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42483
42484
42485 fi
42486
42487   fi
42488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42489 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42490
42491   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42492     for ac_func in fmodl
42493 do :
42494   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42495 if test "x$ac_cv_func_fmodl" = x""yes; then :
42496   cat >>confdefs.h <<_ACEOF
42497 #define HAVE_FMODL 1
42498 _ACEOF
42499
42500 fi
42501 done
42502
42503   else
42504
42505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42506 $as_echo_n "checking for _fmodl declaration... " >&6; }
42507   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42508     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42509   $as_echo_n "(cached) " >&6
42510 else
42511
42512
42513       ac_ext=cpp
42514 ac_cpp='$CXXCPP $CPPFLAGS'
42515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42518
42519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520 /* end confdefs.h.  */
42521 #include <math.h>
42522 int
42523 main ()
42524 {
42525  _fmodl(0, 0);
42526   ;
42527   return 0;
42528 }
42529 _ACEOF
42530 if ac_fn_cxx_try_compile "$LINENO"; then :
42531   glibcxx_cv_func__fmodl_use=yes
42532 else
42533   glibcxx_cv_func__fmodl_use=no
42534 fi
42535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42536       ac_ext=c
42537 ac_cpp='$CPP $CPPFLAGS'
42538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42541
42542
42543 fi
42544
42545   fi
42546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42547 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42548
42549     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42550       for ac_func in _fmodl
42551 do :
42552   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42553 if test "x$ac_cv_func__fmodl" = x""yes; then :
42554   cat >>confdefs.h <<_ACEOF
42555 #define HAVE__FMODL 1
42556 _ACEOF
42557
42558 fi
42559 done
42560
42561     fi
42562   fi
42563
42564
42565
42566
42567
42568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42569 $as_echo_n "checking for frexpl declaration... " >&6; }
42570   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42571     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42572   $as_echo_n "(cached) " >&6
42573 else
42574
42575
42576       ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581
42582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h.  */
42584 #include <math.h>
42585 int
42586 main ()
42587 {
42588  frexpl(0, 0);
42589   ;
42590   return 0;
42591 }
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594   glibcxx_cv_func_frexpl_use=yes
42595 else
42596   glibcxx_cv_func_frexpl_use=no
42597 fi
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599       ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42604
42605
42606 fi
42607
42608   fi
42609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42610 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42611
42612   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42613     for ac_func in frexpl
42614 do :
42615   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42616 if test "x$ac_cv_func_frexpl" = x""yes; then :
42617   cat >>confdefs.h <<_ACEOF
42618 #define HAVE_FREXPL 1
42619 _ACEOF
42620
42621 fi
42622 done
42623
42624   else
42625
42626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42627 $as_echo_n "checking for _frexpl declaration... " >&6; }
42628   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42629     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42630   $as_echo_n "(cached) " >&6
42631 else
42632
42633
42634       ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42639
42640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h.  */
42642 #include <math.h>
42643 int
42644 main ()
42645 {
42646  _frexpl(0, 0);
42647   ;
42648   return 0;
42649 }
42650 _ACEOF
42651 if ac_fn_cxx_try_compile "$LINENO"; then :
42652   glibcxx_cv_func__frexpl_use=yes
42653 else
42654   glibcxx_cv_func__frexpl_use=no
42655 fi
42656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42657       ac_ext=c
42658 ac_cpp='$CPP $CPPFLAGS'
42659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42662
42663
42664 fi
42665
42666   fi
42667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42668 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42669
42670     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42671       for ac_func in _frexpl
42672 do :
42673   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42674 if test "x$ac_cv_func__frexpl" = x""yes; then :
42675   cat >>confdefs.h <<_ACEOF
42676 #define HAVE__FREXPL 1
42677 _ACEOF
42678
42679 fi
42680 done
42681
42682     fi
42683   fi
42684
42685
42686
42687
42688
42689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42690 $as_echo_n "checking for hypotl declaration... " >&6; }
42691   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42692     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42693   $as_echo_n "(cached) " >&6
42694 else
42695
42696
42697       ac_ext=cpp
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702
42703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h.  */
42705 #include <math.h>
42706 int
42707 main ()
42708 {
42709  hypotl(0, 0);
42710   ;
42711   return 0;
42712 }
42713 _ACEOF
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715   glibcxx_cv_func_hypotl_use=yes
42716 else
42717   glibcxx_cv_func_hypotl_use=no
42718 fi
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42720       ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42725
42726
42727 fi
42728
42729   fi
42730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42731 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42732
42733   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42734     for ac_func in hypotl
42735 do :
42736   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42737 if test "x$ac_cv_func_hypotl" = x""yes; then :
42738   cat >>confdefs.h <<_ACEOF
42739 #define HAVE_HYPOTL 1
42740 _ACEOF
42741
42742 fi
42743 done
42744
42745   else
42746
42747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42748 $as_echo_n "checking for _hypotl declaration... " >&6; }
42749   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42750     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42751   $as_echo_n "(cached) " >&6
42752 else
42753
42754
42755       ac_ext=cpp
42756 ac_cpp='$CXXCPP $CPPFLAGS'
42757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42760
42761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42762 /* end confdefs.h.  */
42763 #include <math.h>
42764 int
42765 main ()
42766 {
42767  _hypotl(0, 0);
42768   ;
42769   return 0;
42770 }
42771 _ACEOF
42772 if ac_fn_cxx_try_compile "$LINENO"; then :
42773   glibcxx_cv_func__hypotl_use=yes
42774 else
42775   glibcxx_cv_func__hypotl_use=no
42776 fi
42777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42778       ac_ext=c
42779 ac_cpp='$CPP $CPPFLAGS'
42780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42783
42784
42785 fi
42786
42787   fi
42788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42789 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42790
42791     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42792       for ac_func in _hypotl
42793 do :
42794   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42795 if test "x$ac_cv_func__hypotl" = x""yes; then :
42796   cat >>confdefs.h <<_ACEOF
42797 #define HAVE__HYPOTL 1
42798 _ACEOF
42799
42800 fi
42801 done
42802
42803     fi
42804   fi
42805
42806
42807
42808
42809
42810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42811 $as_echo_n "checking for ldexpl declaration... " >&6; }
42812   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42813     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42814   $as_echo_n "(cached) " >&6
42815 else
42816
42817
42818       ac_ext=cpp
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42823
42824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h.  */
42826 #include <math.h>
42827 int
42828 main ()
42829 {
42830  ldexpl(0, 0);
42831   ;
42832   return 0;
42833 }
42834 _ACEOF
42835 if ac_fn_cxx_try_compile "$LINENO"; then :
42836   glibcxx_cv_func_ldexpl_use=yes
42837 else
42838   glibcxx_cv_func_ldexpl_use=no
42839 fi
42840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42841       ac_ext=c
42842 ac_cpp='$CPP $CPPFLAGS'
42843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42846
42847
42848 fi
42849
42850   fi
42851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42852 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42853
42854   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42855     for ac_func in ldexpl
42856 do :
42857   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42858 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42859   cat >>confdefs.h <<_ACEOF
42860 #define HAVE_LDEXPL 1
42861 _ACEOF
42862
42863 fi
42864 done
42865
42866   else
42867
42868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42869 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42870   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42871     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42872   $as_echo_n "(cached) " >&6
42873 else
42874
42875
42876       ac_ext=cpp
42877 ac_cpp='$CXXCPP $CPPFLAGS'
42878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42881
42882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42883 /* end confdefs.h.  */
42884 #include <math.h>
42885 int
42886 main ()
42887 {
42888  _ldexpl(0, 0);
42889   ;
42890   return 0;
42891 }
42892 _ACEOF
42893 if ac_fn_cxx_try_compile "$LINENO"; then :
42894   glibcxx_cv_func__ldexpl_use=yes
42895 else
42896   glibcxx_cv_func__ldexpl_use=no
42897 fi
42898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42899       ac_ext=c
42900 ac_cpp='$CPP $CPPFLAGS'
42901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904
42905
42906 fi
42907
42908   fi
42909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42910 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42911
42912     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42913       for ac_func in _ldexpl
42914 do :
42915   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42916 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42917   cat >>confdefs.h <<_ACEOF
42918 #define HAVE__LDEXPL 1
42919 _ACEOF
42920
42921 fi
42922 done
42923
42924     fi
42925   fi
42926
42927
42928
42929
42930
42931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42932 $as_echo_n "checking for logl declaration... " >&6; }
42933   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42934     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42935   $as_echo_n "(cached) " >&6
42936 else
42937
42938
42939       ac_ext=cpp
42940 ac_cpp='$CXXCPP $CPPFLAGS'
42941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42944
42945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42946 /* end confdefs.h.  */
42947 #include <math.h>
42948                       #ifdef HAVE_IEEEFP_H
42949                       #include <ieeefp.h>
42950                       #endif
42951
42952 int
42953 main ()
42954 {
42955  logl(0);
42956   ;
42957   return 0;
42958 }
42959 _ACEOF
42960 if ac_fn_cxx_try_compile "$LINENO"; then :
42961   glibcxx_cv_func_logl_use=yes
42962 else
42963   glibcxx_cv_func_logl_use=no
42964 fi
42965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42966       ac_ext=c
42967 ac_cpp='$CPP $CPPFLAGS'
42968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971
42972
42973 fi
42974
42975   fi
42976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42977 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42978
42979   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42980     for ac_func in logl
42981 do :
42982   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42983 if test "x$ac_cv_func_logl" = x""yes; then :
42984   cat >>confdefs.h <<_ACEOF
42985 #define HAVE_LOGL 1
42986 _ACEOF
42987
42988 fi
42989 done
42990
42991   else
42992
42993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42994 $as_echo_n "checking for _logl declaration... " >&6; }
42995   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42996     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42997   $as_echo_n "(cached) " >&6
42998 else
42999
43000
43001       ac_ext=cpp
43002 ac_cpp='$CXXCPP $CPPFLAGS'
43003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006
43007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43008 /* end confdefs.h.  */
43009 #include <math.h>
43010                       #ifdef HAVE_IEEEFP_H
43011                       #include <ieeefp.h>
43012                       #endif
43013
43014 int
43015 main ()
43016 {
43017  _logl(0);
43018   ;
43019   return 0;
43020 }
43021 _ACEOF
43022 if ac_fn_cxx_try_compile "$LINENO"; then :
43023   glibcxx_cv_func__logl_use=yes
43024 else
43025   glibcxx_cv_func__logl_use=no
43026 fi
43027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43028       ac_ext=c
43029 ac_cpp='$CPP $CPPFLAGS'
43030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43033
43034
43035 fi
43036
43037   fi
43038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43039 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43040
43041     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43042       for ac_func in _logl
43043 do :
43044   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43045 if test "x$ac_cv_func__logl" = x""yes; then :
43046   cat >>confdefs.h <<_ACEOF
43047 #define HAVE__LOGL 1
43048 _ACEOF
43049
43050 fi
43051 done
43052
43053     fi
43054   fi
43055
43056
43057
43058
43059
43060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43061 $as_echo_n "checking for log10l declaration... " >&6; }
43062   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43063     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43064   $as_echo_n "(cached) " >&6
43065 else
43066
43067
43068       ac_ext=cpp
43069 ac_cpp='$CXXCPP $CPPFLAGS'
43070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43073
43074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43075 /* end confdefs.h.  */
43076 #include <math.h>
43077                       #ifdef HAVE_IEEEFP_H
43078                       #include <ieeefp.h>
43079                       #endif
43080
43081 int
43082 main ()
43083 {
43084  log10l(0);
43085   ;
43086   return 0;
43087 }
43088 _ACEOF
43089 if ac_fn_cxx_try_compile "$LINENO"; then :
43090   glibcxx_cv_func_log10l_use=yes
43091 else
43092   glibcxx_cv_func_log10l_use=no
43093 fi
43094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43095       ac_ext=c
43096 ac_cpp='$CPP $CPPFLAGS'
43097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43100
43101
43102 fi
43103
43104   fi
43105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43106 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43107
43108   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43109     for ac_func in log10l
43110 do :
43111   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43112 if test "x$ac_cv_func_log10l" = x""yes; then :
43113   cat >>confdefs.h <<_ACEOF
43114 #define HAVE_LOG10L 1
43115 _ACEOF
43116
43117 fi
43118 done
43119
43120   else
43121
43122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43123 $as_echo_n "checking for _log10l declaration... " >&6; }
43124   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43125     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43126   $as_echo_n "(cached) " >&6
43127 else
43128
43129
43130       ac_ext=cpp
43131 ac_cpp='$CXXCPP $CPPFLAGS'
43132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135
43136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43137 /* end confdefs.h.  */
43138 #include <math.h>
43139                       #ifdef HAVE_IEEEFP_H
43140                       #include <ieeefp.h>
43141                       #endif
43142
43143 int
43144 main ()
43145 {
43146  _log10l(0);
43147   ;
43148   return 0;
43149 }
43150 _ACEOF
43151 if ac_fn_cxx_try_compile "$LINENO"; then :
43152   glibcxx_cv_func__log10l_use=yes
43153 else
43154   glibcxx_cv_func__log10l_use=no
43155 fi
43156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43157       ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162
43163
43164 fi
43165
43166   fi
43167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43168 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43169
43170     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43171       for ac_func in _log10l
43172 do :
43173   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43174 if test "x$ac_cv_func__log10l" = x""yes; then :
43175   cat >>confdefs.h <<_ACEOF
43176 #define HAVE__LOG10L 1
43177 _ACEOF
43178
43179 fi
43180 done
43181
43182     fi
43183   fi
43184
43185
43186
43187
43188
43189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43190 $as_echo_n "checking for modfl declaration... " >&6; }
43191   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43192     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43193   $as_echo_n "(cached) " >&6
43194 else
43195
43196
43197       ac_ext=cpp
43198 ac_cpp='$CXXCPP $CPPFLAGS'
43199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43202
43203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43204 /* end confdefs.h.  */
43205 #include <math.h>
43206 int
43207 main ()
43208 {
43209  modfl(0, 0);
43210   ;
43211   return 0;
43212 }
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215   glibcxx_cv_func_modfl_use=yes
43216 else
43217   glibcxx_cv_func_modfl_use=no
43218 fi
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220       ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225
43226
43227 fi
43228
43229   fi
43230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43231 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43232
43233   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43234     for ac_func in modfl
43235 do :
43236   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43237 if test "x$ac_cv_func_modfl" = x""yes; then :
43238   cat >>confdefs.h <<_ACEOF
43239 #define HAVE_MODFL 1
43240 _ACEOF
43241
43242 fi
43243 done
43244
43245   else
43246
43247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43248 $as_echo_n "checking for _modfl declaration... " >&6; }
43249   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43250     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43251   $as_echo_n "(cached) " >&6
43252 else
43253
43254
43255       ac_ext=cpp
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43260
43261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43262 /* end confdefs.h.  */
43263 #include <math.h>
43264 int
43265 main ()
43266 {
43267  _modfl(0, 0);
43268   ;
43269   return 0;
43270 }
43271 _ACEOF
43272 if ac_fn_cxx_try_compile "$LINENO"; then :
43273   glibcxx_cv_func__modfl_use=yes
43274 else
43275   glibcxx_cv_func__modfl_use=no
43276 fi
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278       ac_ext=c
43279 ac_cpp='$CPP $CPPFLAGS'
43280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283
43284
43285 fi
43286
43287   fi
43288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43289 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43290
43291     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43292       for ac_func in _modfl
43293 do :
43294   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43295 if test "x$ac_cv_func__modfl" = x""yes; then :
43296   cat >>confdefs.h <<_ACEOF
43297 #define HAVE__MODFL 1
43298 _ACEOF
43299
43300 fi
43301 done
43302
43303     fi
43304   fi
43305
43306
43307
43308
43309
43310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43311 $as_echo_n "checking for powl declaration... " >&6; }
43312   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43313     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43314   $as_echo_n "(cached) " >&6
43315 else
43316
43317
43318       ac_ext=cpp
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43323
43324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h.  */
43326 #include <math.h>
43327 int
43328 main ()
43329 {
43330  powl(0, 0);
43331   ;
43332   return 0;
43333 }
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336   glibcxx_cv_func_powl_use=yes
43337 else
43338   glibcxx_cv_func_powl_use=no
43339 fi
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341       ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43346
43347
43348 fi
43349
43350   fi
43351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43352 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43353
43354   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43355     for ac_func in powl
43356 do :
43357   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43358 if test "x$ac_cv_func_powl" = x""yes; then :
43359   cat >>confdefs.h <<_ACEOF
43360 #define HAVE_POWL 1
43361 _ACEOF
43362
43363 fi
43364 done
43365
43366   else
43367
43368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43369 $as_echo_n "checking for _powl declaration... " >&6; }
43370   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43371     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43372   $as_echo_n "(cached) " >&6
43373 else
43374
43375
43376       ac_ext=cpp
43377 ac_cpp='$CXXCPP $CPPFLAGS'
43378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43381
43382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43383 /* end confdefs.h.  */
43384 #include <math.h>
43385 int
43386 main ()
43387 {
43388  _powl(0, 0);
43389   ;
43390   return 0;
43391 }
43392 _ACEOF
43393 if ac_fn_cxx_try_compile "$LINENO"; then :
43394   glibcxx_cv_func__powl_use=yes
43395 else
43396   glibcxx_cv_func__powl_use=no
43397 fi
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43399       ac_ext=c
43400 ac_cpp='$CPP $CPPFLAGS'
43401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404
43405
43406 fi
43407
43408   fi
43409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43410 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43411
43412     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43413       for ac_func in _powl
43414 do :
43415   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43416 if test "x$ac_cv_func__powl" = x""yes; then :
43417   cat >>confdefs.h <<_ACEOF
43418 #define HAVE__POWL 1
43419 _ACEOF
43420
43421 fi
43422 done
43423
43424     fi
43425   fi
43426
43427
43428
43429
43430
43431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43432 $as_echo_n "checking for sqrtl declaration... " >&6; }
43433   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43434     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43435   $as_echo_n "(cached) " >&6
43436 else
43437
43438
43439       ac_ext=cpp
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43444
43445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h.  */
43447 #include <math.h>
43448                       #ifdef HAVE_IEEEFP_H
43449                       #include <ieeefp.h>
43450                       #endif
43451
43452 int
43453 main ()
43454 {
43455  sqrtl(0);
43456   ;
43457   return 0;
43458 }
43459 _ACEOF
43460 if ac_fn_cxx_try_compile "$LINENO"; then :
43461   glibcxx_cv_func_sqrtl_use=yes
43462 else
43463   glibcxx_cv_func_sqrtl_use=no
43464 fi
43465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43466       ac_ext=c
43467 ac_cpp='$CPP $CPPFLAGS'
43468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43471
43472
43473 fi
43474
43475   fi
43476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43477 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43478
43479   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43480     for ac_func in sqrtl
43481 do :
43482   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43483 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43484   cat >>confdefs.h <<_ACEOF
43485 #define HAVE_SQRTL 1
43486 _ACEOF
43487
43488 fi
43489 done
43490
43491   else
43492
43493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43494 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43495   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43496     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43497   $as_echo_n "(cached) " >&6
43498 else
43499
43500
43501       ac_ext=cpp
43502 ac_cpp='$CXXCPP $CPPFLAGS'
43503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43506
43507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43508 /* end confdefs.h.  */
43509 #include <math.h>
43510                       #ifdef HAVE_IEEEFP_H
43511                       #include <ieeefp.h>
43512                       #endif
43513
43514 int
43515 main ()
43516 {
43517  _sqrtl(0);
43518   ;
43519   return 0;
43520 }
43521 _ACEOF
43522 if ac_fn_cxx_try_compile "$LINENO"; then :
43523   glibcxx_cv_func__sqrtl_use=yes
43524 else
43525   glibcxx_cv_func__sqrtl_use=no
43526 fi
43527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43528       ac_ext=c
43529 ac_cpp='$CPP $CPPFLAGS'
43530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43533
43534
43535 fi
43536
43537   fi
43538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43539 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43540
43541     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43542       for ac_func in _sqrtl
43543 do :
43544   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43545 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43546   cat >>confdefs.h <<_ACEOF
43547 #define HAVE__SQRTL 1
43548 _ACEOF
43549
43550 fi
43551 done
43552
43553     fi
43554   fi
43555
43556
43557
43558
43559
43560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43561 $as_echo_n "checking for sincosl declaration... " >&6; }
43562   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43563     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43564   $as_echo_n "(cached) " >&6
43565 else
43566
43567
43568       ac_ext=cpp
43569 ac_cpp='$CXXCPP $CPPFLAGS'
43570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43573
43574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43575 /* end confdefs.h.  */
43576 #include <math.h>
43577 int
43578 main ()
43579 {
43580  sincosl(0, 0, 0);
43581   ;
43582   return 0;
43583 }
43584 _ACEOF
43585 if ac_fn_cxx_try_compile "$LINENO"; then :
43586   glibcxx_cv_func_sincosl_use=yes
43587 else
43588   glibcxx_cv_func_sincosl_use=no
43589 fi
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43591       ac_ext=c
43592 ac_cpp='$CPP $CPPFLAGS'
43593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43596
43597
43598 fi
43599
43600   fi
43601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43602 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43603
43604   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43605     for ac_func in sincosl
43606 do :
43607   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43608 if test "x$ac_cv_func_sincosl" = x""yes; then :
43609   cat >>confdefs.h <<_ACEOF
43610 #define HAVE_SINCOSL 1
43611 _ACEOF
43612
43613 fi
43614 done
43615
43616   else
43617
43618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43619 $as_echo_n "checking for _sincosl declaration... " >&6; }
43620   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43621     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43622   $as_echo_n "(cached) " >&6
43623 else
43624
43625
43626       ac_ext=cpp
43627 ac_cpp='$CXXCPP $CPPFLAGS'
43628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43631
43632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43633 /* end confdefs.h.  */
43634 #include <math.h>
43635 int
43636 main ()
43637 {
43638  _sincosl(0, 0, 0);
43639   ;
43640   return 0;
43641 }
43642 _ACEOF
43643 if ac_fn_cxx_try_compile "$LINENO"; then :
43644   glibcxx_cv_func__sincosl_use=yes
43645 else
43646   glibcxx_cv_func__sincosl_use=no
43647 fi
43648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43649       ac_ext=c
43650 ac_cpp='$CPP $CPPFLAGS'
43651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43654
43655
43656 fi
43657
43658   fi
43659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43660 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43661
43662     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43663       for ac_func in _sincosl
43664 do :
43665   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43666 if test "x$ac_cv_func__sincosl" = x""yes; then :
43667   cat >>confdefs.h <<_ACEOF
43668 #define HAVE__SINCOSL 1
43669 _ACEOF
43670
43671 fi
43672 done
43673
43674     fi
43675   fi
43676
43677
43678
43679
43680
43681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43682 $as_echo_n "checking for finitel declaration... " >&6; }
43683   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43684     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43685   $as_echo_n "(cached) " >&6
43686 else
43687
43688
43689       ac_ext=cpp
43690 ac_cpp='$CXXCPP $CPPFLAGS'
43691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43694
43695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43696 /* end confdefs.h.  */
43697 #include <math.h>
43698                       #ifdef HAVE_IEEEFP_H
43699                       #include <ieeefp.h>
43700                       #endif
43701
43702 int
43703 main ()
43704 {
43705  finitel(0);
43706   ;
43707   return 0;
43708 }
43709 _ACEOF
43710 if ac_fn_cxx_try_compile "$LINENO"; then :
43711   glibcxx_cv_func_finitel_use=yes
43712 else
43713   glibcxx_cv_func_finitel_use=no
43714 fi
43715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43716       ac_ext=c
43717 ac_cpp='$CPP $CPPFLAGS'
43718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43721
43722
43723 fi
43724
43725   fi
43726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43727 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43728
43729   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43730     for ac_func in finitel
43731 do :
43732   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43733 if test "x$ac_cv_func_finitel" = x""yes; then :
43734   cat >>confdefs.h <<_ACEOF
43735 #define HAVE_FINITEL 1
43736 _ACEOF
43737
43738 fi
43739 done
43740
43741   else
43742
43743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43744 $as_echo_n "checking for _finitel declaration... " >&6; }
43745   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43746     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43747   $as_echo_n "(cached) " >&6
43748 else
43749
43750
43751       ac_ext=cpp
43752 ac_cpp='$CXXCPP $CPPFLAGS'
43753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43756
43757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43758 /* end confdefs.h.  */
43759 #include <math.h>
43760                       #ifdef HAVE_IEEEFP_H
43761                       #include <ieeefp.h>
43762                       #endif
43763
43764 int
43765 main ()
43766 {
43767  _finitel(0);
43768   ;
43769   return 0;
43770 }
43771 _ACEOF
43772 if ac_fn_cxx_try_compile "$LINENO"; then :
43773   glibcxx_cv_func__finitel_use=yes
43774 else
43775   glibcxx_cv_func__finitel_use=no
43776 fi
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43778       ac_ext=c
43779 ac_cpp='$CPP $CPPFLAGS'
43780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43783
43784
43785 fi
43786
43787   fi
43788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43789 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43790
43791     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43792       for ac_func in _finitel
43793 do :
43794   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43795 if test "x$ac_cv_func__finitel" = x""yes; then :
43796   cat >>confdefs.h <<_ACEOF
43797 #define HAVE__FINITEL 1
43798 _ACEOF
43799
43800 fi
43801 done
43802
43803     fi
43804   fi
43805
43806
43807
43808
43809   LIBS="$ac_save_LIBS"
43810   CXXFLAGS="$ac_save_CXXFLAGS"
43811
43812
43813   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43814   ac_save_CXXFLAGS="$CXXFLAGS"
43815   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43816
43817
43818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43819 $as_echo_n "checking for strtold declaration... " >&6; }
43820   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43821     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43822   $as_echo_n "(cached) " >&6
43823 else
43824
43825
43826       ac_ext=cpp
43827 ac_cpp='$CXXCPP $CPPFLAGS'
43828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43831
43832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43833 /* end confdefs.h.  */
43834 #include <stdlib.h>
43835 int
43836 main ()
43837 {
43838  strtold(0, 0);
43839   ;
43840   return 0;
43841 }
43842 _ACEOF
43843 if ac_fn_cxx_try_compile "$LINENO"; then :
43844   glibcxx_cv_func_strtold_use=yes
43845 else
43846   glibcxx_cv_func_strtold_use=no
43847 fi
43848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43849       ac_ext=c
43850 ac_cpp='$CPP $CPPFLAGS'
43851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854
43855
43856 fi
43857
43858   fi
43859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43860 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43861   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43862     for ac_func in strtold
43863 do :
43864   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43865 if test "x$ac_cv_func_strtold" = x""yes; then :
43866   cat >>confdefs.h <<_ACEOF
43867 #define HAVE_STRTOLD 1
43868 _ACEOF
43869
43870 fi
43871 done
43872
43873   fi
43874
43875
43876
43877
43878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43879 $as_echo_n "checking for strtof declaration... " >&6; }
43880   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43881     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43882   $as_echo_n "(cached) " >&6
43883 else
43884
43885
43886       ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43891
43892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h.  */
43894 #include <stdlib.h>
43895 int
43896 main ()
43897 {
43898  strtof(0, 0);
43899   ;
43900   return 0;
43901 }
43902 _ACEOF
43903 if ac_fn_cxx_try_compile "$LINENO"; then :
43904   glibcxx_cv_func_strtof_use=yes
43905 else
43906   glibcxx_cv_func_strtof_use=no
43907 fi
43908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43909       ac_ext=c
43910 ac_cpp='$CPP $CPPFLAGS'
43911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43914
43915
43916 fi
43917
43918   fi
43919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43920 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43921   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43922     for ac_func in strtof
43923 do :
43924   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43925 if test "x$ac_cv_func_strtof" = x""yes; then :
43926   cat >>confdefs.h <<_ACEOF
43927 #define HAVE_STRTOF 1
43928 _ACEOF
43929
43930 fi
43931 done
43932
43933   fi
43934
43935
43936
43937
43938   CXXFLAGS="$ac_save_CXXFLAGS"
43939
43940     ;;
43941
43942   *djgpp)
43943     # GLIBCXX_CHECK_MATH_SUPPORT
43944     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43945
43946     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43947
43948     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43949
43950     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43951
43952     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43953
43954     ;;
43955
43956   *-freebsd*)
43957     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43958
43959
43960   # If we're not using GNU ld, then there's no point in even trying these
43961   # tests.  Check for that first.  We should have already tested for gld
43962   # by now (in libtool), but require it now just to be safe...
43963   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43964   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43965
43966
43967
43968   # The name set by libtool depends on the version of libtool.  Shame on us
43969   # for depending on an impl detail, but c'est la vie.  Older versions used
43970   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43971   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43972   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43973   # set (hence we're using an older libtool), then set it.
43974   if test x${with_gnu_ld+set} != xset; then
43975     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43976       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43977       with_gnu_ld=no
43978     else
43979       with_gnu_ld=$ac_cv_prog_gnu_ld
43980     fi
43981   fi
43982
43983   # Start by getting the version number.  I think the libtool test already
43984   # does some of this, but throws away the result.
43985   glibcxx_ld_is_gold=no
43986   if test x"$with_gnu_ld" = x"yes"; then
43987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43988 $as_echo_n "checking for ld version... " >&6; }
43989
43990     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43991       glibcxx_ld_is_gold=yes
43992     fi
43993     ldver=`$LD --version 2>/dev/null |
43994            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'`
43995
43996     glibcxx_gnu_ld_version=`echo $ldver | \
43997            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43999 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44000   fi
44001
44002   # Set --gc-sections.
44003   glibcxx_have_gc_sections=no
44004   if test "$glibcxx_ld_is_gold" = "yes"; then
44005     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44006       glibcxx_have_gc_sections=yes
44007     fi
44008   else
44009     glibcxx_gcsections_min_ld=21602
44010     if test x"$with_gnu_ld" = x"yes" &&
44011         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44012       glibcxx_have_gc_sections=yes
44013     fi
44014   fi
44015   if test "$glibcxx_have_gc_sections" = "yes"; then
44016     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44017     # NB: This flag only works reliably after 2.16.1. Configure tests
44018     # for this are difficult, so hard wire a value that should work.
44019
44020     ac_test_CFLAGS="${CFLAGS+set}"
44021     ac_save_CFLAGS="$CFLAGS"
44022     CFLAGS='-Wl,--gc-sections'
44023
44024     # Check for -Wl,--gc-sections
44025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44026 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44027     if test x$gcc_no_link = xyes; then
44028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44029 fi
44030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44031 /* end confdefs.h.  */
44032  int one(void) { return 1; }
44033      int two(void) { return 2; }
44034
44035 int
44036 main ()
44037 {
44038  two();
44039   ;
44040   return 0;
44041 }
44042 _ACEOF
44043 if ac_fn_c_try_link "$LINENO"; then :
44044   ac_gcsections=yes
44045 else
44046   ac_gcsections=no
44047 fi
44048 rm -f core conftest.err conftest.$ac_objext \
44049     conftest$ac_exeext conftest.$ac_ext
44050     if test "$ac_gcsections" = "yes"; then
44051       rm -f conftest.c
44052       touch conftest.c
44053       if $CC -c conftest.c; then
44054         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44055            grep "Warning: gc-sections option ignored" > /dev/null; then
44056           ac_gcsections=no
44057         fi
44058       fi
44059       rm -f conftest.c conftest.o conftest
44060     fi
44061     if test "$ac_gcsections" = "yes"; then
44062       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44063     fi
44064     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44065 $as_echo "$ac_gcsections" >&6; }
44066
44067     if test "$ac_test_CFLAGS" = set; then
44068       CFLAGS="$ac_save_CFLAGS"
44069     else
44070       # this is the suspicious part
44071       CFLAGS=''
44072     fi
44073   fi
44074
44075   # Set -z,relro.
44076   # Note this is only for shared objects.
44077   ac_ld_relro=no
44078   if test x"$with_gnu_ld" = x"yes"; then
44079     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44080 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44081     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44082     if test -n "$cxx_z_relo"; then
44083       OPT_LDFLAGS="-Wl,-z,relro"
44084       ac_ld_relro=yes
44085     fi
44086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44087 $as_echo "$ac_ld_relro" >&6; }
44088   fi
44089
44090   # Set linker optimization flags.
44091   if test x"$with_gnu_ld" = x"yes"; then
44092     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44093   fi
44094
44095
44096
44097
44098     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44099
44100     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44101
44102     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44103
44104     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44105
44106     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44107
44108     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44109
44110     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44111
44112     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44113
44114     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44115
44116
44117     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44118
44119     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44120
44121     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44122
44123     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44124
44125     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44126
44127     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44128
44129     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44130
44131     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44132
44133     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44134
44135     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44136
44137     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44138
44139     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44140
44141     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44142
44143     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44144
44145     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44146
44147     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44148
44149     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44150
44151     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44152
44153     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44154
44155     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44156
44157     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44158
44159     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44160
44161     if test x"long_double_math_on_this_cpu" = x"yes"; then
44162       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44163
44164       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44165
44166       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44167
44168     fi
44169     ;;
44170   *-hpux*)
44171     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44172
44173
44174   # If we're not using GNU ld, then there's no point in even trying these
44175   # tests.  Check for that first.  We should have already tested for gld
44176   # by now (in libtool), but require it now just to be safe...
44177   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44178   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44179
44180
44181
44182   # The name set by libtool depends on the version of libtool.  Shame on us
44183   # for depending on an impl detail, but c'est la vie.  Older versions used
44184   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44185   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44186   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44187   # set (hence we're using an older libtool), then set it.
44188   if test x${with_gnu_ld+set} != xset; then
44189     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44190       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44191       with_gnu_ld=no
44192     else
44193       with_gnu_ld=$ac_cv_prog_gnu_ld
44194     fi
44195   fi
44196
44197   # Start by getting the version number.  I think the libtool test already
44198   # does some of this, but throws away the result.
44199   glibcxx_ld_is_gold=no
44200   if test x"$with_gnu_ld" = x"yes"; then
44201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44202 $as_echo_n "checking for ld version... " >&6; }
44203
44204     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44205       glibcxx_ld_is_gold=yes
44206     fi
44207     ldver=`$LD --version 2>/dev/null |
44208            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'`
44209
44210     glibcxx_gnu_ld_version=`echo $ldver | \
44211            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44213 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44214   fi
44215
44216   # Set --gc-sections.
44217   glibcxx_have_gc_sections=no
44218   if test "$glibcxx_ld_is_gold" = "yes"; then
44219     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44220       glibcxx_have_gc_sections=yes
44221     fi
44222   else
44223     glibcxx_gcsections_min_ld=21602
44224     if test x"$with_gnu_ld" = x"yes" &&
44225         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44226       glibcxx_have_gc_sections=yes
44227     fi
44228   fi
44229   if test "$glibcxx_have_gc_sections" = "yes"; then
44230     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44231     # NB: This flag only works reliably after 2.16.1. Configure tests
44232     # for this are difficult, so hard wire a value that should work.
44233
44234     ac_test_CFLAGS="${CFLAGS+set}"
44235     ac_save_CFLAGS="$CFLAGS"
44236     CFLAGS='-Wl,--gc-sections'
44237
44238     # Check for -Wl,--gc-sections
44239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44240 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44241     if test x$gcc_no_link = xyes; then
44242   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44243 fi
44244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44245 /* end confdefs.h.  */
44246  int one(void) { return 1; }
44247      int two(void) { return 2; }
44248
44249 int
44250 main ()
44251 {
44252  two();
44253   ;
44254   return 0;
44255 }
44256 _ACEOF
44257 if ac_fn_c_try_link "$LINENO"; then :
44258   ac_gcsections=yes
44259 else
44260   ac_gcsections=no
44261 fi
44262 rm -f core conftest.err conftest.$ac_objext \
44263     conftest$ac_exeext conftest.$ac_ext
44264     if test "$ac_gcsections" = "yes"; then
44265       rm -f conftest.c
44266       touch conftest.c
44267       if $CC -c conftest.c; then
44268         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44269            grep "Warning: gc-sections option ignored" > /dev/null; then
44270           ac_gcsections=no
44271         fi
44272       fi
44273       rm -f conftest.c conftest.o conftest
44274     fi
44275     if test "$ac_gcsections" = "yes"; then
44276       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44277     fi
44278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44279 $as_echo "$ac_gcsections" >&6; }
44280
44281     if test "$ac_test_CFLAGS" = set; then
44282       CFLAGS="$ac_save_CFLAGS"
44283     else
44284       # this is the suspicious part
44285       CFLAGS=''
44286     fi
44287   fi
44288
44289   # Set -z,relro.
44290   # Note this is only for shared objects.
44291   ac_ld_relro=no
44292   if test x"$with_gnu_ld" = x"yes"; then
44293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44294 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44295     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44296     if test -n "$cxx_z_relo"; then
44297       OPT_LDFLAGS="-Wl,-z,relro"
44298       ac_ld_relro=yes
44299     fi
44300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44301 $as_echo "$ac_ld_relro" >&6; }
44302   fi
44303
44304   # Set linker optimization flags.
44305   if test x"$with_gnu_ld" = x"yes"; then
44306     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44307   fi
44308
44309
44310
44311
44312
44313     # GLIBCXX_CHECK_MATH_SUPPORT
44314     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44315
44316     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44317
44318     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44319
44320     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44321
44322     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44323
44324     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44325
44326     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44327
44328     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44329
44330     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44331
44332     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44333
44334     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44335
44336     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44337
44338     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44339
44340     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44341
44342     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44343
44344     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44345
44346     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44347
44348     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44349
44350     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44351
44352     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44353
44354     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44355
44356
44357     # GLIBCXX_CHECK_STDLIB_SUPPORT
44358     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44359
44360
44361
44362
44363    # Check whether --enable-tls was given.
44364 if test "${enable_tls+set}" = set; then :
44365   enableval=$enable_tls;
44366       case "$enableval" in
44367        yes|no) ;;
44368        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44369       esac
44370
44371 else
44372   enable_tls=yes
44373 fi
44374
44375
44376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44377 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44378 if test "${gcc_cv_have_tls+set}" = set; then :
44379   $as_echo_n "(cached) " >&6
44380 else
44381
44382     if test "$cross_compiling" = yes; then :
44383                 if test x$gcc_no_link = xyes; then
44384   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44385 fi
44386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44387 /* end confdefs.h.  */
44388 __thread int a; int b; int main() { return a = b; }
44389 _ACEOF
44390 if ac_fn_c_try_link "$LINENO"; then :
44391   chktls_save_LDFLAGS="$LDFLAGS"
44392                           case $host in
44393             *-*-linux*)
44394               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44395               ;;
44396           esac
44397           chktls_save_CFLAGS="$CFLAGS"
44398           CFLAGS="-fPIC $CFLAGS"
44399                   if test x$gcc_no_link = xyes; then
44400   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44401 fi
44402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44403 /* end confdefs.h.  */
44404 int f() { return 0; }
44405 _ACEOF
44406 if ac_fn_c_try_link "$LINENO"; then :
44407   if test x$gcc_no_link = xyes; then
44408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44409 fi
44410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44411 /* end confdefs.h.  */
44412 __thread int a; int b; int f() { return a = b; }
44413 _ACEOF
44414 if ac_fn_c_try_link "$LINENO"; then :
44415   gcc_cv_have_tls=yes
44416 else
44417   gcc_cv_have_tls=no
44418 fi
44419 rm -f core conftest.err conftest.$ac_objext \
44420     conftest$ac_exeext conftest.$ac_ext
44421 else
44422   gcc_cv_have_tls=yes
44423 fi
44424 rm -f core conftest.err conftest.$ac_objext \
44425     conftest$ac_exeext conftest.$ac_ext
44426           CFLAGS="$chktls_save_CFLAGS"
44427           LDFLAGS="$chktls_save_LDFLAGS"
44428 else
44429   gcc_cv_have_tls=no
44430 fi
44431 rm -f core conftest.err conftest.$ac_objext \
44432     conftest$ac_exeext conftest.$ac_ext
44433
44434
44435 else
44436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h.  */
44438 __thread int a; int b; int main() { return a = b; }
44439 _ACEOF
44440 if ac_fn_c_try_run "$LINENO"; then :
44441                       chktls_save_LDFLAGS="$LDFLAGS"
44442       LDFLAGS="-static $LDFLAGS"
44443       if test x$gcc_no_link = xyes; then
44444   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44445 fi
44446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h.  */
44448 int main() { return 0; }
44449 _ACEOF
44450 if ac_fn_c_try_link "$LINENO"; then :
44451   if test "$cross_compiling" = yes; then :
44452   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44454 as_fn_error "cannot run test program while cross compiling
44455 See \`config.log' for more details." "$LINENO" 5; }
44456 else
44457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44458 /* end confdefs.h.  */
44459 __thread int a; int b; int main() { return a = b; }
44460 _ACEOF
44461 if ac_fn_c_try_run "$LINENO"; then :
44462   gcc_cv_have_tls=yes
44463 else
44464   gcc_cv_have_tls=no
44465 fi
44466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44467   conftest.$ac_objext conftest.beam conftest.$ac_ext
44468 fi
44469
44470 else
44471   gcc_cv_have_tls=yes
44472 fi
44473 rm -f core conftest.err conftest.$ac_objext \
44474     conftest$ac_exeext conftest.$ac_ext
44475       LDFLAGS="$chktls_save_LDFLAGS"
44476       if test $gcc_cv_have_tls = yes; then
44477                                                 chktls_save_CFLAGS="$CFLAGS"
44478         thread_CFLAGS=failed
44479         for flag in '' '-pthread' '-lpthread'; do
44480           CFLAGS="$flag $chktls_save_CFLAGS"
44481           if test x$gcc_no_link = xyes; then
44482   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44483 fi
44484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h.  */
44486 #include <pthread.h>
44487                 void *g(void *d) { return NULL; }
44488 int
44489 main ()
44490 {
44491 pthread_t t; pthread_create(&t,NULL,g,NULL);
44492   ;
44493   return 0;
44494 }
44495 _ACEOF
44496 if ac_fn_c_try_link "$LINENO"; then :
44497   thread_CFLAGS="$flag"
44498 fi
44499 rm -f core conftest.err conftest.$ac_objext \
44500     conftest$ac_exeext conftest.$ac_ext
44501           if test "X$thread_CFLAGS" != Xfailed; then
44502             break
44503           fi
44504         done
44505         CFLAGS="$chktls_save_CFLAGS"
44506         if test "X$thread_CFLAGS" != Xfailed; then
44507           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44508                                                   if test "$cross_compiling" = yes; then :
44509   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44511 as_fn_error "cannot run test program while cross compiling
44512 See \`config.log' for more details." "$LINENO" 5; }
44513 else
44514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44515 /* end confdefs.h.  */
44516 #include <pthread.h>
44517                 __thread int a;
44518                 static int *volatile a_in_other_thread;
44519                 static void *
44520                 thread_func (void *arg)
44521                 {
44522                   a_in_other_thread = &a;
44523                   return (void *)0;
44524                 }
44525 int
44526 main ()
44527 {
44528 pthread_t thread;
44529                 void *thread_retval;
44530                 int *volatile a_in_main_thread;
44531                 a_in_main_thread = &a;
44532                 if (pthread_create (&thread, (pthread_attr_t *)0,
44533                                     thread_func, (void *)0))
44534                   return 0;
44535                 if (pthread_join (thread, &thread_retval))
44536                   return 0;
44537                 return (a_in_other_thread == a_in_main_thread);
44538   ;
44539   return 0;
44540 }
44541 _ACEOF
44542 if ac_fn_c_try_run "$LINENO"; then :
44543   gcc_cv_have_tls=yes
44544 else
44545   gcc_cv_have_tls=no
44546 fi
44547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44548   conftest.$ac_objext conftest.beam conftest.$ac_ext
44549 fi
44550
44551           CFLAGS="$chktls_save_CFLAGS"
44552         fi
44553       fi
44554 else
44555   gcc_cv_have_tls=no
44556 fi
44557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44558   conftest.$ac_objext conftest.beam conftest.$ac_ext
44559 fi
44560
44561 fi
44562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44563 $as_echo "$gcc_cv_have_tls" >&6; }
44564   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44565
44566 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44567
44568   fi
44569     case "$target" in
44570       *-hpux10*)
44571         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44572
44573         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44574
44575         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44576
44577         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44578
44579         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44580
44581         ;;
44582     esac
44583     ;;
44584   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44585
44586   # All these tests are for C++; save the language and the compiler flags.
44587   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44588   # found in GLIBCXX_CONFIGURE.
44589
44590   ac_ext=cpp
44591 ac_cpp='$CXXCPP $CPPFLAGS'
44592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44595
44596   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44597   ac_save_CXXFLAGS="$CXXFLAGS"
44598
44599   # Check for maintainer-mode bits.
44600   if test x"$USE_MAINTAINER_MODE" = xno; then
44601     WERROR=''
44602   else
44603     WERROR='-Werror'
44604   fi
44605
44606   # Check for -ffunction-sections -fdata-sections
44607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44608 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44609   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h.  */
44612 int foo; void bar() { };
44613 int
44614 main ()
44615 {
44616
44617   ;
44618   return 0;
44619 }
44620 _ACEOF
44621 if ac_fn_cxx_try_compile "$LINENO"; then :
44622   ac_fdsections=yes
44623 else
44624   ac_fdsections=no
44625 fi
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627   if test "$ac_test_CXXFLAGS" = set; then
44628     CXXFLAGS="$ac_save_CXXFLAGS"
44629   else
44630     # this is the suspicious part
44631     CXXFLAGS=''
44632   fi
44633   if test x"$ac_fdsections" = x"yes"; then
44634     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44635   fi
44636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44637 $as_echo "$ac_fdsections" >&6; }
44638
44639   ac_ext=c
44640 ac_cpp='$CPP $CPPFLAGS'
44641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44644
44645
44646
44647
44648
44649   # If we're not using GNU ld, then there's no point in even trying these
44650   # tests.  Check for that first.  We should have already tested for gld
44651   # by now (in libtool), but require it now just to be safe...
44652   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44653   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44654
44655
44656
44657   # The name set by libtool depends on the version of libtool.  Shame on us
44658   # for depending on an impl detail, but c'est la vie.  Older versions used
44659   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44660   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44661   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44662   # set (hence we're using an older libtool), then set it.
44663   if test x${with_gnu_ld+set} != xset; then
44664     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44665       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44666       with_gnu_ld=no
44667     else
44668       with_gnu_ld=$ac_cv_prog_gnu_ld
44669     fi
44670   fi
44671
44672   # Start by getting the version number.  I think the libtool test already
44673   # does some of this, but throws away the result.
44674   glibcxx_ld_is_gold=no
44675   if test x"$with_gnu_ld" = x"yes"; then
44676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44677 $as_echo_n "checking for ld version... " >&6; }
44678
44679     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44680       glibcxx_ld_is_gold=yes
44681     fi
44682     ldver=`$LD --version 2>/dev/null |
44683            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'`
44684
44685     glibcxx_gnu_ld_version=`echo $ldver | \
44686            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44688 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44689   fi
44690
44691   # Set --gc-sections.
44692   glibcxx_have_gc_sections=no
44693   if test "$glibcxx_ld_is_gold" = "yes"; then
44694     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44695       glibcxx_have_gc_sections=yes
44696     fi
44697   else
44698     glibcxx_gcsections_min_ld=21602
44699     if test x"$with_gnu_ld" = x"yes" &&
44700         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44701       glibcxx_have_gc_sections=yes
44702     fi
44703   fi
44704   if test "$glibcxx_have_gc_sections" = "yes"; then
44705     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44706     # NB: This flag only works reliably after 2.16.1. Configure tests
44707     # for this are difficult, so hard wire a value that should work.
44708
44709     ac_test_CFLAGS="${CFLAGS+set}"
44710     ac_save_CFLAGS="$CFLAGS"
44711     CFLAGS='-Wl,--gc-sections'
44712
44713     # Check for -Wl,--gc-sections
44714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44715 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44716     if test x$gcc_no_link = xyes; then
44717   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44718 fi
44719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44720 /* end confdefs.h.  */
44721  int one(void) { return 1; }
44722      int two(void) { return 2; }
44723
44724 int
44725 main ()
44726 {
44727  two();
44728   ;
44729   return 0;
44730 }
44731 _ACEOF
44732 if ac_fn_c_try_link "$LINENO"; then :
44733   ac_gcsections=yes
44734 else
44735   ac_gcsections=no
44736 fi
44737 rm -f core conftest.err conftest.$ac_objext \
44738     conftest$ac_exeext conftest.$ac_ext
44739     if test "$ac_gcsections" = "yes"; then
44740       rm -f conftest.c
44741       touch conftest.c
44742       if $CC -c conftest.c; then
44743         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44744            grep "Warning: gc-sections option ignored" > /dev/null; then
44745           ac_gcsections=no
44746         fi
44747       fi
44748       rm -f conftest.c conftest.o conftest
44749     fi
44750     if test "$ac_gcsections" = "yes"; then
44751       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44752     fi
44753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44754 $as_echo "$ac_gcsections" >&6; }
44755
44756     if test "$ac_test_CFLAGS" = set; then
44757       CFLAGS="$ac_save_CFLAGS"
44758     else
44759       # this is the suspicious part
44760       CFLAGS=''
44761     fi
44762   fi
44763
44764   # Set -z,relro.
44765   # Note this is only for shared objects.
44766   ac_ld_relro=no
44767   if test x"$with_gnu_ld" = x"yes"; then
44768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44769 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44770     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44771     if test -n "$cxx_z_relo"; then
44772       OPT_LDFLAGS="-Wl,-z,relro"
44773       ac_ld_relro=yes
44774     fi
44775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44776 $as_echo "$ac_ld_relro" >&6; }
44777   fi
44778
44779   # Set linker optimization flags.
44780   if test x"$with_gnu_ld" = x"yes"; then
44781     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44782   fi
44783
44784
44785
44786
44787
44788   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44789   ac_save_CXXFLAGS="$CXXFLAGS"
44790   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44791
44792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44793 $as_echo_n "checking for sin in -lm... " >&6; }
44794 if test "${ac_cv_lib_m_sin+set}" = set; then :
44795   $as_echo_n "(cached) " >&6
44796 else
44797   ac_check_lib_save_LIBS=$LIBS
44798 LIBS="-lm  $LIBS"
44799 if test x$gcc_no_link = xyes; then
44800   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44801 fi
44802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44803 /* end confdefs.h.  */
44804
44805 /* Override any GCC internal prototype to avoid an error.
44806    Use char because int might match the return type of a GCC
44807    builtin and then its argument prototype would still apply.  */
44808 #ifdef __cplusplus
44809 extern "C"
44810 #endif
44811 char sin ();
44812 int
44813 main ()
44814 {
44815 return sin ();
44816   ;
44817   return 0;
44818 }
44819 _ACEOF
44820 if ac_fn_c_try_link "$LINENO"; then :
44821   ac_cv_lib_m_sin=yes
44822 else
44823   ac_cv_lib_m_sin=no
44824 fi
44825 rm -f core conftest.err conftest.$ac_objext \
44826     conftest$ac_exeext conftest.$ac_ext
44827 LIBS=$ac_check_lib_save_LIBS
44828 fi
44829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44830 $as_echo "$ac_cv_lib_m_sin" >&6; }
44831 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44832   libm="-lm"
44833 fi
44834
44835   ac_save_LIBS="$LIBS"
44836   LIBS="$LIBS $libm"
44837
44838
44839
44840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44841 $as_echo_n "checking for isinf declaration... " >&6; }
44842   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44843     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44844   $as_echo_n "(cached) " >&6
44845 else
44846
44847
44848       ac_ext=cpp
44849 ac_cpp='$CXXCPP $CPPFLAGS'
44850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44853
44854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44855 /* end confdefs.h.  */
44856 #include <math.h>
44857                       #ifdef HAVE_IEEEFP_H
44858                       #include <ieeefp.h>
44859                       #endif
44860
44861 int
44862 main ()
44863 {
44864  isinf(0);
44865   ;
44866   return 0;
44867 }
44868 _ACEOF
44869 if ac_fn_cxx_try_compile "$LINENO"; then :
44870   glibcxx_cv_func_isinf_use=yes
44871 else
44872   glibcxx_cv_func_isinf_use=no
44873 fi
44874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44875       ac_ext=c
44876 ac_cpp='$CPP $CPPFLAGS'
44877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44880
44881
44882 fi
44883
44884   fi
44885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44886 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44887
44888   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44889     for ac_func in isinf
44890 do :
44891   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44892 if test "x$ac_cv_func_isinf" = x""yes; then :
44893   cat >>confdefs.h <<_ACEOF
44894 #define HAVE_ISINF 1
44895 _ACEOF
44896
44897 fi
44898 done
44899
44900   else
44901
44902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44903 $as_echo_n "checking for _isinf declaration... " >&6; }
44904   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44905     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44906   $as_echo_n "(cached) " >&6
44907 else
44908
44909
44910       ac_ext=cpp
44911 ac_cpp='$CXXCPP $CPPFLAGS'
44912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44915
44916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44917 /* end confdefs.h.  */
44918 #include <math.h>
44919                       #ifdef HAVE_IEEEFP_H
44920                       #include <ieeefp.h>
44921                       #endif
44922
44923 int
44924 main ()
44925 {
44926  _isinf(0);
44927   ;
44928   return 0;
44929 }
44930 _ACEOF
44931 if ac_fn_cxx_try_compile "$LINENO"; then :
44932   glibcxx_cv_func__isinf_use=yes
44933 else
44934   glibcxx_cv_func__isinf_use=no
44935 fi
44936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44937       ac_ext=c
44938 ac_cpp='$CPP $CPPFLAGS'
44939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44942
44943
44944 fi
44945
44946   fi
44947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44948 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44949
44950     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44951       for ac_func in _isinf
44952 do :
44953   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44954 if test "x$ac_cv_func__isinf" = x""yes; then :
44955   cat >>confdefs.h <<_ACEOF
44956 #define HAVE__ISINF 1
44957 _ACEOF
44958
44959 fi
44960 done
44961
44962     fi
44963   fi
44964
44965
44966
44967
44968
44969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44970 $as_echo_n "checking for isnan declaration... " >&6; }
44971   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44972     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44973   $as_echo_n "(cached) " >&6
44974 else
44975
44976
44977       ac_ext=cpp
44978 ac_cpp='$CXXCPP $CPPFLAGS'
44979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44982
44983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44984 /* end confdefs.h.  */
44985 #include <math.h>
44986                       #ifdef HAVE_IEEEFP_H
44987                       #include <ieeefp.h>
44988                       #endif
44989
44990 int
44991 main ()
44992 {
44993  isnan(0);
44994   ;
44995   return 0;
44996 }
44997 _ACEOF
44998 if ac_fn_cxx_try_compile "$LINENO"; then :
44999   glibcxx_cv_func_isnan_use=yes
45000 else
45001   glibcxx_cv_func_isnan_use=no
45002 fi
45003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45004       ac_ext=c
45005 ac_cpp='$CPP $CPPFLAGS'
45006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45009
45010
45011 fi
45012
45013   fi
45014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45015 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45016
45017   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45018     for ac_func in isnan
45019 do :
45020   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45021 if test "x$ac_cv_func_isnan" = x""yes; then :
45022   cat >>confdefs.h <<_ACEOF
45023 #define HAVE_ISNAN 1
45024 _ACEOF
45025
45026 fi
45027 done
45028
45029   else
45030
45031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45032 $as_echo_n "checking for _isnan declaration... " >&6; }
45033   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45034     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45035   $as_echo_n "(cached) " >&6
45036 else
45037
45038
45039       ac_ext=cpp
45040 ac_cpp='$CXXCPP $CPPFLAGS'
45041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45044
45045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45046 /* end confdefs.h.  */
45047 #include <math.h>
45048                       #ifdef HAVE_IEEEFP_H
45049                       #include <ieeefp.h>
45050                       #endif
45051
45052 int
45053 main ()
45054 {
45055  _isnan(0);
45056   ;
45057   return 0;
45058 }
45059 _ACEOF
45060 if ac_fn_cxx_try_compile "$LINENO"; then :
45061   glibcxx_cv_func__isnan_use=yes
45062 else
45063   glibcxx_cv_func__isnan_use=no
45064 fi
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066       ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45071
45072
45073 fi
45074
45075   fi
45076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45077 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45078
45079     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45080       for ac_func in _isnan
45081 do :
45082   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45083 if test "x$ac_cv_func__isnan" = x""yes; then :
45084   cat >>confdefs.h <<_ACEOF
45085 #define HAVE__ISNAN 1
45086 _ACEOF
45087
45088 fi
45089 done
45090
45091     fi
45092   fi
45093
45094
45095
45096
45097
45098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45099 $as_echo_n "checking for finite declaration... " >&6; }
45100   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45101     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45102   $as_echo_n "(cached) " >&6
45103 else
45104
45105
45106       ac_ext=cpp
45107 ac_cpp='$CXXCPP $CPPFLAGS'
45108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45111
45112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45113 /* end confdefs.h.  */
45114 #include <math.h>
45115                       #ifdef HAVE_IEEEFP_H
45116                       #include <ieeefp.h>
45117                       #endif
45118
45119 int
45120 main ()
45121 {
45122  finite(0);
45123   ;
45124   return 0;
45125 }
45126 _ACEOF
45127 if ac_fn_cxx_try_compile "$LINENO"; then :
45128   glibcxx_cv_func_finite_use=yes
45129 else
45130   glibcxx_cv_func_finite_use=no
45131 fi
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133       ac_ext=c
45134 ac_cpp='$CPP $CPPFLAGS'
45135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45138
45139
45140 fi
45141
45142   fi
45143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45144 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45145
45146   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45147     for ac_func in finite
45148 do :
45149   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45150 if test "x$ac_cv_func_finite" = x""yes; then :
45151   cat >>confdefs.h <<_ACEOF
45152 #define HAVE_FINITE 1
45153 _ACEOF
45154
45155 fi
45156 done
45157
45158   else
45159
45160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45161 $as_echo_n "checking for _finite declaration... " >&6; }
45162   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45163     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45164   $as_echo_n "(cached) " >&6
45165 else
45166
45167
45168       ac_ext=cpp
45169 ac_cpp='$CXXCPP $CPPFLAGS'
45170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45173
45174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45175 /* end confdefs.h.  */
45176 #include <math.h>
45177                       #ifdef HAVE_IEEEFP_H
45178                       #include <ieeefp.h>
45179                       #endif
45180
45181 int
45182 main ()
45183 {
45184  _finite(0);
45185   ;
45186   return 0;
45187 }
45188 _ACEOF
45189 if ac_fn_cxx_try_compile "$LINENO"; then :
45190   glibcxx_cv_func__finite_use=yes
45191 else
45192   glibcxx_cv_func__finite_use=no
45193 fi
45194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45195       ac_ext=c
45196 ac_cpp='$CPP $CPPFLAGS'
45197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45200
45201
45202 fi
45203
45204   fi
45205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45206 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45207
45208     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45209       for ac_func in _finite
45210 do :
45211   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45212 if test "x$ac_cv_func__finite" = x""yes; then :
45213   cat >>confdefs.h <<_ACEOF
45214 #define HAVE__FINITE 1
45215 _ACEOF
45216
45217 fi
45218 done
45219
45220     fi
45221   fi
45222
45223
45224
45225
45226
45227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45228 $as_echo_n "checking for sincos declaration... " >&6; }
45229   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45230     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45231   $as_echo_n "(cached) " >&6
45232 else
45233
45234
45235       ac_ext=cpp
45236 ac_cpp='$CXXCPP $CPPFLAGS'
45237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45240
45241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45242 /* end confdefs.h.  */
45243 #include <math.h>
45244 int
45245 main ()
45246 {
45247  sincos(0, 0, 0);
45248   ;
45249   return 0;
45250 }
45251 _ACEOF
45252 if ac_fn_cxx_try_compile "$LINENO"; then :
45253   glibcxx_cv_func_sincos_use=yes
45254 else
45255   glibcxx_cv_func_sincos_use=no
45256 fi
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45258       ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266
45267   fi
45268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45269 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45270
45271   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45272     for ac_func in sincos
45273 do :
45274   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45275 if test "x$ac_cv_func_sincos" = x""yes; then :
45276   cat >>confdefs.h <<_ACEOF
45277 #define HAVE_SINCOS 1
45278 _ACEOF
45279
45280 fi
45281 done
45282
45283   else
45284
45285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45286 $as_echo_n "checking for _sincos declaration... " >&6; }
45287   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45288     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45289   $as_echo_n "(cached) " >&6
45290 else
45291
45292
45293       ac_ext=cpp
45294 ac_cpp='$CXXCPP $CPPFLAGS'
45295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45298
45299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45300 /* end confdefs.h.  */
45301 #include <math.h>
45302 int
45303 main ()
45304 {
45305  _sincos(0, 0, 0);
45306   ;
45307   return 0;
45308 }
45309 _ACEOF
45310 if ac_fn_cxx_try_compile "$LINENO"; then :
45311   glibcxx_cv_func__sincos_use=yes
45312 else
45313   glibcxx_cv_func__sincos_use=no
45314 fi
45315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45316       ac_ext=c
45317 ac_cpp='$CPP $CPPFLAGS'
45318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45321
45322
45323 fi
45324
45325   fi
45326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45327 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45328
45329     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45330       for ac_func in _sincos
45331 do :
45332   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45333 if test "x$ac_cv_func__sincos" = x""yes; then :
45334   cat >>confdefs.h <<_ACEOF
45335 #define HAVE__SINCOS 1
45336 _ACEOF
45337
45338 fi
45339 done
45340
45341     fi
45342   fi
45343
45344
45345
45346
45347
45348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45349 $as_echo_n "checking for fpclass declaration... " >&6; }
45350   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45351     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45352   $as_echo_n "(cached) " >&6
45353 else
45354
45355
45356       ac_ext=cpp
45357 ac_cpp='$CXXCPP $CPPFLAGS'
45358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45361
45362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h.  */
45364 #include <math.h>
45365                       #ifdef HAVE_IEEEFP_H
45366                       #include <ieeefp.h>
45367                       #endif
45368
45369 int
45370 main ()
45371 {
45372  fpclass(0);
45373   ;
45374   return 0;
45375 }
45376 _ACEOF
45377 if ac_fn_cxx_try_compile "$LINENO"; then :
45378   glibcxx_cv_func_fpclass_use=yes
45379 else
45380   glibcxx_cv_func_fpclass_use=no
45381 fi
45382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45383       ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45388
45389
45390 fi
45391
45392   fi
45393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45394 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45395
45396   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45397     for ac_func in fpclass
45398 do :
45399   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45400 if test "x$ac_cv_func_fpclass" = x""yes; then :
45401   cat >>confdefs.h <<_ACEOF
45402 #define HAVE_FPCLASS 1
45403 _ACEOF
45404
45405 fi
45406 done
45407
45408   else
45409
45410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45411 $as_echo_n "checking for _fpclass declaration... " >&6; }
45412   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45413     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45414   $as_echo_n "(cached) " >&6
45415 else
45416
45417
45418       ac_ext=cpp
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423
45424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425 /* end confdefs.h.  */
45426 #include <math.h>
45427                       #ifdef HAVE_IEEEFP_H
45428                       #include <ieeefp.h>
45429                       #endif
45430
45431 int
45432 main ()
45433 {
45434  _fpclass(0);
45435   ;
45436   return 0;
45437 }
45438 _ACEOF
45439 if ac_fn_cxx_try_compile "$LINENO"; then :
45440   glibcxx_cv_func__fpclass_use=yes
45441 else
45442   glibcxx_cv_func__fpclass_use=no
45443 fi
45444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45445       ac_ext=c
45446 ac_cpp='$CPP $CPPFLAGS'
45447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45450
45451
45452 fi
45453
45454   fi
45455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45456 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45457
45458     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45459       for ac_func in _fpclass
45460 do :
45461   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45462 if test "x$ac_cv_func__fpclass" = x""yes; then :
45463   cat >>confdefs.h <<_ACEOF
45464 #define HAVE__FPCLASS 1
45465 _ACEOF
45466
45467 fi
45468 done
45469
45470     fi
45471   fi
45472
45473
45474
45475
45476
45477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45478 $as_echo_n "checking for qfpclass declaration... " >&6; }
45479   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45480     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45481   $as_echo_n "(cached) " >&6
45482 else
45483
45484
45485       ac_ext=cpp
45486 ac_cpp='$CXXCPP $CPPFLAGS'
45487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45490
45491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45492 /* end confdefs.h.  */
45493 #include <math.h>
45494                       #ifdef HAVE_IEEEFP_H
45495                       #include <ieeefp.h>
45496                       #endif
45497
45498 int
45499 main ()
45500 {
45501  qfpclass(0);
45502   ;
45503   return 0;
45504 }
45505 _ACEOF
45506 if ac_fn_cxx_try_compile "$LINENO"; then :
45507   glibcxx_cv_func_qfpclass_use=yes
45508 else
45509   glibcxx_cv_func_qfpclass_use=no
45510 fi
45511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45512       ac_ext=c
45513 ac_cpp='$CPP $CPPFLAGS'
45514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45517
45518
45519 fi
45520
45521   fi
45522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45523 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45524
45525   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45526     for ac_func in qfpclass
45527 do :
45528   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45529 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45530   cat >>confdefs.h <<_ACEOF
45531 #define HAVE_QFPCLASS 1
45532 _ACEOF
45533
45534 fi
45535 done
45536
45537   else
45538
45539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45540 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45541   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45542     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45543   $as_echo_n "(cached) " >&6
45544 else
45545
45546
45547       ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552
45553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45554 /* end confdefs.h.  */
45555 #include <math.h>
45556                       #ifdef HAVE_IEEEFP_H
45557                       #include <ieeefp.h>
45558                       #endif
45559
45560 int
45561 main ()
45562 {
45563  _qfpclass(0);
45564   ;
45565   return 0;
45566 }
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569   glibcxx_cv_func__qfpclass_use=yes
45570 else
45571   glibcxx_cv_func__qfpclass_use=no
45572 fi
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574       ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579
45580
45581 fi
45582
45583   fi
45584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45585 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45586
45587     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45588       for ac_func in _qfpclass
45589 do :
45590   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45591 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45592   cat >>confdefs.h <<_ACEOF
45593 #define HAVE__QFPCLASS 1
45594 _ACEOF
45595
45596 fi
45597 done
45598
45599     fi
45600   fi
45601
45602
45603
45604
45605
45606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45607 $as_echo_n "checking for hypot declaration... " >&6; }
45608   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45609     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45610   $as_echo_n "(cached) " >&6
45611 else
45612
45613
45614       ac_ext=cpp
45615 ac_cpp='$CXXCPP $CPPFLAGS'
45616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45619
45620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45621 /* end confdefs.h.  */
45622 #include <math.h>
45623 int
45624 main ()
45625 {
45626  hypot(0, 0);
45627   ;
45628   return 0;
45629 }
45630 _ACEOF
45631 if ac_fn_cxx_try_compile "$LINENO"; then :
45632   glibcxx_cv_func_hypot_use=yes
45633 else
45634   glibcxx_cv_func_hypot_use=no
45635 fi
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45637       ac_ext=c
45638 ac_cpp='$CPP $CPPFLAGS'
45639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45642
45643
45644 fi
45645
45646   fi
45647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45648 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45649
45650   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45651     for ac_func in hypot
45652 do :
45653   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45654 if test "x$ac_cv_func_hypot" = x""yes; then :
45655   cat >>confdefs.h <<_ACEOF
45656 #define HAVE_HYPOT 1
45657 _ACEOF
45658
45659 fi
45660 done
45661
45662   else
45663
45664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45665 $as_echo_n "checking for _hypot declaration... " >&6; }
45666   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45667     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45668   $as_echo_n "(cached) " >&6
45669 else
45670
45671
45672       ac_ext=cpp
45673 ac_cpp='$CXXCPP $CPPFLAGS'
45674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45677
45678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45679 /* end confdefs.h.  */
45680 #include <math.h>
45681 int
45682 main ()
45683 {
45684  _hypot(0, 0);
45685   ;
45686   return 0;
45687 }
45688 _ACEOF
45689 if ac_fn_cxx_try_compile "$LINENO"; then :
45690   glibcxx_cv_func__hypot_use=yes
45691 else
45692   glibcxx_cv_func__hypot_use=no
45693 fi
45694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45695       ac_ext=c
45696 ac_cpp='$CPP $CPPFLAGS'
45697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45700
45701
45702 fi
45703
45704   fi
45705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45706 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45707
45708     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45709       for ac_func in _hypot
45710 do :
45711   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45712 if test "x$ac_cv_func__hypot" = x""yes; then :
45713   cat >>confdefs.h <<_ACEOF
45714 #define HAVE__HYPOT 1
45715 _ACEOF
45716
45717 fi
45718 done
45719
45720     fi
45721   fi
45722
45723
45724
45725
45726
45727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45728 $as_echo_n "checking for float trig functions... " >&6; }
45729   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45730   $as_echo_n "(cached) " >&6
45731 else
45732
45733
45734     ac_ext=cpp
45735 ac_cpp='$CXXCPP $CPPFLAGS'
45736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45739
45740     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45741 /* end confdefs.h.  */
45742 #include <math.h>
45743 int
45744 main ()
45745 {
45746 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45747   ;
45748   return 0;
45749 }
45750 _ACEOF
45751 if ac_fn_cxx_try_compile "$LINENO"; then :
45752   glibcxx_cv_func_float_trig_use=yes
45753 else
45754   glibcxx_cv_func_float_trig_use=no
45755 fi
45756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45757     ac_ext=c
45758 ac_cpp='$CPP $CPPFLAGS'
45759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45762
45763 fi
45764
45765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45766 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45767   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45768     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45769 do :
45770   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45772 eval as_val=\$$as_ac_var
45773    if test "x$as_val" = x""yes; then :
45774   cat >>confdefs.h <<_ACEOF
45775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45776 _ACEOF
45777
45778 fi
45779 done
45780
45781   else
45782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45783 $as_echo_n "checking for _float trig functions... " >&6; }
45784     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45785   $as_echo_n "(cached) " >&6
45786 else
45787
45788
45789       ac_ext=cpp
45790 ac_cpp='$CXXCPP $CPPFLAGS'
45791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45794
45795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45796 /* end confdefs.h.  */
45797 #include <math.h>
45798 int
45799 main ()
45800 {
45801 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45802   ;
45803   return 0;
45804 }
45805 _ACEOF
45806 if ac_fn_cxx_try_compile "$LINENO"; then :
45807   glibcxx_cv_func__float_trig_use=yes
45808 else
45809   glibcxx_cv_func__float_trig_use=no
45810 fi
45811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45812       ac_ext=c
45813 ac_cpp='$CPP $CPPFLAGS'
45814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45817
45818 fi
45819
45820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45821 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45822     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45823       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45824 do :
45825   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45827 eval as_val=\$$as_ac_var
45828    if test "x$as_val" = x""yes; then :
45829   cat >>confdefs.h <<_ACEOF
45830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45831 _ACEOF
45832
45833 fi
45834 done
45835
45836     fi
45837   fi
45838
45839
45840
45841
45842
45843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45844 $as_echo_n "checking for float round functions... " >&6; }
45845   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45846   $as_echo_n "(cached) " >&6
45847 else
45848
45849
45850     ac_ext=cpp
45851 ac_cpp='$CXXCPP $CPPFLAGS'
45852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45855
45856     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45857 /* end confdefs.h.  */
45858 #include <math.h>
45859 int
45860 main ()
45861 {
45862 ceilf (0); floorf (0);
45863   ;
45864   return 0;
45865 }
45866 _ACEOF
45867 if ac_fn_cxx_try_compile "$LINENO"; then :
45868   glibcxx_cv_func_float_round_use=yes
45869 else
45870   glibcxx_cv_func_float_round_use=no
45871 fi
45872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45873     ac_ext=c
45874 ac_cpp='$CPP $CPPFLAGS'
45875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45878
45879 fi
45880
45881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45882 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45883   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45884     for ac_func in ceilf floorf
45885 do :
45886   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45888 eval as_val=\$$as_ac_var
45889    if test "x$as_val" = x""yes; then :
45890   cat >>confdefs.h <<_ACEOF
45891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45892 _ACEOF
45893
45894 fi
45895 done
45896
45897   else
45898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45899 $as_echo_n "checking for _float round functions... " >&6; }
45900     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45901   $as_echo_n "(cached) " >&6
45902 else
45903
45904
45905       ac_ext=cpp
45906 ac_cpp='$CXXCPP $CPPFLAGS'
45907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45910
45911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45912 /* end confdefs.h.  */
45913 #include <math.h>
45914 int
45915 main ()
45916 {
45917 _ceilf (0); _floorf (0);
45918   ;
45919   return 0;
45920 }
45921 _ACEOF
45922 if ac_fn_cxx_try_compile "$LINENO"; then :
45923   glibcxx_cv_func__float_round_use=yes
45924 else
45925   glibcxx_cv_func__float_round_use=no
45926 fi
45927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45928       ac_ext=c
45929 ac_cpp='$CPP $CPPFLAGS'
45930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45933
45934 fi
45935
45936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45937 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45938     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45939       for ac_func in _ceilf _floorf
45940 do :
45941   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45943 eval as_val=\$$as_ac_var
45944    if test "x$as_val" = x""yes; then :
45945   cat >>confdefs.h <<_ACEOF
45946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45947 _ACEOF
45948
45949 fi
45950 done
45951
45952     fi
45953   fi
45954
45955
45956
45957
45958
45959
45960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45961 $as_echo_n "checking for expf declaration... " >&6; }
45962   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45963     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45964   $as_echo_n "(cached) " >&6
45965 else
45966
45967
45968       ac_ext=cpp
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973
45974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h.  */
45976 #include <math.h>
45977                       #ifdef HAVE_IEEEFP_H
45978                       #include <ieeefp.h>
45979                       #endif
45980
45981 int
45982 main ()
45983 {
45984  expf(0);
45985   ;
45986   return 0;
45987 }
45988 _ACEOF
45989 if ac_fn_cxx_try_compile "$LINENO"; then :
45990   glibcxx_cv_func_expf_use=yes
45991 else
45992   glibcxx_cv_func_expf_use=no
45993 fi
45994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45995       ac_ext=c
45996 ac_cpp='$CPP $CPPFLAGS'
45997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46000
46001
46002 fi
46003
46004   fi
46005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46006 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46007
46008   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46009     for ac_func in expf
46010 do :
46011   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46012 if test "x$ac_cv_func_expf" = x""yes; then :
46013   cat >>confdefs.h <<_ACEOF
46014 #define HAVE_EXPF 1
46015 _ACEOF
46016
46017 fi
46018 done
46019
46020   else
46021
46022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46023 $as_echo_n "checking for _expf declaration... " >&6; }
46024   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46025     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46026   $as_echo_n "(cached) " >&6
46027 else
46028
46029
46030       ac_ext=cpp
46031 ac_cpp='$CXXCPP $CPPFLAGS'
46032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46035
46036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46037 /* end confdefs.h.  */
46038 #include <math.h>
46039                       #ifdef HAVE_IEEEFP_H
46040                       #include <ieeefp.h>
46041                       #endif
46042
46043 int
46044 main ()
46045 {
46046  _expf(0);
46047   ;
46048   return 0;
46049 }
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052   glibcxx_cv_func__expf_use=yes
46053 else
46054   glibcxx_cv_func__expf_use=no
46055 fi
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057       ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46062
46063
46064 fi
46065
46066   fi
46067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46068 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46069
46070     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46071       for ac_func in _expf
46072 do :
46073   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46074 if test "x$ac_cv_func__expf" = x""yes; then :
46075   cat >>confdefs.h <<_ACEOF
46076 #define HAVE__EXPF 1
46077 _ACEOF
46078
46079 fi
46080 done
46081
46082     fi
46083   fi
46084
46085
46086
46087
46088
46089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46090 $as_echo_n "checking for isnanf declaration... " >&6; }
46091   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46092     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46093   $as_echo_n "(cached) " >&6
46094 else
46095
46096
46097       ac_ext=cpp
46098 ac_cpp='$CXXCPP $CPPFLAGS'
46099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46102
46103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46104 /* end confdefs.h.  */
46105 #include <math.h>
46106                       #ifdef HAVE_IEEEFP_H
46107                       #include <ieeefp.h>
46108                       #endif
46109
46110 int
46111 main ()
46112 {
46113  isnanf(0);
46114   ;
46115   return 0;
46116 }
46117 _ACEOF
46118 if ac_fn_cxx_try_compile "$LINENO"; then :
46119   glibcxx_cv_func_isnanf_use=yes
46120 else
46121   glibcxx_cv_func_isnanf_use=no
46122 fi
46123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46124       ac_ext=c
46125 ac_cpp='$CPP $CPPFLAGS'
46126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46129
46130
46131 fi
46132
46133   fi
46134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46135 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46136
46137   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46138     for ac_func in isnanf
46139 do :
46140   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46141 if test "x$ac_cv_func_isnanf" = x""yes; then :
46142   cat >>confdefs.h <<_ACEOF
46143 #define HAVE_ISNANF 1
46144 _ACEOF
46145
46146 fi
46147 done
46148
46149   else
46150
46151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46152 $as_echo_n "checking for _isnanf declaration... " >&6; }
46153   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46154     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46155   $as_echo_n "(cached) " >&6
46156 else
46157
46158
46159       ac_ext=cpp
46160 ac_cpp='$CXXCPP $CPPFLAGS'
46161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164
46165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46166 /* end confdefs.h.  */
46167 #include <math.h>
46168                       #ifdef HAVE_IEEEFP_H
46169                       #include <ieeefp.h>
46170                       #endif
46171
46172 int
46173 main ()
46174 {
46175  _isnanf(0);
46176   ;
46177   return 0;
46178 }
46179 _ACEOF
46180 if ac_fn_cxx_try_compile "$LINENO"; then :
46181   glibcxx_cv_func__isnanf_use=yes
46182 else
46183   glibcxx_cv_func__isnanf_use=no
46184 fi
46185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46186       ac_ext=c
46187 ac_cpp='$CPP $CPPFLAGS'
46188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191
46192
46193 fi
46194
46195   fi
46196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46197 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46198
46199     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46200       for ac_func in _isnanf
46201 do :
46202   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46203 if test "x$ac_cv_func__isnanf" = x""yes; then :
46204   cat >>confdefs.h <<_ACEOF
46205 #define HAVE__ISNANF 1
46206 _ACEOF
46207
46208 fi
46209 done
46210
46211     fi
46212   fi
46213
46214
46215
46216
46217
46218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46219 $as_echo_n "checking for isinff declaration... " >&6; }
46220   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46221     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46222   $as_echo_n "(cached) " >&6
46223 else
46224
46225
46226       ac_ext=cpp
46227 ac_cpp='$CXXCPP $CPPFLAGS'
46228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46231
46232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46233 /* end confdefs.h.  */
46234 #include <math.h>
46235                       #ifdef HAVE_IEEEFP_H
46236                       #include <ieeefp.h>
46237                       #endif
46238
46239 int
46240 main ()
46241 {
46242  isinff(0);
46243   ;
46244   return 0;
46245 }
46246 _ACEOF
46247 if ac_fn_cxx_try_compile "$LINENO"; then :
46248   glibcxx_cv_func_isinff_use=yes
46249 else
46250   glibcxx_cv_func_isinff_use=no
46251 fi
46252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46253       ac_ext=c
46254 ac_cpp='$CPP $CPPFLAGS'
46255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258
46259
46260 fi
46261
46262   fi
46263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46264 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46265
46266   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46267     for ac_func in isinff
46268 do :
46269   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46270 if test "x$ac_cv_func_isinff" = x""yes; then :
46271   cat >>confdefs.h <<_ACEOF
46272 #define HAVE_ISINFF 1
46273 _ACEOF
46274
46275 fi
46276 done
46277
46278   else
46279
46280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46281 $as_echo_n "checking for _isinff declaration... " >&6; }
46282   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46283     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46284   $as_echo_n "(cached) " >&6
46285 else
46286
46287
46288       ac_ext=cpp
46289 ac_cpp='$CXXCPP $CPPFLAGS'
46290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46293
46294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46295 /* end confdefs.h.  */
46296 #include <math.h>
46297                       #ifdef HAVE_IEEEFP_H
46298                       #include <ieeefp.h>
46299                       #endif
46300
46301 int
46302 main ()
46303 {
46304  _isinff(0);
46305   ;
46306   return 0;
46307 }
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310   glibcxx_cv_func__isinff_use=yes
46311 else
46312   glibcxx_cv_func__isinff_use=no
46313 fi
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315       ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320
46321
46322 fi
46323
46324   fi
46325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46326 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46327
46328     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46329       for ac_func in _isinff
46330 do :
46331   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46332 if test "x$ac_cv_func__isinff" = x""yes; then :
46333   cat >>confdefs.h <<_ACEOF
46334 #define HAVE__ISINFF 1
46335 _ACEOF
46336
46337 fi
46338 done
46339
46340     fi
46341   fi
46342
46343
46344
46345
46346
46347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46348 $as_echo_n "checking for atan2f declaration... " >&6; }
46349   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46350     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46351   $as_echo_n "(cached) " >&6
46352 else
46353
46354
46355       ac_ext=cpp
46356 ac_cpp='$CXXCPP $CPPFLAGS'
46357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46360
46361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h.  */
46363 #include <math.h>
46364 int
46365 main ()
46366 {
46367  atan2f(0, 0);
46368   ;
46369   return 0;
46370 }
46371 _ACEOF
46372 if ac_fn_cxx_try_compile "$LINENO"; then :
46373   glibcxx_cv_func_atan2f_use=yes
46374 else
46375   glibcxx_cv_func_atan2f_use=no
46376 fi
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46378       ac_ext=c
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46383
46384
46385 fi
46386
46387   fi
46388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46389 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46390
46391   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46392     for ac_func in atan2f
46393 do :
46394   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46395 if test "x$ac_cv_func_atan2f" = x""yes; then :
46396   cat >>confdefs.h <<_ACEOF
46397 #define HAVE_ATAN2F 1
46398 _ACEOF
46399
46400 fi
46401 done
46402
46403   else
46404
46405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46406 $as_echo_n "checking for _atan2f declaration... " >&6; }
46407   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46408     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46409   $as_echo_n "(cached) " >&6
46410 else
46411
46412
46413       ac_ext=cpp
46414 ac_cpp='$CXXCPP $CPPFLAGS'
46415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418
46419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46420 /* end confdefs.h.  */
46421 #include <math.h>
46422 int
46423 main ()
46424 {
46425  _atan2f(0, 0);
46426   ;
46427   return 0;
46428 }
46429 _ACEOF
46430 if ac_fn_cxx_try_compile "$LINENO"; then :
46431   glibcxx_cv_func__atan2f_use=yes
46432 else
46433   glibcxx_cv_func__atan2f_use=no
46434 fi
46435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46436       ac_ext=c
46437 ac_cpp='$CPP $CPPFLAGS'
46438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46441
46442
46443 fi
46444
46445   fi
46446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46447 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46448
46449     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46450       for ac_func in _atan2f
46451 do :
46452   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46453 if test "x$ac_cv_func__atan2f" = x""yes; then :
46454   cat >>confdefs.h <<_ACEOF
46455 #define HAVE__ATAN2F 1
46456 _ACEOF
46457
46458 fi
46459 done
46460
46461     fi
46462   fi
46463
46464
46465
46466
46467
46468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46469 $as_echo_n "checking for fabsf declaration... " >&6; }
46470   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46471     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46472   $as_echo_n "(cached) " >&6
46473 else
46474
46475
46476       ac_ext=cpp
46477 ac_cpp='$CXXCPP $CPPFLAGS'
46478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46481
46482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46483 /* end confdefs.h.  */
46484 #include <math.h>
46485                       #ifdef HAVE_IEEEFP_H
46486                       #include <ieeefp.h>
46487                       #endif
46488
46489 int
46490 main ()
46491 {
46492  fabsf(0);
46493   ;
46494   return 0;
46495 }
46496 _ACEOF
46497 if ac_fn_cxx_try_compile "$LINENO"; then :
46498   glibcxx_cv_func_fabsf_use=yes
46499 else
46500   glibcxx_cv_func_fabsf_use=no
46501 fi
46502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46503       ac_ext=c
46504 ac_cpp='$CPP $CPPFLAGS'
46505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46508
46509
46510 fi
46511
46512   fi
46513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46514 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46515
46516   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46517     for ac_func in fabsf
46518 do :
46519   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46520 if test "x$ac_cv_func_fabsf" = x""yes; then :
46521   cat >>confdefs.h <<_ACEOF
46522 #define HAVE_FABSF 1
46523 _ACEOF
46524
46525 fi
46526 done
46527
46528   else
46529
46530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46531 $as_echo_n "checking for _fabsf declaration... " >&6; }
46532   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46533     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46534   $as_echo_n "(cached) " >&6
46535 else
46536
46537
46538       ac_ext=cpp
46539 ac_cpp='$CXXCPP $CPPFLAGS'
46540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543
46544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46545 /* end confdefs.h.  */
46546 #include <math.h>
46547                       #ifdef HAVE_IEEEFP_H
46548                       #include <ieeefp.h>
46549                       #endif
46550
46551 int
46552 main ()
46553 {
46554  _fabsf(0);
46555   ;
46556   return 0;
46557 }
46558 _ACEOF
46559 if ac_fn_cxx_try_compile "$LINENO"; then :
46560   glibcxx_cv_func__fabsf_use=yes
46561 else
46562   glibcxx_cv_func__fabsf_use=no
46563 fi
46564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46565       ac_ext=c
46566 ac_cpp='$CPP $CPPFLAGS'
46567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46570
46571
46572 fi
46573
46574   fi
46575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46576 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46577
46578     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46579       for ac_func in _fabsf
46580 do :
46581   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46582 if test "x$ac_cv_func__fabsf" = x""yes; then :
46583   cat >>confdefs.h <<_ACEOF
46584 #define HAVE__FABSF 1
46585 _ACEOF
46586
46587 fi
46588 done
46589
46590     fi
46591   fi
46592
46593
46594
46595
46596
46597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46598 $as_echo_n "checking for fmodf declaration... " >&6; }
46599   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46600     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46601   $as_echo_n "(cached) " >&6
46602 else
46603
46604
46605       ac_ext=cpp
46606 ac_cpp='$CXXCPP $CPPFLAGS'
46607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46610
46611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46612 /* end confdefs.h.  */
46613 #include <math.h>
46614 int
46615 main ()
46616 {
46617  fmodf(0, 0);
46618   ;
46619   return 0;
46620 }
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623   glibcxx_cv_func_fmodf_use=yes
46624 else
46625   glibcxx_cv_func_fmodf_use=no
46626 fi
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628       ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633
46634
46635 fi
46636
46637   fi
46638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46639 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46640
46641   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46642     for ac_func in fmodf
46643 do :
46644   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46645 if test "x$ac_cv_func_fmodf" = x""yes; then :
46646   cat >>confdefs.h <<_ACEOF
46647 #define HAVE_FMODF 1
46648 _ACEOF
46649
46650 fi
46651 done
46652
46653   else
46654
46655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46656 $as_echo_n "checking for _fmodf declaration... " >&6; }
46657   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46658     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46659   $as_echo_n "(cached) " >&6
46660 else
46661
46662
46663       ac_ext=cpp
46664 ac_cpp='$CXXCPP $CPPFLAGS'
46665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46668
46669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46670 /* end confdefs.h.  */
46671 #include <math.h>
46672 int
46673 main ()
46674 {
46675  _fmodf(0, 0);
46676   ;
46677   return 0;
46678 }
46679 _ACEOF
46680 if ac_fn_cxx_try_compile "$LINENO"; then :
46681   glibcxx_cv_func__fmodf_use=yes
46682 else
46683   glibcxx_cv_func__fmodf_use=no
46684 fi
46685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46686       ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691
46692
46693 fi
46694
46695   fi
46696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46697 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46698
46699     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46700       for ac_func in _fmodf
46701 do :
46702   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46703 if test "x$ac_cv_func__fmodf" = x""yes; then :
46704   cat >>confdefs.h <<_ACEOF
46705 #define HAVE__FMODF 1
46706 _ACEOF
46707
46708 fi
46709 done
46710
46711     fi
46712   fi
46713
46714
46715
46716
46717
46718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46719 $as_echo_n "checking for frexpf declaration... " >&6; }
46720   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46721     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46722   $as_echo_n "(cached) " >&6
46723 else
46724
46725
46726       ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h.  */
46734 #include <math.h>
46735 int
46736 main ()
46737 {
46738  frexpf(0, 0);
46739   ;
46740   return 0;
46741 }
46742 _ACEOF
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744   glibcxx_cv_func_frexpf_use=yes
46745 else
46746   glibcxx_cv_func_frexpf_use=no
46747 fi
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46749       ac_ext=c
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46754
46755
46756 fi
46757
46758   fi
46759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46760 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46761
46762   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46763     for ac_func in frexpf
46764 do :
46765   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46766 if test "x$ac_cv_func_frexpf" = x""yes; then :
46767   cat >>confdefs.h <<_ACEOF
46768 #define HAVE_FREXPF 1
46769 _ACEOF
46770
46771 fi
46772 done
46773
46774   else
46775
46776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46777 $as_echo_n "checking for _frexpf declaration... " >&6; }
46778   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46779     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46780   $as_echo_n "(cached) " >&6
46781 else
46782
46783
46784       ac_ext=cpp
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789
46790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791 /* end confdefs.h.  */
46792 #include <math.h>
46793 int
46794 main ()
46795 {
46796  _frexpf(0, 0);
46797   ;
46798   return 0;
46799 }
46800 _ACEOF
46801 if ac_fn_cxx_try_compile "$LINENO"; then :
46802   glibcxx_cv_func__frexpf_use=yes
46803 else
46804   glibcxx_cv_func__frexpf_use=no
46805 fi
46806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46807       ac_ext=c
46808 ac_cpp='$CPP $CPPFLAGS'
46809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812
46813
46814 fi
46815
46816   fi
46817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46818 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46819
46820     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46821       for ac_func in _frexpf
46822 do :
46823   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46824 if test "x$ac_cv_func__frexpf" = x""yes; then :
46825   cat >>confdefs.h <<_ACEOF
46826 #define HAVE__FREXPF 1
46827 _ACEOF
46828
46829 fi
46830 done
46831
46832     fi
46833   fi
46834
46835
46836
46837
46838
46839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46840 $as_echo_n "checking for hypotf declaration... " >&6; }
46841   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46842     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46843   $as_echo_n "(cached) " >&6
46844 else
46845
46846
46847       ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852
46853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h.  */
46855 #include <math.h>
46856 int
46857 main ()
46858 {
46859  hypotf(0, 0);
46860   ;
46861   return 0;
46862 }
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865   glibcxx_cv_func_hypotf_use=yes
46866 else
46867   glibcxx_cv_func_hypotf_use=no
46868 fi
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870       ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875
46876
46877 fi
46878
46879   fi
46880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46881 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46882
46883   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46884     for ac_func in hypotf
46885 do :
46886   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46887 if test "x$ac_cv_func_hypotf" = x""yes; then :
46888   cat >>confdefs.h <<_ACEOF
46889 #define HAVE_HYPOTF 1
46890 _ACEOF
46891
46892 fi
46893 done
46894
46895   else
46896
46897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46898 $as_echo_n "checking for _hypotf declaration... " >&6; }
46899   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46900     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46901   $as_echo_n "(cached) " >&6
46902 else
46903
46904
46905       ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910
46911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46912 /* end confdefs.h.  */
46913 #include <math.h>
46914 int
46915 main ()
46916 {
46917  _hypotf(0, 0);
46918   ;
46919   return 0;
46920 }
46921 _ACEOF
46922 if ac_fn_cxx_try_compile "$LINENO"; then :
46923   glibcxx_cv_func__hypotf_use=yes
46924 else
46925   glibcxx_cv_func__hypotf_use=no
46926 fi
46927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46928       ac_ext=c
46929 ac_cpp='$CPP $CPPFLAGS'
46930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46933
46934
46935 fi
46936
46937   fi
46938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46939 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46940
46941     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46942       for ac_func in _hypotf
46943 do :
46944   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46945 if test "x$ac_cv_func__hypotf" = x""yes; then :
46946   cat >>confdefs.h <<_ACEOF
46947 #define HAVE__HYPOTF 1
46948 _ACEOF
46949
46950 fi
46951 done
46952
46953     fi
46954   fi
46955
46956
46957
46958
46959
46960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46961 $as_echo_n "checking for ldexpf declaration... " >&6; }
46962   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46963     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46964   $as_echo_n "(cached) " >&6
46965 else
46966
46967
46968       ac_ext=cpp
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46973
46974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h.  */
46976 #include <math.h>
46977 int
46978 main ()
46979 {
46980  ldexpf(0, 0);
46981   ;
46982   return 0;
46983 }
46984 _ACEOF
46985 if ac_fn_cxx_try_compile "$LINENO"; then :
46986   glibcxx_cv_func_ldexpf_use=yes
46987 else
46988   glibcxx_cv_func_ldexpf_use=no
46989 fi
46990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46991       ac_ext=c
46992 ac_cpp='$CPP $CPPFLAGS'
46993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46996
46997
46998 fi
46999
47000   fi
47001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47002 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47003
47004   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47005     for ac_func in ldexpf
47006 do :
47007   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47008 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47009   cat >>confdefs.h <<_ACEOF
47010 #define HAVE_LDEXPF 1
47011 _ACEOF
47012
47013 fi
47014 done
47015
47016   else
47017
47018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47019 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47020   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47021     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47022   $as_echo_n "(cached) " >&6
47023 else
47024
47025
47026       ac_ext=cpp
47027 ac_cpp='$CXXCPP $CPPFLAGS'
47028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47031
47032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47033 /* end confdefs.h.  */
47034 #include <math.h>
47035 int
47036 main ()
47037 {
47038  _ldexpf(0, 0);
47039   ;
47040   return 0;
47041 }
47042 _ACEOF
47043 if ac_fn_cxx_try_compile "$LINENO"; then :
47044   glibcxx_cv_func__ldexpf_use=yes
47045 else
47046   glibcxx_cv_func__ldexpf_use=no
47047 fi
47048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47049       ac_ext=c
47050 ac_cpp='$CPP $CPPFLAGS'
47051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47054
47055
47056 fi
47057
47058   fi
47059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47060 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47061
47062     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47063       for ac_func in _ldexpf
47064 do :
47065   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47066 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47067   cat >>confdefs.h <<_ACEOF
47068 #define HAVE__LDEXPF 1
47069 _ACEOF
47070
47071 fi
47072 done
47073
47074     fi
47075   fi
47076
47077
47078
47079
47080
47081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47082 $as_echo_n "checking for logf declaration... " >&6; }
47083   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47084     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47085   $as_echo_n "(cached) " >&6
47086 else
47087
47088
47089       ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47094
47095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h.  */
47097 #include <math.h>
47098                       #ifdef HAVE_IEEEFP_H
47099                       #include <ieeefp.h>
47100                       #endif
47101
47102 int
47103 main ()
47104 {
47105  logf(0);
47106   ;
47107   return 0;
47108 }
47109 _ACEOF
47110 if ac_fn_cxx_try_compile "$LINENO"; then :
47111   glibcxx_cv_func_logf_use=yes
47112 else
47113   glibcxx_cv_func_logf_use=no
47114 fi
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116       ac_ext=c
47117 ac_cpp='$CPP $CPPFLAGS'
47118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47121
47122
47123 fi
47124
47125   fi
47126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47127 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47128
47129   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47130     for ac_func in logf
47131 do :
47132   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47133 if test "x$ac_cv_func_logf" = x""yes; then :
47134   cat >>confdefs.h <<_ACEOF
47135 #define HAVE_LOGF 1
47136 _ACEOF
47137
47138 fi
47139 done
47140
47141   else
47142
47143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47144 $as_echo_n "checking for _logf declaration... " >&6; }
47145   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47146     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47147   $as_echo_n "(cached) " >&6
47148 else
47149
47150
47151       ac_ext=cpp
47152 ac_cpp='$CXXCPP $CPPFLAGS'
47153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156
47157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47158 /* end confdefs.h.  */
47159 #include <math.h>
47160                       #ifdef HAVE_IEEEFP_H
47161                       #include <ieeefp.h>
47162                       #endif
47163
47164 int
47165 main ()
47166 {
47167  _logf(0);
47168   ;
47169   return 0;
47170 }
47171 _ACEOF
47172 if ac_fn_cxx_try_compile "$LINENO"; then :
47173   glibcxx_cv_func__logf_use=yes
47174 else
47175   glibcxx_cv_func__logf_use=no
47176 fi
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178       ac_ext=c
47179 ac_cpp='$CPP $CPPFLAGS'
47180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47183
47184
47185 fi
47186
47187   fi
47188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47189 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47190
47191     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47192       for ac_func in _logf
47193 do :
47194   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47195 if test "x$ac_cv_func__logf" = x""yes; then :
47196   cat >>confdefs.h <<_ACEOF
47197 #define HAVE__LOGF 1
47198 _ACEOF
47199
47200 fi
47201 done
47202
47203     fi
47204   fi
47205
47206
47207
47208
47209
47210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47211 $as_echo_n "checking for log10f declaration... " >&6; }
47212   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47213     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47214   $as_echo_n "(cached) " >&6
47215 else
47216
47217
47218       ac_ext=cpp
47219 ac_cpp='$CXXCPP $CPPFLAGS'
47220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47223
47224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47225 /* end confdefs.h.  */
47226 #include <math.h>
47227                       #ifdef HAVE_IEEEFP_H
47228                       #include <ieeefp.h>
47229                       #endif
47230
47231 int
47232 main ()
47233 {
47234  log10f(0);
47235   ;
47236   return 0;
47237 }
47238 _ACEOF
47239 if ac_fn_cxx_try_compile "$LINENO"; then :
47240   glibcxx_cv_func_log10f_use=yes
47241 else
47242   glibcxx_cv_func_log10f_use=no
47243 fi
47244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47245       ac_ext=c
47246 ac_cpp='$CPP $CPPFLAGS'
47247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47250
47251
47252 fi
47253
47254   fi
47255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47256 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47257
47258   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47259     for ac_func in log10f
47260 do :
47261   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47262 if test "x$ac_cv_func_log10f" = x""yes; then :
47263   cat >>confdefs.h <<_ACEOF
47264 #define HAVE_LOG10F 1
47265 _ACEOF
47266
47267 fi
47268 done
47269
47270   else
47271
47272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47273 $as_echo_n "checking for _log10f declaration... " >&6; }
47274   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47275     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47276   $as_echo_n "(cached) " >&6
47277 else
47278
47279
47280       ac_ext=cpp
47281 ac_cpp='$CXXCPP $CPPFLAGS'
47282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47285
47286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47287 /* end confdefs.h.  */
47288 #include <math.h>
47289                       #ifdef HAVE_IEEEFP_H
47290                       #include <ieeefp.h>
47291                       #endif
47292
47293 int
47294 main ()
47295 {
47296  _log10f(0);
47297   ;
47298   return 0;
47299 }
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302   glibcxx_cv_func__log10f_use=yes
47303 else
47304   glibcxx_cv_func__log10f_use=no
47305 fi
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307       ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47312
47313
47314 fi
47315
47316   fi
47317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47318 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47319
47320     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47321       for ac_func in _log10f
47322 do :
47323   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47324 if test "x$ac_cv_func__log10f" = x""yes; then :
47325   cat >>confdefs.h <<_ACEOF
47326 #define HAVE__LOG10F 1
47327 _ACEOF
47328
47329 fi
47330 done
47331
47332     fi
47333   fi
47334
47335
47336
47337
47338
47339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47340 $as_echo_n "checking for modff declaration... " >&6; }
47341   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47342     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47343   $as_echo_n "(cached) " >&6
47344 else
47345
47346
47347       ac_ext=cpp
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47352
47353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354 /* end confdefs.h.  */
47355 #include <math.h>
47356 int
47357 main ()
47358 {
47359  modff(0, 0);
47360   ;
47361   return 0;
47362 }
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365   glibcxx_cv_func_modff_use=yes
47366 else
47367   glibcxx_cv_func_modff_use=no
47368 fi
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370       ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375
47376
47377 fi
47378
47379   fi
47380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47381 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47382
47383   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47384     for ac_func in modff
47385 do :
47386   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47387 if test "x$ac_cv_func_modff" = x""yes; then :
47388   cat >>confdefs.h <<_ACEOF
47389 #define HAVE_MODFF 1
47390 _ACEOF
47391
47392 fi
47393 done
47394
47395   else
47396
47397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47398 $as_echo_n "checking for _modff declaration... " >&6; }
47399   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47400     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47401   $as_echo_n "(cached) " >&6
47402 else
47403
47404
47405       ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47410
47411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h.  */
47413 #include <math.h>
47414 int
47415 main ()
47416 {
47417  _modff(0, 0);
47418   ;
47419   return 0;
47420 }
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423   glibcxx_cv_func__modff_use=yes
47424 else
47425   glibcxx_cv_func__modff_use=no
47426 fi
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428       ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433
47434
47435 fi
47436
47437   fi
47438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47439 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47440
47441     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47442       for ac_func in _modff
47443 do :
47444   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47445 if test "x$ac_cv_func__modff" = x""yes; then :
47446   cat >>confdefs.h <<_ACEOF
47447 #define HAVE__MODFF 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453     fi
47454   fi
47455
47456
47457
47458
47459
47460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47461 $as_echo_n "checking for modf declaration... " >&6; }
47462   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47463     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47464   $as_echo_n "(cached) " >&6
47465 else
47466
47467
47468       ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473
47474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h.  */
47476 #include <math.h>
47477 int
47478 main ()
47479 {
47480  modf(0, 0);
47481   ;
47482   return 0;
47483 }
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486   glibcxx_cv_func_modf_use=yes
47487 else
47488   glibcxx_cv_func_modf_use=no
47489 fi
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491       ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47496
47497
47498 fi
47499
47500   fi
47501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47502 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47503
47504   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47505     for ac_func in modf
47506 do :
47507   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47508 if test "x$ac_cv_func_modf" = x""yes; then :
47509   cat >>confdefs.h <<_ACEOF
47510 #define HAVE_MODF 1
47511 _ACEOF
47512
47513 fi
47514 done
47515
47516   else
47517
47518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47519 $as_echo_n "checking for _modf declaration... " >&6; }
47520   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47521     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47522   $as_echo_n "(cached) " >&6
47523 else
47524
47525
47526       ac_ext=cpp
47527 ac_cpp='$CXXCPP $CPPFLAGS'
47528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47531
47532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47533 /* end confdefs.h.  */
47534 #include <math.h>
47535 int
47536 main ()
47537 {
47538  _modf(0, 0);
47539   ;
47540   return 0;
47541 }
47542 _ACEOF
47543 if ac_fn_cxx_try_compile "$LINENO"; then :
47544   glibcxx_cv_func__modf_use=yes
47545 else
47546   glibcxx_cv_func__modf_use=no
47547 fi
47548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47549       ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554
47555
47556 fi
47557
47558   fi
47559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47560 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47561
47562     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47563       for ac_func in _modf
47564 do :
47565   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47566 if test "x$ac_cv_func__modf" = x""yes; then :
47567   cat >>confdefs.h <<_ACEOF
47568 #define HAVE__MODF 1
47569 _ACEOF
47570
47571 fi
47572 done
47573
47574     fi
47575   fi
47576
47577
47578
47579
47580
47581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47582 $as_echo_n "checking for powf declaration... " >&6; }
47583   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47584     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47585   $as_echo_n "(cached) " >&6
47586 else
47587
47588
47589       ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47594
47595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h.  */
47597 #include <math.h>
47598 int
47599 main ()
47600 {
47601  powf(0, 0);
47602   ;
47603   return 0;
47604 }
47605 _ACEOF
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607   glibcxx_cv_func_powf_use=yes
47608 else
47609   glibcxx_cv_func_powf_use=no
47610 fi
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47612       ac_ext=c
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47617
47618
47619 fi
47620
47621   fi
47622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47623 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47624
47625   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47626     for ac_func in powf
47627 do :
47628   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47629 if test "x$ac_cv_func_powf" = x""yes; then :
47630   cat >>confdefs.h <<_ACEOF
47631 #define HAVE_POWF 1
47632 _ACEOF
47633
47634 fi
47635 done
47636
47637   else
47638
47639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47640 $as_echo_n "checking for _powf declaration... " >&6; }
47641   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47642     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47643   $as_echo_n "(cached) " >&6
47644 else
47645
47646
47647       ac_ext=cpp
47648 ac_cpp='$CXXCPP $CPPFLAGS'
47649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47652
47653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47654 /* end confdefs.h.  */
47655 #include <math.h>
47656 int
47657 main ()
47658 {
47659  _powf(0, 0);
47660   ;
47661   return 0;
47662 }
47663 _ACEOF
47664 if ac_fn_cxx_try_compile "$LINENO"; then :
47665   glibcxx_cv_func__powf_use=yes
47666 else
47667   glibcxx_cv_func__powf_use=no
47668 fi
47669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47670       ac_ext=c
47671 ac_cpp='$CPP $CPPFLAGS'
47672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47675
47676
47677 fi
47678
47679   fi
47680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47681 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47682
47683     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47684       for ac_func in _powf
47685 do :
47686   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47687 if test "x$ac_cv_func__powf" = x""yes; then :
47688   cat >>confdefs.h <<_ACEOF
47689 #define HAVE__POWF 1
47690 _ACEOF
47691
47692 fi
47693 done
47694
47695     fi
47696   fi
47697
47698
47699
47700
47701
47702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47703 $as_echo_n "checking for sqrtf declaration... " >&6; }
47704   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47705     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47706   $as_echo_n "(cached) " >&6
47707 else
47708
47709
47710       ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47715
47716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h.  */
47718 #include <math.h>
47719                       #ifdef HAVE_IEEEFP_H
47720                       #include <ieeefp.h>
47721                       #endif
47722
47723 int
47724 main ()
47725 {
47726  sqrtf(0);
47727   ;
47728   return 0;
47729 }
47730 _ACEOF
47731 if ac_fn_cxx_try_compile "$LINENO"; then :
47732   glibcxx_cv_func_sqrtf_use=yes
47733 else
47734   glibcxx_cv_func_sqrtf_use=no
47735 fi
47736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47737       ac_ext=c
47738 ac_cpp='$CPP $CPPFLAGS'
47739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47742
47743
47744 fi
47745
47746   fi
47747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47748 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47749
47750   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47751     for ac_func in sqrtf
47752 do :
47753   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47754 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47755   cat >>confdefs.h <<_ACEOF
47756 #define HAVE_SQRTF 1
47757 _ACEOF
47758
47759 fi
47760 done
47761
47762   else
47763
47764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47765 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47766   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47767     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47768   $as_echo_n "(cached) " >&6
47769 else
47770
47771
47772       ac_ext=cpp
47773 ac_cpp='$CXXCPP $CPPFLAGS'
47774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777
47778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47779 /* end confdefs.h.  */
47780 #include <math.h>
47781                       #ifdef HAVE_IEEEFP_H
47782                       #include <ieeefp.h>
47783                       #endif
47784
47785 int
47786 main ()
47787 {
47788  _sqrtf(0);
47789   ;
47790   return 0;
47791 }
47792 _ACEOF
47793 if ac_fn_cxx_try_compile "$LINENO"; then :
47794   glibcxx_cv_func__sqrtf_use=yes
47795 else
47796   glibcxx_cv_func__sqrtf_use=no
47797 fi
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47799       ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804
47805
47806 fi
47807
47808   fi
47809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47810 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47811
47812     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47813       for ac_func in _sqrtf
47814 do :
47815   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47816 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47817   cat >>confdefs.h <<_ACEOF
47818 #define HAVE__SQRTF 1
47819 _ACEOF
47820
47821 fi
47822 done
47823
47824     fi
47825   fi
47826
47827
47828
47829
47830
47831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47832 $as_echo_n "checking for sincosf declaration... " >&6; }
47833   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47834     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47835   $as_echo_n "(cached) " >&6
47836 else
47837
47838
47839       ac_ext=cpp
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844
47845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47846 /* end confdefs.h.  */
47847 #include <math.h>
47848 int
47849 main ()
47850 {
47851  sincosf(0, 0, 0);
47852   ;
47853   return 0;
47854 }
47855 _ACEOF
47856 if ac_fn_cxx_try_compile "$LINENO"; then :
47857   glibcxx_cv_func_sincosf_use=yes
47858 else
47859   glibcxx_cv_func_sincosf_use=no
47860 fi
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47862       ac_ext=c
47863 ac_cpp='$CPP $CPPFLAGS'
47864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47867
47868
47869 fi
47870
47871   fi
47872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47873 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47874
47875   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47876     for ac_func in sincosf
47877 do :
47878   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47879 if test "x$ac_cv_func_sincosf" = x""yes; then :
47880   cat >>confdefs.h <<_ACEOF
47881 #define HAVE_SINCOSF 1
47882 _ACEOF
47883
47884 fi
47885 done
47886
47887   else
47888
47889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47890 $as_echo_n "checking for _sincosf declaration... " >&6; }
47891   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47892     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47893   $as_echo_n "(cached) " >&6
47894 else
47895
47896
47897       ac_ext=cpp
47898 ac_cpp='$CXXCPP $CPPFLAGS'
47899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47902
47903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47904 /* end confdefs.h.  */
47905 #include <math.h>
47906 int
47907 main ()
47908 {
47909  _sincosf(0, 0, 0);
47910   ;
47911   return 0;
47912 }
47913 _ACEOF
47914 if ac_fn_cxx_try_compile "$LINENO"; then :
47915   glibcxx_cv_func__sincosf_use=yes
47916 else
47917   glibcxx_cv_func__sincosf_use=no
47918 fi
47919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47920       ac_ext=c
47921 ac_cpp='$CPP $CPPFLAGS'
47922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47925
47926
47927 fi
47928
47929   fi
47930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47931 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47932
47933     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47934       for ac_func in _sincosf
47935 do :
47936   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47937 if test "x$ac_cv_func__sincosf" = x""yes; then :
47938   cat >>confdefs.h <<_ACEOF
47939 #define HAVE__SINCOSF 1
47940 _ACEOF
47941
47942 fi
47943 done
47944
47945     fi
47946   fi
47947
47948
47949
47950
47951
47952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47953 $as_echo_n "checking for finitef declaration... " >&6; }
47954   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47955     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47956   $as_echo_n "(cached) " >&6
47957 else
47958
47959
47960       ac_ext=cpp
47961 ac_cpp='$CXXCPP $CPPFLAGS'
47962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47965
47966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47967 /* end confdefs.h.  */
47968 #include <math.h>
47969                       #ifdef HAVE_IEEEFP_H
47970                       #include <ieeefp.h>
47971                       #endif
47972
47973 int
47974 main ()
47975 {
47976  finitef(0);
47977   ;
47978   return 0;
47979 }
47980 _ACEOF
47981 if ac_fn_cxx_try_compile "$LINENO"; then :
47982   glibcxx_cv_func_finitef_use=yes
47983 else
47984   glibcxx_cv_func_finitef_use=no
47985 fi
47986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47987       ac_ext=c
47988 ac_cpp='$CPP $CPPFLAGS'
47989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47992
47993
47994 fi
47995
47996   fi
47997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47998 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47999
48000   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48001     for ac_func in finitef
48002 do :
48003   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48004 if test "x$ac_cv_func_finitef" = x""yes; then :
48005   cat >>confdefs.h <<_ACEOF
48006 #define HAVE_FINITEF 1
48007 _ACEOF
48008
48009 fi
48010 done
48011
48012   else
48013
48014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48015 $as_echo_n "checking for _finitef declaration... " >&6; }
48016   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48017     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48018   $as_echo_n "(cached) " >&6
48019 else
48020
48021
48022       ac_ext=cpp
48023 ac_cpp='$CXXCPP $CPPFLAGS'
48024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48027
48028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48029 /* end confdefs.h.  */
48030 #include <math.h>
48031                       #ifdef HAVE_IEEEFP_H
48032                       #include <ieeefp.h>
48033                       #endif
48034
48035 int
48036 main ()
48037 {
48038  _finitef(0);
48039   ;
48040   return 0;
48041 }
48042 _ACEOF
48043 if ac_fn_cxx_try_compile "$LINENO"; then :
48044   glibcxx_cv_func__finitef_use=yes
48045 else
48046   glibcxx_cv_func__finitef_use=no
48047 fi
48048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48049       ac_ext=c
48050 ac_cpp='$CPP $CPPFLAGS'
48051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054
48055
48056 fi
48057
48058   fi
48059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48060 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48061
48062     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48063       for ac_func in _finitef
48064 do :
48065   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48066 if test "x$ac_cv_func__finitef" = x""yes; then :
48067   cat >>confdefs.h <<_ACEOF
48068 #define HAVE__FINITEF 1
48069 _ACEOF
48070
48071 fi
48072 done
48073
48074     fi
48075   fi
48076
48077
48078
48079
48080
48081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48082 $as_echo_n "checking for long double trig functions... " >&6; }
48083   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48084   $as_echo_n "(cached) " >&6
48085 else
48086
48087
48088     ac_ext=cpp
48089 ac_cpp='$CXXCPP $CPPFLAGS'
48090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48093
48094     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48095 /* end confdefs.h.  */
48096 #include <math.h>
48097 int
48098 main ()
48099 {
48100 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48101   ;
48102   return 0;
48103 }
48104 _ACEOF
48105 if ac_fn_cxx_try_compile "$LINENO"; then :
48106   glibcxx_cv_func_long_double_trig_use=yes
48107 else
48108   glibcxx_cv_func_long_double_trig_use=no
48109 fi
48110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48111     ac_ext=c
48112 ac_cpp='$CPP $CPPFLAGS'
48113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48116
48117 fi
48118
48119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48120 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48121   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48122     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48123 do :
48124   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48126 eval as_val=\$$as_ac_var
48127    if test "x$as_val" = x""yes; then :
48128   cat >>confdefs.h <<_ACEOF
48129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48130 _ACEOF
48131
48132 fi
48133 done
48134
48135   else
48136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48137 $as_echo_n "checking for _long double trig functions... " >&6; }
48138     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48139   $as_echo_n "(cached) " >&6
48140 else
48141
48142
48143       ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148
48149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h.  */
48151 #include <math.h>
48152 int
48153 main ()
48154 {
48155 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48156   ;
48157   return 0;
48158 }
48159 _ACEOF
48160 if ac_fn_cxx_try_compile "$LINENO"; then :
48161   glibcxx_cv_func__long_double_trig_use=yes
48162 else
48163   glibcxx_cv_func__long_double_trig_use=no
48164 fi
48165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48166       ac_ext=c
48167 ac_cpp='$CPP $CPPFLAGS'
48168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48171
48172 fi
48173
48174     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48175 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48176     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48177       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48178 do :
48179   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48181 eval as_val=\$$as_ac_var
48182    if test "x$as_val" = x""yes; then :
48183   cat >>confdefs.h <<_ACEOF
48184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48185 _ACEOF
48186
48187 fi
48188 done
48189
48190     fi
48191   fi
48192
48193
48194
48195
48196
48197     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48198 $as_echo_n "checking for long double round functions... " >&6; }
48199   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48200   $as_echo_n "(cached) " >&6
48201 else
48202
48203
48204     ac_ext=cpp
48205 ac_cpp='$CXXCPP $CPPFLAGS'
48206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48209
48210     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48211 /* end confdefs.h.  */
48212 #include <math.h>
48213 int
48214 main ()
48215 {
48216 ceill (0); floorl (0);
48217   ;
48218   return 0;
48219 }
48220 _ACEOF
48221 if ac_fn_cxx_try_compile "$LINENO"; then :
48222   glibcxx_cv_func_long_double_round_use=yes
48223 else
48224   glibcxx_cv_func_long_double_round_use=no
48225 fi
48226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48227     ac_ext=c
48228 ac_cpp='$CPP $CPPFLAGS'
48229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48232
48233 fi
48234
48235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48236 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48237   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48238     for ac_func in ceill floorl
48239 do :
48240   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48242 eval as_val=\$$as_ac_var
48243    if test "x$as_val" = x""yes; then :
48244   cat >>confdefs.h <<_ACEOF
48245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48246 _ACEOF
48247
48248 fi
48249 done
48250
48251   else
48252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48253 $as_echo_n "checking for _long double round functions... " >&6; }
48254     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48255   $as_echo_n "(cached) " >&6
48256 else
48257
48258
48259       ac_ext=cpp
48260 ac_cpp='$CXXCPP $CPPFLAGS'
48261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48264
48265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48266 /* end confdefs.h.  */
48267 #include <math.h>
48268 int
48269 main ()
48270 {
48271 _ceill (0); _floorl (0);
48272   ;
48273   return 0;
48274 }
48275 _ACEOF
48276 if ac_fn_cxx_try_compile "$LINENO"; then :
48277   glibcxx_cv_func__long_double_round_use=yes
48278 else
48279   glibcxx_cv_func__long_double_round_use=no
48280 fi
48281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48282       ac_ext=c
48283 ac_cpp='$CPP $CPPFLAGS'
48284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48287
48288 fi
48289
48290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48291 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48292     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48293       for ac_func in _ceill _floorl
48294 do :
48295   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48297 eval as_val=\$$as_ac_var
48298    if test "x$as_val" = x""yes; then :
48299   cat >>confdefs.h <<_ACEOF
48300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48301 _ACEOF
48302
48303 fi
48304 done
48305
48306     fi
48307   fi
48308
48309
48310
48311
48312
48313
48314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48315 $as_echo_n "checking for isnanl declaration... " >&6; }
48316   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48317     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48318   $as_echo_n "(cached) " >&6
48319 else
48320
48321
48322       ac_ext=cpp
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327
48328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h.  */
48330 #include <math.h>
48331                       #ifdef HAVE_IEEEFP_H
48332                       #include <ieeefp.h>
48333                       #endif
48334
48335 int
48336 main ()
48337 {
48338  isnanl(0);
48339   ;
48340   return 0;
48341 }
48342 _ACEOF
48343 if ac_fn_cxx_try_compile "$LINENO"; then :
48344   glibcxx_cv_func_isnanl_use=yes
48345 else
48346   glibcxx_cv_func_isnanl_use=no
48347 fi
48348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48349       ac_ext=c
48350 ac_cpp='$CPP $CPPFLAGS'
48351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354
48355
48356 fi
48357
48358   fi
48359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48360 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48361
48362   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48363     for ac_func in isnanl
48364 do :
48365   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48366 if test "x$ac_cv_func_isnanl" = x""yes; then :
48367   cat >>confdefs.h <<_ACEOF
48368 #define HAVE_ISNANL 1
48369 _ACEOF
48370
48371 fi
48372 done
48373
48374   else
48375
48376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48377 $as_echo_n "checking for _isnanl declaration... " >&6; }
48378   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48379     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48380   $as_echo_n "(cached) " >&6
48381 else
48382
48383
48384       ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48389
48390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h.  */
48392 #include <math.h>
48393                       #ifdef HAVE_IEEEFP_H
48394                       #include <ieeefp.h>
48395                       #endif
48396
48397 int
48398 main ()
48399 {
48400  _isnanl(0);
48401   ;
48402   return 0;
48403 }
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406   glibcxx_cv_func__isnanl_use=yes
48407 else
48408   glibcxx_cv_func__isnanl_use=no
48409 fi
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411       ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48416
48417
48418 fi
48419
48420   fi
48421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48422 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48423
48424     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48425       for ac_func in _isnanl
48426 do :
48427   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48428 if test "x$ac_cv_func__isnanl" = x""yes; then :
48429   cat >>confdefs.h <<_ACEOF
48430 #define HAVE__ISNANL 1
48431 _ACEOF
48432
48433 fi
48434 done
48435
48436     fi
48437   fi
48438
48439
48440
48441
48442
48443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48444 $as_echo_n "checking for isinfl declaration... " >&6; }
48445   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48446     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48447   $as_echo_n "(cached) " >&6
48448 else
48449
48450
48451       ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456
48457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h.  */
48459 #include <math.h>
48460                       #ifdef HAVE_IEEEFP_H
48461                       #include <ieeefp.h>
48462                       #endif
48463
48464 int
48465 main ()
48466 {
48467  isinfl(0);
48468   ;
48469   return 0;
48470 }
48471 _ACEOF
48472 if ac_fn_cxx_try_compile "$LINENO"; then :
48473   glibcxx_cv_func_isinfl_use=yes
48474 else
48475   glibcxx_cv_func_isinfl_use=no
48476 fi
48477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48478       ac_ext=c
48479 ac_cpp='$CPP $CPPFLAGS'
48480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48483
48484
48485 fi
48486
48487   fi
48488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48489 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48490
48491   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48492     for ac_func in isinfl
48493 do :
48494   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48495 if test "x$ac_cv_func_isinfl" = x""yes; then :
48496   cat >>confdefs.h <<_ACEOF
48497 #define HAVE_ISINFL 1
48498 _ACEOF
48499
48500 fi
48501 done
48502
48503   else
48504
48505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48506 $as_echo_n "checking for _isinfl declaration... " >&6; }
48507   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48508     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48509   $as_echo_n "(cached) " >&6
48510 else
48511
48512
48513       ac_ext=cpp
48514 ac_cpp='$CXXCPP $CPPFLAGS'
48515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518
48519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48520 /* end confdefs.h.  */
48521 #include <math.h>
48522                       #ifdef HAVE_IEEEFP_H
48523                       #include <ieeefp.h>
48524                       #endif
48525
48526 int
48527 main ()
48528 {
48529  _isinfl(0);
48530   ;
48531   return 0;
48532 }
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535   glibcxx_cv_func__isinfl_use=yes
48536 else
48537   glibcxx_cv_func__isinfl_use=no
48538 fi
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540       ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48545
48546
48547 fi
48548
48549   fi
48550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48551 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48552
48553     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48554       for ac_func in _isinfl
48555 do :
48556   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48557 if test "x$ac_cv_func__isinfl" = x""yes; then :
48558   cat >>confdefs.h <<_ACEOF
48559 #define HAVE__ISINFL 1
48560 _ACEOF
48561
48562 fi
48563 done
48564
48565     fi
48566   fi
48567
48568
48569
48570
48571
48572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48573 $as_echo_n "checking for atan2l declaration... " >&6; }
48574   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48575     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48576   $as_echo_n "(cached) " >&6
48577 else
48578
48579
48580       ac_ext=cpp
48581 ac_cpp='$CXXCPP $CPPFLAGS'
48582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585
48586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587 /* end confdefs.h.  */
48588 #include <math.h>
48589 int
48590 main ()
48591 {
48592  atan2l(0, 0);
48593   ;
48594   return 0;
48595 }
48596 _ACEOF
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598   glibcxx_cv_func_atan2l_use=yes
48599 else
48600   glibcxx_cv_func_atan2l_use=no
48601 fi
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603       ac_ext=c
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608
48609
48610 fi
48611
48612   fi
48613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48614 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48615
48616   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48617     for ac_func in atan2l
48618 do :
48619   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48620 if test "x$ac_cv_func_atan2l" = x""yes; then :
48621   cat >>confdefs.h <<_ACEOF
48622 #define HAVE_ATAN2L 1
48623 _ACEOF
48624
48625 fi
48626 done
48627
48628   else
48629
48630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48631 $as_echo_n "checking for _atan2l declaration... " >&6; }
48632   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48633     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48634   $as_echo_n "(cached) " >&6
48635 else
48636
48637
48638       ac_ext=cpp
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643
48644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48645 /* end confdefs.h.  */
48646 #include <math.h>
48647 int
48648 main ()
48649 {
48650  _atan2l(0, 0);
48651   ;
48652   return 0;
48653 }
48654 _ACEOF
48655 if ac_fn_cxx_try_compile "$LINENO"; then :
48656   glibcxx_cv_func__atan2l_use=yes
48657 else
48658   glibcxx_cv_func__atan2l_use=no
48659 fi
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661       ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666
48667
48668 fi
48669
48670   fi
48671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48672 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48673
48674     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48675       for ac_func in _atan2l
48676 do :
48677   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48678 if test "x$ac_cv_func__atan2l" = x""yes; then :
48679   cat >>confdefs.h <<_ACEOF
48680 #define HAVE__ATAN2L 1
48681 _ACEOF
48682
48683 fi
48684 done
48685
48686     fi
48687   fi
48688
48689
48690
48691
48692
48693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48694 $as_echo_n "checking for expl declaration... " >&6; }
48695   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48696     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48697   $as_echo_n "(cached) " >&6
48698 else
48699
48700
48701       ac_ext=cpp
48702 ac_cpp='$CXXCPP $CPPFLAGS'
48703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706
48707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48708 /* end confdefs.h.  */
48709 #include <math.h>
48710                       #ifdef HAVE_IEEEFP_H
48711                       #include <ieeefp.h>
48712                       #endif
48713
48714 int
48715 main ()
48716 {
48717  expl(0);
48718   ;
48719   return 0;
48720 }
48721 _ACEOF
48722 if ac_fn_cxx_try_compile "$LINENO"; then :
48723   glibcxx_cv_func_expl_use=yes
48724 else
48725   glibcxx_cv_func_expl_use=no
48726 fi
48727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48728       ac_ext=c
48729 ac_cpp='$CPP $CPPFLAGS'
48730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48733
48734
48735 fi
48736
48737   fi
48738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48739 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48740
48741   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48742     for ac_func in expl
48743 do :
48744   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48745 if test "x$ac_cv_func_expl" = x""yes; then :
48746   cat >>confdefs.h <<_ACEOF
48747 #define HAVE_EXPL 1
48748 _ACEOF
48749
48750 fi
48751 done
48752
48753   else
48754
48755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48756 $as_echo_n "checking for _expl declaration... " >&6; }
48757   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48758     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48759   $as_echo_n "(cached) " >&6
48760 else
48761
48762
48763       ac_ext=cpp
48764 ac_cpp='$CXXCPP $CPPFLAGS'
48765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768
48769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48770 /* end confdefs.h.  */
48771 #include <math.h>
48772                       #ifdef HAVE_IEEEFP_H
48773                       #include <ieeefp.h>
48774                       #endif
48775
48776 int
48777 main ()
48778 {
48779  _expl(0);
48780   ;
48781   return 0;
48782 }
48783 _ACEOF
48784 if ac_fn_cxx_try_compile "$LINENO"; then :
48785   glibcxx_cv_func__expl_use=yes
48786 else
48787   glibcxx_cv_func__expl_use=no
48788 fi
48789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48790       ac_ext=c
48791 ac_cpp='$CPP $CPPFLAGS'
48792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48795
48796
48797 fi
48798
48799   fi
48800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48801 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48802
48803     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48804       for ac_func in _expl
48805 do :
48806   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48807 if test "x$ac_cv_func__expl" = x""yes; then :
48808   cat >>confdefs.h <<_ACEOF
48809 #define HAVE__EXPL 1
48810 _ACEOF
48811
48812 fi
48813 done
48814
48815     fi
48816   fi
48817
48818
48819
48820
48821
48822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48823 $as_echo_n "checking for fabsl declaration... " >&6; }
48824   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48825     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48826   $as_echo_n "(cached) " >&6
48827 else
48828
48829
48830       ac_ext=cpp
48831 ac_cpp='$CXXCPP $CPPFLAGS'
48832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48835
48836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48837 /* end confdefs.h.  */
48838 #include <math.h>
48839                       #ifdef HAVE_IEEEFP_H
48840                       #include <ieeefp.h>
48841                       #endif
48842
48843 int
48844 main ()
48845 {
48846  fabsl(0);
48847   ;
48848   return 0;
48849 }
48850 _ACEOF
48851 if ac_fn_cxx_try_compile "$LINENO"; then :
48852   glibcxx_cv_func_fabsl_use=yes
48853 else
48854   glibcxx_cv_func_fabsl_use=no
48855 fi
48856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48857       ac_ext=c
48858 ac_cpp='$CPP $CPPFLAGS'
48859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48862
48863
48864 fi
48865
48866   fi
48867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48868 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48869
48870   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48871     for ac_func in fabsl
48872 do :
48873   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48874 if test "x$ac_cv_func_fabsl" = x""yes; then :
48875   cat >>confdefs.h <<_ACEOF
48876 #define HAVE_FABSL 1
48877 _ACEOF
48878
48879 fi
48880 done
48881
48882   else
48883
48884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48885 $as_echo_n "checking for _fabsl declaration... " >&6; }
48886   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48887     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48888   $as_echo_n "(cached) " >&6
48889 else
48890
48891
48892       ac_ext=cpp
48893 ac_cpp='$CXXCPP $CPPFLAGS'
48894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48897
48898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48899 /* end confdefs.h.  */
48900 #include <math.h>
48901                       #ifdef HAVE_IEEEFP_H
48902                       #include <ieeefp.h>
48903                       #endif
48904
48905 int
48906 main ()
48907 {
48908  _fabsl(0);
48909   ;
48910   return 0;
48911 }
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914   glibcxx_cv_func__fabsl_use=yes
48915 else
48916   glibcxx_cv_func__fabsl_use=no
48917 fi
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919       ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48924
48925
48926 fi
48927
48928   fi
48929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48930 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48931
48932     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48933       for ac_func in _fabsl
48934 do :
48935   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48936 if test "x$ac_cv_func__fabsl" = x""yes; then :
48937   cat >>confdefs.h <<_ACEOF
48938 #define HAVE__FABSL 1
48939 _ACEOF
48940
48941 fi
48942 done
48943
48944     fi
48945   fi
48946
48947
48948
48949
48950
48951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48952 $as_echo_n "checking for fmodl declaration... " >&6; }
48953   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48954     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48955   $as_echo_n "(cached) " >&6
48956 else
48957
48958
48959       ac_ext=cpp
48960 ac_cpp='$CXXCPP $CPPFLAGS'
48961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48964
48965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48966 /* end confdefs.h.  */
48967 #include <math.h>
48968 int
48969 main ()
48970 {
48971  fmodl(0, 0);
48972   ;
48973   return 0;
48974 }
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977   glibcxx_cv_func_fmodl_use=yes
48978 else
48979   glibcxx_cv_func_fmodl_use=no
48980 fi
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982       ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48987
48988
48989 fi
48990
48991   fi
48992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48993 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48994
48995   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48996     for ac_func in fmodl
48997 do :
48998   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48999 if test "x$ac_cv_func_fmodl" = x""yes; then :
49000   cat >>confdefs.h <<_ACEOF
49001 #define HAVE_FMODL 1
49002 _ACEOF
49003
49004 fi
49005 done
49006
49007   else
49008
49009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49010 $as_echo_n "checking for _fmodl declaration... " >&6; }
49011   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49012     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49013   $as_echo_n "(cached) " >&6
49014 else
49015
49016
49017       ac_ext=cpp
49018 ac_cpp='$CXXCPP $CPPFLAGS'
49019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022
49023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49024 /* end confdefs.h.  */
49025 #include <math.h>
49026 int
49027 main ()
49028 {
49029  _fmodl(0, 0);
49030   ;
49031   return 0;
49032 }
49033 _ACEOF
49034 if ac_fn_cxx_try_compile "$LINENO"; then :
49035   glibcxx_cv_func__fmodl_use=yes
49036 else
49037   glibcxx_cv_func__fmodl_use=no
49038 fi
49039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49040       ac_ext=c
49041 ac_cpp='$CPP $CPPFLAGS'
49042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045
49046
49047 fi
49048
49049   fi
49050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49051 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49052
49053     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49054       for ac_func in _fmodl
49055 do :
49056   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49057 if test "x$ac_cv_func__fmodl" = x""yes; then :
49058   cat >>confdefs.h <<_ACEOF
49059 #define HAVE__FMODL 1
49060 _ACEOF
49061
49062 fi
49063 done
49064
49065     fi
49066   fi
49067
49068
49069
49070
49071
49072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49073 $as_echo_n "checking for frexpl declaration... " >&6; }
49074   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49075     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49076   $as_echo_n "(cached) " >&6
49077 else
49078
49079
49080       ac_ext=cpp
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49085
49086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h.  */
49088 #include <math.h>
49089 int
49090 main ()
49091 {
49092  frexpl(0, 0);
49093   ;
49094   return 0;
49095 }
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098   glibcxx_cv_func_frexpl_use=yes
49099 else
49100   glibcxx_cv_func_frexpl_use=no
49101 fi
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103       ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108
49109
49110 fi
49111
49112   fi
49113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49114 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49115
49116   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49117     for ac_func in frexpl
49118 do :
49119   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49120 if test "x$ac_cv_func_frexpl" = x""yes; then :
49121   cat >>confdefs.h <<_ACEOF
49122 #define HAVE_FREXPL 1
49123 _ACEOF
49124
49125 fi
49126 done
49127
49128   else
49129
49130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49131 $as_echo_n "checking for _frexpl declaration... " >&6; }
49132   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49133     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49134   $as_echo_n "(cached) " >&6
49135 else
49136
49137
49138       ac_ext=cpp
49139 ac_cpp='$CXXCPP $CPPFLAGS'
49140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49143
49144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49145 /* end confdefs.h.  */
49146 #include <math.h>
49147 int
49148 main ()
49149 {
49150  _frexpl(0, 0);
49151   ;
49152   return 0;
49153 }
49154 _ACEOF
49155 if ac_fn_cxx_try_compile "$LINENO"; then :
49156   glibcxx_cv_func__frexpl_use=yes
49157 else
49158   glibcxx_cv_func__frexpl_use=no
49159 fi
49160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49161       ac_ext=c
49162 ac_cpp='$CPP $CPPFLAGS'
49163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166
49167
49168 fi
49169
49170   fi
49171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49172 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49173
49174     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49175       for ac_func in _frexpl
49176 do :
49177   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49178 if test "x$ac_cv_func__frexpl" = x""yes; then :
49179   cat >>confdefs.h <<_ACEOF
49180 #define HAVE__FREXPL 1
49181 _ACEOF
49182
49183 fi
49184 done
49185
49186     fi
49187   fi
49188
49189
49190
49191
49192
49193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49194 $as_echo_n "checking for hypotl declaration... " >&6; }
49195   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49196     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49197   $as_echo_n "(cached) " >&6
49198 else
49199
49200
49201       ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206
49207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h.  */
49209 #include <math.h>
49210 int
49211 main ()
49212 {
49213  hypotl(0, 0);
49214   ;
49215   return 0;
49216 }
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219   glibcxx_cv_func_hypotl_use=yes
49220 else
49221   glibcxx_cv_func_hypotl_use=no
49222 fi
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224       ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231 fi
49232
49233   fi
49234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49235 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49236
49237   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49238     for ac_func in hypotl
49239 do :
49240   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49241 if test "x$ac_cv_func_hypotl" = x""yes; then :
49242   cat >>confdefs.h <<_ACEOF
49243 #define HAVE_HYPOTL 1
49244 _ACEOF
49245
49246 fi
49247 done
49248
49249   else
49250
49251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49252 $as_echo_n "checking for _hypotl declaration... " >&6; }
49253   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49254     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49255   $as_echo_n "(cached) " >&6
49256 else
49257
49258
49259       ac_ext=cpp
49260 ac_cpp='$CXXCPP $CPPFLAGS'
49261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264
49265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49266 /* end confdefs.h.  */
49267 #include <math.h>
49268 int
49269 main ()
49270 {
49271  _hypotl(0, 0);
49272   ;
49273   return 0;
49274 }
49275 _ACEOF
49276 if ac_fn_cxx_try_compile "$LINENO"; then :
49277   glibcxx_cv_func__hypotl_use=yes
49278 else
49279   glibcxx_cv_func__hypotl_use=no
49280 fi
49281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49282       ac_ext=c
49283 ac_cpp='$CPP $CPPFLAGS'
49284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49287
49288
49289 fi
49290
49291   fi
49292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49293 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49294
49295     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49296       for ac_func in _hypotl
49297 do :
49298   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49299 if test "x$ac_cv_func__hypotl" = x""yes; then :
49300   cat >>confdefs.h <<_ACEOF
49301 #define HAVE__HYPOTL 1
49302 _ACEOF
49303
49304 fi
49305 done
49306
49307     fi
49308   fi
49309
49310
49311
49312
49313
49314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49315 $as_echo_n "checking for ldexpl declaration... " >&6; }
49316   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49317     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49318   $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322       ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h.  */
49330 #include <math.h>
49331 int
49332 main ()
49333 {
49334  ldexpl(0, 0);
49335   ;
49336   return 0;
49337 }
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340   glibcxx_cv_func_ldexpl_use=yes
49341 else
49342   glibcxx_cv_func_ldexpl_use=no
49343 fi
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345       ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350
49351
49352 fi
49353
49354   fi
49355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49356 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49357
49358   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49359     for ac_func in ldexpl
49360 do :
49361   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49362 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49363   cat >>confdefs.h <<_ACEOF
49364 #define HAVE_LDEXPL 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370   else
49371
49372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49373 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49374   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49375     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49376   $as_echo_n "(cached) " >&6
49377 else
49378
49379
49380       ac_ext=cpp
49381 ac_cpp='$CXXCPP $CPPFLAGS'
49382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49385
49386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49387 /* end confdefs.h.  */
49388 #include <math.h>
49389 int
49390 main ()
49391 {
49392  _ldexpl(0, 0);
49393   ;
49394   return 0;
49395 }
49396 _ACEOF
49397 if ac_fn_cxx_try_compile "$LINENO"; then :
49398   glibcxx_cv_func__ldexpl_use=yes
49399 else
49400   glibcxx_cv_func__ldexpl_use=no
49401 fi
49402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49403       ac_ext=c
49404 ac_cpp='$CPP $CPPFLAGS'
49405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408
49409
49410 fi
49411
49412   fi
49413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49414 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49415
49416     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49417       for ac_func in _ldexpl
49418 do :
49419   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49420 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49421   cat >>confdefs.h <<_ACEOF
49422 #define HAVE__LDEXPL 1
49423 _ACEOF
49424
49425 fi
49426 done
49427
49428     fi
49429   fi
49430
49431
49432
49433
49434
49435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49436 $as_echo_n "checking for logl declaration... " >&6; }
49437   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49438     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49439   $as_echo_n "(cached) " >&6
49440 else
49441
49442
49443       ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h.  */
49451 #include <math.h>
49452                       #ifdef HAVE_IEEEFP_H
49453                       #include <ieeefp.h>
49454                       #endif
49455
49456 int
49457 main ()
49458 {
49459  logl(0);
49460   ;
49461   return 0;
49462 }
49463 _ACEOF
49464 if ac_fn_cxx_try_compile "$LINENO"; then :
49465   glibcxx_cv_func_logl_use=yes
49466 else
49467   glibcxx_cv_func_logl_use=no
49468 fi
49469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49470       ac_ext=c
49471 ac_cpp='$CPP $CPPFLAGS'
49472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49475
49476
49477 fi
49478
49479   fi
49480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49481 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49482
49483   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49484     for ac_func in logl
49485 do :
49486   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49487 if test "x$ac_cv_func_logl" = x""yes; then :
49488   cat >>confdefs.h <<_ACEOF
49489 #define HAVE_LOGL 1
49490 _ACEOF
49491
49492 fi
49493 done
49494
49495   else
49496
49497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49498 $as_echo_n "checking for _logl declaration... " >&6; }
49499   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49500     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49501   $as_echo_n "(cached) " >&6
49502 else
49503
49504
49505       ac_ext=cpp
49506 ac_cpp='$CXXCPP $CPPFLAGS'
49507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510
49511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49512 /* end confdefs.h.  */
49513 #include <math.h>
49514                       #ifdef HAVE_IEEEFP_H
49515                       #include <ieeefp.h>
49516                       #endif
49517
49518 int
49519 main ()
49520 {
49521  _logl(0);
49522   ;
49523   return 0;
49524 }
49525 _ACEOF
49526 if ac_fn_cxx_try_compile "$LINENO"; then :
49527   glibcxx_cv_func__logl_use=yes
49528 else
49529   glibcxx_cv_func__logl_use=no
49530 fi
49531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49532       ac_ext=c
49533 ac_cpp='$CPP $CPPFLAGS'
49534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49537
49538
49539 fi
49540
49541   fi
49542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49543 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49544
49545     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49546       for ac_func in _logl
49547 do :
49548   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49549 if test "x$ac_cv_func__logl" = x""yes; then :
49550   cat >>confdefs.h <<_ACEOF
49551 #define HAVE__LOGL 1
49552 _ACEOF
49553
49554 fi
49555 done
49556
49557     fi
49558   fi
49559
49560
49561
49562
49563
49564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49565 $as_echo_n "checking for log10l declaration... " >&6; }
49566   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49567     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49568   $as_echo_n "(cached) " >&6
49569 else
49570
49571
49572       ac_ext=cpp
49573 ac_cpp='$CXXCPP $CPPFLAGS'
49574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49577
49578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49579 /* end confdefs.h.  */
49580 #include <math.h>
49581                       #ifdef HAVE_IEEEFP_H
49582                       #include <ieeefp.h>
49583                       #endif
49584
49585 int
49586 main ()
49587 {
49588  log10l(0);
49589   ;
49590   return 0;
49591 }
49592 _ACEOF
49593 if ac_fn_cxx_try_compile "$LINENO"; then :
49594   glibcxx_cv_func_log10l_use=yes
49595 else
49596   glibcxx_cv_func_log10l_use=no
49597 fi
49598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49599       ac_ext=c
49600 ac_cpp='$CPP $CPPFLAGS'
49601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49604
49605
49606 fi
49607
49608   fi
49609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49610 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49611
49612   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49613     for ac_func in log10l
49614 do :
49615   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49616 if test "x$ac_cv_func_log10l" = x""yes; then :
49617   cat >>confdefs.h <<_ACEOF
49618 #define HAVE_LOG10L 1
49619 _ACEOF
49620
49621 fi
49622 done
49623
49624   else
49625
49626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49627 $as_echo_n "checking for _log10l declaration... " >&6; }
49628   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49629     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49630   $as_echo_n "(cached) " >&6
49631 else
49632
49633
49634       ac_ext=cpp
49635 ac_cpp='$CXXCPP $CPPFLAGS'
49636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49639
49640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49641 /* end confdefs.h.  */
49642 #include <math.h>
49643                       #ifdef HAVE_IEEEFP_H
49644                       #include <ieeefp.h>
49645                       #endif
49646
49647 int
49648 main ()
49649 {
49650  _log10l(0);
49651   ;
49652   return 0;
49653 }
49654 _ACEOF
49655 if ac_fn_cxx_try_compile "$LINENO"; then :
49656   glibcxx_cv_func__log10l_use=yes
49657 else
49658   glibcxx_cv_func__log10l_use=no
49659 fi
49660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49661       ac_ext=c
49662 ac_cpp='$CPP $CPPFLAGS'
49663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666
49667
49668 fi
49669
49670   fi
49671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49672 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49673
49674     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49675       for ac_func in _log10l
49676 do :
49677   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49678 if test "x$ac_cv_func__log10l" = x""yes; then :
49679   cat >>confdefs.h <<_ACEOF
49680 #define HAVE__LOG10L 1
49681 _ACEOF
49682
49683 fi
49684 done
49685
49686     fi
49687   fi
49688
49689
49690
49691
49692
49693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49694 $as_echo_n "checking for modfl declaration... " >&6; }
49695   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49696     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49697   $as_echo_n "(cached) " >&6
49698 else
49699
49700
49701       ac_ext=cpp
49702 ac_cpp='$CXXCPP $CPPFLAGS'
49703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49706
49707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49708 /* end confdefs.h.  */
49709 #include <math.h>
49710 int
49711 main ()
49712 {
49713  modfl(0, 0);
49714   ;
49715   return 0;
49716 }
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719   glibcxx_cv_func_modfl_use=yes
49720 else
49721   glibcxx_cv_func_modfl_use=no
49722 fi
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724       ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49729
49730
49731 fi
49732
49733   fi
49734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49735 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49736
49737   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49738     for ac_func in modfl
49739 do :
49740   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49741 if test "x$ac_cv_func_modfl" = x""yes; then :
49742   cat >>confdefs.h <<_ACEOF
49743 #define HAVE_MODFL 1
49744 _ACEOF
49745
49746 fi
49747 done
49748
49749   else
49750
49751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49752 $as_echo_n "checking for _modfl declaration... " >&6; }
49753   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49754     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49755   $as_echo_n "(cached) " >&6
49756 else
49757
49758
49759       ac_ext=cpp
49760 ac_cpp='$CXXCPP $CPPFLAGS'
49761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764
49765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49766 /* end confdefs.h.  */
49767 #include <math.h>
49768 int
49769 main ()
49770 {
49771  _modfl(0, 0);
49772   ;
49773   return 0;
49774 }
49775 _ACEOF
49776 if ac_fn_cxx_try_compile "$LINENO"; then :
49777   glibcxx_cv_func__modfl_use=yes
49778 else
49779   glibcxx_cv_func__modfl_use=no
49780 fi
49781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49782       ac_ext=c
49783 ac_cpp='$CPP $CPPFLAGS'
49784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787
49788
49789 fi
49790
49791   fi
49792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49793 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49794
49795     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49796       for ac_func in _modfl
49797 do :
49798   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49799 if test "x$ac_cv_func__modfl" = x""yes; then :
49800   cat >>confdefs.h <<_ACEOF
49801 #define HAVE__MODFL 1
49802 _ACEOF
49803
49804 fi
49805 done
49806
49807     fi
49808   fi
49809
49810
49811
49812
49813
49814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49815 $as_echo_n "checking for powl declaration... " >&6; }
49816   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49817     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49818   $as_echo_n "(cached) " >&6
49819 else
49820
49821
49822       ac_ext=cpp
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49827
49828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h.  */
49830 #include <math.h>
49831 int
49832 main ()
49833 {
49834  powl(0, 0);
49835   ;
49836   return 0;
49837 }
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840   glibcxx_cv_func_powl_use=yes
49841 else
49842   glibcxx_cv_func_powl_use=no
49843 fi
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845       ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49850
49851
49852 fi
49853
49854   fi
49855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49856 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49857
49858   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49859     for ac_func in powl
49860 do :
49861   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49862 if test "x$ac_cv_func_powl" = x""yes; then :
49863   cat >>confdefs.h <<_ACEOF
49864 #define HAVE_POWL 1
49865 _ACEOF
49866
49867 fi
49868 done
49869
49870   else
49871
49872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49873 $as_echo_n "checking for _powl declaration... " >&6; }
49874   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49875     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49876   $as_echo_n "(cached) " >&6
49877 else
49878
49879
49880       ac_ext=cpp
49881 ac_cpp='$CXXCPP $CPPFLAGS'
49882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49885
49886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49887 /* end confdefs.h.  */
49888 #include <math.h>
49889 int
49890 main ()
49891 {
49892  _powl(0, 0);
49893   ;
49894   return 0;
49895 }
49896 _ACEOF
49897 if ac_fn_cxx_try_compile "$LINENO"; then :
49898   glibcxx_cv_func__powl_use=yes
49899 else
49900   glibcxx_cv_func__powl_use=no
49901 fi
49902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49903       ac_ext=c
49904 ac_cpp='$CPP $CPPFLAGS'
49905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49908
49909
49910 fi
49911
49912   fi
49913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49914 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49915
49916     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49917       for ac_func in _powl
49918 do :
49919   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49920 if test "x$ac_cv_func__powl" = x""yes; then :
49921   cat >>confdefs.h <<_ACEOF
49922 #define HAVE__POWL 1
49923 _ACEOF
49924
49925 fi
49926 done
49927
49928     fi
49929   fi
49930
49931
49932
49933
49934
49935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49936 $as_echo_n "checking for sqrtl declaration... " >&6; }
49937   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49938     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49939   $as_echo_n "(cached) " >&6
49940 else
49941
49942
49943       ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49948
49949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h.  */
49951 #include <math.h>
49952                       #ifdef HAVE_IEEEFP_H
49953                       #include <ieeefp.h>
49954                       #endif
49955
49956 int
49957 main ()
49958 {
49959  sqrtl(0);
49960   ;
49961   return 0;
49962 }
49963 _ACEOF
49964 if ac_fn_cxx_try_compile "$LINENO"; then :
49965   glibcxx_cv_func_sqrtl_use=yes
49966 else
49967   glibcxx_cv_func_sqrtl_use=no
49968 fi
49969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49970       ac_ext=c
49971 ac_cpp='$CPP $CPPFLAGS'
49972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49975
49976
49977 fi
49978
49979   fi
49980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49981 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49982
49983   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49984     for ac_func in sqrtl
49985 do :
49986   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49987 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49988   cat >>confdefs.h <<_ACEOF
49989 #define HAVE_SQRTL 1
49990 _ACEOF
49991
49992 fi
49993 done
49994
49995   else
49996
49997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49998 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49999   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50000     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50001   $as_echo_n "(cached) " >&6
50002 else
50003
50004
50005       ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010
50011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h.  */
50013 #include <math.h>
50014                       #ifdef HAVE_IEEEFP_H
50015                       #include <ieeefp.h>
50016                       #endif
50017
50018 int
50019 main ()
50020 {
50021  _sqrtl(0);
50022   ;
50023   return 0;
50024 }
50025 _ACEOF
50026 if ac_fn_cxx_try_compile "$LINENO"; then :
50027   glibcxx_cv_func__sqrtl_use=yes
50028 else
50029   glibcxx_cv_func__sqrtl_use=no
50030 fi
50031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50032       ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037
50038
50039 fi
50040
50041   fi
50042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50043 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50044
50045     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50046       for ac_func in _sqrtl
50047 do :
50048   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50049 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50050   cat >>confdefs.h <<_ACEOF
50051 #define HAVE__SQRTL 1
50052 _ACEOF
50053
50054 fi
50055 done
50056
50057     fi
50058   fi
50059
50060
50061
50062
50063
50064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50065 $as_echo_n "checking for sincosl declaration... " >&6; }
50066   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50067     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50068   $as_echo_n "(cached) " >&6
50069 else
50070
50071
50072       ac_ext=cpp
50073 ac_cpp='$CXXCPP $CPPFLAGS'
50074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50077
50078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50079 /* end confdefs.h.  */
50080 #include <math.h>
50081 int
50082 main ()
50083 {
50084  sincosl(0, 0, 0);
50085   ;
50086   return 0;
50087 }
50088 _ACEOF
50089 if ac_fn_cxx_try_compile "$LINENO"; then :
50090   glibcxx_cv_func_sincosl_use=yes
50091 else
50092   glibcxx_cv_func_sincosl_use=no
50093 fi
50094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50095       ac_ext=c
50096 ac_cpp='$CPP $CPPFLAGS'
50097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50100
50101
50102 fi
50103
50104   fi
50105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50106 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50107
50108   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50109     for ac_func in sincosl
50110 do :
50111   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50112 if test "x$ac_cv_func_sincosl" = x""yes; then :
50113   cat >>confdefs.h <<_ACEOF
50114 #define HAVE_SINCOSL 1
50115 _ACEOF
50116
50117 fi
50118 done
50119
50120   else
50121
50122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50123 $as_echo_n "checking for _sincosl declaration... " >&6; }
50124   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50125     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50126   $as_echo_n "(cached) " >&6
50127 else
50128
50129
50130       ac_ext=cpp
50131 ac_cpp='$CXXCPP $CPPFLAGS'
50132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50135
50136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50137 /* end confdefs.h.  */
50138 #include <math.h>
50139 int
50140 main ()
50141 {
50142  _sincosl(0, 0, 0);
50143   ;
50144   return 0;
50145 }
50146 _ACEOF
50147 if ac_fn_cxx_try_compile "$LINENO"; then :
50148   glibcxx_cv_func__sincosl_use=yes
50149 else
50150   glibcxx_cv_func__sincosl_use=no
50151 fi
50152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50153       ac_ext=c
50154 ac_cpp='$CPP $CPPFLAGS'
50155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158
50159
50160 fi
50161
50162   fi
50163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50164 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50165
50166     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50167       for ac_func in _sincosl
50168 do :
50169   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50170 if test "x$ac_cv_func__sincosl" = x""yes; then :
50171   cat >>confdefs.h <<_ACEOF
50172 #define HAVE__SINCOSL 1
50173 _ACEOF
50174
50175 fi
50176 done
50177
50178     fi
50179   fi
50180
50181
50182
50183
50184
50185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50186 $as_echo_n "checking for finitel declaration... " >&6; }
50187   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50188     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50189   $as_echo_n "(cached) " >&6
50190 else
50191
50192
50193       ac_ext=cpp
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50198
50199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50200 /* end confdefs.h.  */
50201 #include <math.h>
50202                       #ifdef HAVE_IEEEFP_H
50203                       #include <ieeefp.h>
50204                       #endif
50205
50206 int
50207 main ()
50208 {
50209  finitel(0);
50210   ;
50211   return 0;
50212 }
50213 _ACEOF
50214 if ac_fn_cxx_try_compile "$LINENO"; then :
50215   glibcxx_cv_func_finitel_use=yes
50216 else
50217   glibcxx_cv_func_finitel_use=no
50218 fi
50219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50220       ac_ext=c
50221 ac_cpp='$CPP $CPPFLAGS'
50222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50225
50226
50227 fi
50228
50229   fi
50230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50231 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50232
50233   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50234     for ac_func in finitel
50235 do :
50236   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50237 if test "x$ac_cv_func_finitel" = x""yes; then :
50238   cat >>confdefs.h <<_ACEOF
50239 #define HAVE_FINITEL 1
50240 _ACEOF
50241
50242 fi
50243 done
50244
50245   else
50246
50247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50248 $as_echo_n "checking for _finitel declaration... " >&6; }
50249   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50250     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50251   $as_echo_n "(cached) " >&6
50252 else
50253
50254
50255       ac_ext=cpp
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260
50261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262 /* end confdefs.h.  */
50263 #include <math.h>
50264                       #ifdef HAVE_IEEEFP_H
50265                       #include <ieeefp.h>
50266                       #endif
50267
50268 int
50269 main ()
50270 {
50271  _finitel(0);
50272   ;
50273   return 0;
50274 }
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277   glibcxx_cv_func__finitel_use=yes
50278 else
50279   glibcxx_cv_func__finitel_use=no
50280 fi
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282       ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287
50288
50289 fi
50290
50291   fi
50292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50293 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50294
50295     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50296       for ac_func in _finitel
50297 do :
50298   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50299 if test "x$ac_cv_func__finitel" = x""yes; then :
50300   cat >>confdefs.h <<_ACEOF
50301 #define HAVE__FINITEL 1
50302 _ACEOF
50303
50304 fi
50305 done
50306
50307     fi
50308   fi
50309
50310
50311
50312
50313   LIBS="$ac_save_LIBS"
50314   CXXFLAGS="$ac_save_CXXFLAGS"
50315
50316
50317   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50318   ac_save_CXXFLAGS="$CXXFLAGS"
50319   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50320
50321
50322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50323 $as_echo_n "checking for strtold declaration... " >&6; }
50324   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50325     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50326   $as_echo_n "(cached) " >&6
50327 else
50328
50329
50330       ac_ext=cpp
50331 ac_cpp='$CXXCPP $CPPFLAGS'
50332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50335
50336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50337 /* end confdefs.h.  */
50338 #include <stdlib.h>
50339 int
50340 main ()
50341 {
50342  strtold(0, 0);
50343   ;
50344   return 0;
50345 }
50346 _ACEOF
50347 if ac_fn_cxx_try_compile "$LINENO"; then :
50348   glibcxx_cv_func_strtold_use=yes
50349 else
50350   glibcxx_cv_func_strtold_use=no
50351 fi
50352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50353       ac_ext=c
50354 ac_cpp='$CPP $CPPFLAGS'
50355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50358
50359
50360 fi
50361
50362   fi
50363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50364 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50365   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50366     for ac_func in strtold
50367 do :
50368   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50369 if test "x$ac_cv_func_strtold" = x""yes; then :
50370   cat >>confdefs.h <<_ACEOF
50371 #define HAVE_STRTOLD 1
50372 _ACEOF
50373
50374 fi
50375 done
50376
50377   fi
50378
50379
50380
50381
50382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50383 $as_echo_n "checking for strtof declaration... " >&6; }
50384   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50385     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50386   $as_echo_n "(cached) " >&6
50387 else
50388
50389
50390       ac_ext=cpp
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50395
50396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50397 /* end confdefs.h.  */
50398 #include <stdlib.h>
50399 int
50400 main ()
50401 {
50402  strtof(0, 0);
50403   ;
50404   return 0;
50405 }
50406 _ACEOF
50407 if ac_fn_cxx_try_compile "$LINENO"; then :
50408   glibcxx_cv_func_strtof_use=yes
50409 else
50410   glibcxx_cv_func_strtof_use=no
50411 fi
50412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50413       ac_ext=c
50414 ac_cpp='$CPP $CPPFLAGS'
50415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50418
50419
50420 fi
50421
50422   fi
50423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50424 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50425   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50426     for ac_func in strtof
50427 do :
50428   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50429 if test "x$ac_cv_func_strtof" = x""yes; then :
50430   cat >>confdefs.h <<_ACEOF
50431 #define HAVE_STRTOF 1
50432 _ACEOF
50433
50434 fi
50435 done
50436
50437   fi
50438
50439
50440
50441
50442   CXXFLAGS="$ac_save_CXXFLAGS"
50443
50444     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50445
50446
50447
50448    # Check whether --enable-tls was given.
50449 if test "${enable_tls+set}" = set; then :
50450   enableval=$enable_tls;
50451       case "$enableval" in
50452        yes|no) ;;
50453        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50454       esac
50455
50456 else
50457   enable_tls=yes
50458 fi
50459
50460
50461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50462 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50463 if test "${gcc_cv_have_tls+set}" = set; then :
50464   $as_echo_n "(cached) " >&6
50465 else
50466
50467     if test "$cross_compiling" = yes; then :
50468                 if test x$gcc_no_link = xyes; then
50469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50470 fi
50471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50472 /* end confdefs.h.  */
50473 __thread int a; int b; int main() { return a = b; }
50474 _ACEOF
50475 if ac_fn_c_try_link "$LINENO"; then :
50476   chktls_save_LDFLAGS="$LDFLAGS"
50477                           case $host in
50478             *-*-linux*)
50479               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50480               ;;
50481           esac
50482           chktls_save_CFLAGS="$CFLAGS"
50483           CFLAGS="-fPIC $CFLAGS"
50484                   if test x$gcc_no_link = xyes; then
50485   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50486 fi
50487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50488 /* end confdefs.h.  */
50489 int f() { return 0; }
50490 _ACEOF
50491 if ac_fn_c_try_link "$LINENO"; then :
50492   if test x$gcc_no_link = xyes; then
50493   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50494 fi
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h.  */
50497 __thread int a; int b; int f() { return a = b; }
50498 _ACEOF
50499 if ac_fn_c_try_link "$LINENO"; then :
50500   gcc_cv_have_tls=yes
50501 else
50502   gcc_cv_have_tls=no
50503 fi
50504 rm -f core conftest.err conftest.$ac_objext \
50505     conftest$ac_exeext conftest.$ac_ext
50506 else
50507   gcc_cv_have_tls=yes
50508 fi
50509 rm -f core conftest.err conftest.$ac_objext \
50510     conftest$ac_exeext conftest.$ac_ext
50511           CFLAGS="$chktls_save_CFLAGS"
50512           LDFLAGS="$chktls_save_LDFLAGS"
50513 else
50514   gcc_cv_have_tls=no
50515 fi
50516 rm -f core conftest.err conftest.$ac_objext \
50517     conftest$ac_exeext conftest.$ac_ext
50518
50519
50520 else
50521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h.  */
50523 __thread int a; int b; int main() { return a = b; }
50524 _ACEOF
50525 if ac_fn_c_try_run "$LINENO"; then :
50526                       chktls_save_LDFLAGS="$LDFLAGS"
50527       LDFLAGS="-static $LDFLAGS"
50528       if test x$gcc_no_link = xyes; then
50529   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50530 fi
50531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50532 /* end confdefs.h.  */
50533 int main() { return 0; }
50534 _ACEOF
50535 if ac_fn_c_try_link "$LINENO"; then :
50536   if test "$cross_compiling" = yes; then :
50537   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50539 as_fn_error "cannot run test program while cross compiling
50540 See \`config.log' for more details." "$LINENO" 5; }
50541 else
50542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50543 /* end confdefs.h.  */
50544 __thread int a; int b; int main() { return a = b; }
50545 _ACEOF
50546 if ac_fn_c_try_run "$LINENO"; then :
50547   gcc_cv_have_tls=yes
50548 else
50549   gcc_cv_have_tls=no
50550 fi
50551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50552   conftest.$ac_objext conftest.beam conftest.$ac_ext
50553 fi
50554
50555 else
50556   gcc_cv_have_tls=yes
50557 fi
50558 rm -f core conftest.err conftest.$ac_objext \
50559     conftest$ac_exeext conftest.$ac_ext
50560       LDFLAGS="$chktls_save_LDFLAGS"
50561       if test $gcc_cv_have_tls = yes; then
50562                                                 chktls_save_CFLAGS="$CFLAGS"
50563         thread_CFLAGS=failed
50564         for flag in '' '-pthread' '-lpthread'; do
50565           CFLAGS="$flag $chktls_save_CFLAGS"
50566           if test x$gcc_no_link = xyes; then
50567   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50568 fi
50569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50570 /* end confdefs.h.  */
50571 #include <pthread.h>
50572                 void *g(void *d) { return NULL; }
50573 int
50574 main ()
50575 {
50576 pthread_t t; pthread_create(&t,NULL,g,NULL);
50577   ;
50578   return 0;
50579 }
50580 _ACEOF
50581 if ac_fn_c_try_link "$LINENO"; then :
50582   thread_CFLAGS="$flag"
50583 fi
50584 rm -f core conftest.err conftest.$ac_objext \
50585     conftest$ac_exeext conftest.$ac_ext
50586           if test "X$thread_CFLAGS" != Xfailed; then
50587             break
50588           fi
50589         done
50590         CFLAGS="$chktls_save_CFLAGS"
50591         if test "X$thread_CFLAGS" != Xfailed; then
50592           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50593                                                   if test "$cross_compiling" = yes; then :
50594   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50596 as_fn_error "cannot run test program while cross compiling
50597 See \`config.log' for more details." "$LINENO" 5; }
50598 else
50599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50600 /* end confdefs.h.  */
50601 #include <pthread.h>
50602                 __thread int a;
50603                 static int *volatile a_in_other_thread;
50604                 static void *
50605                 thread_func (void *arg)
50606                 {
50607                   a_in_other_thread = &a;
50608                   return (void *)0;
50609                 }
50610 int
50611 main ()
50612 {
50613 pthread_t thread;
50614                 void *thread_retval;
50615                 int *volatile a_in_main_thread;
50616                 a_in_main_thread = &a;
50617                 if (pthread_create (&thread, (pthread_attr_t *)0,
50618                                     thread_func, (void *)0))
50619                   return 0;
50620                 if (pthread_join (thread, &thread_retval))
50621                   return 0;
50622                 return (a_in_other_thread == a_in_main_thread);
50623   ;
50624   return 0;
50625 }
50626 _ACEOF
50627 if ac_fn_c_try_run "$LINENO"; then :
50628   gcc_cv_have_tls=yes
50629 else
50630   gcc_cv_have_tls=no
50631 fi
50632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50633   conftest.$ac_objext conftest.beam conftest.$ac_ext
50634 fi
50635
50636           CFLAGS="$chktls_save_CFLAGS"
50637         fi
50638       fi
50639 else
50640   gcc_cv_have_tls=no
50641 fi
50642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50643   conftest.$ac_objext conftest.beam conftest.$ac_ext
50644 fi
50645
50646 fi
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50648 $as_echo "$gcc_cv_have_tls" >&6; }
50649   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50650
50651 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50652
50653   fi
50654
50655
50656
50657
50658
50659           am_save_CPPFLAGS="$CPPFLAGS"
50660
50661   for element in $INCICONV; do
50662     haveit=
50663     for x in $CPPFLAGS; do
50664
50665   acl_save_prefix="$prefix"
50666   prefix="$acl_final_prefix"
50667   acl_save_exec_prefix="$exec_prefix"
50668   exec_prefix="$acl_final_exec_prefix"
50669   eval x=\"$x\"
50670   exec_prefix="$acl_save_exec_prefix"
50671   prefix="$acl_save_prefix"
50672
50673       if test "X$x" = "X$element"; then
50674         haveit=yes
50675         break
50676       fi
50677     done
50678     if test -z "$haveit"; then
50679       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50680     fi
50681   done
50682
50683
50684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50685 $as_echo_n "checking for iconv... " >&6; }
50686 if test "${am_cv_func_iconv+set}" = set; then :
50687   $as_echo_n "(cached) " >&6
50688 else
50689
50690     am_cv_func_iconv="no, consider installing GNU libiconv"
50691     am_cv_lib_iconv=no
50692     if test x$gcc_no_link = xyes; then
50693   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50694 fi
50695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50696 /* end confdefs.h.  */
50697 #include <stdlib.h>
50698 #include <iconv.h>
50699 int
50700 main ()
50701 {
50702 iconv_t cd = iconv_open("","");
50703        iconv(cd,NULL,NULL,NULL,NULL);
50704        iconv_close(cd);
50705   ;
50706   return 0;
50707 }
50708 _ACEOF
50709 if ac_fn_c_try_link "$LINENO"; then :
50710   am_cv_func_iconv=yes
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext \
50713     conftest$ac_exeext conftest.$ac_ext
50714     if test "$am_cv_func_iconv" != yes; then
50715       am_save_LIBS="$LIBS"
50716       LIBS="$LIBS $LIBICONV"
50717       if test x$gcc_no_link = xyes; then
50718   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50719 fi
50720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50721 /* end confdefs.h.  */
50722 #include <stdlib.h>
50723 #include <iconv.h>
50724 int
50725 main ()
50726 {
50727 iconv_t cd = iconv_open("","");
50728          iconv(cd,NULL,NULL,NULL,NULL);
50729          iconv_close(cd);
50730   ;
50731   return 0;
50732 }
50733 _ACEOF
50734 if ac_fn_c_try_link "$LINENO"; then :
50735   am_cv_lib_iconv=yes
50736         am_cv_func_iconv=yes
50737 fi
50738 rm -f core conftest.err conftest.$ac_objext \
50739     conftest$ac_exeext conftest.$ac_ext
50740       LIBS="$am_save_LIBS"
50741     fi
50742
50743 fi
50744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50745 $as_echo "$am_cv_func_iconv" >&6; }
50746   if test "$am_cv_func_iconv" = yes; then
50747
50748 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50749
50750   fi
50751   if test "$am_cv_lib_iconv" = yes; then
50752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50753 $as_echo_n "checking how to link with libiconv... " >&6; }
50754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50755 $as_echo "$LIBICONV" >&6; }
50756   else
50757             CPPFLAGS="$am_save_CPPFLAGS"
50758     LIBICONV=
50759     LTLIBICONV=
50760   fi
50761
50762
50763
50764   if test "$am_cv_func_iconv" = yes; then
50765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50766 $as_echo_n "checking for iconv declaration... " >&6; }
50767     if test "${am_cv_proto_iconv+set}" = set; then :
50768   $as_echo_n "(cached) " >&6
50769 else
50770
50771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50772 /* end confdefs.h.  */
50773
50774 #include <stdlib.h>
50775 #include <iconv.h>
50776 extern
50777 #ifdef __cplusplus
50778 "C"
50779 #endif
50780 #if defined(__STDC__) || defined(__cplusplus)
50781 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50782 #else
50783 size_t iconv();
50784 #endif
50785
50786 int
50787 main ()
50788 {
50789
50790   ;
50791   return 0;
50792 }
50793 _ACEOF
50794 if ac_fn_c_try_compile "$LINENO"; then :
50795   am_cv_proto_iconv_arg1=""
50796 else
50797   am_cv_proto_iconv_arg1="const"
50798 fi
50799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50800       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);"
50801 fi
50802
50803     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50805          }$am_cv_proto_iconv" >&5
50806 $as_echo "${ac_t:-
50807          }$am_cv_proto_iconv" >&6; }
50808
50809 cat >>confdefs.h <<_ACEOF
50810 #define ICONV_CONST $am_cv_proto_iconv_arg1
50811 _ACEOF
50812
50813   fi
50814
50815     ;;
50816   *-mingw32*)
50817
50818   # If we're not using GNU ld, then there's no point in even trying these
50819   # tests.  Check for that first.  We should have already tested for gld
50820   # by now (in libtool), but require it now just to be safe...
50821   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50822   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50823
50824
50825
50826   # The name set by libtool depends on the version of libtool.  Shame on us
50827   # for depending on an impl detail, but c'est la vie.  Older versions used
50828   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50829   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50830   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50831   # set (hence we're using an older libtool), then set it.
50832   if test x${with_gnu_ld+set} != xset; then
50833     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50834       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50835       with_gnu_ld=no
50836     else
50837       with_gnu_ld=$ac_cv_prog_gnu_ld
50838     fi
50839   fi
50840
50841   # Start by getting the version number.  I think the libtool test already
50842   # does some of this, but throws away the result.
50843   glibcxx_ld_is_gold=no
50844   if test x"$with_gnu_ld" = x"yes"; then
50845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50846 $as_echo_n "checking for ld version... " >&6; }
50847
50848     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50849       glibcxx_ld_is_gold=yes
50850     fi
50851     ldver=`$LD --version 2>/dev/null |
50852            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'`
50853
50854     glibcxx_gnu_ld_version=`echo $ldver | \
50855            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50857 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50858   fi
50859
50860   # Set --gc-sections.
50861   glibcxx_have_gc_sections=no
50862   if test "$glibcxx_ld_is_gold" = "yes"; then
50863     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50864       glibcxx_have_gc_sections=yes
50865     fi
50866   else
50867     glibcxx_gcsections_min_ld=21602
50868     if test x"$with_gnu_ld" = x"yes" &&
50869         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50870       glibcxx_have_gc_sections=yes
50871     fi
50872   fi
50873   if test "$glibcxx_have_gc_sections" = "yes"; then
50874     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50875     # NB: This flag only works reliably after 2.16.1. Configure tests
50876     # for this are difficult, so hard wire a value that should work.
50877
50878     ac_test_CFLAGS="${CFLAGS+set}"
50879     ac_save_CFLAGS="$CFLAGS"
50880     CFLAGS='-Wl,--gc-sections'
50881
50882     # Check for -Wl,--gc-sections
50883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50884 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50885     if test x$gcc_no_link = xyes; then
50886   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50887 fi
50888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50889 /* end confdefs.h.  */
50890  int one(void) { return 1; }
50891      int two(void) { return 2; }
50892
50893 int
50894 main ()
50895 {
50896  two();
50897   ;
50898   return 0;
50899 }
50900 _ACEOF
50901 if ac_fn_c_try_link "$LINENO"; then :
50902   ac_gcsections=yes
50903 else
50904   ac_gcsections=no
50905 fi
50906 rm -f core conftest.err conftest.$ac_objext \
50907     conftest$ac_exeext conftest.$ac_ext
50908     if test "$ac_gcsections" = "yes"; then
50909       rm -f conftest.c
50910       touch conftest.c
50911       if $CC -c conftest.c; then
50912         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50913            grep "Warning: gc-sections option ignored" > /dev/null; then
50914           ac_gcsections=no
50915         fi
50916       fi
50917       rm -f conftest.c conftest.o conftest
50918     fi
50919     if test "$ac_gcsections" = "yes"; then
50920       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50921     fi
50922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50923 $as_echo "$ac_gcsections" >&6; }
50924
50925     if test "$ac_test_CFLAGS" = set; then
50926       CFLAGS="$ac_save_CFLAGS"
50927     else
50928       # this is the suspicious part
50929       CFLAGS=''
50930     fi
50931   fi
50932
50933   # Set -z,relro.
50934   # Note this is only for shared objects.
50935   ac_ld_relro=no
50936   if test x"$with_gnu_ld" = x"yes"; then
50937     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50938 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50939     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50940     if test -n "$cxx_z_relo"; then
50941       OPT_LDFLAGS="-Wl,-z,relro"
50942       ac_ld_relro=yes
50943     fi
50944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50945 $as_echo "$ac_ld_relro" >&6; }
50946   fi
50947
50948   # Set linker optimization flags.
50949   if test x"$with_gnu_ld" = x"yes"; then
50950     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50951   fi
50952
50953
50954
50955
50956
50957   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50958   ac_save_CXXFLAGS="$CXXFLAGS"
50959   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50960
50961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50962 $as_echo_n "checking for sin in -lm... " >&6; }
50963 if test "${ac_cv_lib_m_sin+set}" = set; then :
50964   $as_echo_n "(cached) " >&6
50965 else
50966   ac_check_lib_save_LIBS=$LIBS
50967 LIBS="-lm  $LIBS"
50968 if test x$gcc_no_link = xyes; then
50969   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50970 fi
50971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50972 /* end confdefs.h.  */
50973
50974 /* Override any GCC internal prototype to avoid an error.
50975    Use char because int might match the return type of a GCC
50976    builtin and then its argument prototype would still apply.  */
50977 #ifdef __cplusplus
50978 extern "C"
50979 #endif
50980 char sin ();
50981 int
50982 main ()
50983 {
50984 return sin ();
50985   ;
50986   return 0;
50987 }
50988 _ACEOF
50989 if ac_fn_c_try_link "$LINENO"; then :
50990   ac_cv_lib_m_sin=yes
50991 else
50992   ac_cv_lib_m_sin=no
50993 fi
50994 rm -f core conftest.err conftest.$ac_objext \
50995     conftest$ac_exeext conftest.$ac_ext
50996 LIBS=$ac_check_lib_save_LIBS
50997 fi
50998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50999 $as_echo "$ac_cv_lib_m_sin" >&6; }
51000 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51001   libm="-lm"
51002 fi
51003
51004   ac_save_LIBS="$LIBS"
51005   LIBS="$LIBS $libm"
51006
51007
51008
51009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51010 $as_echo_n "checking for isinf declaration... " >&6; }
51011   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51012     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51013   $as_echo_n "(cached) " >&6
51014 else
51015
51016
51017       ac_ext=cpp
51018 ac_cpp='$CXXCPP $CPPFLAGS'
51019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51022
51023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51024 /* end confdefs.h.  */
51025 #include <math.h>
51026                       #ifdef HAVE_IEEEFP_H
51027                       #include <ieeefp.h>
51028                       #endif
51029
51030 int
51031 main ()
51032 {
51033  isinf(0);
51034   ;
51035   return 0;
51036 }
51037 _ACEOF
51038 if ac_fn_cxx_try_compile "$LINENO"; then :
51039   glibcxx_cv_func_isinf_use=yes
51040 else
51041   glibcxx_cv_func_isinf_use=no
51042 fi
51043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51044       ac_ext=c
51045 ac_cpp='$CPP $CPPFLAGS'
51046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51049
51050
51051 fi
51052
51053   fi
51054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51055 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51056
51057   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51058     for ac_func in isinf
51059 do :
51060   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51061 if test "x$ac_cv_func_isinf" = x""yes; then :
51062   cat >>confdefs.h <<_ACEOF
51063 #define HAVE_ISINF 1
51064 _ACEOF
51065
51066 fi
51067 done
51068
51069   else
51070
51071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51072 $as_echo_n "checking for _isinf declaration... " >&6; }
51073   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51074     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51075   $as_echo_n "(cached) " >&6
51076 else
51077
51078
51079       ac_ext=cpp
51080 ac_cpp='$CXXCPP $CPPFLAGS'
51081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51084
51085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51086 /* end confdefs.h.  */
51087 #include <math.h>
51088                       #ifdef HAVE_IEEEFP_H
51089                       #include <ieeefp.h>
51090                       #endif
51091
51092 int
51093 main ()
51094 {
51095  _isinf(0);
51096   ;
51097   return 0;
51098 }
51099 _ACEOF
51100 if ac_fn_cxx_try_compile "$LINENO"; then :
51101   glibcxx_cv_func__isinf_use=yes
51102 else
51103   glibcxx_cv_func__isinf_use=no
51104 fi
51105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51106       ac_ext=c
51107 ac_cpp='$CPP $CPPFLAGS'
51108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51111
51112
51113 fi
51114
51115   fi
51116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51117 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51118
51119     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51120       for ac_func in _isinf
51121 do :
51122   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51123 if test "x$ac_cv_func__isinf" = x""yes; then :
51124   cat >>confdefs.h <<_ACEOF
51125 #define HAVE__ISINF 1
51126 _ACEOF
51127
51128 fi
51129 done
51130
51131     fi
51132   fi
51133
51134
51135
51136
51137
51138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51139 $as_echo_n "checking for isnan declaration... " >&6; }
51140   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51141     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51142   $as_echo_n "(cached) " >&6
51143 else
51144
51145
51146       ac_ext=cpp
51147 ac_cpp='$CXXCPP $CPPFLAGS'
51148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51151
51152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51153 /* end confdefs.h.  */
51154 #include <math.h>
51155                       #ifdef HAVE_IEEEFP_H
51156                       #include <ieeefp.h>
51157                       #endif
51158
51159 int
51160 main ()
51161 {
51162  isnan(0);
51163   ;
51164   return 0;
51165 }
51166 _ACEOF
51167 if ac_fn_cxx_try_compile "$LINENO"; then :
51168   glibcxx_cv_func_isnan_use=yes
51169 else
51170   glibcxx_cv_func_isnan_use=no
51171 fi
51172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51173       ac_ext=c
51174 ac_cpp='$CPP $CPPFLAGS'
51175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51178
51179
51180 fi
51181
51182   fi
51183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51184 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51185
51186   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51187     for ac_func in isnan
51188 do :
51189   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51190 if test "x$ac_cv_func_isnan" = x""yes; then :
51191   cat >>confdefs.h <<_ACEOF
51192 #define HAVE_ISNAN 1
51193 _ACEOF
51194
51195 fi
51196 done
51197
51198   else
51199
51200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51201 $as_echo_n "checking for _isnan declaration... " >&6; }
51202   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51203     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51204   $as_echo_n "(cached) " >&6
51205 else
51206
51207
51208       ac_ext=cpp
51209 ac_cpp='$CXXCPP $CPPFLAGS'
51210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51213
51214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51215 /* end confdefs.h.  */
51216 #include <math.h>
51217                       #ifdef HAVE_IEEEFP_H
51218                       #include <ieeefp.h>
51219                       #endif
51220
51221 int
51222 main ()
51223 {
51224  _isnan(0);
51225   ;
51226   return 0;
51227 }
51228 _ACEOF
51229 if ac_fn_cxx_try_compile "$LINENO"; then :
51230   glibcxx_cv_func__isnan_use=yes
51231 else
51232   glibcxx_cv_func__isnan_use=no
51233 fi
51234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51235       ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51240
51241
51242 fi
51243
51244   fi
51245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51246 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51247
51248     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51249       for ac_func in _isnan
51250 do :
51251   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51252 if test "x$ac_cv_func__isnan" = x""yes; then :
51253   cat >>confdefs.h <<_ACEOF
51254 #define HAVE__ISNAN 1
51255 _ACEOF
51256
51257 fi
51258 done
51259
51260     fi
51261   fi
51262
51263
51264
51265
51266
51267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51268 $as_echo_n "checking for finite declaration... " >&6; }
51269   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51270     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51271   $as_echo_n "(cached) " >&6
51272 else
51273
51274
51275       ac_ext=cpp
51276 ac_cpp='$CXXCPP $CPPFLAGS'
51277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51280
51281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51282 /* end confdefs.h.  */
51283 #include <math.h>
51284                       #ifdef HAVE_IEEEFP_H
51285                       #include <ieeefp.h>
51286                       #endif
51287
51288 int
51289 main ()
51290 {
51291  finite(0);
51292   ;
51293   return 0;
51294 }
51295 _ACEOF
51296 if ac_fn_cxx_try_compile "$LINENO"; then :
51297   glibcxx_cv_func_finite_use=yes
51298 else
51299   glibcxx_cv_func_finite_use=no
51300 fi
51301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51302       ac_ext=c
51303 ac_cpp='$CPP $CPPFLAGS'
51304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51307
51308
51309 fi
51310
51311   fi
51312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51313 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51314
51315   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51316     for ac_func in finite
51317 do :
51318   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51319 if test "x$ac_cv_func_finite" = x""yes; then :
51320   cat >>confdefs.h <<_ACEOF
51321 #define HAVE_FINITE 1
51322 _ACEOF
51323
51324 fi
51325 done
51326
51327   else
51328
51329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51330 $as_echo_n "checking for _finite declaration... " >&6; }
51331   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51332     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51333   $as_echo_n "(cached) " >&6
51334 else
51335
51336
51337       ac_ext=cpp
51338 ac_cpp='$CXXCPP $CPPFLAGS'
51339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51342
51343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344 /* end confdefs.h.  */
51345 #include <math.h>
51346                       #ifdef HAVE_IEEEFP_H
51347                       #include <ieeefp.h>
51348                       #endif
51349
51350 int
51351 main ()
51352 {
51353  _finite(0);
51354   ;
51355   return 0;
51356 }
51357 _ACEOF
51358 if ac_fn_cxx_try_compile "$LINENO"; then :
51359   glibcxx_cv_func__finite_use=yes
51360 else
51361   glibcxx_cv_func__finite_use=no
51362 fi
51363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51364       ac_ext=c
51365 ac_cpp='$CPP $CPPFLAGS'
51366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51369
51370
51371 fi
51372
51373   fi
51374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51375 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51376
51377     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51378       for ac_func in _finite
51379 do :
51380   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51381 if test "x$ac_cv_func__finite" = x""yes; then :
51382   cat >>confdefs.h <<_ACEOF
51383 #define HAVE__FINITE 1
51384 _ACEOF
51385
51386 fi
51387 done
51388
51389     fi
51390   fi
51391
51392
51393
51394
51395
51396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51397 $as_echo_n "checking for sincos declaration... " >&6; }
51398   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51399     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51400   $as_echo_n "(cached) " >&6
51401 else
51402
51403
51404       ac_ext=cpp
51405 ac_cpp='$CXXCPP $CPPFLAGS'
51406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51409
51410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51411 /* end confdefs.h.  */
51412 #include <math.h>
51413 int
51414 main ()
51415 {
51416  sincos(0, 0, 0);
51417   ;
51418   return 0;
51419 }
51420 _ACEOF
51421 if ac_fn_cxx_try_compile "$LINENO"; then :
51422   glibcxx_cv_func_sincos_use=yes
51423 else
51424   glibcxx_cv_func_sincos_use=no
51425 fi
51426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51427       ac_ext=c
51428 ac_cpp='$CPP $CPPFLAGS'
51429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51432
51433
51434 fi
51435
51436   fi
51437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51438 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51439
51440   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51441     for ac_func in sincos
51442 do :
51443   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51444 if test "x$ac_cv_func_sincos" = x""yes; then :
51445   cat >>confdefs.h <<_ACEOF
51446 #define HAVE_SINCOS 1
51447 _ACEOF
51448
51449 fi
51450 done
51451
51452   else
51453
51454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51455 $as_echo_n "checking for _sincos declaration... " >&6; }
51456   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51457     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51458   $as_echo_n "(cached) " >&6
51459 else
51460
51461
51462       ac_ext=cpp
51463 ac_cpp='$CXXCPP $CPPFLAGS'
51464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51467
51468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51469 /* end confdefs.h.  */
51470 #include <math.h>
51471 int
51472 main ()
51473 {
51474  _sincos(0, 0, 0);
51475   ;
51476   return 0;
51477 }
51478 _ACEOF
51479 if ac_fn_cxx_try_compile "$LINENO"; then :
51480   glibcxx_cv_func__sincos_use=yes
51481 else
51482   glibcxx_cv_func__sincos_use=no
51483 fi
51484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51485       ac_ext=c
51486 ac_cpp='$CPP $CPPFLAGS'
51487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51490
51491
51492 fi
51493
51494   fi
51495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51496 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51497
51498     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51499       for ac_func in _sincos
51500 do :
51501   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51502 if test "x$ac_cv_func__sincos" = x""yes; then :
51503   cat >>confdefs.h <<_ACEOF
51504 #define HAVE__SINCOS 1
51505 _ACEOF
51506
51507 fi
51508 done
51509
51510     fi
51511   fi
51512
51513
51514
51515
51516
51517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51518 $as_echo_n "checking for fpclass declaration... " >&6; }
51519   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51520     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51521   $as_echo_n "(cached) " >&6
51522 else
51523
51524
51525       ac_ext=cpp
51526 ac_cpp='$CXXCPP $CPPFLAGS'
51527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51530
51531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51532 /* end confdefs.h.  */
51533 #include <math.h>
51534                       #ifdef HAVE_IEEEFP_H
51535                       #include <ieeefp.h>
51536                       #endif
51537
51538 int
51539 main ()
51540 {
51541  fpclass(0);
51542   ;
51543   return 0;
51544 }
51545 _ACEOF
51546 if ac_fn_cxx_try_compile "$LINENO"; then :
51547   glibcxx_cv_func_fpclass_use=yes
51548 else
51549   glibcxx_cv_func_fpclass_use=no
51550 fi
51551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51552       ac_ext=c
51553 ac_cpp='$CPP $CPPFLAGS'
51554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51557
51558
51559 fi
51560
51561   fi
51562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51563 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51564
51565   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51566     for ac_func in fpclass
51567 do :
51568   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51569 if test "x$ac_cv_func_fpclass" = x""yes; then :
51570   cat >>confdefs.h <<_ACEOF
51571 #define HAVE_FPCLASS 1
51572 _ACEOF
51573
51574 fi
51575 done
51576
51577   else
51578
51579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51580 $as_echo_n "checking for _fpclass declaration... " >&6; }
51581   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51582     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51583   $as_echo_n "(cached) " >&6
51584 else
51585
51586
51587       ac_ext=cpp
51588 ac_cpp='$CXXCPP $CPPFLAGS'
51589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51592
51593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51594 /* end confdefs.h.  */
51595 #include <math.h>
51596                       #ifdef HAVE_IEEEFP_H
51597                       #include <ieeefp.h>
51598                       #endif
51599
51600 int
51601 main ()
51602 {
51603  _fpclass(0);
51604   ;
51605   return 0;
51606 }
51607 _ACEOF
51608 if ac_fn_cxx_try_compile "$LINENO"; then :
51609   glibcxx_cv_func__fpclass_use=yes
51610 else
51611   glibcxx_cv_func__fpclass_use=no
51612 fi
51613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51614       ac_ext=c
51615 ac_cpp='$CPP $CPPFLAGS'
51616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51619
51620
51621 fi
51622
51623   fi
51624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51625 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51626
51627     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51628       for ac_func in _fpclass
51629 do :
51630   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51631 if test "x$ac_cv_func__fpclass" = x""yes; then :
51632   cat >>confdefs.h <<_ACEOF
51633 #define HAVE__FPCLASS 1
51634 _ACEOF
51635
51636 fi
51637 done
51638
51639     fi
51640   fi
51641
51642
51643
51644
51645
51646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51647 $as_echo_n "checking for qfpclass declaration... " >&6; }
51648   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51649     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51650   $as_echo_n "(cached) " >&6
51651 else
51652
51653
51654       ac_ext=cpp
51655 ac_cpp='$CXXCPP $CPPFLAGS'
51656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51659
51660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51661 /* end confdefs.h.  */
51662 #include <math.h>
51663                       #ifdef HAVE_IEEEFP_H
51664                       #include <ieeefp.h>
51665                       #endif
51666
51667 int
51668 main ()
51669 {
51670  qfpclass(0);
51671   ;
51672   return 0;
51673 }
51674 _ACEOF
51675 if ac_fn_cxx_try_compile "$LINENO"; then :
51676   glibcxx_cv_func_qfpclass_use=yes
51677 else
51678   glibcxx_cv_func_qfpclass_use=no
51679 fi
51680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51681       ac_ext=c
51682 ac_cpp='$CPP $CPPFLAGS'
51683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51686
51687
51688 fi
51689
51690   fi
51691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51692 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51693
51694   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51695     for ac_func in qfpclass
51696 do :
51697   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51698 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51699   cat >>confdefs.h <<_ACEOF
51700 #define HAVE_QFPCLASS 1
51701 _ACEOF
51702
51703 fi
51704 done
51705
51706   else
51707
51708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51709 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51710   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51711     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51712   $as_echo_n "(cached) " >&6
51713 else
51714
51715
51716       ac_ext=cpp
51717 ac_cpp='$CXXCPP $CPPFLAGS'
51718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51721
51722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51723 /* end confdefs.h.  */
51724 #include <math.h>
51725                       #ifdef HAVE_IEEEFP_H
51726                       #include <ieeefp.h>
51727                       #endif
51728
51729 int
51730 main ()
51731 {
51732  _qfpclass(0);
51733   ;
51734   return 0;
51735 }
51736 _ACEOF
51737 if ac_fn_cxx_try_compile "$LINENO"; then :
51738   glibcxx_cv_func__qfpclass_use=yes
51739 else
51740   glibcxx_cv_func__qfpclass_use=no
51741 fi
51742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51743       ac_ext=c
51744 ac_cpp='$CPP $CPPFLAGS'
51745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51748
51749
51750 fi
51751
51752   fi
51753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51754 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51755
51756     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51757       for ac_func in _qfpclass
51758 do :
51759   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51760 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51761   cat >>confdefs.h <<_ACEOF
51762 #define HAVE__QFPCLASS 1
51763 _ACEOF
51764
51765 fi
51766 done
51767
51768     fi
51769   fi
51770
51771
51772
51773
51774
51775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51776 $as_echo_n "checking for hypot declaration... " >&6; }
51777   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51778     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51779   $as_echo_n "(cached) " >&6
51780 else
51781
51782
51783       ac_ext=cpp
51784 ac_cpp='$CXXCPP $CPPFLAGS'
51785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51788
51789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51790 /* end confdefs.h.  */
51791 #include <math.h>
51792 int
51793 main ()
51794 {
51795  hypot(0, 0);
51796   ;
51797   return 0;
51798 }
51799 _ACEOF
51800 if ac_fn_cxx_try_compile "$LINENO"; then :
51801   glibcxx_cv_func_hypot_use=yes
51802 else
51803   glibcxx_cv_func_hypot_use=no
51804 fi
51805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51806       ac_ext=c
51807 ac_cpp='$CPP $CPPFLAGS'
51808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51811
51812
51813 fi
51814
51815   fi
51816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51817 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51818
51819   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51820     for ac_func in hypot
51821 do :
51822   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51823 if test "x$ac_cv_func_hypot" = x""yes; then :
51824   cat >>confdefs.h <<_ACEOF
51825 #define HAVE_HYPOT 1
51826 _ACEOF
51827
51828 fi
51829 done
51830
51831   else
51832
51833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51834 $as_echo_n "checking for _hypot declaration... " >&6; }
51835   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51836     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51837   $as_echo_n "(cached) " >&6
51838 else
51839
51840
51841       ac_ext=cpp
51842 ac_cpp='$CXXCPP $CPPFLAGS'
51843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51846
51847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51848 /* end confdefs.h.  */
51849 #include <math.h>
51850 int
51851 main ()
51852 {
51853  _hypot(0, 0);
51854   ;
51855   return 0;
51856 }
51857 _ACEOF
51858 if ac_fn_cxx_try_compile "$LINENO"; then :
51859   glibcxx_cv_func__hypot_use=yes
51860 else
51861   glibcxx_cv_func__hypot_use=no
51862 fi
51863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51864       ac_ext=c
51865 ac_cpp='$CPP $CPPFLAGS'
51866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51869
51870
51871 fi
51872
51873   fi
51874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51875 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51876
51877     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51878       for ac_func in _hypot
51879 do :
51880   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51881 if test "x$ac_cv_func__hypot" = x""yes; then :
51882   cat >>confdefs.h <<_ACEOF
51883 #define HAVE__HYPOT 1
51884 _ACEOF
51885
51886 fi
51887 done
51888
51889     fi
51890   fi
51891
51892
51893
51894
51895
51896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51897 $as_echo_n "checking for float trig functions... " >&6; }
51898   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51899   $as_echo_n "(cached) " >&6
51900 else
51901
51902
51903     ac_ext=cpp
51904 ac_cpp='$CXXCPP $CPPFLAGS'
51905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51908
51909     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51910 /* end confdefs.h.  */
51911 #include <math.h>
51912 int
51913 main ()
51914 {
51915 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51916   ;
51917   return 0;
51918 }
51919 _ACEOF
51920 if ac_fn_cxx_try_compile "$LINENO"; then :
51921   glibcxx_cv_func_float_trig_use=yes
51922 else
51923   glibcxx_cv_func_float_trig_use=no
51924 fi
51925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51926     ac_ext=c
51927 ac_cpp='$CPP $CPPFLAGS'
51928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51931
51932 fi
51933
51934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51935 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51936   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51937     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51938 do :
51939   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51941 eval as_val=\$$as_ac_var
51942    if test "x$as_val" = x""yes; then :
51943   cat >>confdefs.h <<_ACEOF
51944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51945 _ACEOF
51946
51947 fi
51948 done
51949
51950   else
51951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51952 $as_echo_n "checking for _float trig functions... " >&6; }
51953     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51954   $as_echo_n "(cached) " >&6
51955 else
51956
51957
51958       ac_ext=cpp
51959 ac_cpp='$CXXCPP $CPPFLAGS'
51960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51963
51964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51965 /* end confdefs.h.  */
51966 #include <math.h>
51967 int
51968 main ()
51969 {
51970 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51971   ;
51972   return 0;
51973 }
51974 _ACEOF
51975 if ac_fn_cxx_try_compile "$LINENO"; then :
51976   glibcxx_cv_func__float_trig_use=yes
51977 else
51978   glibcxx_cv_func__float_trig_use=no
51979 fi
51980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51981       ac_ext=c
51982 ac_cpp='$CPP $CPPFLAGS'
51983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51986
51987 fi
51988
51989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51990 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51991     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51992       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51993 do :
51994   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51996 eval as_val=\$$as_ac_var
51997    if test "x$as_val" = x""yes; then :
51998   cat >>confdefs.h <<_ACEOF
51999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52000 _ACEOF
52001
52002 fi
52003 done
52004
52005     fi
52006   fi
52007
52008
52009
52010
52011
52012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52013 $as_echo_n "checking for float round functions... " >&6; }
52014   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52015   $as_echo_n "(cached) " >&6
52016 else
52017
52018
52019     ac_ext=cpp
52020 ac_cpp='$CXXCPP $CPPFLAGS'
52021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52024
52025     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52026 /* end confdefs.h.  */
52027 #include <math.h>
52028 int
52029 main ()
52030 {
52031 ceilf (0); floorf (0);
52032   ;
52033   return 0;
52034 }
52035 _ACEOF
52036 if ac_fn_cxx_try_compile "$LINENO"; then :
52037   glibcxx_cv_func_float_round_use=yes
52038 else
52039   glibcxx_cv_func_float_round_use=no
52040 fi
52041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52042     ac_ext=c
52043 ac_cpp='$CPP $CPPFLAGS'
52044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52047
52048 fi
52049
52050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52051 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52052   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52053     for ac_func in ceilf floorf
52054 do :
52055   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52057 eval as_val=\$$as_ac_var
52058    if test "x$as_val" = x""yes; then :
52059   cat >>confdefs.h <<_ACEOF
52060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52061 _ACEOF
52062
52063 fi
52064 done
52065
52066   else
52067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52068 $as_echo_n "checking for _float round functions... " >&6; }
52069     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52070   $as_echo_n "(cached) " >&6
52071 else
52072
52073
52074       ac_ext=cpp
52075 ac_cpp='$CXXCPP $CPPFLAGS'
52076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52079
52080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52081 /* end confdefs.h.  */
52082 #include <math.h>
52083 int
52084 main ()
52085 {
52086 _ceilf (0); _floorf (0);
52087   ;
52088   return 0;
52089 }
52090 _ACEOF
52091 if ac_fn_cxx_try_compile "$LINENO"; then :
52092   glibcxx_cv_func__float_round_use=yes
52093 else
52094   glibcxx_cv_func__float_round_use=no
52095 fi
52096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52097       ac_ext=c
52098 ac_cpp='$CPP $CPPFLAGS'
52099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102
52103 fi
52104
52105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52106 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52107     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52108       for ac_func in _ceilf _floorf
52109 do :
52110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52112 eval as_val=\$$as_ac_var
52113    if test "x$as_val" = x""yes; then :
52114   cat >>confdefs.h <<_ACEOF
52115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52116 _ACEOF
52117
52118 fi
52119 done
52120
52121     fi
52122   fi
52123
52124
52125
52126
52127
52128
52129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52130 $as_echo_n "checking for expf declaration... " >&6; }
52131   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52132     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52133   $as_echo_n "(cached) " >&6
52134 else
52135
52136
52137       ac_ext=cpp
52138 ac_cpp='$CXXCPP $CPPFLAGS'
52139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52142
52143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52144 /* end confdefs.h.  */
52145 #include <math.h>
52146                       #ifdef HAVE_IEEEFP_H
52147                       #include <ieeefp.h>
52148                       #endif
52149
52150 int
52151 main ()
52152 {
52153  expf(0);
52154   ;
52155   return 0;
52156 }
52157 _ACEOF
52158 if ac_fn_cxx_try_compile "$LINENO"; then :
52159   glibcxx_cv_func_expf_use=yes
52160 else
52161   glibcxx_cv_func_expf_use=no
52162 fi
52163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52164       ac_ext=c
52165 ac_cpp='$CPP $CPPFLAGS'
52166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52169
52170
52171 fi
52172
52173   fi
52174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52175 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52176
52177   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52178     for ac_func in expf
52179 do :
52180   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52181 if test "x$ac_cv_func_expf" = x""yes; then :
52182   cat >>confdefs.h <<_ACEOF
52183 #define HAVE_EXPF 1
52184 _ACEOF
52185
52186 fi
52187 done
52188
52189   else
52190
52191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52192 $as_echo_n "checking for _expf declaration... " >&6; }
52193   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52194     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52195   $as_echo_n "(cached) " >&6
52196 else
52197
52198
52199       ac_ext=cpp
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52204
52205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52206 /* end confdefs.h.  */
52207 #include <math.h>
52208                       #ifdef HAVE_IEEEFP_H
52209                       #include <ieeefp.h>
52210                       #endif
52211
52212 int
52213 main ()
52214 {
52215  _expf(0);
52216   ;
52217   return 0;
52218 }
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221   glibcxx_cv_func__expf_use=yes
52222 else
52223   glibcxx_cv_func__expf_use=no
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226       ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52231
52232
52233 fi
52234
52235   fi
52236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52237 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52238
52239     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52240       for ac_func in _expf
52241 do :
52242   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52243 if test "x$ac_cv_func__expf" = x""yes; then :
52244   cat >>confdefs.h <<_ACEOF
52245 #define HAVE__EXPF 1
52246 _ACEOF
52247
52248 fi
52249 done
52250
52251     fi
52252   fi
52253
52254
52255
52256
52257
52258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52259 $as_echo_n "checking for isnanf declaration... " >&6; }
52260   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52261     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52262   $as_echo_n "(cached) " >&6
52263 else
52264
52265
52266       ac_ext=cpp
52267 ac_cpp='$CXXCPP $CPPFLAGS'
52268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52271
52272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52273 /* end confdefs.h.  */
52274 #include <math.h>
52275                       #ifdef HAVE_IEEEFP_H
52276                       #include <ieeefp.h>
52277                       #endif
52278
52279 int
52280 main ()
52281 {
52282  isnanf(0);
52283   ;
52284   return 0;
52285 }
52286 _ACEOF
52287 if ac_fn_cxx_try_compile "$LINENO"; then :
52288   glibcxx_cv_func_isnanf_use=yes
52289 else
52290   glibcxx_cv_func_isnanf_use=no
52291 fi
52292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52293       ac_ext=c
52294 ac_cpp='$CPP $CPPFLAGS'
52295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52298
52299
52300 fi
52301
52302   fi
52303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52304 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52305
52306   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52307     for ac_func in isnanf
52308 do :
52309   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52310 if test "x$ac_cv_func_isnanf" = x""yes; then :
52311   cat >>confdefs.h <<_ACEOF
52312 #define HAVE_ISNANF 1
52313 _ACEOF
52314
52315 fi
52316 done
52317
52318   else
52319
52320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52321 $as_echo_n "checking for _isnanf declaration... " >&6; }
52322   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52323     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52324   $as_echo_n "(cached) " >&6
52325 else
52326
52327
52328       ac_ext=cpp
52329 ac_cpp='$CXXCPP $CPPFLAGS'
52330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52333
52334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52335 /* end confdefs.h.  */
52336 #include <math.h>
52337                       #ifdef HAVE_IEEEFP_H
52338                       #include <ieeefp.h>
52339                       #endif
52340
52341 int
52342 main ()
52343 {
52344  _isnanf(0);
52345   ;
52346   return 0;
52347 }
52348 _ACEOF
52349 if ac_fn_cxx_try_compile "$LINENO"; then :
52350   glibcxx_cv_func__isnanf_use=yes
52351 else
52352   glibcxx_cv_func__isnanf_use=no
52353 fi
52354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52355       ac_ext=c
52356 ac_cpp='$CPP $CPPFLAGS'
52357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52360
52361
52362 fi
52363
52364   fi
52365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52366 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52367
52368     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52369       for ac_func in _isnanf
52370 do :
52371   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52372 if test "x$ac_cv_func__isnanf" = x""yes; then :
52373   cat >>confdefs.h <<_ACEOF
52374 #define HAVE__ISNANF 1
52375 _ACEOF
52376
52377 fi
52378 done
52379
52380     fi
52381   fi
52382
52383
52384
52385
52386
52387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52388 $as_echo_n "checking for isinff declaration... " >&6; }
52389   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52390     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52391   $as_echo_n "(cached) " >&6
52392 else
52393
52394
52395       ac_ext=cpp
52396 ac_cpp='$CXXCPP $CPPFLAGS'
52397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52400
52401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52402 /* end confdefs.h.  */
52403 #include <math.h>
52404                       #ifdef HAVE_IEEEFP_H
52405                       #include <ieeefp.h>
52406                       #endif
52407
52408 int
52409 main ()
52410 {
52411  isinff(0);
52412   ;
52413   return 0;
52414 }
52415 _ACEOF
52416 if ac_fn_cxx_try_compile "$LINENO"; then :
52417   glibcxx_cv_func_isinff_use=yes
52418 else
52419   glibcxx_cv_func_isinff_use=no
52420 fi
52421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52422       ac_ext=c
52423 ac_cpp='$CPP $CPPFLAGS'
52424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52427
52428
52429 fi
52430
52431   fi
52432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52433 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52434
52435   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52436     for ac_func in isinff
52437 do :
52438   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52439 if test "x$ac_cv_func_isinff" = x""yes; then :
52440   cat >>confdefs.h <<_ACEOF
52441 #define HAVE_ISINFF 1
52442 _ACEOF
52443
52444 fi
52445 done
52446
52447   else
52448
52449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52450 $as_echo_n "checking for _isinff declaration... " >&6; }
52451   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52452     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52453   $as_echo_n "(cached) " >&6
52454 else
52455
52456
52457       ac_ext=cpp
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52462
52463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52464 /* end confdefs.h.  */
52465 #include <math.h>
52466                       #ifdef HAVE_IEEEFP_H
52467                       #include <ieeefp.h>
52468                       #endif
52469
52470 int
52471 main ()
52472 {
52473  _isinff(0);
52474   ;
52475   return 0;
52476 }
52477 _ACEOF
52478 if ac_fn_cxx_try_compile "$LINENO"; then :
52479   glibcxx_cv_func__isinff_use=yes
52480 else
52481   glibcxx_cv_func__isinff_use=no
52482 fi
52483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52484       ac_ext=c
52485 ac_cpp='$CPP $CPPFLAGS'
52486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52489
52490
52491 fi
52492
52493   fi
52494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52495 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52496
52497     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52498       for ac_func in _isinff
52499 do :
52500   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52501 if test "x$ac_cv_func__isinff" = x""yes; then :
52502   cat >>confdefs.h <<_ACEOF
52503 #define HAVE__ISINFF 1
52504 _ACEOF
52505
52506 fi
52507 done
52508
52509     fi
52510   fi
52511
52512
52513
52514
52515
52516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52517 $as_echo_n "checking for atan2f declaration... " >&6; }
52518   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52519     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52520   $as_echo_n "(cached) " >&6
52521 else
52522
52523
52524       ac_ext=cpp
52525 ac_cpp='$CXXCPP $CPPFLAGS'
52526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52529
52530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531 /* end confdefs.h.  */
52532 #include <math.h>
52533 int
52534 main ()
52535 {
52536  atan2f(0, 0);
52537   ;
52538   return 0;
52539 }
52540 _ACEOF
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542   glibcxx_cv_func_atan2f_use=yes
52543 else
52544   glibcxx_cv_func_atan2f_use=no
52545 fi
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52547       ac_ext=c
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52552
52553
52554 fi
52555
52556   fi
52557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52558 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52559
52560   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52561     for ac_func in atan2f
52562 do :
52563   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52564 if test "x$ac_cv_func_atan2f" = x""yes; then :
52565   cat >>confdefs.h <<_ACEOF
52566 #define HAVE_ATAN2F 1
52567 _ACEOF
52568
52569 fi
52570 done
52571
52572   else
52573
52574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52575 $as_echo_n "checking for _atan2f declaration... " >&6; }
52576   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52577     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52578   $as_echo_n "(cached) " >&6
52579 else
52580
52581
52582       ac_ext=cpp
52583 ac_cpp='$CXXCPP $CPPFLAGS'
52584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52587
52588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52589 /* end confdefs.h.  */
52590 #include <math.h>
52591 int
52592 main ()
52593 {
52594  _atan2f(0, 0);
52595   ;
52596   return 0;
52597 }
52598 _ACEOF
52599 if ac_fn_cxx_try_compile "$LINENO"; then :
52600   glibcxx_cv_func__atan2f_use=yes
52601 else
52602   glibcxx_cv_func__atan2f_use=no
52603 fi
52604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52605       ac_ext=c
52606 ac_cpp='$CPP $CPPFLAGS'
52607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52610
52611
52612 fi
52613
52614   fi
52615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52616 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52617
52618     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52619       for ac_func in _atan2f
52620 do :
52621   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52622 if test "x$ac_cv_func__atan2f" = x""yes; then :
52623   cat >>confdefs.h <<_ACEOF
52624 #define HAVE__ATAN2F 1
52625 _ACEOF
52626
52627 fi
52628 done
52629
52630     fi
52631   fi
52632
52633
52634
52635
52636
52637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52638 $as_echo_n "checking for fabsf declaration... " >&6; }
52639   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52640     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52641   $as_echo_n "(cached) " >&6
52642 else
52643
52644
52645       ac_ext=cpp
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52650
52651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52652 /* end confdefs.h.  */
52653 #include <math.h>
52654                       #ifdef HAVE_IEEEFP_H
52655                       #include <ieeefp.h>
52656                       #endif
52657
52658 int
52659 main ()
52660 {
52661  fabsf(0);
52662   ;
52663   return 0;
52664 }
52665 _ACEOF
52666 if ac_fn_cxx_try_compile "$LINENO"; then :
52667   glibcxx_cv_func_fabsf_use=yes
52668 else
52669   glibcxx_cv_func_fabsf_use=no
52670 fi
52671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52672       ac_ext=c
52673 ac_cpp='$CPP $CPPFLAGS'
52674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52677
52678
52679 fi
52680
52681   fi
52682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52683 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52684
52685   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52686     for ac_func in fabsf
52687 do :
52688   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52689 if test "x$ac_cv_func_fabsf" = x""yes; then :
52690   cat >>confdefs.h <<_ACEOF
52691 #define HAVE_FABSF 1
52692 _ACEOF
52693
52694 fi
52695 done
52696
52697   else
52698
52699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52700 $as_echo_n "checking for _fabsf declaration... " >&6; }
52701   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52702     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52703   $as_echo_n "(cached) " >&6
52704 else
52705
52706
52707       ac_ext=cpp
52708 ac_cpp='$CXXCPP $CPPFLAGS'
52709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52712
52713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52714 /* end confdefs.h.  */
52715 #include <math.h>
52716                       #ifdef HAVE_IEEEFP_H
52717                       #include <ieeefp.h>
52718                       #endif
52719
52720 int
52721 main ()
52722 {
52723  _fabsf(0);
52724   ;
52725   return 0;
52726 }
52727 _ACEOF
52728 if ac_fn_cxx_try_compile "$LINENO"; then :
52729   glibcxx_cv_func__fabsf_use=yes
52730 else
52731   glibcxx_cv_func__fabsf_use=no
52732 fi
52733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52734       ac_ext=c
52735 ac_cpp='$CPP $CPPFLAGS'
52736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739
52740
52741 fi
52742
52743   fi
52744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52745 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52746
52747     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52748       for ac_func in _fabsf
52749 do :
52750   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52751 if test "x$ac_cv_func__fabsf" = x""yes; then :
52752   cat >>confdefs.h <<_ACEOF
52753 #define HAVE__FABSF 1
52754 _ACEOF
52755
52756 fi
52757 done
52758
52759     fi
52760   fi
52761
52762
52763
52764
52765
52766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52767 $as_echo_n "checking for fmodf declaration... " >&6; }
52768   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52769     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52770   $as_echo_n "(cached) " >&6
52771 else
52772
52773
52774       ac_ext=cpp
52775 ac_cpp='$CXXCPP $CPPFLAGS'
52776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52779
52780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52781 /* end confdefs.h.  */
52782 #include <math.h>
52783 int
52784 main ()
52785 {
52786  fmodf(0, 0);
52787   ;
52788   return 0;
52789 }
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792   glibcxx_cv_func_fmodf_use=yes
52793 else
52794   glibcxx_cv_func_fmodf_use=no
52795 fi
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797       ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52802
52803
52804 fi
52805
52806   fi
52807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52808 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52809
52810   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52811     for ac_func in fmodf
52812 do :
52813   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52814 if test "x$ac_cv_func_fmodf" = x""yes; then :
52815   cat >>confdefs.h <<_ACEOF
52816 #define HAVE_FMODF 1
52817 _ACEOF
52818
52819 fi
52820 done
52821
52822   else
52823
52824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52825 $as_echo_n "checking for _fmodf declaration... " >&6; }
52826   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52827     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52828   $as_echo_n "(cached) " >&6
52829 else
52830
52831
52832       ac_ext=cpp
52833 ac_cpp='$CXXCPP $CPPFLAGS'
52834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52837
52838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52839 /* end confdefs.h.  */
52840 #include <math.h>
52841 int
52842 main ()
52843 {
52844  _fmodf(0, 0);
52845   ;
52846   return 0;
52847 }
52848 _ACEOF
52849 if ac_fn_cxx_try_compile "$LINENO"; then :
52850   glibcxx_cv_func__fmodf_use=yes
52851 else
52852   glibcxx_cv_func__fmodf_use=no
52853 fi
52854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52855       ac_ext=c
52856 ac_cpp='$CPP $CPPFLAGS'
52857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860
52861
52862 fi
52863
52864   fi
52865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52866 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52867
52868     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52869       for ac_func in _fmodf
52870 do :
52871   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52872 if test "x$ac_cv_func__fmodf" = x""yes; then :
52873   cat >>confdefs.h <<_ACEOF
52874 #define HAVE__FMODF 1
52875 _ACEOF
52876
52877 fi
52878 done
52879
52880     fi
52881   fi
52882
52883
52884
52885
52886
52887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52888 $as_echo_n "checking for frexpf declaration... " >&6; }
52889   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52890     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52891   $as_echo_n "(cached) " >&6
52892 else
52893
52894
52895       ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52900
52901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h.  */
52903 #include <math.h>
52904 int
52905 main ()
52906 {
52907  frexpf(0, 0);
52908   ;
52909   return 0;
52910 }
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913   glibcxx_cv_func_frexpf_use=yes
52914 else
52915   glibcxx_cv_func_frexpf_use=no
52916 fi
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918       ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52923
52924
52925 fi
52926
52927   fi
52928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52929 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52930
52931   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52932     for ac_func in frexpf
52933 do :
52934   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52935 if test "x$ac_cv_func_frexpf" = x""yes; then :
52936   cat >>confdefs.h <<_ACEOF
52937 #define HAVE_FREXPF 1
52938 _ACEOF
52939
52940 fi
52941 done
52942
52943   else
52944
52945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52946 $as_echo_n "checking for _frexpf declaration... " >&6; }
52947   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52948     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52949   $as_echo_n "(cached) " >&6
52950 else
52951
52952
52953       ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52958
52959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h.  */
52961 #include <math.h>
52962 int
52963 main ()
52964 {
52965  _frexpf(0, 0);
52966   ;
52967   return 0;
52968 }
52969 _ACEOF
52970 if ac_fn_cxx_try_compile "$LINENO"; then :
52971   glibcxx_cv_func__frexpf_use=yes
52972 else
52973   glibcxx_cv_func__frexpf_use=no
52974 fi
52975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52976       ac_ext=c
52977 ac_cpp='$CPP $CPPFLAGS'
52978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52981
52982
52983 fi
52984
52985   fi
52986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52987 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52988
52989     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52990       for ac_func in _frexpf
52991 do :
52992   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52993 if test "x$ac_cv_func__frexpf" = x""yes; then :
52994   cat >>confdefs.h <<_ACEOF
52995 #define HAVE__FREXPF 1
52996 _ACEOF
52997
52998 fi
52999 done
53000
53001     fi
53002   fi
53003
53004
53005
53006
53007
53008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53009 $as_echo_n "checking for hypotf declaration... " >&6; }
53010   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53011     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53012   $as_echo_n "(cached) " >&6
53013 else
53014
53015
53016       ac_ext=cpp
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53021
53022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h.  */
53024 #include <math.h>
53025 int
53026 main ()
53027 {
53028  hypotf(0, 0);
53029   ;
53030   return 0;
53031 }
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034   glibcxx_cv_func_hypotf_use=yes
53035 else
53036   glibcxx_cv_func_hypotf_use=no
53037 fi
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039       ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53044
53045
53046 fi
53047
53048   fi
53049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53050 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53051
53052   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53053     for ac_func in hypotf
53054 do :
53055   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53056 if test "x$ac_cv_func_hypotf" = x""yes; then :
53057   cat >>confdefs.h <<_ACEOF
53058 #define HAVE_HYPOTF 1
53059 _ACEOF
53060
53061 fi
53062 done
53063
53064   else
53065
53066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53067 $as_echo_n "checking for _hypotf declaration... " >&6; }
53068   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53069     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53070   $as_echo_n "(cached) " >&6
53071 else
53072
53073
53074       ac_ext=cpp
53075 ac_cpp='$CXXCPP $CPPFLAGS'
53076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53079
53080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53081 /* end confdefs.h.  */
53082 #include <math.h>
53083 int
53084 main ()
53085 {
53086  _hypotf(0, 0);
53087   ;
53088   return 0;
53089 }
53090 _ACEOF
53091 if ac_fn_cxx_try_compile "$LINENO"; then :
53092   glibcxx_cv_func__hypotf_use=yes
53093 else
53094   glibcxx_cv_func__hypotf_use=no
53095 fi
53096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53097       ac_ext=c
53098 ac_cpp='$CPP $CPPFLAGS'
53099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53102
53103
53104 fi
53105
53106   fi
53107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53108 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53109
53110     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53111       for ac_func in _hypotf
53112 do :
53113   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53114 if test "x$ac_cv_func__hypotf" = x""yes; then :
53115   cat >>confdefs.h <<_ACEOF
53116 #define HAVE__HYPOTF 1
53117 _ACEOF
53118
53119 fi
53120 done
53121
53122     fi
53123   fi
53124
53125
53126
53127
53128
53129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53130 $as_echo_n "checking for ldexpf declaration... " >&6; }
53131   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53132     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53133   $as_echo_n "(cached) " >&6
53134 else
53135
53136
53137       ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53142
53143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h.  */
53145 #include <math.h>
53146 int
53147 main ()
53148 {
53149  ldexpf(0, 0);
53150   ;
53151   return 0;
53152 }
53153 _ACEOF
53154 if ac_fn_cxx_try_compile "$LINENO"; then :
53155   glibcxx_cv_func_ldexpf_use=yes
53156 else
53157   glibcxx_cv_func_ldexpf_use=no
53158 fi
53159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53160       ac_ext=c
53161 ac_cpp='$CPP $CPPFLAGS'
53162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53165
53166
53167 fi
53168
53169   fi
53170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53171 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53172
53173   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53174     for ac_func in ldexpf
53175 do :
53176   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53177 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53178   cat >>confdefs.h <<_ACEOF
53179 #define HAVE_LDEXPF 1
53180 _ACEOF
53181
53182 fi
53183 done
53184
53185   else
53186
53187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53188 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53189   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53190     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53191   $as_echo_n "(cached) " >&6
53192 else
53193
53194
53195       ac_ext=cpp
53196 ac_cpp='$CXXCPP $CPPFLAGS'
53197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53200
53201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53202 /* end confdefs.h.  */
53203 #include <math.h>
53204 int
53205 main ()
53206 {
53207  _ldexpf(0, 0);
53208   ;
53209   return 0;
53210 }
53211 _ACEOF
53212 if ac_fn_cxx_try_compile "$LINENO"; then :
53213   glibcxx_cv_func__ldexpf_use=yes
53214 else
53215   glibcxx_cv_func__ldexpf_use=no
53216 fi
53217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53218       ac_ext=c
53219 ac_cpp='$CPP $CPPFLAGS'
53220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53223
53224
53225 fi
53226
53227   fi
53228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53229 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53230
53231     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53232       for ac_func in _ldexpf
53233 do :
53234   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53235 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53236   cat >>confdefs.h <<_ACEOF
53237 #define HAVE__LDEXPF 1
53238 _ACEOF
53239
53240 fi
53241 done
53242
53243     fi
53244   fi
53245
53246
53247
53248
53249
53250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53251 $as_echo_n "checking for logf declaration... " >&6; }
53252   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53253     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53254   $as_echo_n "(cached) " >&6
53255 else
53256
53257
53258       ac_ext=cpp
53259 ac_cpp='$CXXCPP $CPPFLAGS'
53260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53263
53264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53265 /* end confdefs.h.  */
53266 #include <math.h>
53267                       #ifdef HAVE_IEEEFP_H
53268                       #include <ieeefp.h>
53269                       #endif
53270
53271 int
53272 main ()
53273 {
53274  logf(0);
53275   ;
53276   return 0;
53277 }
53278 _ACEOF
53279 if ac_fn_cxx_try_compile "$LINENO"; then :
53280   glibcxx_cv_func_logf_use=yes
53281 else
53282   glibcxx_cv_func_logf_use=no
53283 fi
53284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53285       ac_ext=c
53286 ac_cpp='$CPP $CPPFLAGS'
53287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53290
53291
53292 fi
53293
53294   fi
53295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53296 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53297
53298   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53299     for ac_func in logf
53300 do :
53301   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53302 if test "x$ac_cv_func_logf" = x""yes; then :
53303   cat >>confdefs.h <<_ACEOF
53304 #define HAVE_LOGF 1
53305 _ACEOF
53306
53307 fi
53308 done
53309
53310   else
53311
53312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53313 $as_echo_n "checking for _logf declaration... " >&6; }
53314   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53315     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53316   $as_echo_n "(cached) " >&6
53317 else
53318
53319
53320       ac_ext=cpp
53321 ac_cpp='$CXXCPP $CPPFLAGS'
53322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325
53326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53327 /* end confdefs.h.  */
53328 #include <math.h>
53329                       #ifdef HAVE_IEEEFP_H
53330                       #include <ieeefp.h>
53331                       #endif
53332
53333 int
53334 main ()
53335 {
53336  _logf(0);
53337   ;
53338   return 0;
53339 }
53340 _ACEOF
53341 if ac_fn_cxx_try_compile "$LINENO"; then :
53342   glibcxx_cv_func__logf_use=yes
53343 else
53344   glibcxx_cv_func__logf_use=no
53345 fi
53346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53347       ac_ext=c
53348 ac_cpp='$CPP $CPPFLAGS'
53349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352
53353
53354 fi
53355
53356   fi
53357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53358 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53359
53360     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53361       for ac_func in _logf
53362 do :
53363   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53364 if test "x$ac_cv_func__logf" = x""yes; then :
53365   cat >>confdefs.h <<_ACEOF
53366 #define HAVE__LOGF 1
53367 _ACEOF
53368
53369 fi
53370 done
53371
53372     fi
53373   fi
53374
53375
53376
53377
53378
53379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53380 $as_echo_n "checking for log10f declaration... " >&6; }
53381   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53382     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53383   $as_echo_n "(cached) " >&6
53384 else
53385
53386
53387       ac_ext=cpp
53388 ac_cpp='$CXXCPP $CPPFLAGS'
53389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53392
53393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53394 /* end confdefs.h.  */
53395 #include <math.h>
53396                       #ifdef HAVE_IEEEFP_H
53397                       #include <ieeefp.h>
53398                       #endif
53399
53400 int
53401 main ()
53402 {
53403  log10f(0);
53404   ;
53405   return 0;
53406 }
53407 _ACEOF
53408 if ac_fn_cxx_try_compile "$LINENO"; then :
53409   glibcxx_cv_func_log10f_use=yes
53410 else
53411   glibcxx_cv_func_log10f_use=no
53412 fi
53413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53414       ac_ext=c
53415 ac_cpp='$CPP $CPPFLAGS'
53416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53419
53420
53421 fi
53422
53423   fi
53424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53425 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53426
53427   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53428     for ac_func in log10f
53429 do :
53430   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53431 if test "x$ac_cv_func_log10f" = x""yes; then :
53432   cat >>confdefs.h <<_ACEOF
53433 #define HAVE_LOG10F 1
53434 _ACEOF
53435
53436 fi
53437 done
53438
53439   else
53440
53441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53442 $as_echo_n "checking for _log10f declaration... " >&6; }
53443   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53444     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53445   $as_echo_n "(cached) " >&6
53446 else
53447
53448
53449       ac_ext=cpp
53450 ac_cpp='$CXXCPP $CPPFLAGS'
53451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53454
53455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53456 /* end confdefs.h.  */
53457 #include <math.h>
53458                       #ifdef HAVE_IEEEFP_H
53459                       #include <ieeefp.h>
53460                       #endif
53461
53462 int
53463 main ()
53464 {
53465  _log10f(0);
53466   ;
53467   return 0;
53468 }
53469 _ACEOF
53470 if ac_fn_cxx_try_compile "$LINENO"; then :
53471   glibcxx_cv_func__log10f_use=yes
53472 else
53473   glibcxx_cv_func__log10f_use=no
53474 fi
53475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53476       ac_ext=c
53477 ac_cpp='$CPP $CPPFLAGS'
53478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53481
53482
53483 fi
53484
53485   fi
53486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53487 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53488
53489     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53490       for ac_func in _log10f
53491 do :
53492   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53493 if test "x$ac_cv_func__log10f" = x""yes; then :
53494   cat >>confdefs.h <<_ACEOF
53495 #define HAVE__LOG10F 1
53496 _ACEOF
53497
53498 fi
53499 done
53500
53501     fi
53502   fi
53503
53504
53505
53506
53507
53508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53509 $as_echo_n "checking for modff declaration... " >&6; }
53510   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53511     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53512   $as_echo_n "(cached) " >&6
53513 else
53514
53515
53516       ac_ext=cpp
53517 ac_cpp='$CXXCPP $CPPFLAGS'
53518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53521
53522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53523 /* end confdefs.h.  */
53524 #include <math.h>
53525 int
53526 main ()
53527 {
53528  modff(0, 0);
53529   ;
53530   return 0;
53531 }
53532 _ACEOF
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534   glibcxx_cv_func_modff_use=yes
53535 else
53536   glibcxx_cv_func_modff_use=no
53537 fi
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53539       ac_ext=c
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53544
53545
53546 fi
53547
53548   fi
53549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53550 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53551
53552   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53553     for ac_func in modff
53554 do :
53555   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53556 if test "x$ac_cv_func_modff" = x""yes; then :
53557   cat >>confdefs.h <<_ACEOF
53558 #define HAVE_MODFF 1
53559 _ACEOF
53560
53561 fi
53562 done
53563
53564   else
53565
53566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53567 $as_echo_n "checking for _modff declaration... " >&6; }
53568   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53569     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53570   $as_echo_n "(cached) " >&6
53571 else
53572
53573
53574       ac_ext=cpp
53575 ac_cpp='$CXXCPP $CPPFLAGS'
53576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53579
53580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53581 /* end confdefs.h.  */
53582 #include <math.h>
53583 int
53584 main ()
53585 {
53586  _modff(0, 0);
53587   ;
53588   return 0;
53589 }
53590 _ACEOF
53591 if ac_fn_cxx_try_compile "$LINENO"; then :
53592   glibcxx_cv_func__modff_use=yes
53593 else
53594   glibcxx_cv_func__modff_use=no
53595 fi
53596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53597       ac_ext=c
53598 ac_cpp='$CPP $CPPFLAGS'
53599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602
53603
53604 fi
53605
53606   fi
53607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53608 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53609
53610     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53611       for ac_func in _modff
53612 do :
53613   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53614 if test "x$ac_cv_func__modff" = x""yes; then :
53615   cat >>confdefs.h <<_ACEOF
53616 #define HAVE__MODFF 1
53617 _ACEOF
53618
53619 fi
53620 done
53621
53622     fi
53623   fi
53624
53625
53626
53627
53628
53629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53630 $as_echo_n "checking for modf declaration... " >&6; }
53631   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53632     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53633   $as_echo_n "(cached) " >&6
53634 else
53635
53636
53637       ac_ext=cpp
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53642
53643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h.  */
53645 #include <math.h>
53646 int
53647 main ()
53648 {
53649  modf(0, 0);
53650   ;
53651   return 0;
53652 }
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655   glibcxx_cv_func_modf_use=yes
53656 else
53657   glibcxx_cv_func_modf_use=no
53658 fi
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660       ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53665
53666
53667 fi
53668
53669   fi
53670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53671 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53672
53673   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53674     for ac_func in modf
53675 do :
53676   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53677 if test "x$ac_cv_func_modf" = x""yes; then :
53678   cat >>confdefs.h <<_ACEOF
53679 #define HAVE_MODF 1
53680 _ACEOF
53681
53682 fi
53683 done
53684
53685   else
53686
53687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53688 $as_echo_n "checking for _modf declaration... " >&6; }
53689   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53690     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53691   $as_echo_n "(cached) " >&6
53692 else
53693
53694
53695       ac_ext=cpp
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53700
53701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53702 /* end confdefs.h.  */
53703 #include <math.h>
53704 int
53705 main ()
53706 {
53707  _modf(0, 0);
53708   ;
53709   return 0;
53710 }
53711 _ACEOF
53712 if ac_fn_cxx_try_compile "$LINENO"; then :
53713   glibcxx_cv_func__modf_use=yes
53714 else
53715   glibcxx_cv_func__modf_use=no
53716 fi
53717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53718       ac_ext=c
53719 ac_cpp='$CPP $CPPFLAGS'
53720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53723
53724
53725 fi
53726
53727   fi
53728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53729 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53730
53731     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53732       for ac_func in _modf
53733 do :
53734   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53735 if test "x$ac_cv_func__modf" = x""yes; then :
53736   cat >>confdefs.h <<_ACEOF
53737 #define HAVE__MODF 1
53738 _ACEOF
53739
53740 fi
53741 done
53742
53743     fi
53744   fi
53745
53746
53747
53748
53749
53750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53751 $as_echo_n "checking for powf declaration... " >&6; }
53752   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53753     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53754   $as_echo_n "(cached) " >&6
53755 else
53756
53757
53758       ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h.  */
53766 #include <math.h>
53767 int
53768 main ()
53769 {
53770  powf(0, 0);
53771   ;
53772   return 0;
53773 }
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776   glibcxx_cv_func_powf_use=yes
53777 else
53778   glibcxx_cv_func_powf_use=no
53779 fi
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781       ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53786
53787
53788 fi
53789
53790   fi
53791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53792 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53793
53794   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53795     for ac_func in powf
53796 do :
53797   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53798 if test "x$ac_cv_func_powf" = x""yes; then :
53799   cat >>confdefs.h <<_ACEOF
53800 #define HAVE_POWF 1
53801 _ACEOF
53802
53803 fi
53804 done
53805
53806   else
53807
53808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53809 $as_echo_n "checking for _powf declaration... " >&6; }
53810   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53811     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53812   $as_echo_n "(cached) " >&6
53813 else
53814
53815
53816       ac_ext=cpp
53817 ac_cpp='$CXXCPP $CPPFLAGS'
53818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53821
53822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53823 /* end confdefs.h.  */
53824 #include <math.h>
53825 int
53826 main ()
53827 {
53828  _powf(0, 0);
53829   ;
53830   return 0;
53831 }
53832 _ACEOF
53833 if ac_fn_cxx_try_compile "$LINENO"; then :
53834   glibcxx_cv_func__powf_use=yes
53835 else
53836   glibcxx_cv_func__powf_use=no
53837 fi
53838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53839       ac_ext=c
53840 ac_cpp='$CPP $CPPFLAGS'
53841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53844
53845
53846 fi
53847
53848   fi
53849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53850 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53851
53852     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53853       for ac_func in _powf
53854 do :
53855   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53856 if test "x$ac_cv_func__powf" = x""yes; then :
53857   cat >>confdefs.h <<_ACEOF
53858 #define HAVE__POWF 1
53859 _ACEOF
53860
53861 fi
53862 done
53863
53864     fi
53865   fi
53866
53867
53868
53869
53870
53871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53872 $as_echo_n "checking for sqrtf declaration... " >&6; }
53873   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53874     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53875   $as_echo_n "(cached) " >&6
53876 else
53877
53878
53879       ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884
53885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h.  */
53887 #include <math.h>
53888                       #ifdef HAVE_IEEEFP_H
53889                       #include <ieeefp.h>
53890                       #endif
53891
53892 int
53893 main ()
53894 {
53895  sqrtf(0);
53896   ;
53897   return 0;
53898 }
53899 _ACEOF
53900 if ac_fn_cxx_try_compile "$LINENO"; then :
53901   glibcxx_cv_func_sqrtf_use=yes
53902 else
53903   glibcxx_cv_func_sqrtf_use=no
53904 fi
53905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53906       ac_ext=c
53907 ac_cpp='$CPP $CPPFLAGS'
53908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53911
53912
53913 fi
53914
53915   fi
53916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53917 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53918
53919   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53920     for ac_func in sqrtf
53921 do :
53922   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53923 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53924   cat >>confdefs.h <<_ACEOF
53925 #define HAVE_SQRTF 1
53926 _ACEOF
53927
53928 fi
53929 done
53930
53931   else
53932
53933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53934 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53935   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53936     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53937   $as_echo_n "(cached) " >&6
53938 else
53939
53940
53941       ac_ext=cpp
53942 ac_cpp='$CXXCPP $CPPFLAGS'
53943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946
53947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53948 /* end confdefs.h.  */
53949 #include <math.h>
53950                       #ifdef HAVE_IEEEFP_H
53951                       #include <ieeefp.h>
53952                       #endif
53953
53954 int
53955 main ()
53956 {
53957  _sqrtf(0);
53958   ;
53959   return 0;
53960 }
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963   glibcxx_cv_func__sqrtf_use=yes
53964 else
53965   glibcxx_cv_func__sqrtf_use=no
53966 fi
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968       ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973
53974
53975 fi
53976
53977   fi
53978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53979 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53980
53981     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53982       for ac_func in _sqrtf
53983 do :
53984   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53985 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53986   cat >>confdefs.h <<_ACEOF
53987 #define HAVE__SQRTF 1
53988 _ACEOF
53989
53990 fi
53991 done
53992
53993     fi
53994   fi
53995
53996
53997
53998
53999
54000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54001 $as_echo_n "checking for sincosf declaration... " >&6; }
54002   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54003     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54004   $as_echo_n "(cached) " >&6
54005 else
54006
54007
54008       ac_ext=cpp
54009 ac_cpp='$CXXCPP $CPPFLAGS'
54010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54013
54014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54015 /* end confdefs.h.  */
54016 #include <math.h>
54017 int
54018 main ()
54019 {
54020  sincosf(0, 0, 0);
54021   ;
54022   return 0;
54023 }
54024 _ACEOF
54025 if ac_fn_cxx_try_compile "$LINENO"; then :
54026   glibcxx_cv_func_sincosf_use=yes
54027 else
54028   glibcxx_cv_func_sincosf_use=no
54029 fi
54030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54031       ac_ext=c
54032 ac_cpp='$CPP $CPPFLAGS'
54033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54036
54037
54038 fi
54039
54040   fi
54041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54042 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54043
54044   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54045     for ac_func in sincosf
54046 do :
54047   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54048 if test "x$ac_cv_func_sincosf" = x""yes; then :
54049   cat >>confdefs.h <<_ACEOF
54050 #define HAVE_SINCOSF 1
54051 _ACEOF
54052
54053 fi
54054 done
54055
54056   else
54057
54058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54059 $as_echo_n "checking for _sincosf declaration... " >&6; }
54060   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54061     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54062   $as_echo_n "(cached) " >&6
54063 else
54064
54065
54066       ac_ext=cpp
54067 ac_cpp='$CXXCPP $CPPFLAGS'
54068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54071
54072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54073 /* end confdefs.h.  */
54074 #include <math.h>
54075 int
54076 main ()
54077 {
54078  _sincosf(0, 0, 0);
54079   ;
54080   return 0;
54081 }
54082 _ACEOF
54083 if ac_fn_cxx_try_compile "$LINENO"; then :
54084   glibcxx_cv_func__sincosf_use=yes
54085 else
54086   glibcxx_cv_func__sincosf_use=no
54087 fi
54088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54089       ac_ext=c
54090 ac_cpp='$CPP $CPPFLAGS'
54091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54094
54095
54096 fi
54097
54098   fi
54099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54100 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54101
54102     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54103       for ac_func in _sincosf
54104 do :
54105   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54106 if test "x$ac_cv_func__sincosf" = x""yes; then :
54107   cat >>confdefs.h <<_ACEOF
54108 #define HAVE__SINCOSF 1
54109 _ACEOF
54110
54111 fi
54112 done
54113
54114     fi
54115   fi
54116
54117
54118
54119
54120
54121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54122 $as_echo_n "checking for finitef declaration... " >&6; }
54123   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54124     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54125   $as_echo_n "(cached) " >&6
54126 else
54127
54128
54129       ac_ext=cpp
54130 ac_cpp='$CXXCPP $CPPFLAGS'
54131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54134
54135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54136 /* end confdefs.h.  */
54137 #include <math.h>
54138                       #ifdef HAVE_IEEEFP_H
54139                       #include <ieeefp.h>
54140                       #endif
54141
54142 int
54143 main ()
54144 {
54145  finitef(0);
54146   ;
54147   return 0;
54148 }
54149 _ACEOF
54150 if ac_fn_cxx_try_compile "$LINENO"; then :
54151   glibcxx_cv_func_finitef_use=yes
54152 else
54153   glibcxx_cv_func_finitef_use=no
54154 fi
54155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54156       ac_ext=c
54157 ac_cpp='$CPP $CPPFLAGS'
54158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54161
54162
54163 fi
54164
54165   fi
54166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54167 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54168
54169   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54170     for ac_func in finitef
54171 do :
54172   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54173 if test "x$ac_cv_func_finitef" = x""yes; then :
54174   cat >>confdefs.h <<_ACEOF
54175 #define HAVE_FINITEF 1
54176 _ACEOF
54177
54178 fi
54179 done
54180
54181   else
54182
54183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54184 $as_echo_n "checking for _finitef declaration... " >&6; }
54185   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54186     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54187   $as_echo_n "(cached) " >&6
54188 else
54189
54190
54191       ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196
54197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h.  */
54199 #include <math.h>
54200                       #ifdef HAVE_IEEEFP_H
54201                       #include <ieeefp.h>
54202                       #endif
54203
54204 int
54205 main ()
54206 {
54207  _finitef(0);
54208   ;
54209   return 0;
54210 }
54211 _ACEOF
54212 if ac_fn_cxx_try_compile "$LINENO"; then :
54213   glibcxx_cv_func__finitef_use=yes
54214 else
54215   glibcxx_cv_func__finitef_use=no
54216 fi
54217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54218       ac_ext=c
54219 ac_cpp='$CPP $CPPFLAGS'
54220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54223
54224
54225 fi
54226
54227   fi
54228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54229 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54230
54231     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54232       for ac_func in _finitef
54233 do :
54234   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54235 if test "x$ac_cv_func__finitef" = x""yes; then :
54236   cat >>confdefs.h <<_ACEOF
54237 #define HAVE__FINITEF 1
54238 _ACEOF
54239
54240 fi
54241 done
54242
54243     fi
54244   fi
54245
54246
54247
54248
54249
54250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54251 $as_echo_n "checking for long double trig functions... " >&6; }
54252   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54253   $as_echo_n "(cached) " >&6
54254 else
54255
54256
54257     ac_ext=cpp
54258 ac_cpp='$CXXCPP $CPPFLAGS'
54259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54262
54263     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54264 /* end confdefs.h.  */
54265 #include <math.h>
54266 int
54267 main ()
54268 {
54269 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54270   ;
54271   return 0;
54272 }
54273 _ACEOF
54274 if ac_fn_cxx_try_compile "$LINENO"; then :
54275   glibcxx_cv_func_long_double_trig_use=yes
54276 else
54277   glibcxx_cv_func_long_double_trig_use=no
54278 fi
54279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54280     ac_ext=c
54281 ac_cpp='$CPP $CPPFLAGS'
54282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54285
54286 fi
54287
54288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54289 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54290   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54291     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54292 do :
54293   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54295 eval as_val=\$$as_ac_var
54296    if test "x$as_val" = x""yes; then :
54297   cat >>confdefs.h <<_ACEOF
54298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54299 _ACEOF
54300
54301 fi
54302 done
54303
54304   else
54305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54306 $as_echo_n "checking for _long double trig functions... " >&6; }
54307     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54308   $as_echo_n "(cached) " >&6
54309 else
54310
54311
54312       ac_ext=cpp
54313 ac_cpp='$CXXCPP $CPPFLAGS'
54314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54317
54318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54319 /* end confdefs.h.  */
54320 #include <math.h>
54321 int
54322 main ()
54323 {
54324 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54325   ;
54326   return 0;
54327 }
54328 _ACEOF
54329 if ac_fn_cxx_try_compile "$LINENO"; then :
54330   glibcxx_cv_func__long_double_trig_use=yes
54331 else
54332   glibcxx_cv_func__long_double_trig_use=no
54333 fi
54334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54335       ac_ext=c
54336 ac_cpp='$CPP $CPPFLAGS'
54337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54340
54341 fi
54342
54343     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54344 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54345     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54346       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54347 do :
54348   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54350 eval as_val=\$$as_ac_var
54351    if test "x$as_val" = x""yes; then :
54352   cat >>confdefs.h <<_ACEOF
54353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54354 _ACEOF
54355
54356 fi
54357 done
54358
54359     fi
54360   fi
54361
54362
54363
54364
54365
54366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54367 $as_echo_n "checking for long double round functions... " >&6; }
54368   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54369   $as_echo_n "(cached) " >&6
54370 else
54371
54372
54373     ac_ext=cpp
54374 ac_cpp='$CXXCPP $CPPFLAGS'
54375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54378
54379     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380 /* end confdefs.h.  */
54381 #include <math.h>
54382 int
54383 main ()
54384 {
54385 ceill (0); floorl (0);
54386   ;
54387   return 0;
54388 }
54389 _ACEOF
54390 if ac_fn_cxx_try_compile "$LINENO"; then :
54391   glibcxx_cv_func_long_double_round_use=yes
54392 else
54393   glibcxx_cv_func_long_double_round_use=no
54394 fi
54395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54396     ac_ext=c
54397 ac_cpp='$CPP $CPPFLAGS'
54398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54401
54402 fi
54403
54404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54405 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54406   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54407     for ac_func in ceill floorl
54408 do :
54409   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54411 eval as_val=\$$as_ac_var
54412    if test "x$as_val" = x""yes; then :
54413   cat >>confdefs.h <<_ACEOF
54414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54415 _ACEOF
54416
54417 fi
54418 done
54419
54420   else
54421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54422 $as_echo_n "checking for _long double round functions... " >&6; }
54423     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54424   $as_echo_n "(cached) " >&6
54425 else
54426
54427
54428       ac_ext=cpp
54429 ac_cpp='$CXXCPP $CPPFLAGS'
54430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54433
54434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54435 /* end confdefs.h.  */
54436 #include <math.h>
54437 int
54438 main ()
54439 {
54440 _ceill (0); _floorl (0);
54441   ;
54442   return 0;
54443 }
54444 _ACEOF
54445 if ac_fn_cxx_try_compile "$LINENO"; then :
54446   glibcxx_cv_func__long_double_round_use=yes
54447 else
54448   glibcxx_cv_func__long_double_round_use=no
54449 fi
54450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54451       ac_ext=c
54452 ac_cpp='$CPP $CPPFLAGS'
54453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54456
54457 fi
54458
54459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54460 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54461     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54462       for ac_func in _ceill _floorl
54463 do :
54464   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54466 eval as_val=\$$as_ac_var
54467    if test "x$as_val" = x""yes; then :
54468   cat >>confdefs.h <<_ACEOF
54469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54470 _ACEOF
54471
54472 fi
54473 done
54474
54475     fi
54476   fi
54477
54478
54479
54480
54481
54482
54483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54484 $as_echo_n "checking for isnanl declaration... " >&6; }
54485   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54486     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54487   $as_echo_n "(cached) " >&6
54488 else
54489
54490
54491       ac_ext=cpp
54492 ac_cpp='$CXXCPP $CPPFLAGS'
54493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496
54497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54498 /* end confdefs.h.  */
54499 #include <math.h>
54500                       #ifdef HAVE_IEEEFP_H
54501                       #include <ieeefp.h>
54502                       #endif
54503
54504 int
54505 main ()
54506 {
54507  isnanl(0);
54508   ;
54509   return 0;
54510 }
54511 _ACEOF
54512 if ac_fn_cxx_try_compile "$LINENO"; then :
54513   glibcxx_cv_func_isnanl_use=yes
54514 else
54515   glibcxx_cv_func_isnanl_use=no
54516 fi
54517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54518       ac_ext=c
54519 ac_cpp='$CPP $CPPFLAGS'
54520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54523
54524
54525 fi
54526
54527   fi
54528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54529 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54530
54531   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54532     for ac_func in isnanl
54533 do :
54534   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54535 if test "x$ac_cv_func_isnanl" = x""yes; then :
54536   cat >>confdefs.h <<_ACEOF
54537 #define HAVE_ISNANL 1
54538 _ACEOF
54539
54540 fi
54541 done
54542
54543   else
54544
54545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54546 $as_echo_n "checking for _isnanl declaration... " >&6; }
54547   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54548     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54549   $as_echo_n "(cached) " >&6
54550 else
54551
54552
54553       ac_ext=cpp
54554 ac_cpp='$CXXCPP $CPPFLAGS'
54555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54558
54559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54560 /* end confdefs.h.  */
54561 #include <math.h>
54562                       #ifdef HAVE_IEEEFP_H
54563                       #include <ieeefp.h>
54564                       #endif
54565
54566 int
54567 main ()
54568 {
54569  _isnanl(0);
54570   ;
54571   return 0;
54572 }
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575   glibcxx_cv_func__isnanl_use=yes
54576 else
54577   glibcxx_cv_func__isnanl_use=no
54578 fi
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580       ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54585
54586
54587 fi
54588
54589   fi
54590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54591 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54592
54593     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54594       for ac_func in _isnanl
54595 do :
54596   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54597 if test "x$ac_cv_func__isnanl" = x""yes; then :
54598   cat >>confdefs.h <<_ACEOF
54599 #define HAVE__ISNANL 1
54600 _ACEOF
54601
54602 fi
54603 done
54604
54605     fi
54606   fi
54607
54608
54609
54610
54611
54612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54613 $as_echo_n "checking for isinfl declaration... " >&6; }
54614   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54615     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54616   $as_echo_n "(cached) " >&6
54617 else
54618
54619
54620       ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54625
54626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h.  */
54628 #include <math.h>
54629                       #ifdef HAVE_IEEEFP_H
54630                       #include <ieeefp.h>
54631                       #endif
54632
54633 int
54634 main ()
54635 {
54636  isinfl(0);
54637   ;
54638   return 0;
54639 }
54640 _ACEOF
54641 if ac_fn_cxx_try_compile "$LINENO"; then :
54642   glibcxx_cv_func_isinfl_use=yes
54643 else
54644   glibcxx_cv_func_isinfl_use=no
54645 fi
54646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54647       ac_ext=c
54648 ac_cpp='$CPP $CPPFLAGS'
54649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54652
54653
54654 fi
54655
54656   fi
54657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54658 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54659
54660   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54661     for ac_func in isinfl
54662 do :
54663   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54664 if test "x$ac_cv_func_isinfl" = x""yes; then :
54665   cat >>confdefs.h <<_ACEOF
54666 #define HAVE_ISINFL 1
54667 _ACEOF
54668
54669 fi
54670 done
54671
54672   else
54673
54674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54675 $as_echo_n "checking for _isinfl declaration... " >&6; }
54676   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54677     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54678   $as_echo_n "(cached) " >&6
54679 else
54680
54681
54682       ac_ext=cpp
54683 ac_cpp='$CXXCPP $CPPFLAGS'
54684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54687
54688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54689 /* end confdefs.h.  */
54690 #include <math.h>
54691                       #ifdef HAVE_IEEEFP_H
54692                       #include <ieeefp.h>
54693                       #endif
54694
54695 int
54696 main ()
54697 {
54698  _isinfl(0);
54699   ;
54700   return 0;
54701 }
54702 _ACEOF
54703 if ac_fn_cxx_try_compile "$LINENO"; then :
54704   glibcxx_cv_func__isinfl_use=yes
54705 else
54706   glibcxx_cv_func__isinfl_use=no
54707 fi
54708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54709       ac_ext=c
54710 ac_cpp='$CPP $CPPFLAGS'
54711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54714
54715
54716 fi
54717
54718   fi
54719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54720 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54721
54722     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54723       for ac_func in _isinfl
54724 do :
54725   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54726 if test "x$ac_cv_func__isinfl" = x""yes; then :
54727   cat >>confdefs.h <<_ACEOF
54728 #define HAVE__ISINFL 1
54729 _ACEOF
54730
54731 fi
54732 done
54733
54734     fi
54735   fi
54736
54737
54738
54739
54740
54741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54742 $as_echo_n "checking for atan2l declaration... " >&6; }
54743   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54744     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54745   $as_echo_n "(cached) " >&6
54746 else
54747
54748
54749       ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54754
54755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h.  */
54757 #include <math.h>
54758 int
54759 main ()
54760 {
54761  atan2l(0, 0);
54762   ;
54763   return 0;
54764 }
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767   glibcxx_cv_func_atan2l_use=yes
54768 else
54769   glibcxx_cv_func_atan2l_use=no
54770 fi
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772       ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54777
54778
54779 fi
54780
54781   fi
54782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54783 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54784
54785   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54786     for ac_func in atan2l
54787 do :
54788   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54789 if test "x$ac_cv_func_atan2l" = x""yes; then :
54790   cat >>confdefs.h <<_ACEOF
54791 #define HAVE_ATAN2L 1
54792 _ACEOF
54793
54794 fi
54795 done
54796
54797   else
54798
54799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54800 $as_echo_n "checking for _atan2l declaration... " >&6; }
54801   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54802     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54803   $as_echo_n "(cached) " >&6
54804 else
54805
54806
54807       ac_ext=cpp
54808 ac_cpp='$CXXCPP $CPPFLAGS'
54809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54812
54813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54814 /* end confdefs.h.  */
54815 #include <math.h>
54816 int
54817 main ()
54818 {
54819  _atan2l(0, 0);
54820   ;
54821   return 0;
54822 }
54823 _ACEOF
54824 if ac_fn_cxx_try_compile "$LINENO"; then :
54825   glibcxx_cv_func__atan2l_use=yes
54826 else
54827   glibcxx_cv_func__atan2l_use=no
54828 fi
54829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54830       ac_ext=c
54831 ac_cpp='$CPP $CPPFLAGS'
54832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54835
54836
54837 fi
54838
54839   fi
54840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54841 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54842
54843     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54844       for ac_func in _atan2l
54845 do :
54846   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54847 if test "x$ac_cv_func__atan2l" = x""yes; then :
54848   cat >>confdefs.h <<_ACEOF
54849 #define HAVE__ATAN2L 1
54850 _ACEOF
54851
54852 fi
54853 done
54854
54855     fi
54856   fi
54857
54858
54859
54860
54861
54862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54863 $as_echo_n "checking for expl declaration... " >&6; }
54864   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54865     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54866   $as_echo_n "(cached) " >&6
54867 else
54868
54869
54870       ac_ext=cpp
54871 ac_cpp='$CXXCPP $CPPFLAGS'
54872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54875
54876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54877 /* end confdefs.h.  */
54878 #include <math.h>
54879                       #ifdef HAVE_IEEEFP_H
54880                       #include <ieeefp.h>
54881                       #endif
54882
54883 int
54884 main ()
54885 {
54886  expl(0);
54887   ;
54888   return 0;
54889 }
54890 _ACEOF
54891 if ac_fn_cxx_try_compile "$LINENO"; then :
54892   glibcxx_cv_func_expl_use=yes
54893 else
54894   glibcxx_cv_func_expl_use=no
54895 fi
54896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54897       ac_ext=c
54898 ac_cpp='$CPP $CPPFLAGS'
54899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54902
54903
54904 fi
54905
54906   fi
54907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54908 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54909
54910   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54911     for ac_func in expl
54912 do :
54913   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54914 if test "x$ac_cv_func_expl" = x""yes; then :
54915   cat >>confdefs.h <<_ACEOF
54916 #define HAVE_EXPL 1
54917 _ACEOF
54918
54919 fi
54920 done
54921
54922   else
54923
54924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54925 $as_echo_n "checking for _expl declaration... " >&6; }
54926   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54927     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54928   $as_echo_n "(cached) " >&6
54929 else
54930
54931
54932       ac_ext=cpp
54933 ac_cpp='$CXXCPP $CPPFLAGS'
54934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54937
54938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54939 /* end confdefs.h.  */
54940 #include <math.h>
54941                       #ifdef HAVE_IEEEFP_H
54942                       #include <ieeefp.h>
54943                       #endif
54944
54945 int
54946 main ()
54947 {
54948  _expl(0);
54949   ;
54950   return 0;
54951 }
54952 _ACEOF
54953 if ac_fn_cxx_try_compile "$LINENO"; then :
54954   glibcxx_cv_func__expl_use=yes
54955 else
54956   glibcxx_cv_func__expl_use=no
54957 fi
54958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54959       ac_ext=c
54960 ac_cpp='$CPP $CPPFLAGS'
54961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54964
54965
54966 fi
54967
54968   fi
54969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54970 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54971
54972     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54973       for ac_func in _expl
54974 do :
54975   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54976 if test "x$ac_cv_func__expl" = x""yes; then :
54977   cat >>confdefs.h <<_ACEOF
54978 #define HAVE__EXPL 1
54979 _ACEOF
54980
54981 fi
54982 done
54983
54984     fi
54985   fi
54986
54987
54988
54989
54990
54991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54992 $as_echo_n "checking for fabsl declaration... " >&6; }
54993   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54994     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54995   $as_echo_n "(cached) " >&6
54996 else
54997
54998
54999       ac_ext=cpp
55000 ac_cpp='$CXXCPP $CPPFLAGS'
55001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55004
55005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55006 /* end confdefs.h.  */
55007 #include <math.h>
55008                       #ifdef HAVE_IEEEFP_H
55009                       #include <ieeefp.h>
55010                       #endif
55011
55012 int
55013 main ()
55014 {
55015  fabsl(0);
55016   ;
55017   return 0;
55018 }
55019 _ACEOF
55020 if ac_fn_cxx_try_compile "$LINENO"; then :
55021   glibcxx_cv_func_fabsl_use=yes
55022 else
55023   glibcxx_cv_func_fabsl_use=no
55024 fi
55025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55026       ac_ext=c
55027 ac_cpp='$CPP $CPPFLAGS'
55028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55031
55032
55033 fi
55034
55035   fi
55036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55037 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55038
55039   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55040     for ac_func in fabsl
55041 do :
55042   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55043 if test "x$ac_cv_func_fabsl" = x""yes; then :
55044   cat >>confdefs.h <<_ACEOF
55045 #define HAVE_FABSL 1
55046 _ACEOF
55047
55048 fi
55049 done
55050
55051   else
55052
55053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55054 $as_echo_n "checking for _fabsl declaration... " >&6; }
55055   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55056     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55057   $as_echo_n "(cached) " >&6
55058 else
55059
55060
55061       ac_ext=cpp
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55066
55067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55068 /* end confdefs.h.  */
55069 #include <math.h>
55070                       #ifdef HAVE_IEEEFP_H
55071                       #include <ieeefp.h>
55072                       #endif
55073
55074 int
55075 main ()
55076 {
55077  _fabsl(0);
55078   ;
55079   return 0;
55080 }
55081 _ACEOF
55082 if ac_fn_cxx_try_compile "$LINENO"; then :
55083   glibcxx_cv_func__fabsl_use=yes
55084 else
55085   glibcxx_cv_func__fabsl_use=no
55086 fi
55087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55088       ac_ext=c
55089 ac_cpp='$CPP $CPPFLAGS'
55090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55093
55094
55095 fi
55096
55097   fi
55098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55099 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55100
55101     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55102       for ac_func in _fabsl
55103 do :
55104   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55105 if test "x$ac_cv_func__fabsl" = x""yes; then :
55106   cat >>confdefs.h <<_ACEOF
55107 #define HAVE__FABSL 1
55108 _ACEOF
55109
55110 fi
55111 done
55112
55113     fi
55114   fi
55115
55116
55117
55118
55119
55120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55121 $as_echo_n "checking for fmodl declaration... " >&6; }
55122   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55123     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55124   $as_echo_n "(cached) " >&6
55125 else
55126
55127
55128       ac_ext=cpp
55129 ac_cpp='$CXXCPP $CPPFLAGS'
55130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55133
55134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55135 /* end confdefs.h.  */
55136 #include <math.h>
55137 int
55138 main ()
55139 {
55140  fmodl(0, 0);
55141   ;
55142   return 0;
55143 }
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146   glibcxx_cv_func_fmodl_use=yes
55147 else
55148   glibcxx_cv_func_fmodl_use=no
55149 fi
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151       ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156
55157
55158 fi
55159
55160   fi
55161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55162 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55163
55164   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55165     for ac_func in fmodl
55166 do :
55167   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55168 if test "x$ac_cv_func_fmodl" = x""yes; then :
55169   cat >>confdefs.h <<_ACEOF
55170 #define HAVE_FMODL 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176   else
55177
55178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55179 $as_echo_n "checking for _fmodl declaration... " >&6; }
55180   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55181     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55182   $as_echo_n "(cached) " >&6
55183 else
55184
55185
55186       ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55191
55192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h.  */
55194 #include <math.h>
55195 int
55196 main ()
55197 {
55198  _fmodl(0, 0);
55199   ;
55200   return 0;
55201 }
55202 _ACEOF
55203 if ac_fn_cxx_try_compile "$LINENO"; then :
55204   glibcxx_cv_func__fmodl_use=yes
55205 else
55206   glibcxx_cv_func__fmodl_use=no
55207 fi
55208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55209       ac_ext=c
55210 ac_cpp='$CPP $CPPFLAGS'
55211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55214
55215
55216 fi
55217
55218   fi
55219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55220 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55221
55222     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55223       for ac_func in _fmodl
55224 do :
55225   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55226 if test "x$ac_cv_func__fmodl" = x""yes; then :
55227   cat >>confdefs.h <<_ACEOF
55228 #define HAVE__FMODL 1
55229 _ACEOF
55230
55231 fi
55232 done
55233
55234     fi
55235   fi
55236
55237
55238
55239
55240
55241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55242 $as_echo_n "checking for frexpl declaration... " >&6; }
55243   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55244     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55245   $as_echo_n "(cached) " >&6
55246 else
55247
55248
55249       ac_ext=cpp
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55254
55255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h.  */
55257 #include <math.h>
55258 int
55259 main ()
55260 {
55261  frexpl(0, 0);
55262   ;
55263   return 0;
55264 }
55265 _ACEOF
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267   glibcxx_cv_func_frexpl_use=yes
55268 else
55269   glibcxx_cv_func_frexpl_use=no
55270 fi
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55272       ac_ext=c
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55277
55278
55279 fi
55280
55281   fi
55282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55283 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55284
55285   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55286     for ac_func in frexpl
55287 do :
55288   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55289 if test "x$ac_cv_func_frexpl" = x""yes; then :
55290   cat >>confdefs.h <<_ACEOF
55291 #define HAVE_FREXPL 1
55292 _ACEOF
55293
55294 fi
55295 done
55296
55297   else
55298
55299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55300 $as_echo_n "checking for _frexpl declaration... " >&6; }
55301   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55302     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55303   $as_echo_n "(cached) " >&6
55304 else
55305
55306
55307       ac_ext=cpp
55308 ac_cpp='$CXXCPP $CPPFLAGS'
55309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55312
55313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55314 /* end confdefs.h.  */
55315 #include <math.h>
55316 int
55317 main ()
55318 {
55319  _frexpl(0, 0);
55320   ;
55321   return 0;
55322 }
55323 _ACEOF
55324 if ac_fn_cxx_try_compile "$LINENO"; then :
55325   glibcxx_cv_func__frexpl_use=yes
55326 else
55327   glibcxx_cv_func__frexpl_use=no
55328 fi
55329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55330       ac_ext=c
55331 ac_cpp='$CPP $CPPFLAGS'
55332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55335
55336
55337 fi
55338
55339   fi
55340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55341 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55342
55343     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55344       for ac_func in _frexpl
55345 do :
55346   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55347 if test "x$ac_cv_func__frexpl" = x""yes; then :
55348   cat >>confdefs.h <<_ACEOF
55349 #define HAVE__FREXPL 1
55350 _ACEOF
55351
55352 fi
55353 done
55354
55355     fi
55356   fi
55357
55358
55359
55360
55361
55362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55363 $as_echo_n "checking for hypotl declaration... " >&6; }
55364   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55365     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55366   $as_echo_n "(cached) " >&6
55367 else
55368
55369
55370       ac_ext=cpp
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55375
55376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h.  */
55378 #include <math.h>
55379 int
55380 main ()
55381 {
55382  hypotl(0, 0);
55383   ;
55384   return 0;
55385 }
55386 _ACEOF
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388   glibcxx_cv_func_hypotl_use=yes
55389 else
55390   glibcxx_cv_func_hypotl_use=no
55391 fi
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55393       ac_ext=c
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55398
55399
55400 fi
55401
55402   fi
55403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55404 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55405
55406   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55407     for ac_func in hypotl
55408 do :
55409   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55410 if test "x$ac_cv_func_hypotl" = x""yes; then :
55411   cat >>confdefs.h <<_ACEOF
55412 #define HAVE_HYPOTL 1
55413 _ACEOF
55414
55415 fi
55416 done
55417
55418   else
55419
55420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55421 $as_echo_n "checking for _hypotl declaration... " >&6; }
55422   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55423     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55424   $as_echo_n "(cached) " >&6
55425 else
55426
55427
55428       ac_ext=cpp
55429 ac_cpp='$CXXCPP $CPPFLAGS'
55430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55433
55434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55435 /* end confdefs.h.  */
55436 #include <math.h>
55437 int
55438 main ()
55439 {
55440  _hypotl(0, 0);
55441   ;
55442   return 0;
55443 }
55444 _ACEOF
55445 if ac_fn_cxx_try_compile "$LINENO"; then :
55446   glibcxx_cv_func__hypotl_use=yes
55447 else
55448   glibcxx_cv_func__hypotl_use=no
55449 fi
55450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55451       ac_ext=c
55452 ac_cpp='$CPP $CPPFLAGS'
55453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55456
55457
55458 fi
55459
55460   fi
55461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55462 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55463
55464     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55465       for ac_func in _hypotl
55466 do :
55467   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55468 if test "x$ac_cv_func__hypotl" = x""yes; then :
55469   cat >>confdefs.h <<_ACEOF
55470 #define HAVE__HYPOTL 1
55471 _ACEOF
55472
55473 fi
55474 done
55475
55476     fi
55477   fi
55478
55479
55480
55481
55482
55483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55484 $as_echo_n "checking for ldexpl declaration... " >&6; }
55485   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55486     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55487   $as_echo_n "(cached) " >&6
55488 else
55489
55490
55491       ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496
55497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h.  */
55499 #include <math.h>
55500 int
55501 main ()
55502 {
55503  ldexpl(0, 0);
55504   ;
55505   return 0;
55506 }
55507 _ACEOF
55508 if ac_fn_cxx_try_compile "$LINENO"; then :
55509   glibcxx_cv_func_ldexpl_use=yes
55510 else
55511   glibcxx_cv_func_ldexpl_use=no
55512 fi
55513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55514       ac_ext=c
55515 ac_cpp='$CPP $CPPFLAGS'
55516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55519
55520
55521 fi
55522
55523   fi
55524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55525 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55526
55527   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55528     for ac_func in ldexpl
55529 do :
55530   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55531 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55532   cat >>confdefs.h <<_ACEOF
55533 #define HAVE_LDEXPL 1
55534 _ACEOF
55535
55536 fi
55537 done
55538
55539   else
55540
55541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55542 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55543   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55544     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55545   $as_echo_n "(cached) " >&6
55546 else
55547
55548
55549       ac_ext=cpp
55550 ac_cpp='$CXXCPP $CPPFLAGS'
55551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55554
55555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55556 /* end confdefs.h.  */
55557 #include <math.h>
55558 int
55559 main ()
55560 {
55561  _ldexpl(0, 0);
55562   ;
55563   return 0;
55564 }
55565 _ACEOF
55566 if ac_fn_cxx_try_compile "$LINENO"; then :
55567   glibcxx_cv_func__ldexpl_use=yes
55568 else
55569   glibcxx_cv_func__ldexpl_use=no
55570 fi
55571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55572       ac_ext=c
55573 ac_cpp='$CPP $CPPFLAGS'
55574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55577
55578
55579 fi
55580
55581   fi
55582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55583 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55584
55585     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55586       for ac_func in _ldexpl
55587 do :
55588   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55589 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55590   cat >>confdefs.h <<_ACEOF
55591 #define HAVE__LDEXPL 1
55592 _ACEOF
55593
55594 fi
55595 done
55596
55597     fi
55598   fi
55599
55600
55601
55602
55603
55604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55605 $as_echo_n "checking for logl declaration... " >&6; }
55606   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55607     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55608   $as_echo_n "(cached) " >&6
55609 else
55610
55611
55612       ac_ext=cpp
55613 ac_cpp='$CXXCPP $CPPFLAGS'
55614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55617
55618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55619 /* end confdefs.h.  */
55620 #include <math.h>
55621                       #ifdef HAVE_IEEEFP_H
55622                       #include <ieeefp.h>
55623                       #endif
55624
55625 int
55626 main ()
55627 {
55628  logl(0);
55629   ;
55630   return 0;
55631 }
55632 _ACEOF
55633 if ac_fn_cxx_try_compile "$LINENO"; then :
55634   glibcxx_cv_func_logl_use=yes
55635 else
55636   glibcxx_cv_func_logl_use=no
55637 fi
55638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55639       ac_ext=c
55640 ac_cpp='$CPP $CPPFLAGS'
55641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55644
55645
55646 fi
55647
55648   fi
55649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55650 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55651
55652   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55653     for ac_func in logl
55654 do :
55655   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55656 if test "x$ac_cv_func_logl" = x""yes; then :
55657   cat >>confdefs.h <<_ACEOF
55658 #define HAVE_LOGL 1
55659 _ACEOF
55660
55661 fi
55662 done
55663
55664   else
55665
55666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55667 $as_echo_n "checking for _logl declaration... " >&6; }
55668   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55669     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55670   $as_echo_n "(cached) " >&6
55671 else
55672
55673
55674       ac_ext=cpp
55675 ac_cpp='$CXXCPP $CPPFLAGS'
55676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55679
55680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55681 /* end confdefs.h.  */
55682 #include <math.h>
55683                       #ifdef HAVE_IEEEFP_H
55684                       #include <ieeefp.h>
55685                       #endif
55686
55687 int
55688 main ()
55689 {
55690  _logl(0);
55691   ;
55692   return 0;
55693 }
55694 _ACEOF
55695 if ac_fn_cxx_try_compile "$LINENO"; then :
55696   glibcxx_cv_func__logl_use=yes
55697 else
55698   glibcxx_cv_func__logl_use=no
55699 fi
55700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55701       ac_ext=c
55702 ac_cpp='$CPP $CPPFLAGS'
55703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55706
55707
55708 fi
55709
55710   fi
55711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55712 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55713
55714     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55715       for ac_func in _logl
55716 do :
55717   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55718 if test "x$ac_cv_func__logl" = x""yes; then :
55719   cat >>confdefs.h <<_ACEOF
55720 #define HAVE__LOGL 1
55721 _ACEOF
55722
55723 fi
55724 done
55725
55726     fi
55727   fi
55728
55729
55730
55731
55732
55733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55734 $as_echo_n "checking for log10l declaration... " >&6; }
55735   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55736     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55737   $as_echo_n "(cached) " >&6
55738 else
55739
55740
55741       ac_ext=cpp
55742 ac_cpp='$CXXCPP $CPPFLAGS'
55743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55746
55747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55748 /* end confdefs.h.  */
55749 #include <math.h>
55750                       #ifdef HAVE_IEEEFP_H
55751                       #include <ieeefp.h>
55752                       #endif
55753
55754 int
55755 main ()
55756 {
55757  log10l(0);
55758   ;
55759   return 0;
55760 }
55761 _ACEOF
55762 if ac_fn_cxx_try_compile "$LINENO"; then :
55763   glibcxx_cv_func_log10l_use=yes
55764 else
55765   glibcxx_cv_func_log10l_use=no
55766 fi
55767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55768       ac_ext=c
55769 ac_cpp='$CPP $CPPFLAGS'
55770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55773
55774
55775 fi
55776
55777   fi
55778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55779 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55780
55781   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55782     for ac_func in log10l
55783 do :
55784   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55785 if test "x$ac_cv_func_log10l" = x""yes; then :
55786   cat >>confdefs.h <<_ACEOF
55787 #define HAVE_LOG10L 1
55788 _ACEOF
55789
55790 fi
55791 done
55792
55793   else
55794
55795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55796 $as_echo_n "checking for _log10l declaration... " >&6; }
55797   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55798     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55799   $as_echo_n "(cached) " >&6
55800 else
55801
55802
55803       ac_ext=cpp
55804 ac_cpp='$CXXCPP $CPPFLAGS'
55805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808
55809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55810 /* end confdefs.h.  */
55811 #include <math.h>
55812                       #ifdef HAVE_IEEEFP_H
55813                       #include <ieeefp.h>
55814                       #endif
55815
55816 int
55817 main ()
55818 {
55819  _log10l(0);
55820   ;
55821   return 0;
55822 }
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825   glibcxx_cv_func__log10l_use=yes
55826 else
55827   glibcxx_cv_func__log10l_use=no
55828 fi
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830       ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55835
55836
55837 fi
55838
55839   fi
55840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55841 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55842
55843     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55844       for ac_func in _log10l
55845 do :
55846   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55847 if test "x$ac_cv_func__log10l" = x""yes; then :
55848   cat >>confdefs.h <<_ACEOF
55849 #define HAVE__LOG10L 1
55850 _ACEOF
55851
55852 fi
55853 done
55854
55855     fi
55856   fi
55857
55858
55859
55860
55861
55862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55863 $as_echo_n "checking for modfl declaration... " >&6; }
55864   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55865     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55866   $as_echo_n "(cached) " >&6
55867 else
55868
55869
55870       ac_ext=cpp
55871 ac_cpp='$CXXCPP $CPPFLAGS'
55872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55875
55876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55877 /* end confdefs.h.  */
55878 #include <math.h>
55879 int
55880 main ()
55881 {
55882  modfl(0, 0);
55883   ;
55884   return 0;
55885 }
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888   glibcxx_cv_func_modfl_use=yes
55889 else
55890   glibcxx_cv_func_modfl_use=no
55891 fi
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893       ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898
55899
55900 fi
55901
55902   fi
55903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55904 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55905
55906   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55907     for ac_func in modfl
55908 do :
55909   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55910 if test "x$ac_cv_func_modfl" = x""yes; then :
55911   cat >>confdefs.h <<_ACEOF
55912 #define HAVE_MODFL 1
55913 _ACEOF
55914
55915 fi
55916 done
55917
55918   else
55919
55920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55921 $as_echo_n "checking for _modfl declaration... " >&6; }
55922   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55923     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55924   $as_echo_n "(cached) " >&6
55925 else
55926
55927
55928       ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55933
55934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h.  */
55936 #include <math.h>
55937 int
55938 main ()
55939 {
55940  _modfl(0, 0);
55941   ;
55942   return 0;
55943 }
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946   glibcxx_cv_func__modfl_use=yes
55947 else
55948   glibcxx_cv_func__modfl_use=no
55949 fi
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951       ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956
55957
55958 fi
55959
55960   fi
55961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55962 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55963
55964     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55965       for ac_func in _modfl
55966 do :
55967   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55968 if test "x$ac_cv_func__modfl" = x""yes; then :
55969   cat >>confdefs.h <<_ACEOF
55970 #define HAVE__MODFL 1
55971 _ACEOF
55972
55973 fi
55974 done
55975
55976     fi
55977   fi
55978
55979
55980
55981
55982
55983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55984 $as_echo_n "checking for powl declaration... " >&6; }
55985   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55986     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55987   $as_echo_n "(cached) " >&6
55988 else
55989
55990
55991       ac_ext=cpp
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55996
55997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h.  */
55999 #include <math.h>
56000 int
56001 main ()
56002 {
56003  powl(0, 0);
56004   ;
56005   return 0;
56006 }
56007 _ACEOF
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009   glibcxx_cv_func_powl_use=yes
56010 else
56011   glibcxx_cv_func_powl_use=no
56012 fi
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56014       ac_ext=c
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019
56020
56021 fi
56022
56023   fi
56024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56025 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56026
56027   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56028     for ac_func in powl
56029 do :
56030   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56031 if test "x$ac_cv_func_powl" = x""yes; then :
56032   cat >>confdefs.h <<_ACEOF
56033 #define HAVE_POWL 1
56034 _ACEOF
56035
56036 fi
56037 done
56038
56039   else
56040
56041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56042 $as_echo_n "checking for _powl declaration... " >&6; }
56043   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56044     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56045   $as_echo_n "(cached) " >&6
56046 else
56047
56048
56049       ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56054
56055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h.  */
56057 #include <math.h>
56058 int
56059 main ()
56060 {
56061  _powl(0, 0);
56062   ;
56063   return 0;
56064 }
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067   glibcxx_cv_func__powl_use=yes
56068 else
56069   glibcxx_cv_func__powl_use=no
56070 fi
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072       ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56077
56078
56079 fi
56080
56081   fi
56082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56083 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56084
56085     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56086       for ac_func in _powl
56087 do :
56088   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56089 if test "x$ac_cv_func__powl" = x""yes; then :
56090   cat >>confdefs.h <<_ACEOF
56091 #define HAVE__POWL 1
56092 _ACEOF
56093
56094 fi
56095 done
56096
56097     fi
56098   fi
56099
56100
56101
56102
56103
56104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56105 $as_echo_n "checking for sqrtl declaration... " >&6; }
56106   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56107     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56108   $as_echo_n "(cached) " >&6
56109 else
56110
56111
56112       ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56117
56118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h.  */
56120 #include <math.h>
56121                       #ifdef HAVE_IEEEFP_H
56122                       #include <ieeefp.h>
56123                       #endif
56124
56125 int
56126 main ()
56127 {
56128  sqrtl(0);
56129   ;
56130   return 0;
56131 }
56132 _ACEOF
56133 if ac_fn_cxx_try_compile "$LINENO"; then :
56134   glibcxx_cv_func_sqrtl_use=yes
56135 else
56136   glibcxx_cv_func_sqrtl_use=no
56137 fi
56138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56139       ac_ext=c
56140 ac_cpp='$CPP $CPPFLAGS'
56141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56144
56145
56146 fi
56147
56148   fi
56149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56150 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56151
56152   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56153     for ac_func in sqrtl
56154 do :
56155   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56156 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56157   cat >>confdefs.h <<_ACEOF
56158 #define HAVE_SQRTL 1
56159 _ACEOF
56160
56161 fi
56162 done
56163
56164   else
56165
56166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56167 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56168   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56169     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56170   $as_echo_n "(cached) " >&6
56171 else
56172
56173
56174       ac_ext=cpp
56175 ac_cpp='$CXXCPP $CPPFLAGS'
56176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56179
56180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56181 /* end confdefs.h.  */
56182 #include <math.h>
56183                       #ifdef HAVE_IEEEFP_H
56184                       #include <ieeefp.h>
56185                       #endif
56186
56187 int
56188 main ()
56189 {
56190  _sqrtl(0);
56191   ;
56192   return 0;
56193 }
56194 _ACEOF
56195 if ac_fn_cxx_try_compile "$LINENO"; then :
56196   glibcxx_cv_func__sqrtl_use=yes
56197 else
56198   glibcxx_cv_func__sqrtl_use=no
56199 fi
56200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56201       ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206
56207
56208 fi
56209
56210   fi
56211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56212 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56213
56214     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56215       for ac_func in _sqrtl
56216 do :
56217   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56218 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56219   cat >>confdefs.h <<_ACEOF
56220 #define HAVE__SQRTL 1
56221 _ACEOF
56222
56223 fi
56224 done
56225
56226     fi
56227   fi
56228
56229
56230
56231
56232
56233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56234 $as_echo_n "checking for sincosl declaration... " >&6; }
56235   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56236     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56237   $as_echo_n "(cached) " >&6
56238 else
56239
56240
56241       ac_ext=cpp
56242 ac_cpp='$CXXCPP $CPPFLAGS'
56243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56246
56247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56248 /* end confdefs.h.  */
56249 #include <math.h>
56250 int
56251 main ()
56252 {
56253  sincosl(0, 0, 0);
56254   ;
56255   return 0;
56256 }
56257 _ACEOF
56258 if ac_fn_cxx_try_compile "$LINENO"; then :
56259   glibcxx_cv_func_sincosl_use=yes
56260 else
56261   glibcxx_cv_func_sincosl_use=no
56262 fi
56263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56264       ac_ext=c
56265 ac_cpp='$CPP $CPPFLAGS'
56266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56269
56270
56271 fi
56272
56273   fi
56274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56275 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56276
56277   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56278     for ac_func in sincosl
56279 do :
56280   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56281 if test "x$ac_cv_func_sincosl" = x""yes; then :
56282   cat >>confdefs.h <<_ACEOF
56283 #define HAVE_SINCOSL 1
56284 _ACEOF
56285
56286 fi
56287 done
56288
56289   else
56290
56291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56292 $as_echo_n "checking for _sincosl declaration... " >&6; }
56293   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56294     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56295   $as_echo_n "(cached) " >&6
56296 else
56297
56298
56299       ac_ext=cpp
56300 ac_cpp='$CXXCPP $CPPFLAGS'
56301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56304
56305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56306 /* end confdefs.h.  */
56307 #include <math.h>
56308 int
56309 main ()
56310 {
56311  _sincosl(0, 0, 0);
56312   ;
56313   return 0;
56314 }
56315 _ACEOF
56316 if ac_fn_cxx_try_compile "$LINENO"; then :
56317   glibcxx_cv_func__sincosl_use=yes
56318 else
56319   glibcxx_cv_func__sincosl_use=no
56320 fi
56321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56322       ac_ext=c
56323 ac_cpp='$CPP $CPPFLAGS'
56324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56327
56328
56329 fi
56330
56331   fi
56332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56333 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56334
56335     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56336       for ac_func in _sincosl
56337 do :
56338   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56339 if test "x$ac_cv_func__sincosl" = x""yes; then :
56340   cat >>confdefs.h <<_ACEOF
56341 #define HAVE__SINCOSL 1
56342 _ACEOF
56343
56344 fi
56345 done
56346
56347     fi
56348   fi
56349
56350
56351
56352
56353
56354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56355 $as_echo_n "checking for finitel declaration... " >&6; }
56356   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56357     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56358   $as_echo_n "(cached) " >&6
56359 else
56360
56361
56362       ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56367
56368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h.  */
56370 #include <math.h>
56371                       #ifdef HAVE_IEEEFP_H
56372                       #include <ieeefp.h>
56373                       #endif
56374
56375 int
56376 main ()
56377 {
56378  finitel(0);
56379   ;
56380   return 0;
56381 }
56382 _ACEOF
56383 if ac_fn_cxx_try_compile "$LINENO"; then :
56384   glibcxx_cv_func_finitel_use=yes
56385 else
56386   glibcxx_cv_func_finitel_use=no
56387 fi
56388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56389       ac_ext=c
56390 ac_cpp='$CPP $CPPFLAGS'
56391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56394
56395
56396 fi
56397
56398   fi
56399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56400 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56401
56402   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56403     for ac_func in finitel
56404 do :
56405   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56406 if test "x$ac_cv_func_finitel" = x""yes; then :
56407   cat >>confdefs.h <<_ACEOF
56408 #define HAVE_FINITEL 1
56409 _ACEOF
56410
56411 fi
56412 done
56413
56414   else
56415
56416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56417 $as_echo_n "checking for _finitel declaration... " >&6; }
56418   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56419     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56420   $as_echo_n "(cached) " >&6
56421 else
56422
56423
56424       ac_ext=cpp
56425 ac_cpp='$CXXCPP $CPPFLAGS'
56426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56429
56430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56431 /* end confdefs.h.  */
56432 #include <math.h>
56433                       #ifdef HAVE_IEEEFP_H
56434                       #include <ieeefp.h>
56435                       #endif
56436
56437 int
56438 main ()
56439 {
56440  _finitel(0);
56441   ;
56442   return 0;
56443 }
56444 _ACEOF
56445 if ac_fn_cxx_try_compile "$LINENO"; then :
56446   glibcxx_cv_func__finitel_use=yes
56447 else
56448   glibcxx_cv_func__finitel_use=no
56449 fi
56450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56451       ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456
56457
56458 fi
56459
56460   fi
56461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56462 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56463
56464     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56465       for ac_func in _finitel
56466 do :
56467   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56468 if test "x$ac_cv_func__finitel" = x""yes; then :
56469   cat >>confdefs.h <<_ACEOF
56470 #define HAVE__FINITEL 1
56471 _ACEOF
56472
56473 fi
56474 done
56475
56476     fi
56477   fi
56478
56479
56480
56481
56482   LIBS="$ac_save_LIBS"
56483   CXXFLAGS="$ac_save_CXXFLAGS"
56484
56485
56486   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56487   ac_save_CXXFLAGS="$CXXFLAGS"
56488   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56489
56490
56491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56492 $as_echo_n "checking for strtold declaration... " >&6; }
56493   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56494     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56495   $as_echo_n "(cached) " >&6
56496 else
56497
56498
56499       ac_ext=cpp
56500 ac_cpp='$CXXCPP $CPPFLAGS'
56501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56504
56505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56506 /* end confdefs.h.  */
56507 #include <stdlib.h>
56508 int
56509 main ()
56510 {
56511  strtold(0, 0);
56512   ;
56513   return 0;
56514 }
56515 _ACEOF
56516 if ac_fn_cxx_try_compile "$LINENO"; then :
56517   glibcxx_cv_func_strtold_use=yes
56518 else
56519   glibcxx_cv_func_strtold_use=no
56520 fi
56521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56522       ac_ext=c
56523 ac_cpp='$CPP $CPPFLAGS'
56524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56527
56528
56529 fi
56530
56531   fi
56532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56533 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56534   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56535     for ac_func in strtold
56536 do :
56537   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56538 if test "x$ac_cv_func_strtold" = x""yes; then :
56539   cat >>confdefs.h <<_ACEOF
56540 #define HAVE_STRTOLD 1
56541 _ACEOF
56542
56543 fi
56544 done
56545
56546   fi
56547
56548
56549
56550
56551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56552 $as_echo_n "checking for strtof declaration... " >&6; }
56553   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56554     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56555   $as_echo_n "(cached) " >&6
56556 else
56557
56558
56559       ac_ext=cpp
56560 ac_cpp='$CXXCPP $CPPFLAGS'
56561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56564
56565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56566 /* end confdefs.h.  */
56567 #include <stdlib.h>
56568 int
56569 main ()
56570 {
56571  strtof(0, 0);
56572   ;
56573   return 0;
56574 }
56575 _ACEOF
56576 if ac_fn_cxx_try_compile "$LINENO"; then :
56577   glibcxx_cv_func_strtof_use=yes
56578 else
56579   glibcxx_cv_func_strtof_use=no
56580 fi
56581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56582       ac_ext=c
56583 ac_cpp='$CPP $CPPFLAGS'
56584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56587
56588
56589 fi
56590
56591   fi
56592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56593 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56594   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56595     for ac_func in strtof
56596 do :
56597   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56598 if test "x$ac_cv_func_strtof" = x""yes; then :
56599   cat >>confdefs.h <<_ACEOF
56600 #define HAVE_STRTOF 1
56601 _ACEOF
56602
56603 fi
56604 done
56605
56606   fi
56607
56608
56609
56610
56611   CXXFLAGS="$ac_save_CXXFLAGS"
56612
56613     ;;
56614   *-netbsd*)
56615     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56616
56617
56618   # If we're not using GNU ld, then there's no point in even trying these
56619   # tests.  Check for that first.  We should have already tested for gld
56620   # by now (in libtool), but require it now just to be safe...
56621   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56622   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56623
56624
56625
56626   # The name set by libtool depends on the version of libtool.  Shame on us
56627   # for depending on an impl detail, but c'est la vie.  Older versions used
56628   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56629   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56630   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56631   # set (hence we're using an older libtool), then set it.
56632   if test x${with_gnu_ld+set} != xset; then
56633     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56634       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56635       with_gnu_ld=no
56636     else
56637       with_gnu_ld=$ac_cv_prog_gnu_ld
56638     fi
56639   fi
56640
56641   # Start by getting the version number.  I think the libtool test already
56642   # does some of this, but throws away the result.
56643   glibcxx_ld_is_gold=no
56644   if test x"$with_gnu_ld" = x"yes"; then
56645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56646 $as_echo_n "checking for ld version... " >&6; }
56647
56648     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56649       glibcxx_ld_is_gold=yes
56650     fi
56651     ldver=`$LD --version 2>/dev/null |
56652            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'`
56653
56654     glibcxx_gnu_ld_version=`echo $ldver | \
56655            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56657 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56658   fi
56659
56660   # Set --gc-sections.
56661   glibcxx_have_gc_sections=no
56662   if test "$glibcxx_ld_is_gold" = "yes"; then
56663     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56664       glibcxx_have_gc_sections=yes
56665     fi
56666   else
56667     glibcxx_gcsections_min_ld=21602
56668     if test x"$with_gnu_ld" = x"yes" &&
56669         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56670       glibcxx_have_gc_sections=yes
56671     fi
56672   fi
56673   if test "$glibcxx_have_gc_sections" = "yes"; then
56674     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56675     # NB: This flag only works reliably after 2.16.1. Configure tests
56676     # for this are difficult, so hard wire a value that should work.
56677
56678     ac_test_CFLAGS="${CFLAGS+set}"
56679     ac_save_CFLAGS="$CFLAGS"
56680     CFLAGS='-Wl,--gc-sections'
56681
56682     # Check for -Wl,--gc-sections
56683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56684 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56685     if test x$gcc_no_link = xyes; then
56686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56687 fi
56688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56689 /* end confdefs.h.  */
56690  int one(void) { return 1; }
56691      int two(void) { return 2; }
56692
56693 int
56694 main ()
56695 {
56696  two();
56697   ;
56698   return 0;
56699 }
56700 _ACEOF
56701 if ac_fn_c_try_link "$LINENO"; then :
56702   ac_gcsections=yes
56703 else
56704   ac_gcsections=no
56705 fi
56706 rm -f core conftest.err conftest.$ac_objext \
56707     conftest$ac_exeext conftest.$ac_ext
56708     if test "$ac_gcsections" = "yes"; then
56709       rm -f conftest.c
56710       touch conftest.c
56711       if $CC -c conftest.c; then
56712         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56713            grep "Warning: gc-sections option ignored" > /dev/null; then
56714           ac_gcsections=no
56715         fi
56716       fi
56717       rm -f conftest.c conftest.o conftest
56718     fi
56719     if test "$ac_gcsections" = "yes"; then
56720       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56721     fi
56722     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56723 $as_echo "$ac_gcsections" >&6; }
56724
56725     if test "$ac_test_CFLAGS" = set; then
56726       CFLAGS="$ac_save_CFLAGS"
56727     else
56728       # this is the suspicious part
56729       CFLAGS=''
56730     fi
56731   fi
56732
56733   # Set -z,relro.
56734   # Note this is only for shared objects.
56735   ac_ld_relro=no
56736   if test x"$with_gnu_ld" = x"yes"; then
56737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56738 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56739     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56740     if test -n "$cxx_z_relo"; then
56741       OPT_LDFLAGS="-Wl,-z,relro"
56742       ac_ld_relro=yes
56743     fi
56744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56745 $as_echo "$ac_ld_relro" >&6; }
56746   fi
56747
56748   # Set linker optimization flags.
56749   if test x"$with_gnu_ld" = x"yes"; then
56750     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56751   fi
56752
56753
56754
56755
56756     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56757
56758     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56759
56760     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56761
56762     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56763
56764     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56765
56766     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56767
56768     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56769
56770     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56771
56772     if test x"long_double_math_on_this_cpu" = x"yes"; then
56773       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56774
56775       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56776
56777       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56778
56779     fi
56780     ;;
56781   *-netware)
56782     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56783
56784
56785   # If we're not using GNU ld, then there's no point in even trying these
56786   # tests.  Check for that first.  We should have already tested for gld
56787   # by now (in libtool), but require it now just to be safe...
56788   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56789   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56790
56791
56792
56793   # The name set by libtool depends on the version of libtool.  Shame on us
56794   # for depending on an impl detail, but c'est la vie.  Older versions used
56795   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56796   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56797   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56798   # set (hence we're using an older libtool), then set it.
56799   if test x${with_gnu_ld+set} != xset; then
56800     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56801       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56802       with_gnu_ld=no
56803     else
56804       with_gnu_ld=$ac_cv_prog_gnu_ld
56805     fi
56806   fi
56807
56808   # Start by getting the version number.  I think the libtool test already
56809   # does some of this, but throws away the result.
56810   glibcxx_ld_is_gold=no
56811   if test x"$with_gnu_ld" = x"yes"; then
56812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56813 $as_echo_n "checking for ld version... " >&6; }
56814
56815     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56816       glibcxx_ld_is_gold=yes
56817     fi
56818     ldver=`$LD --version 2>/dev/null |
56819            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'`
56820
56821     glibcxx_gnu_ld_version=`echo $ldver | \
56822            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56824 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56825   fi
56826
56827   # Set --gc-sections.
56828   glibcxx_have_gc_sections=no
56829   if test "$glibcxx_ld_is_gold" = "yes"; then
56830     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56831       glibcxx_have_gc_sections=yes
56832     fi
56833   else
56834     glibcxx_gcsections_min_ld=21602
56835     if test x"$with_gnu_ld" = x"yes" &&
56836         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56837       glibcxx_have_gc_sections=yes
56838     fi
56839   fi
56840   if test "$glibcxx_have_gc_sections" = "yes"; then
56841     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56842     # NB: This flag only works reliably after 2.16.1. Configure tests
56843     # for this are difficult, so hard wire a value that should work.
56844
56845     ac_test_CFLAGS="${CFLAGS+set}"
56846     ac_save_CFLAGS="$CFLAGS"
56847     CFLAGS='-Wl,--gc-sections'
56848
56849     # Check for -Wl,--gc-sections
56850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56851 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56852     if test x$gcc_no_link = xyes; then
56853   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56854 fi
56855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56856 /* end confdefs.h.  */
56857  int one(void) { return 1; }
56858      int two(void) { return 2; }
56859
56860 int
56861 main ()
56862 {
56863  two();
56864   ;
56865   return 0;
56866 }
56867 _ACEOF
56868 if ac_fn_c_try_link "$LINENO"; then :
56869   ac_gcsections=yes
56870 else
56871   ac_gcsections=no
56872 fi
56873 rm -f core conftest.err conftest.$ac_objext \
56874     conftest$ac_exeext conftest.$ac_ext
56875     if test "$ac_gcsections" = "yes"; then
56876       rm -f conftest.c
56877       touch conftest.c
56878       if $CC -c conftest.c; then
56879         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56880            grep "Warning: gc-sections option ignored" > /dev/null; then
56881           ac_gcsections=no
56882         fi
56883       fi
56884       rm -f conftest.c conftest.o conftest
56885     fi
56886     if test "$ac_gcsections" = "yes"; then
56887       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56888     fi
56889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56890 $as_echo "$ac_gcsections" >&6; }
56891
56892     if test "$ac_test_CFLAGS" = set; then
56893       CFLAGS="$ac_save_CFLAGS"
56894     else
56895       # this is the suspicious part
56896       CFLAGS=''
56897     fi
56898   fi
56899
56900   # Set -z,relro.
56901   # Note this is only for shared objects.
56902   ac_ld_relro=no
56903   if test x"$with_gnu_ld" = x"yes"; then
56904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56905 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56906     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56907     if test -n "$cxx_z_relo"; then
56908       OPT_LDFLAGS="-Wl,-z,relro"
56909       ac_ld_relro=yes
56910     fi
56911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56912 $as_echo "$ac_ld_relro" >&6; }
56913   fi
56914
56915   # Set linker optimization flags.
56916   if test x"$with_gnu_ld" = x"yes"; then
56917     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56918   fi
56919
56920
56921
56922
56923     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56924
56925     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56926
56927     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56928
56929     ;;
56930   *-qnx6.1* | *-qnx6.2*)
56931     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56932
56933
56934   # If we're not using GNU ld, then there's no point in even trying these
56935   # tests.  Check for that first.  We should have already tested for gld
56936   # by now (in libtool), but require it now just to be safe...
56937   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56938   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56939
56940
56941
56942   # The name set by libtool depends on the version of libtool.  Shame on us
56943   # for depending on an impl detail, but c'est la vie.  Older versions used
56944   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56945   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56946   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56947   # set (hence we're using an older libtool), then set it.
56948   if test x${with_gnu_ld+set} != xset; then
56949     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56950       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56951       with_gnu_ld=no
56952     else
56953       with_gnu_ld=$ac_cv_prog_gnu_ld
56954     fi
56955   fi
56956
56957   # Start by getting the version number.  I think the libtool test already
56958   # does some of this, but throws away the result.
56959   glibcxx_ld_is_gold=no
56960   if test x"$with_gnu_ld" = x"yes"; then
56961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56962 $as_echo_n "checking for ld version... " >&6; }
56963
56964     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56965       glibcxx_ld_is_gold=yes
56966     fi
56967     ldver=`$LD --version 2>/dev/null |
56968            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'`
56969
56970     glibcxx_gnu_ld_version=`echo $ldver | \
56971            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56973 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56974   fi
56975
56976   # Set --gc-sections.
56977   glibcxx_have_gc_sections=no
56978   if test "$glibcxx_ld_is_gold" = "yes"; then
56979     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56980       glibcxx_have_gc_sections=yes
56981     fi
56982   else
56983     glibcxx_gcsections_min_ld=21602
56984     if test x"$with_gnu_ld" = x"yes" &&
56985         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56986       glibcxx_have_gc_sections=yes
56987     fi
56988   fi
56989   if test "$glibcxx_have_gc_sections" = "yes"; then
56990     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56991     # NB: This flag only works reliably after 2.16.1. Configure tests
56992     # for this are difficult, so hard wire a value that should work.
56993
56994     ac_test_CFLAGS="${CFLAGS+set}"
56995     ac_save_CFLAGS="$CFLAGS"
56996     CFLAGS='-Wl,--gc-sections'
56997
56998     # Check for -Wl,--gc-sections
56999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57000 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57001     if test x$gcc_no_link = xyes; then
57002   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57003 fi
57004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57005 /* end confdefs.h.  */
57006  int one(void) { return 1; }
57007      int two(void) { return 2; }
57008
57009 int
57010 main ()
57011 {
57012  two();
57013   ;
57014   return 0;
57015 }
57016 _ACEOF
57017 if ac_fn_c_try_link "$LINENO"; then :
57018   ac_gcsections=yes
57019 else
57020   ac_gcsections=no
57021 fi
57022 rm -f core conftest.err conftest.$ac_objext \
57023     conftest$ac_exeext conftest.$ac_ext
57024     if test "$ac_gcsections" = "yes"; then
57025       rm -f conftest.c
57026       touch conftest.c
57027       if $CC -c conftest.c; then
57028         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57029            grep "Warning: gc-sections option ignored" > /dev/null; then
57030           ac_gcsections=no
57031         fi
57032       fi
57033       rm -f conftest.c conftest.o conftest
57034     fi
57035     if test "$ac_gcsections" = "yes"; then
57036       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57037     fi
57038     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57039 $as_echo "$ac_gcsections" >&6; }
57040
57041     if test "$ac_test_CFLAGS" = set; then
57042       CFLAGS="$ac_save_CFLAGS"
57043     else
57044       # this is the suspicious part
57045       CFLAGS=''
57046     fi
57047   fi
57048
57049   # Set -z,relro.
57050   # Note this is only for shared objects.
57051   ac_ld_relro=no
57052   if test x"$with_gnu_ld" = x"yes"; then
57053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57054 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57055     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57056     if test -n "$cxx_z_relo"; then
57057       OPT_LDFLAGS="-Wl,-z,relro"
57058       ac_ld_relro=yes
57059     fi
57060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57061 $as_echo "$ac_ld_relro" >&6; }
57062   fi
57063
57064   # Set linker optimization flags.
57065   if test x"$with_gnu_ld" = x"yes"; then
57066     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57067   fi
57068
57069
57070
57071
57072     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57073
57074     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57075
57076     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57077
57078     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57079
57080     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57081
57082     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57083
57084     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57085
57086     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57087
57088     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57089
57090     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57091
57092     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57093
57094     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57095
57096     ;;
57097   *-solaris*)
57098     case "$target" in
57099       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57100
57101   # If we're not using GNU ld, then there's no point in even trying these
57102   # tests.  Check for that first.  We should have already tested for gld
57103   # by now (in libtool), but require it now just to be safe...
57104   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57105   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57106
57107
57108
57109   # The name set by libtool depends on the version of libtool.  Shame on us
57110   # for depending on an impl detail, but c'est la vie.  Older versions used
57111   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57112   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57113   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57114   # set (hence we're using an older libtool), then set it.
57115   if test x${with_gnu_ld+set} != xset; then
57116     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57117       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57118       with_gnu_ld=no
57119     else
57120       with_gnu_ld=$ac_cv_prog_gnu_ld
57121     fi
57122   fi
57123
57124   # Start by getting the version number.  I think the libtool test already
57125   # does some of this, but throws away the result.
57126   glibcxx_ld_is_gold=no
57127   if test x"$with_gnu_ld" = x"yes"; then
57128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57129 $as_echo_n "checking for ld version... " >&6; }
57130
57131     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57132       glibcxx_ld_is_gold=yes
57133     fi
57134     ldver=`$LD --version 2>/dev/null |
57135            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'`
57136
57137     glibcxx_gnu_ld_version=`echo $ldver | \
57138            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57140 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57141   fi
57142
57143   # Set --gc-sections.
57144   glibcxx_have_gc_sections=no
57145   if test "$glibcxx_ld_is_gold" = "yes"; then
57146     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57147       glibcxx_have_gc_sections=yes
57148     fi
57149   else
57150     glibcxx_gcsections_min_ld=21602
57151     if test x"$with_gnu_ld" = x"yes" &&
57152         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57153       glibcxx_have_gc_sections=yes
57154     fi
57155   fi
57156   if test "$glibcxx_have_gc_sections" = "yes"; then
57157     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57158     # NB: This flag only works reliably after 2.16.1. Configure tests
57159     # for this are difficult, so hard wire a value that should work.
57160
57161     ac_test_CFLAGS="${CFLAGS+set}"
57162     ac_save_CFLAGS="$CFLAGS"
57163     CFLAGS='-Wl,--gc-sections'
57164
57165     # Check for -Wl,--gc-sections
57166     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57167 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57168     if test x$gcc_no_link = xyes; then
57169   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57170 fi
57171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57172 /* end confdefs.h.  */
57173  int one(void) { return 1; }
57174      int two(void) { return 2; }
57175
57176 int
57177 main ()
57178 {
57179  two();
57180   ;
57181   return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_c_try_link "$LINENO"; then :
57185   ac_gcsections=yes
57186 else
57187   ac_gcsections=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext \
57190     conftest$ac_exeext conftest.$ac_ext
57191     if test "$ac_gcsections" = "yes"; then
57192       rm -f conftest.c
57193       touch conftest.c
57194       if $CC -c conftest.c; then
57195         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57196            grep "Warning: gc-sections option ignored" > /dev/null; then
57197           ac_gcsections=no
57198         fi
57199       fi
57200       rm -f conftest.c conftest.o conftest
57201     fi
57202     if test "$ac_gcsections" = "yes"; then
57203       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57204     fi
57205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57206 $as_echo "$ac_gcsections" >&6; }
57207
57208     if test "$ac_test_CFLAGS" = set; then
57209       CFLAGS="$ac_save_CFLAGS"
57210     else
57211       # this is the suspicious part
57212       CFLAGS=''
57213     fi
57214   fi
57215
57216   # Set -z,relro.
57217   # Note this is only for shared objects.
57218   ac_ld_relro=no
57219   if test x"$with_gnu_ld" = x"yes"; then
57220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57221 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57222     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57223     if test -n "$cxx_z_relo"; then
57224       OPT_LDFLAGS="-Wl,-z,relro"
57225       ac_ld_relro=yes
57226     fi
57227     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57228 $as_echo "$ac_ld_relro" >&6; }
57229   fi
57230
57231   # Set linker optimization flags.
57232   if test x"$with_gnu_ld" = x"yes"; then
57233     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57234   fi
57235
57236
57237
57238
57239          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57240
57241          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57242
57243          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57244
57245          # All of the dependencies for wide character support are here, so
57246          # turn it on.
57247          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57248
57249         ;;
57250     esac
57251     case "$target" in
57252       *-*-solaris2.10)
57253       # These two C99 functions are present only in Solaris >= 10
57254       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57255
57256       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57257
57258      ;;
57259     esac
57260     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57261
57262     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57263
57264     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57265
57266     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57267
57268     ;;
57269   *-tpf)
57270     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57271
57272
57273   # If we're not using GNU ld, then there's no point in even trying these
57274   # tests.  Check for that first.  We should have already tested for gld
57275   # by now (in libtool), but require it now just to be safe...
57276   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57277   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57278
57279
57280
57281   # The name set by libtool depends on the version of libtool.  Shame on us
57282   # for depending on an impl detail, but c'est la vie.  Older versions used
57283   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57284   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57285   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57286   # set (hence we're using an older libtool), then set it.
57287   if test x${with_gnu_ld+set} != xset; then
57288     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57289       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57290       with_gnu_ld=no
57291     else
57292       with_gnu_ld=$ac_cv_prog_gnu_ld
57293     fi
57294   fi
57295
57296   # Start by getting the version number.  I think the libtool test already
57297   # does some of this, but throws away the result.
57298   glibcxx_ld_is_gold=no
57299   if test x"$with_gnu_ld" = x"yes"; then
57300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57301 $as_echo_n "checking for ld version... " >&6; }
57302
57303     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57304       glibcxx_ld_is_gold=yes
57305     fi
57306     ldver=`$LD --version 2>/dev/null |
57307            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'`
57308
57309     glibcxx_gnu_ld_version=`echo $ldver | \
57310            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57312 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57313   fi
57314
57315   # Set --gc-sections.
57316   glibcxx_have_gc_sections=no
57317   if test "$glibcxx_ld_is_gold" = "yes"; then
57318     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57319       glibcxx_have_gc_sections=yes
57320     fi
57321   else
57322     glibcxx_gcsections_min_ld=21602
57323     if test x"$with_gnu_ld" = x"yes" &&
57324         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57325       glibcxx_have_gc_sections=yes
57326     fi
57327   fi
57328   if test "$glibcxx_have_gc_sections" = "yes"; then
57329     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57330     # NB: This flag only works reliably after 2.16.1. Configure tests
57331     # for this are difficult, so hard wire a value that should work.
57332
57333     ac_test_CFLAGS="${CFLAGS+set}"
57334     ac_save_CFLAGS="$CFLAGS"
57335     CFLAGS='-Wl,--gc-sections'
57336
57337     # Check for -Wl,--gc-sections
57338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57339 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57340     if test x$gcc_no_link = xyes; then
57341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57342 fi
57343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57344 /* end confdefs.h.  */
57345  int one(void) { return 1; }
57346      int two(void) { return 2; }
57347
57348 int
57349 main ()
57350 {
57351  two();
57352   ;
57353   return 0;
57354 }
57355 _ACEOF
57356 if ac_fn_c_try_link "$LINENO"; then :
57357   ac_gcsections=yes
57358 else
57359   ac_gcsections=no
57360 fi
57361 rm -f core conftest.err conftest.$ac_objext \
57362     conftest$ac_exeext conftest.$ac_ext
57363     if test "$ac_gcsections" = "yes"; then
57364       rm -f conftest.c
57365       touch conftest.c
57366       if $CC -c conftest.c; then
57367         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57368            grep "Warning: gc-sections option ignored" > /dev/null; then
57369           ac_gcsections=no
57370         fi
57371       fi
57372       rm -f conftest.c conftest.o conftest
57373     fi
57374     if test "$ac_gcsections" = "yes"; then
57375       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57376     fi
57377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57378 $as_echo "$ac_gcsections" >&6; }
57379
57380     if test "$ac_test_CFLAGS" = set; then
57381       CFLAGS="$ac_save_CFLAGS"
57382     else
57383       # this is the suspicious part
57384       CFLAGS=''
57385     fi
57386   fi
57387
57388   # Set -z,relro.
57389   # Note this is only for shared objects.
57390   ac_ld_relro=no
57391   if test x"$with_gnu_ld" = x"yes"; then
57392     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57393 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57394     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57395     if test -n "$cxx_z_relo"; then
57396       OPT_LDFLAGS="-Wl,-z,relro"
57397       ac_ld_relro=yes
57398     fi
57399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57400 $as_echo "$ac_ld_relro" >&6; }
57401   fi
57402
57403   # Set linker optimization flags.
57404   if test x"$with_gnu_ld" = x"yes"; then
57405     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57406   fi
57407
57408
57409
57410
57411     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57412
57413     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57414
57415     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57416
57417     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57418
57419     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57420
57421     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57422
57423     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57424
57425     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57426
57427     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57428
57429     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57430
57431     if test x"long_double_math_on_this_cpu" = x"yes"; then
57432       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57433
57434       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57435
57436       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57437
57438       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57439
57440     fi
57441     ;;
57442   *-vxworks)
57443     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57444
57445     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57446
57447     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57448
57449     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57450
57451     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57452
57453     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57454
57455     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57456
57457     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57458
57459     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57460
57461     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57462
57463     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57464
57465     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57466
57467     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57468
57469     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57470
57471     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57472
57473     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57474
57475     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57476
57477     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57478
57479     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57480
57481     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57482
57483     ;;
57484   *)
57485     as_fn_error "No support for this host/target combination." "$LINENO" 5
57486    ;;
57487 esac
57488
57489   fi
57490
57491   # At some point, we should differentiate between architectures
57492   # like x86, which have long double versions, and alpha/powerpc/etc.,
57493   # which don't. For the time being, punt.
57494   if test x"long_double_math_on_this_cpu" = x"yes"; then
57495     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57496
57497     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57498
57499     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57500
57501     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57502
57503     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57504
57505     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57506
57507     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57508
57509     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57510
57511     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57512
57513     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57514
57515     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57516
57517     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57518
57519     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57520
57521     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57522
57523     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57524
57525     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57526
57527     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57528
57529     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57530
57531     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57532
57533     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57534
57535     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57536
57537     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57538
57539     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57540
57541   fi
57542 fi
57543
57544 # Check for _Unwind_GetIPInfo.
57545
57546
57547 # Check whether --with-system-libunwind was given.
57548 if test "${with_system_libunwind+set}" = set; then :
57549   withval=$with_system_libunwind;
57550 fi
57551
57552   # If system-libunwind was not specifically set, pick a default setting.
57553   if test x$with_system_libunwind = x; then
57554     case ${target} in
57555       ia64-*-hpux*) with_system_libunwind=yes ;;
57556       *) with_system_libunwind=no ;;
57557     esac
57558   fi
57559   # Based on system-libunwind and target, do we have ipinfo?
57560   if  test x$with_system_libunwind = xyes; then
57561     case ${target} in
57562       ia64-*-*) have_unwind_getipinfo=no ;;
57563       *) have_unwind_getipinfo=yes ;;
57564     esac
57565   else
57566     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57567
57568     case ${target} in
57569       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57570       *) have_unwind_getipinfo=yes ;;
57571     esac
57572
57573   fi
57574
57575   if test x$have_unwind_getipinfo = xyes; then
57576
57577 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57578
57579   fi
57580
57581
57582
57583  # Check whether --enable-linux-futex was given.
57584 if test "${enable_linux_futex+set}" = set; then :
57585   enableval=$enable_linux_futex;
57586       case "$enableval" in
57587        yes|no|default) ;;
57588        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57589                           esac
57590
57591 else
57592   enable_linux_futex=default
57593 fi
57594
57595
57596 case "$target" in
57597   *-linux*)
57598     case "$enable_linux_futex" in
57599       default)
57600         # If headers don't have gettid/futex syscalls definition, then
57601         # default to no, otherwise there will be compile time failures.
57602         # Otherwise, default to yes.  If we don't detect we are
57603         # compiled/linked against NPTL and not cross-compiling, check
57604         # if programs are run by default against NPTL and if not, issue
57605         # a warning.
57606         enable_linux_futex=no
57607         if test x$gcc_no_link = xyes; then
57608   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57609 fi
57610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57611 /* end confdefs.h.  */
57612 #include <sys/syscall.h>
57613            int lk;
57614 int
57615 main ()
57616 {
57617 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57618   ;
57619   return 0;
57620 }
57621 _ACEOF
57622 if ac_fn_c_try_link "$LINENO"; then :
57623   save_LIBS="$LIBS"
57624            LIBS="-lpthread $LIBS"
57625            if test x$gcc_no_link = xyes; then
57626   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57627 fi
57628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57629 /* end confdefs.h.  */
57630 #ifndef _GNU_SOURCE
57631              #define _GNU_SOURCE 1
57632              #endif
57633              #include <pthread.h>
57634              pthread_t th; void *status;
57635 int
57636 main ()
57637 {
57638 pthread_tryjoin_np (th, &status);
57639   ;
57640   return 0;
57641 }
57642 _ACEOF
57643 if ac_fn_c_try_link "$LINENO"; then :
57644   enable_linux_futex=yes
57645 else
57646   if test x$cross_compiling = xno; then
57647                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57648                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57649                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57650 If so, please configure with --disable-linux-futex" >&5
57651 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57652 If so, please configure with --disable-linux-futex" >&2;}
57653                fi
57654              fi
57655              enable_linux_futex=yes
57656 fi
57657 rm -f core conftest.err conftest.$ac_objext \
57658     conftest$ac_exeext conftest.$ac_ext
57659            LIBS="$save_LIBS"
57660 fi
57661 rm -f core conftest.err conftest.$ac_objext \
57662     conftest$ac_exeext conftest.$ac_ext
57663         ;;
57664       yes)
57665         if test x$gcc_no_link = xyes; then
57666   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57667 fi
57668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57669 /* end confdefs.h.  */
57670 #include <sys/syscall.h>
57671            int lk;
57672 int
57673 main ()
57674 {
57675 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57676   ;
57677   return 0;
57678 }
57679 _ACEOF
57680 if ac_fn_c_try_link "$LINENO"; then :
57681
57682 else
57683   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57684 fi
57685 rm -f core conftest.err conftest.$ac_objext \
57686     conftest$ac_exeext conftest.$ac_ext
57687         ;;
57688     esac
57689     ;;
57690   *)
57691     enable_linux_futex=no
57692     ;;
57693 esac
57694 if test x$enable_linux_futex = xyes; then
57695
57696 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57697
57698 fi
57699
57700
57701
57702
57703 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57704
57705 acx_cv_header_stdint=stddef.h
57706 acx_cv_header_stdint_kind="(already complete)"
57707 for i in stdint.h $inttype_headers; do
57708   unset ac_cv_type_uintptr_t
57709   unset ac_cv_type_uintmax_t
57710   unset ac_cv_type_int_least32_t
57711   unset ac_cv_type_int_fast32_t
57712   unset ac_cv_type_uint64_t
57713   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57714   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57715 #include <$i>
57716 "
57717 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57718   acx_cv_header_stdint=$i
57719 else
57720   continue
57721 fi
57722
57723   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57724 #include <$i>
57725 "
57726 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57727
57728 else
57729   acx_cv_header_stdint_kind="(mostly complete)"
57730 fi
57731
57732   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57733 #include <$i>
57734 "
57735 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57736
57737 else
57738   acx_cv_header_stdint_kind="(mostly complete)"
57739 fi
57740
57741   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57742 #include <$i>
57743 "
57744 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57745
57746 else
57747   acx_cv_header_stdint_kind="(mostly complete)"
57748 fi
57749
57750   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57751 #include <$i>
57752 "
57753 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57754
57755 else
57756   acx_cv_header_stdint_kind="(lacks uint64_t)"
57757 fi
57758
57759   break
57760 done
57761 if test "$acx_cv_header_stdint" = stddef.h; then
57762   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57763   for i in stdint.h $inttype_headers; do
57764     unset ac_cv_type_uintptr_t
57765     unset ac_cv_type_uint32_t
57766     unset ac_cv_type_uint64_t
57767     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57768     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57769 #include <$i>
57770 "
57771 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57772   acx_cv_header_stdint=$i
57773 else
57774   continue
57775 fi
57776
57777     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57778 #include <$i>
57779 "
57780 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57781
57782 fi
57783
57784     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57785 #include <$i>
57786 "
57787 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57788
57789 fi
57790
57791     break
57792   done
57793 fi
57794 if test "$acx_cv_header_stdint" = stddef.h; then
57795   acx_cv_header_stdint_kind="(u_intXX_t style)"
57796   for i in sys/types.h $inttype_headers; do
57797     unset ac_cv_type_u_int32_t
57798     unset ac_cv_type_u_int64_t
57799     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57800     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57801 #include <$i>
57802 "
57803 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57804   acx_cv_header_stdint=$i
57805 else
57806   continue
57807 fi
57808
57809     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57810 #include <$i>
57811 "
57812 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57813
57814 fi
57815
57816     break
57817   done
57818 fi
57819 if test "$acx_cv_header_stdint" = stddef.h; then
57820   acx_cv_header_stdint_kind="(using manual detection)"
57821 fi
57822
57823 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57824 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57825 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57826 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57827 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57828
57829 # ----------------- Summarize what we found so far
57830
57831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57832 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57833
57834 case `$as_basename -- include/gstdint.h ||
57835 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57836          Xinclude/gstdint.h : 'X\(//\)$' \| \
57837          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57838 $as_echo X/include/gstdint.h |
57839     sed '/^.*\/\([^/][^/]*\)\/*$/{
57840             s//\1/
57841             q
57842           }
57843           /^X\/\(\/\/\)$/{
57844             s//\1/
57845             q
57846           }
57847           /^X\/\(\/\).*/{
57848             s//\1/
57849             q
57850           }
57851           s/.*/./; q'` in
57852   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57853 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57854   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57855 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57856   *) ;;
57857 esac
57858
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57860 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57861
57862 # ----------------- done included file, check C basic types --------
57863
57864 # Lacking an uintptr_t?  Test size of void *
57865 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57866   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57869 # This bug is HP SR number 8606223364.
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57871 $as_echo_n "checking size of void *... " >&6; }
57872 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57873   $as_echo_n "(cached) " >&6
57874 else
57875   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57876
57877 else
57878   if test "$ac_cv_type_void_p" = yes; then
57879      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57881 { as_fn_set_status 77
57882 as_fn_error "cannot compute sizeof (void *)
57883 See \`config.log' for more details." "$LINENO" 5; }; }
57884    else
57885      ac_cv_sizeof_void_p=0
57886    fi
57887 fi
57888
57889 fi
57890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57891 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57892
57893
57894
57895 cat >>confdefs.h <<_ACEOF
57896 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57897 _ACEOF
57898
57899  ;;
57900 esac
57901
57902 # Lacking an uint64_t?  Test size of long
57903 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57904   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57907 # This bug is HP SR number 8606223364.
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57909 $as_echo_n "checking size of long... " >&6; }
57910 if test "${ac_cv_sizeof_long+set}" = set; then :
57911   $as_echo_n "(cached) " >&6
57912 else
57913   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57914
57915 else
57916   if test "$ac_cv_type_long" = yes; then
57917      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57919 { as_fn_set_status 77
57920 as_fn_error "cannot compute sizeof (long)
57921 See \`config.log' for more details." "$LINENO" 5; }; }
57922    else
57923      ac_cv_sizeof_long=0
57924    fi
57925 fi
57926
57927 fi
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57929 $as_echo "$ac_cv_sizeof_long" >&6; }
57930
57931
57932
57933 cat >>confdefs.h <<_ACEOF
57934 #define SIZEOF_LONG $ac_cv_sizeof_long
57935 _ACEOF
57936
57937  ;;
57938 esac
57939
57940 if test $acx_cv_header_stdint = stddef.h; then
57941   # Lacking a good header?  Test size of everything and deduce all types.
57942   # The cast to long int works around a bug in the HP C Compiler
57943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57945 # This bug is HP SR number 8606223364.
57946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57947 $as_echo_n "checking size of int... " >&6; }
57948 if test "${ac_cv_sizeof_int+set}" = set; then :
57949   $as_echo_n "(cached) " >&6
57950 else
57951   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57952
57953 else
57954   if test "$ac_cv_type_int" = yes; then
57955      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57957 { as_fn_set_status 77
57958 as_fn_error "cannot compute sizeof (int)
57959 See \`config.log' for more details." "$LINENO" 5; }; }
57960    else
57961      ac_cv_sizeof_int=0
57962    fi
57963 fi
57964
57965 fi
57966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57967 $as_echo "$ac_cv_sizeof_int" >&6; }
57968
57969
57970
57971 cat >>confdefs.h <<_ACEOF
57972 #define SIZEOF_INT $ac_cv_sizeof_int
57973 _ACEOF
57974
57975
57976   # The cast to long int works around a bug in the HP C Compiler
57977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57979 # This bug is HP SR number 8606223364.
57980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57981 $as_echo_n "checking size of short... " >&6; }
57982 if test "${ac_cv_sizeof_short+set}" = set; then :
57983   $as_echo_n "(cached) " >&6
57984 else
57985   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57986
57987 else
57988   if test "$ac_cv_type_short" = yes; then
57989      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57991 { as_fn_set_status 77
57992 as_fn_error "cannot compute sizeof (short)
57993 See \`config.log' for more details." "$LINENO" 5; }; }
57994    else
57995      ac_cv_sizeof_short=0
57996    fi
57997 fi
57998
57999 fi
58000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58001 $as_echo "$ac_cv_sizeof_short" >&6; }
58002
58003
58004
58005 cat >>confdefs.h <<_ACEOF
58006 #define SIZEOF_SHORT $ac_cv_sizeof_short
58007 _ACEOF
58008
58009
58010   # The cast to long int works around a bug in the HP C Compiler
58011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58013 # This bug is HP SR number 8606223364.
58014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58015 $as_echo_n "checking size of char... " >&6; }
58016 if test "${ac_cv_sizeof_char+set}" = set; then :
58017   $as_echo_n "(cached) " >&6
58018 else
58019   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
58020
58021 else
58022   if test "$ac_cv_type_char" = yes; then
58023      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58025 { as_fn_set_status 77
58026 as_fn_error "cannot compute sizeof (char)
58027 See \`config.log' for more details." "$LINENO" 5; }; }
58028    else
58029      ac_cv_sizeof_char=0
58030    fi
58031 fi
58032
58033 fi
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58035 $as_echo "$ac_cv_sizeof_char" >&6; }
58036
58037
58038
58039 cat >>confdefs.h <<_ACEOF
58040 #define SIZEOF_CHAR $ac_cv_sizeof_char
58041 _ACEOF
58042
58043
58044
58045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58046 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58047   case "$ac_cv_sizeof_char" in
58048     1) acx_cv_type_int8_t=char ;;
58049     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
58050   esac
58051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58052 $as_echo "$acx_cv_type_int8_t" >&6; }
58053
58054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58055 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58056   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58057     2:*) acx_cv_type_int16_t=int ;;
58058     *:2) acx_cv_type_int16_t=short ;;
58059     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
58060   esac
58061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58062 $as_echo "$acx_cv_type_int16_t" >&6; }
58063
58064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58065 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58066   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58067     4:*) acx_cv_type_int32_t=int ;;
58068     *:4) acx_cv_type_int32_t=long ;;
58069     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
58070   esac
58071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58072 $as_echo "$acx_cv_type_int32_t" >&6; }
58073 fi
58074
58075 # These tests are here to make the output prettier
58076
58077 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58078   case "$ac_cv_sizeof_long" in
58079     8) acx_cv_type_int64_t=long ;;
58080   esac
58081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58082 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58084 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58085 fi
58086
58087 # Now we can use the above types
58088
58089 if test "$ac_cv_type_uintptr_t" != yes; then
58090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58091 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58092   case $ac_cv_sizeof_void_p in
58093     2) acx_cv_type_intptr_t=int16_t ;;
58094     4) acx_cv_type_intptr_t=int32_t ;;
58095     8) acx_cv_type_intptr_t=int64_t ;;
58096     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
58097   esac
58098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58099 $as_echo "$acx_cv_type_intptr_t" >&6; }
58100 fi
58101
58102 # ----------------- done all checks, emit header -------------
58103 ac_config_commands="$ac_config_commands include/gstdint.h"
58104
58105
58106
58107
58108 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58109
58110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58111 $as_echo_n "checking for GNU c++filt... " >&6; }
58112 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58113   $as_echo_n "(cached) " >&6
58114 else
58115   if test -z "$CXXFILT"; then
58116   ac_path_CXXFILT_found=false
58117   # Loop through the user's path and test for each of PROGNAME-LIST
58118   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58119 for as_dir in $PATH
58120 do
58121   IFS=$as_save_IFS
58122   test -z "$as_dir" && as_dir=.
58123     for ac_prog in c++filt gc++filt; do
58124     for ac_exec_ext in '' $ac_executable_extensions; do
58125       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58126       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58127 # Check for GNU $ac_path_CXXFILT
58128 case `"$ac_path_CXXFILT" --version 2>&1` in
58129 *GNU*)
58130   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58131 esac
58132
58133       $ac_path_CXXFILT_found && break 3
58134     done
58135   done
58136   done
58137 IFS=$as_save_IFS
58138   if test -z "$ac_cv_path_CXXFILT"; then
58139     :
58140   fi
58141 else
58142   ac_cv_path_CXXFILT=$CXXFILT
58143 fi
58144
58145 fi
58146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58147 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58148   CXXFILT=$ac_cv_path_CXXFILT
58149
58150
58151
58152  # Check whether --enable-symvers was given.
58153 if test "${enable_symvers+set}" = set; then :
58154   enableval=$enable_symvers;
58155       case "$enableval" in
58156        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58157        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58158                           esac
58159
58160 else
58161   enable_symvers=yes
58162 fi
58163
58164
58165
58166 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58167 # don't know enough about $LD to do tricks...
58168
58169 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58170 # with extern "C++" in version scripts.
58171
58172
58173 # Turn a 'yes' into a suitable default.
58174 if test x$enable_symvers = xyes ; then
58175   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58176     enable_symvers=no
58177   else
58178     if test $with_gnu_ld = yes ; then
58179       case ${target_os} in
58180         hpux*)
58181           enable_symvers=no ;;
58182         *)
58183           enable_symvers=gnu ;;
58184       esac
58185     else
58186       case ${target_os} in
58187         darwin*)
58188           enable_symvers=darwin ;;
58189         # Sun symbol versioning exists since Solaris 2.5.
58190         solaris2.[5-9]* | solaris2.1[0-9]*)
58191           # make_sunver.pl needs GNU c++filt to support extern "C++" in
58192           # version scripts, so disable symbol versioning if none can be
58193           # found.
58194           if test -z "$ac_cv_path_CXXFILT"; then
58195             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58196 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58197             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
58198 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
58199             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58200 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58201             enable_symvers=no
58202           else
58203             enable_symvers=sun
58204           fi
58205           ;;
58206         *)
58207           enable_symvers=no ;;
58208       esac
58209     fi
58210   fi
58211 fi
58212
58213 # Check to see if 'darwin' or 'darwin-export' can win.
58214 if test x$enable_symvers = xdarwin-export ; then
58215     enable_symvers=darwin
58216 fi
58217
58218 # Check if 'sun' was requested on non-Solaris 2 platforms.
58219 if test x$enable_symvers = xsun ; then
58220   case ${target_os} in
58221     solaris2*)
58222       # All fine.
58223       ;;
58224     *)
58225       # Unlikely to work.
58226       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58227 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58228       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58229 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58230       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58231 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58232       enable_symvers=no
58233       ;;
58234   esac
58235 fi
58236
58237 # Check to see if 'gnu' can win.
58238 if test $enable_symvers = gnu ||
58239   test $enable_symvers = gnu-versioned-namespace ||
58240   test $enable_symvers = sun; then
58241   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58243 $as_echo_n "checking for shared libgcc... " >&6; }
58244   ac_save_CFLAGS="$CFLAGS"
58245   CFLAGS=' -lgcc_s'
58246   if test x$gcc_no_link = xyes; then
58247   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58248 fi
58249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58250 /* end confdefs.h.  */
58251
58252 int
58253 main ()
58254 {
58255 return 0;
58256   ;
58257   return 0;
58258 }
58259 _ACEOF
58260 if ac_fn_c_try_link "$LINENO"; then :
58261   glibcxx_shared_libgcc=yes
58262 else
58263   glibcxx_shared_libgcc=no
58264 fi
58265 rm -f core conftest.err conftest.$ac_objext \
58266     conftest$ac_exeext conftest.$ac_ext
58267   CFLAGS="$ac_save_CFLAGS"
58268   if test $glibcxx_shared_libgcc = no; then
58269     cat > conftest.c <<EOF
58270 int main (void) { return 0; }
58271 EOF
58272     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58273                              -shared -shared-libgcc -o conftest.so \
58274                              conftest.c -v 2>&1 >/dev/null \
58275                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58276     rm -f conftest.c conftest.so
58277     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58278       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58279       if test x$gcc_no_link = xyes; then
58280   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58281 fi
58282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58283 /* end confdefs.h.  */
58284
58285 int
58286 main ()
58287 {
58288 return 0;
58289   ;
58290   return 0;
58291 }
58292 _ACEOF
58293 if ac_fn_c_try_link "$LINENO"; then :
58294   glibcxx_shared_libgcc=yes
58295 fi
58296 rm -f core conftest.err conftest.$ac_objext \
58297     conftest$ac_exeext conftest.$ac_ext
58298       CFLAGS="$ac_save_CFLAGS"
58299     fi
58300   fi
58301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58302 $as_echo "$glibcxx_shared_libgcc" >&6; }
58303
58304   # For GNU ld, we need at least this version.  The format is described in
58305   # GLIBCXX_CHECK_LINKER_FEATURES above.
58306   glibcxx_min_gnu_ld_version=21400
58307
58308   # If no shared libgcc, can't win.
58309   if test $glibcxx_shared_libgcc != yes; then
58310       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58311 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58312       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58313 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58314       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58315 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58316       enable_symvers=no
58317   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58318     : All interesting versions of Sun ld support sun style symbol versioning.
58319   elif test $with_gnu_ld != yes ; then
58320     # just fail for now
58321     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58322 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58323     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58324 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58325     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58326 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58327     enable_symvers=no
58328   elif test $glibcxx_ld_is_gold = yes ; then
58329     : All versions of gold support symbol versioning.
58330   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58331     # The right tools, the right setup, but too old.  Fallbacks?
58332     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58333 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58334     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58335 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58336     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58337 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58338     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58339 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58340     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58341 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58342     enable_symvers=no
58343   fi
58344 fi
58345
58346 # Everything parsed; figure out what file to use.
58347 case $enable_symvers in
58348   no)
58349     SYMVER_FILE=config/abi/pre/none.ver
58350     ;;
58351   gnu)
58352     SYMVER_FILE=config/abi/pre/gnu.ver
58353
58354 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58355
58356     ;;
58357   gnu-versioned-namespace)
58358     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58359
58360 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58361
58362     ;;
58363   darwin)
58364     SYMVER_FILE=config/abi/pre/gnu.ver
58365
58366 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58367
58368     ;;
58369   sun)
58370     SYMVER_FILE=config/abi/pre/gnu.ver
58371
58372 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58373
58374     ;;
58375 esac
58376
58377 if test x$enable_symvers != xno ; then
58378
58379 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58380
58381 fi
58382
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58384 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58385 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58386   $as_echo_n "(cached) " >&6
58387 else
58388
58389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58390 /* end confdefs.h.  */
58391 void foo (void); __asm (".symver foo, bar@SYMVER");
58392 int
58393 main ()
58394 {
58395
58396   ;
58397   return 0;
58398 }
58399 _ACEOF
58400 if ac_fn_c_try_compile "$LINENO"; then :
58401   glibcxx_cv_have_as_symver_directive=yes
58402 else
58403   glibcxx_cv_have_as_symver_directive=no
58404 fi
58405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58406 fi
58407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58408 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58409 if test $glibcxx_cv_have_as_symver_directive = yes; then
58410
58411 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58412
58413 fi
58414
58415
58416
58417
58418
58419
58420
58421
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58423 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58424
58425 if test $enable_symvers != no ; then
58426    case ${target_os} in
58427      # The Solaris 2 runtime linker doesn't support the GNU extension of
58428      # binding the same symbol to different versions
58429      solaris2*)
58430        symvers_renaming=no  ;;
58431      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58432      *)
58433
58434 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58435
58436        symvers_renaming=yes  ;;
58437     esac
58438 fi
58439
58440
58441 # Now, set up compatibility support, if any.
58442 # In addition, need this to deal with std::size_t mangling in
58443 # src/compatibility.cc.  In a perfect world, could use
58444 # typeid(std::size_t).name()[0] to do direct substitution.
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58446 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58447 ac_save_CFLAGS="$CFLAGS"
58448 CFLAGS="-Werror"
58449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58450 /* end confdefs.h.  */
58451
58452 int
58453 main ()
58454 {
58455 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58456   ;
58457   return 0;
58458 }
58459 _ACEOF
58460 if ac_fn_c_try_compile "$LINENO"; then :
58461   glibcxx_size_t_is_i=yes
58462 else
58463   glibcxx_size_t_is_i=no
58464 fi
58465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58466 CFLAGS=$ac_save_CFLAGS
58467 if test "$glibcxx_size_t_is_i" = yes; then
58468
58469 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58470
58471 fi
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58473 $as_echo "$glibcxx_size_t_is_i" >&6; }
58474
58475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58476 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58477 ac_save_CFLAGS="$CFLAGS"
58478 CFLAGS="-Werror"
58479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58480 /* end confdefs.h.  */
58481
58482 int
58483 main ()
58484 {
58485 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58486   ;
58487   return 0;
58488 }
58489 _ACEOF
58490 if ac_fn_c_try_compile "$LINENO"; then :
58491   glibcxx_ptrdiff_t_is_i=yes
58492 else
58493   glibcxx_ptrdiff_t_is_i=no
58494 fi
58495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58496 CFLAGS=$ac_save_CFLAGS
58497 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58498
58499 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58500
58501 fi
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58503 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58504
58505
58506  # Check whether --enable-visibility was given.
58507 if test "${enable_visibility+set}" = set; then :
58508   enableval=$enable_visibility;
58509       case "$enableval" in
58510        yes|no) ;;
58511        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58512       esac
58513
58514 else
58515   enable_visibility=yes
58516 fi
58517
58518
58519
58520 if test x$enable_visibility = xyes ; then
58521       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58522 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58523 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58524   $as_echo_n "(cached) " >&6
58525 else
58526
58527   save_CFLAGS="$CFLAGS"
58528   CFLAGS="$CFLAGS -Werror"
58529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58530 /* end confdefs.h.  */
58531 void __attribute__((visibility("hidden"))) foo(void) { }
58532 int
58533 main ()
58534 {
58535
58536   ;
58537   return 0;
58538 }
58539 _ACEOF
58540 if ac_fn_c_try_compile "$LINENO"; then :
58541   glibcxx_cv_have_attribute_visibility=yes
58542 else
58543   glibcxx_cv_have_attribute_visibility=no
58544 fi
58545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58546   CFLAGS="$save_CFLAGS"
58547 fi
58548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58549 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58550   if test $glibcxx_cv_have_attribute_visibility = no; then
58551     enable_visibility=no
58552   fi
58553 fi
58554
58555
58556 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58557 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58558
58559
58560 ac_ldbl_compat=no
58561 case "$target" in
58562   powerpc*-*-linux* | \
58563   powerpc*-*-gnu* | \
58564   sparc*-*-linux* | \
58565   s390*-*-linux* | \
58566   alpha*-*-linux*)
58567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h.  */
58569
58570 int
58571 main ()
58572 {
58573
58574 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58575 #error no need for long double compatibility
58576 #endif
58577
58578   ;
58579   return 0;
58580 }
58581 _ACEOF
58582 if ac_fn_c_try_compile "$LINENO"; then :
58583   ac_ldbl_compat=yes
58584 else
58585   ac_ldbl_compat=no
58586 fi
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588   if test "$ac_ldbl_compat" = yes; then
58589
58590 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58591
58592     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58593   fi
58594 esac
58595
58596
58597 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58598
58599   if $GLIBCXX_IS_NATIVE ; then
58600     # Do checks for resource limit functions.
58601
58602   setrlimit_have_headers=yes
58603   for ac_header in unistd.h sys/time.h sys/resource.h
58604 do :
58605   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58606 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58607 eval as_val=\$$as_ac_Header
58608    if test "x$as_val" = x""yes; then :
58609   cat >>confdefs.h <<_ACEOF
58610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58611 _ACEOF
58612
58613 else
58614   setrlimit_have_headers=no
58615 fi
58616
58617 done
58618
58619   # If don't have the headers, then we can't run the tests now, and we
58620   # won't be seeing any of these during testsuite compilation.
58621   if test $setrlimit_have_headers = yes; then
58622     # Can't do these in a loop, else the resulting syntax is wrong.
58623
58624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58625 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h.  */
58628 #include <unistd.h>
58629      #include <sys/time.h>
58630      #include <sys/resource.h>
58631
58632 int
58633 main ()
58634 {
58635  int f = RLIMIT_DATA ;
58636   ;
58637   return 0;
58638 }
58639 _ACEOF
58640 if ac_fn_c_try_compile "$LINENO"; then :
58641   glibcxx_mresult=1
58642 else
58643   glibcxx_mresult=0
58644 fi
58645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646
58647 cat >>confdefs.h <<_ACEOF
58648 #define HAVE_LIMIT_DATA $glibcxx_mresult
58649 _ACEOF
58650
58651   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58653 $as_echo "$res" >&6; }
58654
58655
58656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58657 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h.  */
58660 #include <unistd.h>
58661      #include <sys/time.h>
58662      #include <sys/resource.h>
58663
58664 int
58665 main ()
58666 {
58667  int f = RLIMIT_RSS ;
58668   ;
58669   return 0;
58670 }
58671 _ACEOF
58672 if ac_fn_c_try_compile "$LINENO"; then :
58673   glibcxx_mresult=1
58674 else
58675   glibcxx_mresult=0
58676 fi
58677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58678
58679 cat >>confdefs.h <<_ACEOF
58680 #define HAVE_LIMIT_RSS $glibcxx_mresult
58681 _ACEOF
58682
58683   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58685 $as_echo "$res" >&6; }
58686
58687
58688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58689 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58691 /* end confdefs.h.  */
58692 #include <unistd.h>
58693      #include <sys/time.h>
58694      #include <sys/resource.h>
58695
58696 int
58697 main ()
58698 {
58699  int f = RLIMIT_VMEM ;
58700   ;
58701   return 0;
58702 }
58703 _ACEOF
58704 if ac_fn_c_try_compile "$LINENO"; then :
58705   glibcxx_mresult=1
58706 else
58707   glibcxx_mresult=0
58708 fi
58709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58710
58711 cat >>confdefs.h <<_ACEOF
58712 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58713 _ACEOF
58714
58715   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58717 $as_echo "$res" >&6; }
58718
58719
58720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58721 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58723 /* end confdefs.h.  */
58724 #include <unistd.h>
58725      #include <sys/time.h>
58726      #include <sys/resource.h>
58727
58728 int
58729 main ()
58730 {
58731  int f = RLIMIT_AS ;
58732   ;
58733   return 0;
58734 }
58735 _ACEOF
58736 if ac_fn_c_try_compile "$LINENO"; then :
58737   glibcxx_mresult=1
58738 else
58739   glibcxx_mresult=0
58740 fi
58741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58742
58743 cat >>confdefs.h <<_ACEOF
58744 #define HAVE_LIMIT_AS $glibcxx_mresult
58745 _ACEOF
58746
58747   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58749 $as_echo "$res" >&6; }
58750
58751
58752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58753 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58755 /* end confdefs.h.  */
58756 #include <unistd.h>
58757      #include <sys/time.h>
58758      #include <sys/resource.h>
58759
58760 int
58761 main ()
58762 {
58763  int f = RLIMIT_FSIZE ;
58764   ;
58765   return 0;
58766 }
58767 _ACEOF
58768 if ac_fn_c_try_compile "$LINENO"; then :
58769   glibcxx_mresult=1
58770 else
58771   glibcxx_mresult=0
58772 fi
58773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58774
58775 cat >>confdefs.h <<_ACEOF
58776 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58777 _ACEOF
58778
58779   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58781 $as_echo "$res" >&6; }
58782
58783
58784     # Check for rlimit, setrlimit.
58785     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58786   $as_echo_n "(cached) " >&6
58787 else
58788
58789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58790 /* end confdefs.h.  */
58791 #include <unistd.h>
58792          #include <sys/time.h>
58793          #include <sys/resource.h>
58794
58795 int
58796 main ()
58797 {
58798 struct rlimit r;
58799          setrlimit(0, &r);
58800   ;
58801   return 0;
58802 }
58803 _ACEOF
58804 if ac_fn_c_try_compile "$LINENO"; then :
58805   glibcxx_cv_setrlimit=yes
58806 else
58807   glibcxx_cv_setrlimit=no
58808 fi
58809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58810
58811 fi
58812
58813   fi
58814
58815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58816 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58817   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58818     ac_res_limits=yes
58819
58820 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58821
58822   else
58823     ac_res_limits=no
58824   fi
58825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58826 $as_echo "$ac_res_limits" >&6; }
58827
58828
58829     # Look for setenv, so that extended locale tests can be performed.
58830
58831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58832 $as_echo_n "checking for setenv declaration... " >&6; }
58833   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58834     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58835   $as_echo_n "(cached) " >&6
58836 else
58837
58838
58839       ac_ext=cpp
58840 ac_cpp='$CXXCPP $CPPFLAGS'
58841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58844
58845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58846 /* end confdefs.h.  */
58847 #include <stdlib.h>
58848 int
58849 main ()
58850 {
58851  setenv(0, 0, 0);
58852   ;
58853   return 0;
58854 }
58855 _ACEOF
58856 if ac_fn_cxx_try_compile "$LINENO"; then :
58857   glibcxx_cv_func_setenv_use=yes
58858 else
58859   glibcxx_cv_func_setenv_use=no
58860 fi
58861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58862       ac_ext=c
58863 ac_cpp='$CPP $CPPFLAGS'
58864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58867
58868
58869 fi
58870
58871   fi
58872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58873 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58874   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58875     for ac_func in setenv
58876 do :
58877   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58878 if test "x$ac_cv_func_setenv" = x""yes; then :
58879   cat >>confdefs.h <<_ACEOF
58880 #define HAVE_SETENV 1
58881 _ACEOF
58882
58883 fi
58884 done
58885
58886   fi
58887
58888   fi
58889
58890   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58891      test $enable_symvers != no; then
58892     case "$host" in
58893       *-*-cygwin*)
58894         enable_abi_check=no ;;
58895       *)
58896         enable_abi_check=yes ;;
58897     esac
58898   else
58899     # Only build this as native, since automake does not understand
58900     # CXX_FOR_BUILD.
58901     enable_abi_check=no
58902   fi
58903
58904   # Export file names for ABI checking.
58905   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58906
58907
58908
58909 # Propagate the target-specific source directories through the build chain.
58910 ATOMICITY_SRCDIR=config/${atomicity_dir}
58911 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58912 ATOMIC_FLAGS=${atomic_flags}
58913 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58914 OS_INC_SRCDIR=config/${os_include_dir}
58915 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58916 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58917
58918
58919
58920
58921
58922
58923
58924
58925
58926 # Determine cross-compile flags and AM_CONDITIONALs.
58927 #AC_SUBST(GLIBCXX_IS_NATIVE)
58928 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58929     if test $is_hosted = yes; then
58930   GLIBCXX_HOSTED_TRUE=
58931   GLIBCXX_HOSTED_FALSE='#'
58932 else
58933   GLIBCXX_HOSTED_TRUE='#'
58934   GLIBCXX_HOSTED_FALSE=
58935 fi
58936
58937
58938     if test $enable_libstdcxx_pch = yes; then
58939   GLIBCXX_BUILD_PCH_TRUE=
58940   GLIBCXX_BUILD_PCH_FALSE='#'
58941 else
58942   GLIBCXX_BUILD_PCH_TRUE='#'
58943   GLIBCXX_BUILD_PCH_FALSE=
58944 fi
58945
58946
58947     if test $enable_cheaders = c; then
58948   GLIBCXX_C_HEADERS_C_TRUE=
58949   GLIBCXX_C_HEADERS_C_FALSE='#'
58950 else
58951   GLIBCXX_C_HEADERS_C_TRUE='#'
58952   GLIBCXX_C_HEADERS_C_FALSE=
58953 fi
58954
58955
58956     if test $enable_cheaders = c_std; then
58957   GLIBCXX_C_HEADERS_C_STD_TRUE=
58958   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58959 else
58960   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58961   GLIBCXX_C_HEADERS_C_STD_FALSE=
58962 fi
58963
58964
58965     if test $enable_cheaders = c_global; then
58966   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58967   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58968 else
58969   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58970   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58971 fi
58972
58973
58974     if test $c_compatibility = yes; then
58975   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58976   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58977 else
58978   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58979   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58980 fi
58981
58982
58983     if test $enable_libstdcxx_debug = yes; then
58984   GLIBCXX_BUILD_DEBUG_TRUE=
58985   GLIBCXX_BUILD_DEBUG_FALSE='#'
58986 else
58987   GLIBCXX_BUILD_DEBUG_TRUE='#'
58988   GLIBCXX_BUILD_DEBUG_FALSE=
58989 fi
58990
58991
58992     if test $enable_parallel = yes; then
58993   ENABLE_PARALLEL_TRUE=
58994   ENABLE_PARALLEL_FALSE='#'
58995 else
58996   ENABLE_PARALLEL_TRUE='#'
58997   ENABLE_PARALLEL_FALSE=
58998 fi
58999
59000
59001     if test $enable_symvers != no; then
59002   ENABLE_SYMVERS_TRUE=
59003   ENABLE_SYMVERS_FALSE='#'
59004 else
59005   ENABLE_SYMVERS_TRUE='#'
59006   ENABLE_SYMVERS_FALSE=
59007 fi
59008
59009
59010     if test $enable_symvers = gnu; then
59011   ENABLE_SYMVERS_GNU_TRUE=
59012   ENABLE_SYMVERS_GNU_FALSE='#'
59013 else
59014   ENABLE_SYMVERS_GNU_TRUE='#'
59015   ENABLE_SYMVERS_GNU_FALSE=
59016 fi
59017
59018
59019     if test $enable_symvers = gnu-versioned-namespace; then
59020   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59021   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59022 else
59023   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59024   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59025 fi
59026
59027
59028     if test $enable_symvers = darwin; then
59029   ENABLE_SYMVERS_DARWIN_TRUE=
59030   ENABLE_SYMVERS_DARWIN_FALSE='#'
59031 else
59032   ENABLE_SYMVERS_DARWIN_TRUE='#'
59033   ENABLE_SYMVERS_DARWIN_FALSE=
59034 fi
59035
59036
59037     if test $enable_symvers = sun; then
59038   ENABLE_SYMVERS_SUN_TRUE=
59039   ENABLE_SYMVERS_SUN_FALSE='#'
59040 else
59041   ENABLE_SYMVERS_SUN_TRUE='#'
59042   ENABLE_SYMVERS_SUN_FALSE=
59043 fi
59044
59045
59046     if test $symvers_renaming = no; then
59047   ENABLE_SYMVERS_SOL2_TRUE=
59048   ENABLE_SYMVERS_SOL2_FALSE='#'
59049 else
59050   ENABLE_SYMVERS_SOL2_TRUE='#'
59051   ENABLE_SYMVERS_SOL2_FALSE=
59052 fi
59053
59054
59055     if test $enable_visibility = yes; then
59056   ENABLE_VISIBILITY_TRUE=
59057   ENABLE_VISIBILITY_FALSE='#'
59058 else
59059   ENABLE_VISIBILITY_TRUE='#'
59060   ENABLE_VISIBILITY_FALSE=
59061 fi
59062
59063
59064     if test $ac_ldbl_compat = yes; then
59065   GLIBCXX_LDBL_COMPAT_TRUE=
59066   GLIBCXX_LDBL_COMPAT_FALSE='#'
59067 else
59068   GLIBCXX_LDBL_COMPAT_TRUE='#'
59069   GLIBCXX_LDBL_COMPAT_FALSE=
59070 fi
59071
59072
59073
59074
59075 cat >confcache <<\_ACEOF
59076 # This file is a shell script that caches the results of configure
59077 # tests run on this system so they can be shared between configure
59078 # scripts and configure runs, see configure's option --config-cache.
59079 # It is not useful on other systems.  If it contains results you don't
59080 # want to keep, you may remove or edit it.
59081 #
59082 # config.status only pays attention to the cache file if you give it
59083 # the --recheck option to rerun configure.
59084 #
59085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59087 # following values.
59088
59089 _ACEOF
59090
59091 # The following way of writing the cache mishandles newlines in values,
59092 # but we know of no workaround that is simple, portable, and efficient.
59093 # So, we kill variables containing newlines.
59094 # Ultrix sh set writes to stderr and can't be redirected directly,
59095 # and sets the high bit in the cache file unless we assign to the vars.
59096 (
59097   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59098     eval ac_val=\$$ac_var
59099     case $ac_val in #(
59100     *${as_nl}*)
59101       case $ac_var in #(
59102       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59103 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59104       esac
59105       case $ac_var in #(
59106       _ | IFS | as_nl) ;; #(
59107       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59108       *) { eval $ac_var=; unset $ac_var;} ;;
59109       esac ;;
59110     esac
59111   done
59112
59113   (set) 2>&1 |
59114     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59115     *${as_nl}ac_space=\ *)
59116       # `set' does not quote correctly, so add quotes: double-quote
59117       # substitution turns \\\\ into \\, and sed turns \\ into \.
59118       sed -n \
59119         "s/'/'\\\\''/g;
59120           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59121       ;; #(
59122     *)
59123       # `set' quotes correctly as required by POSIX, so do not add quotes.
59124       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59125       ;;
59126     esac |
59127     sort
59128 ) |
59129   sed '
59130      /^ac_cv_env_/b end
59131      t clear
59132      :clear
59133      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59134      t end
59135      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59136      :end' >>confcache
59137 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59138   if test -w "$cache_file"; then
59139     test "x$cache_file" != "x/dev/null" &&
59140       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59141 $as_echo "$as_me: updating cache $cache_file" >&6;}
59142     cat confcache >$cache_file
59143   else
59144     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59145 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59146   fi
59147 fi
59148 rm -f confcache
59149
59150 if test ${multilib} = yes; then
59151   multilib_arg="--enable-multilib"
59152 else
59153   multilib_arg=
59154 fi
59155
59156 # Export all the install information.
59157
59158   glibcxx_toolexecdir=no
59159   glibcxx_toolexeclibdir=no
59160   glibcxx_prefixdir=$prefix
59161
59162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59163 $as_echo_n "checking for gxx-include-dir... " >&6; }
59164
59165 # Check whether --with-gxx-include-dir was given.
59166 if test "${with_gxx_include_dir+set}" = set; then :
59167   withval=$with_gxx_include_dir; case "$withval" in
59168       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59169       no)  gxx_include_dir=no ;;
59170       *)   gxx_include_dir=$withval ;;
59171      esac
59172 else
59173   gxx_include_dir=no
59174 fi
59175
59176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59177 $as_echo "$gxx_include_dir" >&6; }
59178
59179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59180 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59181   # Check whether --enable-version-specific-runtime-libs was given.
59182 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59183   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59184       yes) version_specific_libs=yes ;;
59185       no)  version_specific_libs=no ;;
59186       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59187      esac
59188 else
59189   version_specific_libs=no
59190 fi
59191
59192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59193 $as_echo "$version_specific_libs" >&6; }
59194
59195   # Default case for install directory for include files.
59196   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59197     gxx_include_dir='include/c++/${gcc_version}'
59198     if test -n "$with_cross_host" &&
59199        test x"$with_cross_host" != x"no"; then
59200       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59201     else
59202       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59203     fi
59204   fi
59205
59206   # Version-specific runtime libs processing.
59207   if test $version_specific_libs = yes; then
59208     # Need the gcc compiler version to know where to install libraries
59209     # and header files if --enable-version-specific-runtime-libs option
59210     # is selected.  FIXME: these variables are misnamed, there are
59211     # no executables installed in _toolexecdir or _toolexeclibdir.
59212     if test x"$gxx_include_dir" = x"no"; then
59213       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59214     fi
59215     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59216     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59217   fi
59218
59219   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59220   # Install a library built with a cross compiler in tooldir, not libdir.
59221   if test x"$glibcxx_toolexecdir" = x"no"; then
59222     if test -n "$with_cross_host" &&
59223        test x"$with_cross_host" != x"no"; then
59224       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59225       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59226     else
59227       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59228       glibcxx_toolexeclibdir='${libdir}'
59229     fi
59230     multi_os_directory=`$CXX -print-multi-os-directory`
59231     case $multi_os_directory in
59232       .) ;; # Avoid trailing /.
59233       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59234     esac
59235   fi
59236
59237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59238 $as_echo_n "checking for install location... " >&6; }
59239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59240 $as_echo "$gxx_include_dir" >&6; }
59241
59242
59243
59244
59245
59246
59247
59248 # Export all the include and flag information to Makefiles.
59249
59250   # Used for every C++ compile we perform.
59251   GLIBCXX_INCLUDES="\
59252 -I$glibcxx_builddir/include/$host_alias \
59253 -I$glibcxx_builddir/include \
59254 -I$glibcxx_srcdir/libsupc++"
59255
59256   # For Canadian crosses, pick this up too.
59257   if test $CANADIAN = yes; then
59258     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59259   fi
59260
59261   # Stuff in the actual top level.  Currently only used by libsupc++ to
59262   # get unwind* headers from the gcc dir.
59263   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59264   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59265
59266   # Now, export this to all the little Makefiles....
59267
59268
59269
59270
59271   # Optimization flags that are probably a good idea for thrill-seekers. Just
59272   # uncomment the lines below and make, everything else is ready to go...
59273   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59274   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59275
59276
59277   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59278
59279
59280
59281 if test "$enable_shared" = yes; then
59282   LIBSUPCXX_PICFLAGS="-prefer-pic"
59283 else
59284   LIBSUPCXX_PICFLAGS=
59285 fi
59286
59287
59288 ac_config_files="$ac_config_files Makefile"
59289
59290 ac_config_files="$ac_config_files scripts/testsuite_flags"
59291
59292
59293 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59294 # that multilib installs will end up installed in the correct place.
59295 # The testsuite needs it for multilib-aware ABI baseline files.
59296 # To work around this not being passed down from config-ml.in ->
59297 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59298 # append it here.  Only modify Makefiles that have just been created.
59299 #
59300 # Also, get rid of this simulated-VPATH thing that automake does.
59301 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59302
59303
59304 ac_config_commands="$ac_config_commands generate-headers"
59305
59306
59307 cat >confcache <<\_ACEOF
59308 # This file is a shell script that caches the results of configure
59309 # tests run on this system so they can be shared between configure
59310 # scripts and configure runs, see configure's option --config-cache.
59311 # It is not useful on other systems.  If it contains results you don't
59312 # want to keep, you may remove or edit it.
59313 #
59314 # config.status only pays attention to the cache file if you give it
59315 # the --recheck option to rerun configure.
59316 #
59317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59319 # following values.
59320
59321 _ACEOF
59322
59323 # The following way of writing the cache mishandles newlines in values,
59324 # but we know of no workaround that is simple, portable, and efficient.
59325 # So, we kill variables containing newlines.
59326 # Ultrix sh set writes to stderr and can't be redirected directly,
59327 # and sets the high bit in the cache file unless we assign to the vars.
59328 (
59329   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59330     eval ac_val=\$$ac_var
59331     case $ac_val in #(
59332     *${as_nl}*)
59333       case $ac_var in #(
59334       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59336       esac
59337       case $ac_var in #(
59338       _ | IFS | as_nl) ;; #(
59339       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59340       *) { eval $ac_var=; unset $ac_var;} ;;
59341       esac ;;
59342     esac
59343   done
59344
59345   (set) 2>&1 |
59346     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59347     *${as_nl}ac_space=\ *)
59348       # `set' does not quote correctly, so add quotes: double-quote
59349       # substitution turns \\\\ into \\, and sed turns \\ into \.
59350       sed -n \
59351         "s/'/'\\\\''/g;
59352           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59353       ;; #(
59354     *)
59355       # `set' quotes correctly as required by POSIX, so do not add quotes.
59356       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59357       ;;
59358     esac |
59359     sort
59360 ) |
59361   sed '
59362      /^ac_cv_env_/b end
59363      t clear
59364      :clear
59365      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59366      t end
59367      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59368      :end' >>confcache
59369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59370   if test -w "$cache_file"; then
59371     test "x$cache_file" != "x/dev/null" &&
59372       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59373 $as_echo "$as_me: updating cache $cache_file" >&6;}
59374     cat confcache >$cache_file
59375   else
59376     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59377 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59378   fi
59379 fi
59380 rm -f confcache
59381
59382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59383 # Let make expand exec_prefix.
59384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59385
59386 DEFS=-DHAVE_CONFIG_H
59387
59388 ac_libobjs=
59389 ac_ltlibobjs=
59390 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59391   # 1. Remove the extension, and $U if already installed.
59392   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59393   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59394   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59395   #    will be set to the directory where LIBOBJS objects are built.
59396   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59397   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59398 done
59399 LIBOBJS=$ac_libobjs
59400
59401 LTLIBOBJS=$ac_ltlibobjs
59402
59403
59404  if test -n "$EXEEXT"; then
59405   am__EXEEXT_TRUE=
59406   am__EXEEXT_FALSE='#'
59407 else
59408   am__EXEEXT_TRUE='#'
59409   am__EXEEXT_FALSE=
59410 fi
59411
59412 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59413   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59415 fi
59416 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59417   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59419 fi
59420 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59421   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59423 fi
59424 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59425   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59427 fi
59428 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59429   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59431 fi
59432 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59433   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59435 fi
59436 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59437   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59439 fi
59440 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59441   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59443 fi
59444 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59445   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59447 fi
59448 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59449   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59451 fi
59452 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59453   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59455 fi
59456 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59457   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59459 fi
59460 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59461   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59463 fi
59464 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59465   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59467 fi
59468 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59469   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59471 fi
59472 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59473   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59475 fi
59476 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59477   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59479 fi
59480
59481 : ${CONFIG_STATUS=./config.status}
59482 ac_write_fail=0
59483 ac_clean_files_save=$ac_clean_files
59484 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59486 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59487 as_write_fail=0
59488 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59489 #! $SHELL
59490 # Generated by $as_me.
59491 # Run this file to recreate the current configuration.
59492 # Compiler output produced by configure, useful for debugging
59493 # configure, is in config.log if it exists.
59494
59495 debug=false
59496 ac_cs_recheck=false
59497 ac_cs_silent=false
59498
59499 SHELL=\${CONFIG_SHELL-$SHELL}
59500 export SHELL
59501 _ASEOF
59502 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59503 ## -------------------- ##
59504 ## M4sh Initialization. ##
59505 ## -------------------- ##
59506
59507 # Be more Bourne compatible
59508 DUALCASE=1; export DUALCASE # for MKS sh
59509 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59510   emulate sh
59511   NULLCMD=:
59512   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59513   # is contrary to our usage.  Disable this feature.
59514   alias -g '${1+"$@"}'='"$@"'
59515   setopt NO_GLOB_SUBST
59516 else
59517   case `(set -o) 2>/dev/null` in #(
59518   *posix*) :
59519     set -o posix ;; #(
59520   *) :
59521      ;;
59522 esac
59523 fi
59524
59525
59526 as_nl='
59527 '
59528 export as_nl
59529 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59530 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59533 # Prefer a ksh shell builtin over an external printf program on Solaris,
59534 # but without wasting forks for bash or zsh.
59535 if test -z "$BASH_VERSION$ZSH_VERSION" \
59536     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59537   as_echo='print -r --'
59538   as_echo_n='print -rn --'
59539 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59540   as_echo='printf %s\n'
59541   as_echo_n='printf %s'
59542 else
59543   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59544     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59545     as_echo_n='/usr/ucb/echo -n'
59546   else
59547     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59548     as_echo_n_body='eval
59549       arg=$1;
59550       case $arg in #(
59551       *"$as_nl"*)
59552         expr "X$arg" : "X\\(.*\\)$as_nl";
59553         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59554       esac;
59555       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59556     '
59557     export as_echo_n_body
59558     as_echo_n='sh -c $as_echo_n_body as_echo'
59559   fi
59560   export as_echo_body
59561   as_echo='sh -c $as_echo_body as_echo'
59562 fi
59563
59564 # The user is always right.
59565 if test "${PATH_SEPARATOR+set}" != set; then
59566   PATH_SEPARATOR=:
59567   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59568     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59569       PATH_SEPARATOR=';'
59570   }
59571 fi
59572
59573
59574 # IFS
59575 # We need space, tab and new line, in precisely that order.  Quoting is
59576 # there to prevent editors from complaining about space-tab.
59577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59578 # splitting by setting IFS to empty value.)
59579 IFS=" ""        $as_nl"
59580
59581 # Find who we are.  Look in the path if we contain no directory separator.
59582 case $0 in #((
59583   *[\\/]* ) as_myself=$0 ;;
59584   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59585 for as_dir in $PATH
59586 do
59587   IFS=$as_save_IFS
59588   test -z "$as_dir" && as_dir=.
59589     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59590   done
59591 IFS=$as_save_IFS
59592
59593      ;;
59594 esac
59595 # We did not find ourselves, most probably we were run as `sh COMMAND'
59596 # in which case we are not to be found in the path.
59597 if test "x$as_myself" = x; then
59598   as_myself=$0
59599 fi
59600 if test ! -f "$as_myself"; then
59601   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59602   exit 1
59603 fi
59604
59605 # Unset variables that we do not need and which cause bugs (e.g. in
59606 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59607 # suppresses any "Segmentation fault" message there.  '((' could
59608 # trigger a bug in pdksh 5.2.14.
59609 for as_var in BASH_ENV ENV MAIL MAILPATH
59610 do eval test x\${$as_var+set} = xset \
59611   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59612 done
59613 PS1='$ '
59614 PS2='> '
59615 PS4='+ '
59616
59617 # NLS nuisances.
59618 LC_ALL=C
59619 export LC_ALL
59620 LANGUAGE=C
59621 export LANGUAGE
59622
59623 # CDPATH.
59624 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59625
59626
59627 # as_fn_error ERROR [LINENO LOG_FD]
59628 # ---------------------------------
59629 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59630 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59631 # script with status $?, using 1 if that was 0.
59632 as_fn_error ()
59633 {
59634   as_status=$?; test $as_status -eq 0 && as_status=1
59635   if test "$3"; then
59636     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59637     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59638   fi
59639   $as_echo "$as_me: error: $1" >&2
59640   as_fn_exit $as_status
59641 } # as_fn_error
59642
59643
59644 # as_fn_set_status STATUS
59645 # -----------------------
59646 # Set $? to STATUS, without forking.
59647 as_fn_set_status ()
59648 {
59649   return $1
59650 } # as_fn_set_status
59651
59652 # as_fn_exit STATUS
59653 # -----------------
59654 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59655 as_fn_exit ()
59656 {
59657   set +e
59658   as_fn_set_status $1
59659   exit $1
59660 } # as_fn_exit
59661
59662 # as_fn_unset VAR
59663 # ---------------
59664 # Portably unset VAR.
59665 as_fn_unset ()
59666 {
59667   { eval $1=; unset $1;}
59668 }
59669 as_unset=as_fn_unset
59670 # as_fn_append VAR VALUE
59671 # ----------------------
59672 # Append the text in VALUE to the end of the definition contained in VAR. Take
59673 # advantage of any shell optimizations that allow amortized linear growth over
59674 # repeated appends, instead of the typical quadratic growth present in naive
59675 # implementations.
59676 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59677   eval 'as_fn_append ()
59678   {
59679     eval $1+=\$2
59680   }'
59681 else
59682   as_fn_append ()
59683   {
59684     eval $1=\$$1\$2
59685   }
59686 fi # as_fn_append
59687
59688 # as_fn_arith ARG...
59689 # ------------------
59690 # Perform arithmetic evaluation on the ARGs, and store the result in the
59691 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59692 # must be portable across $(()) and expr.
59693 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59694   eval 'as_fn_arith ()
59695   {
59696     as_val=$(( $* ))
59697   }'
59698 else
59699   as_fn_arith ()
59700   {
59701     as_val=`expr "$@" || test $? -eq 1`
59702   }
59703 fi # as_fn_arith
59704
59705
59706 if expr a : '\(a\)' >/dev/null 2>&1 &&
59707    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59708   as_expr=expr
59709 else
59710   as_expr=false
59711 fi
59712
59713 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59714   as_basename=basename
59715 else
59716   as_basename=false
59717 fi
59718
59719 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59720   as_dirname=dirname
59721 else
59722   as_dirname=false
59723 fi
59724
59725 as_me=`$as_basename -- "$0" ||
59726 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59727          X"$0" : 'X\(//\)$' \| \
59728          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59729 $as_echo X/"$0" |
59730     sed '/^.*\/\([^/][^/]*\)\/*$/{
59731             s//\1/
59732             q
59733           }
59734           /^X\/\(\/\/\)$/{
59735             s//\1/
59736             q
59737           }
59738           /^X\/\(\/\).*/{
59739             s//\1/
59740             q
59741           }
59742           s/.*/./; q'`
59743
59744 # Avoid depending upon Character Ranges.
59745 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59746 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59747 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59748 as_cr_digits='0123456789'
59749 as_cr_alnum=$as_cr_Letters$as_cr_digits
59750
59751 ECHO_C= ECHO_N= ECHO_T=
59752 case `echo -n x` in #(((((
59753 -n*)
59754   case `echo 'xy\c'` in
59755   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59756   xy)  ECHO_C='\c';;
59757   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59758        ECHO_T=' ';;
59759   esac;;
59760 *)
59761   ECHO_N='-n';;
59762 esac
59763
59764 rm -f conf$$ conf$$.exe conf$$.file
59765 if test -d conf$$.dir; then
59766   rm -f conf$$.dir/conf$$.file
59767 else
59768   rm -f conf$$.dir
59769   mkdir conf$$.dir 2>/dev/null
59770 fi
59771 if (echo >conf$$.file) 2>/dev/null; then
59772   if ln -s conf$$.file conf$$ 2>/dev/null; then
59773     as_ln_s='ln -s'
59774     # ... but there are two gotchas:
59775     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59776     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59777     # In both cases, we have to default to `cp -p'.
59778     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59779       as_ln_s='cp -p'
59780   elif ln conf$$.file conf$$ 2>/dev/null; then
59781     as_ln_s=ln
59782   else
59783     as_ln_s='cp -p'
59784   fi
59785 else
59786   as_ln_s='cp -p'
59787 fi
59788 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59789 rmdir conf$$.dir 2>/dev/null
59790
59791
59792 # as_fn_mkdir_p
59793 # -------------
59794 # Create "$as_dir" as a directory, including parents if necessary.
59795 as_fn_mkdir_p ()
59796 {
59797
59798   case $as_dir in #(
59799   -*) as_dir=./$as_dir;;
59800   esac
59801   test -d "$as_dir" || eval $as_mkdir_p || {
59802     as_dirs=
59803     while :; do
59804       case $as_dir in #(
59805       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59806       *) as_qdir=$as_dir;;
59807       esac
59808       as_dirs="'$as_qdir' $as_dirs"
59809       as_dir=`$as_dirname -- "$as_dir" ||
59810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59811          X"$as_dir" : 'X\(//\)[^/]' \| \
59812          X"$as_dir" : 'X\(//\)$' \| \
59813          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59814 $as_echo X"$as_dir" |
59815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59816             s//\1/
59817             q
59818           }
59819           /^X\(\/\/\)[^/].*/{
59820             s//\1/
59821             q
59822           }
59823           /^X\(\/\/\)$/{
59824             s//\1/
59825             q
59826           }
59827           /^X\(\/\).*/{
59828             s//\1/
59829             q
59830           }
59831           s/.*/./; q'`
59832       test -d "$as_dir" && break
59833     done
59834     test -z "$as_dirs" || eval "mkdir $as_dirs"
59835   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59836
59837
59838 } # as_fn_mkdir_p
59839 if mkdir -p . 2>/dev/null; then
59840   as_mkdir_p='mkdir -p "$as_dir"'
59841 else
59842   test -d ./-p && rmdir ./-p
59843   as_mkdir_p=false
59844 fi
59845
59846 if test -x / >/dev/null 2>&1; then
59847   as_test_x='test -x'
59848 else
59849   if ls -dL / >/dev/null 2>&1; then
59850     as_ls_L_option=L
59851   else
59852     as_ls_L_option=
59853   fi
59854   as_test_x='
59855     eval sh -c '\''
59856       if test -d "$1"; then
59857         test -d "$1/.";
59858       else
59859         case $1 in #(
59860         -*)set "./$1";;
59861         esac;
59862         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59863         ???[sx]*):;;*)false;;esac;fi
59864     '\'' sh
59865   '
59866 fi
59867 as_executable_p=$as_test_x
59868
59869 # Sed expression to map a string onto a valid CPP name.
59870 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59871
59872 # Sed expression to map a string onto a valid variable name.
59873 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59874
59875
59876 exec 6>&1
59877 ## ----------------------------------- ##
59878 ## Main body of $CONFIG_STATUS script. ##
59879 ## ----------------------------------- ##
59880 _ASEOF
59881 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59882
59883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59884 # Save the log message, to keep $0 and so on meaningful, and to
59885 # report actual input values of CONFIG_FILES etc. instead of their
59886 # values after options handling.
59887 ac_log="
59888 This file was extended by package-unused $as_me version-unused, which was
59889 generated by GNU Autoconf 2.64.  Invocation command line was
59890
59891   CONFIG_FILES    = $CONFIG_FILES
59892   CONFIG_HEADERS  = $CONFIG_HEADERS
59893   CONFIG_LINKS    = $CONFIG_LINKS
59894   CONFIG_COMMANDS = $CONFIG_COMMANDS
59895   $ $0 $@
59896
59897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59898 "
59899
59900 _ACEOF
59901
59902 case $ac_config_files in *"
59903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59904 esac
59905
59906 case $ac_config_headers in *"
59907 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59908 esac
59909
59910
59911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59912 # Files that config.status was made for.
59913 config_files="$ac_config_files"
59914 config_headers="$ac_config_headers"
59915 config_commands="$ac_config_commands"
59916
59917 _ACEOF
59918
59919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59920 ac_cs_usage="\
59921 \`$as_me' instantiates files and other configuration actions
59922 from templates according to the current configuration.  Unless the files
59923 and actions are specified as TAGs, all are instantiated by default.
59924
59925 Usage: $0 [OPTION]... [TAG]...
59926
59927   -h, --help       print this help, then exit
59928   -V, --version    print version number and configuration settings, then exit
59929   -q, --quiet, --silent
59930                    do not print progress messages
59931   -d, --debug      don't remove temporary files
59932       --recheck    update $as_me by reconfiguring in the same conditions
59933       --file=FILE[:TEMPLATE]
59934                    instantiate the configuration file FILE
59935       --header=FILE[:TEMPLATE]
59936                    instantiate the configuration header FILE
59937
59938 Configuration files:
59939 $config_files
59940
59941 Configuration headers:
59942 $config_headers
59943
59944 Configuration commands:
59945 $config_commands
59946
59947 Report bugs to the package provider."
59948
59949 _ACEOF
59950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59951 ac_cs_version="\\
59952 package-unused config.status version-unused
59953 configured by $0, generated by GNU Autoconf 2.64,
59954   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59955
59956 Copyright (C) 2009 Free Software Foundation, Inc.
59957 This config.status script is free software; the Free Software Foundation
59958 gives unlimited permission to copy, distribute and modify it."
59959
59960 ac_pwd='$ac_pwd'
59961 srcdir='$srcdir'
59962 INSTALL='$INSTALL'
59963 MKDIR_P='$MKDIR_P'
59964 AWK='$AWK'
59965 test -n "\$AWK" || AWK=awk
59966 _ACEOF
59967
59968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59969 # The default lists apply if the user does not specify any file.
59970 ac_need_defaults=:
59971 while test $# != 0
59972 do
59973   case $1 in
59974   --*=*)
59975     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59976     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59977     ac_shift=:
59978     ;;
59979   *)
59980     ac_option=$1
59981     ac_optarg=$2
59982     ac_shift=shift
59983     ;;
59984   esac
59985
59986   case $ac_option in
59987   # Handling of the options.
59988   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59989     ac_cs_recheck=: ;;
59990   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59991     $as_echo "$ac_cs_version"; exit ;;
59992   --debug | --debu | --deb | --de | --d | -d )
59993     debug=: ;;
59994   --file | --fil | --fi | --f )
59995     $ac_shift
59996     case $ac_optarg in
59997     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59998     esac
59999     as_fn_append CONFIG_FILES " '$ac_optarg'"
60000     ac_need_defaults=false;;
60001   --header | --heade | --head | --hea )
60002     $ac_shift
60003     case $ac_optarg in
60004     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60005     esac
60006     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60007     ac_need_defaults=false;;
60008   --he | --h)
60009     # Conflict between --help and --header
60010     as_fn_error "ambiguous option: \`$1'
60011 Try \`$0 --help' for more information.";;
60012   --help | --hel | -h )
60013     $as_echo "$ac_cs_usage"; exit ;;
60014   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60015   | -silent | --silent | --silen | --sile | --sil | --si | --s)
60016     ac_cs_silent=: ;;
60017
60018   # This is an error.
60019   -*) as_fn_error "unrecognized option: \`$1'
60020 Try \`$0 --help' for more information." ;;
60021
60022   *) as_fn_append ac_config_targets " $1"
60023      ac_need_defaults=false ;;
60024
60025   esac
60026   shift
60027 done
60028
60029 ac_configure_extra_args=
60030
60031 if $ac_cs_silent; then
60032   exec 6>/dev/null
60033   ac_configure_extra_args="$ac_configure_extra_args --silent"
60034 fi
60035
60036 _ACEOF
60037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60038 if \$ac_cs_recheck; then
60039   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60040   shift
60041   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60042   CONFIG_SHELL='$SHELL'
60043   export CONFIG_SHELL
60044   exec "\$@"
60045 fi
60046
60047 _ACEOF
60048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60049 exec 5>>config.log
60050 {
60051   echo
60052   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60053 ## Running $as_me. ##
60054 _ASBOX
60055   $as_echo "$ac_log"
60056 } >&5
60057
60058 _ACEOF
60059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60060 #
60061 # INIT-COMMANDS
60062 #
60063
60064 srcdir="$srcdir"
60065 host="$host"
60066 target="$target"
60067 with_multisubdir="$with_multisubdir"
60068 with_multisrctop="$with_multisrctop"
60069 with_target_subdir="$with_target_subdir"
60070 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60071 multi_basedir="$multi_basedir"
60072 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60073 CC="$CC"
60074 CXX="$CXX"
60075 GFORTRAN="$GFORTRAN"
60076 GCJ="$GCJ"
60077
60078
60079 # The HP-UX ksh and POSIX shell print the target directory to stdout
60080 # if CDPATH is set.
60081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60082
60083 sed_quote_subst='$sed_quote_subst'
60084 double_quote_subst='$double_quote_subst'
60085 delay_variable_subst='$delay_variable_subst'
60086 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60087 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60088 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60089 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60090 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60091 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60092 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60093 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60096 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60097 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60098 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60099 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60100 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60101 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60102 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60103 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60104 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60105 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60106 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60107 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60108 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60109 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60110 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60111 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60112 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60113 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60114 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60115 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60116 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60117 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60118 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60119 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60120 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60121 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60122 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60123 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60124 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60125 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60126 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60127 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60128 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60129 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60130 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60131 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60132 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60133 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60134 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"`'
60135 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60136 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60137 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60138 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60139 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60140 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60141 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60142 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60143 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60144 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60145 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60146 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60147 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60148 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60149 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60150 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60151 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60152 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60153 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60154 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60155 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60156 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60157 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60158 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60159 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60160 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60161 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60162 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60163 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60164 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60165 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60166 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60167 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60168 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60169 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60170 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60171 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60172 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60173 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60174 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60175 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60176 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60177 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60178 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60179 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60180 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60181 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60182 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60183 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60184 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60185 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60186 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60187 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60188 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60189 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60190 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60191 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60192 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60193 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60194 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60195 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60196 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60197 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60198 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60199 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60200 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60201 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60202 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60203 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60204 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60205 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60206 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60207 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60208 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60209 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60210 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60211 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60212 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60213 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60214 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60215 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60216 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60217 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60218 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60219 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60220 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60221 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60222 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60223 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60224 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60225 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60226 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60227 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60228 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60229 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60230 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60231 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60232 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60233 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60234 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60235 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60236 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60237 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60238 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60239 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60240 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60241 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60242 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60243 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60244 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60245 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60246 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60247 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60248 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60249 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60250 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60251 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60252 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60253 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60254 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60255 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60256 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60257 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60258 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60259 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60260 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60261
60262 LTCC='$LTCC'
60263 LTCFLAGS='$LTCFLAGS'
60264 compiler='$compiler_DEFAULT'
60265
60266 # A function that is used when there is no print builtin or printf.
60267 func_fallback_echo ()
60268 {
60269   eval 'cat <<_LTECHO_EOF
60270 \$1
60271 _LTECHO_EOF'
60272 }
60273
60274 # Quote evaled strings.
60275 for var in SHELL \
60276 ECHO \
60277 SED \
60278 GREP \
60279 EGREP \
60280 FGREP \
60281 LD \
60282 NM \
60283 LN_S \
60284 lt_SP2NL \
60285 lt_NL2SP \
60286 reload_flag \
60287 OBJDUMP \
60288 deplibs_check_method \
60289 file_magic_cmd \
60290 AR \
60291 AR_FLAGS \
60292 STRIP \
60293 RANLIB \
60294 CC \
60295 CFLAGS \
60296 compiler \
60297 lt_cv_sys_global_symbol_pipe \
60298 lt_cv_sys_global_symbol_to_cdecl \
60299 lt_cv_sys_global_symbol_to_c_name_address \
60300 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60301 lt_prog_compiler_no_builtin_flag \
60302 lt_prog_compiler_wl \
60303 lt_prog_compiler_pic \
60304 lt_prog_compiler_static \
60305 lt_cv_prog_compiler_c_o \
60306 need_locks \
60307 DSYMUTIL \
60308 NMEDIT \
60309 LIPO \
60310 OTOOL \
60311 OTOOL64 \
60312 shrext_cmds \
60313 export_dynamic_flag_spec \
60314 whole_archive_flag_spec \
60315 compiler_needs_object \
60316 with_gnu_ld \
60317 allow_undefined_flag \
60318 no_undefined_flag \
60319 hardcode_libdir_flag_spec \
60320 hardcode_libdir_flag_spec_ld \
60321 hardcode_libdir_separator \
60322 fix_srcfile_path \
60323 exclude_expsyms \
60324 include_expsyms \
60325 file_list_spec \
60326 variables_saved_for_relink \
60327 libname_spec \
60328 library_names_spec \
60329 soname_spec \
60330 install_override_mode \
60331 finish_eval \
60332 old_striplib \
60333 striplib \
60334 compiler_lib_search_dirs \
60335 predep_objects \
60336 postdep_objects \
60337 predeps \
60338 postdeps \
60339 compiler_lib_search_path \
60340 LD_CXX \
60341 reload_flag_CXX \
60342 compiler_CXX \
60343 lt_prog_compiler_no_builtin_flag_CXX \
60344 lt_prog_compiler_wl_CXX \
60345 lt_prog_compiler_pic_CXX \
60346 lt_prog_compiler_static_CXX \
60347 lt_cv_prog_compiler_c_o_CXX \
60348 export_dynamic_flag_spec_CXX \
60349 whole_archive_flag_spec_CXX \
60350 compiler_needs_object_CXX \
60351 with_gnu_ld_CXX \
60352 allow_undefined_flag_CXX \
60353 no_undefined_flag_CXX \
60354 hardcode_libdir_flag_spec_CXX \
60355 hardcode_libdir_flag_spec_ld_CXX \
60356 hardcode_libdir_separator_CXX \
60357 fix_srcfile_path_CXX \
60358 exclude_expsyms_CXX \
60359 include_expsyms_CXX \
60360 file_list_spec_CXX \
60361 compiler_lib_search_dirs_CXX \
60362 predep_objects_CXX \
60363 postdep_objects_CXX \
60364 predeps_CXX \
60365 postdeps_CXX \
60366 compiler_lib_search_path_CXX; do
60367     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60368     *[\\\\\\\`\\"\\\$]*)
60369       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60370       ;;
60371     *)
60372       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60373       ;;
60374     esac
60375 done
60376
60377 # Double-quote double-evaled strings.
60378 for var in reload_cmds \
60379 old_postinstall_cmds \
60380 old_postuninstall_cmds \
60381 old_archive_cmds \
60382 extract_expsyms_cmds \
60383 old_archive_from_new_cmds \
60384 old_archive_from_expsyms_cmds \
60385 archive_cmds \
60386 archive_expsym_cmds \
60387 module_cmds \
60388 module_expsym_cmds \
60389 export_symbols_cmds \
60390 prelink_cmds \
60391 postinstall_cmds \
60392 postuninstall_cmds \
60393 finish_cmds \
60394 sys_lib_search_path_spec \
60395 sys_lib_dlsearch_path_spec \
60396 reload_cmds_CXX \
60397 old_archive_cmds_CXX \
60398 old_archive_from_new_cmds_CXX \
60399 old_archive_from_expsyms_cmds_CXX \
60400 archive_cmds_CXX \
60401 archive_expsym_cmds_CXX \
60402 module_cmds_CXX \
60403 module_expsym_cmds_CXX \
60404 export_symbols_cmds_CXX \
60405 prelink_cmds_CXX; do
60406     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60407     *[\\\\\\\`\\"\\\$]*)
60408       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60409       ;;
60410     *)
60411       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60412       ;;
60413     esac
60414 done
60415
60416 ac_aux_dir='$ac_aux_dir'
60417 xsi_shell='$xsi_shell'
60418 lt_shell_append='$lt_shell_append'
60419
60420 # See if we are running on zsh, and set the options which allow our
60421 # commands through without removal of \ escapes INIT.
60422 if test -n "\${ZSH_VERSION+set}" ; then
60423    setopt NO_GLOB_SUBST
60424 fi
60425
60426
60427     PACKAGE='$PACKAGE'
60428     VERSION='$VERSION'
60429     TIMESTAMP='$TIMESTAMP'
60430     RM='$RM'
60431     ofile='$ofile'
60432
60433
60434
60435
60436
60437
60438 GCC="$GCC"
60439 CC="$CC"
60440 acx_cv_header_stdint="$acx_cv_header_stdint"
60441 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60442 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60443 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60444 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60445 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60446 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60447 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60448 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60449 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60450 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60451 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60452 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60453 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60454
60455
60456 _ACEOF
60457
60458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60459
60460 # Handling of arguments.
60461 for ac_config_target in $ac_config_targets
60462 do
60463   case $ac_config_target in
60464     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60465     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60466     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60467     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60468     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60469     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60470     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60471     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60472     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60473     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60474     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60475     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60476     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60477     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60478
60479   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60480   esac
60481 done
60482
60483
60484 # If the user did not use the arguments to specify the items to instantiate,
60485 # then the envvar interface is used.  Set only those that are not.
60486 # We use the long form for the default assignment because of an extremely
60487 # bizarre bug on SunOS 4.1.3.
60488 if $ac_need_defaults; then
60489   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60490   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60491   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60492 fi
60493
60494 # Have a temporary directory for convenience.  Make it in the build tree
60495 # simply because there is no reason against having it here, and in addition,
60496 # creating and moving files from /tmp can sometimes cause problems.
60497 # Hook for its removal unless debugging.
60498 # Note that there is a small window in which the directory will not be cleaned:
60499 # after its creation but before its name has been assigned to `$tmp'.
60500 $debug ||
60501 {
60502   tmp=
60503   trap 'exit_status=$?
60504   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60505 ' 0
60506   trap 'as_fn_exit 1' 1 2 13 15
60507 }
60508 # Create a (secure) tmp directory for tmp files.
60509
60510 {
60511   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60512   test -n "$tmp" && test -d "$tmp"
60513 }  ||
60514 {
60515   tmp=./conf$$-$RANDOM
60516   (umask 077 && mkdir "$tmp")
60517 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60518
60519 # Set up the scripts for CONFIG_FILES section.
60520 # No need to generate them if there are no CONFIG_FILES.
60521 # This happens for instance with `./config.status config.h'.
60522 if test -n "$CONFIG_FILES"; then
60523
60524
60525 ac_cr=`echo X | tr X '\015'`
60526 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60527 # But we know of no other shell where ac_cr would be empty at this
60528 # point, so we can use a bashism as a fallback.
60529 if test "x$ac_cr" = x; then
60530   eval ac_cr=\$\'\\r\'
60531 fi
60532 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60533 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60534   ac_cs_awk_cr='\r'
60535 else
60536   ac_cs_awk_cr=$ac_cr
60537 fi
60538
60539 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60540 _ACEOF
60541
60542
60543 {
60544   echo "cat >conf$$subs.awk <<_ACEOF" &&
60545   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60546   echo "_ACEOF"
60547 } >conf$$subs.sh ||
60548   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60549 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60550 ac_delim='%!_!# '
60551 for ac_last_try in false false false false false :; do
60552   . ./conf$$subs.sh ||
60553     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60554
60555   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60556   if test $ac_delim_n = $ac_delim_num; then
60557     break
60558   elif $ac_last_try; then
60559     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60560   else
60561     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60562   fi
60563 done
60564 rm -f conf$$subs.sh
60565
60566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60567 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60568 _ACEOF
60569 sed -n '
60570 h
60571 s/^/S["/; s/!.*/"]=/
60572 p
60573 g
60574 s/^[^!]*!//
60575 :repl
60576 t repl
60577 s/'"$ac_delim"'$//
60578 t delim
60579 :nl
60580 h
60581 s/\(.\{148\}\).*/\1/
60582 t more1
60583 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60584 p
60585 n
60586 b repl
60587 :more1
60588 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60589 p
60590 g
60591 s/.\{148\}//
60592 t nl
60593 :delim
60594 h
60595 s/\(.\{148\}\).*/\1/
60596 t more2
60597 s/["\\]/\\&/g; s/^/"/; s/$/"/
60598 p
60599 b
60600 :more2
60601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60602 p
60603 g
60604 s/.\{148\}//
60605 t delim
60606 ' <conf$$subs.awk | sed '
60607 /^[^""]/{
60608   N
60609   s/\n//
60610 }
60611 ' >>$CONFIG_STATUS || ac_write_fail=1
60612 rm -f conf$$subs.awk
60613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60614 _ACAWK
60615 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60616   for (key in S) S_is_set[key] = 1
60617   FS = "\a"
60618
60619 }
60620 {
60621   line = $ 0
60622   nfields = split(line, field, "@")
60623   substed = 0
60624   len = length(field[1])
60625   for (i = 2; i < nfields; i++) {
60626     key = field[i]
60627     keylen = length(key)
60628     if (S_is_set[key]) {
60629       value = S[key]
60630       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60631       len += length(value) + length(field[++i])
60632       substed = 1
60633     } else
60634       len += 1 + keylen
60635   }
60636
60637   print line
60638 }
60639
60640 _ACAWK
60641 _ACEOF
60642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60643 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60644   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60645 else
60646   cat
60647 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60648   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60649 _ACEOF
60650
60651 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60652 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60653 # trailing colons and then remove the whole line if VPATH becomes empty
60654 # (actually we leave an empty line to preserve line numbers).
60655 if test "x$srcdir" = x.; then
60656   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60657 s/:*\$(srcdir):*/:/
60658 s/:*\${srcdir}:*/:/
60659 s/:*@srcdir@:*/:/
60660 s/^\([^=]*=[     ]*\):*/\1/
60661 s/:*$//
60662 s/^[^=]*=[       ]*$//
60663 }'
60664 fi
60665
60666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60667 fi # test -n "$CONFIG_FILES"
60668
60669 # Set up the scripts for CONFIG_HEADERS section.
60670 # No need to generate them if there are no CONFIG_HEADERS.
60671 # This happens for instance with `./config.status Makefile'.
60672 if test -n "$CONFIG_HEADERS"; then
60673 cat >"$tmp/defines.awk" <<\_ACAWK ||
60674 BEGIN {
60675 _ACEOF
60676
60677 # Transform confdefs.h into an awk script `defines.awk', embedded as
60678 # here-document in config.status, that substitutes the proper values into
60679 # config.h.in to produce config.h.
60680
60681 # Create a delimiter string that does not exist in confdefs.h, to ease
60682 # handling of long lines.
60683 ac_delim='%!_!# '
60684 for ac_last_try in false false :; do
60685   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60686   if test -z "$ac_t"; then
60687     break
60688   elif $ac_last_try; then
60689     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60690   else
60691     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60692   fi
60693 done
60694
60695 # For the awk script, D is an array of macro values keyed by name,
60696 # likewise P contains macro parameters if any.  Preserve backslash
60697 # newline sequences.
60698
60699 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60700 sed -n '
60701 s/.\{148\}/&'"$ac_delim"'/g
60702 t rset
60703 :rset
60704 s/^[     ]*#[    ]*define[       ][      ]*/ /
60705 t def
60706 d
60707 :def
60708 s/\\$//
60709 t bsnl
60710 s/["\\]/\\&/g
60711 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60712 D["\1"]=" \3"/p
60713 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60714 d
60715 :bsnl
60716 s/["\\]/\\&/g
60717 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60718 D["\1"]=" \3\\\\\\n"\\/p
60719 t cont
60720 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60721 t cont
60722 d
60723 :cont
60724 n
60725 s/.\{148\}/&'"$ac_delim"'/g
60726 t clear
60727 :clear
60728 s/\\$//
60729 t bsnlc
60730 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60731 d
60732 :bsnlc
60733 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60734 b cont
60735 ' <confdefs.h | sed '
60736 s/'"$ac_delim"'/"\\\
60737 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60738
60739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60740   for (key in D) D_is_set[key] = 1
60741   FS = "\a"
60742 }
60743 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60744   line = \$ 0
60745   split(line, arg, " ")
60746   if (arg[1] == "#") {
60747     defundef = arg[2]
60748     mac1 = arg[3]
60749   } else {
60750     defundef = substr(arg[1], 2)
60751     mac1 = arg[2]
60752   }
60753   split(mac1, mac2, "(") #)
60754   macro = mac2[1]
60755   prefix = substr(line, 1, index(line, defundef) - 1)
60756   if (D_is_set[macro]) {
60757     # Preserve the white space surrounding the "#".
60758     print prefix "define", macro P[macro] D[macro]
60759     next
60760   } else {
60761     # Replace #undef with comments.  This is necessary, for example,
60762     # in the case of _POSIX_SOURCE, which is predefined and required
60763     # on some systems where configure will not decide to define it.
60764     if (defundef == "undef") {
60765       print "/*", prefix defundef, macro, "*/"
60766       next
60767     }
60768   }
60769 }
60770 { print }
60771 _ACAWK
60772 _ACEOF
60773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60774   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60775 fi # test -n "$CONFIG_HEADERS"
60776
60777
60778 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60779 shift
60780 for ac_tag
60781 do
60782   case $ac_tag in
60783   :[FHLC]) ac_mode=$ac_tag; continue;;
60784   esac
60785   case $ac_mode$ac_tag in
60786   :[FHL]*:*);;
60787   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60788   :[FH]-) ac_tag=-:-;;
60789   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60790   esac
60791   ac_save_IFS=$IFS
60792   IFS=:
60793   set x $ac_tag
60794   IFS=$ac_save_IFS
60795   shift
60796   ac_file=$1
60797   shift
60798
60799   case $ac_mode in
60800   :L) ac_source=$1;;
60801   :[FH])
60802     ac_file_inputs=
60803     for ac_f
60804     do
60805       case $ac_f in
60806       -) ac_f="$tmp/stdin";;
60807       *) # Look for the file first in the build tree, then in the source tree
60808          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60809          # because $ac_f cannot contain `:'.
60810          test -f "$ac_f" ||
60811            case $ac_f in
60812            [\\/$]*) false;;
60813            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60814            esac ||
60815            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60816       esac
60817       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60818       as_fn_append ac_file_inputs " '$ac_f'"
60819     done
60820
60821     # Let's still pretend it is `configure' which instantiates (i.e., don't
60822     # use $as_me), people would be surprised to read:
60823     #    /* config.h.  Generated by config.status.  */
60824     configure_input='Generated from '`
60825           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60826         `' by configure.'
60827     if test x"$ac_file" != x-; then
60828       configure_input="$ac_file.  $configure_input"
60829       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60830 $as_echo "$as_me: creating $ac_file" >&6;}
60831     fi
60832     # Neutralize special characters interpreted by sed in replacement strings.
60833     case $configure_input in #(
60834     *\&* | *\|* | *\\* )
60835        ac_sed_conf_input=`$as_echo "$configure_input" |
60836        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60837     *) ac_sed_conf_input=$configure_input;;
60838     esac
60839
60840     case $ac_tag in
60841     *:-:* | *:-) cat >"$tmp/stdin" \
60842       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60843     esac
60844     ;;
60845   esac
60846
60847   ac_dir=`$as_dirname -- "$ac_file" ||
60848 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60849          X"$ac_file" : 'X\(//\)[^/]' \| \
60850          X"$ac_file" : 'X\(//\)$' \| \
60851          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60852 $as_echo X"$ac_file" |
60853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60854             s//\1/
60855             q
60856           }
60857           /^X\(\/\/\)[^/].*/{
60858             s//\1/
60859             q
60860           }
60861           /^X\(\/\/\)$/{
60862             s//\1/
60863             q
60864           }
60865           /^X\(\/\).*/{
60866             s//\1/
60867             q
60868           }
60869           s/.*/./; q'`
60870   as_dir="$ac_dir"; as_fn_mkdir_p
60871   ac_builddir=.
60872
60873 case "$ac_dir" in
60874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60875 *)
60876   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60877   # A ".." for each directory in $ac_dir_suffix.
60878   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60879   case $ac_top_builddir_sub in
60880   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60881   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60882   esac ;;
60883 esac
60884 ac_abs_top_builddir=$ac_pwd
60885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60886 # for backward compatibility:
60887 ac_top_builddir=$ac_top_build_prefix
60888
60889 case $srcdir in
60890   .)  # We are building in place.
60891     ac_srcdir=.
60892     ac_top_srcdir=$ac_top_builddir_sub
60893     ac_abs_top_srcdir=$ac_pwd ;;
60894   [\\/]* | ?:[\\/]* )  # Absolute name.
60895     ac_srcdir=$srcdir$ac_dir_suffix;
60896     ac_top_srcdir=$srcdir
60897     ac_abs_top_srcdir=$srcdir ;;
60898   *) # Relative name.
60899     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60900     ac_top_srcdir=$ac_top_build_prefix$srcdir
60901     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60902 esac
60903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60904
60905
60906   case $ac_mode in
60907   :F)
60908   #
60909   # CONFIG_FILE
60910   #
60911
60912   case $INSTALL in
60913   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60914   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60915   esac
60916   ac_MKDIR_P=$MKDIR_P
60917   case $MKDIR_P in
60918   [\\/$]* | ?:[\\/]* ) ;;
60919   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60920   esac
60921 _ACEOF
60922
60923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60924 # If the template does not know about datarootdir, expand it.
60925 # FIXME: This hack should be removed a few years after 2.60.
60926 ac_datarootdir_hack=; ac_datarootdir_seen=
60927 ac_sed_dataroot='
60928 /datarootdir/ {
60929   p
60930   q
60931 }
60932 /@datadir@/p
60933 /@docdir@/p
60934 /@infodir@/p
60935 /@localedir@/p
60936 /@mandir@/p'
60937 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60938 *datarootdir*) ac_datarootdir_seen=yes;;
60939 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60940   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60941 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60942 _ACEOF
60943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60944   ac_datarootdir_hack='
60945   s&@datadir@&$datadir&g
60946   s&@docdir@&$docdir&g
60947   s&@infodir@&$infodir&g
60948   s&@localedir@&$localedir&g
60949   s&@mandir@&$mandir&g
60950   s&\\\${datarootdir}&$datarootdir&g' ;;
60951 esac
60952 _ACEOF
60953
60954 # Neutralize VPATH when `$srcdir' = `.'.
60955 # Shell code in configure.ac might set extrasub.
60956 # FIXME: do we really want to maintain this feature?
60957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60958 ac_sed_extra="$ac_vpsub
60959 $extrasub
60960 _ACEOF
60961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60962 :t
60963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60964 s|@configure_input@|$ac_sed_conf_input|;t t
60965 s&@top_builddir@&$ac_top_builddir_sub&;t t
60966 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60967 s&@srcdir@&$ac_srcdir&;t t
60968 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60969 s&@top_srcdir@&$ac_top_srcdir&;t t
60970 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60971 s&@builddir@&$ac_builddir&;t t
60972 s&@abs_builddir@&$ac_abs_builddir&;t t
60973 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60974 s&@INSTALL@&$ac_INSTALL&;t t
60975 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60976 $ac_datarootdir_hack
60977 "
60978 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60979   || as_fn_error "could not create $ac_file" "$LINENO" 5
60980
60981 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60982   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60983   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60984   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60985 which seems to be undefined.  Please make sure it is defined." >&5
60986 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60987 which seems to be undefined.  Please make sure it is defined." >&2;}
60988
60989   rm -f "$tmp/stdin"
60990   case $ac_file in
60991   -) cat "$tmp/out" && rm -f "$tmp/out";;
60992   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60993   esac \
60994   || as_fn_error "could not create $ac_file" "$LINENO" 5
60995  ;;
60996   :H)
60997   #
60998   # CONFIG_HEADER
60999   #
61000   if test x"$ac_file" != x-; then
61001     {
61002       $as_echo "/* $configure_input  */" \
61003       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61004     } >"$tmp/config.h" \
61005       || as_fn_error "could not create $ac_file" "$LINENO" 5
61006     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61007       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61008 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61009     else
61010       rm -f "$ac_file"
61011       mv "$tmp/config.h" "$ac_file" \
61012         || as_fn_error "could not create $ac_file" "$LINENO" 5
61013     fi
61014   else
61015     $as_echo "/* $configure_input  */" \
61016       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61017       || as_fn_error "could not create -" "$LINENO" 5
61018   fi
61019 # Compute "$ac_file"'s index in $config_headers.
61020 _am_arg="$ac_file"
61021 _am_stamp_count=1
61022 for _am_header in $config_headers :; do
61023   case $_am_header in
61024     $_am_arg | $_am_arg:* )
61025       break ;;
61026     * )
61027       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61028   esac
61029 done
61030 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61031 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61032          X"$_am_arg" : 'X\(//\)[^/]' \| \
61033          X"$_am_arg" : 'X\(//\)$' \| \
61034          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61035 $as_echo X"$_am_arg" |
61036     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61037             s//\1/
61038             q
61039           }
61040           /^X\(\/\/\)[^/].*/{
61041             s//\1/
61042             q
61043           }
61044           /^X\(\/\/\)$/{
61045             s//\1/
61046             q
61047           }
61048           /^X\(\/\).*/{
61049             s//\1/
61050             q
61051           }
61052           s/.*/./; q'`/stamp-h$_am_stamp_count
61053  ;;
61054
61055   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61056 $as_echo "$as_me: executing $ac_file commands" >&6;}
61057  ;;
61058   esac
61059
61060
61061   case $ac_file$ac_mode in
61062     "default-1":C)
61063 # Only add multilib support code if we just rebuilt the top-level
61064 # Makefile.
61065 case " $CONFIG_FILES " in
61066  *" Makefile "*)
61067    ac_file=Makefile . ${multi_basedir}/config-ml.in
61068    ;;
61069 esac ;;
61070     "libtool":C)
61071
61072     # See if we are running on zsh, and set the options which allow our
61073     # commands through without removal of \ escapes.
61074     if test -n "${ZSH_VERSION+set}" ; then
61075       setopt NO_GLOB_SUBST
61076     fi
61077
61078     cfgfile="${ofile}T"
61079     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61080     $RM "$cfgfile"
61081
61082     cat <<_LT_EOF >> "$cfgfile"
61083 #! $SHELL
61084
61085 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61086 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61089 #
61090 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61091 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61092 #   Written by Gordon Matzigkeit, 1996
61093 #
61094 #   This file is part of GNU Libtool.
61095 #
61096 # GNU Libtool is free software; you can redistribute it and/or
61097 # modify it under the terms of the GNU General Public License as
61098 # published by the Free Software Foundation; either version 2 of
61099 # the License, or (at your option) any later version.
61100 #
61101 # As a special exception to the GNU General Public License,
61102 # if you distribute this file as part of a program or library that
61103 # is built using GNU Libtool, you may include this file under the
61104 # same distribution terms that you use for the rest of that program.
61105 #
61106 # GNU Libtool is distributed in the hope that it will be useful,
61107 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61108 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61109 # GNU General Public License for more details.
61110 #
61111 # You should have received a copy of the GNU General Public License
61112 # along with GNU Libtool; see the file COPYING.  If not, a copy
61113 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61114 # obtained by writing to the Free Software Foundation, Inc.,
61115 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61116
61117
61118 # The names of the tagged configurations supported by this script.
61119 available_tags="CXX "
61120
61121 # ### BEGIN LIBTOOL CONFIG
61122
61123 # Which release of libtool.m4 was used?
61124 macro_version=$macro_version
61125 macro_revision=$macro_revision
61126
61127 # Whether or not to build shared libraries.
61128 build_libtool_libs=$enable_shared
61129
61130 # Whether or not to build static libraries.
61131 build_old_libs=$enable_static
61132
61133 # What type of objects to build.
61134 pic_mode=$pic_mode
61135
61136 # Whether or not to optimize for fast installation.
61137 fast_install=$enable_fast_install
61138
61139 # Shell to use when invoking shell scripts.
61140 SHELL=$lt_SHELL
61141
61142 # An echo program that protects backslashes.
61143 ECHO=$lt_ECHO
61144
61145 # The host system.
61146 host_alias=$host_alias
61147 host=$host
61148 host_os=$host_os
61149
61150 # The build system.
61151 build_alias=$build_alias
61152 build=$build
61153 build_os=$build_os
61154
61155 # A sed program that does not truncate output.
61156 SED=$lt_SED
61157
61158 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61159 Xsed="\$SED -e 1s/^X//"
61160
61161 # A grep program that handles long lines.
61162 GREP=$lt_GREP
61163
61164 # An ERE matcher.
61165 EGREP=$lt_EGREP
61166
61167 # A literal string matcher.
61168 FGREP=$lt_FGREP
61169
61170 # A BSD- or MS-compatible name lister.
61171 NM=$lt_NM
61172
61173 # Whether we need soft or hard links.
61174 LN_S=$lt_LN_S
61175
61176 # What is the maximum length of a command?
61177 max_cmd_len=$max_cmd_len
61178
61179 # Object file suffix (normally "o").
61180 objext=$ac_objext
61181
61182 # Executable file suffix (normally "").
61183 exeext=$exeext
61184
61185 # whether the shell understands "unset".
61186 lt_unset=$lt_unset
61187
61188 # turn spaces into newlines.
61189 SP2NL=$lt_lt_SP2NL
61190
61191 # turn newlines into spaces.
61192 NL2SP=$lt_lt_NL2SP
61193
61194 # An object symbol dumper.
61195 OBJDUMP=$lt_OBJDUMP
61196
61197 # Method to check whether dependent libraries are shared objects.
61198 deplibs_check_method=$lt_deplibs_check_method
61199
61200 # Command to use when deplibs_check_method == "file_magic".
61201 file_magic_cmd=$lt_file_magic_cmd
61202
61203 # The archiver.
61204 AR=$lt_AR
61205 AR_FLAGS=$lt_AR_FLAGS
61206
61207 # A symbol stripping program.
61208 STRIP=$lt_STRIP
61209
61210 # Commands used to install an old-style archive.
61211 RANLIB=$lt_RANLIB
61212 old_postinstall_cmds=$lt_old_postinstall_cmds
61213 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61214
61215 # Whether to use a lock for old archive extraction.
61216 lock_old_archive_extraction=$lock_old_archive_extraction
61217
61218 # A C compiler.
61219 LTCC=$lt_CC
61220
61221 # LTCC compiler flags.
61222 LTCFLAGS=$lt_CFLAGS
61223
61224 # Take the output of nm and produce a listing of raw symbols and C names.
61225 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61226
61227 # Transform the output of nm in a proper C declaration.
61228 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61229
61230 # Transform the output of nm in a C name address pair.
61231 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61232
61233 # Transform the output of nm in a C name address pair when lib prefix is needed.
61234 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61235
61236 # The name of the directory that contains temporary libtool files.
61237 objdir=$objdir
61238
61239 # Used to examine libraries when file_magic_cmd begins with "file".
61240 MAGIC_CMD=$MAGIC_CMD
61241
61242 # Must we lock files when doing compilation?
61243 need_locks=$lt_need_locks
61244
61245 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61246 DSYMUTIL=$lt_DSYMUTIL
61247
61248 # Tool to change global to local symbols on Mac OS X.
61249 NMEDIT=$lt_NMEDIT
61250
61251 # Tool to manipulate fat objects and archives on Mac OS X.
61252 LIPO=$lt_LIPO
61253
61254 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61255 OTOOL=$lt_OTOOL
61256
61257 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61258 OTOOL64=$lt_OTOOL64
61259
61260 # Old archive suffix (normally "a").
61261 libext=$libext
61262
61263 # Shared library suffix (normally ".so").
61264 shrext_cmds=$lt_shrext_cmds
61265
61266 # The commands to extract the exported symbol list from a shared archive.
61267 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61268
61269 # Variables whose values should be saved in libtool wrapper scripts and
61270 # restored at link time.
61271 variables_saved_for_relink=$lt_variables_saved_for_relink
61272
61273 # Do we need the "lib" prefix for modules?
61274 need_lib_prefix=$need_lib_prefix
61275
61276 # Do we need a version for libraries?
61277 need_version=$need_version
61278
61279 # Library versioning type.
61280 version_type=$version_type
61281
61282 # Shared library runtime path variable.
61283 runpath_var=$runpath_var
61284
61285 # Shared library path variable.
61286 shlibpath_var=$shlibpath_var
61287
61288 # Is shlibpath searched before the hard-coded library search path?
61289 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61290
61291 # Format of library name prefix.
61292 libname_spec=$lt_libname_spec
61293
61294 # List of archive names.  First name is the real one, the rest are links.
61295 # The last name is the one that the linker finds with -lNAME
61296 library_names_spec=$lt_library_names_spec
61297
61298 # The coded name of the library, if different from the real name.
61299 soname_spec=$lt_soname_spec
61300
61301 # Permission mode override for installation of shared libraries.
61302 install_override_mode=$lt_install_override_mode
61303
61304 # Command to use after installation of a shared archive.
61305 postinstall_cmds=$lt_postinstall_cmds
61306
61307 # Command to use after uninstallation of a shared archive.
61308 postuninstall_cmds=$lt_postuninstall_cmds
61309
61310 # Commands used to finish a libtool library installation in a directory.
61311 finish_cmds=$lt_finish_cmds
61312
61313 # As "finish_cmds", except a single script fragment to be evaled but
61314 # not shown.
61315 finish_eval=$lt_finish_eval
61316
61317 # Whether we should hardcode library paths into libraries.
61318 hardcode_into_libs=$hardcode_into_libs
61319
61320 # Compile-time system search path for libraries.
61321 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61322
61323 # Run-time system search path for libraries.
61324 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61325
61326 # Whether dlopen is supported.
61327 dlopen_support=$enable_dlopen
61328
61329 # Whether dlopen of programs is supported.
61330 dlopen_self=$enable_dlopen_self
61331
61332 # Whether dlopen of statically linked programs is supported.
61333 dlopen_self_static=$enable_dlopen_self_static
61334
61335 # Commands to strip libraries.
61336 old_striplib=$lt_old_striplib
61337 striplib=$lt_striplib
61338
61339
61340 # The linker used to build libraries.
61341 LD=$lt_LD
61342
61343 # How to create reloadable object files.
61344 reload_flag=$lt_reload_flag
61345 reload_cmds=$lt_reload_cmds
61346
61347 # Commands used to build an old-style archive.
61348 old_archive_cmds=$lt_old_archive_cmds
61349
61350 # A language specific compiler.
61351 CC=$lt_compiler
61352
61353 # Is the compiler the GNU compiler?
61354 with_gcc=$GCC
61355
61356 # Compiler flag to turn off builtin functions.
61357 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61358
61359 # How to pass a linker flag through the compiler.
61360 wl=$lt_lt_prog_compiler_wl
61361
61362 # Additional compiler flags for building library objects.
61363 pic_flag=$lt_lt_prog_compiler_pic
61364
61365 # Compiler flag to prevent dynamic linking.
61366 link_static_flag=$lt_lt_prog_compiler_static
61367
61368 # Does compiler simultaneously support -c and -o options?
61369 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61370
61371 # Whether or not to add -lc for building shared libraries.
61372 build_libtool_need_lc=$archive_cmds_need_lc
61373
61374 # Whether or not to disallow shared libs when runtime libs are static.
61375 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61376
61377 # Compiler flag to allow reflexive dlopens.
61378 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61379
61380 # Compiler flag to generate shared objects directly from archives.
61381 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61382
61383 # Whether the compiler copes with passing no objects directly.
61384 compiler_needs_object=$lt_compiler_needs_object
61385
61386 # Create an old-style archive from a shared archive.
61387 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61388
61389 # Create a temporary old-style archive to link instead of a shared archive.
61390 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61391
61392 # Commands used to build a shared archive.
61393 archive_cmds=$lt_archive_cmds
61394 archive_expsym_cmds=$lt_archive_expsym_cmds
61395
61396 # Commands used to build a loadable module if different from building
61397 # a shared archive.
61398 module_cmds=$lt_module_cmds
61399 module_expsym_cmds=$lt_module_expsym_cmds
61400
61401 # Whether we are building with GNU ld or not.
61402 with_gnu_ld=$lt_with_gnu_ld
61403
61404 # Flag that allows shared libraries with undefined symbols to be built.
61405 allow_undefined_flag=$lt_allow_undefined_flag
61406
61407 # Flag that enforces no undefined symbols.
61408 no_undefined_flag=$lt_no_undefined_flag
61409
61410 # Flag to hardcode \$libdir into a binary during linking.
61411 # This must work even if \$libdir does not exist
61412 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61413
61414 # If ld is used when linking, flag to hardcode \$libdir into a binary
61415 # during linking.  This must work even if \$libdir does not exist.
61416 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61417
61418 # Whether we need a single "-rpath" flag with a separated argument.
61419 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61420
61421 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61422 # DIR into the resulting binary.
61423 hardcode_direct=$hardcode_direct
61424
61425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61426 # DIR into the resulting binary and the resulting library dependency is
61427 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61428 # library is relocated.
61429 hardcode_direct_absolute=$hardcode_direct_absolute
61430
61431 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61432 # into the resulting binary.
61433 hardcode_minus_L=$hardcode_minus_L
61434
61435 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61436 # into the resulting binary.
61437 hardcode_shlibpath_var=$hardcode_shlibpath_var
61438
61439 # Set to "yes" if building a shared library automatically hardcodes DIR
61440 # into the library and all subsequent libraries and executables linked
61441 # against it.
61442 hardcode_automatic=$hardcode_automatic
61443
61444 # Set to yes if linker adds runtime paths of dependent libraries
61445 # to runtime path list.
61446 inherit_rpath=$inherit_rpath
61447
61448 # Whether libtool must link a program against all its dependency libraries.
61449 link_all_deplibs=$link_all_deplibs
61450
61451 # Fix the shell variable \$srcfile for the compiler.
61452 fix_srcfile_path=$lt_fix_srcfile_path
61453
61454 # Set to "yes" if exported symbols are required.
61455 always_export_symbols=$always_export_symbols
61456
61457 # The commands to list exported symbols.
61458 export_symbols_cmds=$lt_export_symbols_cmds
61459
61460 # Symbols that should not be listed in the preloaded symbols.
61461 exclude_expsyms=$lt_exclude_expsyms
61462
61463 # Symbols that must always be exported.
61464 include_expsyms=$lt_include_expsyms
61465
61466 # Commands necessary for linking programs (against libraries) with templates.
61467 prelink_cmds=$lt_prelink_cmds
61468
61469 # Specify filename containing input files.
61470 file_list_spec=$lt_file_list_spec
61471
61472 # How to hardcode a shared library path into an executable.
61473 hardcode_action=$hardcode_action
61474
61475 # The directories searched by this compiler when creating a shared library.
61476 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61477
61478 # Dependencies to place before and after the objects being linked to
61479 # create a shared library.
61480 predep_objects=$lt_predep_objects
61481 postdep_objects=$lt_postdep_objects
61482 predeps=$lt_predeps
61483 postdeps=$lt_postdeps
61484
61485 # The library search path used internally by the compiler when linking
61486 # a shared library.
61487 compiler_lib_search_path=$lt_compiler_lib_search_path
61488
61489 # ### END LIBTOOL CONFIG
61490
61491 _LT_EOF
61492
61493   case $host_os in
61494   aix3*)
61495     cat <<\_LT_EOF >> "$cfgfile"
61496 # AIX sometimes has problems with the GCC collect2 program.  For some
61497 # reason, if we set the COLLECT_NAMES environment variable, the problems
61498 # vanish in a puff of smoke.
61499 if test "X${COLLECT_NAMES+set}" != Xset; then
61500   COLLECT_NAMES=
61501   export COLLECT_NAMES
61502 fi
61503 _LT_EOF
61504     ;;
61505   esac
61506
61507
61508 ltmain="$ac_aux_dir/ltmain.sh"
61509
61510
61511   # We use sed instead of cat because bash on DJGPP gets confused if
61512   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61513   # text mode, it properly converts lines to CR/LF.  This bash problem
61514   # is reportedly fixed, but why not run on old versions too?
61515   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61516     || (rm -f "$cfgfile"; exit 1)
61517
61518   case $xsi_shell in
61519   yes)
61520     cat << \_LT_EOF >> "$cfgfile"
61521
61522 # func_dirname file append nondir_replacement
61523 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61524 # otherwise set result to NONDIR_REPLACEMENT.
61525 func_dirname ()
61526 {
61527   case ${1} in
61528     */*) func_dirname_result="${1%/*}${2}" ;;
61529     *  ) func_dirname_result="${3}" ;;
61530   esac
61531 }
61532
61533 # func_basename file
61534 func_basename ()
61535 {
61536   func_basename_result="${1##*/}"
61537 }
61538
61539 # func_dirname_and_basename file append nondir_replacement
61540 # perform func_basename and func_dirname in a single function
61541 # call:
61542 #   dirname:  Compute the dirname of FILE.  If nonempty,
61543 #             add APPEND to the result, otherwise set result
61544 #             to NONDIR_REPLACEMENT.
61545 #             value returned in "$func_dirname_result"
61546 #   basename: Compute filename of FILE.
61547 #             value retuned in "$func_basename_result"
61548 # Implementation must be kept synchronized with func_dirname
61549 # and func_basename. For efficiency, we do not delegate to
61550 # those functions but instead duplicate the functionality here.
61551 func_dirname_and_basename ()
61552 {
61553   case ${1} in
61554     */*) func_dirname_result="${1%/*}${2}" ;;
61555     *  ) func_dirname_result="${3}" ;;
61556   esac
61557   func_basename_result="${1##*/}"
61558 }
61559
61560 # func_stripname prefix suffix name
61561 # strip PREFIX and SUFFIX off of NAME.
61562 # PREFIX and SUFFIX must not contain globbing or regex special
61563 # characters, hashes, percent signs, but SUFFIX may contain a leading
61564 # dot (in which case that matches only a dot).
61565 func_stripname ()
61566 {
61567   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61568   # positional parameters, so assign one to ordinary parameter first.
61569   func_stripname_result=${3}
61570   func_stripname_result=${func_stripname_result#"${1}"}
61571   func_stripname_result=${func_stripname_result%"${2}"}
61572 }
61573
61574 # func_opt_split
61575 func_opt_split ()
61576 {
61577   func_opt_split_opt=${1%%=*}
61578   func_opt_split_arg=${1#*=}
61579 }
61580
61581 # func_lo2o object
61582 func_lo2o ()
61583 {
61584   case ${1} in
61585     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61586     *)    func_lo2o_result=${1} ;;
61587   esac
61588 }
61589
61590 # func_xform libobj-or-source
61591 func_xform ()
61592 {
61593   func_xform_result=${1%.*}.lo
61594 }
61595
61596 # func_arith arithmetic-term...
61597 func_arith ()
61598 {
61599   func_arith_result=$(( $* ))
61600 }
61601
61602 # func_len string
61603 # STRING may not start with a hyphen.
61604 func_len ()
61605 {
61606   func_len_result=${#1}
61607 }
61608
61609 _LT_EOF
61610     ;;
61611   *) # Bourne compatible functions.
61612     cat << \_LT_EOF >> "$cfgfile"
61613
61614 # func_dirname file append nondir_replacement
61615 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61616 # otherwise set result to NONDIR_REPLACEMENT.
61617 func_dirname ()
61618 {
61619   # Extract subdirectory from the argument.
61620   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61621   if test "X$func_dirname_result" = "X${1}"; then
61622     func_dirname_result="${3}"
61623   else
61624     func_dirname_result="$func_dirname_result${2}"
61625   fi
61626 }
61627
61628 # func_basename file
61629 func_basename ()
61630 {
61631   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61632 }
61633
61634
61635 # func_stripname prefix suffix name
61636 # strip PREFIX and SUFFIX off of NAME.
61637 # PREFIX and SUFFIX must not contain globbing or regex special
61638 # characters, hashes, percent signs, but SUFFIX may contain a leading
61639 # dot (in which case that matches only a dot).
61640 # func_strip_suffix prefix name
61641 func_stripname ()
61642 {
61643   case ${2} in
61644     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61645     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61646   esac
61647 }
61648
61649 # sed scripts:
61650 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61651 my_sed_long_arg='1s/^-[^=]*=//'
61652
61653 # func_opt_split
61654 func_opt_split ()
61655 {
61656   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61657   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61658 }
61659
61660 # func_lo2o object
61661 func_lo2o ()
61662 {
61663   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61664 }
61665
61666 # func_xform libobj-or-source
61667 func_xform ()
61668 {
61669   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61670 }
61671
61672 # func_arith arithmetic-term...
61673 func_arith ()
61674 {
61675   func_arith_result=`expr "$@"`
61676 }
61677
61678 # func_len string
61679 # STRING may not start with a hyphen.
61680 func_len ()
61681 {
61682   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61683 }
61684
61685 _LT_EOF
61686 esac
61687
61688 case $lt_shell_append in
61689   yes)
61690     cat << \_LT_EOF >> "$cfgfile"
61691
61692 # func_append var value
61693 # Append VALUE to the end of shell variable VAR.
61694 func_append ()
61695 {
61696   eval "$1+=\$2"
61697 }
61698 _LT_EOF
61699     ;;
61700   *)
61701     cat << \_LT_EOF >> "$cfgfile"
61702
61703 # func_append var value
61704 # Append VALUE to the end of shell variable VAR.
61705 func_append ()
61706 {
61707   eval "$1=\$$1\$2"
61708 }
61709
61710 _LT_EOF
61711     ;;
61712   esac
61713
61714
61715   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61716     || (rm -f "$cfgfile"; exit 1)
61717
61718   mv -f "$cfgfile" "$ofile" ||
61719     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61720   chmod +x "$ofile"
61721
61722
61723     cat <<_LT_EOF >> "$ofile"
61724
61725 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61726
61727 # The linker used to build libraries.
61728 LD=$lt_LD_CXX
61729
61730 # How to create reloadable object files.
61731 reload_flag=$lt_reload_flag_CXX
61732 reload_cmds=$lt_reload_cmds_CXX
61733
61734 # Commands used to build an old-style archive.
61735 old_archive_cmds=$lt_old_archive_cmds_CXX
61736
61737 # A language specific compiler.
61738 CC=$lt_compiler_CXX
61739
61740 # Is the compiler the GNU compiler?
61741 with_gcc=$GCC_CXX
61742
61743 # Compiler flag to turn off builtin functions.
61744 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61745
61746 # How to pass a linker flag through the compiler.
61747 wl=$lt_lt_prog_compiler_wl_CXX
61748
61749 # Additional compiler flags for building library objects.
61750 pic_flag=$lt_lt_prog_compiler_pic_CXX
61751
61752 # Compiler flag to prevent dynamic linking.
61753 link_static_flag=$lt_lt_prog_compiler_static_CXX
61754
61755 # Does compiler simultaneously support -c and -o options?
61756 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61757
61758 # Whether or not to add -lc for building shared libraries.
61759 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61760
61761 # Whether or not to disallow shared libs when runtime libs are static.
61762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61763
61764 # Compiler flag to allow reflexive dlopens.
61765 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61766
61767 # Compiler flag to generate shared objects directly from archives.
61768 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61769
61770 # Whether the compiler copes with passing no objects directly.
61771 compiler_needs_object=$lt_compiler_needs_object_CXX
61772
61773 # Create an old-style archive from a shared archive.
61774 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61775
61776 # Create a temporary old-style archive to link instead of a shared archive.
61777 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61778
61779 # Commands used to build a shared archive.
61780 archive_cmds=$lt_archive_cmds_CXX
61781 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61782
61783 # Commands used to build a loadable module if different from building
61784 # a shared archive.
61785 module_cmds=$lt_module_cmds_CXX
61786 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61787
61788 # Whether we are building with GNU ld or not.
61789 with_gnu_ld=$lt_with_gnu_ld_CXX
61790
61791 # Flag that allows shared libraries with undefined symbols to be built.
61792 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61793
61794 # Flag that enforces no undefined symbols.
61795 no_undefined_flag=$lt_no_undefined_flag_CXX
61796
61797 # Flag to hardcode \$libdir into a binary during linking.
61798 # This must work even if \$libdir does not exist
61799 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61800
61801 # If ld is used when linking, flag to hardcode \$libdir into a binary
61802 # during linking.  This must work even if \$libdir does not exist.
61803 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61804
61805 # Whether we need a single "-rpath" flag with a separated argument.
61806 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61807
61808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61809 # DIR into the resulting binary.
61810 hardcode_direct=$hardcode_direct_CXX
61811
61812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61813 # DIR into the resulting binary and the resulting library dependency is
61814 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61815 # library is relocated.
61816 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61817
61818 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61819 # into the resulting binary.
61820 hardcode_minus_L=$hardcode_minus_L_CXX
61821
61822 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61823 # into the resulting binary.
61824 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61825
61826 # Set to "yes" if building a shared library automatically hardcodes DIR
61827 # into the library and all subsequent libraries and executables linked
61828 # against it.
61829 hardcode_automatic=$hardcode_automatic_CXX
61830
61831 # Set to yes if linker adds runtime paths of dependent libraries
61832 # to runtime path list.
61833 inherit_rpath=$inherit_rpath_CXX
61834
61835 # Whether libtool must link a program against all its dependency libraries.
61836 link_all_deplibs=$link_all_deplibs_CXX
61837
61838 # Fix the shell variable \$srcfile for the compiler.
61839 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61840
61841 # Set to "yes" if exported symbols are required.
61842 always_export_symbols=$always_export_symbols_CXX
61843
61844 # The commands to list exported symbols.
61845 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61846
61847 # Symbols that should not be listed in the preloaded symbols.
61848 exclude_expsyms=$lt_exclude_expsyms_CXX
61849
61850 # Symbols that must always be exported.
61851 include_expsyms=$lt_include_expsyms_CXX
61852
61853 # Commands necessary for linking programs (against libraries) with templates.
61854 prelink_cmds=$lt_prelink_cmds_CXX
61855
61856 # Specify filename containing input files.
61857 file_list_spec=$lt_file_list_spec_CXX
61858
61859 # How to hardcode a shared library path into an executable.
61860 hardcode_action=$hardcode_action_CXX
61861
61862 # The directories searched by this compiler when creating a shared library.
61863 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61864
61865 # Dependencies to place before and after the objects being linked to
61866 # create a shared library.
61867 predep_objects=$lt_predep_objects_CXX
61868 postdep_objects=$lt_postdep_objects_CXX
61869 predeps=$lt_predeps_CXX
61870 postdeps=$lt_postdeps_CXX
61871
61872 # The library search path used internally by the compiler when linking
61873 # a shared library.
61874 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61875
61876 # ### END LIBTOOL TAG CONFIG: CXX
61877 _LT_EOF
61878
61879  ;;
61880     "include/gstdint.h":C)
61881 if test "$GCC" = yes; then
61882   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61883 else
61884   echo "/* generated for $CC */" > tmp-stdint.h
61885 fi
61886
61887 sed 's/^ *//' >> tmp-stdint.h <<EOF
61888
61889   #ifndef GCC_GENERATED_STDINT_H
61890   #define GCC_GENERATED_STDINT_H 1
61891
61892   #include <sys/types.h>
61893 EOF
61894
61895 if test "$acx_cv_header_stdint" != stdint.h; then
61896   echo "#include <stddef.h>" >> tmp-stdint.h
61897 fi
61898 if test "$acx_cv_header_stdint" != stddef.h; then
61899   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61900 fi
61901
61902 sed 's/^ *//' >> tmp-stdint.h <<EOF
61903   /* glibc uses these symbols as guards to prevent redefinitions.  */
61904   #ifdef __int8_t_defined
61905   #define _INT8_T
61906   #define _INT16_T
61907   #define _INT32_T
61908   #endif
61909   #ifdef __uint32_t_defined
61910   #define _UINT32_T
61911   #endif
61912
61913 EOF
61914
61915 # ----------------- done header, emit basic int types -------------
61916 if test "$acx_cv_header_stdint" = stddef.h; then
61917   sed 's/^ *//' >> tmp-stdint.h <<EOF
61918
61919     #ifndef _UINT8_T
61920     #define _UINT8_T
61921     #ifndef __uint8_t_defined
61922     #define __uint8_t_defined
61923     #ifndef uint8_t
61924     typedef unsigned $acx_cv_type_int8_t uint8_t;
61925     #endif
61926     #endif
61927     #endif
61928
61929     #ifndef _UINT16_T
61930     #define _UINT16_T
61931     #ifndef __uint16_t_defined
61932     #define __uint16_t_defined
61933     #ifndef uint16_t
61934     typedef unsigned $acx_cv_type_int16_t uint16_t;
61935     #endif
61936     #endif
61937     #endif
61938
61939     #ifndef _UINT32_T
61940     #define _UINT32_T
61941     #ifndef __uint32_t_defined
61942     #define __uint32_t_defined
61943     #ifndef uint32_t
61944     typedef unsigned $acx_cv_type_int32_t uint32_t;
61945     #endif
61946     #endif
61947     #endif
61948
61949     #ifndef _INT8_T
61950     #define _INT8_T
61951     #ifndef __int8_t_defined
61952     #define __int8_t_defined
61953     #ifndef int8_t
61954     typedef $acx_cv_type_int8_t int8_t;
61955     #endif
61956     #endif
61957     #endif
61958
61959     #ifndef _INT16_T
61960     #define _INT16_T
61961     #ifndef __int16_t_defined
61962     #define __int16_t_defined
61963     #ifndef int16_t
61964     typedef $acx_cv_type_int16_t int16_t;
61965     #endif
61966     #endif
61967     #endif
61968
61969     #ifndef _INT32_T
61970     #define _INT32_T
61971     #ifndef __int32_t_defined
61972     #define __int32_t_defined
61973     #ifndef int32_t
61974     typedef $acx_cv_type_int32_t int32_t;
61975     #endif
61976     #endif
61977     #endif
61978 EOF
61979 elif test "$ac_cv_type_u_int32_t" = yes; then
61980   sed 's/^ *//' >> tmp-stdint.h <<EOF
61981
61982     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61983     #ifndef _INT8_T
61984     #define _INT8_T
61985     #endif
61986     #ifndef _INT16_T
61987     #define _INT16_T
61988     #endif
61989     #ifndef _INT32_T
61990     #define _INT32_T
61991     #endif
61992
61993     #ifndef _UINT8_T
61994     #define _UINT8_T
61995     #ifndef __uint8_t_defined
61996     #define __uint8_t_defined
61997     #ifndef uint8_t
61998     typedef u_int8_t uint8_t;
61999     #endif
62000     #endif
62001     #endif
62002
62003     #ifndef _UINT16_T
62004     #define _UINT16_T
62005     #ifndef __uint16_t_defined
62006     #define __uint16_t_defined
62007     #ifndef uint16_t
62008     typedef u_int16_t uint16_t;
62009     #endif
62010     #endif
62011     #endif
62012
62013     #ifndef _UINT32_T
62014     #define _UINT32_T
62015     #ifndef __uint32_t_defined
62016     #define __uint32_t_defined
62017     #ifndef uint32_t
62018     typedef u_int32_t uint32_t;
62019     #endif
62020     #endif
62021     #endif
62022 EOF
62023 else
62024   sed 's/^ *//' >> tmp-stdint.h <<EOF
62025
62026     /* Some systems have guard macros to prevent redefinitions, define them.  */
62027     #ifndef _INT8_T
62028     #define _INT8_T
62029     #endif
62030     #ifndef _INT16_T
62031     #define _INT16_T
62032     #endif
62033     #ifndef _INT32_T
62034     #define _INT32_T
62035     #endif
62036     #ifndef _UINT8_T
62037     #define _UINT8_T
62038     #endif
62039     #ifndef _UINT16_T
62040     #define _UINT16_T
62041     #endif
62042     #ifndef _UINT32_T
62043     #define _UINT32_T
62044     #endif
62045 EOF
62046 fi
62047
62048 # ------------- done basic int types, emit int64_t types ------------
62049 if test "$ac_cv_type_uint64_t" = yes; then
62050   sed 's/^ *//' >> tmp-stdint.h <<EOF
62051
62052     /* system headers have good uint64_t and int64_t */
62053     #ifndef _INT64_T
62054     #define _INT64_T
62055     #endif
62056     #ifndef _UINT64_T
62057     #define _UINT64_T
62058     #endif
62059 EOF
62060 elif test "$ac_cv_type_u_int64_t" = yes; then
62061   sed 's/^ *//' >> tmp-stdint.h <<EOF
62062
62063     /* system headers have an u_int64_t (and int64_t) */
62064     #ifndef _INT64_T
62065     #define _INT64_T
62066     #endif
62067     #ifndef _UINT64_T
62068     #define _UINT64_T
62069     #ifndef __uint64_t_defined
62070     #define __uint64_t_defined
62071     #ifndef uint64_t
62072     typedef u_int64_t uint64_t;
62073     #endif
62074     #endif
62075     #endif
62076 EOF
62077 elif test -n "$acx_cv_type_int64_t"; then
62078   sed 's/^ *//' >> tmp-stdint.h <<EOF
62079
62080     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62081     #ifndef _INT64_T
62082     #define _INT64_T
62083     #ifndef int64_t
62084     typedef $acx_cv_type_int64_t int64_t;
62085     #endif
62086     #endif
62087     #ifndef _UINT64_T
62088     #define _UINT64_T
62089     #ifndef __uint64_t_defined
62090     #define __uint64_t_defined
62091     #ifndef uint64_t
62092     typedef unsigned $acx_cv_type_int64_t uint64_t;
62093     #endif
62094     #endif
62095     #endif
62096 EOF
62097 else
62098   sed 's/^ *//' >> tmp-stdint.h <<EOF
62099
62100     /* some common heuristics for int64_t, using compiler-specific tests */
62101     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62102     #ifndef _INT64_T
62103     #define _INT64_T
62104     #ifndef __int64_t_defined
62105     #ifndef int64_t
62106     typedef long long int64_t;
62107     #endif
62108     #endif
62109     #endif
62110     #ifndef _UINT64_T
62111     #define _UINT64_T
62112     #ifndef uint64_t
62113     typedef unsigned long long uint64_t;
62114     #endif
62115     #endif
62116
62117     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62118     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62119        does not implement __extension__.  But that compiler doesn't define
62120        __GNUC_MINOR__.  */
62121     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62122     # define __extension__
62123     # endif
62124
62125     # ifndef _INT64_T
62126     # define _INT64_T
62127     # ifndef int64_t
62128     __extension__ typedef long long int64_t;
62129     # endif
62130     # endif
62131     # ifndef _UINT64_T
62132     # define _UINT64_T
62133     # ifndef uint64_t
62134     __extension__ typedef unsigned long long uint64_t;
62135     # endif
62136     # endif
62137
62138     #elif !defined __STRICT_ANSI__
62139     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62140
62141     #  ifndef _INT64_T
62142     #  define _INT64_T
62143     #  ifndef int64_t
62144     typedef __int64 int64_t;
62145     #  endif
62146     #  endif
62147     #  ifndef _UINT64_T
62148     #  define _UINT64_T
62149     #  ifndef uint64_t
62150     typedef unsigned __int64 uint64_t;
62151     #  endif
62152     #  endif
62153     # endif /* compiler */
62154
62155     #endif /* ANSI version */
62156 EOF
62157 fi
62158
62159 # ------------- done int64_t types, emit intptr types ------------
62160 if test "$ac_cv_type_uintptr_t" != yes; then
62161   sed 's/^ *//' >> tmp-stdint.h <<EOF
62162
62163     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62164     #ifndef __uintptr_t_defined
62165     #ifndef uintptr_t
62166     typedef u$acx_cv_type_intptr_t uintptr_t;
62167     #endif
62168     #endif
62169     #ifndef __intptr_t_defined
62170     #ifndef intptr_t
62171     typedef $acx_cv_type_intptr_t  intptr_t;
62172     #endif
62173     #endif
62174 EOF
62175 fi
62176
62177 # ------------- done intptr types, emit int_least types ------------
62178 if test "$ac_cv_type_int_least32_t" != yes; then
62179   sed 's/^ *//' >> tmp-stdint.h <<EOF
62180
62181     /* Define int_least types */
62182     typedef int8_t     int_least8_t;
62183     typedef int16_t    int_least16_t;
62184     typedef int32_t    int_least32_t;
62185     #ifdef _INT64_T
62186     typedef int64_t    int_least64_t;
62187     #endif
62188
62189     typedef uint8_t    uint_least8_t;
62190     typedef uint16_t   uint_least16_t;
62191     typedef uint32_t   uint_least32_t;
62192     #ifdef _UINT64_T
62193     typedef uint64_t   uint_least64_t;
62194     #endif
62195 EOF
62196 fi
62197
62198 # ------------- done intptr types, emit int_fast types ------------
62199 if test "$ac_cv_type_int_fast32_t" != yes; then
62200       sed 's/^ *//' >> tmp-stdint.h <<EOF
62201
62202     /* Define int_fast types.  short is often slow */
62203     typedef int8_t       int_fast8_t;
62204     typedef int          int_fast16_t;
62205     typedef int32_t      int_fast32_t;
62206     #ifdef _INT64_T
62207     typedef int64_t      int_fast64_t;
62208     #endif
62209
62210     typedef uint8_t      uint_fast8_t;
62211     typedef unsigned int uint_fast16_t;
62212     typedef uint32_t     uint_fast32_t;
62213     #ifdef _UINT64_T
62214     typedef uint64_t     uint_fast64_t;
62215     #endif
62216 EOF
62217 fi
62218
62219 if test "$ac_cv_type_uintmax_t" != yes; then
62220   sed 's/^ *//' >> tmp-stdint.h <<EOF
62221
62222     /* Define intmax based on what we found */
62223     #ifndef intmax_t
62224     #ifdef _INT64_T
62225     typedef int64_t       intmax_t;
62226     #else
62227     typedef long          intmax_t;
62228     #endif
62229     #endif
62230     #ifndef uintmax_t
62231     #ifdef _UINT64_T
62232     typedef uint64_t      uintmax_t;
62233     #else
62234     typedef unsigned long uintmax_t;
62235     #endif
62236     #endif
62237 EOF
62238 fi
62239
62240 sed 's/^ *//' >> tmp-stdint.h <<EOF
62241
62242   #endif /* GCC_GENERATED_STDINT_H */
62243 EOF
62244
62245 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62246   rm -f tmp-stdint.h
62247 else
62248   mv -f tmp-stdint.h include/gstdint.h
62249 fi
62250
62251  ;;
62252     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62253     "include/Makefile":F) cat > vpsed$$ << \_EOF
62254 s!`test -f '$<' || echo '$(srcdir)/'`!!
62255 _EOF
62256    sed -f vpsed$$ $ac_file > tmp$$
62257    mv tmp$$ $ac_file
62258    rm vpsed$$
62259    echo 'MULTISUBDIR =' >> $ac_file
62260    ml_norecursion=yes
62261    . ${multi_basedir}/config-ml.in
62262    { ml_norecursion=; unset ml_norecursion;}
62263  ;;
62264     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62265 s!`test -f '$<' || echo '$(srcdir)/'`!!
62266 _EOF
62267    sed -f vpsed$$ $ac_file > tmp$$
62268    mv tmp$$ $ac_file
62269    rm vpsed$$
62270    echo 'MULTISUBDIR =' >> $ac_file
62271    ml_norecursion=yes
62272    . ${multi_basedir}/config-ml.in
62273    { ml_norecursion=; unset ml_norecursion;}
62274  ;;
62275     "python/Makefile":F) cat > vpsed$$ << \_EOF
62276 s!`test -f '$<' || echo '$(srcdir)/'`!!
62277 _EOF
62278    sed -f vpsed$$ $ac_file > tmp$$
62279    mv tmp$$ $ac_file
62280    rm vpsed$$
62281    echo 'MULTISUBDIR =' >> $ac_file
62282    ml_norecursion=yes
62283    . ${multi_basedir}/config-ml.in
62284    { ml_norecursion=; unset ml_norecursion;}
62285  ;;
62286     "src/Makefile":F) cat > vpsed$$ << \_EOF
62287 s!`test -f '$<' || echo '$(srcdir)/'`!!
62288 _EOF
62289    sed -f vpsed$$ $ac_file > tmp$$
62290    mv tmp$$ $ac_file
62291    rm vpsed$$
62292    echo 'MULTISUBDIR =' >> $ac_file
62293    ml_norecursion=yes
62294    . ${multi_basedir}/config-ml.in
62295    { ml_norecursion=; unset ml_norecursion;}
62296  ;;
62297     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62298 s!`test -f '$<' || echo '$(srcdir)/'`!!
62299 _EOF
62300    sed -f vpsed$$ $ac_file > tmp$$
62301    mv tmp$$ $ac_file
62302    rm vpsed$$
62303    echo 'MULTISUBDIR =' >> $ac_file
62304    ml_norecursion=yes
62305    . ${multi_basedir}/config-ml.in
62306    { ml_norecursion=; unset ml_norecursion;}
62307  ;;
62308     "po/Makefile":F) cat > vpsed$$ << \_EOF
62309 s!`test -f '$<' || echo '$(srcdir)/'`!!
62310 _EOF
62311    sed -f vpsed$$ $ac_file > tmp$$
62312    mv tmp$$ $ac_file
62313    rm vpsed$$
62314    echo 'MULTISUBDIR =' >> $ac_file
62315    ml_norecursion=yes
62316    . ${multi_basedir}/config-ml.in
62317    { ml_norecursion=; unset ml_norecursion;}
62318  ;;
62319     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62320 s!`test -f '$<' || echo '$(srcdir)/'`!!
62321 _EOF
62322    sed -f vpsed$$ $ac_file > tmp$$
62323    mv tmp$$ $ac_file
62324    rm vpsed$$
62325    echo 'MULTISUBDIR =' >> $ac_file
62326    ml_norecursion=yes
62327    . ${multi_basedir}/config-ml.in
62328    { ml_norecursion=; unset ml_norecursion;}
62329  ;;
62330     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62331
62332   esac
62333 done # for ac_tag
62334
62335
62336 as_fn_exit 0
62337 _ACEOF
62338 ac_clean_files=$ac_clean_files_save
62339
62340 test $ac_write_fail = 0 ||
62341   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62342
62343
62344 # configure is writing to config.log, and then calls config.status.
62345 # config.status does its own redirection, appending to config.log.
62346 # Unfortunately, on DOS this fails, as config.log is still kept open
62347 # by configure, so config.status won't be able to write to it; its
62348 # output is simply discarded.  So we exec the FD to /dev/null,
62349 # effectively closing config.log, so it can be properly (re)opened and
62350 # appended to by config.status.  When coming back to configure, we
62351 # need to make the FD available again.
62352 if test "$no_create" != yes; then
62353   ac_cs_success=:
62354   ac_config_status_args=
62355   test "$silent" = yes &&
62356     ac_config_status_args="$ac_config_status_args --quiet"
62357   exec 5>/dev/null
62358   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62359   exec 5>>config.log
62360   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62361   # would make configure fail if this is the last instruction.
62362   $ac_cs_success || as_fn_exit $?
62363 fi
62364 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62365   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62366 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62367 fi
62368