OSDN Git Service

Always execute verify_loop_closed_ssa at LNO level.
[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_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
632 ENABLE_SYMVERS_FALSE
633 ENABLE_SYMVERS_TRUE
634 port_specific_symbol_files
635 SYMVER_FILE
636 LTLIBICONV
637 LIBICONV
638 OPT_LDFLAGS
639 SECTION_LDFLAGS
640 GLIBCXX_LIBS
641 EXTRA_CXX_FLAGS
642 ENABLE_PARALLEL_FALSE
643 ENABLE_PARALLEL_TRUE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
646 DEBUG_FLAGS
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
657 C_INCLUDE_DIR
658 ALLOCATOR_NAME
659 ALLOCATOR_H
660 CLOCALE_INTERNAL_H
661 CLOCALE_CC
662 CTIME_CC
663 CTIME_H
664 CNUMERIC_CC
665 CMONEY_CC
666 CMESSAGES_CC
667 CCTYPE_CC
668 CCOLLATE_CC
669 CCODECVT_CC
670 CMESSAGES_H
671 CLOCALE_H
672 USE_NLS
673 glibcxx_localedir
674 glibcxx_POFILES
675 glibcxx_MOFILES
676 check_msgfmt
677 BASIC_FILE_CC
678 BASIC_FILE_H
679 CSTDIO_H
680 SECTION_FLAGS
681 WERROR
682 glibcxx_thread_h
683 glibcxx_PCHFLAGS
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
686 GLIBCXX_HOSTED_FALSE
687 GLIBCXX_HOSTED_TRUE
688 enable_static
689 enable_shared
690 CXXCPP
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 OBJDUMP
697 NM
698 ac_ct_DUMPBIN
699 DUMPBIN
700 LD
701 FGREP
702 SED
703 LIBTOOL
704 EGREP
705 GREP
706 CPP
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
710 RANLIB
711 AR
712 AS
713 LN_S
714 toplevel_srcdir
715 glibcxx_srcdir
716 glibcxx_builddir
717 ac_ct_CXX
718 CXXFLAGS
719 CXX
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 multi_basedir
763 libtool_VERSION
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_multilib
806 with_target_subdir
807 with_cross_host
808 with_newlib
809 enable_maintainer_mode
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 enable_libtool_lock
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
818 enable_libstdcxx_pch
819 enable_cstdio
820 enable_clocale
821 enable_nls
822 enable_libstdcxx_allocator
823 enable_cheaders
824 enable_long_long
825 enable_wchar_t
826 enable_c99
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
830 enable_cxx_flags
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
833 enable_tls
834 enable_rpath
835 with_libiconv_prefix
836 with_system_libunwind
837 enable_linux_futex
838 enable_symvers
839 enable_visibility
840 with_gxx_include_dir
841 enable_version_specific_runtime_libs
842 '
843       ac_precious_vars='build_alias
844 host_alias
845 target_alias
846 CC
847 CFLAGS
848 LDFLAGS
849 LIBS
850 CPPFLAGS
851 CXX
852 CXXFLAGS
853 CCC
854 CPP
855 CXXCPP'
856
857
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/null
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
879
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910   # If the previous option needs an argument, assign it.
911   if test -n "$ac_prev"; then
912     eval $ac_prev=\$ac_option
913     ac_prev=
914     continue
915   fi
916
917   case $ac_option in
918   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919   *)    ac_optarg=yes ;;
920   esac
921
922   # Accept the important Cygnus configure options, so we can diagnose typos.
923
924   case $ac_dashdash$ac_option in
925   --)
926     ac_dashdash=yes ;;
927
928   -bindir | --bindir | --bindi | --bind | --bin | --bi)
929     ac_prev=bindir ;;
930   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931     bindir=$ac_optarg ;;
932
933   -build | --build | --buil | --bui | --bu)
934     ac_prev=build_alias ;;
935   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936     build_alias=$ac_optarg ;;
937
938   -cache-file | --cache-file | --cache-fil | --cache-fi \
939   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940     ac_prev=cache_file ;;
941   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943     cache_file=$ac_optarg ;;
944
945   --config-cache | -C)
946     cache_file=config.cache ;;
947
948   -datadir | --datadir | --datadi | --datad)
949     ac_prev=datadir ;;
950   -datadir=* | --datadir=* | --datadi=* | --datad=*)
951     datadir=$ac_optarg ;;
952
953   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954   | --dataroo | --dataro | --datar)
955     ac_prev=datarootdir ;;
956   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958     datarootdir=$ac_optarg ;;
959
960   -disable-* | --disable-*)
961     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962     # Reject names that are not valid shell variable names.
963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964       as_fn_error "invalid feature name: $ac_useropt"
965     ac_useropt_orig=$ac_useropt
966     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967     case $ac_user_opts in
968       *"
969 "enable_$ac_useropt"
970 "*) ;;
971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972          ac_unrecognized_sep=', ';;
973     esac
974     eval enable_$ac_useropt=no ;;
975
976   -docdir | --docdir | --docdi | --doc | --do)
977     ac_prev=docdir ;;
978   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979     docdir=$ac_optarg ;;
980
981   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982     ac_prev=dvidir ;;
983   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984     dvidir=$ac_optarg ;;
985
986   -enable-* | --enable-*)
987     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988     # Reject names that are not valid shell variable names.
989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990       as_fn_error "invalid feature name: $ac_useropt"
991     ac_useropt_orig=$ac_useropt
992     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993     case $ac_user_opts in
994       *"
995 "enable_$ac_useropt"
996 "*) ;;
997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998          ac_unrecognized_sep=', ';;
999     esac
1000     eval enable_$ac_useropt=\$ac_optarg ;;
1001
1002   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004   | --exec | --exe | --ex)
1005     ac_prev=exec_prefix ;;
1006   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008   | --exec=* | --exe=* | --ex=*)
1009     exec_prefix=$ac_optarg ;;
1010
1011   -gas | --gas | --ga | --g)
1012     # Obsolete; use --with-gas.
1013     with_gas=yes ;;
1014
1015   -help | --help | --hel | --he | -h)
1016     ac_init_help=long ;;
1017   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018     ac_init_help=recursive ;;
1019   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020     ac_init_help=short ;;
1021
1022   -host | --host | --hos | --ho)
1023     ac_prev=host_alias ;;
1024   -host=* | --host=* | --hos=* | --ho=*)
1025     host_alias=$ac_optarg ;;
1026
1027   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028     ac_prev=htmldir ;;
1029   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030   | --ht=*)
1031     htmldir=$ac_optarg ;;
1032
1033   -includedir | --includedir | --includedi | --included | --include \
1034   | --includ | --inclu | --incl | --inc)
1035     ac_prev=includedir ;;
1036   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037   | --includ=* | --inclu=* | --incl=* | --inc=*)
1038     includedir=$ac_optarg ;;
1039
1040   -infodir | --infodir | --infodi | --infod | --info | --inf)
1041     ac_prev=infodir ;;
1042   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043     infodir=$ac_optarg ;;
1044
1045   -libdir | --libdir | --libdi | --libd)
1046     ac_prev=libdir ;;
1047   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048     libdir=$ac_optarg ;;
1049
1050   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051   | --libexe | --libex | --libe)
1052     ac_prev=libexecdir ;;
1053   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054   | --libexe=* | --libex=* | --libe=*)
1055     libexecdir=$ac_optarg ;;
1056
1057   -localedir | --localedir | --localedi | --localed | --locale)
1058     ac_prev=localedir ;;
1059   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060     localedir=$ac_optarg ;;
1061
1062   -localstatedir | --localstatedir | --localstatedi | --localstated \
1063   | --localstate | --localstat | --localsta | --localst | --locals)
1064     ac_prev=localstatedir ;;
1065   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067     localstatedir=$ac_optarg ;;
1068
1069   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070     ac_prev=mandir ;;
1071   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072     mandir=$ac_optarg ;;
1073
1074   -nfp | --nfp | --nf)
1075     # Obsolete; use --without-fp.
1076     with_fp=no ;;
1077
1078   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079   | --no-cr | --no-c | -n)
1080     no_create=yes ;;
1081
1082   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084     no_recursion=yes ;;
1085
1086   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088   | --oldin | --oldi | --old | --ol | --o)
1089     ac_prev=oldincludedir ;;
1090   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093     oldincludedir=$ac_optarg ;;
1094
1095   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096     ac_prev=prefix ;;
1097   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098     prefix=$ac_optarg ;;
1099
1100   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101   | --program-pre | --program-pr | --program-p)
1102     ac_prev=program_prefix ;;
1103   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105     program_prefix=$ac_optarg ;;
1106
1107   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108   | --program-suf | --program-su | --program-s)
1109     ac_prev=program_suffix ;;
1110   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112     program_suffix=$ac_optarg ;;
1113
1114   -program-transform-name | --program-transform-name \
1115   | --program-transform-nam | --program-transform-na \
1116   | --program-transform-n | --program-transform- \
1117   | --program-transform | --program-transfor \
1118   | --program-transfo | --program-transf \
1119   | --program-trans | --program-tran \
1120   | --progr-tra | --program-tr | --program-t)
1121     ac_prev=program_transform_name ;;
1122   -program-transform-name=* | --program-transform-name=* \
1123   | --program-transform-nam=* | --program-transform-na=* \
1124   | --program-transform-n=* | --program-transform-=* \
1125   | --program-transform=* | --program-transfor=* \
1126   | --program-transfo=* | --program-transf=* \
1127   | --program-trans=* | --program-tran=* \
1128   | --progr-tra=* | --program-tr=* | --program-t=*)
1129     program_transform_name=$ac_optarg ;;
1130
1131   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132     ac_prev=pdfdir ;;
1133   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134     pdfdir=$ac_optarg ;;
1135
1136   -psdir | --psdir | --psdi | --psd | --ps)
1137     ac_prev=psdir ;;
1138   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139     psdir=$ac_optarg ;;
1140
1141   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142   | -silent | --silent | --silen | --sile | --sil)
1143     silent=yes ;;
1144
1145   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146     ac_prev=sbindir ;;
1147   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148   | --sbi=* | --sb=*)
1149     sbindir=$ac_optarg ;;
1150
1151   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153   | --sharedst | --shareds | --shared | --share | --shar \
1154   | --sha | --sh)
1155     ac_prev=sharedstatedir ;;
1156   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159   | --sha=* | --sh=*)
1160     sharedstatedir=$ac_optarg ;;
1161
1162   -site | --site | --sit)
1163     ac_prev=site ;;
1164   -site=* | --site=* | --sit=*)
1165     site=$ac_optarg ;;
1166
1167   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168     ac_prev=srcdir ;;
1169   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170     srcdir=$ac_optarg ;;
1171
1172   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173   | --syscon | --sysco | --sysc | --sys | --sy)
1174     ac_prev=sysconfdir ;;
1175   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177     sysconfdir=$ac_optarg ;;
1178
1179   -target | --target | --targe | --targ | --tar | --ta | --t)
1180     ac_prev=target_alias ;;
1181   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182     target_alias=$ac_optarg ;;
1183
1184   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185     verbose=yes ;;
1186
1187   -version | --version | --versio | --versi | --vers | -V)
1188     ac_init_version=: ;;
1189
1190   -with-* | --with-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=\$ac_optarg ;;
1205
1206   -without-* | --without-*)
1207     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208     # Reject names that are not valid shell variable names.
1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210       as_fn_error "invalid package name: $ac_useropt"
1211     ac_useropt_orig=$ac_useropt
1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213     case $ac_user_opts in
1214       *"
1215 "with_$ac_useropt"
1216 "*) ;;
1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218          ac_unrecognized_sep=', ';;
1219     esac
1220     eval with_$ac_useropt=no ;;
1221
1222   --x)
1223     # Obsolete; use --with-x.
1224     with_x=yes ;;
1225
1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227   | --x-incl | --x-inc | --x-in | --x-i)
1228     ac_prev=x_includes ;;
1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231     x_includes=$ac_optarg ;;
1232
1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235     ac_prev=x_libraries ;;
1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238     x_libraries=$ac_optarg ;;
1239
1240   -*) as_fn_error "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information."
1242     ;;
1243
1244   *=*)
1245     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246     # Reject names that are not valid shell variable names.
1247     case $ac_envvar in #(
1248       '' | [0-9]* | *[!_$as_cr_alnum]* )
1249       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1250     esac
1251     eval $ac_envvar=\$ac_optarg
1252     export $ac_envvar ;;
1253
1254   *)
1255     # FIXME: should be removed in autoconf 3.0.
1256     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260     ;;
1261
1262   esac
1263 done
1264
1265 if test -n "$ac_prev"; then
1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267   as_fn_error "missing argument to $ac_option"
1268 fi
1269
1270 if test -n "$ac_unrecognized_opts"; then
1271   case $enable_option_checking in
1272     no) ;;
1273     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1274     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275   esac
1276 fi
1277
1278 # Check all directory arguments for consistency.
1279 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280                 datadir sysconfdir sharedstatedir localstatedir includedir \
1281                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282                 libdir localedir mandir
1283 do
1284   eval ac_val=\$$ac_var
1285   # Remove trailing slashes.
1286   case $ac_val in
1287     */ )
1288       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289       eval $ac_var=\$ac_val;;
1290   esac
1291   # Be sure to have absolute directory names.
1292   case $ac_val in
1293     [\\/$]* | ?:[\\/]* )  continue;;
1294     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295   esac
1296   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1298
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1305
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308   if test "x$build_alias" = x; then
1309     cross_compiling=maybe
1310     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311     If a cross compiler is detected then cross compile mode will be used." >&2
1312   elif test "x$build_alias" != "x$host_alias"; then
1313     cross_compiling=yes
1314   fi
1315 fi
1316
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
1320 test "$silent" = yes && exec 6>/dev/null
1321
1322
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326   as_fn_error "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328   as_fn_error "pwd does not report name of working directory"
1329
1330
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333   ac_srcdir_defaulted=yes
1334   # Try the directory containing this script, then the parent directory.
1335   ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337          X"$as_myself" : 'X\(//\)[^/]' \| \
1338          X"$as_myself" : 'X\(//\)$' \| \
1339          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)[^/].*/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\/\)$/{
1350             s//\1/
1351             q
1352           }
1353           /^X\(\/\).*/{
1354             s//\1/
1355             q
1356           }
1357           s/.*/./; q'`
1358   srcdir=$ac_confdir
1359   if test ! -r "$srcdir/$ac_unique_file"; then
1360     srcdir=..
1361   fi
1362 else
1363   ac_srcdir_defaulted=no
1364 fi
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1368 fi
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1372         pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375   srcdir=.
1376 fi
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385   eval ac_env_${ac_var}_value=\$${ac_var}
1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1389
1390 #
1391 # Report the --help message.
1392 #
1393 if test "$ac_init_help" = "long"; then
1394   # Omit some internal or obsolete options to make the list less imposing.
1395   # This message is too long to be a string in the A/UX 3.1 sh.
1396   cat <<_ACEOF
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1398
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1400
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
1403
1404 Defaults for the options are specified in brackets.
1405
1406 Configuration:
1407   -h, --help              display this help and exit
1408       --help=short        display options specific to this package
1409       --help=recursive    display the short help of all the included packages
1410   -V, --version           display version information and exit
1411   -q, --quiet, --silent   do not print \`checking...' messages
1412       --cache-file=FILE   cache test results in FILE [disabled]
1413   -C, --config-cache      alias for \`--cache-file=config.cache'
1414   -n, --no-create         do not create output files
1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1416
1417 Installation directories:
1418   --prefix=PREFIX         install architecture-independent files in PREFIX
1419                           [$ac_default_prefix]
1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1421                           [PREFIX]
1422
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1427
1428 For better control, use the options below.
1429
1430 Fine tuning of the installation directories:
1431   --bindir=DIR            user executables [EPREFIX/bin]
1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1437   --libdir=DIR            object code libraries [EPREFIX/lib]
1438   --includedir=DIR        C header files [PREFIX/include]
1439   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1440   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1441   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1442   --infodir=DIR           info documentation [DATAROOTDIR/info]
1443   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1444   --mandir=DIR            man documentation [DATAROOTDIR/man]
1445   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1446   --htmldir=DIR           html documentation [DOCDIR]
1447   --dvidir=DIR            dvi documentation [DOCDIR]
1448   --pdfdir=DIR            pdf documentation [DOCDIR]
1449   --psdir=DIR             ps documentation [DOCDIR]
1450 _ACEOF
1451
1452   cat <<\_ACEOF
1453
1454 Program names:
1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1458
1459 System types:
1460   --build=BUILD     configure for building on BUILD [guessed]
1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1462   --target=TARGET   configure for building compilers for TARGET [HOST]
1463 _ACEOF
1464 fi
1465
1466 if test -n "$ac_init_help"; then
1467   case $ac_init_help in
1468      short | recursive ) echo "Configuration of package-unused version-unused:";;
1469    esac
1470   cat <<\_ACEOF
1471
1472 Optional Features:
1473   --disable-option-checking  ignore unrecognized --enable/--with options
1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1476   --enable-multilib       build many library versions (default)
1477   --enable-maintainer-mode  enable make rules and dependencies not useful
1478                           (and sometimes confusing) to the casual installer
1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
1480   --enable-static[=PKGS]  build static libraries [default=yes]
1481   --enable-fast-install[=PKGS]
1482                           optimize for fast installation [default=yes]
1483   --disable-libtool-lock  avoid locking (might break parallel builds)
1484   --disable-hosted-libstdcxx
1485                           only build freestanding C++ runtime support
1486   --enable-sjlj-exceptions
1487                           force use of builtin_setjmp for exceptions
1488                           [default=auto]
1489   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1490                           [default=$is_hosted]
1491   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1492   --enable-clocale[=MODEL]
1493                           use MODEL for target locale package [default=auto]
1494   --enable-nls            use Native Language Support (default)
1495   --enable-libstdcxx-allocator=KIND
1496                           use KIND for target std::allocator base
1497                           [default=auto]
1498   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1499   --enable-long-long      enable template specializations for 'long long'
1500                           [default=yes]
1501   --enable-wchar_t        enable template specializations for 'wchar_t'
1502                           [default=yes]
1503   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1504   --enable-concept-checks use Boost-derived template checks [default=no]
1505   --enable-libstdcxx-debug-flags=FLAGS
1506                           pass compiler FLAGS when building debug library
1507                           [default="-g3 -O0"]
1508   --enable-libstdcxx-debug
1509                           build extra debug library [default=no]
1510   --enable-cxx-flags=FLAGS
1511                           pass compiler FLAGS when building library [default=]
1512   --enable-fully-dynamic-string
1513                           do not put empty strings in per-process static
1514                           memory [default=no]
1515   --enable-libstdcxx-time=KIND
1516                           use KIND for check type [default=no]
1517   --enable-tls            Use thread-local storage [default=yes]
1518   --disable-rpath         do not hardcode runtime library paths
1519   --enable-linux-futex    use the Linux futex system call [default=default]
1520   --enable-symvers=STYLE  enables symbol versioning of the shared library
1521                           [default=yes]
1522   --enable-visibility     enables visibility safe usage [default=yes]
1523   --enable-version-specific-runtime-libs
1524                           Specify that runtime libraries should be installed
1525                           in a compiler-specific directory
1526
1527 Optional Packages:
1528   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1529   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1530   --with-target-subdir=SUBDIR
1531                           configuring in a subdirectory
1532   --with-cross-host=HOST  configuring with a cross compiler
1533   --with-newlib           assume newlib as a system C library
1534   --with-pic              try to use only PIC/non-PIC objects [default=use
1535                           both]
1536   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1538   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1539   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1540   --with-system-libunwind use installed libunwind
1541   --with-gxx-include-dir=DIR
1542                           installation directory for include files
1543
1544 Some influential environment variables:
1545   CC          C compiler command
1546   CFLAGS      C compiler flags
1547   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1548               nonstandard directory <lib dir>
1549   LIBS        libraries to pass to the linker, e.g. -l<library>
1550   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1551               you have headers in a nonstandard directory <include dir>
1552   CXX         C++ compiler command
1553   CXXFLAGS    C++ compiler flags
1554   CPP         C preprocessor
1555   CXXCPP      C++ preprocessor
1556
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1559
1560 Report bugs to the package provider.
1561 _ACEOF
1562 ac_status=$?
1563 fi
1564
1565 if test "$ac_init_help" = "recursive"; then
1566   # If there are subdirs, report their specific --help.
1567   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568     test -d "$ac_dir" ||
1569       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570       continue
1571     ac_builddir=.
1572
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *)
1576   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577   # A ".." for each directory in $ac_dir_suffix.
1578   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579   case $ac_top_builddir_sub in
1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582   esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1588
1589 case $srcdir in
1590   .)  # We are building in place.
1591     ac_srcdir=.
1592     ac_top_srcdir=$ac_top_builddir_sub
1593     ac_abs_top_srcdir=$ac_pwd ;;
1594   [\\/]* | ?:[\\/]* )  # Absolute name.
1595     ac_srcdir=$srcdir$ac_dir_suffix;
1596     ac_top_srcdir=$srcdir
1597     ac_abs_top_srcdir=$srcdir ;;
1598   *) # Relative name.
1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605     cd "$ac_dir" || { ac_status=$?; continue; }
1606     # Check for guested configure.
1607     if test -f "$ac_srcdir/configure.gnu"; then
1608       echo &&
1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610     elif test -f "$ac_srcdir/configure"; then
1611       echo &&
1612       $SHELL "$ac_srcdir/configure" --help=recursive
1613     else
1614       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615     fi || ac_status=$?
1616     cd "$ac_pwd" || { ac_status=$?; break; }
1617   done
1618 fi
1619
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622   cat <<\_ACEOF
1623 package-unused configure version-unused
1624 generated by GNU Autoconf 2.64
1625
1626 Copyright (C) 2009 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630   exit
1631 fi
1632
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1636
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1641 {
1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643   rm -f conftest.$ac_objext
1644   if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647   *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651   (eval "$ac_compile") 2>conftest.err
1652   ac_status=$?
1653   if test -s conftest.err; then
1654     grep -v '^ *+' conftest.err >conftest.er1
1655     cat conftest.er1 >&5
1656     mv -f conftest.er1 conftest.err
1657   fi
1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659   test $ac_status = 0; } && {
1660          test -z "$ac_c_werror_flag" ||
1661          test ! -s conftest.err
1662        } && test -s conftest.$ac_objext; then :
1663   ac_retval=0
1664 else
1665   $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668         ac_retval=1
1669 fi
1670   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671   return $ac_retval
1672
1673 } # ac_fn_c_try_compile
1674
1675 # ac_fn_cxx_try_compile LINENO
1676 # ----------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_cxx_try_compile ()
1679 {
1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681   rm -f conftest.$ac_objext
1682   if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685   *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689   (eval "$ac_compile") 2>conftest.err
1690   ac_status=$?
1691   if test -s conftest.err; then
1692     grep -v '^ *+' conftest.err >conftest.er1
1693     cat conftest.er1 >&5
1694     mv -f conftest.er1 conftest.err
1695   fi
1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697   test $ac_status = 0; } && {
1698          test -z "$ac_cxx_werror_flag" ||
1699          test ! -s conftest.err
1700        } && test -s conftest.$ac_objext; then :
1701   ac_retval=0
1702 else
1703   $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706         ac_retval=1
1707 fi
1708   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709   return $ac_retval
1710
1711 } # ac_fn_cxx_try_compile
1712
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_cpp ()
1717 {
1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719   if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727   ac_status=$?
1728   if test -s conftest.err; then
1729     grep -v '^ *+' conftest.err >conftest.er1
1730     cat conftest.er1 >&5
1731     mv -f conftest.er1 conftest.err
1732   fi
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; } >/dev/null && {
1735          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736          test ! -s conftest.err
1737        }; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743     ac_retval=1
1744 fi
1745   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746   return $ac_retval
1747
1748 } # ac_fn_c_try_cpp
1749
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_link ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   rm -f conftest.$ac_objext conftest$ac_exeext
1757   if { { ac_try="$ac_link"
1758 case "(($ac_try" in
1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760   *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764   (eval "$ac_link") 2>conftest.err
1765   ac_status=$?
1766   if test -s conftest.err; then
1767     grep -v '^ *+' conftest.err >conftest.er1
1768     cat conftest.er1 >&5
1769     mv -f conftest.er1 conftest.err
1770   fi
1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772   test $ac_status = 0; } && {
1773          test -z "$ac_c_werror_flag" ||
1774          test ! -s conftest.err
1775        } && test -s conftest$ac_exeext && {
1776          test "$cross_compiling" = yes ||
1777          $as_test_x conftest$ac_exeext
1778        }; then :
1779   ac_retval=0
1780 else
1781   $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784         ac_retval=1
1785 fi
1786   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788   # interfere with the next link command; also delete a directory that is
1789   # left behind by Apple's compiler.  We do this before executing the actions.
1790   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792   return $ac_retval
1793
1794 } # ac_fn_c_try_link
1795
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1801 {
1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806   $as_echo_n "(cached) " >&6
1807 else
1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h.  */
1810 $4
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814   eval "$3=yes"
1815 else
1816   eval "$3=no"
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 fi
1820 eval ac_res=\$$3
1821                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824
1825 } # ac_fn_c_check_header_compile
1826
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1831 ac_fn_c_try_run ()
1832 {
1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834   if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837   *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841   (eval "$ac_link") 2>&5
1842   ac_status=$?
1843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845   { { case "(($ac_try" in
1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847   *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851   (eval "$ac_try") 2>&5
1852   ac_status=$?
1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854   test $ac_status = 0; }; }; then :
1855   ac_retval=0
1856 else
1857   $as_echo "$as_me: program exited with status $ac_status" >&5
1858        $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861        ac_retval=$ac_status
1862 fi
1863   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865   return $ac_retval
1866
1867 } # ac_fn_c_try_run
1868
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1873 {
1874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878   $as_echo_n "(cached) " >&6
1879 else
1880   if test x$gcc_no_link = xyes; then
1881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 fi
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h.  */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1887 #define $2 innocuous_$2
1888
1889 /* System header to define __stub macros and hopefully few prototypes,
1890     which can conflict with char $2 (); below.
1891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892     <limits.h> exists even on freestanding compilers.  */
1893
1894 #ifdef __STDC__
1895 # include <limits.h>
1896 #else
1897 # include <assert.h>
1898 #endif
1899
1900 #undef $2
1901
1902 /* Override any GCC internal prototype to avoid an error.
1903    Use char because int might match the return type of a GCC
1904    builtin and then its argument prototype would still apply.  */
1905 #ifdef __cplusplus
1906 extern "C"
1907 #endif
1908 char $2 ();
1909 /* The GNU C library defines this for functions which it implements
1910     to always fail with ENOSYS.  Some functions are actually named
1911     something starting with __ and the normal name is an alias.  */
1912 #if defined __stub_$2 || defined __stub___$2
1913 choke me
1914 #endif
1915
1916 int
1917 main ()
1918 {
1919 return $2 ();
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_link "$LINENO"; then :
1925   eval "$3=yes"
1926 else
1927   eval "$3=no"
1928 fi
1929 rm -f core conftest.err conftest.$ac_objext \
1930     conftest$ac_exeext conftest.$ac_ext
1931 fi
1932 eval ac_res=\$$3
1933                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
1937 } # ac_fn_c_check_func
1938
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp ()
1943 {
1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945   if { { ac_try="$ac_cpp conftest.$ac_ext"
1946 case "(($ac_try" in
1947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948   *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1953   ac_status=$?
1954   if test -s conftest.err; then
1955     grep -v '^ *+' conftest.err >conftest.er1
1956     cat conftest.er1 >&5
1957     mv -f conftest.er1 conftest.err
1958   fi
1959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960   test $ac_status = 0; } >/dev/null && {
1961          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962          test ! -s conftest.err
1963        }; then :
1964   ac_retval=0
1965 else
1966   $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969     ac_retval=1
1970 fi
1971   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972   return $ac_retval
1973
1974 } # ac_fn_cxx_try_cpp
1975
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   rm -f conftest.$ac_objext conftest$ac_exeext
1983   if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986   *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990   (eval "$ac_link") 2>conftest.err
1991   ac_status=$?
1992   if test -s conftest.err; then
1993     grep -v '^ *+' conftest.err >conftest.er1
1994     cat conftest.er1 >&5
1995     mv -f conftest.er1 conftest.err
1996   fi
1997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998   test $ac_status = 0; } && {
1999          test -z "$ac_cxx_werror_flag" ||
2000          test ! -s conftest.err
2001        } && test -s conftest$ac_exeext && {
2002          test "$cross_compiling" = yes ||
2003          $as_test_x conftest$ac_exeext
2004        }; then :
2005   ac_retval=0
2006 else
2007   $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010         ac_retval=1
2011 fi
2012   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014   # interfere with the next link command; also delete a directory that is
2015   # left behind by Apple's compiler.  We do this before executing the actions.
2016   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018   return $ac_retval
2019
2020 } # ac_fn_cxx_try_link
2021
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_c_check_header_mongrel ()
2028 {
2029   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034   $as_echo_n "(cached) " >&6
2035 fi
2036 eval ac_res=\$$3
2037                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040   # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h.  */
2045 $4
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049   ac_header_compiler=yes
2050 else
2051   ac_header_compiler=no
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2056
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h.  */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065   ac_header_preproc=yes
2066 else
2067   ac_header_preproc=no
2068 fi
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2072
2073 # So?  What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2075   yes:no: )
2076     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080     ;;
2081   no:yes:* )
2082     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092     ;;
2093 esac
2094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097   $as_echo_n "(cached) " >&6
2098 else
2099   eval "$3=\$ac_header_compiler"
2100 fi
2101 eval ac_res=\$$3
2102                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 fi
2105   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
2107 } # ac_fn_c_check_header_mongrel
2108
2109 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # ---------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2113 # accordingly.
2114 ac_fn_cxx_check_header_mongrel ()
2115 {
2116   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121   $as_echo_n "(cached) " >&6
2122 fi
2123 eval ac_res=\$$3
2124                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 else
2127   # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h.  */
2132 $4
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_cxx_try_compile "$LINENO"; then :
2136   ac_header_compiler=yes
2137 else
2138   ac_header_compiler=no
2139 fi
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2143
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h.  */
2149 #include <$2>
2150 _ACEOF
2151 if ac_fn_cxx_try_cpp "$LINENO"; then :
2152   ac_header_preproc=yes
2153 else
2154   ac_header_preproc=no
2155 fi
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2159
2160 # So?  What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2162   yes:no: )
2163     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167     ;;
2168   no:yes:* )
2169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179     ;;
2180 esac
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184   $as_echo_n "(cached) " >&6
2185 else
2186   eval "$3=\$ac_header_compiler"
2187 fi
2188 eval ac_res=\$$3
2189                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 fi
2192   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2193
2194 } # ac_fn_cxx_check_header_mongrel
2195
2196 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2197 # -------------------------------------------
2198 # Tests whether TYPE exists after having included INCLUDES, setting cache
2199 # variable VAR accordingly.
2200 ac_fn_c_check_type ()
2201 {
2202   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206   $as_echo_n "(cached) " >&6
2207 else
2208   eval "$3=no"
2209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h.  */
2211 $4
2212 int
2213 main ()
2214 {
2215 if (sizeof ($2))
2216          return 0;
2217   ;
2218   return 0;
2219 }
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h.  */
2224 $4
2225 int
2226 main ()
2227 {
2228 if (sizeof (($2)))
2229             return 0;
2230   ;
2231   return 0;
2232 }
2233 _ACEOF
2234 if ac_fn_c_try_compile "$LINENO"; then :
2235
2236 else
2237   eval "$3=yes"
2238 fi
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 eval ac_res=\$$3
2244                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_c_check_type
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258   if test "$cross_compiling" = yes; then
2259     # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h.  */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269   ;
2270   return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274   ac_lo=0 ac_mid=0
2275   while :; do
2276     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h.  */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285   ;
2286   return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290   ac_hi=$ac_mid; break
2291 else
2292   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293                         if test $ac_lo -le $ac_mid; then
2294                           ac_lo= ac_hi=
2295                           break
2296                         fi
2297                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300   done
2301 else
2302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h.  */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316   ac_hi=-1 ac_mid=-1
2317   while :; do
2318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h.  */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327   ;
2328   return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332   ac_lo=$ac_mid; break
2333 else
2334   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335                         if test $ac_mid -le $ac_hi; then
2336                           ac_lo= ac_hi=
2337                           break
2338                         fi
2339                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342   done
2343 else
2344   ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366   ac_hi=$ac_mid
2367 else
2368   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376   else
2377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h.  */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388   FILE *f = fopen ("conftest.val", "w");
2389   if (! f)
2390     return 1;
2391   if (($2) < 0)
2392     {
2393       long int i = longval ();
2394       if (i != ($2))
2395         return 1;
2396       fprintf (f, "%ld", i);
2397     }
2398   else
2399     {
2400       unsigned long int i = ulongval ();
2401       if (i != ($2))
2402         return 1;
2403       fprintf (f, "%lu", i);
2404     }
2405   /* Do not output a trailing newline, as this causes \r\n confusion
2406      on some platforms.  */
2407   return ferror (f) || fclose (f) != 0;
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416   ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419   conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422   fi
2423   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424   return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427 cat >config.log <<_ACEOF
2428 This file contains any messages produced by compilers while
2429 running configure, to aid debugging if configure makes a mistake.
2430
2431 It was created by package-unused $as_me version-unused, which was
2432 generated by GNU Autoconf 2.64.  Invocation command line was
2433
2434   $ $0 $@
2435
2436 _ACEOF
2437 exec 5>>config.log
2438 {
2439 cat <<_ASUNAME
2440 ## --------- ##
2441 ## Platform. ##
2442 ## --------- ##
2443
2444 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2449
2450 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2452
2453 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2454 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2455 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2457 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2458 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2459 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2460
2461 _ASUNAME
2462
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2465 do
2466   IFS=$as_save_IFS
2467   test -z "$as_dir" && as_dir=.
2468     $as_echo "PATH: $as_dir"
2469   done
2470 IFS=$as_save_IFS
2471
2472 } >&5
2473
2474 cat >&5 <<_ACEOF
2475
2476
2477 ## ----------- ##
2478 ## Core tests. ##
2479 ## ----------- ##
2480
2481 _ACEOF
2482
2483
2484 # Keep a trace of the command line.
2485 # Strip out --no-create and --no-recursion so they do not pile up.
2486 # Strip out --silent because we don't want to record it for future runs.
2487 # Also quote any args containing shell meta-characters.
2488 # Make two passes to allow for proper duplicate-argument suppression.
2489 ac_configure_args=
2490 ac_configure_args0=
2491 ac_configure_args1=
2492 ac_must_keep_next=false
2493 for ac_pass in 1 2
2494 do
2495   for ac_arg
2496   do
2497     case $ac_arg in
2498     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500     | -silent | --silent | --silen | --sile | --sil)
2501       continue ;;
2502     *\'*)
2503       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2504     esac
2505     case $ac_pass in
2506     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2507     2)
2508       as_fn_append ac_configure_args1 " '$ac_arg'"
2509       if test $ac_must_keep_next = true; then
2510         ac_must_keep_next=false # Got value, back to normal.
2511       else
2512         case $ac_arg in
2513           *=* | --config-cache | -C | -disable-* | --disable-* \
2514           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516           | -with-* | --with-* | -without-* | --without-* | --x)
2517             case "$ac_configure_args0 " in
2518               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2519             esac
2520             ;;
2521           -* ) ac_must_keep_next=true ;;
2522         esac
2523       fi
2524       as_fn_append ac_configure_args " '$ac_arg'"
2525       ;;
2526     esac
2527   done
2528 done
2529 { ac_configure_args0=; unset ac_configure_args0;}
2530 { ac_configure_args1=; unset ac_configure_args1;}
2531
2532 # When interrupted or exit'd, cleanup temporary files, and complete
2533 # config.log.  We remove comments because anyway the quotes in there
2534 # would cause problems or look ugly.
2535 # WARNING: Use '\'' to represent an apostrophe within the trap.
2536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537 trap 'exit_status=$?
2538   # Save into config.log some information that might help in debugging.
2539   {
2540     echo
2541
2542     cat <<\_ASBOX
2543 ## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##
2546 _ASBOX
2547     echo
2548     # The following way of writing the cache mishandles newlines in values,
2549 (
2550   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2551     eval ac_val=\$$ac_var
2552     case $ac_val in #(
2553     *${as_nl}*)
2554       case $ac_var in #(
2555       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2557       esac
2558       case $ac_var in #(
2559       _ | IFS | as_nl) ;; #(
2560       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2561       *) { eval $ac_var=; unset $ac_var;} ;;
2562       esac ;;
2563     esac
2564   done
2565   (set) 2>&1 |
2566     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2567     *${as_nl}ac_space=\ *)
2568       sed -n \
2569         "s/'\''/'\''\\\\'\'''\''/g;
2570           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2571       ;; #(
2572     *)
2573       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2574       ;;
2575     esac |
2576     sort
2577 )
2578     echo
2579
2580     cat <<\_ASBOX
2581 ## ----------------- ##
2582 ## Output variables. ##
2583 ## ----------------- ##
2584 _ASBOX
2585     echo
2586     for ac_var in $ac_subst_vars
2587     do
2588       eval ac_val=\$$ac_var
2589       case $ac_val in
2590       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2591       esac
2592       $as_echo "$ac_var='\''$ac_val'\''"
2593     done | sort
2594     echo
2595
2596     if test -n "$ac_subst_files"; then
2597       cat <<\_ASBOX
2598 ## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##
2601 _ASBOX
2602       echo
2603       for ac_var in $ac_subst_files
2604       do
2605         eval ac_val=\$$ac_var
2606         case $ac_val in
2607         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2608         esac
2609         $as_echo "$ac_var='\''$ac_val'\''"
2610       done | sort
2611       echo
2612     fi
2613
2614     if test -s confdefs.h; then
2615       cat <<\_ASBOX
2616 ## ----------- ##
2617 ## confdefs.h. ##
2618 ## ----------- ##
2619 _ASBOX
2620       echo
2621       cat confdefs.h
2622       echo
2623     fi
2624     test "$ac_signal" != 0 &&
2625       $as_echo "$as_me: caught signal $ac_signal"
2626     $as_echo "$as_me: exit $exit_status"
2627   } >&5
2628   rm -f core *.core core.conftest.* &&
2629     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2630     exit $exit_status
2631 ' 0
2632 for ac_signal in 1 2 13 15; do
2633   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2634 done
2635 ac_signal=0
2636
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2639
2640 $as_echo "/* confdefs.h */" > confdefs.h
2641
2642 # Predefined preprocessor variables.
2643
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2646 _ACEOF
2647
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2650 _ACEOF
2651
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2654 _ACEOF
2655
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2658 _ACEOF
2659
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2662 _ACEOF
2663
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2666 _ACEOF
2667
2668
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2671 ac_site_file1=NONE
2672 ac_site_file2=NONE
2673 if test -n "$CONFIG_SITE"; then
2674   ac_site_file1=$CONFIG_SITE
2675 elif test "x$prefix" != xNONE; then
2676   ac_site_file1=$prefix/share/config.site
2677   ac_site_file2=$prefix/etc/config.site
2678 else
2679   ac_site_file1=$ac_default_prefix/share/config.site
2680   ac_site_file2=$ac_default_prefix/etc/config.site
2681 fi
2682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2683 do
2684   test "x$ac_site_file" = xNONE && continue
2685   if test -r "$ac_site_file"; then
2686     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2688     sed 's/^/| /' "$ac_site_file" >&5
2689     . "$ac_site_file"
2690   fi
2691 done
2692
2693 if test -r "$cache_file"; then
2694   # Some versions of bash will fail to source /dev/null (special
2695   # files actually), so we avoid doing that.
2696   if test -f "$cache_file"; then
2697     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2698 $as_echo "$as_me: loading cache $cache_file" >&6;}
2699     case $cache_file in
2700       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2701       *)                      . "./$cache_file";;
2702     esac
2703   fi
2704 else
2705   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2706 $as_echo "$as_me: creating cache $cache_file" >&6;}
2707   >$cache_file
2708 fi
2709
2710 # Check that the precious variables saved in the cache have kept the same
2711 # value.
2712 ac_cache_corrupted=false
2713 for ac_var in $ac_precious_vars; do
2714   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2715   eval ac_new_set=\$ac_env_${ac_var}_set
2716   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2717   eval ac_new_val=\$ac_env_${ac_var}_value
2718   case $ac_old_set,$ac_new_set in
2719     set,)
2720       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2721 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2722       ac_cache_corrupted=: ;;
2723     ,set)
2724       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2725 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2726       ac_cache_corrupted=: ;;
2727     ,);;
2728     *)
2729       if test "x$ac_old_val" != "x$ac_new_val"; then
2730         # differences in whitespace do not lead to failure.
2731         ac_old_val_w=`echo x $ac_old_val`
2732         ac_new_val_w=`echo x $ac_new_val`
2733         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2734           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2735 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2736           ac_cache_corrupted=:
2737         else
2738           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2739 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2740           eval $ac_var=\$ac_old_val
2741         fi
2742         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2743 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2744         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2745 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2746       fi;;
2747   esac
2748   # Pass precious variables to config.status.
2749   if test "$ac_new_set" = set; then
2750     case $ac_new_val in
2751     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2752     *) ac_arg=$ac_var=$ac_new_val ;;
2753     esac
2754     case " $ac_configure_args " in
2755       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2756       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2757     esac
2758   fi
2759 done
2760 if $ac_cache_corrupted; then
2761   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2764 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2765   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2766 fi
2767 ## -------------------- ##
2768 ## Main body of script. ##
2769 ## -------------------- ##
2770
2771 ac_ext=c
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776
2777
2778
2779
2780
2781
2782 ac_config_headers="$ac_config_headers config.h"
2783
2784
2785 # This works around the fact that libtool configuration may change LD
2786 # for this particular configuration, but some shells, instead of
2787 # keeping the changes in LD private, export them just because LD is
2788 # exported.  Only used at the end of this file.
2789 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2790
2791 # For libtool versioning info, format is CURRENT:REVISION:AGE
2792 libtool_VERSION=6:14:0
2793
2794
2795 # Find the rest of the source tree framework.
2796 # Default to --enable-multilib
2797 # Check whether --enable-multilib was given.
2798 if test "${enable_multilib+set}" = set; then :
2799   enableval=$enable_multilib; case "$enableval" in
2800   yes) multilib=yes ;;
2801   no)  multilib=no ;;
2802   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2803  esac
2804 else
2805   multilib=yes
2806 fi
2807
2808
2809 # We may get other options which we leave undocumented:
2810 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2811 # See config-ml.in if you want the gory details.
2812
2813 if test "$srcdir" = "."; then
2814   if test "$with_target_subdir" != "."; then
2815     multi_basedir="$srcdir/$with_multisrctop../.."
2816   else
2817     multi_basedir="$srcdir/$with_multisrctop.."
2818   fi
2819 else
2820   multi_basedir="$srcdir/.."
2821 fi
2822
2823
2824 # Even if the default multilib is not a cross compilation,
2825 # it may be that some of the other multilibs are.
2826 if test $cross_compiling = no && test $multilib = yes \
2827    && test "x${with_multisubdir}" != x ; then
2828    cross_compiling=maybe
2829 fi
2830
2831 ac_config_commands="$ac_config_commands default-1"
2832
2833
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2835 #
2836 # You will slowly go insane if you do not grok the following fact:  when
2837 # building v3 as part of the compiler, the top-level /target/ becomes the
2838 # library's /host/.  configure then causes --target to default to --host,
2839 # exactly like any other package using autoconf.  Therefore, 'target' and
2840 # 'host' will always be the same.  This makes sense both for native and
2841 # cross compilers, just think about it for a little while.  :-)
2842 #
2843 # Also, if v3 is being configured as part of a cross compiler, the top-level
2844 # configure script will pass the "real" host as $with_cross_host.
2845 #
2846 # Do not delete or change the following two lines.  For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2848 ac_aux_dir=
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850   for ac_t in install-sh install.sh shtool; do
2851     if test -f "$ac_dir/$ac_t"; then
2852       ac_aux_dir=$ac_dir
2853       ac_install_sh="$ac_aux_dir/$ac_t -c"
2854       break 2
2855     fi
2856   done
2857 done
2858 if test -z "$ac_aux_dir"; then
2859   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2860 fi
2861
2862 # These three variables are undocumented and unsupported,
2863 # and are intended to be withdrawn in a future Autoconf release.
2864 # They can cause serious problems if a builder's source tree is in a directory
2865 # whose full name contains unusual characters.
2866 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2867 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2868 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2869
2870
2871 # Make sure we can run config.sub.
2872 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2874
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876 $as_echo_n "checking build system type... " >&6; }
2877 if test "${ac_cv_build+set}" = set; then :
2878   $as_echo_n "(cached) " >&6
2879 else
2880   ac_build_alias=$build_alias
2881 test "x$ac_build_alias" = x &&
2882   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883 test "x$ac_build_alias" = x &&
2884   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2887
2888 fi
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890 $as_echo "$ac_cv_build" >&6; }
2891 case $ac_cv_build in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2894 esac
2895 build=$ac_cv_build
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_build
2898 shift
2899 build_cpu=$1
2900 build_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 build_os=$*
2905 IFS=$ac_save_IFS
2906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2907
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910 $as_echo_n "checking host system type... " >&6; }
2911 if test "${ac_cv_host+set}" = set; then :
2912   $as_echo_n "(cached) " >&6
2913 else
2914   if test "x$host_alias" = x; then
2915   ac_cv_host=$ac_cv_build
2916 else
2917   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2919 fi
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923 $as_echo "$ac_cv_host" >&6; }
2924 case $ac_cv_host in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2927 esac
2928 host=$ac_cv_host
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_host
2931 shift
2932 host_cpu=$1
2933 host_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 host_os=$*
2938 IFS=$ac_save_IFS
2939 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2943 $as_echo_n "checking target system type... " >&6; }
2944 if test "${ac_cv_target+set}" = set; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   if test "x$target_alias" = x; then
2948   ac_cv_target=$ac_cv_host
2949 else
2950   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2951     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2956 $as_echo "$ac_cv_target" >&6; }
2957 case $ac_cv_target in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2960 esac
2961 target=$ac_cv_target
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_target
2964 shift
2965 target_cpu=$1
2966 target_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 target_os=$*
2971 IFS=$ac_save_IFS
2972 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 # The aliases save the names the user supplied, while $host etc.
2976 # will get canonicalized.
2977 test -n "$target_alias" &&
2978   test "$program_prefix$program_suffix$program_transform_name" = \
2979     NONENONEs,x,x, &&
2980   program_prefix=${target_alias}-
2981
2982 target_alias=${target_alias-$host_alias}
2983
2984 # Handy for debugging:
2985 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2986
2987 if test "$build" != "$host"; then
2988   # We are being configured with some form of cross compiler.
2989   GLIBCXX_IS_NATIVE=false
2990   case "$host","$target" in
2991     # Darwin crosses can use the host system's libraries and headers,
2992     # because of the fat library support.  Of course, it must be the
2993     # same version of Darwin on both sides.  Allow the user to
2994     # just say --target=foo-darwin without a version number to mean
2995     # "the version on this system".
2996       *-*-darwin*,*-*-darwin*)
2997         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2998         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2999         if test $hostos = $targetos -o $targetos = darwin ; then
3000           GLIBCXX_IS_NATIVE=true
3001         fi
3002         ;;
3003
3004       *)
3005
3006         ;;
3007   esac
3008 else
3009   GLIBCXX_IS_NATIVE=true
3010 fi
3011
3012 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3013 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3014 #  1.x:  minimum required version
3015 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3016 #              of other PACKAGE_* variables will, however, and there's nothing
3017 #              we can do about that; they come from AC_INIT).
3018 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3019 #            file in the top srcdir, etc, etc), so stop complaining.
3020 #  no-dependencies:  turns off auto dependency generation (just for now)
3021 #  no-dist:  we don't want 'dist' and related rules.
3022 #  -Wall:  turns on all automake warnings...
3023 #  -Wno-portability:  ...except this one, since GNU make is now required.
3024 am__api_version='1.11'
3025
3026 # Find a good install program.  We prefer a C program (faster),
3027 # so one script is as good as another.  But avoid the broken or
3028 # incompatible versions:
3029 # SysV /etc/install, /usr/sbin/install
3030 # SunOS /usr/etc/install
3031 # IRIX /sbin/install
3032 # AIX /bin/install
3033 # AmigaOS /C/install, which installs bootblocks on floppy discs
3034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3037 # OS/2's system install, which has a completely different semantic
3038 # ./install, which can be erroneously created by make from ./install.sh.
3039 # Reject install programs that cannot install multiple files.
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3042 if test -z "$INSTALL"; then
3043 if test "${ac_cv_path_install+set}" = set; then :
3044   $as_echo_n "(cached) " >&6
3045 else
3046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049   IFS=$as_save_IFS
3050   test -z "$as_dir" && as_dir=.
3051     # Account for people who put trailing slashes in PATH elements.
3052 case $as_dir/ in #((
3053   ./ | .// | /[cC]/* | \
3054   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3055   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3056   /usr/ucb/* ) ;;
3057   *)
3058     # OSF1 and SCO ODT 3.0 have their own names for install.
3059     # Don't use installbsd from OSF since it installs stuff as root
3060     # by default.
3061     for ac_prog in ginstall scoinst install; do
3062       for ac_exec_ext in '' $ac_executable_extensions; do
3063         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3064           if test $ac_prog = install &&
3065             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066             # AIX install.  It has an incompatible calling convention.
3067             :
3068           elif test $ac_prog = install &&
3069             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3070             # program-specific install script used by HP pwplus--don't use.
3071             :
3072           else
3073             rm -rf conftest.one conftest.two conftest.dir
3074             echo one > conftest.one
3075             echo two > conftest.two
3076             mkdir conftest.dir
3077             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3078               test -s conftest.one && test -s conftest.two &&
3079               test -s conftest.dir/conftest.one &&
3080               test -s conftest.dir/conftest.two
3081             then
3082               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3083               break 3
3084             fi
3085           fi
3086         fi
3087       done
3088     done
3089     ;;
3090 esac
3091
3092   done
3093 IFS=$as_save_IFS
3094
3095 rm -rf conftest.one conftest.two conftest.dir
3096
3097 fi
3098   if test "${ac_cv_path_install+set}" = set; then
3099     INSTALL=$ac_cv_path_install
3100   else
3101     # As a last resort, use the slow shell script.  Don't cache a
3102     # value for INSTALL within a source directory, because that will
3103     # break other packages using the cache if that directory is
3104     # removed, or if the value is a relative name.
3105     INSTALL=$ac_install_sh
3106   fi
3107 fi
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3109 $as_echo "$INSTALL" >&6; }
3110
3111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3112 # It thinks the first close brace ends the variable substitution.
3113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3114
3115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3116
3117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3118
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3120 $as_echo_n "checking whether build environment is sane... " >&6; }
3121 # Just in case
3122 sleep 1
3123 echo timestamp > conftest.file
3124 # Reject unsafe characters in $srcdir or the absolute working directory
3125 # name.  Accept space and tab only in the latter.
3126 am_lf='
3127 '
3128 case `pwd` in
3129   *[\\\"\#\$\&\'\`$am_lf]*)
3130     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3131 esac
3132 case $srcdir in
3133   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3134     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3135 esac
3136
3137 # Do `set' in a subshell so we don't clobber the current shell's
3138 # arguments.  Must try -L first in case configure is actually a
3139 # symlink; some systems play weird games with the mod time of symlinks
3140 # (eg FreeBSD returns the mod time of the symlink's containing
3141 # directory).
3142 if (
3143    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3144    if test "$*" = "X"; then
3145       # -L didn't work.
3146       set X `ls -t "$srcdir/configure" conftest.file`
3147    fi
3148    rm -f conftest.file
3149    if test "$*" != "X $srcdir/configure conftest.file" \
3150       && test "$*" != "X conftest.file $srcdir/configure"; then
3151
3152       # If neither matched, then we have a broken ls.  This can happen
3153       # if, for instance, CONFIG_SHELL is bash and it inherits a
3154       # broken ls alias from the environment.  This has actually
3155       # happened.  Such a system could not be considered "sane".
3156       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3157 alias in your environment" "$LINENO" 5
3158    fi
3159
3160    test "$2" = conftest.file
3161    )
3162 then
3163    # Ok.
3164    :
3165 else
3166    as_fn_error "newly created file is older than distributed files!
3167 Check your system clock" "$LINENO" 5
3168 fi
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3171 test "$program_prefix" != NONE &&
3172   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3180
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3183
3184 if test x"${MISSING+set}" != xset; then
3185   case $am_aux_dir in
3186   *\ * | *\     *)
3187     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3188   *)
3189     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3190   esac
3191 fi
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --run true"; then
3194   am_missing_run="$MISSING --run "
3195 else
3196   am_missing_run=
3197   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3199 fi
3200
3201 if test x"${install_sh}" != xset; then
3202   case $am_aux_dir in
3203   *\ * | *\     *)
3204     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3205   *)
3206     install_sh="\${SHELL} $am_aux_dir/install-sh"
3207   esac
3208 fi
3209
3210 # Installed binaries are usually stripped using `strip' when the user
3211 # run `make install-strip'.  However `strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the `STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215   if test -n "$ac_tool_prefix"; then
3216   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if test "${ac_cv_prog_STRIP+set}" = set; then :
3221   $as_echo_n "(cached) " >&6
3222 else
3223   if test -n "$STRIP"; then
3224   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229   IFS=$as_save_IFS
3230   test -z "$as_dir" && as_dir=.
3231     for ac_exec_ext in '' $ac_executable_extensions; do
3232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if test -z "$ac_cv_prog_STRIP"; then
3255   ac_ct_STRIP=$STRIP
3256   # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3261   $as_echo_n "(cached) " >&6
3262 else
3263   if test -n "$ac_ct_STRIP"; then
3264   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3268 do
3269   IFS=$as_save_IFS
3270   test -z "$as_dir" && as_dir=.
3271     for ac_exec_ext in '' $ac_executable_extensions; do
3272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273     ac_cv_prog_ac_ct_STRIP="strip"
3274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275     break 2
3276   fi
3277 done
3278   done
3279 IFS=$as_save_IFS
3280
3281 fi
3282 fi
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3287 else
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 fi
3291
3292   if test "x$ac_ct_STRIP" = x; then
3293     STRIP=":"
3294   else
3295     case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301     STRIP=$ac_ct_STRIP
3302   fi
3303 else
3304   STRIP="$ac_cv_prog_STRIP"
3305 fi
3306
3307 fi
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3309
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313   if test "${ac_cv_path_mkdir+set}" = set; then :
3314   $as_echo_n "(cached) " >&6
3315 else
3316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3318 do
3319   IFS=$as_save_IFS
3320   test -z "$as_dir" && as_dir=.
3321     for ac_prog in mkdir gmkdir; do
3322          for ac_exec_ext in '' $ac_executable_extensions; do
3323            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325              'mkdir (GNU coreutils) '* | \
3326              'mkdir (coreutils) '* | \
3327              'mkdir (fileutils) '4.1*)
3328                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3329                break 3;;
3330            esac
3331          done
3332        done
3333   done
3334 IFS=$as_save_IFS
3335
3336 fi
3337
3338   if test "${ac_cv_path_mkdir+set}" = set; then
3339     MKDIR_P="$ac_cv_path_mkdir -p"
3340   else
3341     # As a last resort, use the slow shell script.  Don't cache a
3342     # value for MKDIR_P within a source directory, because that will
3343     # break other packages using the cache if that directory is
3344     # removed, or if the value is a relative name.
3345     test -d ./--version && rmdir ./--version
3346     MKDIR_P="$ac_install_sh -d"
3347   fi
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3351
3352 mkdir_p="$MKDIR_P"
3353 case $mkdir_p in
3354   [\\/$]* | ?:[\\/]*) ;;
3355   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3356 esac
3357
3358 for ac_prog in gawk mawk nawk awk
3359 do
3360   # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy $ac_prog; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_AWK+set}" = set; then :
3365   $as_echo_n "(cached) " >&6
3366 else
3367   if test -n "$AWK"; then
3368   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3369 else
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH
3372 do
3373   IFS=$as_save_IFS
3374   test -z "$as_dir" && as_dir=.
3375     for ac_exec_ext in '' $ac_executable_extensions; do
3376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377     ac_cv_prog_AWK="$ac_prog"
3378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379     break 2
3380   fi
3381 done
3382   done
3383 IFS=$as_save_IFS
3384
3385 fi
3386 fi
3387 AWK=$ac_cv_prog_AWK
3388 if test -n "$AWK"; then
3389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3390 $as_echo "$AWK" >&6; }
3391 else
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3394 fi
3395
3396
3397   test -n "$AWK" && break
3398 done
3399
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3401 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3402 set x ${MAKE-make}
3403 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3404 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3405   $as_echo_n "(cached) " >&6
3406 else
3407   cat >conftest.make <<\_ACEOF
3408 SHELL = /bin/sh
3409 all:
3410         @echo '@@@%%%=$(MAKE)=@@@%%%'
3411 _ACEOF
3412 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3413 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3414   *@@@%%%=?*=@@@%%%*)
3415     eval ac_cv_prog_make_${ac_make}_set=yes;;
3416   *)
3417     eval ac_cv_prog_make_${ac_make}_set=no;;
3418 esac
3419 rm -f conftest.make
3420 fi
3421 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3424   SET_MAKE=
3425 else
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428   SET_MAKE="MAKE=${MAKE-make}"
3429 fi
3430
3431 rm -rf .tst 2>/dev/null
3432 mkdir .tst 2>/dev/null
3433 if test -d .tst; then
3434   am__leading_dot=.
3435 else
3436   am__leading_dot=_
3437 fi
3438 rmdir .tst 2>/dev/null
3439
3440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3441   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3442   # is not polluted with repeated "-I."
3443   am__isrc=' -I$(srcdir)'
3444   # test to see if srcdir already configured
3445   if test -f $srcdir/config.status; then
3446     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3447   fi
3448 fi
3449
3450 # test whether we have cygpath
3451 if test -z "$CYGPATH_W"; then
3452   if (cygpath --version) >/dev/null 2>/dev/null; then
3453     CYGPATH_W='cygpath -w'
3454   else
3455     CYGPATH_W=echo
3456   fi
3457 fi
3458
3459
3460 # Define the identity of the package.
3461  PACKAGE='libstdc++'
3462  VERSION='version-unused'
3463
3464
3465 # Some tools Automake needs.
3466
3467 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3468
3469
3470 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3471
3472
3473 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3474
3475
3476 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3477
3478
3479 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3480
3481 # We need awk for the "check" target.  The system "awk" is bad on
3482 # some platforms.
3483 # Always define AMTAR for backward compatibility.
3484
3485 AMTAR=${AMTAR-"${am_missing_run}tar"}
3486
3487 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3488
3489
3490
3491
3492
3493
3494
3495
3496 # -fno-builtin must be present here so that a non-conflicting form of
3497 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3498
3499 save_CXXFLAGS="$CXXFLAGS"
3500 CXXFLAGS="$CXXFLAGS -fno-builtin"
3501 ac_ext=c
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 if test -n "$ac_tool_prefix"; then
3507   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512   $as_echo_n "(cached) " >&6
3513 else
3514   if test -n "$CC"; then
3515   ac_cv_prog_CC="$CC" # Let the user override the test.
3516 else
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 for as_dir in $PATH
3519 do
3520   IFS=$as_save_IFS
3521   test -z "$as_dir" && as_dir=.
3522     for ac_exec_ext in '' $ac_executable_extensions; do
3523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526     break 2
3527   fi
3528 done
3529   done
3530 IFS=$as_save_IFS
3531
3532 fi
3533 fi
3534 CC=$ac_cv_prog_CC
3535 if test -n "$CC"; then
3536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3538 else
3539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3541 fi
3542
3543
3544 fi
3545 if test -z "$ac_cv_prog_CC"; then
3546   ac_ct_CC=$CC
3547   # Extract the first word of "gcc", so it can be a program name with args.
3548 set dummy gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3552   $as_echo_n "(cached) " >&6
3553 else
3554   if test -n "$ac_ct_CC"; then
3555   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3559 do
3560   IFS=$as_save_IFS
3561   test -z "$as_dir" && as_dir=.
3562     for ac_exec_ext in '' $ac_executable_extensions; do
3563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564     ac_cv_prog_ac_ct_CC="gcc"
3565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566     break 2
3567   fi
3568 done
3569   done
3570 IFS=$as_save_IFS
3571
3572 fi
3573 fi
3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3578 else
3579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3581 fi
3582
3583   if test "x$ac_ct_CC" = x; then
3584     CC=""
3585   else
3586     case $cross_compiling:$ac_tool_warned in
3587 yes:)
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3591 esac
3592     CC=$ac_ct_CC
3593   fi
3594 else
3595   CC="$ac_cv_prog_CC"
3596 fi
3597
3598 if test -z "$CC"; then
3599           if test -n "$ac_tool_prefix"; then
3600     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_CC+set}" = set; then :
3605   $as_echo_n "(cached) " >&6
3606 else
3607   if test -n "$CC"; then
3608   ac_cv_prog_CC="$CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3612 do
3613   IFS=$as_save_IFS
3614   test -z "$as_dir" && as_dir=.
3615     for ac_exec_ext in '' $ac_executable_extensions; do
3616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617     ac_cv_prog_CC="${ac_tool_prefix}cc"
3618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619     break 2
3620   fi
3621 done
3622   done
3623 IFS=$as_save_IFS
3624
3625 fi
3626 fi
3627 CC=$ac_cv_prog_CC
3628 if test -n "$CC"; then
3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3631 else
3632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3634 fi
3635
3636
3637   fi
3638 fi
3639 if test -z "$CC"; then
3640   # Extract the first word of "cc", so it can be a program name with args.
3641 set dummy cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645   $as_echo_n "(cached) " >&6
3646 else
3647   if test -n "$CC"; then
3648   ac_cv_prog_CC="$CC" # Let the user override the test.
3649 else
3650   ac_prog_rejected=no
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3653 do
3654   IFS=$as_save_IFS
3655   test -z "$as_dir" && as_dir=.
3656     for ac_exec_ext in '' $ac_executable_extensions; do
3657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3659        ac_prog_rejected=yes
3660        continue
3661      fi
3662     ac_cv_prog_CC="cc"
3663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664     break 2
3665   fi
3666 done
3667   done
3668 IFS=$as_save_IFS
3669
3670 if test $ac_prog_rejected = yes; then
3671   # We found a bogon in the path, so make sure we never use it.
3672   set dummy $ac_cv_prog_CC
3673   shift
3674   if test $# != 0; then
3675     # We chose a different compiler from the bogus one.
3676     # However, it has the same basename, so the bogon will be chosen
3677     # first if we set CC to just the basename; use the full file name.
3678     shift
3679     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3680   fi
3681 fi
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694 fi
3695 if test -z "$CC"; then
3696   if test -n "$ac_tool_prefix"; then
3697   for ac_prog in cl.exe
3698   do
3699     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CC+set}" = set; then :
3704   $as_echo_n "(cached) " >&6
3705 else
3706   if test -n "$CC"; then
3707   ac_cv_prog_CC="$CC" # Let the user override the test.
3708 else
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 for as_dir in $PATH
3711 do
3712   IFS=$as_save_IFS
3713   test -z "$as_dir" && as_dir=.
3714     for ac_exec_ext in '' $ac_executable_extensions; do
3715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718     break 2
3719   fi
3720 done
3721   done
3722 IFS=$as_save_IFS
3723
3724 fi
3725 fi
3726 CC=$ac_cv_prog_CC
3727 if test -n "$CC"; then
3728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3730 else
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3733 fi
3734
3735
3736     test -n "$CC" && break
3737   done
3738 fi
3739 if test -z "$CC"; then
3740   ac_ct_CC=$CC
3741   for ac_prog in cl.exe
3742 do
3743   # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3748   $as_echo_n "(cached) " >&6
3749 else
3750   if test -n "$ac_ct_CC"; then
3751   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3755 do
3756   IFS=$as_save_IFS
3757   test -z "$as_dir" && as_dir=.
3758     for ac_exec_ext in '' $ac_executable_extensions; do
3759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760     ac_cv_prog_ac_ct_CC="$ac_prog"
3761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762     break 2
3763   fi
3764 done
3765   done
3766 IFS=$as_save_IFS
3767
3768 fi
3769 fi
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3773 $as_echo "$ac_ct_CC" >&6; }
3774 else
3775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3777 fi
3778
3779
3780   test -n "$ac_ct_CC" && break
3781 done
3782
3783   if test "x$ac_ct_CC" = x; then
3784     CC=""
3785   else
3786     case $cross_compiling:$ac_tool_warned in
3787 yes:)
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3791 esac
3792     CC=$ac_ct_CC
3793   fi
3794 fi
3795
3796 fi
3797
3798
3799 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "no acceptable C compiler found in \$PATH
3802 See \`config.log' for more details." "$LINENO" 5; }
3803
3804 # Provide some information about the compiler.
3805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3806 set X $ac_compile
3807 ac_compiler=$2
3808 for ac_option in --version -v -V -qversion; do
3809   { { ac_try="$ac_compiler $ac_option >&5"
3810 case "(($ac_try" in
3811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812   *) ac_try_echo=$ac_try;;
3813 esac
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3817   ac_status=$?
3818   if test -s conftest.err; then
3819     sed '10a\
3820 ... rest of stderr output deleted ...
3821          10q' conftest.err >conftest.er1
3822     cat conftest.er1 >&5
3823     rm -f conftest.er1 conftest.err
3824   fi
3825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826   test $ac_status = 0; }
3827 done
3828
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h.  */
3831
3832 int
3833 main ()
3834 {
3835
3836   ;
3837   return 0;
3838 }
3839 _ACEOF
3840 # FIXME: Cleanup?
3841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3842   (eval $ac_link) 2>&5
3843   ac_status=$?
3844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845   test $ac_status = 0; }; then :
3846   gcc_no_link=no
3847 else
3848   gcc_no_link=yes
3849 fi
3850 if test x$gcc_no_link = xyes; then
3851   # Setting cross_compile will disable run tests; it will
3852   # also disable AC_CHECK_FILE but that's generally
3853   # correct if we can't link.
3854   cross_compiling=yes
3855   EXEEXT=
3856 else
3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h.  */
3859
3860 int
3861 main ()
3862 {
3863
3864   ;
3865   return 0;
3866 }
3867 _ACEOF
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3872 # of exeext.
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3874 $as_echo_n "checking for C compiler default output file name... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3876
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3879
3880 ac_rmfiles=
3881 for ac_file in $ac_files
3882 do
3883   case $ac_file in
3884     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886   esac
3887 done
3888 rm -f $ac_rmfiles
3889
3890 if { { ac_try="$ac_link_default"
3891 case "(($ac_try" in
3892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893   *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897   (eval "$ac_link_default") 2>&5
3898   ac_status=$?
3899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900   test $ac_status = 0; }; then :
3901   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3905 # Autoconf.
3906 for ac_file in $ac_files ''
3907 do
3908   test -f "$ac_file" || continue
3909   case $ac_file in
3910     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3911         ;;
3912     [ab].out )
3913         # We found the default executable, but exeext='' is most
3914         # certainly right.
3915         break;;
3916     *.* )
3917         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3918         then :; else
3919            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920         fi
3921         # We set ac_cv_exeext here because the later test for it is not
3922         # safe: cross compilers may not add the suffix if given an `-o'
3923         # argument, so we may need to know it at that point already.
3924         # Even if this section looks crufty: it has the advantage of
3925         # actually working.
3926         break;;
3927     * )
3928         break;;
3929   esac
3930 done
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3932
3933 else
3934   ac_file=''
3935 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3937 $as_echo "$ac_file" >&6; }
3938 if test -z "$ac_file"; then :
3939   $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3941
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 { as_fn_set_status 77
3945 as_fn_error "C compiler cannot create executables
3946 See \`config.log' for more details." "$LINENO" 5; }; }
3947 fi
3948 ac_exeext=$ac_cv_exeext
3949
3950 # Check that the compiler produces executables we can run.  If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3953 $as_echo_n "checking whether the C compiler works... " >&6; }
3954 # If not cross compiling, check that we can run a simple program.
3955 if test "$cross_compiling" != yes; then
3956   if { ac_try='./$ac_file'
3957   { { case "(($ac_try" in
3958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959   *) ac_try_echo=$ac_try;;
3960 esac
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963   (eval "$ac_try") 2>&5
3964   ac_status=$?
3965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966   test $ac_status = 0; }; }; then
3967     cross_compiling=no
3968   else
3969     if test "$cross_compiling" = maybe; then
3970         cross_compiling=yes
3971     else
3972         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 as_fn_error "cannot run C compiled programs.
3975 If you meant to cross compile, use \`--host'.
3976 See \`config.log' for more details." "$LINENO" 5; }
3977     fi
3978   fi
3979 fi
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3981 $as_echo "yes" >&6; }
3982
3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3984 ac_clean_files=$ac_clean_files_save
3985 # Check that the compiler produces executables we can run.  If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3988 $as_echo_n "checking whether we are cross compiling... " >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3990 $as_echo "$cross_compiling" >&6; }
3991
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3993 $as_echo_n "checking for suffix of executables... " >&6; }
3994 if { { ac_try="$ac_link"
3995 case "(($ac_try" in
3996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997   *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001   (eval "$ac_link") 2>&5
4002   ac_status=$?
4003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004   test $ac_status = 0; }; then :
4005   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4006 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4007 # work properly (i.e., refer to `conftest.exe'), while it won't with
4008 # `rm'.
4009 for ac_file in conftest.exe conftest conftest.*; do
4010   test -f "$ac_file" || continue
4011   case $ac_file in
4012     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014           break;;
4015     * ) break;;
4016   esac
4017 done
4018 else
4019   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error "cannot compute suffix of executables: cannot compile and link
4022 See \`config.log' for more details." "$LINENO" 5; }
4023 fi
4024 rm -f conftest$ac_cv_exeext
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4026 $as_echo "$ac_cv_exeext" >&6; }
4027
4028 rm -f conftest.$ac_ext
4029 EXEEXT=$ac_cv_exeext
4030 ac_exeext=$EXEEXT
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if test "${ac_cv_objext+set}" = set; then :
4035   $as_echo_n "(cached) " >&6
4036 else
4037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h.  */
4039
4040 int
4041 main ()
4042 {
4043
4044   ;
4045   return 0;
4046 }
4047 _ACEOF
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try="$ac_compile"
4050 case "(($ac_try" in
4051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052   *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056   (eval "$ac_compile") 2>&5
4057   ac_status=$?
4058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059   test $ac_status = 0; }; then :
4060   for ac_file in conftest.o conftest.obj conftest.*; do
4061   test -f "$ac_file" || continue;
4062   case $ac_file in
4063     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4065        break;;
4066   esac
4067 done
4068 else
4069   $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4071
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "cannot compute suffix of object files: cannot compile
4075 See \`config.log' for more details." "$LINENO" 5; }
4076 fi
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 fi
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4082 ac_objext=$OBJEXT
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4086   $as_echo_n "(cached) " >&6
4087 else
4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h.  */
4090
4091 int
4092 main ()
4093 {
4094 #ifndef __GNUC__
4095        choke me
4096 #endif
4097
4098   ;
4099   return 0;
4100 }
4101 _ACEOF
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103   ac_compiler_gnu=yes
4104 else
4105   ac_compiler_gnu=no
4106 fi
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4109
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4114   GCC=yes
4115 else
4116   GCC=
4117 fi
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if test "${ac_cv_prog_cc_g+set}" = set; then :
4123   $as_echo_n "(cached) " >&6
4124 else
4125   ac_save_c_werror_flag=$ac_c_werror_flag
4126    ac_c_werror_flag=yes
4127    ac_cv_prog_cc_g=no
4128    CFLAGS="-g"
4129    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h.  */
4131
4132 int
4133 main ()
4134 {
4135
4136   ;
4137   return 0;
4138 }
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141   ac_cv_prog_cc_g=yes
4142 else
4143   CFLAGS=""
4144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h.  */
4146
4147 int
4148 main ()
4149 {
4150
4151   ;
4152   return 0;
4153 }
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156
4157 else
4158   ac_c_werror_flag=$ac_save_c_werror_flag
4159          CFLAGS="-g"
4160          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h.  */
4162
4163 int
4164 main ()
4165 {
4166
4167   ;
4168   return 0;
4169 }
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172   ac_cv_prog_cc_g=yes
4173 fi
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 fi
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 fi
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179    ac_c_werror_flag=$ac_save_c_werror_flag
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184   CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186   if test "$GCC" = yes; then
4187     CFLAGS="-g -O2"
4188   else
4189     CFLAGS="-g"
4190   fi
4191 else
4192   if test "$GCC" = yes; then
4193     CFLAGS="-O2"
4194   else
4195     CFLAGS=
4196   fi
4197 fi
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4201   $as_echo_n "(cached) " >&6
4202 else
4203   ac_cv_prog_cc_c89=no
4204 ac_save_CC=$CC
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h.  */
4207 #include <stdarg.h>
4208 #include <stdio.h>
4209 #include <sys/types.h>
4210 #include <sys/stat.h>
4211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4212 struct buf { int x; };
4213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4214 static char *e (p, i)
4215      char **p;
4216      int i;
4217 {
4218   return p[i];
4219 }
4220 static char *f (char * (*g) (char **, int), char **p, ...)
4221 {
4222   char *s;
4223   va_list v;
4224   va_start (v,p);
4225   s = g (p, va_arg (v,int));
4226   va_end (v);
4227   return s;
4228 }
4229
4230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4231    function prototypes and stuff, but not '\xHH' hex character constants.
4232    These don't provoke an error unfortunately, instead are silently treated
4233    as 'x'.  The following induces an error, until -std is added to get
4234    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4235    array size at least.  It's necessary to write '\x00'==0 to get something
4236    that's true only with -std.  */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4238
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240    inside strings and character constants.  */
4241 #define FOO(x) 'x'
4242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4243
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4248 int argc;
4249 char **argv;
4250 int
4251 main ()
4252 {
4253 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4254   ;
4255   return 0;
4256 }
4257 _ACEOF
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4260 do
4261   CC="$ac_save_CC $ac_arg"
4262   if ac_fn_c_try_compile "$LINENO"; then :
4263   ac_cv_prog_cc_c89=$ac_arg
4264 fi
4265 rm -f core conftest.err conftest.$ac_objext
4266   test "x$ac_cv_prog_cc_c89" != "xno" && break
4267 done
4268 rm -f conftest.$ac_ext
4269 CC=$ac_save_CC
4270
4271 fi
4272 # AC_CACHE_VAL
4273 case "x$ac_cv_prog_cc_c89" in
4274   x)
4275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4276 $as_echo "none needed" >&6; } ;;
4277   xno)
4278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4279 $as_echo "unsupported" >&6; } ;;
4280   *)
4281     CC="$CC $ac_cv_prog_cc_c89"
4282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4283 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4284 esac
4285 if test "x$ac_cv_prog_cc_c89" != xno; then :
4286
4287 fi
4288
4289 ac_ext=c
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294
4295 ac_ext=cpp
4296 ac_cpp='$CXXCPP $CPPFLAGS'
4297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300 if test -z "$CXX"; then
4301   if test -n "$CCC"; then
4302     CXX=$CCC
4303   else
4304     if test -n "$ac_tool_prefix"; then
4305   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4306   do
4307     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_CXX+set}" = set; then :
4312   $as_echo_n "(cached) " >&6
4313 else
4314   if test -n "$CXX"; then
4315   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4316 else
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH
4319 do
4320   IFS=$as_save_IFS
4321   test -z "$as_dir" && as_dir=.
4322     for ac_exec_ext in '' $ac_executable_extensions; do
4323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326     break 2
4327   fi
4328 done
4329   done
4330 IFS=$as_save_IFS
4331
4332 fi
4333 fi
4334 CXX=$ac_cv_prog_CXX
4335 if test -n "$CXX"; then
4336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4337 $as_echo "$CXX" >&6; }
4338 else
4339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 fi
4342
4343
4344     test -n "$CXX" && break
4345   done
4346 fi
4347 if test -z "$CXX"; then
4348   ac_ct_CXX=$CXX
4349   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 do
4351   # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4356   $as_echo_n "(cached) " >&6
4357 else
4358   if test -n "$ac_ct_CXX"; then
4359   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4360 else
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 for as_dir in $PATH
4363 do
4364   IFS=$as_save_IFS
4365   test -z "$as_dir" && as_dir=.
4366     for ac_exec_ext in '' $ac_executable_extensions; do
4367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368     ac_cv_prog_ac_ct_CXX="$ac_prog"
4369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370     break 2
4371   fi
4372 done
4373   done
4374 IFS=$as_save_IFS
4375
4376 fi
4377 fi
4378 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4379 if test -n "$ac_ct_CXX"; then
4380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4381 $as_echo "$ac_ct_CXX" >&6; }
4382 else
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4385 fi
4386
4387
4388   test -n "$ac_ct_CXX" && break
4389 done
4390
4391   if test "x$ac_ct_CXX" = x; then
4392     CXX="g++"
4393   else
4394     case $cross_compiling:$ac_tool_warned in
4395 yes:)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4399 esac
4400     CXX=$ac_ct_CXX
4401   fi
4402 fi
4403
4404   fi
4405 fi
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4408 set X $ac_compile
4409 ac_compiler=$2
4410 for ac_option in --version -v -V -qversion; do
4411   { { ac_try="$ac_compiler $ac_option >&5"
4412 case "(($ac_try" in
4413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414   *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4419   ac_status=$?
4420   if test -s conftest.err; then
4421     sed '10a\
4422 ... rest of stderr output deleted ...
4423          10q' conftest.err >conftest.er1
4424     cat conftest.er1 >&5
4425     rm -f conftest.er1 conftest.err
4426   fi
4427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428   test $ac_status = 0; }
4429 done
4430
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4434   $as_echo_n "(cached) " >&6
4435 else
4436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h.  */
4438
4439 int
4440 main ()
4441 {
4442 #ifndef __GNUC__
4443        choke me
4444 #endif
4445
4446   ;
4447   return 0;
4448 }
4449 _ACEOF
4450 if ac_fn_cxx_try_compile "$LINENO"; then :
4451   ac_compiler_gnu=yes
4452 else
4453   ac_compiler_gnu=no
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4457
4458 fi
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4460 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4462   GXX=yes
4463 else
4464   GXX=
4465 fi
4466 ac_test_CXXFLAGS=${CXXFLAGS+set}
4467 ac_save_CXXFLAGS=$CXXFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4469 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4470 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4471   $as_echo_n "(cached) " >&6
4472 else
4473   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4474    ac_cxx_werror_flag=yes
4475    ac_cv_prog_cxx_g=no
4476    CXXFLAGS="-g"
4477    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h.  */
4479
4480 int
4481 main ()
4482 {
4483
4484   ;
4485   return 0;
4486 }
4487 _ACEOF
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489   ac_cv_prog_cxx_g=yes
4490 else
4491   CXXFLAGS=""
4492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h.  */
4494
4495 int
4496 main ()
4497 {
4498
4499   ;
4500   return 0;
4501 }
4502 _ACEOF
4503 if ac_fn_cxx_try_compile "$LINENO"; then :
4504
4505 else
4506   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4507          CXXFLAGS="-g"
4508          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h.  */
4510
4511 int
4512 main ()
4513 {
4514
4515   ;
4516   return 0;
4517 }
4518 _ACEOF
4519 if ac_fn_cxx_try_compile "$LINENO"; then :
4520   ac_cv_prog_cxx_g=yes
4521 fi
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 fi
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 fi
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4530 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4531 if test "$ac_test_CXXFLAGS" = set; then
4532   CXXFLAGS=$ac_save_CXXFLAGS
4533 elif test $ac_cv_prog_cxx_g = yes; then
4534   if test "$GXX" = yes; then
4535     CXXFLAGS="-g -O2"
4536   else
4537     CXXFLAGS="-g"
4538   fi
4539 else
4540   if test "$GXX" = yes; then
4541     CXXFLAGS="-O2"
4542   else
4543     CXXFLAGS=
4544   fi
4545 fi
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551
4552 CXXFLAGS="$save_CXXFLAGS"
4553
4554 # Runs configure.host, and assorted other critical bits.  Sets
4555 # up critical shell variables.
4556
4557 ac_ext=c
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4563 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4564 # On Suns, sometimes $CPP names a directory.
4565 if test -n "$CPP" && test -d "$CPP"; then
4566   CPP=
4567 fi
4568 if test -z "$CPP"; then
4569   if test "${ac_cv_prog_CPP+set}" = set; then :
4570   $as_echo_n "(cached) " >&6
4571 else
4572       # Double quotes because CPP needs to be expanded
4573     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4574     do
4575       ac_preproc_ok=false
4576 for ac_c_preproc_warn_flag in '' yes
4577 do
4578   # Use a header file that comes with gcc, so configuring glibc
4579   # with a fresh cross-compiler works.
4580   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581   # <limits.h> exists even on freestanding compilers.
4582   # On the NeXT, cc -E runs the code through the compiler's parser,
4583   # not just through cpp. "Syntax error" is here to catch this case.
4584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h.  */
4586 #ifdef __STDC__
4587 # include <limits.h>
4588 #else
4589 # include <assert.h>
4590 #endif
4591                      Syntax error
4592 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4594
4595 else
4596   # Broken: fails on valid input.
4597 continue
4598 fi
4599 rm -f conftest.err conftest.$ac_ext
4600
4601   # OK, works on sane cases.  Now check whether nonexistent headers
4602   # can be detected and how.
4603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h.  */
4605 #include <ac_nonexistent.h>
4606 _ACEOF
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4608   # Broken: success on invalid input.
4609 continue
4610 else
4611   # Passes both tests.
4612 ac_preproc_ok=:
4613 break
4614 fi
4615 rm -f conftest.err conftest.$ac_ext
4616
4617 done
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.err conftest.$ac_ext
4620 if $ac_preproc_ok; then :
4621   break
4622 fi
4623
4624     done
4625     ac_cv_prog_CPP=$CPP
4626
4627 fi
4628   CPP=$ac_cv_prog_CPP
4629 else
4630   ac_cv_prog_CPP=$CPP
4631 fi
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4633 $as_echo "$CPP" >&6; }
4634 ac_preproc_ok=false
4635 for ac_c_preproc_warn_flag in '' yes
4636 do
4637   # Use a header file that comes with gcc, so configuring glibc
4638   # with a fresh cross-compiler works.
4639   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640   # <limits.h> exists even on freestanding compilers.
4641   # On the NeXT, cc -E runs the code through the compiler's parser,
4642   # not just through cpp. "Syntax error" is here to catch this case.
4643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h.  */
4645 #ifdef __STDC__
4646 # include <limits.h>
4647 #else
4648 # include <assert.h>
4649 #endif
4650                      Syntax error
4651 _ACEOF
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4653
4654 else
4655   # Broken: fails on valid input.
4656 continue
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660   # OK, works on sane cases.  Now check whether nonexistent headers
4661   # can be detected and how.
4662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h.  */
4664 #include <ac_nonexistent.h>
4665 _ACEOF
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4667   # Broken: success on invalid input.
4668 continue
4669 else
4670   # Passes both tests.
4671 ac_preproc_ok=:
4672 break
4673 fi
4674 rm -f conftest.err conftest.$ac_ext
4675
4676 done
4677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678 rm -f conftest.err conftest.$ac_ext
4679 if $ac_preproc_ok; then :
4680
4681 else
4682   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4685 See \`config.log' for more details." "$LINENO" 5; }
4686 fi
4687
4688 ac_ext=c
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4693
4694
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4697 if test "${ac_cv_path_GREP+set}" = set; then :
4698   $as_echo_n "(cached) " >&6
4699 else
4700   if test -z "$GREP"; then
4701   ac_path_GREP_found=false
4702   # Loop through the user's path and test for each of PROGNAME-LIST
4703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4705 do
4706   IFS=$as_save_IFS
4707   test -z "$as_dir" && as_dir=.
4708     for ac_prog in grep ggrep; do
4709     for ac_exec_ext in '' $ac_executable_extensions; do
4710       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4711       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4712 # Check for GNU ac_path_GREP and select it if it is found.
4713   # Check for GNU $ac_path_GREP
4714 case `"$ac_path_GREP" --version 2>&1` in
4715 *GNU*)
4716   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4717 *)
4718   ac_count=0
4719   $as_echo_n 0123456789 >"conftest.in"
4720   while :
4721   do
4722     cat "conftest.in" "conftest.in" >"conftest.tmp"
4723     mv "conftest.tmp" "conftest.in"
4724     cp "conftest.in" "conftest.nl"
4725     $as_echo 'GREP' >> "conftest.nl"
4726     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4727     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4728     as_fn_arith $ac_count + 1 && ac_count=$as_val
4729     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4730       # Best one so far, save it but keep looking for a better one
4731       ac_cv_path_GREP="$ac_path_GREP"
4732       ac_path_GREP_max=$ac_count
4733     fi
4734     # 10*(2^10) chars as input seems more than enough
4735     test $ac_count -gt 10 && break
4736   done
4737   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 esac
4739
4740       $ac_path_GREP_found && break 3
4741     done
4742   done
4743   done
4744 IFS=$as_save_IFS
4745   if test -z "$ac_cv_path_GREP"; then
4746     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747   fi
4748 else
4749   ac_cv_path_GREP=$GREP
4750 fi
4751
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4754 $as_echo "$ac_cv_path_GREP" >&6; }
4755  GREP="$ac_cv_path_GREP"
4756
4757
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4759 $as_echo_n "checking for egrep... " >&6; }
4760 if test "${ac_cv_path_EGREP+set}" = set; then :
4761   $as_echo_n "(cached) " >&6
4762 else
4763   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4764    then ac_cv_path_EGREP="$GREP -E"
4765    else
4766      if test -z "$EGREP"; then
4767   ac_path_EGREP_found=false
4768   # Loop through the user's path and test for each of PROGNAME-LIST
4769   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771 do
4772   IFS=$as_save_IFS
4773   test -z "$as_dir" && as_dir=.
4774     for ac_prog in egrep; do
4775     for ac_exec_ext in '' $ac_executable_extensions; do
4776       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4777       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4778 # Check for GNU ac_path_EGREP and select it if it is found.
4779   # Check for GNU $ac_path_EGREP
4780 case `"$ac_path_EGREP" --version 2>&1` in
4781 *GNU*)
4782   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4783 *)
4784   ac_count=0
4785   $as_echo_n 0123456789 >"conftest.in"
4786   while :
4787   do
4788     cat "conftest.in" "conftest.in" >"conftest.tmp"
4789     mv "conftest.tmp" "conftest.in"
4790     cp "conftest.in" "conftest.nl"
4791     $as_echo 'EGREP' >> "conftest.nl"
4792     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794     as_fn_arith $ac_count + 1 && ac_count=$as_val
4795     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4796       # Best one so far, save it but keep looking for a better one
4797       ac_cv_path_EGREP="$ac_path_EGREP"
4798       ac_path_EGREP_max=$ac_count
4799     fi
4800     # 10*(2^10) chars as input seems more than enough
4801     test $ac_count -gt 10 && break
4802   done
4803   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 esac
4805
4806       $ac_path_EGREP_found && break 3
4807     done
4808   done
4809   done
4810 IFS=$as_save_IFS
4811   if test -z "$ac_cv_path_EGREP"; then
4812     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813   fi
4814 else
4815   ac_cv_path_EGREP=$EGREP
4816 fi
4817
4818    fi
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4821 $as_echo "$ac_cv_path_EGREP" >&6; }
4822  EGREP="$ac_cv_path_EGREP"
4823
4824
4825
4826   # Keep these sync'd with the list in Makefile.am.  The first provides an
4827   # expandable list at autoconf time; the second provides an expandable list
4828   # (i.e., shell variable) at configure time.
4829
4830   SUBDIRS='include libsupc++ python src doc po testsuite'
4831
4832   # These need to be absolute paths, yet at the same time need to
4833   # canonicalize only relative paths, because then amd will not unmount
4834   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4835   glibcxx_builddir=`${PWDCMD-pwd}`
4836   case $srcdir in
4837     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4838     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4839   esac
4840   toplevel_srcdir=${glibcxx_srcdir}/..
4841
4842
4843
4844
4845   # We use these options to decide which functions to include.  They are
4846   # set from the top level.
4847
4848 # Check whether --with-target-subdir was given.
4849 if test "${with_target_subdir+set}" = set; then :
4850   withval=$with_target_subdir;
4851 fi
4852
4853
4854
4855 # Check whether --with-cross-host was given.
4856 if test "${with_cross_host+set}" = set; then :
4857   withval=$with_cross_host;
4858 fi
4859
4860
4861
4862 # Check whether --with-newlib was given.
4863 if test "${with_newlib+set}" = set; then :
4864   withval=$with_newlib;
4865 fi
4866
4867
4868   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4869   # available).  Uncomment the next line to force a particular method.
4870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4872 LN_S=$as_ln_s
4873 if test "$LN_S" = "ln -s"; then
4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 else
4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4879 fi
4880
4881   #LN_S='cp -p'
4882
4883   if test -n "$ac_tool_prefix"; then
4884   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}as; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_AS+set}" = set; then :
4889   $as_echo_n "(cached) " >&6
4890 else
4891   if test -n "$AS"; then
4892   ac_cv_prog_AS="$AS" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4896 do
4897   IFS=$as_save_IFS
4898   test -z "$as_dir" && as_dir=.
4899     for ac_exec_ext in '' $ac_executable_extensions; do
4900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901     ac_cv_prog_AS="${ac_tool_prefix}as"
4902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903     break 2
4904   fi
4905 done
4906   done
4907 IFS=$as_save_IFS
4908
4909 fi
4910 fi
4911 AS=$ac_cv_prog_AS
4912 if test -n "$AS"; then
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4914 $as_echo "$AS" >&6; }
4915 else
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 fi
4919
4920
4921 fi
4922 if test -z "$ac_cv_prog_AS"; then
4923   ac_ct_AS=$AS
4924   # Extract the first word of "as", so it can be a program name with args.
4925 set dummy as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4929   $as_echo_n "(cached) " >&6
4930 else
4931   if test -n "$ac_ct_AS"; then
4932   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937   IFS=$as_save_IFS
4938   test -z "$as_dir" && as_dir=.
4939     for ac_exec_ext in '' $ac_executable_extensions; do
4940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941     ac_cv_prog_ac_ct_AS="as"
4942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943     break 2
4944   fi
4945 done
4946   done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4952 if test -n "$ac_ct_AS"; then
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4954 $as_echo "$ac_ct_AS" >&6; }
4955 else
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960   if test "x$ac_ct_AS" = x; then
4961     AS=""
4962   else
4963     case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969     AS=$ac_ct_AS
4970   fi
4971 else
4972   AS="$ac_cv_prog_AS"
4973 fi
4974
4975   if test -n "$ac_tool_prefix"; then
4976   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}ar; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_AR+set}" = set; then :
4981   $as_echo_n "(cached) " >&6
4982 else
4983   if test -n "$AR"; then
4984   ac_cv_prog_AR="$AR" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989   IFS=$as_save_IFS
4990   test -z "$as_dir" && as_dir=.
4991     for ac_exec_ext in '' $ac_executable_extensions; do
4992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993     ac_cv_prog_AR="${ac_tool_prefix}ar"
4994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995     break 2
4996   fi
4997 done
4998   done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 AR=$ac_cv_prog_AR
5004 if test -n "$AR"; then
5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5006 $as_echo "$AR" >&6; }
5007 else
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012
5013 fi
5014 if test -z "$ac_cv_prog_AR"; then
5015   ac_ct_AR=$AR
5016   # Extract the first word of "ar", so it can be a program name with args.
5017 set dummy ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   if test -n "$ac_ct_AR"; then
5024   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029   IFS=$as_save_IFS
5030   test -z "$as_dir" && as_dir=.
5031     for ac_exec_ext in '' $ac_executable_extensions; do
5032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033     ac_cv_prog_ac_ct_AR="ar"
5034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035     break 2
5036   fi
5037 done
5038   done
5039 IFS=$as_save_IFS
5040
5041 fi
5042 fi
5043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5044 if test -n "$ac_ct_AR"; then
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5046 $as_echo "$ac_ct_AR" >&6; }
5047 else
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 fi
5051
5052   if test "x$ac_ct_AR" = x; then
5053     AR=""
5054   else
5055     case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061     AR=$ac_ct_AR
5062   fi
5063 else
5064   AR="$ac_cv_prog_AR"
5065 fi
5066
5067   if test -n "$ac_tool_prefix"; then
5068   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5073   $as_echo_n "(cached) " >&6
5074 else
5075   if test -n "$RANLIB"; then
5076   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081   IFS=$as_save_IFS
5082   test -z "$as_dir" && as_dir=.
5083     for ac_exec_ext in '' $ac_executable_extensions; do
5084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087     break 2
5088   fi
5089 done
5090   done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 RANLIB=$ac_cv_prog_RANLIB
5096 if test -n "$RANLIB"; then
5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5098 $as_echo "$RANLIB" >&6; }
5099 else
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104
5105 fi
5106 if test -z "$ac_cv_prog_RANLIB"; then
5107   ac_ct_RANLIB=$RANLIB
5108   # Extract the first word of "ranlib", so it can be a program name with args.
5109 set dummy ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5113   $as_echo_n "(cached) " >&6
5114 else
5115   if test -n "$ac_ct_RANLIB"; then
5116   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5120 do
5121   IFS=$as_save_IFS
5122   test -z "$as_dir" && as_dir=.
5123     for ac_exec_ext in '' $ac_executable_extensions; do
5124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125     ac_cv_prog_ac_ct_RANLIB="ranlib"
5126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127     break 2
5128   fi
5129 done
5130   done
5131 IFS=$as_save_IFS
5132
5133 fi
5134 fi
5135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5136 if test -n "$ac_ct_RANLIB"; then
5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5138 $as_echo "$ac_ct_RANLIB" >&6; }
5139 else
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5142 fi
5143
5144   if test "x$ac_ct_RANLIB" = x; then
5145     RANLIB="ranlib-not-found-in-path-error"
5146   else
5147     case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153     RANLIB=$ac_ct_RANLIB
5154   fi
5155 else
5156   RANLIB="$ac_cv_prog_RANLIB"
5157 fi
5158
5159
5160
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5162 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5163     # Check whether --enable-maintainer-mode was given.
5164 if test "${enable_maintainer_mode+set}" = set; then :
5165   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5166 else
5167   USE_MAINTAINER_MODE=no
5168 fi
5169
5170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5171 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5172    if test $USE_MAINTAINER_MODE = yes; then
5173   MAINTAINER_MODE_TRUE=
5174   MAINTAINER_MODE_FALSE='#'
5175 else
5176   MAINTAINER_MODE_TRUE='#'
5177   MAINTAINER_MODE_FALSE=
5178 fi
5179
5180   MAINT=$MAINTAINER_MODE_TRUE
5181
5182
5183
5184   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5185   # which are themselves conditionally expanded.
5186   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5187   ## other macros from doing the same.  This should be automated.)  -pme
5188
5189   # Check for uClibc since Linux platforms use different configuration
5190   # directories depending on the C library in use.
5191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h.  */
5193
5194   #include <stdio.h>
5195   #if __UCLIBC__
5196     _using_uclibc
5197   #endif
5198
5199 _ACEOF
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5202   uclibc=yes
5203 else
5204   uclibc=no
5205 fi
5206 rm -f conftest*
5207
5208
5209   # Find platform-specific directories containing configuration info.
5210   # Also possibly modify flags used elsewhere, as needed by the platform.
5211
5212   . $glibcxx_srcdir/configure.host
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5214 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5215   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5216 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5217
5218
5219
5220 if test "x${with_newlib}" != "xyes"; then
5221   enable_dlopen=yes
5222
5223
5224
5225 fi
5226 case `pwd` in
5227   *\ * | *\     *)
5228     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5229 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5230 esac
5231
5232
5233
5234 macro_version='2.2.7a'
5235 macro_revision='1.3134'
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249 ltmain="$ac_aux_dir/ltmain.sh"
5250
5251 # Backslashify metacharacters that are still active within
5252 # double-quoted strings.
5253 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5254
5255 # Same as above, but do not quote variable references.
5256 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5257
5258 # Sed substitution to delay expansion of an escaped shell variable in a
5259 # double_quote_subst'ed string.
5260 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5261
5262 # Sed substitution to delay expansion of an escaped single quote.
5263 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5264
5265 # Sed substitution to avoid accidental globbing in evaled expressions
5266 no_glob_subst='s/\*/\\\*/g'
5267
5268 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5270 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5271
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5273 $as_echo_n "checking how to print strings... " >&6; }
5274 # Test print first, because it will be a builtin if present.
5275 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5276    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5277   ECHO='print -r --'
5278 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5279   ECHO='printf %s\n'
5280 else
5281   # Use this function as a fallback that always works.
5282   func_fallback_echo ()
5283   {
5284     eval 'cat <<_LTECHO_EOF
5285 $1
5286 _LTECHO_EOF'
5287   }
5288   ECHO='func_fallback_echo'
5289 fi
5290
5291 # func_echo_all arg...
5292 # Invoke $ECHO with all args, space-separated.
5293 func_echo_all ()
5294 {
5295     $ECHO ""
5296 }
5297
5298 case "$ECHO" in
5299   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5300 $as_echo "printf" >&6; } ;;
5301   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5302 $as_echo "print -r" >&6; } ;;
5303   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5304 $as_echo "cat" >&6; } ;;
5305 esac
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5321 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5322 if test "${ac_cv_path_SED+set}" = set; then :
5323   $as_echo_n "(cached) " >&6
5324 else
5325             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5326      for ac_i in 1 2 3 4 5 6 7; do
5327        ac_script="$ac_script$as_nl$ac_script"
5328      done
5329      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5330      { ac_script=; unset ac_script;}
5331      if test -z "$SED"; then
5332   ac_path_SED_found=false
5333   # Loop through the user's path and test for each of PROGNAME-LIST
5334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5336 do
5337   IFS=$as_save_IFS
5338   test -z "$as_dir" && as_dir=.
5339     for ac_prog in sed gsed; do
5340     for ac_exec_ext in '' $ac_executable_extensions; do
5341       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5342       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5343 # Check for GNU ac_path_SED and select it if it is found.
5344   # Check for GNU $ac_path_SED
5345 case `"$ac_path_SED" --version 2>&1` in
5346 *GNU*)
5347   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5348 *)
5349   ac_count=0
5350   $as_echo_n 0123456789 >"conftest.in"
5351   while :
5352   do
5353     cat "conftest.in" "conftest.in" >"conftest.tmp"
5354     mv "conftest.tmp" "conftest.in"
5355     cp "conftest.in" "conftest.nl"
5356     $as_echo '' >> "conftest.nl"
5357     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359     as_fn_arith $ac_count + 1 && ac_count=$as_val
5360     if test $ac_count -gt ${ac_path_SED_max-0}; then
5361       # Best one so far, save it but keep looking for a better one
5362       ac_cv_path_SED="$ac_path_SED"
5363       ac_path_SED_max=$ac_count
5364     fi
5365     # 10*(2^10) chars as input seems more than enough
5366     test $ac_count -gt 10 && break
5367   done
5368   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5369 esac
5370
5371       $ac_path_SED_found && break 3
5372     done
5373   done
5374   done
5375 IFS=$as_save_IFS
5376   if test -z "$ac_cv_path_SED"; then
5377     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5378   fi
5379 else
5380   ac_cv_path_SED=$SED
5381 fi
5382
5383 fi
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5385 $as_echo "$ac_cv_path_SED" >&6; }
5386  SED="$ac_cv_path_SED"
5387   rm -f conftest.sed
5388
5389 test -z "$SED" && SED=sed
5390 Xsed="$SED -e 1s/^X//"
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5403 $as_echo_n "checking for fgrep... " >&6; }
5404 if test "${ac_cv_path_FGREP+set}" = set; then :
5405   $as_echo_n "(cached) " >&6
5406 else
5407   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5408    then ac_cv_path_FGREP="$GREP -F"
5409    else
5410      if test -z "$FGREP"; then
5411   ac_path_FGREP_found=false
5412   # Loop through the user's path and test for each of PROGNAME-LIST
5413   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5415 do
5416   IFS=$as_save_IFS
5417   test -z "$as_dir" && as_dir=.
5418     for ac_prog in fgrep; do
5419     for ac_exec_ext in '' $ac_executable_extensions; do
5420       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5421       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5422 # Check for GNU ac_path_FGREP and select it if it is found.
5423   # Check for GNU $ac_path_FGREP
5424 case `"$ac_path_FGREP" --version 2>&1` in
5425 *GNU*)
5426   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5427 *)
5428   ac_count=0
5429   $as_echo_n 0123456789 >"conftest.in"
5430   while :
5431   do
5432     cat "conftest.in" "conftest.in" >"conftest.tmp"
5433     mv "conftest.tmp" "conftest.in"
5434     cp "conftest.in" "conftest.nl"
5435     $as_echo 'FGREP' >> "conftest.nl"
5436     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438     as_fn_arith $ac_count + 1 && ac_count=$as_val
5439     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5440       # Best one so far, save it but keep looking for a better one
5441       ac_cv_path_FGREP="$ac_path_FGREP"
5442       ac_path_FGREP_max=$ac_count
5443     fi
5444     # 10*(2^10) chars as input seems more than enough
5445     test $ac_count -gt 10 && break
5446   done
5447   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5448 esac
5449
5450       $ac_path_FGREP_found && break 3
5451     done
5452   done
5453   done
5454 IFS=$as_save_IFS
5455   if test -z "$ac_cv_path_FGREP"; then
5456     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5457   fi
5458 else
5459   ac_cv_path_FGREP=$FGREP
5460 fi
5461
5462    fi
5463 fi
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5465 $as_echo "$ac_cv_path_FGREP" >&6; }
5466  FGREP="$ac_cv_path_FGREP"
5467
5468
5469 test -z "$GREP" && GREP=grep
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489 # Check whether --with-gnu-ld was given.
5490 if test "${with_gnu_ld+set}" = set; then :
5491   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5492 else
5493   with_gnu_ld=no
5494 fi
5495
5496 ac_prog=ld
5497 if test "$GCC" = yes; then
5498   # Check if gcc -print-prog-name=ld gives a path.
5499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5500 $as_echo_n "checking for ld used by $CC... " >&6; }
5501   case $host in
5502   *-*-mingw*)
5503     # gcc leaves a trailing carriage return which upsets mingw
5504     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5505   *)
5506     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5507   esac
5508   case $ac_prog in
5509     # Accept absolute paths.
5510     [\\/]* | ?:[\\/]*)
5511       re_direlt='/[^/][^/]*/\.\./'
5512       # Canonicalize the pathname of ld
5513       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5514       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5515         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5516       done
5517       test -z "$LD" && LD="$ac_prog"
5518       ;;
5519   "")
5520     # If it fails, then pretend we aren't using GCC.
5521     ac_prog=ld
5522     ;;
5523   *)
5524     # If it is relative, then search for the first ld in PATH.
5525     with_gnu_ld=unknown
5526     ;;
5527   esac
5528 elif test "$with_gnu_ld" = yes; then
5529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5530 $as_echo_n "checking for GNU ld... " >&6; }
5531 else
5532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5533 $as_echo_n "checking for non-GNU ld... " >&6; }
5534 fi
5535 if test "${lt_cv_path_LD+set}" = set; then :
5536   $as_echo_n "(cached) " >&6
5537 else
5538   if test -z "$LD"; then
5539   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5540   for ac_dir in $PATH; do
5541     IFS="$lt_save_ifs"
5542     test -z "$ac_dir" && ac_dir=.
5543     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5544       lt_cv_path_LD="$ac_dir/$ac_prog"
5545       # Check to see if the program is GNU ld.  I'd rather use --version,
5546       # but apparently some variants of GNU ld only accept -v.
5547       # Break only if it was the GNU/non-GNU ld that we prefer.
5548       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5549       *GNU* | *'with BFD'*)
5550         test "$with_gnu_ld" != no && break
5551         ;;
5552       *)
5553         test "$with_gnu_ld" != yes && break
5554         ;;
5555       esac
5556     fi
5557   done
5558   IFS="$lt_save_ifs"
5559 else
5560   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5561 fi
5562 fi
5563
5564 LD="$lt_cv_path_LD"
5565 if test -n "$LD"; then
5566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5567 $as_echo "$LD" >&6; }
5568 else
5569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 fi
5572 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5575 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5579 case `$LD -v 2>&1 </dev/null` in
5580 *GNU* | *'with BFD'*)
5581   lt_cv_prog_gnu_ld=yes
5582   ;;
5583 *)
5584   lt_cv_prog_gnu_ld=no
5585   ;;
5586 esac
5587 fi
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5590 with_gnu_ld=$lt_cv_prog_gnu_ld
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5601 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5602 if test "${lt_cv_path_NM+set}" = set; then :
5603   $as_echo_n "(cached) " >&6
5604 else
5605   if test -n "$NM"; then
5606   # Let the user override the test.
5607   lt_cv_path_NM="$NM"
5608 else
5609   lt_nm_to_check="${ac_tool_prefix}nm"
5610   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5611     lt_nm_to_check="$lt_nm_to_check nm"
5612   fi
5613   for lt_tmp_nm in $lt_nm_to_check; do
5614     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5615     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5616       IFS="$lt_save_ifs"
5617       test -z "$ac_dir" && ac_dir=.
5618       tmp_nm="$ac_dir/$lt_tmp_nm"
5619       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5620         # Check to see if the nm accepts a BSD-compat flag.
5621         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5622         #   nm: unknown option "B" ignored
5623         # Tru64's nm complains that /dev/null is an invalid object file
5624         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5625         */dev/null* | *'Invalid file or object type'*)
5626           lt_cv_path_NM="$tmp_nm -B"
5627           break
5628           ;;
5629         *)
5630           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5631           */dev/null*)
5632             lt_cv_path_NM="$tmp_nm -p"
5633             break
5634             ;;
5635           *)
5636             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5637             continue # so that we can try to find one that supports BSD flags
5638             ;;
5639           esac
5640           ;;
5641         esac
5642       fi
5643     done
5644     IFS="$lt_save_ifs"
5645   done
5646   : ${lt_cv_path_NM=no}
5647 fi
5648 fi
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5650 $as_echo "$lt_cv_path_NM" >&6; }
5651 if test "$lt_cv_path_NM" != "no"; then
5652   NM="$lt_cv_path_NM"
5653 else
5654   # Didn't find any BSD compatible name lister, look for dumpbin.
5655   if test -n "$DUMPBIN"; then :
5656     # Let the user override the test.
5657   else
5658     if test -n "$ac_tool_prefix"; then
5659   for ac_prog in dumpbin "link -dump"
5660   do
5661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5666   $as_echo_n "(cached) " >&6
5667 else
5668   if test -n "$DUMPBIN"; then
5669   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5673 do
5674   IFS=$as_save_IFS
5675   test -z "$as_dir" && as_dir=.
5676     for ac_exec_ext in '' $ac_executable_extensions; do
5677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680     break 2
5681   fi
5682 done
5683   done
5684 IFS=$as_save_IFS
5685
5686 fi
5687 fi
5688 DUMPBIN=$ac_cv_prog_DUMPBIN
5689 if test -n "$DUMPBIN"; then
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5691 $as_echo "$DUMPBIN" >&6; }
5692 else
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5695 fi
5696
5697
5698     test -n "$DUMPBIN" && break
5699   done
5700 fi
5701 if test -z "$DUMPBIN"; then
5702   ac_ct_DUMPBIN=$DUMPBIN
5703   for ac_prog in dumpbin "link -dump"
5704 do
5705   # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5710   $as_echo_n "(cached) " >&6
5711 else
5712   if test -n "$ac_ct_DUMPBIN"; then
5713   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718   IFS=$as_save_IFS
5719   test -z "$as_dir" && as_dir=.
5720     for ac_exec_ext in '' $ac_executable_extensions; do
5721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724     break 2
5725   fi
5726 done
5727   done
5728 IFS=$as_save_IFS
5729
5730 fi
5731 fi
5732 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5733 if test -n "$ac_ct_DUMPBIN"; then
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5735 $as_echo "$ac_ct_DUMPBIN" >&6; }
5736 else
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739 fi
5740
5741
5742   test -n "$ac_ct_DUMPBIN" && break
5743 done
5744
5745   if test "x$ac_ct_DUMPBIN" = x; then
5746     DUMPBIN=":"
5747   else
5748     case $cross_compiling:$ac_tool_warned in
5749 yes:)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5753 esac
5754     DUMPBIN=$ac_ct_DUMPBIN
5755   fi
5756 fi
5757
5758     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5759     *COFF*)
5760       DUMPBIN="$DUMPBIN -symbols"
5761       ;;
5762     *)
5763       DUMPBIN=:
5764       ;;
5765     esac
5766   fi
5767
5768   if test "$DUMPBIN" != ":"; then
5769     NM="$DUMPBIN"
5770   fi
5771 fi
5772 test -z "$NM" && NM=nm
5773
5774
5775
5776
5777
5778
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5780 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5781 if test "${lt_cv_nm_interface+set}" = set; then :
5782   $as_echo_n "(cached) " >&6
5783 else
5784   lt_cv_nm_interface="BSD nm"
5785   echo "int some_variable = 0;" > conftest.$ac_ext
5786   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5787   (eval "$ac_compile" 2>conftest.err)
5788   cat conftest.err >&5
5789   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5790   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5791   cat conftest.err >&5
5792   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5793   cat conftest.out >&5
5794   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5795     lt_cv_nm_interface="MS dumpbin"
5796   fi
5797   rm -f conftest*
5798 fi
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5800 $as_echo "$lt_cv_nm_interface" >&6; }
5801
5802 # find the maximum length of command line arguments
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5804 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5805 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5806   $as_echo_n "(cached) " >&6
5807 else
5808     i=0
5809   teststring="ABCD"
5810
5811   case $build_os in
5812   msdosdjgpp*)
5813     # On DJGPP, this test can blow up pretty badly due to problems in libc
5814     # (any single argument exceeding 2000 bytes causes a buffer overrun
5815     # during glob expansion).  Even if it were fixed, the result of this
5816     # check would be larger than it should be.
5817     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5818     ;;
5819
5820   gnu*)
5821     # Under GNU Hurd, this test is not required because there is
5822     # no limit to the length of command line arguments.
5823     # Libtool will interpret -1 as no limit whatsoever
5824     lt_cv_sys_max_cmd_len=-1;
5825     ;;
5826
5827   cygwin* | mingw* | cegcc*)
5828     # On Win9x/ME, this test blows up -- it succeeds, but takes
5829     # about 5 minutes as the teststring grows exponentially.
5830     # Worse, since 9x/ME are not pre-emptively multitasking,
5831     # you end up with a "frozen" computer, even though with patience
5832     # the test eventually succeeds (with a max line length of 256k).
5833     # Instead, let's just punt: use the minimum linelength reported by
5834     # all of the supported platforms: 8192 (on NT/2K/XP).
5835     lt_cv_sys_max_cmd_len=8192;
5836     ;;
5837
5838   mint*)
5839     # On MiNT this can take a long time and run out of memory.
5840     lt_cv_sys_max_cmd_len=8192;
5841     ;;
5842
5843   amigaos*)
5844     # On AmigaOS with pdksh, this test takes hours, literally.
5845     # So we just punt and use a minimum line length of 8192.
5846     lt_cv_sys_max_cmd_len=8192;
5847     ;;
5848
5849   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5850     # This has been around since 386BSD, at least.  Likely further.
5851     if test -x /sbin/sysctl; then
5852       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5853     elif test -x /usr/sbin/sysctl; then
5854       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5855     else
5856       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5857     fi
5858     # And add a safety zone
5859     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5860     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5861     ;;
5862
5863   interix*)
5864     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5865     lt_cv_sys_max_cmd_len=196608
5866     ;;
5867
5868   osf*)
5869     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5870     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5871     # nice to cause kernel panics so lets avoid the loop below.
5872     # First set a reasonable default.
5873     lt_cv_sys_max_cmd_len=16384
5874     #
5875     if test -x /sbin/sysconfig; then
5876       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5877         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5878       esac
5879     fi
5880     ;;
5881   sco3.2v5*)
5882     lt_cv_sys_max_cmd_len=102400
5883     ;;
5884   sysv5* | sco5v6* | sysv4.2uw2*)
5885     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5886     if test -n "$kargmax"; then
5887       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5888     else
5889       lt_cv_sys_max_cmd_len=32768
5890     fi
5891     ;;
5892   *)
5893     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5894     if test -n "$lt_cv_sys_max_cmd_len"; then
5895       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5896       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5897     else
5898       # Make teststring a little bigger before we do anything with it.
5899       # a 1K string should be a reasonable start.
5900       for i in 1 2 3 4 5 6 7 8 ; do
5901         teststring=$teststring$teststring
5902       done
5903       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5904       # If test is not a shell built-in, we'll probably end up computing a
5905       # maximum length that is only half of the actual maximum length, but
5906       # we can't tell.
5907       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5908                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5909               test $i != 17 # 1/2 MB should be enough
5910       do
5911         i=`expr $i + 1`
5912         teststring=$teststring$teststring
5913       done
5914       # Only check the string length outside the loop.
5915       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5916       teststring=
5917       # Add a significant safety factor because C++ compilers can tack on
5918       # massive amounts of additional arguments before passing them to the
5919       # linker.  It appears as though 1/2 is a usable value.
5920       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5921     fi
5922     ;;
5923   esac
5924
5925 fi
5926
5927 if test -n $lt_cv_sys_max_cmd_len ; then
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5929 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5930 else
5931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5932 $as_echo "none" >&6; }
5933 fi
5934 max_cmd_len=$lt_cv_sys_max_cmd_len
5935
5936
5937
5938
5939
5940
5941 : ${CP="cp -f"}
5942 : ${MV="mv -f"}
5943 : ${RM="rm -f"}
5944
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5946 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5947 # Try some XSI features
5948 xsi_shell=no
5949 ( _lt_dummy="a/b/c"
5950   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5951       = c,a/b,, \
5952     && eval 'test $(( 1 + 1 )) -eq 2 \
5953     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5954   && xsi_shell=yes
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5956 $as_echo "$xsi_shell" >&6; }
5957
5958
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5960 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5961 lt_shell_append=no
5962 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5963     >/dev/null 2>&1 \
5964   && lt_shell_append=yes
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5966 $as_echo "$lt_shell_append" >&6; }
5967
5968
5969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5970   lt_unset=unset
5971 else
5972   lt_unset=false
5973 fi
5974
5975
5976
5977
5978
5979 # test EBCDIC or ASCII
5980 case `echo X|tr X '\101'` in
5981  A) # ASCII based system
5982     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5983   lt_SP2NL='tr \040 \012'
5984   lt_NL2SP='tr \015\012 \040\040'
5985   ;;
5986  *) # EBCDIC based system
5987   lt_SP2NL='tr \100 \n'
5988   lt_NL2SP='tr \r\n \100\100'
5989   ;;
5990 esac
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6001 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6002 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6003   $as_echo_n "(cached) " >&6
6004 else
6005   lt_cv_ld_reload_flag='-r'
6006 fi
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6008 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6009 reload_flag=$lt_cv_ld_reload_flag
6010 case $reload_flag in
6011 "" | " "*) ;;
6012 *) reload_flag=" $reload_flag" ;;
6013 esac
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6015 case $host_os in
6016   darwin*)
6017     if test "$GCC" = yes; then
6018       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6019     else
6020       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6021     fi
6022     ;;
6023 esac
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033 if test -n "$ac_tool_prefix"; then
6034   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6039   $as_echo_n "(cached) " >&6
6040 else
6041   if test -n "$OBJDUMP"; then
6042   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6046 do
6047   IFS=$as_save_IFS
6048   test -z "$as_dir" && as_dir=.
6049     for ac_exec_ext in '' $ac_executable_extensions; do
6050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053     break 2
6054   fi
6055 done
6056   done
6057 IFS=$as_save_IFS
6058
6059 fi
6060 fi
6061 OBJDUMP=$ac_cv_prog_OBJDUMP
6062 if test -n "$OBJDUMP"; then
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6064 $as_echo "$OBJDUMP" >&6; }
6065 else
6066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6068 fi
6069
6070
6071 fi
6072 if test -z "$ac_cv_prog_OBJDUMP"; then
6073   ac_ct_OBJDUMP=$OBJDUMP
6074   # Extract the first word of "objdump", so it can be a program name with args.
6075 set dummy objdump; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6079   $as_echo_n "(cached) " >&6
6080 else
6081   if test -n "$ac_ct_OBJDUMP"; then
6082   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6086 do
6087   IFS=$as_save_IFS
6088   test -z "$as_dir" && as_dir=.
6089     for ac_exec_ext in '' $ac_executable_extensions; do
6090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093     break 2
6094   fi
6095 done
6096   done
6097 IFS=$as_save_IFS
6098
6099 fi
6100 fi
6101 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6102 if test -n "$ac_ct_OBJDUMP"; then
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6104 $as_echo "$ac_ct_OBJDUMP" >&6; }
6105 else
6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6108 fi
6109
6110   if test "x$ac_ct_OBJDUMP" = x; then
6111     OBJDUMP="false"
6112   else
6113     case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119     OBJDUMP=$ac_ct_OBJDUMP
6120   fi
6121 else
6122   OBJDUMP="$ac_cv_prog_OBJDUMP"
6123 fi
6124
6125 test -z "$OBJDUMP" && OBJDUMP=objdump
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6136 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6137 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6138   $as_echo_n "(cached) " >&6
6139 else
6140   lt_cv_file_magic_cmd='$MAGIC_CMD'
6141 lt_cv_file_magic_test_file=
6142 lt_cv_deplibs_check_method='unknown'
6143 # Need to set the preceding variable on all platforms that support
6144 # interlibrary dependencies.
6145 # 'none' -- dependencies not supported.
6146 # `unknown' -- same as none, but documents that we really don't know.
6147 # 'pass_all' -- all dependencies passed with no checks.
6148 # 'test_compile' -- check by making test program.
6149 # 'file_magic [[regex]]' -- check by looking for files in library path
6150 # which responds to the $file_magic_cmd with a given extended regex.
6151 # If you have `file' or equivalent on your system and you're not sure
6152 # whether `pass_all' will *always* work, you probably want this one.
6153
6154 case $host_os in
6155 aix[4-9]*)
6156   lt_cv_deplibs_check_method=pass_all
6157   ;;
6158
6159 beos*)
6160   lt_cv_deplibs_check_method=pass_all
6161   ;;
6162
6163 bsdi[45]*)
6164   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6165   lt_cv_file_magic_cmd='/usr/bin/file -L'
6166   lt_cv_file_magic_test_file=/shlib/libc.so
6167   ;;
6168
6169 cygwin*)
6170   # func_win32_libid is a shell function defined in ltmain.sh
6171   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6172   lt_cv_file_magic_cmd='func_win32_libid'
6173   ;;
6174
6175 mingw* | pw32*)
6176   # Base MSYS/MinGW do not provide the 'file' command needed by
6177   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6178   # unless we find 'file', for example because we are cross-compiling.
6179   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6180   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6181     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6182     lt_cv_file_magic_cmd='func_win32_libid'
6183   else
6184     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6185     lt_cv_file_magic_cmd='$OBJDUMP -f'
6186   fi
6187   ;;
6188
6189 cegcc*)
6190   # use the weaker test based on 'objdump'. See mingw*.
6191   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6192   lt_cv_file_magic_cmd='$OBJDUMP -f'
6193   ;;
6194
6195 darwin* | rhapsody*)
6196   lt_cv_deplibs_check_method=pass_all
6197   ;;
6198
6199 freebsd* | dragonfly*)
6200   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6201     case $host_cpu in
6202     i*86 )
6203       # Not sure whether the presence of OpenBSD here was a mistake.
6204       # Let's accept both of them until this is cleared up.
6205       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6206       lt_cv_file_magic_cmd=/usr/bin/file
6207       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6208       ;;
6209     esac
6210   else
6211     lt_cv_deplibs_check_method=pass_all
6212   fi
6213   ;;
6214
6215 gnu*)
6216   lt_cv_deplibs_check_method=pass_all
6217   ;;
6218
6219 haiku*)
6220   lt_cv_deplibs_check_method=pass_all
6221   ;;
6222
6223 hpux10.20* | hpux11*)
6224   lt_cv_file_magic_cmd=/usr/bin/file
6225   case $host_cpu in
6226   ia64*)
6227     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6228     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6229     ;;
6230   hppa*64*)
6231     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]'
6232     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6233     ;;
6234   *)
6235     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6236     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6237     ;;
6238   esac
6239   ;;
6240
6241 interix[3-9]*)
6242   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6243   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6244   ;;
6245
6246 irix5* | irix6* | nonstopux*)
6247   case $LD in
6248   *-32|*"-32 ") libmagic=32-bit;;
6249   *-n32|*"-n32 ") libmagic=N32;;
6250   *-64|*"-64 ") libmagic=64-bit;;
6251   *) libmagic=never-match;;
6252   esac
6253   lt_cv_deplibs_check_method=pass_all
6254   ;;
6255
6256 # This must be Linux ELF.
6257 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6258   lt_cv_deplibs_check_method=pass_all
6259   ;;
6260
6261 netbsd*)
6262   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6263     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6264   else
6265     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6266   fi
6267   ;;
6268
6269 newos6*)
6270   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6271   lt_cv_file_magic_cmd=/usr/bin/file
6272   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6273   ;;
6274
6275 *nto* | *qnx*)
6276   lt_cv_deplibs_check_method=pass_all
6277   ;;
6278
6279 openbsd*)
6280   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6281     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6282   else
6283     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6284   fi
6285   ;;
6286
6287 osf3* | osf4* | osf5*)
6288   lt_cv_deplibs_check_method=pass_all
6289   ;;
6290
6291 rdos*)
6292   lt_cv_deplibs_check_method=pass_all
6293   ;;
6294
6295 solaris*)
6296   lt_cv_deplibs_check_method=pass_all
6297   ;;
6298
6299 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6300   lt_cv_deplibs_check_method=pass_all
6301   ;;
6302
6303 sysv4 | sysv4.3*)
6304   case $host_vendor in
6305   motorola)
6306     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]'
6307     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6308     ;;
6309   ncr)
6310     lt_cv_deplibs_check_method=pass_all
6311     ;;
6312   sequent)
6313     lt_cv_file_magic_cmd='/bin/file'
6314     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6315     ;;
6316   sni)
6317     lt_cv_file_magic_cmd='/bin/file'
6318     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6319     lt_cv_file_magic_test_file=/lib/libc.so
6320     ;;
6321   siemens)
6322     lt_cv_deplibs_check_method=pass_all
6323     ;;
6324   pc)
6325     lt_cv_deplibs_check_method=pass_all
6326     ;;
6327   esac
6328   ;;
6329
6330 tpf*)
6331   lt_cv_deplibs_check_method=pass_all
6332   ;;
6333 esac
6334
6335 fi
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6337 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6338 file_magic_cmd=$lt_cv_file_magic_cmd
6339 deplibs_check_method=$lt_cv_deplibs_check_method
6340 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353 if test -n "$ac_tool_prefix"; then
6354   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6355 set dummy ${ac_tool_prefix}ar; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357 $as_echo_n "checking for $ac_word... " >&6; }
6358 if test "${ac_cv_prog_AR+set}" = set; then :
6359   $as_echo_n "(cached) " >&6
6360 else
6361   if test -n "$AR"; then
6362   ac_cv_prog_AR="$AR" # Let the user override the test.
6363 else
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH
6366 do
6367   IFS=$as_save_IFS
6368   test -z "$as_dir" && as_dir=.
6369     for ac_exec_ext in '' $ac_executable_extensions; do
6370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371     ac_cv_prog_AR="${ac_tool_prefix}ar"
6372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373     break 2
6374   fi
6375 done
6376   done
6377 IFS=$as_save_IFS
6378
6379 fi
6380 fi
6381 AR=$ac_cv_prog_AR
6382 if test -n "$AR"; then
6383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6384 $as_echo "$AR" >&6; }
6385 else
6386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 $as_echo "no" >&6; }
6388 fi
6389
6390
6391 fi
6392 if test -z "$ac_cv_prog_AR"; then
6393   ac_ct_AR=$AR
6394   # Extract the first word of "ar", so it can be a program name with args.
6395 set dummy ar; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6399   $as_echo_n "(cached) " >&6
6400 else
6401   if test -n "$ac_ct_AR"; then
6402   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6403 else
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH
6406 do
6407   IFS=$as_save_IFS
6408   test -z "$as_dir" && as_dir=.
6409     for ac_exec_ext in '' $ac_executable_extensions; do
6410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411     ac_cv_prog_ac_ct_AR="ar"
6412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413     break 2
6414   fi
6415 done
6416   done
6417 IFS=$as_save_IFS
6418
6419 fi
6420 fi
6421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6422 if test -n "$ac_ct_AR"; then
6423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6424 $as_echo "$ac_ct_AR" >&6; }
6425 else
6426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6428 fi
6429
6430   if test "x$ac_ct_AR" = x; then
6431     AR="false"
6432   else
6433     case $cross_compiling:$ac_tool_warned in
6434 yes:)
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6438 esac
6439     AR=$ac_ct_AR
6440   fi
6441 else
6442   AR="$ac_cv_prog_AR"
6443 fi
6444
6445 test -z "$AR" && AR=ar
6446 test -z "$AR_FLAGS" && AR_FLAGS=cru
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458 if test -n "$ac_tool_prefix"; then
6459   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_STRIP+set}" = set; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$STRIP"; then
6467   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 STRIP=$ac_cv_prog_STRIP
6487 if test -n "$STRIP"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6489 $as_echo "$STRIP" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6494
6495
6496 fi
6497 if test -z "$ac_cv_prog_STRIP"; then
6498   ac_ct_STRIP=$STRIP
6499   # Extract the first word of "strip", so it can be a program name with args.
6500 set dummy strip; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -n "$ac_ct_STRIP"; then
6507   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516     ac_cv_prog_ac_ct_STRIP="strip"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done
6522 IFS=$as_save_IFS
6523
6524 fi
6525 fi
6526 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6527 if test -n "$ac_ct_STRIP"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6529 $as_echo "$ac_ct_STRIP" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 fi
6534
6535   if test "x$ac_ct_STRIP" = x; then
6536     STRIP=":"
6537   else
6538     case $cross_compiling:$ac_tool_warned in
6539 yes:)
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned=yes ;;
6543 esac
6544     STRIP=$ac_ct_STRIP
6545   fi
6546 else
6547   STRIP="$ac_cv_prog_STRIP"
6548 fi
6549
6550 test -z "$STRIP" && STRIP=:
6551
6552
6553
6554
6555
6556
6557 if test -n "$ac_tool_prefix"; then
6558   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6559 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6563   $as_echo_n "(cached) " >&6
6564 else
6565   if test -n "$RANLIB"; then
6566   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6570 do
6571   IFS=$as_save_IFS
6572   test -z "$as_dir" && as_dir=.
6573     for ac_exec_ext in '' $ac_executable_extensions; do
6574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577     break 2
6578   fi
6579 done
6580   done
6581 IFS=$as_save_IFS
6582
6583 fi
6584 fi
6585 RANLIB=$ac_cv_prog_RANLIB
6586 if test -n "$RANLIB"; then
6587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6588 $as_echo "$RANLIB" >&6; }
6589 else
6590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6592 fi
6593
6594
6595 fi
6596 if test -z "$ac_cv_prog_RANLIB"; then
6597   ac_ct_RANLIB=$RANLIB
6598   # Extract the first word of "ranlib", so it can be a program name with args.
6599 set dummy ranlib; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6603   $as_echo_n "(cached) " >&6
6604 else
6605   if test -n "$ac_ct_RANLIB"; then
6606   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6607 else
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 for as_dir in $PATH
6610 do
6611   IFS=$as_save_IFS
6612   test -z "$as_dir" && as_dir=.
6613     for ac_exec_ext in '' $ac_executable_extensions; do
6614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615     ac_cv_prog_ac_ct_RANLIB="ranlib"
6616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617     break 2
6618   fi
6619 done
6620   done
6621 IFS=$as_save_IFS
6622
6623 fi
6624 fi
6625 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6626 if test -n "$ac_ct_RANLIB"; then
6627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6628 $as_echo "$ac_ct_RANLIB" >&6; }
6629 else
6630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6632 fi
6633
6634   if test "x$ac_ct_RANLIB" = x; then
6635     RANLIB=":"
6636   else
6637     case $cross_compiling:$ac_tool_warned in
6638 yes:)
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6641 ac_tool_warned=yes ;;
6642 esac
6643     RANLIB=$ac_ct_RANLIB
6644   fi
6645 else
6646   RANLIB="$ac_cv_prog_RANLIB"
6647 fi
6648
6649 test -z "$RANLIB" && RANLIB=:
6650
6651
6652
6653
6654
6655
6656 # Determine commands to create old-style static archives.
6657 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6658 old_postinstall_cmds='chmod 644 $oldlib'
6659 old_postuninstall_cmds=
6660
6661 if test -n "$RANLIB"; then
6662   case $host_os in
6663   openbsd*)
6664     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6665     ;;
6666   *)
6667     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6668     ;;
6669   esac
6670   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6671 fi
6672
6673 case $host_os in
6674   darwin*)
6675     lock_old_archive_extraction=yes ;;
6676   *)
6677     lock_old_archive_extraction=no ;;
6678 esac
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718 # If no C compiler was specified, use CC.
6719 LTCC=${LTCC-"$CC"}
6720
6721 # If no C compiler flags were specified, use CFLAGS.
6722 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6723
6724 # Allow CC to be a program name with arguments.
6725 compiler=$CC
6726
6727
6728 # Check for command to grab the raw symbol name followed by C symbol from nm.
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6732   $as_echo_n "(cached) " >&6
6733 else
6734
6735 # These are sane defaults that work on at least a few old systems.
6736 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6737
6738 # Character class describing NM global symbol codes.
6739 symcode='[BCDEGRST]'
6740
6741 # Regexp to match symbols that can be accessed directly from C.
6742 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6743
6744 # Define system-specific variables.
6745 case $host_os in
6746 aix*)
6747   symcode='[BCDT]'
6748   ;;
6749 cygwin* | mingw* | pw32* | cegcc*)
6750   symcode='[ABCDGISTW]'
6751   ;;
6752 hpux*)
6753   if test "$host_cpu" = ia64; then
6754     symcode='[ABCDEGRST]'
6755   fi
6756   ;;
6757 irix* | nonstopux*)
6758   symcode='[BCDEGRST]'
6759   ;;
6760 osf*)
6761   symcode='[BCDEGQRST]'
6762   ;;
6763 solaris*)
6764   symcode='[BDRT]'
6765   ;;
6766 sco3.2v5*)
6767   symcode='[DT]'
6768   ;;
6769 sysv4.2uw2*)
6770   symcode='[DT]'
6771   ;;
6772 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6773   symcode='[ABDT]'
6774   ;;
6775 sysv4)
6776   symcode='[DFNSTU]'
6777   ;;
6778 esac
6779
6780 # If we're using GNU nm, then use its standard symbol codes.
6781 case `$NM -V 2>&1` in
6782 *GNU* | *'with BFD'*)
6783   symcode='[ABCDGIRSTW]' ;;
6784 esac
6785
6786 # Transform an extracted symbol line into a proper C declaration.
6787 # Some systems (esp. on ia64) link data and code symbols differently,
6788 # so use this general approach.
6789 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6790
6791 # Transform an extracted symbol line into symbol name and symbol address
6792 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6793 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'"
6794
6795 # Handle CRLF in mingw tool chain
6796 opt_cr=
6797 case $build_os in
6798 mingw*)
6799   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6800   ;;
6801 esac
6802
6803 # Try without a prefix underscore, then with it.
6804 for ac_symprfx in "" "_"; do
6805
6806   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6807   symxfrm="\\1 $ac_symprfx\\2 \\2"
6808
6809   # Write the raw and C identifiers.
6810   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6811     # Fake it for dumpbin and say T for any non-static function
6812     # and D for any global variable.
6813     # Also find C++ and __fastcall symbols from MSVC++,
6814     # which start with @ or ?.
6815     lt_cv_sys_global_symbol_pipe="$AWK '"\
6816 "     {last_section=section; section=\$ 3};"\
6817 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6818 "     \$ 0!~/External *\|/{next};"\
6819 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6820 "     {if(hide[section]) next};"\
6821 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6822 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6823 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6824 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6825 "     ' prfx=^$ac_symprfx"
6826   else
6827     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6828   fi
6829
6830   # Check to see that the pipe works correctly.
6831   pipe_works=no
6832
6833   rm -f conftest*
6834   cat > conftest.$ac_ext <<_LT_EOF
6835 #ifdef __cplusplus
6836 extern "C" {
6837 #endif
6838 char nm_test_var;
6839 void nm_test_func(void);
6840 void nm_test_func(void){}
6841 #ifdef __cplusplus
6842 }
6843 #endif
6844 int main(){nm_test_var='a';nm_test_func();return(0);}
6845 _LT_EOF
6846
6847   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6848   (eval $ac_compile) 2>&5
6849   ac_status=$?
6850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6851   test $ac_status = 0; }; then
6852     # Now try to grab the symbols.
6853     nlist=conftest.nm
6854     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6855   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6856   ac_status=$?
6857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858   test $ac_status = 0; } && test -s "$nlist"; then
6859       # Try sorting and uniquifying the output.
6860       if sort "$nlist" | uniq > "$nlist"T; then
6861         mv -f "$nlist"T "$nlist"
6862       else
6863         rm -f "$nlist"T
6864       fi
6865
6866       # Make sure that we snagged all the symbols we need.
6867       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6868         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6869           cat <<_LT_EOF > conftest.$ac_ext
6870 #ifdef __cplusplus
6871 extern "C" {
6872 #endif
6873
6874 _LT_EOF
6875           # Now generate the symbol file.
6876           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6877
6878           cat <<_LT_EOF >> conftest.$ac_ext
6879
6880 /* The mapping between symbol names and symbols.  */
6881 const struct {
6882   const char *name;
6883   void       *address;
6884 }
6885 lt__PROGRAM__LTX_preloaded_symbols[] =
6886 {
6887   { "@PROGRAM@", (void *) 0 },
6888 _LT_EOF
6889           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6890           cat <<\_LT_EOF >> conftest.$ac_ext
6891   {0, (void *) 0}
6892 };
6893
6894 /* This works around a problem in FreeBSD linker */
6895 #ifdef FREEBSD_WORKAROUND
6896 static const void *lt_preloaded_setup() {
6897   return lt__PROGRAM__LTX_preloaded_symbols;
6898 }
6899 #endif
6900
6901 #ifdef __cplusplus
6902 }
6903 #endif
6904 _LT_EOF
6905           # Now try linking the two files.
6906           mv conftest.$ac_objext conftstm.$ac_objext
6907           lt_save_LIBS="$LIBS"
6908           lt_save_CFLAGS="$CFLAGS"
6909           LIBS="conftstm.$ac_objext"
6910           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6911           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6912   (eval $ac_link) 2>&5
6913   ac_status=$?
6914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6916             pipe_works=yes
6917           fi
6918           LIBS="$lt_save_LIBS"
6919           CFLAGS="$lt_save_CFLAGS"
6920         else
6921           echo "cannot find nm_test_func in $nlist" >&5
6922         fi
6923       else
6924         echo "cannot find nm_test_var in $nlist" >&5
6925       fi
6926     else
6927       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6928     fi
6929   else
6930     echo "$progname: failed program was:" >&5
6931     cat conftest.$ac_ext >&5
6932   fi
6933   rm -rf conftest* conftst*
6934
6935   # Do not use the global_symbol_pipe unless it works.
6936   if test "$pipe_works" = yes; then
6937     break
6938   else
6939     lt_cv_sys_global_symbol_pipe=
6940   fi
6941 done
6942
6943 fi
6944
6945 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6946   lt_cv_sys_global_symbol_to_cdecl=
6947 fi
6948 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6950 $as_echo "failed" >&6; }
6951 else
6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6953 $as_echo "ok" >&6; }
6954 fi
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977 # Check whether --enable-libtool-lock was given.
6978 if test "${enable_libtool_lock+set}" = set; then :
6979   enableval=$enable_libtool_lock;
6980 fi
6981
6982 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6983
6984 # Some flags need to be propagated to the compiler or linker for good
6985 # libtool support.
6986 case $host in
6987 ia64-*-hpux*)
6988   # Find out which ABI we are using.
6989   echo 'int i;' > conftest.$ac_ext
6990   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6991   (eval $ac_compile) 2>&5
6992   ac_status=$?
6993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994   test $ac_status = 0; }; then
6995     case `/usr/bin/file conftest.$ac_objext` in
6996       *ELF-32*)
6997         HPUX_IA64_MODE="32"
6998         ;;
6999       *ELF-64*)
7000         HPUX_IA64_MODE="64"
7001         ;;
7002     esac
7003   fi
7004   rm -rf conftest*
7005   ;;
7006 *-*-irix6*)
7007   # Find out which ABI we are using.
7008   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7009   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7010   (eval $ac_compile) 2>&5
7011   ac_status=$?
7012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7013   test $ac_status = 0; }; then
7014     if test "$lt_cv_prog_gnu_ld" = yes; then
7015       case `/usr/bin/file conftest.$ac_objext` in
7016         *32-bit*)
7017           LD="${LD-ld} -melf32bsmip"
7018           ;;
7019         *N32*)
7020           LD="${LD-ld} -melf32bmipn32"
7021           ;;
7022         *64-bit*)
7023           LD="${LD-ld} -melf64bmip"
7024         ;;
7025       esac
7026     else
7027       case `/usr/bin/file conftest.$ac_objext` in
7028         *32-bit*)
7029           LD="${LD-ld} -32"
7030           ;;
7031         *N32*)
7032           LD="${LD-ld} -n32"
7033           ;;
7034         *64-bit*)
7035           LD="${LD-ld} -64"
7036           ;;
7037       esac
7038     fi
7039   fi
7040   rm -rf conftest*
7041   ;;
7042
7043 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7044 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7045   # Find out which ABI we are using.
7046   echo 'int i;' > conftest.$ac_ext
7047   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7048   (eval $ac_compile) 2>&5
7049   ac_status=$?
7050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7051   test $ac_status = 0; }; then
7052     case `/usr/bin/file conftest.o` in
7053       *32-bit*)
7054         case $host in
7055           x86_64-*kfreebsd*-gnu)
7056             LD="${LD-ld} -m elf_i386_fbsd"
7057             ;;
7058           x86_64-*linux*)
7059             LD="${LD-ld} -m elf_i386"
7060             ;;
7061           ppc64-*linux*|powerpc64-*linux*)
7062             LD="${LD-ld} -m elf32ppclinux"
7063             ;;
7064           s390x-*linux*)
7065             LD="${LD-ld} -m elf_s390"
7066             ;;
7067           sparc64-*linux*)
7068             LD="${LD-ld} -m elf32_sparc"
7069             ;;
7070         esac
7071         ;;
7072       *64-bit*)
7073         case $host in
7074           x86_64-*kfreebsd*-gnu)
7075             LD="${LD-ld} -m elf_x86_64_fbsd"
7076             ;;
7077           x86_64-*linux*)
7078             LD="${LD-ld} -m elf_x86_64"
7079             ;;
7080           ppc*-*linux*|powerpc*-*linux*)
7081             LD="${LD-ld} -m elf64ppc"
7082             ;;
7083           s390*-*linux*|s390*-*tpf*)
7084             LD="${LD-ld} -m elf64_s390"
7085             ;;
7086           sparc*-*linux*)
7087             LD="${LD-ld} -m elf64_sparc"
7088             ;;
7089         esac
7090         ;;
7091     esac
7092   fi
7093   rm -rf conftest*
7094   ;;
7095
7096 *-*-sco3.2v5*)
7097   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7098   SAVE_CFLAGS="$CFLAGS"
7099   CFLAGS="$CFLAGS -belf"
7100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7101 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7102 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7103   $as_echo_n "(cached) " >&6
7104 else
7105   ac_ext=c
7106 ac_cpp='$CPP $CPPFLAGS'
7107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7110
7111      if test x$gcc_no_link = xyes; then
7112   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7113 fi
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h.  */
7116
7117 int
7118 main ()
7119 {
7120
7121   ;
7122   return 0;
7123 }
7124 _ACEOF
7125 if ac_fn_c_try_link "$LINENO"; then :
7126   lt_cv_cc_needs_belf=yes
7127 else
7128   lt_cv_cc_needs_belf=no
7129 fi
7130 rm -f core conftest.err conftest.$ac_objext \
7131     conftest$ac_exeext conftest.$ac_ext
7132      ac_ext=c
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7137
7138 fi
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7140 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7141   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7142     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7143     CFLAGS="$SAVE_CFLAGS"
7144   fi
7145   ;;
7146 sparc*-*solaris*)
7147   # Find out which ABI we are using.
7148   echo 'int i;' > conftest.$ac_ext
7149   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150   (eval $ac_compile) 2>&5
7151   ac_status=$?
7152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153   test $ac_status = 0; }; then
7154     case `/usr/bin/file conftest.o` in
7155     *64-bit*)
7156       case $lt_cv_prog_gnu_ld in
7157       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7158       *)
7159         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7160           LD="${LD-ld} -64"
7161         fi
7162         ;;
7163       esac
7164       ;;
7165     esac
7166   fi
7167   rm -rf conftest*
7168   ;;
7169 esac
7170
7171 need_locks="$enable_libtool_lock"
7172
7173
7174   case $host_os in
7175     rhapsody* | darwin*)
7176     if test -n "$ac_tool_prefix"; then
7177   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   if test -n "$DSYMUTIL"; then
7185   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7189 do
7190   IFS=$as_save_IFS
7191   test -z "$as_dir" && as_dir=.
7192     for ac_exec_ext in '' $ac_executable_extensions; do
7193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196     break 2
7197   fi
7198 done
7199   done
7200 IFS=$as_save_IFS
7201
7202 fi
7203 fi
7204 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7205 if test -n "$DSYMUTIL"; then
7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7207 $as_echo "$DSYMUTIL" >&6; }
7208 else
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7211 fi
7212
7213
7214 fi
7215 if test -z "$ac_cv_prog_DSYMUTIL"; then
7216   ac_ct_DSYMUTIL=$DSYMUTIL
7217   # Extract the first word of "dsymutil", so it can be a program name with args.
7218 set dummy dsymutil; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7222   $as_echo_n "(cached) " >&6
7223 else
7224   if test -n "$ac_ct_DSYMUTIL"; then
7225   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7229 do
7230   IFS=$as_save_IFS
7231   test -z "$as_dir" && as_dir=.
7232     for ac_exec_ext in '' $ac_executable_extensions; do
7233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236     break 2
7237   fi
7238 done
7239   done
7240 IFS=$as_save_IFS
7241
7242 fi
7243 fi
7244 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7245 if test -n "$ac_ct_DSYMUTIL"; then
7246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7247 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7248 else
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7251 fi
7252
7253   if test "x$ac_ct_DSYMUTIL" = x; then
7254     DSYMUTIL=":"
7255   else
7256     case $cross_compiling:$ac_tool_warned in
7257 yes:)
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7261 esac
7262     DSYMUTIL=$ac_ct_DSYMUTIL
7263   fi
7264 else
7265   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7266 fi
7267
7268     if test -n "$ac_tool_prefix"; then
7269   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   if test -n "$NMEDIT"; then
7277   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7281 do
7282   IFS=$as_save_IFS
7283   test -z "$as_dir" && as_dir=.
7284     for ac_exec_ext in '' $ac_executable_extensions; do
7285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288     break 2
7289   fi
7290 done
7291   done
7292 IFS=$as_save_IFS
7293
7294 fi
7295 fi
7296 NMEDIT=$ac_cv_prog_NMEDIT
7297 if test -n "$NMEDIT"; then
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7299 $as_echo "$NMEDIT" >&6; }
7300 else
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7303 fi
7304
7305
7306 fi
7307 if test -z "$ac_cv_prog_NMEDIT"; then
7308   ac_ct_NMEDIT=$NMEDIT
7309   # Extract the first word of "nmedit", so it can be a program name with args.
7310 set dummy nmedit; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7314   $as_echo_n "(cached) " >&6
7315 else
7316   if test -n "$ac_ct_NMEDIT"; then
7317   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7321 do
7322   IFS=$as_save_IFS
7323   test -z "$as_dir" && as_dir=.
7324     for ac_exec_ext in '' $ac_executable_extensions; do
7325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328     break 2
7329   fi
7330 done
7331   done
7332 IFS=$as_save_IFS
7333
7334 fi
7335 fi
7336 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7337 if test -n "$ac_ct_NMEDIT"; then
7338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7339 $as_echo "$ac_ct_NMEDIT" >&6; }
7340 else
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7343 fi
7344
7345   if test "x$ac_ct_NMEDIT" = x; then
7346     NMEDIT=":"
7347   else
7348     case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354     NMEDIT=$ac_ct_NMEDIT
7355   fi
7356 else
7357   NMEDIT="$ac_cv_prog_NMEDIT"
7358 fi
7359
7360     if test -n "$ac_tool_prefix"; then
7361   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_LIPO+set}" = set; then :
7366   $as_echo_n "(cached) " >&6
7367 else
7368   if test -n "$LIPO"; then
7369   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7373 do
7374   IFS=$as_save_IFS
7375   test -z "$as_dir" && as_dir=.
7376     for ac_exec_ext in '' $ac_executable_extensions; do
7377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380     break 2
7381   fi
7382 done
7383   done
7384 IFS=$as_save_IFS
7385
7386 fi
7387 fi
7388 LIPO=$ac_cv_prog_LIPO
7389 if test -n "$LIPO"; then
7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7391 $as_echo "$LIPO" >&6; }
7392 else
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7395 fi
7396
7397
7398 fi
7399 if test -z "$ac_cv_prog_LIPO"; then
7400   ac_ct_LIPO=$LIPO
7401   # Extract the first word of "lipo", so it can be a program name with args.
7402 set dummy lipo; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7406   $as_echo_n "(cached) " >&6
7407 else
7408   if test -n "$ac_ct_LIPO"; then
7409   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7413 do
7414   IFS=$as_save_IFS
7415   test -z "$as_dir" && as_dir=.
7416     for ac_exec_ext in '' $ac_executable_extensions; do
7417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418     ac_cv_prog_ac_ct_LIPO="lipo"
7419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420     break 2
7421   fi
7422 done
7423   done
7424 IFS=$as_save_IFS
7425
7426 fi
7427 fi
7428 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7429 if test -n "$ac_ct_LIPO"; then
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7431 $as_echo "$ac_ct_LIPO" >&6; }
7432 else
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7435 fi
7436
7437   if test "x$ac_ct_LIPO" = x; then
7438     LIPO=":"
7439   else
7440     case $cross_compiling:$ac_tool_warned in
7441 yes:)
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7445 esac
7446     LIPO=$ac_ct_LIPO
7447   fi
7448 else
7449   LIPO="$ac_cv_prog_LIPO"
7450 fi
7451
7452     if test -n "$ac_tool_prefix"; then
7453   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7454 set dummy ${ac_tool_prefix}otool; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7458   $as_echo_n "(cached) " >&6
7459 else
7460   if test -n "$OTOOL"; then
7461   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7465 do
7466   IFS=$as_save_IFS
7467   test -z "$as_dir" && as_dir=.
7468     for ac_exec_ext in '' $ac_executable_extensions; do
7469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472     break 2
7473   fi
7474 done
7475   done
7476 IFS=$as_save_IFS
7477
7478 fi
7479 fi
7480 OTOOL=$ac_cv_prog_OTOOL
7481 if test -n "$OTOOL"; then
7482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7483 $as_echo "$OTOOL" >&6; }
7484 else
7485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487 fi
7488
7489
7490 fi
7491 if test -z "$ac_cv_prog_OTOOL"; then
7492   ac_ct_OTOOL=$OTOOL
7493   # Extract the first word of "otool", so it can be a program name with args.
7494 set dummy otool; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7498   $as_echo_n "(cached) " >&6
7499 else
7500   if test -n "$ac_ct_OTOOL"; then
7501   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7502 else
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 for as_dir in $PATH
7505 do
7506   IFS=$as_save_IFS
7507   test -z "$as_dir" && as_dir=.
7508     for ac_exec_ext in '' $ac_executable_extensions; do
7509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510     ac_cv_prog_ac_ct_OTOOL="otool"
7511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512     break 2
7513   fi
7514 done
7515   done
7516 IFS=$as_save_IFS
7517
7518 fi
7519 fi
7520 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7521 if test -n "$ac_ct_OTOOL"; then
7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7523 $as_echo "$ac_ct_OTOOL" >&6; }
7524 else
7525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7527 fi
7528
7529   if test "x$ac_ct_OTOOL" = x; then
7530     OTOOL=":"
7531   else
7532     case $cross_compiling:$ac_tool_warned in
7533 yes:)
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7536 ac_tool_warned=yes ;;
7537 esac
7538     OTOOL=$ac_ct_OTOOL
7539   fi
7540 else
7541   OTOOL="$ac_cv_prog_OTOOL"
7542 fi
7543
7544     if test -n "$ac_tool_prefix"; then
7545   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7550   $as_echo_n "(cached) " >&6
7551 else
7552   if test -n "$OTOOL64"; then
7553   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7557 do
7558   IFS=$as_save_IFS
7559   test -z "$as_dir" && as_dir=.
7560     for ac_exec_ext in '' $ac_executable_extensions; do
7561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564     break 2
7565   fi
7566 done
7567   done
7568 IFS=$as_save_IFS
7569
7570 fi
7571 fi
7572 OTOOL64=$ac_cv_prog_OTOOL64
7573 if test -n "$OTOOL64"; then
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7575 $as_echo "$OTOOL64" >&6; }
7576 else
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7579 fi
7580
7581
7582 fi
7583 if test -z "$ac_cv_prog_OTOOL64"; then
7584   ac_ct_OTOOL64=$OTOOL64
7585   # Extract the first word of "otool64", so it can be a program name with args.
7586 set dummy otool64; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7590   $as_echo_n "(cached) " >&6
7591 else
7592   if test -n "$ac_ct_OTOOL64"; then
7593   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7597 do
7598   IFS=$as_save_IFS
7599   test -z "$as_dir" && as_dir=.
7600     for ac_exec_ext in '' $ac_executable_extensions; do
7601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602     ac_cv_prog_ac_ct_OTOOL64="otool64"
7603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604     break 2
7605   fi
7606 done
7607   done
7608 IFS=$as_save_IFS
7609
7610 fi
7611 fi
7612 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7613 if test -n "$ac_ct_OTOOL64"; then
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7615 $as_echo "$ac_ct_OTOOL64" >&6; }
7616 else
7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7619 fi
7620
7621   if test "x$ac_ct_OTOOL64" = x; then
7622     OTOOL64=":"
7623   else
7624     case $cross_compiling:$ac_tool_warned in
7625 yes:)
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7629 esac
7630     OTOOL64=$ac_ct_OTOOL64
7631   fi
7632 else
7633   OTOOL64="$ac_cv_prog_OTOOL64"
7634 fi
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7663 $as_echo_n "checking for -single_module linker flag... " >&6; }
7664 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7665   $as_echo_n "(cached) " >&6
7666 else
7667   lt_cv_apple_cc_single_mod=no
7668       if test -z "${LT_MULTI_MODULE}"; then
7669         # By default we will add the -single_module flag. You can override
7670         # by either setting the environment variable LT_MULTI_MODULE
7671         # non-empty at configure time, or by adding -multi_module to the
7672         # link flags.
7673         rm -rf libconftest.dylib*
7674         echo "int foo(void){return 1;}" > conftest.c
7675         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c" >&5
7677         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7678           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7679         _lt_result=$?
7680         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7681           lt_cv_apple_cc_single_mod=yes
7682         else
7683           cat conftest.err >&5
7684         fi
7685         rm -rf libconftest.dylib*
7686         rm -f conftest.*
7687       fi
7688 fi
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7690 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7692 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7693 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7694   $as_echo_n "(cached) " >&6
7695 else
7696   lt_cv_ld_exported_symbols_list=no
7697       save_LDFLAGS=$LDFLAGS
7698       echo "_main" > conftest.sym
7699       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7700       if test x$gcc_no_link = xyes; then
7701   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7702 fi
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h.  */
7705
7706 int
7707 main ()
7708 {
7709
7710   ;
7711   return 0;
7712 }
7713 _ACEOF
7714 if ac_fn_c_try_link "$LINENO"; then :
7715   lt_cv_ld_exported_symbols_list=yes
7716 else
7717   lt_cv_ld_exported_symbols_list=no
7718 fi
7719 rm -f core conftest.err conftest.$ac_objext \
7720     conftest$ac_exeext conftest.$ac_ext
7721         LDFLAGS="$save_LDFLAGS"
7722
7723 fi
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7725 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7727 $as_echo_n "checking for -force_load linker flag... " >&6; }
7728 if test "${lt_cv_ld_force_load+set}" = set; then :
7729   $as_echo_n "(cached) " >&6
7730 else
7731   lt_cv_ld_force_load=no
7732       cat > conftest.c << _LT_EOF
7733 int forced_loaded() { return 2;}
7734 _LT_EOF
7735       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7736       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7737       echo "$AR cru libconftest.a conftest.o" >&5
7738       $AR cru libconftest.a conftest.o 2>&5
7739       cat > conftest.c << _LT_EOF
7740 int main() { return 0;}
7741 _LT_EOF
7742       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7743       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7744       _lt_result=$?
7745       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7746         lt_cv_ld_force_load=yes
7747       else
7748         cat conftest.err >&5
7749       fi
7750         rm -f conftest.err libconftest.a conftest conftest.c
7751         rm -rf conftest.dSYM
7752
7753 fi
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7755 $as_echo "$lt_cv_ld_force_load" >&6; }
7756     case $host_os in
7757     rhapsody* | darwin1.[012])
7758       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7759     darwin1.*)
7760       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7761     darwin*) # darwin 5.x on
7762       # if running on 10.5 or later, the deployment target defaults
7763       # to the OS version, if on x86, and 10.4, the deployment
7764       # target defaults to 10.4. Don't you love it?
7765       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7766         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7767           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7768         10.[012]*)
7769           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7770         10.*)
7771           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7772       esac
7773     ;;
7774   esac
7775     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7776       _lt_dar_single_mod='$single_module'
7777     fi
7778     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7779       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7780     else
7781       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7782     fi
7783     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7784       _lt_dsymutil='~$DSYMUTIL $lib || :'
7785     else
7786       _lt_dsymutil=
7787     fi
7788     ;;
7789   esac
7790
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7792 $as_echo_n "checking for ANSI C header files... " >&6; }
7793 if test "${ac_cv_header_stdc+set}" = set; then :
7794   $as_echo_n "(cached) " >&6
7795 else
7796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h.  */
7798 #include <stdlib.h>
7799 #include <stdarg.h>
7800 #include <string.h>
7801 #include <float.h>
7802
7803 int
7804 main ()
7805 {
7806
7807   ;
7808   return 0;
7809 }
7810 _ACEOF
7811 if ac_fn_c_try_compile "$LINENO"; then :
7812   ac_cv_header_stdc=yes
7813 else
7814   ac_cv_header_stdc=no
7815 fi
7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7817
7818 if test $ac_cv_header_stdc = yes; then
7819   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h.  */
7822 #include <string.h>
7823
7824 _ACEOF
7825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7826   $EGREP "memchr" >/dev/null 2>&1; then :
7827
7828 else
7829   ac_cv_header_stdc=no
7830 fi
7831 rm -f conftest*
7832
7833 fi
7834
7835 if test $ac_cv_header_stdc = yes; then
7836   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h.  */
7839 #include <stdlib.h>
7840
7841 _ACEOF
7842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7843   $EGREP "free" >/dev/null 2>&1; then :
7844
7845 else
7846   ac_cv_header_stdc=no
7847 fi
7848 rm -f conftest*
7849
7850 fi
7851
7852 if test $ac_cv_header_stdc = yes; then
7853   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7854   if test "$cross_compiling" = yes; then :
7855   :
7856 else
7857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h.  */
7859 #include <ctype.h>
7860 #include <stdlib.h>
7861 #if ((' ' & 0x0FF) == 0x020)
7862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7864 #else
7865 # define ISLOWER(c) \
7866                    (('a' <= (c) && (c) <= 'i') \
7867                      || ('j' <= (c) && (c) <= 'r') \
7868                      || ('s' <= (c) && (c) <= 'z'))
7869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7870 #endif
7871
7872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7873 int
7874 main ()
7875 {
7876   int i;
7877   for (i = 0; i < 256; i++)
7878     if (XOR (islower (i), ISLOWER (i))
7879         || toupper (i) != TOUPPER (i))
7880       return 2;
7881   return 0;
7882 }
7883 _ACEOF
7884 if ac_fn_c_try_run "$LINENO"; then :
7885
7886 else
7887   ac_cv_header_stdc=no
7888 fi
7889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7890   conftest.$ac_objext conftest.beam conftest.$ac_ext
7891 fi
7892
7893 fi
7894 fi
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7896 $as_echo "$ac_cv_header_stdc" >&6; }
7897 if test $ac_cv_header_stdc = yes; then
7898
7899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7900
7901 fi
7902
7903 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7905                   inttypes.h stdint.h unistd.h
7906 do :
7907   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7909 "
7910 eval as_val=\$$as_ac_Header
7911    if test "x$as_val" = x""yes; then :
7912   cat >>confdefs.h <<_ACEOF
7913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7914 _ACEOF
7915
7916 fi
7917
7918 done
7919
7920
7921 for ac_header in dlfcn.h
7922 do :
7923   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7924 "
7925 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926   cat >>confdefs.h <<_ACEOF
7927 #define HAVE_DLFCN_H 1
7928 _ACEOF
7929
7930 fi
7931
7932 done
7933
7934
7935
7936
7937
7938
7939 # Set options
7940
7941
7942
7943
7944   enable_win32_dll=no
7945
7946
7947             # Check whether --enable-shared was given.
7948 if test "${enable_shared+set}" = set; then :
7949   enableval=$enable_shared; p=${PACKAGE-default}
7950     case $enableval in
7951     yes) enable_shared=yes ;;
7952     no) enable_shared=no ;;
7953     *)
7954       enable_shared=no
7955       # Look at the argument we got.  We use all the common list separators.
7956       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7957       for pkg in $enableval; do
7958         IFS="$lt_save_ifs"
7959         if test "X$pkg" = "X$p"; then
7960           enable_shared=yes
7961         fi
7962       done
7963       IFS="$lt_save_ifs"
7964       ;;
7965     esac
7966 else
7967   enable_shared=yes
7968 fi
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978   # Check whether --enable-static was given.
7979 if test "${enable_static+set}" = set; then :
7980   enableval=$enable_static; p=${PACKAGE-default}
7981     case $enableval in
7982     yes) enable_static=yes ;;
7983     no) enable_static=no ;;
7984     *)
7985      enable_static=no
7986       # Look at the argument we got.  We use all the common list separators.
7987       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7988       for pkg in $enableval; do
7989         IFS="$lt_save_ifs"
7990         if test "X$pkg" = "X$p"; then
7991           enable_static=yes
7992         fi
7993       done
7994       IFS="$lt_save_ifs"
7995       ;;
7996     esac
7997 else
7998   enable_static=yes
7999 fi
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010 # Check whether --with-pic was given.
8011 if test "${with_pic+set}" = set; then :
8012   withval=$with_pic; pic_mode="$withval"
8013 else
8014   pic_mode=default
8015 fi
8016
8017
8018 test -z "$pic_mode" && pic_mode=default
8019
8020
8021
8022
8023
8024
8025
8026   # Check whether --enable-fast-install was given.
8027 if test "${enable_fast_install+set}" = set; then :
8028   enableval=$enable_fast_install; p=${PACKAGE-default}
8029     case $enableval in
8030     yes) enable_fast_install=yes ;;
8031     no) enable_fast_install=no ;;
8032     *)
8033       enable_fast_install=no
8034       # Look at the argument we got.  We use all the common list separators.
8035       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036       for pkg in $enableval; do
8037         IFS="$lt_save_ifs"
8038         if test "X$pkg" = "X$p"; then
8039           enable_fast_install=yes
8040         fi
8041       done
8042       IFS="$lt_save_ifs"
8043       ;;
8044     esac
8045 else
8046   enable_fast_install=yes
8047 fi
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059 # This can be used to rebuild libtool when needed
8060 LIBTOOL_DEPS="$ltmain"
8061
8062 # Always use our own libtool.
8063 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090 test -z "$LN_S" && LN_S="ln -s"
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105 if test -n "${ZSH_VERSION+set}" ; then
8106    setopt NO_GLOB_SUBST
8107 fi
8108
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if test "${lt_cv_objdir+set}" = set; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   rm -f .libs 2>/dev/null
8115 mkdir .libs 2>/dev/null
8116 if test -d .libs; then
8117   lt_cv_objdir=.libs
8118 else
8119   # MS-DOS does not allow filenames that begin with a dot.
8120   lt_cv_objdir=_libs
8121 fi
8122 rmdir .libs 2>/dev/null
8123 fi
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir=$lt_cv_objdir
8127
8128
8129
8130
8131
8132 cat >>confdefs.h <<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8134 _ACEOF
8135
8136
8137
8138
8139 case $host_os in
8140 aix3*)
8141   # AIX sometimes has problems with the GCC collect2 program.  For some
8142   # reason, if we set the COLLECT_NAMES environment variable, the problems
8143   # vanish in a puff of smoke.
8144   if test "X${COLLECT_NAMES+set}" != Xset; then
8145     COLLECT_NAMES=
8146     export COLLECT_NAMES
8147   fi
8148   ;;
8149 esac
8150
8151 # Global variables:
8152 ofile=libtool
8153 can_build_shared=yes
8154
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8157 libext=a
8158
8159 with_gnu_ld="$lt_cv_prog_gnu_ld"
8160
8161 old_CC="$CC"
8162 old_CFLAGS="$CFLAGS"
8163
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC=cc
8166 test -z "$LTCC" && LTCC=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8168 test -z "$LD" && LD=ld
8169 test -z "$ac_objext" && ac_objext=o
8170
8171 for cc_temp in $compiler""; do
8172   case $cc_temp in
8173     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8175     \-*) ;;
8176     *) break;;
8177   esac
8178 done
8179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8180
8181
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8184 case $deplibs_check_method in
8185 file_magic*)
8186   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8190   $as_echo_n "(cached) " >&6
8191 else
8192   case $MAGIC_CMD in
8193 [\\/*] |  ?:[\\/]*)
8194   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8195   ;;
8196 *)
8197   lt_save_MAGIC_CMD="$MAGIC_CMD"
8198   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8199   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8200   for ac_dir in $ac_dummy; do
8201     IFS="$lt_save_ifs"
8202     test -z "$ac_dir" && ac_dir=.
8203     if test -f $ac_dir/${ac_tool_prefix}file; then
8204       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8205       if test -n "$file_magic_test_file"; then
8206         case $deplibs_check_method in
8207         "file_magic "*)
8208           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8210           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8211             $EGREP "$file_magic_regex" > /dev/null; then
8212             :
8213           else
8214             cat <<_LT_EOF 1>&2
8215
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such.  This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem.  Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8224
8225 _LT_EOF
8226           fi ;;
8227         esac
8228       fi
8229       break
8230     fi
8231   done
8232   IFS="$lt_save_ifs"
8233   MAGIC_CMD="$lt_save_MAGIC_CMD"
8234   ;;
8235 esac
8236 fi
8237
8238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8242 else
8243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8245 fi
8246
8247
8248
8249
8250
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252   if test -n "$ac_tool_prefix"; then
8253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   case $MAGIC_CMD in
8259 [\\/*] |  ?:[\\/]*)
8260   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8261   ;;
8262 *)
8263   lt_save_MAGIC_CMD="$MAGIC_CMD"
8264   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266   for ac_dir in $ac_dummy; do
8267     IFS="$lt_save_ifs"
8268     test -z "$ac_dir" && ac_dir=.
8269     if test -f $ac_dir/file; then
8270       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8271       if test -n "$file_magic_test_file"; then
8272         case $deplibs_check_method in
8273         "file_magic "*)
8274           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277             $EGREP "$file_magic_regex" > /dev/null; then
8278             :
8279           else
8280             cat <<_LT_EOF 1>&2
8281
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such.  This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem.  Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8290
8291 _LT_EOF
8292           fi ;;
8293         esac
8294       fi
8295       break
8296     fi
8297   done
8298   IFS="$lt_save_ifs"
8299   MAGIC_CMD="$lt_save_MAGIC_CMD"
8300   ;;
8301 esac
8302 fi
8303
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8308 else
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8311 fi
8312
8313
8314   else
8315     MAGIC_CMD=:
8316   fi
8317 fi
8318
8319   fi
8320   ;;
8321 esac
8322
8323 # Use C for the default configuration in the libtool script
8324
8325 lt_save_CC="$CC"
8326 ac_ext=c
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8331
8332
8333 # Source file extension for C test sources.
8334 ac_ext=c
8335
8336 # Object file extension for compiled C test sources.
8337 objext=o
8338 objext=$objext
8339
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code="int some_variable = 0;"
8342
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code='int main(){return(0);}'
8345
8346
8347
8348
8349
8350
8351
8352 # If no C compiler was specified, use CC.
8353 LTCC=${LTCC-"$CC"}
8354
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8357
8358 # Allow CC to be a program name with arguments.
8359 compiler=$CC
8360
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT=$CC
8364
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile=conftest.$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate=`cat conftest.err`
8370 $RM conftest*
8371
8372 ac_outfile=conftest.$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate=`cat conftest.err`
8376 $RM -r conftest*
8377
8378
8379 ## CAVEAT EMPTOR:
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8384
8385 lt_prog_compiler_no_builtin_flag=
8386
8387 if test "$GCC" = yes; then
8388   case $cc_basename in
8389   nvcc*)
8390     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8391   *)
8392     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8393   esac
8394
8395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8398   $as_echo_n "(cached) " >&6
8399 else
8400   lt_cv_prog_compiler_rtti_exceptions=no
8401    ac_outfile=conftest.$ac_objext
8402    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8403    lt_compiler_flag="-fno-rtti -fno-exceptions"
8404    # Insert the option either (1) after the last *FLAGS variable, or
8405    # (2) before a word containing "conftest.", or (3) at the end.
8406    # Note that $ac_compile itself does not contain backslashes and begins
8407    # with a dollar sign (not a hyphen), so the echo should work correctly.
8408    # The option is referenced via a variable to avoid confusing sed.
8409    lt_compile=`echo "$ac_compile" | $SED \
8410    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412    -e 's:$: $lt_compiler_flag:'`
8413    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414    (eval "$lt_compile" 2>conftest.err)
8415    ac_status=$?
8416    cat conftest.err >&5
8417    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418    if (exit $ac_status) && test -s "$ac_outfile"; then
8419      # The compiler can only warn and ignore the option if not recognized
8420      # So say no if there are warnings other than the usual output.
8421      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8422      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8424        lt_cv_prog_compiler_rtti_exceptions=yes
8425      fi
8426    fi
8427    $RM conftest*
8428
8429 fi
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8432
8433 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8434     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8435 else
8436     :
8437 fi
8438
8439 fi
8440
8441
8442
8443
8444
8445
8446   lt_prog_compiler_wl=
8447 lt_prog_compiler_pic=
8448 lt_prog_compiler_static=
8449
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8451 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8452
8453   if test "$GCC" = yes; then
8454     lt_prog_compiler_wl='-Wl,'
8455     lt_prog_compiler_static='-static'
8456
8457     case $host_os in
8458       aix*)
8459       # All AIX code is PIC.
8460       if test "$host_cpu" = ia64; then
8461         # AIX 5 now supports IA64 processor
8462         lt_prog_compiler_static='-Bstatic'
8463       fi
8464       ;;
8465
8466     amigaos*)
8467       case $host_cpu in
8468       powerpc)
8469             # see comment about AmigaOS4 .so support
8470             lt_prog_compiler_pic='-fPIC'
8471         ;;
8472       m68k)
8473             # FIXME: we need at least 68020 code to build shared libraries, but
8474             # adding the `-m68020' flag to GCC prevents building anything better,
8475             # like `-m68040'.
8476             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8477         ;;
8478       esac
8479       ;;
8480
8481     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8482       # PIC is the default for these OSes.
8483       ;;
8484
8485     mingw* | cygwin* | pw32* | os2* | cegcc*)
8486       # This hack is so that the source file can tell whether it is being
8487       # built for inclusion in a dll (and should export symbols for example).
8488       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8489       # (--disable-auto-import) libraries
8490       lt_prog_compiler_pic='-DDLL_EXPORT'
8491       ;;
8492
8493     darwin* | rhapsody*)
8494       # PIC is the default on this platform
8495       # Common symbols not allowed in MH_DYLIB files
8496       lt_prog_compiler_pic='-fno-common'
8497       ;;
8498
8499     haiku*)
8500       # PIC is the default for Haiku.
8501       # The "-static" flag exists, but is broken.
8502       lt_prog_compiler_static=
8503       ;;
8504
8505     hpux*)
8506       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8507       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8508       # sets the default TLS model and affects inlining.
8509       case $host_cpu in
8510       hppa*64*)
8511         # +Z the default
8512         ;;
8513       *)
8514         lt_prog_compiler_pic='-fPIC'
8515         ;;
8516       esac
8517       ;;
8518
8519     interix[3-9]*)
8520       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8521       # Instead, we relocate shared libraries at runtime.
8522       ;;
8523
8524     msdosdjgpp*)
8525       # Just because we use GCC doesn't mean we suddenly get shared libraries
8526       # on systems that don't support them.
8527       lt_prog_compiler_can_build_shared=no
8528       enable_shared=no
8529       ;;
8530
8531     *nto* | *qnx*)
8532       # QNX uses GNU C++, but need to define -shared option too, otherwise
8533       # it will coredump.
8534       lt_prog_compiler_pic='-fPIC -shared'
8535       ;;
8536
8537     sysv4*MP*)
8538       if test -d /usr/nec; then
8539         lt_prog_compiler_pic=-Kconform_pic
8540       fi
8541       ;;
8542
8543     *)
8544       lt_prog_compiler_pic='-fPIC'
8545       ;;
8546     esac
8547
8548     case $cc_basename in
8549     nvcc*) # Cuda Compiler Driver 2.2
8550       lt_prog_compiler_wl='-Xlinker '
8551       lt_prog_compiler_pic='-Xcompiler -fPIC'
8552       ;;
8553     esac
8554   else
8555     # PORTME Check for flag to pass linker flags through the system compiler.
8556     case $host_os in
8557     aix*)
8558       lt_prog_compiler_wl='-Wl,'
8559       if test "$host_cpu" = ia64; then
8560         # AIX 5 now supports IA64 processor
8561         lt_prog_compiler_static='-Bstatic'
8562       else
8563         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8564       fi
8565       ;;
8566
8567     mingw* | cygwin* | pw32* | os2* | cegcc*)
8568       # This hack is so that the source file can tell whether it is being
8569       # built for inclusion in a dll (and should export symbols for example).
8570       lt_prog_compiler_pic='-DDLL_EXPORT'
8571       ;;
8572
8573     hpux9* | hpux10* | hpux11*)
8574       lt_prog_compiler_wl='-Wl,'
8575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8576       # not for PA HP-UX.
8577       case $host_cpu in
8578       hppa*64*|ia64*)
8579         # +Z the default
8580         ;;
8581       *)
8582         lt_prog_compiler_pic='+Z'
8583         ;;
8584       esac
8585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8586       lt_prog_compiler_static='${wl}-a ${wl}archive'
8587       ;;
8588
8589     irix5* | irix6* | nonstopux*)
8590       lt_prog_compiler_wl='-Wl,'
8591       # PIC (with -KPIC) is the default.
8592       lt_prog_compiler_static='-non_shared'
8593       ;;
8594
8595     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8596       case $cc_basename in
8597       # old Intel for x86_64 which still supported -KPIC.
8598       ecc*)
8599         lt_prog_compiler_wl='-Wl,'
8600         lt_prog_compiler_pic='-KPIC'
8601         lt_prog_compiler_static='-static'
8602         ;;
8603       # icc used to be incompatible with GCC.
8604       # ICC 10 doesn't accept -KPIC any more.
8605       icc* | ifort*)
8606         lt_prog_compiler_wl='-Wl,'
8607         lt_prog_compiler_pic='-fPIC'
8608         lt_prog_compiler_static='-static'
8609         ;;
8610       # Lahey Fortran 8.1.
8611       lf95*)
8612         lt_prog_compiler_wl='-Wl,'
8613         lt_prog_compiler_pic='--shared'
8614         lt_prog_compiler_static='--static'
8615         ;;
8616       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8617         # Portland Group compilers (*not* the Pentium gcc compiler,
8618         # which looks to be a dead project)
8619         lt_prog_compiler_wl='-Wl,'
8620         lt_prog_compiler_pic='-fpic'
8621         lt_prog_compiler_static='-Bstatic'
8622         ;;
8623       ccc*)
8624         lt_prog_compiler_wl='-Wl,'
8625         # All Alpha code is PIC.
8626         lt_prog_compiler_static='-non_shared'
8627         ;;
8628       xl* | bgxl* | bgf* | mpixl*)
8629         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8630         lt_prog_compiler_wl='-Wl,'
8631         lt_prog_compiler_pic='-qpic'
8632         lt_prog_compiler_static='-qstaticlink'
8633         ;;
8634       *)
8635         case `$CC -V 2>&1 | sed 5q` in
8636         *Sun\ F* | *Sun*Fortran*)
8637           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8638           lt_prog_compiler_pic='-KPIC'
8639           lt_prog_compiler_static='-Bstatic'
8640           lt_prog_compiler_wl=''
8641           ;;
8642         *Sun\ C*)
8643           # Sun C 5.9
8644           lt_prog_compiler_pic='-KPIC'
8645           lt_prog_compiler_static='-Bstatic'
8646           lt_prog_compiler_wl='-Wl,'
8647           ;;
8648         esac
8649         ;;
8650       esac
8651       ;;
8652
8653     newsos6)
8654       lt_prog_compiler_pic='-KPIC'
8655       lt_prog_compiler_static='-Bstatic'
8656       ;;
8657
8658     *nto* | *qnx*)
8659       # QNX uses GNU C++, but need to define -shared option too, otherwise
8660       # it will coredump.
8661       lt_prog_compiler_pic='-fPIC -shared'
8662       ;;
8663
8664     osf3* | osf4* | osf5*)
8665       lt_prog_compiler_wl='-Wl,'
8666       # All OSF/1 code is PIC.
8667       lt_prog_compiler_static='-non_shared'
8668       ;;
8669
8670     rdos*)
8671       lt_prog_compiler_static='-non_shared'
8672       ;;
8673
8674     solaris*)
8675       lt_prog_compiler_pic='-KPIC'
8676       lt_prog_compiler_static='-Bstatic'
8677       case $cc_basename in
8678       f77* | f90* | f95*)
8679         lt_prog_compiler_wl='-Qoption ld ';;
8680       *)
8681         lt_prog_compiler_wl='-Wl,';;
8682       esac
8683       ;;
8684
8685     sunos4*)
8686       lt_prog_compiler_wl='-Qoption ld '
8687       lt_prog_compiler_pic='-PIC'
8688       lt_prog_compiler_static='-Bstatic'
8689       ;;
8690
8691     sysv4 | sysv4.2uw2* | sysv4.3*)
8692       lt_prog_compiler_wl='-Wl,'
8693       lt_prog_compiler_pic='-KPIC'
8694       lt_prog_compiler_static='-Bstatic'
8695       ;;
8696
8697     sysv4*MP*)
8698       if test -d /usr/nec ;then
8699         lt_prog_compiler_pic='-Kconform_pic'
8700         lt_prog_compiler_static='-Bstatic'
8701       fi
8702       ;;
8703
8704     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8705       lt_prog_compiler_wl='-Wl,'
8706       lt_prog_compiler_pic='-KPIC'
8707       lt_prog_compiler_static='-Bstatic'
8708       ;;
8709
8710     unicos*)
8711       lt_prog_compiler_wl='-Wl,'
8712       lt_prog_compiler_can_build_shared=no
8713       ;;
8714
8715     uts4*)
8716       lt_prog_compiler_pic='-pic'
8717       lt_prog_compiler_static='-Bstatic'
8718       ;;
8719
8720     *)
8721       lt_prog_compiler_can_build_shared=no
8722       ;;
8723     esac
8724   fi
8725
8726 case $host_os in
8727   # For platforms which do not support PIC, -DPIC is meaningless:
8728   *djgpp*)
8729     lt_prog_compiler_pic=
8730     ;;
8731   *)
8732     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8733     ;;
8734 esac
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8736 $as_echo "$lt_prog_compiler_pic" >&6; }
8737
8738
8739
8740
8741
8742
8743 #
8744 # Check to make sure the PIC flag actually works.
8745 #
8746 if test -n "$lt_prog_compiler_pic"; then
8747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8748 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8749 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8750   $as_echo_n "(cached) " >&6
8751 else
8752   lt_cv_prog_compiler_pic_works=no
8753    ac_outfile=conftest.$ac_objext
8754    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8755    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8756    # Insert the option either (1) after the last *FLAGS variable, or
8757    # (2) before a word containing "conftest.", or (3) at the end.
8758    # Note that $ac_compile itself does not contain backslashes and begins
8759    # with a dollar sign (not a hyphen), so the echo should work correctly.
8760    # The option is referenced via a variable to avoid confusing sed.
8761    lt_compile=`echo "$ac_compile" | $SED \
8762    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8763    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8764    -e 's:$: $lt_compiler_flag:'`
8765    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8766    (eval "$lt_compile" 2>conftest.err)
8767    ac_status=$?
8768    cat conftest.err >&5
8769    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770    if (exit $ac_status) && test -s "$ac_outfile"; then
8771      # The compiler can only warn and ignore the option if not recognized
8772      # So say no if there are warnings other than the usual output.
8773      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8774      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8775      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8776        lt_cv_prog_compiler_pic_works=yes
8777      fi
8778    fi
8779    $RM conftest*
8780
8781 fi
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8783 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8784
8785 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8786     case $lt_prog_compiler_pic in
8787      "" | " "*) ;;
8788      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8789      esac
8790 else
8791     lt_prog_compiler_pic=
8792      lt_prog_compiler_can_build_shared=no
8793 fi
8794
8795 fi
8796
8797
8798
8799
8800
8801
8802 #
8803 # Check to make sure the static flag actually works.
8804 #
8805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8808 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8809   $as_echo_n "(cached) " >&6
8810 else
8811   lt_cv_prog_compiler_static_works=no
8812    save_LDFLAGS="$LDFLAGS"
8813    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8814    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8815    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8816      # The linker can only warn and ignore the option if not recognized
8817      # So say no if there are warnings
8818      if test -s conftest.err; then
8819        # Append any errors to the config.log.
8820        cat conftest.err 1>&5
8821        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8822        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823        if diff conftest.exp conftest.er2 >/dev/null; then
8824          lt_cv_prog_compiler_static_works=yes
8825        fi
8826      else
8827        lt_cv_prog_compiler_static_works=yes
8828      fi
8829    fi
8830    $RM -r conftest*
8831    LDFLAGS="$save_LDFLAGS"
8832
8833 fi
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8836
8837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8838     :
8839 else
8840     lt_prog_compiler_static=
8841 fi
8842
8843
8844
8845
8846
8847
8848
8849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8851 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8852   $as_echo_n "(cached) " >&6
8853 else
8854   lt_cv_prog_compiler_c_o=no
8855    $RM -r conftest 2>/dev/null
8856    mkdir conftest
8857    cd conftest
8858    mkdir out
8859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860
8861    lt_compiler_flag="-o out/conftest2.$ac_objext"
8862    # Insert the option either (1) after the last *FLAGS variable, or
8863    # (2) before a word containing "conftest.", or (3) at the end.
8864    # Note that $ac_compile itself does not contain backslashes and begins
8865    # with a dollar sign (not a hyphen), so the echo should work correctly.
8866    lt_compile=`echo "$ac_compile" | $SED \
8867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869    -e 's:$: $lt_compiler_flag:'`
8870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871    (eval "$lt_compile" 2>out/conftest.err)
8872    ac_status=$?
8873    cat out/conftest.err >&5
8874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8876    then
8877      # The compiler can only warn and ignore the option if not recognized
8878      # So say no if there are warnings
8879      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8880      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8881      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8882        lt_cv_prog_compiler_c_o=yes
8883      fi
8884    fi
8885    chmod u+w . 2>&5
8886    $RM conftest*
8887    # SGI C++ compiler will create directory out/ii_files/ for
8888    # template instantiation
8889    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8890    $RM out/* && rmdir out
8891    cd ..
8892    $RM -r conftest
8893    $RM conftest*
8894
8895 fi
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8898
8899
8900
8901
8902
8903
8904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907   $as_echo_n "(cached) " >&6
8908 else
8909   lt_cv_prog_compiler_c_o=no
8910    $RM -r conftest 2>/dev/null
8911    mkdir conftest
8912    cd conftest
8913    mkdir out
8914    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915
8916    lt_compiler_flag="-o out/conftest2.$ac_objext"
8917    # Insert the option either (1) after the last *FLAGS variable, or
8918    # (2) before a word containing "conftest.", or (3) at the end.
8919    # Note that $ac_compile itself does not contain backslashes and begins
8920    # with a dollar sign (not a hyphen), so the echo should work correctly.
8921    lt_compile=`echo "$ac_compile" | $SED \
8922    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924    -e 's:$: $lt_compiler_flag:'`
8925    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926    (eval "$lt_compile" 2>out/conftest.err)
8927    ac_status=$?
8928    cat out/conftest.err >&5
8929    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931    then
8932      # The compiler can only warn and ignore the option if not recognized
8933      # So say no if there are warnings
8934      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937        lt_cv_prog_compiler_c_o=yes
8938      fi
8939    fi
8940    chmod u+w . 2>&5
8941    $RM conftest*
8942    # SGI C++ compiler will create directory out/ii_files/ for
8943    # template instantiation
8944    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945    $RM out/* && rmdir out
8946    cd ..
8947    $RM -r conftest
8948    $RM conftest*
8949
8950 fi
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8953
8954
8955
8956
8957 hard_links="nottested"
8958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8959   # do not overwrite the value of need_locks provided by the user
8960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8961 $as_echo_n "checking if we can lock with hard links... " >&6; }
8962   hard_links=yes
8963   $RM conftest*
8964   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8965   touch conftest.a
8966   ln conftest.a conftest.b 2>&5 || hard_links=no
8967   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8969 $as_echo "$hard_links" >&6; }
8970   if test "$hard_links" = no; then
8971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8973     need_locks=warn
8974   fi
8975 else
8976   need_locks=no
8977 fi
8978
8979
8980
8981
8982
8983
8984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8986
8987   runpath_var=
8988   allow_undefined_flag=
8989   always_export_symbols=no
8990   archive_cmds=
8991   archive_expsym_cmds=
8992   compiler_needs_object=no
8993   enable_shared_with_static_runtimes=no
8994   export_dynamic_flag_spec=
8995   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8996   hardcode_automatic=no
8997   hardcode_direct=no
8998   hardcode_direct_absolute=no
8999   hardcode_libdir_flag_spec=
9000   hardcode_libdir_flag_spec_ld=
9001   hardcode_libdir_separator=
9002   hardcode_minus_L=no
9003   hardcode_shlibpath_var=unsupported
9004   inherit_rpath=no
9005   link_all_deplibs=unknown
9006   module_cmds=
9007   module_expsym_cmds=
9008   old_archive_from_new_cmds=
9009   old_archive_from_expsyms_cmds=
9010   thread_safe_flag_spec=
9011   whole_archive_flag_spec=
9012   # include_expsyms should be a list of space-separated symbols to be *always*
9013   # included in the symbol list
9014   include_expsyms=
9015   # exclude_expsyms can be an extended regexp of symbols to exclude
9016   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9017   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9018   # as well as any symbol that contains `d'.
9019   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9020   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9021   # platforms (ab)use it in PIC code, but their linkers get confused if
9022   # the symbol is explicitly referenced.  Since portable code cannot
9023   # rely on this symbol name, it's probably fine to never include it in
9024   # preloaded symbol tables.
9025   # Exclude shared library initialization/finalization symbols.
9026   extract_expsyms_cmds=
9027
9028   case $host_os in
9029   cygwin* | mingw* | pw32* | cegcc*)
9030     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9031     # When not using gcc, we currently assume that we are using
9032     # Microsoft Visual C++.
9033     if test "$GCC" != yes; then
9034       with_gnu_ld=no
9035     fi
9036     ;;
9037   interix*)
9038     # we just hope/assume this is gcc and not c89 (= MSVC++)
9039     with_gnu_ld=yes
9040     ;;
9041   openbsd*)
9042     with_gnu_ld=no
9043     ;;
9044   esac
9045
9046   ld_shlibs=yes
9047
9048   # On some targets, GNU ld is compatible enough with the native linker
9049   # that we're better off using the native interface for both.
9050   lt_use_gnu_ld_interface=no
9051   if test "$with_gnu_ld" = yes; then
9052     case $host_os in
9053       aix*)
9054         # The AIX port of GNU ld has always aspired to compatibility
9055         # with the native linker.  However, as the warning in the GNU ld
9056         # block says, versions before 2.19.5* couldn't really create working
9057         # shared libraries, regardless of the interface used.
9058         case `$LD -v 2>&1` in
9059           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9060           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9061           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9062           *)
9063             lt_use_gnu_ld_interface=yes
9064             ;;
9065         esac
9066         ;;
9067       *)
9068         lt_use_gnu_ld_interface=yes
9069         ;;
9070     esac
9071   fi
9072
9073   if test "$lt_use_gnu_ld_interface" = yes; then
9074     # If archive_cmds runs LD, not CC, wlarc should be empty
9075     wlarc='${wl}'
9076
9077     # Set some defaults for GNU ld with shared library support. These
9078     # are reset later if shared libraries are not supported. Putting them
9079     # here allows them to be overridden if necessary.
9080     runpath_var=LD_RUN_PATH
9081     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9082     export_dynamic_flag_spec='${wl}--export-dynamic'
9083     # ancient GNU ld didn't support --whole-archive et. al.
9084     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9085       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9086     else
9087       whole_archive_flag_spec=
9088     fi
9089     supports_anon_versioning=no
9090     case `$LD -v 2>&1` in
9091       *GNU\ gold*) supports_anon_versioning=yes ;;
9092       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9093       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9094       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9095       *\ 2.11.*) ;; # other 2.11 versions
9096       *) supports_anon_versioning=yes ;;
9097     esac
9098
9099     # See if GNU ld supports shared libraries.
9100     case $host_os in
9101     aix[3-9]*)
9102       # On AIX/PPC, the GNU linker is very broken
9103       if test "$host_cpu" != ia64; then
9104         ld_shlibs=no
9105         cat <<_LT_EOF 1>&2
9106
9107 *** Warning: the GNU linker, at least up to release 2.19, is reported
9108 *** to be unable to reliably create shared libraries on AIX.
9109 *** Therefore, libtool is disabling shared libraries support.  If you
9110 *** really care for shared libraries, you may want to install binutils
9111 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9112 *** You will then need to restart the configuration process.
9113
9114 _LT_EOF
9115       fi
9116       ;;
9117
9118     amigaos*)
9119       case $host_cpu in
9120       powerpc)
9121             # see comment about AmigaOS4 .so support
9122             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123             archive_expsym_cmds=''
9124         ;;
9125       m68k)
9126             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)'
9127             hardcode_libdir_flag_spec='-L$libdir'
9128             hardcode_minus_L=yes
9129         ;;
9130       esac
9131       ;;
9132
9133     beos*)
9134       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9135         allow_undefined_flag=unsupported
9136         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9137         # support --undefined.  This deserves some investigation.  FIXME
9138         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139       else
9140         ld_shlibs=no
9141       fi
9142       ;;
9143
9144     cygwin* | mingw* | pw32* | cegcc*)
9145       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9146       # as there is no search path for DLLs.
9147       hardcode_libdir_flag_spec='-L$libdir'
9148       export_dynamic_flag_spec='${wl}--export-all-symbols'
9149       allow_undefined_flag=unsupported
9150       always_export_symbols=no
9151       enable_shared_with_static_runtimes=yes
9152       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9153
9154       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9155         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9156         # If the export-symbols file already is a .def file (1st line
9157         # is EXPORTS), use it as is; otherwise, prepend...
9158         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9159           cp $export_symbols $output_objdir/$soname.def;
9160         else
9161           echo EXPORTS > $output_objdir/$soname.def;
9162           cat $export_symbols >> $output_objdir/$soname.def;
9163         fi~
9164         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9165       else
9166         ld_shlibs=no
9167       fi
9168       ;;
9169
9170     haiku*)
9171       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9172       link_all_deplibs=yes
9173       ;;
9174
9175     interix[3-9]*)
9176       hardcode_direct=no
9177       hardcode_shlibpath_var=no
9178       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9179       export_dynamic_flag_spec='${wl}-E'
9180       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9181       # Instead, shared libraries are loaded at an image base (0x10000000 by
9182       # default) and relocated if they conflict, which is a slow very memory
9183       # consuming and fragmenting process.  To avoid this, we pick a random,
9184       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9185       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9186       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9187       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'
9188       ;;
9189
9190     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9191       tmp_diet=no
9192       if test "$host_os" = linux-dietlibc; then
9193         case $cc_basename in
9194           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9195         esac
9196       fi
9197       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9198          && test "$tmp_diet" = no
9199       then
9200         tmp_addflag=
9201         tmp_sharedflag='-shared'
9202         case $cc_basename,$host_cpu in
9203         pgcc*)                          # Portland Group C compiler
9204           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'
9205           tmp_addflag=' $pic_flag'
9206           ;;
9207         pgf77* | pgf90* | pgf95* | pgfortran*)
9208                                         # Portland Group f77 and f90 compilers
9209           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'
9210           tmp_addflag=' $pic_flag -Mnomain' ;;
9211         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9212           tmp_addflag=' -i_dynamic' ;;
9213         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9214           tmp_addflag=' -i_dynamic -nofor_main' ;;
9215         ifc* | ifort*)                  # Intel Fortran compiler
9216           tmp_addflag=' -nofor_main' ;;
9217         lf95*)                          # Lahey Fortran 8.1
9218           whole_archive_flag_spec=
9219           tmp_sharedflag='--shared' ;;
9220         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9221           tmp_sharedflag='-qmkshrobj'
9222           tmp_addflag= ;;
9223         nvcc*)  # Cuda Compiler Driver 2.2
9224           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'
9225           compiler_needs_object=yes
9226           ;;
9227         esac
9228         case `$CC -V 2>&1 | sed 5q` in
9229         *Sun\ C*)                       # Sun C 5.9
9230           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'
9231           compiler_needs_object=yes
9232           tmp_sharedflag='-G' ;;
9233         *Sun\ F*)                       # Sun Fortran 8.3
9234           tmp_sharedflag='-G' ;;
9235         esac
9236         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237
9238         if test "x$supports_anon_versioning" = xyes; then
9239           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9240             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9241             echo "local: *; };" >> $output_objdir/$libname.ver~
9242             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9243         fi
9244
9245         case $cc_basename in
9246         xlf* | bgf* | bgxlf* | mpixlf*)
9247           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9248           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9249           hardcode_libdir_flag_spec=
9250           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9251           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9252           if test "x$supports_anon_versioning" = xyes; then
9253             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9254               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9255               echo "local: *; };" >> $output_objdir/$libname.ver~
9256               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9257           fi
9258           ;;
9259         esac
9260       else
9261         ld_shlibs=no
9262       fi
9263       ;;
9264
9265     netbsd*)
9266       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9267         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9268         wlarc=
9269       else
9270         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9272       fi
9273       ;;
9274
9275     solaris*)
9276       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9277         ld_shlibs=no
9278         cat <<_LT_EOF 1>&2
9279
9280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9281 *** create shared libraries on Solaris systems.  Therefore, libtool
9282 *** is disabling shared libraries support.  We urge you to upgrade GNU
9283 *** binutils to release 2.9.1 or newer.  Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9286
9287 _LT_EOF
9288       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9289         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9291       else
9292         ld_shlibs=no
9293       fi
9294       ;;
9295
9296     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9297       case `$LD -v 2>&1` in
9298         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9299         ld_shlibs=no
9300         cat <<_LT_EOF 1>&2
9301
9302 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9303 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9304 *** is disabling shared libraries support.  We urge you to upgrade GNU
9305 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9306 *** your PATH or compiler configuration so that the native linker is
9307 *** used, and then restart.
9308
9309 _LT_EOF
9310         ;;
9311         *)
9312           # For security reasons, it is highly recommended that you always
9313           # use absolute paths for naming shared libraries, and exclude the
9314           # DT_RUNPATH tag from executables and libraries.  But doing so
9315           # requires that you compile everything twice, which is a pain.
9316           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320           else
9321             ld_shlibs=no
9322           fi
9323         ;;
9324       esac
9325       ;;
9326
9327     sunos4*)
9328       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9329       wlarc=
9330       hardcode_direct=yes
9331       hardcode_shlibpath_var=no
9332       ;;
9333
9334     *)
9335       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9336         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338       else
9339         ld_shlibs=no
9340       fi
9341       ;;
9342     esac
9343
9344     if test "$ld_shlibs" = no; then
9345       runpath_var=
9346       hardcode_libdir_flag_spec=
9347       export_dynamic_flag_spec=
9348       whole_archive_flag_spec=
9349     fi
9350   else
9351     # PORTME fill in a description of your system's linker (not GNU ld)
9352     case $host_os in
9353     aix3*)
9354       allow_undefined_flag=unsupported
9355       always_export_symbols=yes
9356       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'
9357       # Note: this linker hardcodes the directories in LIBPATH if there
9358       # are no directories specified by -L.
9359       hardcode_minus_L=yes
9360       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9361         # Neither direct hardcoding nor static linking is supported with a
9362         # broken collect2.
9363         hardcode_direct=unsupported
9364       fi
9365       ;;
9366
9367     aix[4-9]*)
9368       if test "$host_cpu" = ia64; then
9369         # On IA64, the linker does run time linking by default, so we don't
9370         # have to do anything special.
9371         aix_use_runtimelinking=no
9372         exp_sym_flag='-Bexport'
9373         no_entry_flag=""
9374       else
9375         # If we're using GNU nm, then we don't want the "-C" option.
9376         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9377         # Also, AIX nm treats weak defined symbols like other global
9378         # defined symbols, whereas GNU nm marks them as "W".
9379         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9380           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'
9381         else
9382           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'
9383         fi
9384         aix_use_runtimelinking=no
9385
9386         # Test if we are trying to use run time linking or normal
9387         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9388         # need to do runtime linking.
9389         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9390           for ld_flag in $LDFLAGS; do
9391           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9392             aix_use_runtimelinking=yes
9393             break
9394           fi
9395           done
9396           ;;
9397         esac
9398
9399         exp_sym_flag='-bexport'
9400         no_entry_flag='-bnoentry'
9401       fi
9402
9403       # When large executables or shared objects are built, AIX ld can
9404       # have problems creating the table of contents.  If linking a library
9405       # or program results in "error TOC overflow" add -mminimal-toc to
9406       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9407       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9408
9409       archive_cmds=''
9410       hardcode_direct=yes
9411       hardcode_direct_absolute=yes
9412       hardcode_libdir_separator=':'
9413       link_all_deplibs=yes
9414       file_list_spec='${wl}-f,'
9415
9416       if test "$GCC" = yes; then
9417         case $host_os in aix4.[012]|aix4.[012].*)
9418         # We only want to do this on AIX 4.2 and lower, the check
9419         # below for broken collect2 doesn't work under 4.3+
9420           collect2name=`${CC} -print-prog-name=collect2`
9421           if test -f "$collect2name" &&
9422            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9423           then
9424           # We have reworked collect2
9425           :
9426           else
9427           # We have old collect2
9428           hardcode_direct=unsupported
9429           # It fails to find uninstalled libraries when the uninstalled
9430           # path is not listed in the libpath.  Setting hardcode_minus_L
9431           # to unsupported forces relinking
9432           hardcode_minus_L=yes
9433           hardcode_libdir_flag_spec='-L$libdir'
9434           hardcode_libdir_separator=
9435           fi
9436           ;;
9437         esac
9438         shared_flag='-shared'
9439         if test "$aix_use_runtimelinking" = yes; then
9440           shared_flag="$shared_flag "'${wl}-G'
9441         fi
9442       else
9443         # not using gcc
9444         if test "$host_cpu" = ia64; then
9445         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9446         # chokes on -Wl,-G. The following line is correct:
9447           shared_flag='-G'
9448         else
9449           if test "$aix_use_runtimelinking" = yes; then
9450             shared_flag='${wl}-G'
9451           else
9452             shared_flag='${wl}-bM:SRE'
9453           fi
9454         fi
9455       fi
9456
9457       export_dynamic_flag_spec='${wl}-bexpall'
9458       # It seems that -bexpall does not export symbols beginning with
9459       # underscore (_), so it is better to generate a list of symbols to export.
9460       always_export_symbols=yes
9461       if test "$aix_use_runtimelinking" = yes; then
9462         # Warning - without using the other runtime loading flags (-brtl),
9463         # -berok will link without error, but may produce a broken library.
9464         allow_undefined_flag='-berok'
9465         # Determine the default libpath from the value encoded in an
9466         # empty executable.
9467         if test x$gcc_no_link = xyes; then
9468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9469 fi
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h.  */
9472
9473 int
9474 main ()
9475 {
9476
9477   ;
9478   return 0;
9479 }
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482
9483 lt_aix_libpath_sed='
9484     /Import File Strings/,/^$/ {
9485         /^0/ {
9486             s/^0  *\(.*\)$/\1/
9487             p
9488         }
9489     }'
9490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9491 # Check for a 64-bit object if we didn't find anything.
9492 if test -z "$aix_libpath"; then
9493   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9494 fi
9495 fi
9496 rm -f core conftest.err conftest.$ac_objext \
9497     conftest$ac_exeext conftest.$ac_ext
9498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9499
9500         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9501         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"
9502       else
9503         if test "$host_cpu" = ia64; then
9504           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9505           allow_undefined_flag="-z nodefs"
9506           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"
9507         else
9508          # Determine the default libpath from the value encoded in an
9509          # empty executable.
9510          if test x$gcc_no_link = xyes; then
9511   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9512 fi
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h.  */
9515
9516 int
9517 main ()
9518 {
9519
9520   ;
9521   return 0;
9522 }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525
9526 lt_aix_libpath_sed='
9527     /Import File Strings/,/^$/ {
9528         /^0/ {
9529             s/^0  *\(.*\)$/\1/
9530             p
9531         }
9532     }'
9533 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 # Check for a 64-bit object if we didn't find anything.
9535 if test -z "$aix_libpath"; then
9536   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 fi
9538 fi
9539 rm -f core conftest.err conftest.$ac_objext \
9540     conftest$ac_exeext conftest.$ac_ext
9541 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9542
9543          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9544           # Warning - without using the other run time loading flags,
9545           # -berok will link without error, but may produce a broken library.
9546           no_undefined_flag=' ${wl}-bernotok'
9547           allow_undefined_flag=' ${wl}-berok'
9548           if test "$with_gnu_ld" = yes; then
9549             # We only use this code for GNU lds that support --whole-archive.
9550             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9551           else
9552             # Exported symbols can be pulled into shared objects from archives
9553             whole_archive_flag_spec='$convenience'
9554           fi
9555           archive_cmds_need_lc=yes
9556           # This is similar to how AIX traditionally builds its shared libraries.
9557           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'
9558         fi
9559       fi
9560       ;;
9561
9562     amigaos*)
9563       case $host_cpu in
9564       powerpc)
9565             # see comment about AmigaOS4 .so support
9566             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567             archive_expsym_cmds=''
9568         ;;
9569       m68k)
9570             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)'
9571             hardcode_libdir_flag_spec='-L$libdir'
9572             hardcode_minus_L=yes
9573         ;;
9574       esac
9575       ;;
9576
9577     bsdi[45]*)
9578       export_dynamic_flag_spec=-rdynamic
9579       ;;
9580
9581     cygwin* | mingw* | pw32* | cegcc*)
9582       # When not using gcc, we currently assume that we are using
9583       # Microsoft Visual C++.
9584       # hardcode_libdir_flag_spec is actually meaningless, as there is
9585       # no search path for DLLs.
9586       hardcode_libdir_flag_spec=' '
9587       allow_undefined_flag=unsupported
9588       # Tell ltmain to make .lib files, not .a files.
9589       libext=lib
9590       # Tell ltmain to make .dll files, not .so files.
9591       shrext_cmds=".dll"
9592       # FIXME: Setting linknames here is a bad hack.
9593       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9594       # The linker will automatically build a .lib file if we build a DLL.
9595       old_archive_from_new_cmds='true'
9596       # FIXME: Should let the user specify the lib program.
9597       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9598       fix_srcfile_path='`cygpath -w "$srcfile"`'
9599       enable_shared_with_static_runtimes=yes
9600       ;;
9601
9602     darwin* | rhapsody*)
9603
9604
9605   archive_cmds_need_lc=no
9606   hardcode_direct=no
9607   hardcode_automatic=yes
9608   hardcode_shlibpath_var=unsupported
9609   if test "$lt_cv_ld_force_load" = "yes"; then
9610     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\"`'
9611   else
9612     whole_archive_flag_spec=''
9613   fi
9614   link_all_deplibs=yes
9615   allow_undefined_flag="$_lt_dar_allow_undefined"
9616   case $cc_basename in
9617      ifort*) _lt_dar_can_shared=yes ;;
9618      *) _lt_dar_can_shared=$GCC ;;
9619   esac
9620   if test "$_lt_dar_can_shared" = "yes"; then
9621     output_verbose_link_cmd=func_echo_all
9622     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9623     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9624     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}"
9625     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}"
9626
9627   else
9628   ld_shlibs=no
9629   fi
9630
9631       ;;
9632
9633     dgux*)
9634       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635       hardcode_libdir_flag_spec='-L$libdir'
9636       hardcode_shlibpath_var=no
9637       ;;
9638
9639     freebsd1*)
9640       ld_shlibs=no
9641       ;;
9642
9643     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9644     # support.  Future versions do this automatically, but an explicit c++rt0.o
9645     # does not break anything, and helps significantly (at the cost of a little
9646     # extra space).
9647     freebsd2.2*)
9648       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9649       hardcode_libdir_flag_spec='-R$libdir'
9650       hardcode_direct=yes
9651       hardcode_shlibpath_var=no
9652       ;;
9653
9654     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9655     freebsd2*)
9656       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9657       hardcode_direct=yes
9658       hardcode_minus_L=yes
9659       hardcode_shlibpath_var=no
9660       ;;
9661
9662     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9663     freebsd* | dragonfly*)
9664       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9665       hardcode_libdir_flag_spec='-R$libdir'
9666       hardcode_direct=yes
9667       hardcode_shlibpath_var=no
9668       ;;
9669
9670     hpux9*)
9671       if test "$GCC" = yes; then
9672         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'
9673       else
9674         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'
9675       fi
9676       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9677       hardcode_libdir_separator=:
9678       hardcode_direct=yes
9679
9680       # hardcode_minus_L: Not really in the search PATH,
9681       # but as the default location of the library.
9682       hardcode_minus_L=yes
9683       export_dynamic_flag_spec='${wl}-E'
9684       ;;
9685
9686     hpux10*)
9687       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9688         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9689       else
9690         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9691       fi
9692       if test "$with_gnu_ld" = no; then
9693         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9694         hardcode_libdir_flag_spec_ld='+b $libdir'
9695         hardcode_libdir_separator=:
9696         hardcode_direct=yes
9697         hardcode_direct_absolute=yes
9698         export_dynamic_flag_spec='${wl}-E'
9699         # hardcode_minus_L: Not really in the search PATH,
9700         # but as the default location of the library.
9701         hardcode_minus_L=yes
9702       fi
9703       ;;
9704
9705     hpux11*)
9706       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9707         case $host_cpu in
9708         hppa*64*)
9709           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9710           ;;
9711         ia64*)
9712           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9713           ;;
9714         *)
9715           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9716           ;;
9717         esac
9718       else
9719         case $host_cpu in
9720         hppa*64*)
9721           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9722           ;;
9723         ia64*)
9724           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9725           ;;
9726         *)
9727
9728           # Older versions of the 11.00 compiler do not understand -b yet
9729           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9730           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9731 $as_echo_n "checking if $CC understands -b... " >&6; }
9732 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9733   $as_echo_n "(cached) " >&6
9734 else
9735   lt_cv_prog_compiler__b=no
9736    save_LDFLAGS="$LDFLAGS"
9737    LDFLAGS="$LDFLAGS -b"
9738    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9739    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9740      # The linker can only warn and ignore the option if not recognized
9741      # So say no if there are warnings
9742      if test -s conftest.err; then
9743        # Append any errors to the config.log.
9744        cat conftest.err 1>&5
9745        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9746        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9747        if diff conftest.exp conftest.er2 >/dev/null; then
9748          lt_cv_prog_compiler__b=yes
9749        fi
9750      else
9751        lt_cv_prog_compiler__b=yes
9752      fi
9753    fi
9754    $RM -r conftest*
9755    LDFLAGS="$save_LDFLAGS"
9756
9757 fi
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9759 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9760
9761 if test x"$lt_cv_prog_compiler__b" = xyes; then
9762     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 else
9764     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9765 fi
9766
9767           ;;
9768         esac
9769       fi
9770       if test "$with_gnu_ld" = no; then
9771         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9772         hardcode_libdir_separator=:
9773
9774         case $host_cpu in
9775         hppa*64*|ia64*)
9776           hardcode_direct=no
9777           hardcode_shlibpath_var=no
9778           ;;
9779         *)
9780           hardcode_direct=yes
9781           hardcode_direct_absolute=yes
9782           export_dynamic_flag_spec='${wl}-E'
9783
9784           # hardcode_minus_L: Not really in the search PATH,
9785           # but as the default location of the library.
9786           hardcode_minus_L=yes
9787           ;;
9788         esac
9789       fi
9790       ;;
9791
9792     irix5* | irix6* | nonstopux*)
9793       if test "$GCC" = yes; then
9794         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'
9795         # Try to use the -exported_symbol ld option, if it does not
9796         # work, assume that -exports_file does not work either and
9797         # implicitly export all symbols.
9798         save_LDFLAGS="$LDFLAGS"
9799         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9800         if test x$gcc_no_link = xyes; then
9801   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9802 fi
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h.  */
9805 int foo(void) {}
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808   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'
9809
9810 fi
9811 rm -f core conftest.err conftest.$ac_objext \
9812     conftest$ac_exeext conftest.$ac_ext
9813         LDFLAGS="$save_LDFLAGS"
9814       else
9815         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'
9816         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'
9817       fi
9818       archive_cmds_need_lc='no'
9819       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9820       hardcode_libdir_separator=:
9821       inherit_rpath=yes
9822       link_all_deplibs=yes
9823       ;;
9824
9825     netbsd*)
9826       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9827         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9828       else
9829         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9830       fi
9831       hardcode_libdir_flag_spec='-R$libdir'
9832       hardcode_direct=yes
9833       hardcode_shlibpath_var=no
9834       ;;
9835
9836     newsos6)
9837       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838       hardcode_direct=yes
9839       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840       hardcode_libdir_separator=:
9841       hardcode_shlibpath_var=no
9842       ;;
9843
9844     *nto* | *qnx*)
9845       ;;
9846
9847     openbsd*)
9848       if test -f /usr/libexec/ld.so; then
9849         hardcode_direct=yes
9850         hardcode_shlibpath_var=no
9851         hardcode_direct_absolute=yes
9852         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9853           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9854           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9855           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9856           export_dynamic_flag_spec='${wl}-E'
9857         else
9858           case $host_os in
9859            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9860              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861              hardcode_libdir_flag_spec='-R$libdir'
9862              ;;
9863            *)
9864              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9865              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9866              ;;
9867           esac
9868         fi
9869       else
9870         ld_shlibs=no
9871       fi
9872       ;;
9873
9874     os2*)
9875       hardcode_libdir_flag_spec='-L$libdir'
9876       hardcode_minus_L=yes
9877       allow_undefined_flag=unsupported
9878       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'
9879       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9880       ;;
9881
9882     osf3*)
9883       if test "$GCC" = yes; then
9884         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9885         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'
9886       else
9887         allow_undefined_flag=' -expect_unresolved \*'
9888         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'
9889       fi
9890       archive_cmds_need_lc='no'
9891       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9892       hardcode_libdir_separator=:
9893       ;;
9894
9895     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9896       if test "$GCC" = yes; then
9897         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9898         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'
9899         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9900       else
9901         allow_undefined_flag=' -expect_unresolved \*'
9902         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'
9903         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~
9904         $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'
9905
9906         # Both c and cxx compiler support -rpath directly
9907         hardcode_libdir_flag_spec='-rpath $libdir'
9908       fi
9909       archive_cmds_need_lc='no'
9910       hardcode_libdir_separator=:
9911       ;;
9912
9913     solaris*)
9914       no_undefined_flag=' -z defs'
9915       if test "$GCC" = yes; then
9916         wlarc='${wl}'
9917         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9919           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9920       else
9921         case `$CC -V 2>&1` in
9922         *"Compilers 5.0"*)
9923           wlarc=''
9924           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9926           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9927           ;;
9928         *)
9929           wlarc='${wl}'
9930           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9931           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9932           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9933           ;;
9934         esac
9935       fi
9936       hardcode_libdir_flag_spec='-R$libdir'
9937       hardcode_shlibpath_var=no
9938       case $host_os in
9939       solaris2.[0-5] | solaris2.[0-5].*) ;;
9940       *)
9941         # The compiler driver will combine and reorder linker options,
9942         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9943         # but is careful enough not to reorder.
9944         # Supported since Solaris 2.6 (maybe 2.5.1?)
9945         if test "$GCC" = yes; then
9946           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9947         else
9948           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9949         fi
9950         ;;
9951       esac
9952       link_all_deplibs=yes
9953       ;;
9954
9955     sunos4*)
9956       if test "x$host_vendor" = xsequent; then
9957         # Use $CC to link under sequent, because it throws in some extra .o
9958         # files that make .init and .fini sections work.
9959         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9960       else
9961         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9962       fi
9963       hardcode_libdir_flag_spec='-L$libdir'
9964       hardcode_direct=yes
9965       hardcode_minus_L=yes
9966       hardcode_shlibpath_var=no
9967       ;;
9968
9969     sysv4)
9970       case $host_vendor in
9971         sni)
9972           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973           hardcode_direct=yes # is this really true???
9974         ;;
9975         siemens)
9976           ## LD is ld it makes a PLAMLIB
9977           ## CC just makes a GrossModule.
9978           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9979           reload_cmds='$CC -r -o $output$reload_objs'
9980           hardcode_direct=no
9981         ;;
9982         motorola)
9983           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9985         ;;
9986       esac
9987       runpath_var='LD_RUN_PATH'
9988       hardcode_shlibpath_var=no
9989       ;;
9990
9991     sysv4.3*)
9992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993       hardcode_shlibpath_var=no
9994       export_dynamic_flag_spec='-Bexport'
9995       ;;
9996
9997     sysv4*MP*)
9998       if test -d /usr/nec; then
9999         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000         hardcode_shlibpath_var=no
10001         runpath_var=LD_RUN_PATH
10002         hardcode_runpath_var=yes
10003         ld_shlibs=yes
10004       fi
10005       ;;
10006
10007     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10008       no_undefined_flag='${wl}-z,text'
10009       archive_cmds_need_lc=no
10010       hardcode_shlibpath_var=no
10011       runpath_var='LD_RUN_PATH'
10012
10013       if test "$GCC" = yes; then
10014         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10016       else
10017         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10019       fi
10020       ;;
10021
10022     sysv5* | sco3.2v5* | sco5v6*)
10023       # Note: We can NOT use -z defs as we might desire, because we do not
10024       # link with -lc, and that would cause any symbols used from libc to
10025       # always be unresolved, which means just about no library would
10026       # ever link correctly.  If we're not using GNU ld we use -z text
10027       # though, which does catch some bad symbols but isn't as heavy-handed
10028       # as -z defs.
10029       no_undefined_flag='${wl}-z,text'
10030       allow_undefined_flag='${wl}-z,nodefs'
10031       archive_cmds_need_lc=no
10032       hardcode_shlibpath_var=no
10033       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10034       hardcode_libdir_separator=':'
10035       link_all_deplibs=yes
10036       export_dynamic_flag_spec='${wl}-Bexport'
10037       runpath_var='LD_RUN_PATH'
10038
10039       if test "$GCC" = yes; then
10040         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042       else
10043         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045       fi
10046       ;;
10047
10048     uts4*)
10049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050       hardcode_libdir_flag_spec='-L$libdir'
10051       hardcode_shlibpath_var=no
10052       ;;
10053
10054     *)
10055       ld_shlibs=no
10056       ;;
10057     esac
10058
10059     if test x$host_vendor = xsni; then
10060       case $host in
10061       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10062         export_dynamic_flag_spec='${wl}-Blargedynsym'
10063         ;;
10064       esac
10065     fi
10066   fi
10067
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10069 $as_echo "$ld_shlibs" >&6; }
10070 test "$ld_shlibs" = no && can_build_shared=no
10071
10072 with_gnu_ld=$with_gnu_ld
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088 #
10089 # Do we need to explicitly link libc?
10090 #
10091 case "x$archive_cmds_need_lc" in
10092 x|xyes)
10093   # Assume -lc should be added
10094   archive_cmds_need_lc=yes
10095
10096   if test "$enable_shared" = yes && test "$GCC" = yes; then
10097     case $archive_cmds in
10098     *'~'*)
10099       # FIXME: we may have to deal with multi-command sequences.
10100       ;;
10101     '$CC '*)
10102       # Test whether the compiler implicitly links with -lc since on some
10103       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10104       # to ld, don't add -lc before -lgcc.
10105       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10107 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10108   $as_echo_n "(cached) " >&6
10109 else
10110   $RM conftest*
10111         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10112
10113         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10114   (eval $ac_compile) 2>&5
10115   ac_status=$?
10116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10117   test $ac_status = 0; } 2>conftest.err; then
10118           soname=conftest
10119           lib=conftest
10120           libobjs=conftest.$ac_objext
10121           deplibs=
10122           wl=$lt_prog_compiler_wl
10123           pic_flag=$lt_prog_compiler_pic
10124           compiler_flags=-v
10125           linker_flags=-v
10126           verstring=
10127           output_objdir=.
10128           libname=conftest
10129           lt_save_allow_undefined_flag=$allow_undefined_flag
10130           allow_undefined_flag=
10131           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10132   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10133   ac_status=$?
10134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135   test $ac_status = 0; }
10136           then
10137             lt_cv_archive_cmds_need_lc=no
10138           else
10139             lt_cv_archive_cmds_need_lc=yes
10140           fi
10141           allow_undefined_flag=$lt_save_allow_undefined_flag
10142         else
10143           cat conftest.err 1>&5
10144         fi
10145         $RM conftest*
10146
10147 fi
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10149 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10150       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10151       ;;
10152     esac
10153   fi
10154   ;;
10155 esac
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10314 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10315
10316 if test "$GCC" = yes; then
10317   case $host_os in
10318     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10319     *) lt_awk_arg="/^libraries:/" ;;
10320   esac
10321   case $host_os in
10322     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10323     *) lt_sed_strip_eq="s,=/,/,g" ;;
10324   esac
10325   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10326   case $lt_search_path_spec in
10327   *\;*)
10328     # if the path contains ";" then we assume it to be the separator
10329     # otherwise default to the standard path separator (i.e. ":") - it is
10330     # assumed that no part of a normal pathname contains ";" but that should
10331     # okay in the real world where ";" in dirpaths is itself problematic.
10332     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10333     ;;
10334   *)
10335     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10336     ;;
10337   esac
10338   # Ok, now we have the path, separated by spaces, we can step through it
10339   # and add multilib dir if necessary.
10340   lt_tmp_lt_search_path_spec=
10341   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10342   for lt_sys_path in $lt_search_path_spec; do
10343     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10344       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10345     else
10346       test -d "$lt_sys_path" && \
10347         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10348     fi
10349   done
10350   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10351 BEGIN {RS=" "; FS="/|\n";} {
10352   lt_foo="";
10353   lt_count=0;
10354   for (lt_i = NF; lt_i > 0; lt_i--) {
10355     if ($lt_i != "" && $lt_i != ".") {
10356       if ($lt_i == "..") {
10357         lt_count++;
10358       } else {
10359         if (lt_count == 0) {
10360           lt_foo="/" $lt_i lt_foo;
10361         } else {
10362           lt_count--;
10363         }
10364       }
10365     }
10366   }
10367   if (lt_foo != "") { lt_freq[lt_foo]++; }
10368   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10369 }'`
10370   # AWK program above erroneously prepends '/' to C:/dos/paths
10371   # for these hosts.
10372   case $host_os in
10373     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10374       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10375   esac
10376   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10377 else
10378   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10379 fi
10380 library_names_spec=
10381 libname_spec='lib$name'
10382 soname_spec=
10383 shrext_cmds=".so"
10384 postinstall_cmds=
10385 postuninstall_cmds=
10386 finish_cmds=
10387 finish_eval=
10388 shlibpath_var=
10389 shlibpath_overrides_runpath=unknown
10390 version_type=none
10391 dynamic_linker="$host_os ld.so"
10392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10393 need_lib_prefix=unknown
10394 hardcode_into_libs=no
10395
10396 # when you set need_version to no, make sure it does not cause -set_version
10397 # flags to be left without arguments
10398 need_version=unknown
10399
10400 case $host_os in
10401 aix3*)
10402   version_type=linux
10403   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10404   shlibpath_var=LIBPATH
10405
10406   # AIX 3 has no versioning support, so we append a major version to the name.
10407   soname_spec='${libname}${release}${shared_ext}$major'
10408   ;;
10409
10410 aix[4-9]*)
10411   version_type=linux
10412   need_lib_prefix=no
10413   need_version=no
10414   hardcode_into_libs=yes
10415   if test "$host_cpu" = ia64; then
10416     # AIX 5 supports IA64
10417     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10418     shlibpath_var=LD_LIBRARY_PATH
10419   else
10420     # With GCC up to 2.95.x, collect2 would create an import file
10421     # for dependence libraries.  The import file would start with
10422     # the line `#! .'.  This would cause the generated library to
10423     # depend on `.', always an invalid library.  This was fixed in
10424     # development snapshots of GCC prior to 3.0.
10425     case $host_os in
10426       aix4 | aix4.[01] | aix4.[01].*)
10427       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10428            echo ' yes '
10429            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10430         :
10431       else
10432         can_build_shared=no
10433       fi
10434       ;;
10435     esac
10436     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10437     # soname into executable. Probably we can add versioning support to
10438     # collect2, so additional links can be useful in future.
10439     if test "$aix_use_runtimelinking" = yes; then
10440       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10441       # instead of lib<name>.a to let people know that these are not
10442       # typical AIX shared libraries.
10443       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444     else
10445       # We preserve .a as extension for shared libraries through AIX4.2
10446       # and later when we are not doing run time linking.
10447       library_names_spec='${libname}${release}.a $libname.a'
10448       soname_spec='${libname}${release}${shared_ext}$major'
10449     fi
10450     shlibpath_var=LIBPATH
10451   fi
10452   ;;
10453
10454 amigaos*)
10455   case $host_cpu in
10456   powerpc)
10457     # Since July 2007 AmigaOS4 officially supports .so libraries.
10458     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460     ;;
10461   m68k)
10462     library_names_spec='$libname.ixlibrary $libname.a'
10463     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10464     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'
10465     ;;
10466   esac
10467   ;;
10468
10469 beos*)
10470   library_names_spec='${libname}${shared_ext}'
10471   dynamic_linker="$host_os ld.so"
10472   shlibpath_var=LIBRARY_PATH
10473   ;;
10474
10475 bsdi[45]*)
10476   version_type=linux
10477   need_version=no
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479   soname_spec='${libname}${release}${shared_ext}$major'
10480   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10481   shlibpath_var=LD_LIBRARY_PATH
10482   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10483   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10484   # the default ld.so.conf also contains /usr/contrib/lib and
10485   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10486   # libtool to hard-code these into programs
10487   ;;
10488
10489 cygwin* | mingw* | pw32* | cegcc*)
10490   version_type=windows
10491   shrext_cmds=".dll"
10492   need_version=no
10493   need_lib_prefix=no
10494
10495   case $GCC,$host_os in
10496   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10497     library_names_spec='$libname.dll.a'
10498     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10499     postinstall_cmds='base_file=`basename \${file}`~
10500       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10501       dldir=$destdir/`dirname \$dlpath`~
10502       test -d \$dldir || mkdir -p \$dldir~
10503       $install_prog $dir/$dlname \$dldir/$dlname~
10504       chmod a+x \$dldir/$dlname~
10505       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10506         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10507       fi'
10508     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10509       dlpath=$dir/\$dldll~
10510        $RM \$dlpath'
10511     shlibpath_overrides_runpath=yes
10512
10513     case $host_os in
10514     cygwin*)
10515       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10516       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10517
10518       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10519       ;;
10520     mingw* | cegcc*)
10521       # MinGW DLLs use traditional 'lib' prefix
10522       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10523       ;;
10524     pw32*)
10525       # pw32 DLLs use 'pw' prefix rather than 'lib'
10526       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10527       ;;
10528     esac
10529     ;;
10530
10531   *)
10532     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10533     ;;
10534   esac
10535   dynamic_linker='Win32 ld.exe'
10536   # FIXME: first we should search . and the directory the executable is in
10537   shlibpath_var=PATH
10538   ;;
10539
10540 darwin* | rhapsody*)
10541   dynamic_linker="$host_os dyld"
10542   version_type=darwin
10543   need_lib_prefix=no
10544   need_version=no
10545   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10546   soname_spec='${libname}${release}${major}$shared_ext'
10547   shlibpath_overrides_runpath=yes
10548   shlibpath_var=DYLD_LIBRARY_PATH
10549   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10550
10551   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10552   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10553   ;;
10554
10555 dgux*)
10556   version_type=linux
10557   need_lib_prefix=no
10558   need_version=no
10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10560   soname_spec='${libname}${release}${shared_ext}$major'
10561   shlibpath_var=LD_LIBRARY_PATH
10562   ;;
10563
10564 freebsd1*)
10565   dynamic_linker=no
10566   ;;
10567
10568 freebsd* | dragonfly*)
10569   # DragonFly does not have aout.  When/if they implement a new
10570   # versioning mechanism, adjust this.
10571   if test -x /usr/bin/objformat; then
10572     objformat=`/usr/bin/objformat`
10573   else
10574     case $host_os in
10575     freebsd[123]*) objformat=aout ;;
10576     *) objformat=elf ;;
10577     esac
10578   fi
10579   version_type=freebsd-$objformat
10580   case $version_type in
10581     freebsd-elf*)
10582       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10583       need_version=no
10584       need_lib_prefix=no
10585       ;;
10586     freebsd-*)
10587       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10588       need_version=yes
10589       ;;
10590   esac
10591   shlibpath_var=LD_LIBRARY_PATH
10592   case $host_os in
10593   freebsd2*)
10594     shlibpath_overrides_runpath=yes
10595     ;;
10596   freebsd3.[01]* | freebsdelf3.[01]*)
10597     shlibpath_overrides_runpath=yes
10598     hardcode_into_libs=yes
10599     ;;
10600   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10601   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10602     shlibpath_overrides_runpath=no
10603     hardcode_into_libs=yes
10604     ;;
10605   *) # from 4.6 on, and DragonFly
10606     shlibpath_overrides_runpath=yes
10607     hardcode_into_libs=yes
10608     ;;
10609   esac
10610   ;;
10611
10612 gnu*)
10613   version_type=linux
10614   need_lib_prefix=no
10615   need_version=no
10616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10617   soname_spec='${libname}${release}${shared_ext}$major'
10618   shlibpath_var=LD_LIBRARY_PATH
10619   hardcode_into_libs=yes
10620   ;;
10621
10622 haiku*)
10623   version_type=linux
10624   need_lib_prefix=no
10625   need_version=no
10626   dynamic_linker="$host_os runtime_loader"
10627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628   soname_spec='${libname}${release}${shared_ext}$major'
10629   shlibpath_var=LIBRARY_PATH
10630   shlibpath_overrides_runpath=yes
10631   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10632   hardcode_into_libs=yes
10633   ;;
10634
10635 hpux9* | hpux10* | hpux11*)
10636   # Give a soname corresponding to the major version so that dld.sl refuses to
10637   # link against other versions.
10638   version_type=sunos
10639   need_lib_prefix=no
10640   need_version=no
10641   case $host_cpu in
10642   ia64*)
10643     shrext_cmds='.so'
10644     hardcode_into_libs=yes
10645     dynamic_linker="$host_os dld.so"
10646     shlibpath_var=LD_LIBRARY_PATH
10647     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649     soname_spec='${libname}${release}${shared_ext}$major'
10650     if test "X$HPUX_IA64_MODE" = X32; then
10651       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10652     else
10653       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10654     fi
10655     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10656     ;;
10657   hppa*64*)
10658     shrext_cmds='.sl'
10659     hardcode_into_libs=yes
10660     dynamic_linker="$host_os dld.sl"
10661     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10662     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10663     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664     soname_spec='${libname}${release}${shared_ext}$major'
10665     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10666     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10667     ;;
10668   *)
10669     shrext_cmds='.sl'
10670     dynamic_linker="$host_os dld.sl"
10671     shlibpath_var=SHLIB_PATH
10672     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674     soname_spec='${libname}${release}${shared_ext}$major'
10675     ;;
10676   esac
10677   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10678   postinstall_cmds='chmod 555 $lib'
10679   # or fails outright, so override atomically:
10680   install_override_mode=555
10681   ;;
10682
10683 interix[3-9]*)
10684   version_type=linux
10685   need_lib_prefix=no
10686   need_version=no
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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10690   shlibpath_var=LD_LIBRARY_PATH
10691   shlibpath_overrides_runpath=no
10692   hardcode_into_libs=yes
10693   ;;
10694
10695 irix5* | irix6* | nonstopux*)
10696   case $host_os in
10697     nonstopux*) version_type=nonstopux ;;
10698     *)
10699         if test "$lt_cv_prog_gnu_ld" = yes; then
10700                 version_type=linux
10701         else
10702                 version_type=irix
10703         fi ;;
10704   esac
10705   need_lib_prefix=no
10706   need_version=no
10707   soname_spec='${libname}${release}${shared_ext}$major'
10708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10709   case $host_os in
10710   irix5* | nonstopux*)
10711     libsuff= shlibsuff=
10712     ;;
10713   *)
10714     case $LD in # libtool.m4 will add one of these switches to LD
10715     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10716       libsuff= shlibsuff= libmagic=32-bit;;
10717     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10718       libsuff=32 shlibsuff=N32 libmagic=N32;;
10719     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10720       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10721     *) libsuff= shlibsuff= libmagic=never-match;;
10722     esac
10723     ;;
10724   esac
10725   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10726   shlibpath_overrides_runpath=no
10727   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10728   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10729   hardcode_into_libs=yes
10730   ;;
10731
10732 # No shared lib support for Linux oldld, aout, or coff.
10733 linux*oldld* | linux*aout* | linux*coff*)
10734   dynamic_linker=no
10735   ;;
10736
10737 # This must be Linux ELF.
10738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10739   version_type=linux
10740   need_lib_prefix=no
10741   need_version=no
10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743   soname_spec='${libname}${release}${shared_ext}$major'
10744   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745   shlibpath_var=LD_LIBRARY_PATH
10746   shlibpath_overrides_runpath=no
10747
10748   # Some binutils ld are patched to set DT_RUNPATH
10749   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10750   $as_echo_n "(cached) " >&6
10751 else
10752   lt_cv_shlibpath_overrides_runpath=no
10753     save_LDFLAGS=$LDFLAGS
10754     save_libdir=$libdir
10755     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10756          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10757     if test x$gcc_no_link = xyes; then
10758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10759 fi
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h.  */
10762
10763 int
10764 main ()
10765 {
10766
10767   ;
10768   return 0;
10769 }
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10773   lt_cv_shlibpath_overrides_runpath=yes
10774 fi
10775 fi
10776 rm -f core conftest.err conftest.$ac_objext \
10777     conftest$ac_exeext conftest.$ac_ext
10778     LDFLAGS=$save_LDFLAGS
10779     libdir=$save_libdir
10780
10781 fi
10782
10783   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10784
10785   # This implies no fast_install, which is unacceptable.
10786   # Some rework will be needed to allow for fast_install
10787   # before this can be enabled.
10788   hardcode_into_libs=yes
10789
10790   # Append ld.so.conf contents to the search path
10791   if test -f /etc/ld.so.conf; then
10792     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' ' '`
10793     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10794   fi
10795
10796   # We used to test for /lib/ld.so.1 and disable shared libraries on
10797   # powerpc, because MkLinux only supported shared libraries with the
10798   # GNU dynamic linker.  Since this was broken with cross compilers,
10799   # most powerpc-linux boxes support dynamic linking these days and
10800   # people can always --disable-shared, the test was removed, and we
10801   # assume the GNU/Linux dynamic linker is in use.
10802   dynamic_linker='GNU/Linux ld.so'
10803   ;;
10804
10805 netbsd*)
10806   version_type=sunos
10807   need_lib_prefix=no
10808   need_version=no
10809   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10810     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10811     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10812     dynamic_linker='NetBSD (a.out) ld.so'
10813   else
10814     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10815     soname_spec='${libname}${release}${shared_ext}$major'
10816     dynamic_linker='NetBSD ld.elf_so'
10817   fi
10818   shlibpath_var=LD_LIBRARY_PATH
10819   shlibpath_overrides_runpath=yes
10820   hardcode_into_libs=yes
10821   ;;
10822
10823 newsos6)
10824   version_type=linux
10825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826   shlibpath_var=LD_LIBRARY_PATH
10827   shlibpath_overrides_runpath=yes
10828   ;;
10829
10830 *nto* | *qnx*)
10831   version_type=qnx
10832   need_lib_prefix=no
10833   need_version=no
10834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835   soname_spec='${libname}${release}${shared_ext}$major'
10836   shlibpath_var=LD_LIBRARY_PATH
10837   shlibpath_overrides_runpath=no
10838   hardcode_into_libs=yes
10839   dynamic_linker='ldqnx.so'
10840   ;;
10841
10842 openbsd*)
10843   version_type=sunos
10844   sys_lib_dlsearch_path_spec="/usr/lib"
10845   need_lib_prefix=no
10846   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10847   case $host_os in
10848     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10849     *)                          need_version=no  ;;
10850   esac
10851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853   shlibpath_var=LD_LIBRARY_PATH
10854   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10855     case $host_os in
10856       openbsd2.[89] | openbsd2.[89].*)
10857         shlibpath_overrides_runpath=no
10858         ;;
10859       *)
10860         shlibpath_overrides_runpath=yes
10861         ;;
10862       esac
10863   else
10864     shlibpath_overrides_runpath=yes
10865   fi
10866   ;;
10867
10868 os2*)
10869   libname_spec='$name'
10870   shrext_cmds=".dll"
10871   need_lib_prefix=no
10872   library_names_spec='$libname${shared_ext} $libname.a'
10873   dynamic_linker='OS/2 ld.exe'
10874   shlibpath_var=LIBPATH
10875   ;;
10876
10877 osf3* | osf4* | osf5*)
10878   version_type=osf
10879   need_lib_prefix=no
10880   need_version=no
10881   soname_spec='${libname}${release}${shared_ext}$major'
10882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10885   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10886   ;;
10887
10888 rdos*)
10889   dynamic_linker=no
10890   ;;
10891
10892 solaris*)
10893   version_type=linux
10894   need_lib_prefix=no
10895   need_version=no
10896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897   soname_spec='${libname}${release}${shared_ext}$major'
10898   shlibpath_var=LD_LIBRARY_PATH
10899   shlibpath_overrides_runpath=yes
10900   hardcode_into_libs=yes
10901   # ldd complains unless libraries are executable
10902   postinstall_cmds='chmod +x $lib'
10903   ;;
10904
10905 sunos4*)
10906   version_type=sunos
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   shlibpath_overrides_runpath=yes
10911   if test "$with_gnu_ld" = yes; then
10912     need_lib_prefix=no
10913   fi
10914   need_version=yes
10915   ;;
10916
10917 sysv4 | sysv4.3*)
10918   version_type=linux
10919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920   soname_spec='${libname}${release}${shared_ext}$major'
10921   shlibpath_var=LD_LIBRARY_PATH
10922   case $host_vendor in
10923     sni)
10924       shlibpath_overrides_runpath=no
10925       need_lib_prefix=no
10926       runpath_var=LD_RUN_PATH
10927       ;;
10928     siemens)
10929       need_lib_prefix=no
10930       ;;
10931     motorola)
10932       need_lib_prefix=no
10933       need_version=no
10934       shlibpath_overrides_runpath=no
10935       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10936       ;;
10937   esac
10938   ;;
10939
10940 sysv4*MP*)
10941   if test -d /usr/nec ;then
10942     version_type=linux
10943     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10944     soname_spec='$libname${shared_ext}.$major'
10945     shlibpath_var=LD_LIBRARY_PATH
10946   fi
10947   ;;
10948
10949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10950   version_type=freebsd-elf
10951   need_lib_prefix=no
10952   need_version=no
10953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10954   soname_spec='${libname}${release}${shared_ext}$major'
10955   shlibpath_var=LD_LIBRARY_PATH
10956   shlibpath_overrides_runpath=yes
10957   hardcode_into_libs=yes
10958   if test "$with_gnu_ld" = yes; then
10959     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10960   else
10961     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10962     case $host_os in
10963       sco3.2v5*)
10964         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10965         ;;
10966     esac
10967   fi
10968   sys_lib_dlsearch_path_spec='/usr/lib'
10969   ;;
10970
10971 tpf*)
10972   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10973   version_type=linux
10974   need_lib_prefix=no
10975   need_version=no
10976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977   shlibpath_var=LD_LIBRARY_PATH
10978   shlibpath_overrides_runpath=no
10979   hardcode_into_libs=yes
10980   ;;
10981
10982 uts4*)
10983   version_type=linux
10984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985   soname_spec='${libname}${release}${shared_ext}$major'
10986   shlibpath_var=LD_LIBRARY_PATH
10987   ;;
10988
10989 *)
10990   dynamic_linker=no
10991   ;;
10992 esac
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10994 $as_echo "$dynamic_linker" >&6; }
10995 test "$dynamic_linker" = no && can_build_shared=no
10996
10997 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10998 if test "$GCC" = yes; then
10999   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11000 fi
11001
11002 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11003   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11004 fi
11005 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11006   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11007 fi
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11102 hardcode_action=
11103 if test -n "$hardcode_libdir_flag_spec" ||
11104    test -n "$runpath_var" ||
11105    test "X$hardcode_automatic" = "Xyes" ; then
11106
11107   # We can hardcode non-existent directories.
11108   if test "$hardcode_direct" != no &&
11109      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11110      # have to relink, otherwise we might link with an installed library
11111      # when we should be linking with a yet-to-be-installed one
11112      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11113      test "$hardcode_minus_L" != no; then
11114     # Linking always hardcodes the temporary library directory.
11115     hardcode_action=relink
11116   else
11117     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11118     hardcode_action=immediate
11119   fi
11120 else
11121   # We cannot hardcode anything, or else we can only hardcode existing
11122   # directories.
11123   hardcode_action=unsupported
11124 fi
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11126 $as_echo "$hardcode_action" >&6; }
11127
11128 if test "$hardcode_action" = relink ||
11129    test "$inherit_rpath" = yes; then
11130   # Fast installation is not supported
11131   enable_fast_install=no
11132 elif test "$shlibpath_overrides_runpath" = yes ||
11133      test "$enable_shared" = no; then
11134   # Fast installation is not necessary
11135   enable_fast_install=needless
11136 fi
11137
11138
11139
11140
11141
11142
11143   if test "x$enable_dlopen" != xyes; then
11144   enable_dlopen=unknown
11145   enable_dlopen_self=unknown
11146   enable_dlopen_self_static=unknown
11147 else
11148   lt_cv_dlopen=no
11149   lt_cv_dlopen_libs=
11150
11151   case $host_os in
11152   beos*)
11153     lt_cv_dlopen="load_add_on"
11154     lt_cv_dlopen_libs=
11155     lt_cv_dlopen_self=yes
11156     ;;
11157
11158   mingw* | pw32* | cegcc*)
11159     lt_cv_dlopen="LoadLibrary"
11160     lt_cv_dlopen_libs=
11161     ;;
11162
11163   cygwin*)
11164     lt_cv_dlopen="dlopen"
11165     lt_cv_dlopen_libs=
11166     ;;
11167
11168   darwin*)
11169   # if libdl is installed we need to link against it
11170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11171 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11173   $as_echo_n "(cached) " >&6
11174 else
11175   ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-ldl  $LIBS"
11177 if test x$gcc_no_link = xyes; then
11178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11179 fi
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h.  */
11182
11183 /* Override any GCC internal prototype to avoid an error.
11184    Use char because int might match the return type of a GCC
11185    builtin and then its argument prototype would still apply.  */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char dlopen ();
11190 int
11191 main ()
11192 {
11193 return dlopen ();
11194   ;
11195   return 0;
11196 }
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199   ac_cv_lib_dl_dlopen=yes
11200 else
11201   ac_cv_lib_dl_dlopen=no
11202 fi
11203 rm -f core conftest.err conftest.$ac_objext \
11204     conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11206 fi
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11209 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11210   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11211 else
11212
11213     lt_cv_dlopen="dyld"
11214     lt_cv_dlopen_libs=
11215     lt_cv_dlopen_self=yes
11216
11217 fi
11218
11219     ;;
11220
11221   *)
11222     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11223 if test "x$ac_cv_func_shl_load" = x""yes; then :
11224   lt_cv_dlopen="shl_load"
11225 else
11226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11228 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11229   $as_echo_n "(cached) " >&6
11230 else
11231   ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-ldld  $LIBS"
11233 if test x$gcc_no_link = xyes; then
11234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11235 fi
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h.  */
11238
11239 /* Override any GCC internal prototype to avoid an error.
11240    Use char because int might match the return type of a GCC
11241    builtin and then its argument prototype would still apply.  */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char shl_load ();
11246 int
11247 main ()
11248 {
11249 return shl_load ();
11250   ;
11251   return 0;
11252 }
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255   ac_cv_lib_dld_shl_load=yes
11256 else
11257   ac_cv_lib_dld_shl_load=no
11258 fi
11259 rm -f core conftest.err conftest.$ac_objext \
11260     conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11262 fi
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11265 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11266   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11267 else
11268   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11269 if test "x$ac_cv_func_dlopen" = x""yes; then :
11270   lt_cv_dlopen="dlopen"
11271 else
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11274 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11275   $as_echo_n "(cached) " >&6
11276 else
11277   ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldl  $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 fi
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h.  */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286    Use char because int might match the return type of a GCC
11287    builtin and then its argument prototype would still apply.  */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char dlopen ();
11292 int
11293 main ()
11294 {
11295 return dlopen ();
11296   ;
11297   return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301   ac_cv_lib_dl_dlopen=yes
11302 else
11303   ac_cv_lib_dl_dlopen=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306     conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11310 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11311 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11312   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11313 else
11314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11315 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11316 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11317   $as_echo_n "(cached) " >&6
11318 else
11319   ac_check_lib_save_LIBS=$LIBS
11320 LIBS="-lsvld  $LIBS"
11321 if test x$gcc_no_link = xyes; then
11322   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11323 fi
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h.  */
11326
11327 /* Override any GCC internal prototype to avoid an error.
11328    Use char because int might match the return type of a GCC
11329    builtin and then its argument prototype would still apply.  */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char dlopen ();
11334 int
11335 main ()
11336 {
11337 return dlopen ();
11338   ;
11339   return 0;
11340 }
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343   ac_cv_lib_svld_dlopen=yes
11344 else
11345   ac_cv_lib_svld_dlopen=no
11346 fi
11347 rm -f core conftest.err conftest.$ac_objext \
11348     conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11350 fi
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11352 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11353 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11354   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11355 else
11356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11357 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11358 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11359   $as_echo_n "(cached) " >&6
11360 else
11361   ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldld  $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11365 fi
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h.  */
11368
11369 /* Override any GCC internal prototype to avoid an error.
11370    Use char because int might match the return type of a GCC
11371    builtin and then its argument prototype would still apply.  */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dld_link ();
11376 int
11377 main ()
11378 {
11379 return dld_link ();
11380   ;
11381   return 0;
11382 }
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385   ac_cv_lib_dld_dld_link=yes
11386 else
11387   ac_cv_lib_dld_dld_link=no
11388 fi
11389 rm -f core conftest.err conftest.$ac_objext \
11390     conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11392 fi
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11394 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11395 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11396   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11397 fi
11398
11399
11400 fi
11401
11402
11403 fi
11404
11405
11406 fi
11407
11408
11409 fi
11410
11411
11412 fi
11413
11414     ;;
11415   esac
11416
11417   if test "x$lt_cv_dlopen" != xno; then
11418     enable_dlopen=yes
11419   else
11420     enable_dlopen=no
11421   fi
11422
11423   case $lt_cv_dlopen in
11424   dlopen)
11425     save_CPPFLAGS="$CPPFLAGS"
11426     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11427
11428     save_LDFLAGS="$LDFLAGS"
11429     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11430
11431     save_LIBS="$LIBS"
11432     LIBS="$lt_cv_dlopen_libs $LIBS"
11433
11434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11435 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11436 if test "${lt_cv_dlopen_self+set}" = set; then :
11437   $as_echo_n "(cached) " >&6
11438 else
11439           if test "$cross_compiling" = yes; then :
11440   lt_cv_dlopen_self=cross
11441 else
11442   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11443   lt_status=$lt_dlunknown
11444   cat > conftest.$ac_ext <<_LT_EOF
11445 #line 11445 "configure"
11446 #include "confdefs.h"
11447
11448 #if HAVE_DLFCN_H
11449 #include <dlfcn.h>
11450 #endif
11451
11452 #include <stdio.h>
11453
11454 #ifdef RTLD_GLOBAL
11455 #  define LT_DLGLOBAL           RTLD_GLOBAL
11456 #else
11457 #  ifdef DL_GLOBAL
11458 #    define LT_DLGLOBAL         DL_GLOBAL
11459 #  else
11460 #    define LT_DLGLOBAL         0
11461 #  endif
11462 #endif
11463
11464 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11465    find out it does not work in some platform. */
11466 #ifndef LT_DLLAZY_OR_NOW
11467 #  ifdef RTLD_LAZY
11468 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11469 #  else
11470 #    ifdef DL_LAZY
11471 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11472 #    else
11473 #      ifdef RTLD_NOW
11474 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11475 #      else
11476 #        ifdef DL_NOW
11477 #          define LT_DLLAZY_OR_NOW      DL_NOW
11478 #        else
11479 #          define LT_DLLAZY_OR_NOW      0
11480 #        endif
11481 #      endif
11482 #    endif
11483 #  endif
11484 #endif
11485
11486 /* When -fvisbility=hidden is used, assume the code has been annotated
11487    correspondingly for the symbols needed.  */
11488 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11489 void fnord () __attribute__((visibility("default")));
11490 #endif
11491
11492 void fnord () { int i=42; }
11493 int main ()
11494 {
11495   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11496   int status = $lt_dlunknown;
11497
11498   if (self)
11499     {
11500       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11501       else
11502         {
11503           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11504           else puts (dlerror ());
11505         }
11506       /* dlclose (self); */
11507     }
11508   else
11509     puts (dlerror ());
11510
11511   return status;
11512 }
11513 _LT_EOF
11514   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11515   (eval $ac_link) 2>&5
11516   ac_status=$?
11517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11518   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11519     (./conftest; exit; ) >&5 2>/dev/null
11520     lt_status=$?
11521     case x$lt_status in
11522       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11523       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11524       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11525     esac
11526   else :
11527     # compilation failed
11528     lt_cv_dlopen_self=no
11529   fi
11530 fi
11531 rm -fr conftest*
11532
11533
11534 fi
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11536 $as_echo "$lt_cv_dlopen_self" >&6; }
11537
11538     if test "x$lt_cv_dlopen_self" = xyes; then
11539       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11540       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11541 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11542 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11543   $as_echo_n "(cached) " >&6
11544 else
11545           if test "$cross_compiling" = yes; then :
11546   lt_cv_dlopen_self_static=cross
11547 else
11548   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11549   lt_status=$lt_dlunknown
11550   cat > conftest.$ac_ext <<_LT_EOF
11551 #line 11551 "configure"
11552 #include "confdefs.h"
11553
11554 #if HAVE_DLFCN_H
11555 #include <dlfcn.h>
11556 #endif
11557
11558 #include <stdio.h>
11559
11560 #ifdef RTLD_GLOBAL
11561 #  define LT_DLGLOBAL           RTLD_GLOBAL
11562 #else
11563 #  ifdef DL_GLOBAL
11564 #    define LT_DLGLOBAL         DL_GLOBAL
11565 #  else
11566 #    define LT_DLGLOBAL         0
11567 #  endif
11568 #endif
11569
11570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11571    find out it does not work in some platform. */
11572 #ifndef LT_DLLAZY_OR_NOW
11573 #  ifdef RTLD_LAZY
11574 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11575 #  else
11576 #    ifdef DL_LAZY
11577 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11578 #    else
11579 #      ifdef RTLD_NOW
11580 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11581 #      else
11582 #        ifdef DL_NOW
11583 #          define LT_DLLAZY_OR_NOW      DL_NOW
11584 #        else
11585 #          define LT_DLLAZY_OR_NOW      0
11586 #        endif
11587 #      endif
11588 #    endif
11589 #  endif
11590 #endif
11591
11592 /* When -fvisbility=hidden is used, assume the code has been annotated
11593    correspondingly for the symbols needed.  */
11594 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11595 void fnord () __attribute__((visibility("default")));
11596 #endif
11597
11598 void fnord () { int i=42; }
11599 int main ()
11600 {
11601   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11602   int status = $lt_dlunknown;
11603
11604   if (self)
11605     {
11606       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11607       else
11608         {
11609           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11610           else puts (dlerror ());
11611         }
11612       /* dlclose (self); */
11613     }
11614   else
11615     puts (dlerror ());
11616
11617   return status;
11618 }
11619 _LT_EOF
11620   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11621   (eval $ac_link) 2>&5
11622   ac_status=$?
11623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11624   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11625     (./conftest; exit; ) >&5 2>/dev/null
11626     lt_status=$?
11627     case x$lt_status in
11628       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11629       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11630       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11631     esac
11632   else :
11633     # compilation failed
11634     lt_cv_dlopen_self_static=no
11635   fi
11636 fi
11637 rm -fr conftest*
11638
11639
11640 fi
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11642 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11643     fi
11644
11645     CPPFLAGS="$save_CPPFLAGS"
11646     LDFLAGS="$save_LDFLAGS"
11647     LIBS="$save_LIBS"
11648     ;;
11649   esac
11650
11651   case $lt_cv_dlopen_self in
11652   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11653   *) enable_dlopen_self=unknown ;;
11654   esac
11655
11656   case $lt_cv_dlopen_self_static in
11657   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11658   *) enable_dlopen_self_static=unknown ;;
11659   esac
11660 fi
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678 striplib=
11679 old_striplib=
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11681 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11682 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11683   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11684   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11687 else
11688 # FIXME - insert some real tests, host_os isn't really good enough
11689   case $host_os in
11690   darwin*)
11691     if test -n "$STRIP" ; then
11692       striplib="$STRIP -x"
11693       old_striplib="$STRIP -S"
11694       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11695 $as_echo "yes" >&6; }
11696     else
11697       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11699     fi
11700     ;;
11701   *)
11702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11704     ;;
11705   esac
11706 fi
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719   # Report which library types will actually be built
11720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11721 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11723 $as_echo "$can_build_shared" >&6; }
11724
11725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11726 $as_echo_n "checking whether to build shared libraries... " >&6; }
11727   test "$can_build_shared" = "no" && enable_shared=no
11728
11729   # On AIX, shared libraries and static libraries use the same namespace, and
11730   # are all built from PIC.
11731   case $host_os in
11732   aix3*)
11733     test "$enable_shared" = yes && enable_static=no
11734     if test -n "$RANLIB"; then
11735       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11736       postinstall_cmds='$RANLIB $lib'
11737     fi
11738     ;;
11739
11740   aix[4-9]*)
11741     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11742       test "$enable_shared" = yes && enable_static=no
11743     fi
11744     ;;
11745   esac
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11747 $as_echo "$enable_shared" >&6; }
11748
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11750 $as_echo_n "checking whether to build static libraries... " >&6; }
11751   # Make sure either enable_shared or enable_static is yes.
11752   test "$enable_shared" = yes || enable_static=yes
11753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11754 $as_echo "$enable_static" >&6; }
11755
11756
11757
11758
11759 fi
11760 ac_ext=c
11761 ac_cpp='$CPP $CPPFLAGS'
11762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11765
11766 CC="$lt_save_CC"
11767
11768       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11769     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11770     (test "X$CXX" != "Xg++"))) ; then
11771   ac_ext=cpp
11772 ac_cpp='$CXXCPP $CPPFLAGS'
11773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11777 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11778 if test -z "$CXXCPP"; then
11779   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11780   $as_echo_n "(cached) " >&6
11781 else
11782       # Double quotes because CXXCPP needs to be expanded
11783     for CXXCPP in "$CXX -E" "/lib/cpp"
11784     do
11785       ac_preproc_ok=false
11786 for ac_cxx_preproc_warn_flag in '' yes
11787 do
11788   # Use a header file that comes with gcc, so configuring glibc
11789   # with a fresh cross-compiler works.
11790   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11791   # <limits.h> exists even on freestanding compilers.
11792   # On the NeXT, cc -E runs the code through the compiler's parser,
11793   # not just through cpp. "Syntax error" is here to catch this case.
11794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h.  */
11796 #ifdef __STDC__
11797 # include <limits.h>
11798 #else
11799 # include <assert.h>
11800 #endif
11801                      Syntax error
11802 _ACEOF
11803 if ac_fn_cxx_try_cpp "$LINENO"; then :
11804
11805 else
11806   # Broken: fails on valid input.
11807 continue
11808 fi
11809 rm -f conftest.err conftest.$ac_ext
11810
11811   # OK, works on sane cases.  Now check whether nonexistent headers
11812   # can be detected and how.
11813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h.  */
11815 #include <ac_nonexistent.h>
11816 _ACEOF
11817 if ac_fn_cxx_try_cpp "$LINENO"; then :
11818   # Broken: success on invalid input.
11819 continue
11820 else
11821   # Passes both tests.
11822 ac_preproc_ok=:
11823 break
11824 fi
11825 rm -f conftest.err conftest.$ac_ext
11826
11827 done
11828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11829 rm -f conftest.err conftest.$ac_ext
11830 if $ac_preproc_ok; then :
11831   break
11832 fi
11833
11834     done
11835     ac_cv_prog_CXXCPP=$CXXCPP
11836
11837 fi
11838   CXXCPP=$ac_cv_prog_CXXCPP
11839 else
11840   ac_cv_prog_CXXCPP=$CXXCPP
11841 fi
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11843 $as_echo "$CXXCPP" >&6; }
11844 ac_preproc_ok=false
11845 for ac_cxx_preproc_warn_flag in '' yes
11846 do
11847   # Use a header file that comes with gcc, so configuring glibc
11848   # with a fresh cross-compiler works.
11849   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11850   # <limits.h> exists even on freestanding compilers.
11851   # On the NeXT, cc -E runs the code through the compiler's parser,
11852   # not just through cpp. "Syntax error" is here to catch this case.
11853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h.  */
11855 #ifdef __STDC__
11856 # include <limits.h>
11857 #else
11858 # include <assert.h>
11859 #endif
11860                      Syntax error
11861 _ACEOF
11862 if ac_fn_cxx_try_cpp "$LINENO"; then :
11863
11864 else
11865   # Broken: fails on valid input.
11866 continue
11867 fi
11868 rm -f conftest.err conftest.$ac_ext
11869
11870   # OK, works on sane cases.  Now check whether nonexistent headers
11871   # can be detected and how.
11872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h.  */
11874 #include <ac_nonexistent.h>
11875 _ACEOF
11876 if ac_fn_cxx_try_cpp "$LINENO"; then :
11877   # Broken: success on invalid input.
11878 continue
11879 else
11880   # Passes both tests.
11881 ac_preproc_ok=:
11882 break
11883 fi
11884 rm -f conftest.err conftest.$ac_ext
11885
11886 done
11887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11888 rm -f conftest.err conftest.$ac_ext
11889 if $ac_preproc_ok; then :
11890
11891 else
11892   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11894 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11895 See \`config.log' for more details." "$LINENO" 5; }
11896 fi
11897
11898 ac_ext=c
11899 ac_cpp='$CPP $CPPFLAGS'
11900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11903
11904 else
11905   _lt_caught_CXX_error=yes
11906 fi
11907
11908 ac_ext=cpp
11909 ac_cpp='$CXXCPP $CPPFLAGS'
11910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11913
11914 archive_cmds_need_lc_CXX=no
11915 allow_undefined_flag_CXX=
11916 always_export_symbols_CXX=no
11917 archive_expsym_cmds_CXX=
11918 compiler_needs_object_CXX=no
11919 export_dynamic_flag_spec_CXX=
11920 hardcode_direct_CXX=no
11921 hardcode_direct_absolute_CXX=no
11922 hardcode_libdir_flag_spec_CXX=
11923 hardcode_libdir_flag_spec_ld_CXX=
11924 hardcode_libdir_separator_CXX=
11925 hardcode_minus_L_CXX=no
11926 hardcode_shlibpath_var_CXX=unsupported
11927 hardcode_automatic_CXX=no
11928 inherit_rpath_CXX=no
11929 module_cmds_CXX=
11930 module_expsym_cmds_CXX=
11931 link_all_deplibs_CXX=unknown
11932 old_archive_cmds_CXX=$old_archive_cmds
11933 reload_flag_CXX=$reload_flag
11934 reload_cmds_CXX=$reload_cmds
11935 no_undefined_flag_CXX=
11936 whole_archive_flag_spec_CXX=
11937 enable_shared_with_static_runtimes_CXX=no
11938
11939 # Source file extension for C++ test sources.
11940 ac_ext=cpp
11941
11942 # Object file extension for compiled C++ test sources.
11943 objext=o
11944 objext_CXX=$objext
11945
11946 # No sense in running all these tests if we already determined that
11947 # the CXX compiler isn't working.  Some variables (like enable_shared)
11948 # are currently assumed to apply to all compilers on this platform,
11949 # and will be corrupted by setting them based on a non-working compiler.
11950 if test "$_lt_caught_CXX_error" != yes; then
11951   # Code to be used in simple compile tests
11952   lt_simple_compile_test_code="int some_variable = 0;"
11953
11954   # Code to be used in simple link tests
11955   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11956
11957   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11958
11959
11960
11961
11962
11963
11964 # If no C compiler was specified, use CC.
11965 LTCC=${LTCC-"$CC"}
11966
11967 # If no C compiler flags were specified, use CFLAGS.
11968 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11969
11970 # Allow CC to be a program name with arguments.
11971 compiler=$CC
11972
11973
11974   # save warnings/boilerplate of simple test code
11975   ac_outfile=conftest.$ac_objext
11976 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11977 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11978 _lt_compiler_boilerplate=`cat conftest.err`
11979 $RM conftest*
11980
11981   ac_outfile=conftest.$ac_objext
11982 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11983 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11984 _lt_linker_boilerplate=`cat conftest.err`
11985 $RM -r conftest*
11986
11987
11988   # Allow CC to be a program name with arguments.
11989   lt_save_CC=$CC
11990   lt_save_LD=$LD
11991   lt_save_GCC=$GCC
11992   GCC=$GXX
11993   lt_save_with_gnu_ld=$with_gnu_ld
11994   lt_save_path_LD=$lt_cv_path_LD
11995   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11996     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11997   else
11998     $as_unset lt_cv_prog_gnu_ld
11999   fi
12000   if test -n "${lt_cv_path_LDCXX+set}"; then
12001     lt_cv_path_LD=$lt_cv_path_LDCXX
12002   else
12003     $as_unset lt_cv_path_LD
12004   fi
12005   test -z "${LDCXX+set}" || LD=$LDCXX
12006   CC=${CXX-"c++"}
12007   compiler=$CC
12008   compiler_CXX=$CC
12009   for cc_temp in $compiler""; do
12010   case $cc_temp in
12011     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12012     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12013     \-*) ;;
12014     *) break;;
12015   esac
12016 done
12017 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12018
12019
12020   if test -n "$compiler"; then
12021     # We don't want -fno-exception when compiling C++ code, so set the
12022     # no_builtin_flag separately
12023     if test "$GXX" = yes; then
12024       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12025     else
12026       lt_prog_compiler_no_builtin_flag_CXX=
12027     fi
12028
12029     if test "$GXX" = yes; then
12030       # Set up default GNU C++ configuration
12031
12032
12033
12034 # Check whether --with-gnu-ld was given.
12035 if test "${with_gnu_ld+set}" = set; then :
12036   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12037 else
12038   with_gnu_ld=no
12039 fi
12040
12041 ac_prog=ld
12042 if test "$GCC" = yes; then
12043   # Check if gcc -print-prog-name=ld gives a path.
12044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12045 $as_echo_n "checking for ld used by $CC... " >&6; }
12046   case $host in
12047   *-*-mingw*)
12048     # gcc leaves a trailing carriage return which upsets mingw
12049     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12050   *)
12051     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12052   esac
12053   case $ac_prog in
12054     # Accept absolute paths.
12055     [\\/]* | ?:[\\/]*)
12056       re_direlt='/[^/][^/]*/\.\./'
12057       # Canonicalize the pathname of ld
12058       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12059       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12060         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12061       done
12062       test -z "$LD" && LD="$ac_prog"
12063       ;;
12064   "")
12065     # If it fails, then pretend we aren't using GCC.
12066     ac_prog=ld
12067     ;;
12068   *)
12069     # If it is relative, then search for the first ld in PATH.
12070     with_gnu_ld=unknown
12071     ;;
12072   esac
12073 elif test "$with_gnu_ld" = yes; then
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12075 $as_echo_n "checking for GNU ld... " >&6; }
12076 else
12077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12078 $as_echo_n "checking for non-GNU ld... " >&6; }
12079 fi
12080 if test "${lt_cv_path_LD+set}" = set; then :
12081   $as_echo_n "(cached) " >&6
12082 else
12083   if test -z "$LD"; then
12084   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12085   for ac_dir in $PATH; do
12086     IFS="$lt_save_ifs"
12087     test -z "$ac_dir" && ac_dir=.
12088     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12089       lt_cv_path_LD="$ac_dir/$ac_prog"
12090       # Check to see if the program is GNU ld.  I'd rather use --version,
12091       # but apparently some variants of GNU ld only accept -v.
12092       # Break only if it was the GNU/non-GNU ld that we prefer.
12093       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12094       *GNU* | *'with BFD'*)
12095         test "$with_gnu_ld" != no && break
12096         ;;
12097       *)
12098         test "$with_gnu_ld" != yes && break
12099         ;;
12100       esac
12101     fi
12102   done
12103   IFS="$lt_save_ifs"
12104 else
12105   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12106 fi
12107 fi
12108
12109 LD="$lt_cv_path_LD"
12110 if test -n "$LD"; then
12111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12112 $as_echo "$LD" >&6; }
12113 else
12114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12116 fi
12117 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12119 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12120 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12121   $as_echo_n "(cached) " >&6
12122 else
12123   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12124 case `$LD -v 2>&1 </dev/null` in
12125 *GNU* | *'with BFD'*)
12126   lt_cv_prog_gnu_ld=yes
12127   ;;
12128 *)
12129   lt_cv_prog_gnu_ld=no
12130   ;;
12131 esac
12132 fi
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12134 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12135 with_gnu_ld=$lt_cv_prog_gnu_ld
12136
12137
12138
12139
12140
12141
12142
12143       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12144       # archiving commands below assume that GNU ld is being used.
12145       if test "$with_gnu_ld" = yes; then
12146         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12147         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'
12148
12149         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12150         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12151
12152         # If archive_cmds runs LD, not CC, wlarc should be empty
12153         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12154         #     investigate it a little bit more. (MM)
12155         wlarc='${wl}'
12156
12157         # ancient GNU ld didn't support --whole-archive et. al.
12158         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12159           $GREP 'no-whole-archive' > /dev/null; then
12160           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12161         else
12162           whole_archive_flag_spec_CXX=
12163         fi
12164       else
12165         with_gnu_ld=no
12166         wlarc=
12167
12168         # A generic and very simple default shared library creation
12169         # command for GNU C++ for the case where it uses the native
12170         # linker, instead of GNU ld.  If possible, this setting should
12171         # overridden to take advantage of the native linker features on
12172         # the platform it is being used on.
12173         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12174       fi
12175
12176       # Commands to make compiler produce verbose output that lists
12177       # what "hidden" libraries, object files and flags are used when
12178       # linking a shared library.
12179       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12180
12181     else
12182       GXX=no
12183       with_gnu_ld=no
12184       wlarc=
12185     fi
12186
12187     # PORTME: fill in a description of your system's C++ link characteristics
12188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12189 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12190     ld_shlibs_CXX=yes
12191     case $host_os in
12192       aix3*)
12193         # FIXME: insert proper C++ library support
12194         ld_shlibs_CXX=no
12195         ;;
12196       aix[4-9]*)
12197         if test "$host_cpu" = ia64; then
12198           # On IA64, the linker does run time linking by default, so we don't
12199           # have to do anything special.
12200           aix_use_runtimelinking=no
12201           exp_sym_flag='-Bexport'
12202           no_entry_flag=""
12203         else
12204           aix_use_runtimelinking=no
12205
12206           # Test if we are trying to use run time linking or normal
12207           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12208           # need to do runtime linking.
12209           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12210             for ld_flag in $LDFLAGS; do
12211               case $ld_flag in
12212               *-brtl*)
12213                 aix_use_runtimelinking=yes
12214                 break
12215                 ;;
12216               esac
12217             done
12218             ;;
12219           esac
12220
12221           exp_sym_flag='-bexport'
12222           no_entry_flag='-bnoentry'
12223         fi
12224
12225         # When large executables or shared objects are built, AIX ld can
12226         # have problems creating the table of contents.  If linking a library
12227         # or program results in "error TOC overflow" add -mminimal-toc to
12228         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12229         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12230
12231         archive_cmds_CXX=''
12232         hardcode_direct_CXX=yes
12233         hardcode_direct_absolute_CXX=yes
12234         hardcode_libdir_separator_CXX=':'
12235         link_all_deplibs_CXX=yes
12236         file_list_spec_CXX='${wl}-f,'
12237
12238         if test "$GXX" = yes; then
12239           case $host_os in aix4.[012]|aix4.[012].*)
12240           # We only want to do this on AIX 4.2 and lower, the check
12241           # below for broken collect2 doesn't work under 4.3+
12242           collect2name=`${CC} -print-prog-name=collect2`
12243           if test -f "$collect2name" &&
12244              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12245           then
12246             # We have reworked collect2
12247             :
12248           else
12249             # We have old collect2
12250             hardcode_direct_CXX=unsupported
12251             # It fails to find uninstalled libraries when the uninstalled
12252             # path is not listed in the libpath.  Setting hardcode_minus_L
12253             # to unsupported forces relinking
12254             hardcode_minus_L_CXX=yes
12255             hardcode_libdir_flag_spec_CXX='-L$libdir'
12256             hardcode_libdir_separator_CXX=
12257           fi
12258           esac
12259           shared_flag='-shared'
12260           if test "$aix_use_runtimelinking" = yes; then
12261             shared_flag="$shared_flag "'${wl}-G'
12262           fi
12263         else
12264           # not using gcc
12265           if test "$host_cpu" = ia64; then
12266           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12267           # chokes on -Wl,-G. The following line is correct:
12268           shared_flag='-G'
12269           else
12270             if test "$aix_use_runtimelinking" = yes; then
12271               shared_flag='${wl}-G'
12272             else
12273               shared_flag='${wl}-bM:SRE'
12274             fi
12275           fi
12276         fi
12277
12278         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12279         # It seems that -bexpall does not export symbols beginning with
12280         # underscore (_), so it is better to generate a list of symbols to
12281         # export.
12282         always_export_symbols_CXX=yes
12283         if test "$aix_use_runtimelinking" = yes; then
12284           # Warning - without using the other runtime loading flags (-brtl),
12285           # -berok will link without error, but may produce a broken library.
12286           allow_undefined_flag_CXX='-berok'
12287           # Determine the default libpath from the value encoded in an empty
12288           # executable.
12289           if test x$gcc_no_link = xyes; then
12290   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12291 fi
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h.  */
12294
12295 int
12296 main ()
12297 {
12298
12299   ;
12300   return 0;
12301 }
12302 _ACEOF
12303 if ac_fn_cxx_try_link "$LINENO"; then :
12304
12305 lt_aix_libpath_sed='
12306     /Import File Strings/,/^$/ {
12307         /^0/ {
12308             s/^0  *\(.*\)$/\1/
12309             p
12310         }
12311     }'
12312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12313 # Check for a 64-bit object if we didn't find anything.
12314 if test -z "$aix_libpath"; then
12315   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12316 fi
12317 fi
12318 rm -f core conftest.err conftest.$ac_objext \
12319     conftest$ac_exeext conftest.$ac_ext
12320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12321
12322           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12323
12324           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"
12325         else
12326           if test "$host_cpu" = ia64; then
12327             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12328             allow_undefined_flag_CXX="-z nodefs"
12329             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"
12330           else
12331             # Determine the default libpath from the value encoded in an
12332             # empty executable.
12333             if test x$gcc_no_link = xyes; then
12334   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12335 fi
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h.  */
12338
12339 int
12340 main ()
12341 {
12342
12343   ;
12344   return 0;
12345 }
12346 _ACEOF
12347 if ac_fn_cxx_try_link "$LINENO"; then :
12348
12349 lt_aix_libpath_sed='
12350     /Import File Strings/,/^$/ {
12351         /^0/ {
12352             s/^0  *\(.*\)$/\1/
12353             p
12354         }
12355     }'
12356 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12357 # Check for a 64-bit object if we didn't find anything.
12358 if test -z "$aix_libpath"; then
12359   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12360 fi
12361 fi
12362 rm -f core conftest.err conftest.$ac_objext \
12363     conftest$ac_exeext conftest.$ac_ext
12364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12365
12366             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12367             # Warning - without using the other run time loading flags,
12368             # -berok will link without error, but may produce a broken library.
12369             no_undefined_flag_CXX=' ${wl}-bernotok'
12370             allow_undefined_flag_CXX=' ${wl}-berok'
12371             if test "$with_gnu_ld" = yes; then
12372               # We only use this code for GNU lds that support --whole-archive.
12373               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12374             else
12375               # Exported symbols can be pulled into shared objects from archives
12376               whole_archive_flag_spec_CXX='$convenience'
12377             fi
12378             archive_cmds_need_lc_CXX=yes
12379             # This is similar to how AIX traditionally builds its shared
12380             # libraries.
12381             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'
12382           fi
12383         fi
12384         ;;
12385
12386       beos*)
12387         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12388           allow_undefined_flag_CXX=unsupported
12389           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12390           # support --undefined.  This deserves some investigation.  FIXME
12391           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12392         else
12393           ld_shlibs_CXX=no
12394         fi
12395         ;;
12396
12397       chorus*)
12398         case $cc_basename in
12399           *)
12400           # FIXME: insert proper C++ library support
12401           ld_shlibs_CXX=no
12402           ;;
12403         esac
12404         ;;
12405
12406       cygwin* | mingw* | pw32* | cegcc*)
12407         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12408         # as there is no search path for DLLs.
12409         hardcode_libdir_flag_spec_CXX='-L$libdir'
12410         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12411         allow_undefined_flag_CXX=unsupported
12412         always_export_symbols_CXX=no
12413         enable_shared_with_static_runtimes_CXX=yes
12414
12415         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12416           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'
12417           # If the export-symbols file already is a .def file (1st line
12418           # is EXPORTS), use it as is; otherwise, prepend...
12419           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12420             cp $export_symbols $output_objdir/$soname.def;
12421           else
12422             echo EXPORTS > $output_objdir/$soname.def;
12423             cat $export_symbols >> $output_objdir/$soname.def;
12424           fi~
12425           $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'
12426         else
12427           ld_shlibs_CXX=no
12428         fi
12429         ;;
12430       darwin* | rhapsody*)
12431
12432
12433   archive_cmds_need_lc_CXX=no
12434   hardcode_direct_CXX=no
12435   hardcode_automatic_CXX=yes
12436   hardcode_shlibpath_var_CXX=unsupported
12437   if test "$lt_cv_ld_force_load" = "yes"; then
12438     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\"`'
12439   else
12440     whole_archive_flag_spec_CXX=''
12441   fi
12442   link_all_deplibs_CXX=yes
12443   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12444   case $cc_basename in
12445      ifort*) _lt_dar_can_shared=yes ;;
12446      *) _lt_dar_can_shared=$GCC ;;
12447   esac
12448   if test "$_lt_dar_can_shared" = "yes"; then
12449     output_verbose_link_cmd=func_echo_all
12450     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}"
12451     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12452     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}"
12453     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}"
12454        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12455       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}"
12456       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}"
12457     fi
12458
12459   else
12460   ld_shlibs_CXX=no
12461   fi
12462
12463         ;;
12464
12465       dgux*)
12466         case $cc_basename in
12467           ec++*)
12468             # FIXME: insert proper C++ library support
12469             ld_shlibs_CXX=no
12470             ;;
12471           ghcx*)
12472             # Green Hills C++ Compiler
12473             # FIXME: insert proper C++ library support
12474             ld_shlibs_CXX=no
12475             ;;
12476           *)
12477             # FIXME: insert proper C++ library support
12478             ld_shlibs_CXX=no
12479             ;;
12480         esac
12481         ;;
12482
12483       freebsd[12]*)
12484         # C++ shared libraries reported to be fairly broken before
12485         # switch to ELF
12486         ld_shlibs_CXX=no
12487         ;;
12488
12489       freebsd-elf*)
12490         archive_cmds_need_lc_CXX=no
12491         ;;
12492
12493       freebsd* | dragonfly*)
12494         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12495         # conventions
12496         ld_shlibs_CXX=yes
12497         ;;
12498
12499       gnu*)
12500         ;;
12501
12502       haiku*)
12503         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12504         link_all_deplibs_CXX=yes
12505         ;;
12506
12507       hpux9*)
12508         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12509         hardcode_libdir_separator_CXX=:
12510         export_dynamic_flag_spec_CXX='${wl}-E'
12511         hardcode_direct_CXX=yes
12512         hardcode_minus_L_CXX=yes # Not in the search PATH,
12513                                              # but as the default
12514                                              # location of the library.
12515
12516         case $cc_basename in
12517           CC*)
12518             # FIXME: insert proper C++ library support
12519             ld_shlibs_CXX=no
12520             ;;
12521           aCC*)
12522             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'
12523             # Commands to make compiler produce verbose output that lists
12524             # what "hidden" libraries, object files and flags are used when
12525             # linking a shared library.
12526             #
12527             # There doesn't appear to be a way to prevent this compiler from
12528             # explicitly linking system object files so we need to strip them
12529             # from the output so that they don't get included in the library
12530             # dependencies.
12531             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"'
12532             ;;
12533           *)
12534             if test "$GXX" = yes; then
12535               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'
12536             else
12537               # FIXME: insert proper C++ library support
12538               ld_shlibs_CXX=no
12539             fi
12540             ;;
12541         esac
12542         ;;
12543
12544       hpux10*|hpux11*)
12545         if test $with_gnu_ld = no; then
12546           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12547           hardcode_libdir_separator_CXX=:
12548
12549           case $host_cpu in
12550             hppa*64*|ia64*)
12551               ;;
12552             *)
12553               export_dynamic_flag_spec_CXX='${wl}-E'
12554               ;;
12555           esac
12556         fi
12557         case $host_cpu in
12558           hppa*64*|ia64*)
12559             hardcode_direct_CXX=no
12560             hardcode_shlibpath_var_CXX=no
12561             ;;
12562           *)
12563             hardcode_direct_CXX=yes
12564             hardcode_direct_absolute_CXX=yes
12565             hardcode_minus_L_CXX=yes # Not in the search PATH,
12566                                                  # but as the default
12567                                                  # location of the library.
12568             ;;
12569         esac
12570
12571         case $cc_basename in
12572           CC*)
12573             # FIXME: insert proper C++ library support
12574             ld_shlibs_CXX=no
12575             ;;
12576           aCC*)
12577             case $host_cpu in
12578               hppa*64*)
12579                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12580                 ;;
12581               ia64*)
12582                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12583                 ;;
12584               *)
12585                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12586                 ;;
12587             esac
12588             # Commands to make compiler produce verbose output that lists
12589             # what "hidden" libraries, object files and flags are used when
12590             # linking a shared library.
12591             #
12592             # There doesn't appear to be a way to prevent this compiler from
12593             # explicitly linking system object files so we need to strip them
12594             # from the output so that they don't get included in the library
12595             # dependencies.
12596             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"'
12597             ;;
12598           *)
12599             if test "$GXX" = yes; then
12600               if test $with_gnu_ld = no; then
12601                 case $host_cpu in
12602                   hppa*64*)
12603                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12604                     ;;
12605                   ia64*)
12606                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12607                     ;;
12608                   *)
12609                     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'
12610                     ;;
12611                 esac
12612               fi
12613             else
12614               # FIXME: insert proper C++ library support
12615               ld_shlibs_CXX=no
12616             fi
12617             ;;
12618         esac
12619         ;;
12620
12621       interix[3-9]*)
12622         hardcode_direct_CXX=no
12623         hardcode_shlibpath_var_CXX=no
12624         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12625         export_dynamic_flag_spec_CXX='${wl}-E'
12626         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12627         # Instead, shared libraries are loaded at an image base (0x10000000 by
12628         # default) and relocated if they conflict, which is a slow very memory
12629         # consuming and fragmenting process.  To avoid this, we pick a random,
12630         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12631         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12632         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'
12633         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'
12634         ;;
12635       irix5* | irix6*)
12636         case $cc_basename in
12637           CC*)
12638             # SGI C++
12639             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'
12640
12641             # Archives containing C++ object files must be created using
12642             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12643             # necessary to make sure instantiated templates are included
12644             # in the archive.
12645             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12646             ;;
12647           *)
12648             if test "$GXX" = yes; then
12649               if test "$with_gnu_ld" = no; then
12650                 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'
12651               else
12652                 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'
12653               fi
12654             fi
12655             link_all_deplibs_CXX=yes
12656             ;;
12657         esac
12658         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12659         hardcode_libdir_separator_CXX=:
12660         inherit_rpath_CXX=yes
12661         ;;
12662
12663       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12664         case $cc_basename in
12665           KCC*)
12666             # Kuck and Associates, Inc. (KAI) C++ Compiler
12667
12668             # KCC will only create a shared library if the output file
12669             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12670             # to its proper name (with version) after linking.
12671             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'
12672             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'
12673             # Commands to make compiler produce verbose output that lists
12674             # what "hidden" libraries, object files and flags are used when
12675             # linking a shared library.
12676             #
12677             # There doesn't appear to be a way to prevent this compiler from
12678             # explicitly linking system object files so we need to strip them
12679             # from the output so that they don't get included in the library
12680             # dependencies.
12681             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"'
12682
12683             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12684             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12685
12686             # Archives containing C++ object files must be created using
12687             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12688             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12689             ;;
12690           icpc* | ecpc* )
12691             # Intel C++
12692             with_gnu_ld=yes
12693             # version 8.0 and above of icpc choke on multiply defined symbols
12694             # if we add $predep_objects and $postdep_objects, however 7.1 and
12695             # earlier do not add the objects themselves.
12696             case `$CC -V 2>&1` in
12697               *"Version 7."*)
12698                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12699                 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'
12700                 ;;
12701               *)  # Version 8.0 or newer
12702                 tmp_idyn=
12703                 case $host_cpu in
12704                   ia64*) tmp_idyn=' -i_dynamic';;
12705                 esac
12706                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12707                 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'
12708                 ;;
12709             esac
12710             archive_cmds_need_lc_CXX=no
12711             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12713             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12714             ;;
12715           pgCC* | pgcpp*)
12716             # Portland Group C++ compiler
12717             case `$CC -V` in
12718             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12719               prelink_cmds_CXX='tpldir=Template.dir~
12720                 rm -rf $tpldir~
12721                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12722                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12723               old_archive_cmds_CXX='tpldir=Template.dir~
12724                 rm -rf $tpldir~
12725                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12726                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12727                 $RANLIB $oldlib'
12728               archive_cmds_CXX='tpldir=Template.dir~
12729                 rm -rf $tpldir~
12730                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12731                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12732               archive_expsym_cmds_CXX='tpldir=Template.dir~
12733                 rm -rf $tpldir~
12734                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12735                 $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'
12736               ;;
12737             *) # Version 6 and above use weak symbols
12738               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12739               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'
12740               ;;
12741             esac
12742
12743             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12744             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12745             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'
12746             ;;
12747           cxx*)
12748             # Compaq C++
12749             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750             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'
12751
12752             runpath_var=LD_RUN_PATH
12753             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12754             hardcode_libdir_separator_CXX=:
12755
12756             # Commands to make compiler produce verbose output that lists
12757             # what "hidden" libraries, object files and flags are used when
12758             # linking a shared library.
12759             #
12760             # There doesn't appear to be a way to prevent this compiler from
12761             # explicitly linking system object files so we need to strip them
12762             # from the output so that they don't get included in the library
12763             # dependencies.
12764             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'
12765             ;;
12766           xl* | mpixl* | bgxl*)
12767             # IBM XL 8.0 on PPC, with GNU ld
12768             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12769             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771             if test "x$supports_anon_versioning" = xyes; then
12772               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12773                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12774                 echo "local: *; };" >> $output_objdir/$libname.ver~
12775                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12776             fi
12777             ;;
12778           *)
12779             case `$CC -V 2>&1 | sed 5q` in
12780             *Sun\ C*)
12781               # Sun C++ 5.9
12782               no_undefined_flag_CXX=' -zdefs'
12783               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12784               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'
12785               hardcode_libdir_flag_spec_CXX='-R$libdir'
12786               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'
12787               compiler_needs_object_CXX=yes
12788
12789               # Not sure whether something based on
12790               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12791               # would be better.
12792               output_verbose_link_cmd='func_echo_all'
12793
12794               # Archives containing C++ object files must be created using
12795               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12796               # necessary to make sure instantiated templates are included
12797               # in the archive.
12798               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12799               ;;
12800             esac
12801             ;;
12802         esac
12803         ;;
12804
12805       lynxos*)
12806         # FIXME: insert proper C++ library support
12807         ld_shlibs_CXX=no
12808         ;;
12809
12810       m88k*)
12811         # FIXME: insert proper C++ library support
12812         ld_shlibs_CXX=no
12813         ;;
12814
12815       mvs*)
12816         case $cc_basename in
12817           cxx*)
12818             # FIXME: insert proper C++ library support
12819             ld_shlibs_CXX=no
12820             ;;
12821           *)
12822             # FIXME: insert proper C++ library support
12823             ld_shlibs_CXX=no
12824             ;;
12825         esac
12826         ;;
12827
12828       netbsd*)
12829         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12830           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12831           wlarc=
12832           hardcode_libdir_flag_spec_CXX='-R$libdir'
12833           hardcode_direct_CXX=yes
12834           hardcode_shlibpath_var_CXX=no
12835         fi
12836         # Workaround some broken pre-1.5 toolchains
12837         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12838         ;;
12839
12840       *nto* | *qnx*)
12841         ld_shlibs_CXX=yes
12842         ;;
12843
12844       openbsd2*)
12845         # C++ shared libraries are fairly broken
12846         ld_shlibs_CXX=no
12847         ;;
12848
12849       openbsd*)
12850         if test -f /usr/libexec/ld.so; then
12851           hardcode_direct_CXX=yes
12852           hardcode_shlibpath_var_CXX=no
12853           hardcode_direct_absolute_CXX=yes
12854           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12855           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12856           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12857             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12858             export_dynamic_flag_spec_CXX='${wl}-E'
12859             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12860           fi
12861           output_verbose_link_cmd=func_echo_all
12862         else
12863           ld_shlibs_CXX=no
12864         fi
12865         ;;
12866
12867       osf3* | osf4* | osf5*)
12868         case $cc_basename in
12869           KCC*)
12870             # Kuck and Associates, Inc. (KAI) C++ Compiler
12871
12872             # KCC will only create a shared library if the output file
12873             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12874             # to its proper name (with version) after linking.
12875             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'
12876
12877             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878             hardcode_libdir_separator_CXX=:
12879
12880             # Archives containing C++ object files must be created using
12881             # the KAI C++ compiler.
12882             case $host in
12883               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12884               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12885             esac
12886             ;;
12887           RCC*)
12888             # Rational C++ 2.4.1
12889             # FIXME: insert proper C++ library support
12890             ld_shlibs_CXX=no
12891             ;;
12892           cxx*)
12893             case $host in
12894               osf3*)
12895                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12896                 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'
12897                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12898                 ;;
12899               *)
12900                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12901                 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'
12902                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12903                   echo "-hidden">> $lib.exp~
12904                   $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~
12905                   $RM $lib.exp'
12906                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12907                 ;;
12908             esac
12909
12910             hardcode_libdir_separator_CXX=:
12911
12912             # Commands to make compiler produce verbose output that lists
12913             # what "hidden" libraries, object files and flags are used when
12914             # linking a shared library.
12915             #
12916             # There doesn't appear to be a way to prevent this compiler from
12917             # explicitly linking system object files so we need to strip them
12918             # from the output so that they don't get included in the library
12919             # dependencies.
12920             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"'
12921             ;;
12922           *)
12923             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12924               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12925               case $host in
12926                 osf3*)
12927                   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'
12928                   ;;
12929                 *)
12930                   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'
12931                   ;;
12932               esac
12933
12934               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935               hardcode_libdir_separator_CXX=:
12936
12937               # Commands to make compiler produce verbose output that lists
12938               # what "hidden" libraries, object files and flags are used when
12939               # linking a shared library.
12940               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12941
12942             else
12943               # FIXME: insert proper C++ library support
12944               ld_shlibs_CXX=no
12945             fi
12946             ;;
12947         esac
12948         ;;
12949
12950       psos*)
12951         # FIXME: insert proper C++ library support
12952         ld_shlibs_CXX=no
12953         ;;
12954
12955       sunos4*)
12956         case $cc_basename in
12957           CC*)
12958             # Sun C++ 4.x
12959             # FIXME: insert proper C++ library support
12960             ld_shlibs_CXX=no
12961             ;;
12962           lcc*)
12963             # Lucid
12964             # FIXME: insert proper C++ library support
12965             ld_shlibs_CXX=no
12966             ;;
12967           *)
12968             # FIXME: insert proper C++ library support
12969             ld_shlibs_CXX=no
12970             ;;
12971         esac
12972         ;;
12973
12974       solaris*)
12975         case $cc_basename in
12976           CC*)
12977             # Sun C++ 4.2, 5.x and Centerline C++
12978             archive_cmds_need_lc_CXX=yes
12979             no_undefined_flag_CXX=' -zdefs'
12980             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12981             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12982               $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'
12983
12984             hardcode_libdir_flag_spec_CXX='-R$libdir'
12985             hardcode_shlibpath_var_CXX=no
12986             case $host_os in
12987               solaris2.[0-5] | solaris2.[0-5].*) ;;
12988               *)
12989                 # The compiler driver will combine and reorder linker options,
12990                 # but understands `-z linker_flag'.
12991                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12992                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12993                 ;;
12994             esac
12995             link_all_deplibs_CXX=yes
12996
12997             output_verbose_link_cmd='func_echo_all'
12998
12999             # Archives containing C++ object files must be created using
13000             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13001             # necessary to make sure instantiated templates are included
13002             # in the archive.
13003             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13004             ;;
13005           gcx*)
13006             # Green Hills C++ Compiler
13007             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13008
13009             # The C++ compiler must be used to create the archive.
13010             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13011             ;;
13012           *)
13013             # GNU C++ compiler with Solaris linker
13014             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13015               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13016               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13017                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13018                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13019                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13020
13021                 # Commands to make compiler produce verbose output that lists
13022                 # what "hidden" libraries, object files and flags are used when
13023                 # linking a shared library.
13024                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13025               else
13026                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13027                 # platform.
13028                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13029                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13030                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13031
13032                 # Commands to make compiler produce verbose output that lists
13033                 # what "hidden" libraries, object files and flags are used when
13034                 # linking a shared library.
13035                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13036               fi
13037
13038               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13039               case $host_os in
13040                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13041                 *)
13042                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13043                   ;;
13044               esac
13045             fi
13046             ;;
13047         esac
13048         ;;
13049
13050     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13051       no_undefined_flag_CXX='${wl}-z,text'
13052       archive_cmds_need_lc_CXX=no
13053       hardcode_shlibpath_var_CXX=no
13054       runpath_var='LD_RUN_PATH'
13055
13056       case $cc_basename in
13057         CC*)
13058           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13060           ;;
13061         *)
13062           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13064           ;;
13065       esac
13066       ;;
13067
13068       sysv5* | sco3.2v5* | sco5v6*)
13069         # Note: We can NOT use -z defs as we might desire, because we do not
13070         # link with -lc, and that would cause any symbols used from libc to
13071         # always be unresolved, which means just about no library would
13072         # ever link correctly.  If we're not using GNU ld we use -z text
13073         # though, which does catch some bad symbols but isn't as heavy-handed
13074         # as -z defs.
13075         no_undefined_flag_CXX='${wl}-z,text'
13076         allow_undefined_flag_CXX='${wl}-z,nodefs'
13077         archive_cmds_need_lc_CXX=no
13078         hardcode_shlibpath_var_CXX=no
13079         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13080         hardcode_libdir_separator_CXX=':'
13081         link_all_deplibs_CXX=yes
13082         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13083         runpath_var='LD_RUN_PATH'
13084
13085         case $cc_basename in
13086           CC*)
13087             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13090               '"$old_archive_cmds_CXX"
13091             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13092               '"$reload_cmds_CXX"
13093             ;;
13094           *)
13095             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13097             ;;
13098         esac
13099       ;;
13100
13101       tandem*)
13102         case $cc_basename in
13103           NCC*)
13104             # NonStop-UX NCC 3.20
13105             # FIXME: insert proper C++ library support
13106             ld_shlibs_CXX=no
13107             ;;
13108           *)
13109             # FIXME: insert proper C++ library support
13110             ld_shlibs_CXX=no
13111             ;;
13112         esac
13113         ;;
13114
13115       vxworks*)
13116         # FIXME: insert proper C++ library support
13117         ld_shlibs_CXX=no
13118         ;;
13119
13120       *)
13121         # FIXME: insert proper C++ library support
13122         ld_shlibs_CXX=no
13123         ;;
13124     esac
13125
13126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13127 $as_echo "$ld_shlibs_CXX" >&6; }
13128     test "$ld_shlibs_CXX" = no && can_build_shared=no
13129
13130     GCC_CXX="$GXX"
13131     LD_CXX="$LD"
13132
13133     ## CAVEAT EMPTOR:
13134     ## There is no encapsulation within the following macros, do not change
13135     ## the running order or otherwise move them around unless you know exactly
13136     ## what you are doing...
13137     # Dependencies to place before and after the object being linked:
13138 predep_objects_CXX=
13139 postdep_objects_CXX=
13140 predeps_CXX=
13141 postdeps_CXX=
13142 compiler_lib_search_path_CXX=
13143
13144 cat > conftest.$ac_ext <<_LT_EOF
13145 class Foo
13146 {
13147 public:
13148   Foo (void) { a = 0; }
13149 private:
13150   int a;
13151 };
13152 _LT_EOF
13153
13154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13155   (eval $ac_compile) 2>&5
13156   ac_status=$?
13157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158   test $ac_status = 0; }; then
13159   # Parse the compiler output and extract the necessary
13160   # objects, libraries and library flags.
13161
13162   # Sentinel used to keep track of whether or not we are before
13163   # the conftest object file.
13164   pre_test_object_deps_done=no
13165
13166   for p in `eval "$output_verbose_link_cmd"`; do
13167     case $p in
13168
13169     -L* | -R* | -l*)
13170        # Some compilers place space between "-{L,R}" and the path.
13171        # Remove the space.
13172        if test $p = "-L" ||
13173           test $p = "-R"; then
13174          prev=$p
13175          continue
13176        else
13177          prev=
13178        fi
13179
13180        if test "$pre_test_object_deps_done" = no; then
13181          case $p in
13182          -L* | -R*)
13183            # Internal compiler library paths should come after those
13184            # provided the user.  The postdeps already come after the
13185            # user supplied libs so there is no need to process them.
13186            if test -z "$compiler_lib_search_path_CXX"; then
13187              compiler_lib_search_path_CXX="${prev}${p}"
13188            else
13189              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13190            fi
13191            ;;
13192          # The "-l" case would never come before the object being
13193          # linked, so don't bother handling this case.
13194          esac
13195        else
13196          if test -z "$postdeps_CXX"; then
13197            postdeps_CXX="${prev}${p}"
13198          else
13199            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13200          fi
13201        fi
13202        ;;
13203
13204     *.$objext)
13205        # This assumes that the test object file only shows up
13206        # once in the compiler output.
13207        if test "$p" = "conftest.$objext"; then
13208          pre_test_object_deps_done=yes
13209          continue
13210        fi
13211
13212        if test "$pre_test_object_deps_done" = no; then
13213          if test -z "$predep_objects_CXX"; then
13214            predep_objects_CXX="$p"
13215          else
13216            predep_objects_CXX="$predep_objects_CXX $p"
13217          fi
13218        else
13219          if test -z "$postdep_objects_CXX"; then
13220            postdep_objects_CXX="$p"
13221          else
13222            postdep_objects_CXX="$postdep_objects_CXX $p"
13223          fi
13224        fi
13225        ;;
13226
13227     *) ;; # Ignore the rest.
13228
13229     esac
13230   done
13231
13232   # Clean up.
13233   rm -f a.out a.exe
13234 else
13235   echo "libtool.m4: error: problem compiling CXX test program"
13236 fi
13237
13238 $RM -f confest.$objext
13239
13240 # PORTME: override above test on systems where it is broken
13241 case $host_os in
13242 interix[3-9]*)
13243   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13244   # hack all around it, let's just trust "g++" to DTRT.
13245   predep_objects_CXX=
13246   postdep_objects_CXX=
13247   postdeps_CXX=
13248   ;;
13249
13250 linux*)
13251   case `$CC -V 2>&1 | sed 5q` in
13252   *Sun\ C*)
13253     # Sun C++ 5.9
13254
13255     # The more standards-conforming stlport4 library is
13256     # incompatible with the Cstd library. Avoid specifying
13257     # it if it's in CXXFLAGS. Ignore libCrun as
13258     # -library=stlport4 depends on it.
13259     case " $CXX $CXXFLAGS " in
13260     *" -library=stlport4 "*)
13261       solaris_use_stlport4=yes
13262       ;;
13263     esac
13264
13265     if test "$solaris_use_stlport4" != yes; then
13266       postdeps_CXX='-library=Cstd -library=Crun'
13267     fi
13268     ;;
13269   esac
13270   ;;
13271
13272 solaris*)
13273   case $cc_basename in
13274   CC*)
13275     # The more standards-conforming stlport4 library is
13276     # incompatible with the Cstd library. Avoid specifying
13277     # it if it's in CXXFLAGS. Ignore libCrun as
13278     # -library=stlport4 depends on it.
13279     case " $CXX $CXXFLAGS " in
13280     *" -library=stlport4 "*)
13281       solaris_use_stlport4=yes
13282       ;;
13283     esac
13284
13285     # Adding this requires a known-good setup of shared libraries for
13286     # Sun compiler versions before 5.6, else PIC objects from an old
13287     # archive will be linked into the output, leading to subtle bugs.
13288     if test "$solaris_use_stlport4" != yes; then
13289       postdeps_CXX='-library=Cstd -library=Crun'
13290     fi
13291     ;;
13292   esac
13293   ;;
13294 esac
13295
13296
13297 case " $postdeps_CXX " in
13298 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13299 esac
13300  compiler_lib_search_dirs_CXX=
13301 if test -n "${compiler_lib_search_path_CXX}"; then
13302  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13303 fi
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335     lt_prog_compiler_wl_CXX=
13336 lt_prog_compiler_pic_CXX=
13337 lt_prog_compiler_static_CXX=
13338
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13340 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13341
13342   # C++ specific cases for pic, static, wl, etc.
13343   if test "$GXX" = yes; then
13344     lt_prog_compiler_wl_CXX='-Wl,'
13345     lt_prog_compiler_static_CXX='-static'
13346
13347     case $host_os in
13348     aix*)
13349       # All AIX code is PIC.
13350       if test "$host_cpu" = ia64; then
13351         # AIX 5 now supports IA64 processor
13352         lt_prog_compiler_static_CXX='-Bstatic'
13353       fi
13354       ;;
13355
13356     amigaos*)
13357       case $host_cpu in
13358       powerpc)
13359             # see comment about AmigaOS4 .so support
13360             lt_prog_compiler_pic_CXX='-fPIC'
13361         ;;
13362       m68k)
13363             # FIXME: we need at least 68020 code to build shared libraries, but
13364             # adding the `-m68020' flag to GCC prevents building anything better,
13365             # like `-m68040'.
13366             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13367         ;;
13368       esac
13369       ;;
13370
13371     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13372       # PIC is the default for these OSes.
13373       ;;
13374     mingw* | cygwin* | os2* | pw32* | cegcc*)
13375       # This hack is so that the source file can tell whether it is being
13376       # built for inclusion in a dll (and should export symbols for example).
13377       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13378       # (--disable-auto-import) libraries
13379       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13380       ;;
13381     darwin* | rhapsody*)
13382       # PIC is the default on this platform
13383       # Common symbols not allowed in MH_DYLIB files
13384       lt_prog_compiler_pic_CXX='-fno-common'
13385       ;;
13386     *djgpp*)
13387       # DJGPP does not support shared libraries at all
13388       lt_prog_compiler_pic_CXX=
13389       ;;
13390     haiku*)
13391       # PIC is the default for Haiku.
13392       # The "-static" flag exists, but is broken.
13393       lt_prog_compiler_static_CXX=
13394       ;;
13395     interix[3-9]*)
13396       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13397       # Instead, we relocate shared libraries at runtime.
13398       ;;
13399     sysv4*MP*)
13400       if test -d /usr/nec; then
13401         lt_prog_compiler_pic_CXX=-Kconform_pic
13402       fi
13403       ;;
13404     hpux*)
13405       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13406       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13407       # sets the default TLS model and affects inlining.
13408       case $host_cpu in
13409       hppa*64*)
13410         ;;
13411       *)
13412         lt_prog_compiler_pic_CXX='-fPIC'
13413         ;;
13414       esac
13415       ;;
13416     *qnx* | *nto*)
13417       # QNX uses GNU C++, but need to define -shared option too, otherwise
13418       # it will coredump.
13419       lt_prog_compiler_pic_CXX='-fPIC -shared'
13420       ;;
13421     *)
13422       lt_prog_compiler_pic_CXX='-fPIC'
13423       ;;
13424     esac
13425   else
13426     case $host_os in
13427       aix[4-9]*)
13428         # All AIX code is PIC.
13429         if test "$host_cpu" = ia64; then
13430           # AIX 5 now supports IA64 processor
13431           lt_prog_compiler_static_CXX='-Bstatic'
13432         else
13433           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13434         fi
13435         ;;
13436       chorus*)
13437         case $cc_basename in
13438         cxch68*)
13439           # Green Hills C++ Compiler
13440           # _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"
13441           ;;
13442         esac
13443         ;;
13444       dgux*)
13445         case $cc_basename in
13446           ec++*)
13447             lt_prog_compiler_pic_CXX='-KPIC'
13448             ;;
13449           ghcx*)
13450             # Green Hills C++ Compiler
13451             lt_prog_compiler_pic_CXX='-pic'
13452             ;;
13453           *)
13454             ;;
13455         esac
13456         ;;
13457       freebsd* | dragonfly*)
13458         # FreeBSD uses GNU C++
13459         ;;
13460       hpux9* | hpux10* | hpux11*)
13461         case $cc_basename in
13462           CC*)
13463             lt_prog_compiler_wl_CXX='-Wl,'
13464             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13465             if test "$host_cpu" != ia64; then
13466               lt_prog_compiler_pic_CXX='+Z'
13467             fi
13468             ;;
13469           aCC*)
13470             lt_prog_compiler_wl_CXX='-Wl,'
13471             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13472             case $host_cpu in
13473             hppa*64*|ia64*)
13474               # +Z the default
13475               ;;
13476             *)
13477               lt_prog_compiler_pic_CXX='+Z'
13478               ;;
13479             esac
13480             ;;
13481           *)
13482             ;;
13483         esac
13484         ;;
13485       interix*)
13486         # This is c89, which is MS Visual C++ (no shared libs)
13487         # Anyone wants to do a port?
13488         ;;
13489       irix5* | irix6* | nonstopux*)
13490         case $cc_basename in
13491           CC*)
13492             lt_prog_compiler_wl_CXX='-Wl,'
13493             lt_prog_compiler_static_CXX='-non_shared'
13494             # CC pic flag -KPIC is the default.
13495             ;;
13496           *)
13497             ;;
13498         esac
13499         ;;
13500       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13501         case $cc_basename in
13502           KCC*)
13503             # KAI C++ Compiler
13504             lt_prog_compiler_wl_CXX='--backend -Wl,'
13505             lt_prog_compiler_pic_CXX='-fPIC'
13506             ;;
13507           ecpc* )
13508             # old Intel C++ for x86_64 which still supported -KPIC.
13509             lt_prog_compiler_wl_CXX='-Wl,'
13510             lt_prog_compiler_pic_CXX='-KPIC'
13511             lt_prog_compiler_static_CXX='-static'
13512             ;;
13513           icpc* )
13514             # Intel C++, used to be incompatible with GCC.
13515             # ICC 10 doesn't accept -KPIC any more.
13516             lt_prog_compiler_wl_CXX='-Wl,'
13517             lt_prog_compiler_pic_CXX='-fPIC'
13518             lt_prog_compiler_static_CXX='-static'
13519             ;;
13520           pgCC* | pgcpp*)
13521             # Portland Group C++ compiler
13522             lt_prog_compiler_wl_CXX='-Wl,'
13523             lt_prog_compiler_pic_CXX='-fpic'
13524             lt_prog_compiler_static_CXX='-Bstatic'
13525             ;;
13526           cxx*)
13527             # Compaq C++
13528             # Make sure the PIC flag is empty.  It appears that all Alpha
13529             # Linux and Compaq Tru64 Unix objects are PIC.
13530             lt_prog_compiler_pic_CXX=
13531             lt_prog_compiler_static_CXX='-non_shared'
13532             ;;
13533           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13534             # IBM XL 8.0, 9.0 on PPC and BlueGene
13535             lt_prog_compiler_wl_CXX='-Wl,'
13536             lt_prog_compiler_pic_CXX='-qpic'
13537             lt_prog_compiler_static_CXX='-qstaticlink'
13538             ;;
13539           *)
13540             case `$CC -V 2>&1 | sed 5q` in
13541             *Sun\ C*)
13542               # Sun C++ 5.9
13543               lt_prog_compiler_pic_CXX='-KPIC'
13544               lt_prog_compiler_static_CXX='-Bstatic'
13545               lt_prog_compiler_wl_CXX='-Qoption ld '
13546               ;;
13547             esac
13548             ;;
13549         esac
13550         ;;
13551       lynxos*)
13552         ;;
13553       m88k*)
13554         ;;
13555       mvs*)
13556         case $cc_basename in
13557           cxx*)
13558             lt_prog_compiler_pic_CXX='-W c,exportall'
13559             ;;
13560           *)
13561             ;;
13562         esac
13563         ;;
13564       netbsd*)
13565         ;;
13566       *qnx* | *nto*)
13567         # QNX uses GNU C++, but need to define -shared option too, otherwise
13568         # it will coredump.
13569         lt_prog_compiler_pic_CXX='-fPIC -shared'
13570         ;;
13571       osf3* | osf4* | osf5*)
13572         case $cc_basename in
13573           KCC*)
13574             lt_prog_compiler_wl_CXX='--backend -Wl,'
13575             ;;
13576           RCC*)
13577             # Rational C++ 2.4.1
13578             lt_prog_compiler_pic_CXX='-pic'
13579             ;;
13580           cxx*)
13581             # Digital/Compaq C++
13582             lt_prog_compiler_wl_CXX='-Wl,'
13583             # Make sure the PIC flag is empty.  It appears that all Alpha
13584             # Linux and Compaq Tru64 Unix objects are PIC.
13585             lt_prog_compiler_pic_CXX=
13586             lt_prog_compiler_static_CXX='-non_shared'
13587             ;;
13588           *)
13589             ;;
13590         esac
13591         ;;
13592       psos*)
13593         ;;
13594       solaris*)
13595         case $cc_basename in
13596           CC*)
13597             # Sun C++ 4.2, 5.x and Centerline C++
13598             lt_prog_compiler_pic_CXX='-KPIC'
13599             lt_prog_compiler_static_CXX='-Bstatic'
13600             lt_prog_compiler_wl_CXX='-Qoption ld '
13601             ;;
13602           gcx*)
13603             # Green Hills C++ Compiler
13604             lt_prog_compiler_pic_CXX='-PIC'
13605             ;;
13606           *)
13607             ;;
13608         esac
13609         ;;
13610       sunos4*)
13611         case $cc_basename in
13612           CC*)
13613             # Sun C++ 4.x
13614             lt_prog_compiler_pic_CXX='-pic'
13615             lt_prog_compiler_static_CXX='-Bstatic'
13616             ;;
13617           lcc*)
13618             # Lucid
13619             lt_prog_compiler_pic_CXX='-pic'
13620             ;;
13621           *)
13622             ;;
13623         esac
13624         ;;
13625       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13626         case $cc_basename in
13627           CC*)
13628             lt_prog_compiler_wl_CXX='-Wl,'
13629             lt_prog_compiler_pic_CXX='-KPIC'
13630             lt_prog_compiler_static_CXX='-Bstatic'
13631             ;;
13632         esac
13633         ;;
13634       tandem*)
13635         case $cc_basename in
13636           NCC*)
13637             # NonStop-UX NCC 3.20
13638             lt_prog_compiler_pic_CXX='-KPIC'
13639             ;;
13640           *)
13641             ;;
13642         esac
13643         ;;
13644       vxworks*)
13645         ;;
13646       *)
13647         lt_prog_compiler_can_build_shared_CXX=no
13648         ;;
13649     esac
13650   fi
13651
13652 case $host_os in
13653   # For platforms which do not support PIC, -DPIC is meaningless:
13654   *djgpp*)
13655     lt_prog_compiler_pic_CXX=
13656     ;;
13657   *)
13658     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13659     ;;
13660 esac
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13662 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13663
13664
13665
13666 #
13667 # Check to make sure the PIC flag actually works.
13668 #
13669 if test -n "$lt_prog_compiler_pic_CXX"; then
13670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13671 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13672 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13673   $as_echo_n "(cached) " >&6
13674 else
13675   lt_cv_prog_compiler_pic_works_CXX=no
13676    ac_outfile=conftest.$ac_objext
13677    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13678    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13679    # Insert the option either (1) after the last *FLAGS variable, or
13680    # (2) before a word containing "conftest.", or (3) at the end.
13681    # Note that $ac_compile itself does not contain backslashes and begins
13682    # with a dollar sign (not a hyphen), so the echo should work correctly.
13683    # The option is referenced via a variable to avoid confusing sed.
13684    lt_compile=`echo "$ac_compile" | $SED \
13685    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687    -e 's:$: $lt_compiler_flag:'`
13688    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13689    (eval "$lt_compile" 2>conftest.err)
13690    ac_status=$?
13691    cat conftest.err >&5
13692    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693    if (exit $ac_status) && test -s "$ac_outfile"; then
13694      # The compiler can only warn and ignore the option if not recognized
13695      # So say no if there are warnings other than the usual output.
13696      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13697      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13698      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13699        lt_cv_prog_compiler_pic_works_CXX=yes
13700      fi
13701    fi
13702    $RM conftest*
13703
13704 fi
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13706 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13707
13708 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13709     case $lt_prog_compiler_pic_CXX in
13710      "" | " "*) ;;
13711      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13712      esac
13713 else
13714     lt_prog_compiler_pic_CXX=
13715      lt_prog_compiler_can_build_shared_CXX=no
13716 fi
13717
13718 fi
13719
13720
13721
13722 #
13723 # Check to make sure the static flag actually works.
13724 #
13725 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13728 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13729   $as_echo_n "(cached) " >&6
13730 else
13731   lt_cv_prog_compiler_static_works_CXX=no
13732    save_LDFLAGS="$LDFLAGS"
13733    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13734    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13735    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13736      # The linker can only warn and ignore the option if not recognized
13737      # So say no if there are warnings
13738      if test -s conftest.err; then
13739        # Append any errors to the config.log.
13740        cat conftest.err 1>&5
13741        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13742        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743        if diff conftest.exp conftest.er2 >/dev/null; then
13744          lt_cv_prog_compiler_static_works_CXX=yes
13745        fi
13746      else
13747        lt_cv_prog_compiler_static_works_CXX=yes
13748      fi
13749    fi
13750    $RM -r conftest*
13751    LDFLAGS="$save_LDFLAGS"
13752
13753 fi
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13755 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13756
13757 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13758     :
13759 else
13760     lt_prog_compiler_static_CXX=
13761 fi
13762
13763
13764
13765
13766     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13768 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13769   $as_echo_n "(cached) " >&6
13770 else
13771   lt_cv_prog_compiler_c_o_CXX=no
13772    $RM -r conftest 2>/dev/null
13773    mkdir conftest
13774    cd conftest
13775    mkdir out
13776    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13777
13778    lt_compiler_flag="-o out/conftest2.$ac_objext"
13779    # Insert the option either (1) after the last *FLAGS variable, or
13780    # (2) before a word containing "conftest.", or (3) at the end.
13781    # Note that $ac_compile itself does not contain backslashes and begins
13782    # with a dollar sign (not a hyphen), so the echo should work correctly.
13783    lt_compile=`echo "$ac_compile" | $SED \
13784    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13785    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13786    -e 's:$: $lt_compiler_flag:'`
13787    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13788    (eval "$lt_compile" 2>out/conftest.err)
13789    ac_status=$?
13790    cat out/conftest.err >&5
13791    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13793    then
13794      # The compiler can only warn and ignore the option if not recognized
13795      # So say no if there are warnings
13796      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13797      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13798      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13799        lt_cv_prog_compiler_c_o_CXX=yes
13800      fi
13801    fi
13802    chmod u+w . 2>&5
13803    $RM conftest*
13804    # SGI C++ compiler will create directory out/ii_files/ for
13805    # template instantiation
13806    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13807    $RM out/* && rmdir out
13808    cd ..
13809    $RM -r conftest
13810    $RM conftest*
13811
13812 fi
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13814 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13815
13816
13817
13818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13819 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13820 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13821   $as_echo_n "(cached) " >&6
13822 else
13823   lt_cv_prog_compiler_c_o_CXX=no
13824    $RM -r conftest 2>/dev/null
13825    mkdir conftest
13826    cd conftest
13827    mkdir out
13828    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13829
13830    lt_compiler_flag="-o out/conftest2.$ac_objext"
13831    # Insert the option either (1) after the last *FLAGS variable, or
13832    # (2) before a word containing "conftest.", or (3) at the end.
13833    # Note that $ac_compile itself does not contain backslashes and begins
13834    # with a dollar sign (not a hyphen), so the echo should work correctly.
13835    lt_compile=`echo "$ac_compile" | $SED \
13836    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13837    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13838    -e 's:$: $lt_compiler_flag:'`
13839    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13840    (eval "$lt_compile" 2>out/conftest.err)
13841    ac_status=$?
13842    cat out/conftest.err >&5
13843    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13845    then
13846      # The compiler can only warn and ignore the option if not recognized
13847      # So say no if there are warnings
13848      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13849      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13850      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13851        lt_cv_prog_compiler_c_o_CXX=yes
13852      fi
13853    fi
13854    chmod u+w . 2>&5
13855    $RM conftest*
13856    # SGI C++ compiler will create directory out/ii_files/ for
13857    # template instantiation
13858    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13859    $RM out/* && rmdir out
13860    cd ..
13861    $RM -r conftest
13862    $RM conftest*
13863
13864 fi
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13866 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13867
13868
13869
13870
13871 hard_links="nottested"
13872 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13873   # do not overwrite the value of need_locks provided by the user
13874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13875 $as_echo_n "checking if we can lock with hard links... " >&6; }
13876   hard_links=yes
13877   $RM conftest*
13878   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13879   touch conftest.a
13880   ln conftest.a conftest.b 2>&5 || hard_links=no
13881   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13883 $as_echo "$hard_links" >&6; }
13884   if test "$hard_links" = no; then
13885     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13886 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13887     need_locks=warn
13888   fi
13889 else
13890   need_locks=no
13891 fi
13892
13893
13894
13895     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13896 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13897
13898   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13899   case $host_os in
13900   aix[4-9]*)
13901     # If we're using GNU nm, then we don't want the "-C" option.
13902     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13903     # Also, AIX nm treats weak defined symbols like other global defined
13904     # symbols, whereas GNU nm marks them as "W".
13905     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13906       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'
13907     else
13908       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'
13909     fi
13910     ;;
13911   pw32*)
13912     export_symbols_cmds_CXX="$ltdll_cmds"
13913   ;;
13914   cygwin* | mingw* | cegcc*)
13915     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'
13916   ;;
13917   *)
13918     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13919   ;;
13920   esac
13921   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13922
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13924 $as_echo "$ld_shlibs_CXX" >&6; }
13925 test "$ld_shlibs_CXX" = no && can_build_shared=no
13926
13927 with_gnu_ld_CXX=$with_gnu_ld
13928
13929
13930
13931
13932
13933
13934 #
13935 # Do we need to explicitly link libc?
13936 #
13937 case "x$archive_cmds_need_lc_CXX" in
13938 x|xyes)
13939   # Assume -lc should be added
13940   archive_cmds_need_lc_CXX=yes
13941
13942   if test "$enable_shared" = yes && test "$GCC" = yes; then
13943     case $archive_cmds_CXX in
13944     *'~'*)
13945       # FIXME: we may have to deal with multi-command sequences.
13946       ;;
13947     '$CC '*)
13948       # Test whether the compiler implicitly links with -lc since on some
13949       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13950       # to ld, don't add -lc before -lgcc.
13951       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13953 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13954   $as_echo_n "(cached) " >&6
13955 else
13956   $RM conftest*
13957         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13958
13959         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13960   (eval $ac_compile) 2>&5
13961   ac_status=$?
13962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13963   test $ac_status = 0; } 2>conftest.err; then
13964           soname=conftest
13965           lib=conftest
13966           libobjs=conftest.$ac_objext
13967           deplibs=
13968           wl=$lt_prog_compiler_wl_CXX
13969           pic_flag=$lt_prog_compiler_pic_CXX
13970           compiler_flags=-v
13971           linker_flags=-v
13972           verstring=
13973           output_objdir=.
13974           libname=conftest
13975           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13976           allow_undefined_flag_CXX=
13977           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13978   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13979   ac_status=$?
13980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981   test $ac_status = 0; }
13982           then
13983             lt_cv_archive_cmds_need_lc_CXX=no
13984           else
13985             lt_cv_archive_cmds_need_lc_CXX=yes
13986           fi
13987           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13988         else
13989           cat conftest.err 1>&5
13990         fi
13991         $RM conftest*
13992
13993 fi
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13995 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13996       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13997       ;;
13998     esac
13999   fi
14000   ;;
14001 esac
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14067 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14068
14069 library_names_spec=
14070 libname_spec='lib$name'
14071 soname_spec=
14072 shrext_cmds=".so"
14073 postinstall_cmds=
14074 postuninstall_cmds=
14075 finish_cmds=
14076 finish_eval=
14077 shlibpath_var=
14078 shlibpath_overrides_runpath=unknown
14079 version_type=none
14080 dynamic_linker="$host_os ld.so"
14081 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14082 need_lib_prefix=unknown
14083 hardcode_into_libs=no
14084
14085 # when you set need_version to no, make sure it does not cause -set_version
14086 # flags to be left without arguments
14087 need_version=unknown
14088
14089 case $host_os in
14090 aix3*)
14091   version_type=linux
14092   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14093   shlibpath_var=LIBPATH
14094
14095   # AIX 3 has no versioning support, so we append a major version to the name.
14096   soname_spec='${libname}${release}${shared_ext}$major'
14097   ;;
14098
14099 aix[4-9]*)
14100   version_type=linux
14101   need_lib_prefix=no
14102   need_version=no
14103   hardcode_into_libs=yes
14104   if test "$host_cpu" = ia64; then
14105     # AIX 5 supports IA64
14106     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14107     shlibpath_var=LD_LIBRARY_PATH
14108   else
14109     # With GCC up to 2.95.x, collect2 would create an import file
14110     # for dependence libraries.  The import file would start with
14111     # the line `#! .'.  This would cause the generated library to
14112     # depend on `.', always an invalid library.  This was fixed in
14113     # development snapshots of GCC prior to 3.0.
14114     case $host_os in
14115       aix4 | aix4.[01] | aix4.[01].*)
14116       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14117            echo ' yes '
14118            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14119         :
14120       else
14121         can_build_shared=no
14122       fi
14123       ;;
14124     esac
14125     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14126     # soname into executable. Probably we can add versioning support to
14127     # collect2, so additional links can be useful in future.
14128     if test "$aix_use_runtimelinking" = yes; then
14129       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14130       # instead of lib<name>.a to let people know that these are not
14131       # typical AIX shared libraries.
14132       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14133     else
14134       # We preserve .a as extension for shared libraries through AIX4.2
14135       # and later when we are not doing run time linking.
14136       library_names_spec='${libname}${release}.a $libname.a'
14137       soname_spec='${libname}${release}${shared_ext}$major'
14138     fi
14139     shlibpath_var=LIBPATH
14140   fi
14141   ;;
14142
14143 amigaos*)
14144   case $host_cpu in
14145   powerpc)
14146     # Since July 2007 AmigaOS4 officially supports .so libraries.
14147     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14148     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14149     ;;
14150   m68k)
14151     library_names_spec='$libname.ixlibrary $libname.a'
14152     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14153     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'
14154     ;;
14155   esac
14156   ;;
14157
14158 beos*)
14159   library_names_spec='${libname}${shared_ext}'
14160   dynamic_linker="$host_os ld.so"
14161   shlibpath_var=LIBRARY_PATH
14162   ;;
14163
14164 bsdi[45]*)
14165   version_type=linux
14166   need_version=no
14167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168   soname_spec='${libname}${release}${shared_ext}$major'
14169   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14170   shlibpath_var=LD_LIBRARY_PATH
14171   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14172   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14173   # the default ld.so.conf also contains /usr/contrib/lib and
14174   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14175   # libtool to hard-code these into programs
14176   ;;
14177
14178 cygwin* | mingw* | pw32* | cegcc*)
14179   version_type=windows
14180   shrext_cmds=".dll"
14181   need_version=no
14182   need_lib_prefix=no
14183
14184   case $GCC,$host_os in
14185   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14186     library_names_spec='$libname.dll.a'
14187     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14188     postinstall_cmds='base_file=`basename \${file}`~
14189       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14190       dldir=$destdir/`dirname \$dlpath`~
14191       test -d \$dldir || mkdir -p \$dldir~
14192       $install_prog $dir/$dlname \$dldir/$dlname~
14193       chmod a+x \$dldir/$dlname~
14194       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14195         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14196       fi'
14197     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14198       dlpath=$dir/\$dldll~
14199        $RM \$dlpath'
14200     shlibpath_overrides_runpath=yes
14201
14202     case $host_os in
14203     cygwin*)
14204       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14205       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14206
14207       ;;
14208     mingw* | cegcc*)
14209       # MinGW DLLs use traditional 'lib' prefix
14210       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14211       ;;
14212     pw32*)
14213       # pw32 DLLs use 'pw' prefix rather than 'lib'
14214       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14215       ;;
14216     esac
14217     ;;
14218
14219   *)
14220     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14221     ;;
14222   esac
14223   dynamic_linker='Win32 ld.exe'
14224   # FIXME: first we should search . and the directory the executable is in
14225   shlibpath_var=PATH
14226   ;;
14227
14228 darwin* | rhapsody*)
14229   dynamic_linker="$host_os dyld"
14230   version_type=darwin
14231   need_lib_prefix=no
14232   need_version=no
14233   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14234   soname_spec='${libname}${release}${major}$shared_ext'
14235   shlibpath_overrides_runpath=yes
14236   shlibpath_var=DYLD_LIBRARY_PATH
14237   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14238
14239   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14240   ;;
14241
14242 dgux*)
14243   version_type=linux
14244   need_lib_prefix=no
14245   need_version=no
14246   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14247   soname_spec='${libname}${release}${shared_ext}$major'
14248   shlibpath_var=LD_LIBRARY_PATH
14249   ;;
14250
14251 freebsd1*)
14252   dynamic_linker=no
14253   ;;
14254
14255 freebsd* | dragonfly*)
14256   # DragonFly does not have aout.  When/if they implement a new
14257   # versioning mechanism, adjust this.
14258   if test -x /usr/bin/objformat; then
14259     objformat=`/usr/bin/objformat`
14260   else
14261     case $host_os in
14262     freebsd[123]*) objformat=aout ;;
14263     *) objformat=elf ;;
14264     esac
14265   fi
14266   version_type=freebsd-$objformat
14267   case $version_type in
14268     freebsd-elf*)
14269       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14270       need_version=no
14271       need_lib_prefix=no
14272       ;;
14273     freebsd-*)
14274       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14275       need_version=yes
14276       ;;
14277   esac
14278   shlibpath_var=LD_LIBRARY_PATH
14279   case $host_os in
14280   freebsd2*)
14281     shlibpath_overrides_runpath=yes
14282     ;;
14283   freebsd3.[01]* | freebsdelf3.[01]*)
14284     shlibpath_overrides_runpath=yes
14285     hardcode_into_libs=yes
14286     ;;
14287   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14288   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14289     shlibpath_overrides_runpath=no
14290     hardcode_into_libs=yes
14291     ;;
14292   *) # from 4.6 on, and DragonFly
14293     shlibpath_overrides_runpath=yes
14294     hardcode_into_libs=yes
14295     ;;
14296   esac
14297   ;;
14298
14299 gnu*)
14300   version_type=linux
14301   need_lib_prefix=no
14302   need_version=no
14303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14304   soname_spec='${libname}${release}${shared_ext}$major'
14305   shlibpath_var=LD_LIBRARY_PATH
14306   hardcode_into_libs=yes
14307   ;;
14308
14309 haiku*)
14310   version_type=linux
14311   need_lib_prefix=no
14312   need_version=no
14313   dynamic_linker="$host_os runtime_loader"
14314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14315   soname_spec='${libname}${release}${shared_ext}$major'
14316   shlibpath_var=LIBRARY_PATH
14317   shlibpath_overrides_runpath=yes
14318   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14319   hardcode_into_libs=yes
14320   ;;
14321
14322 hpux9* | hpux10* | hpux11*)
14323   # Give a soname corresponding to the major version so that dld.sl refuses to
14324   # link against other versions.
14325   version_type=sunos
14326   need_lib_prefix=no
14327   need_version=no
14328   case $host_cpu in
14329   ia64*)
14330     shrext_cmds='.so'
14331     hardcode_into_libs=yes
14332     dynamic_linker="$host_os dld.so"
14333     shlibpath_var=LD_LIBRARY_PATH
14334     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14335     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14336     soname_spec='${libname}${release}${shared_ext}$major'
14337     if test "X$HPUX_IA64_MODE" = X32; then
14338       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14339     else
14340       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14341     fi
14342     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14343     ;;
14344   hppa*64*)
14345     shrext_cmds='.sl'
14346     hardcode_into_libs=yes
14347     dynamic_linker="$host_os dld.sl"
14348     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14349     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14350     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351     soname_spec='${libname}${release}${shared_ext}$major'
14352     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14353     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14354     ;;
14355   *)
14356     shrext_cmds='.sl'
14357     dynamic_linker="$host_os dld.sl"
14358     shlibpath_var=SHLIB_PATH
14359     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14360     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361     soname_spec='${libname}${release}${shared_ext}$major'
14362     ;;
14363   esac
14364   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14365   postinstall_cmds='chmod 555 $lib'
14366   # or fails outright, so override atomically:
14367   install_override_mode=555
14368   ;;
14369
14370 interix[3-9]*)
14371   version_type=linux
14372   need_lib_prefix=no
14373   need_version=no
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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14377   shlibpath_var=LD_LIBRARY_PATH
14378   shlibpath_overrides_runpath=no
14379   hardcode_into_libs=yes
14380   ;;
14381
14382 irix5* | irix6* | nonstopux*)
14383   case $host_os in
14384     nonstopux*) version_type=nonstopux ;;
14385     *)
14386         if test "$lt_cv_prog_gnu_ld" = yes; then
14387                 version_type=linux
14388         else
14389                 version_type=irix
14390         fi ;;
14391   esac
14392   need_lib_prefix=no
14393   need_version=no
14394   soname_spec='${libname}${release}${shared_ext}$major'
14395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14396   case $host_os in
14397   irix5* | nonstopux*)
14398     libsuff= shlibsuff=
14399     ;;
14400   *)
14401     case $LD in # libtool.m4 will add one of these switches to LD
14402     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14403       libsuff= shlibsuff= libmagic=32-bit;;
14404     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14405       libsuff=32 shlibsuff=N32 libmagic=N32;;
14406     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14407       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14408     *) libsuff= shlibsuff= libmagic=never-match;;
14409     esac
14410     ;;
14411   esac
14412   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14413   shlibpath_overrides_runpath=no
14414   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14415   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14416   hardcode_into_libs=yes
14417   ;;
14418
14419 # No shared lib support for Linux oldld, aout, or coff.
14420 linux*oldld* | linux*aout* | linux*coff*)
14421   dynamic_linker=no
14422   ;;
14423
14424 # This must be Linux ELF.
14425 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14426   version_type=linux
14427   need_lib_prefix=no
14428   need_version=no
14429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430   soname_spec='${libname}${release}${shared_ext}$major'
14431   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14432   shlibpath_var=LD_LIBRARY_PATH
14433   shlibpath_overrides_runpath=no
14434
14435   # Some binutils ld are patched to set DT_RUNPATH
14436   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14437   $as_echo_n "(cached) " >&6
14438 else
14439   lt_cv_shlibpath_overrides_runpath=no
14440     save_LDFLAGS=$LDFLAGS
14441     save_libdir=$libdir
14442     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14443          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14444     if test x$gcc_no_link = xyes; then
14445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14446 fi
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h.  */
14449
14450 int
14451 main ()
14452 {
14453
14454   ;
14455   return 0;
14456 }
14457 _ACEOF
14458 if ac_fn_cxx_try_link "$LINENO"; then :
14459   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14460   lt_cv_shlibpath_overrides_runpath=yes
14461 fi
14462 fi
14463 rm -f core conftest.err conftest.$ac_objext \
14464     conftest$ac_exeext conftest.$ac_ext
14465     LDFLAGS=$save_LDFLAGS
14466     libdir=$save_libdir
14467
14468 fi
14469
14470   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14471
14472   # This implies no fast_install, which is unacceptable.
14473   # Some rework will be needed to allow for fast_install
14474   # before this can be enabled.
14475   hardcode_into_libs=yes
14476
14477   # Append ld.so.conf contents to the search path
14478   if test -f /etc/ld.so.conf; then
14479     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' ' '`
14480     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14481   fi
14482
14483   # We used to test for /lib/ld.so.1 and disable shared libraries on
14484   # powerpc, because MkLinux only supported shared libraries with the
14485   # GNU dynamic linker.  Since this was broken with cross compilers,
14486   # most powerpc-linux boxes support dynamic linking these days and
14487   # people can always --disable-shared, the test was removed, and we
14488   # assume the GNU/Linux dynamic linker is in use.
14489   dynamic_linker='GNU/Linux ld.so'
14490   ;;
14491
14492 netbsd*)
14493   version_type=sunos
14494   need_lib_prefix=no
14495   need_version=no
14496   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14497     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14498     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14499     dynamic_linker='NetBSD (a.out) ld.so'
14500   else
14501     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14502     soname_spec='${libname}${release}${shared_ext}$major'
14503     dynamic_linker='NetBSD ld.elf_so'
14504   fi
14505   shlibpath_var=LD_LIBRARY_PATH
14506   shlibpath_overrides_runpath=yes
14507   hardcode_into_libs=yes
14508   ;;
14509
14510 newsos6)
14511   version_type=linux
14512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513   shlibpath_var=LD_LIBRARY_PATH
14514   shlibpath_overrides_runpath=yes
14515   ;;
14516
14517 *nto* | *qnx*)
14518   version_type=qnx
14519   need_lib_prefix=no
14520   need_version=no
14521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522   soname_spec='${libname}${release}${shared_ext}$major'
14523   shlibpath_var=LD_LIBRARY_PATH
14524   shlibpath_overrides_runpath=no
14525   hardcode_into_libs=yes
14526   dynamic_linker='ldqnx.so'
14527   ;;
14528
14529 openbsd*)
14530   version_type=sunos
14531   sys_lib_dlsearch_path_spec="/usr/lib"
14532   need_lib_prefix=no
14533   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14534   case $host_os in
14535     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14536     *)                          need_version=no  ;;
14537   esac
14538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14539   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14540   shlibpath_var=LD_LIBRARY_PATH
14541   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14542     case $host_os in
14543       openbsd2.[89] | openbsd2.[89].*)
14544         shlibpath_overrides_runpath=no
14545         ;;
14546       *)
14547         shlibpath_overrides_runpath=yes
14548         ;;
14549       esac
14550   else
14551     shlibpath_overrides_runpath=yes
14552   fi
14553   ;;
14554
14555 os2*)
14556   libname_spec='$name'
14557   shrext_cmds=".dll"
14558   need_lib_prefix=no
14559   library_names_spec='$libname${shared_ext} $libname.a'
14560   dynamic_linker='OS/2 ld.exe'
14561   shlibpath_var=LIBPATH
14562   ;;
14563
14564 osf3* | osf4* | osf5*)
14565   version_type=osf
14566   need_lib_prefix=no
14567   need_version=no
14568   soname_spec='${libname}${release}${shared_ext}$major'
14569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570   shlibpath_var=LD_LIBRARY_PATH
14571   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14572   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14573   ;;
14574
14575 rdos*)
14576   dynamic_linker=no
14577   ;;
14578
14579 solaris*)
14580   version_type=linux
14581   need_lib_prefix=no
14582   need_version=no
14583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14584   soname_spec='${libname}${release}${shared_ext}$major'
14585   shlibpath_var=LD_LIBRARY_PATH
14586   shlibpath_overrides_runpath=yes
14587   hardcode_into_libs=yes
14588   # ldd complains unless libraries are executable
14589   postinstall_cmds='chmod +x $lib'
14590   ;;
14591
14592 sunos4*)
14593   version_type=sunos
14594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14595   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14596   shlibpath_var=LD_LIBRARY_PATH
14597   shlibpath_overrides_runpath=yes
14598   if test "$with_gnu_ld" = yes; then
14599     need_lib_prefix=no
14600   fi
14601   need_version=yes
14602   ;;
14603
14604 sysv4 | sysv4.3*)
14605   version_type=linux
14606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607   soname_spec='${libname}${release}${shared_ext}$major'
14608   shlibpath_var=LD_LIBRARY_PATH
14609   case $host_vendor in
14610     sni)
14611       shlibpath_overrides_runpath=no
14612       need_lib_prefix=no
14613       runpath_var=LD_RUN_PATH
14614       ;;
14615     siemens)
14616       need_lib_prefix=no
14617       ;;
14618     motorola)
14619       need_lib_prefix=no
14620       need_version=no
14621       shlibpath_overrides_runpath=no
14622       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14623       ;;
14624   esac
14625   ;;
14626
14627 sysv4*MP*)
14628   if test -d /usr/nec ;then
14629     version_type=linux
14630     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14631     soname_spec='$libname${shared_ext}.$major'
14632     shlibpath_var=LD_LIBRARY_PATH
14633   fi
14634   ;;
14635
14636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14637   version_type=freebsd-elf
14638   need_lib_prefix=no
14639   need_version=no
14640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14641   soname_spec='${libname}${release}${shared_ext}$major'
14642   shlibpath_var=LD_LIBRARY_PATH
14643   shlibpath_overrides_runpath=yes
14644   hardcode_into_libs=yes
14645   if test "$with_gnu_ld" = yes; then
14646     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14647   else
14648     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14649     case $host_os in
14650       sco3.2v5*)
14651         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14652         ;;
14653     esac
14654   fi
14655   sys_lib_dlsearch_path_spec='/usr/lib'
14656   ;;
14657
14658 tpf*)
14659   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14660   version_type=linux
14661   need_lib_prefix=no
14662   need_version=no
14663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664   shlibpath_var=LD_LIBRARY_PATH
14665   shlibpath_overrides_runpath=no
14666   hardcode_into_libs=yes
14667   ;;
14668
14669 uts4*)
14670   version_type=linux
14671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14672   soname_spec='${libname}${release}${shared_ext}$major'
14673   shlibpath_var=LD_LIBRARY_PATH
14674   ;;
14675
14676 *)
14677   dynamic_linker=no
14678   ;;
14679 esac
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14681 $as_echo "$dynamic_linker" >&6; }
14682 test "$dynamic_linker" = no && can_build_shared=no
14683
14684 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14685 if test "$GCC" = yes; then
14686   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14687 fi
14688
14689 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14690   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14691 fi
14692 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14693   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14694 fi
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14734 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14735 hardcode_action_CXX=
14736 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14737    test -n "$runpath_var_CXX" ||
14738    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14739
14740   # We can hardcode non-existent directories.
14741   if test "$hardcode_direct_CXX" != no &&
14742      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14743      # have to relink, otherwise we might link with an installed library
14744      # when we should be linking with a yet-to-be-installed one
14745      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14746      test "$hardcode_minus_L_CXX" != no; then
14747     # Linking always hardcodes the temporary library directory.
14748     hardcode_action_CXX=relink
14749   else
14750     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14751     hardcode_action_CXX=immediate
14752   fi
14753 else
14754   # We cannot hardcode anything, or else we can only hardcode existing
14755   # directories.
14756   hardcode_action_CXX=unsupported
14757 fi
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14759 $as_echo "$hardcode_action_CXX" >&6; }
14760
14761 if test "$hardcode_action_CXX" = relink ||
14762    test "$inherit_rpath_CXX" = yes; then
14763   # Fast installation is not supported
14764   enable_fast_install=no
14765 elif test "$shlibpath_overrides_runpath" = yes ||
14766      test "$enable_shared" = no; then
14767   # Fast installation is not necessary
14768   enable_fast_install=needless
14769 fi
14770
14771
14772
14773
14774
14775
14776
14777   fi # test -n "$compiler"
14778
14779   CC=$lt_save_CC
14780   LDCXX=$LD
14781   LD=$lt_save_LD
14782   GCC=$lt_save_GCC
14783   with_gnu_ld=$lt_save_with_gnu_ld
14784   lt_cv_path_LDCXX=$lt_cv_path_LD
14785   lt_cv_path_LD=$lt_save_path_LD
14786   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14787   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14788 fi # test "$_lt_caught_CXX_error" != yes
14789
14790 ac_ext=c
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808         ac_config_commands="$ac_config_commands libtool"
14809
14810
14811
14812
14813 # Only expand once:
14814
14815
14816
14817
14818
14819 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14820 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14821
14822 # Possibly disable most of the library.
14823 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14824 ## than just ignoring the results.  Faster /and/ more correct, win win.
14825
14826   # Check whether --enable-hosted-libstdcxx was given.
14827 if test "${enable_hosted_libstdcxx+set}" = set; then :
14828   enableval=$enable_hosted_libstdcxx;
14829 else
14830   case "$host" in
14831         arm*-*-symbianelf*)
14832             enable_hosted_libstdcxx=no
14833             ;;
14834         *)
14835             enable_hosted_libstdcxx=yes
14836             ;;
14837      esac
14838 fi
14839
14840   if test "$enable_hosted_libstdcxx" = no; then
14841     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14842 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14843     is_hosted=no
14844     hosted_define=0
14845     enable_abi_check=no
14846     enable_libstdcxx_pch=no
14847   else
14848     is_hosted=yes
14849     hosted_define=1
14850   fi
14851
14852
14853 cat >>confdefs.h <<_ACEOF
14854 #define _GLIBCXX_HOSTED $hosted_define
14855 _ACEOF
14856
14857
14858
14859 # Enable compiler support that doesn't require linking.
14860
14861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14862 $as_echo_n "checking for exception model to use... " >&6; }
14863
14864   ac_ext=cpp
14865 ac_cpp='$CXXCPP $CPPFLAGS'
14866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14869
14870    # Check whether --enable-sjlj-exceptions was given.
14871 if test "${enable_sjlj_exceptions+set}" = set; then :
14872   enableval=$enable_sjlj_exceptions;
14873       case "$enableval" in
14874        yes|no|auto) ;;
14875        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14876                           esac
14877
14878 else
14879   enable_sjlj_exceptions=auto
14880 fi
14881
14882
14883
14884   if test $enable_sjlj_exceptions = auto; then
14885     # Botheration.  Now we've got to detect the exception model.  Link tests
14886     # against libgcc.a are problematic since we've not been given proper -L
14887     # bits for single-tree newlib and libgloss.
14888     #
14889     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14890     cat > conftest.$ac_ext << EOF
14891 #line 14891 "configure"
14892 struct S { ~S(); };
14893 void bar();
14894 void foo()
14895 {
14896   S s;
14897   bar();
14898 }
14899 EOF
14900     old_CXXFLAGS="$CXXFLAGS"
14901     CXXFLAGS=-S
14902     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14903   (eval $ac_compile) 2>&5
14904   ac_status=$?
14905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906   test $ac_status = 0; }; then
14907       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14908         enable_sjlj_exceptions=yes
14909       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14910         enable_sjlj_exceptions=no
14911       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14912         enable_sjlj_exceptions=no
14913       fi
14914     fi
14915     CXXFLAGS="$old_CXXFLAGS"
14916     rm -f conftest*
14917   fi
14918
14919   # This is a tad weird, for hysterical raisins.  We have to map
14920   # enable/disable to two different models.
14921   case $enable_sjlj_exceptions in
14922     yes)
14923
14924 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14925
14926       ac_exception_model_name=sjlj
14927       ;;
14928     no)
14929       ac_exception_model_name="call frame"
14930       ;;
14931     *)
14932       as_fn_error "unable to detect exception model" "$LINENO" 5
14933       ;;
14934   esac
14935  ac_ext=c
14936 ac_cpp='$CPP $CPPFLAGS'
14937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14940
14941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14942 $as_echo "$ac_exception_model_name" >&6; }
14943
14944
14945    # Check whether --enable-libstdcxx-pch was given.
14946 if test "${enable_libstdcxx_pch+set}" = set; then :
14947   enableval=$enable_libstdcxx_pch;
14948       case "$enableval" in
14949        yes|no) ;;
14950        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14951       esac
14952
14953 else
14954   enable_libstdcxx_pch=$is_hosted
14955 fi
14956
14957
14958   if test $enable_libstdcxx_pch = yes; then
14959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14960 $as_echo_n "checking for compiler with PCH support... " >&6; }
14961 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14962   $as_echo_n "(cached) " >&6
14963 else
14964   ac_save_CXXFLAGS="$CXXFLAGS"
14965        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14966
14967        ac_ext=cpp
14968 ac_cpp='$CXXCPP $CPPFLAGS'
14969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14972
14973        echo '#include <math.h>' > conftest.h
14974        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14975                           -o conftest.h.gch 1>&5 2>&1 &&
14976                 echo '#error "pch failed"' > conftest.h &&
14977           echo '#include "conftest.h"' > conftest.cc &&
14978                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14979        then
14980          glibcxx_cv_prog_CXX_pch=yes
14981        else
14982          glibcxx_cv_prog_CXX_pch=no
14983        fi
14984        rm -f conftest*
14985        CXXFLAGS=$ac_save_CXXFLAGS
14986        ac_ext=c
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14991
14992
14993 fi
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
14995 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
14996     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14997   fi
14998
14999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15000 $as_echo_n "checking for enabled PCH... " >&6; }
15001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15002 $as_echo "$enable_libstdcxx_pch" >&6; }
15003
15004
15005   if test $enable_libstdcxx_pch = yes; then
15006     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15007   else
15008     glibcxx_PCHFLAGS=""
15009   fi
15010
15011
15012
15013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15014 $as_echo_n "checking for thread model used by GCC... " >&6; }
15015   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15017 $as_echo "$target_thread_file" >&6; }
15018
15019   if test $target_thread_file != single; then
15020
15021 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15022
15023   fi
15024
15025   glibcxx_thread_h=gthr-$target_thread_file.h
15026
15027     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15028   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15029     enable_thread=yes
15030   else
15031    enable_thread=no
15032   fi
15033
15034
15035
15036
15037
15038   ac_ext=cpp
15039 ac_cpp='$CXXCPP $CPPFLAGS'
15040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15043
15044   old_CXXFLAGS="$CXXFLAGS"
15045
15046   # Do link tests if possible, instead asm tests, limited to some platforms
15047   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15048   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15049   atomic_builtins_link_tests=no
15050   if test x$gcc_no_link != xyes; then
15051     # Can do link tests. Limit to some tested platforms
15052     case "$host" in
15053       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15054         atomic_builtins_link_tests=yes
15055         ;;
15056     esac
15057   fi
15058
15059   if test x$atomic_builtins_link_tests = xyes; then
15060
15061   # Do link tests.
15062
15063   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15064
15065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15066 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15067   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15068   $as_echo_n "(cached) " >&6
15069 else
15070
15071     if test x$gcc_no_link = xyes; then
15072   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15073 fi
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h.  */
15076
15077 int
15078 main ()
15079 {
15080 typedef bool atomic_type;
15081        atomic_type c1;
15082        atomic_type c2;
15083        const atomic_type c3(0);
15084        __sync_fetch_and_add(&c1, c2);
15085        __sync_val_compare_and_swap(&c1, c3, c2);
15086        __sync_lock_test_and_set(&c1, c3);
15087        __sync_lock_release(&c1);
15088        __sync_synchronize();
15089   ;
15090   return 0;
15091 }
15092 _ACEOF
15093 if ac_fn_cxx_try_link "$LINENO"; then :
15094   glibcxx_cv_atomic_bool=yes
15095 else
15096   glibcxx_cv_atomic_bool=no
15097 fi
15098 rm -f core conftest.err conftest.$ac_objext \
15099     conftest$ac_exeext conftest.$ac_ext
15100
15101 fi
15102
15103   if test $glibcxx_cv_atomic_bool = yes; then
15104
15105 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15106
15107   fi
15108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15109 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15110
15111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15112 $as_echo_n "checking for atomic builtins for short... " >&6; }
15113   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15114   $as_echo_n "(cached) " >&6
15115 else
15116
15117     if test x$gcc_no_link = xyes; then
15118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15119 fi
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h.  */
15122
15123 int
15124 main ()
15125 {
15126 typedef short atomic_type;
15127        atomic_type c1;
15128        atomic_type c2;
15129        const atomic_type c3(0);
15130        __sync_fetch_and_add(&c1, c2);
15131        __sync_val_compare_and_swap(&c1, c3, c2);
15132        __sync_lock_test_and_set(&c1, c3);
15133        __sync_lock_release(&c1);
15134        __sync_synchronize();
15135   ;
15136   return 0;
15137 }
15138 _ACEOF
15139 if ac_fn_cxx_try_link "$LINENO"; then :
15140   glibcxx_cv_atomic_short=yes
15141 else
15142   glibcxx_cv_atomic_short=no
15143 fi
15144 rm -f core conftest.err conftest.$ac_objext \
15145     conftest$ac_exeext conftest.$ac_ext
15146
15147 fi
15148
15149   if test $glibcxx_cv_atomic_short = yes; then
15150
15151 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15152
15153   fi
15154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15155 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15156
15157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15158 $as_echo_n "checking for atomic builtins for int... " >&6; }
15159   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15160   $as_echo_n "(cached) " >&6
15161 else
15162
15163     if test x$gcc_no_link = xyes; then
15164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15165 fi
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h.  */
15168
15169 int
15170 main ()
15171 {
15172 typedef int atomic_type;
15173        atomic_type c1;
15174        atomic_type c2;
15175        const atomic_type c3(0);
15176        __sync_fetch_and_add(&c1, c2);
15177        __sync_val_compare_and_swap(&c1, c3, c2);
15178        __sync_lock_test_and_set(&c1, c3);
15179        __sync_lock_release(&c1);
15180        __sync_synchronize();
15181   ;
15182   return 0;
15183 }
15184 _ACEOF
15185 if ac_fn_cxx_try_link "$LINENO"; then :
15186   glibcxx_cv_atomic_int=yes
15187 else
15188   glibcxx_cv_atomic_int=no
15189 fi
15190 rm -f core conftest.err conftest.$ac_objext \
15191     conftest$ac_exeext conftest.$ac_ext
15192
15193 fi
15194
15195   if test $glibcxx_cv_atomic_int = yes; then
15196
15197 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15198
15199   fi
15200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15201 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15202
15203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15204 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15205   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15206   $as_echo_n "(cached) " >&6
15207 else
15208
15209     if test x$gcc_no_link = xyes; then
15210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15211 fi
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h.  */
15214
15215 int
15216 main ()
15217 {
15218 typedef long long atomic_type;
15219        atomic_type c1;
15220        atomic_type c2;
15221        const atomic_type c3(0);
15222        __sync_fetch_and_add(&c1, c2);
15223        __sync_val_compare_and_swap(&c1, c3, c2);
15224        __sync_lock_test_and_set(&c1, c3);
15225        __sync_lock_release(&c1);
15226        __sync_synchronize();
15227   ;
15228   return 0;
15229 }
15230 _ACEOF
15231 if ac_fn_cxx_try_link "$LINENO"; then :
15232   glibcxx_cv_atomic_long_long=yes
15233 else
15234   glibcxx_cv_atomic_long_long=no
15235 fi
15236 rm -f core conftest.err conftest.$ac_objext \
15237     conftest$ac_exeext conftest.$ac_ext
15238
15239 fi
15240
15241   if test $glibcxx_cv_atomic_long_long = yes; then
15242
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15244
15245   fi
15246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15247 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15248
15249   else
15250
15251   # Do asm tests.
15252
15253   # Compile unoptimized.
15254   CXXFLAGS='-O0 -S'
15255
15256   # Fake what AC_TRY_COMPILE does.
15257
15258     cat > conftest.$ac_ext << EOF
15259 #line 15259 "configure"
15260 int main()
15261 {
15262   typedef bool atomic_type;
15263   atomic_type c1;
15264   atomic_type c2;
15265   const atomic_type c3(0);
15266   __sync_fetch_and_add(&c1, c2);
15267   __sync_val_compare_and_swap(&c1, c3, c2);
15268   __sync_lock_test_and_set(&c1, c3);
15269   __sync_lock_release(&c1);
15270   __sync_synchronize();
15271   return 0;
15272 }
15273 EOF
15274
15275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15276 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15277     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15278   (eval $ac_compile) 2>&5
15279   ac_status=$?
15280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15281   test $ac_status = 0; }; then
15282       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15283         glibcxx_cv_atomic_bool=no
15284       else
15285
15286 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15287
15288         glibcxx_cv_atomic_bool=yes
15289       fi
15290     fi
15291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15292 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15293     rm -f conftest*
15294
15295     cat > conftest.$ac_ext << EOF
15296 #line 15296 "configure"
15297 int main()
15298 {
15299   typedef short atomic_type;
15300   atomic_type c1;
15301   atomic_type c2;
15302   const atomic_type c3(0);
15303   __sync_fetch_and_add(&c1, c2);
15304   __sync_val_compare_and_swap(&c1, c3, c2);
15305   __sync_lock_test_and_set(&c1, c3);
15306   __sync_lock_release(&c1);
15307   __sync_synchronize();
15308   return 0;
15309 }
15310 EOF
15311
15312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15313 $as_echo_n "checking for atomic builtins for short... " >&6; }
15314     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15315   (eval $ac_compile) 2>&5
15316   ac_status=$?
15317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318   test $ac_status = 0; }; then
15319       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15320         glibcxx_cv_atomic_short=no
15321       else
15322
15323 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15324
15325         glibcxx_cv_atomic_short=yes
15326       fi
15327     fi
15328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15329 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15330     rm -f conftest*
15331
15332     cat > conftest.$ac_ext << EOF
15333 #line 15333 "configure"
15334 int main()
15335 {
15336   // NB: _Atomic_word not necessarily int.
15337   typedef int atomic_type;
15338   atomic_type c1;
15339   atomic_type c2;
15340   const atomic_type c3(0);
15341   __sync_fetch_and_add(&c1, c2);
15342   __sync_val_compare_and_swap(&c1, c3, c2);
15343   __sync_lock_test_and_set(&c1, c3);
15344   __sync_lock_release(&c1);
15345   __sync_synchronize();
15346   return 0;
15347 }
15348 EOF
15349
15350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15351 $as_echo_n "checking for atomic builtins for int... " >&6; }
15352     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15353   (eval $ac_compile) 2>&5
15354   ac_status=$?
15355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356   test $ac_status = 0; }; then
15357       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15358         glibcxx_cv_atomic_int=no
15359       else
15360
15361 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15362
15363         glibcxx_cv_atomic_int=yes
15364       fi
15365     fi
15366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15367 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15368     rm -f conftest*
15369
15370     cat > conftest.$ac_ext << EOF
15371 #line 15371 "configure"
15372 int main()
15373 {
15374   typedef long long atomic_type;
15375   atomic_type c1;
15376   atomic_type c2;
15377   const atomic_type c3(0);
15378   __sync_fetch_and_add(&c1, c2);
15379   __sync_val_compare_and_swap(&c1, c3, c2);
15380   __sync_lock_test_and_set(&c1, c3);
15381   __sync_lock_release(&c1);
15382   __sync_synchronize();
15383   return 0;
15384 }
15385 EOF
15386
15387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15388 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15389     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390   (eval $ac_compile) 2>&5
15391   ac_status=$?
15392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393   test $ac_status = 0; }; then
15394       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15395         glibcxx_cv_atomic_long_long=no
15396       else
15397
15398 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15399
15400         glibcxx_cv_atomic_long_long=yes
15401       fi
15402     fi
15403     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15404 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15405     rm -f conftest*
15406
15407   fi
15408
15409   CXXFLAGS="$old_CXXFLAGS"
15410   ac_ext=c
15411 ac_cpp='$CPP $CPPFLAGS'
15412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15415
15416
15417   # Set atomicity_dir to builtins if either of above tests pass.
15418   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15419     atomicity_dir=cpu/generic/atomicity_builtins
15420   fi
15421
15422   # If still generic, set to mutex.
15423   if test $atomicity_dir = "cpu/generic" ; then
15424     atomicity_dir=cpu/generic/atomicity_mutex
15425     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15426 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15427       if test "x$target_thread_file" = xsingle; then
15428         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15429 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15430         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15431 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15432       else
15433         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15434 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15435         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15436 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15437       fi
15438   fi
15439
15440
15441
15442
15443   # Fake what AC_TRY_COMPILE does, without linking as this is
15444   # unnecessary for this test.
15445
15446     cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15449 {
15450   _Decimal32 d1;
15451   _Decimal64 d2;
15452   _Decimal128 d3;
15453   return 0;
15454 }
15455 EOF
15456
15457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15458 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15459     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460   (eval $ac_compile) 2>&5
15461   ac_status=$?
15462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463   test $ac_status = 0; }; then
15464
15465 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15466
15467       enable_dfp=yes
15468     else
15469       enable_dfp=no
15470     fi
15471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15472 $as_echo "$enable_dfp" >&6; }
15473     rm -f conftest*
15474
15475
15476 # Checks for compiler support that doesn't require linking.
15477
15478   # All these tests are for C++; save the language and the compiler flags.
15479   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15480   # found in GLIBCXX_CONFIGURE.
15481
15482   ac_ext=cpp
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15487
15488   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15489   ac_save_CXXFLAGS="$CXXFLAGS"
15490
15491   # Check for maintainer-mode bits.
15492   if test x"$USE_MAINTAINER_MODE" = xno; then
15493     WERROR=''
15494   else
15495     WERROR='-Werror'
15496   fi
15497
15498   # Check for -ffunction-sections -fdata-sections
15499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15500 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15501   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h.  */
15504 int foo; void bar() { };
15505 int
15506 main ()
15507 {
15508
15509   ;
15510   return 0;
15511 }
15512 _ACEOF
15513 if ac_fn_cxx_try_compile "$LINENO"; then :
15514   ac_fdsections=yes
15515 else
15516   ac_fdsections=no
15517 fi
15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15519   if test "$ac_test_CXXFLAGS" = set; then
15520     CXXFLAGS="$ac_save_CXXFLAGS"
15521   else
15522     # this is the suspicious part
15523     CXXFLAGS=''
15524   fi
15525   if test x"$ac_fdsections" = x"yes"; then
15526     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15527   fi
15528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15529 $as_echo "$ac_fdsections" >&6; }
15530
15531   ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537
15538
15539
15540
15541 # Enable all the variable C++ runtime options that don't require linking.
15542
15543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15544 $as_echo_n "checking for underlying I/O to use... " >&6; }
15545    # Check whether --enable-cstdio was given.
15546 if test "${enable_cstdio+set}" = set; then :
15547   enableval=$enable_cstdio;
15548       case "$enableval" in
15549        stdio) ;;
15550        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15551                           esac
15552
15553 else
15554   enable_cstdio=stdio
15555 fi
15556
15557
15558
15559   # Now that libio has been removed, you can have any color you want as long
15560   # as it's black.  This is one big no-op until other packages are added, but
15561   # showing the framework never hurts.
15562   case ${enable_cstdio} in
15563     stdio)
15564       CSTDIO_H=config/io/c_io_stdio.h
15565       BASIC_FILE_H=config/io/basic_file_stdio.h
15566       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15567       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15568 $as_echo "stdio" >&6; }
15569       ;;
15570   esac
15571
15572
15573
15574
15575
15576
15577    # Check whether --enable-clocale was given.
15578 if test "${enable_clocale+set}" = set; then :
15579   enableval=$enable_clocale;
15580       case "$enableval" in
15581        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15582        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15583                           esac
15584
15585 else
15586   enable_clocale=auto
15587 fi
15588
15589
15590
15591   # Deal with gettext issues.  Default to not using it (=no) until we detect
15592   # support for it later.  Let the user turn it off via --e/d, but let that
15593   # default to on for easier handling.
15594   USE_NLS=no
15595   # Check whether --enable-nls was given.
15596 if test "${enable_nls+set}" = set; then :
15597   enableval=$enable_nls;
15598 else
15599   enable_nls=yes
15600 fi
15601
15602
15603   # Either a known packaage, or "auto"
15604   if test $enable_clocale = no || test $enable_clocale = yes; then
15605      enable_clocale=auto
15606   fi
15607   enable_clocale_flag=$enable_clocale
15608
15609   # Probe for locale model to use if none specified.
15610   # Default to "generic".
15611   if test $enable_clocale_flag = auto; then
15612     case ${target_os} in
15613       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15614         enable_clocale_flag=gnu
15615         ;;
15616       darwin* | freebsd*)
15617         enable_clocale_flag=darwin
15618         ;;
15619       *)
15620         enable_clocale_flag=generic
15621         ;;
15622     esac
15623   fi
15624
15625   # Sanity check model, and test for special functionality.
15626   if test $enable_clocale_flag = gnu; then
15627     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h.  */
15629
15630     #include <features.h>
15631     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15632       _GLIBCXX_ok
15633     #endif
15634
15635 _ACEOF
15636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15637   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15638   enable_clocale_flag=gnu
15639 else
15640   enable_clocale_flag=generic
15641 fi
15642 rm -f conftest*
15643
15644
15645     # Set it to scream when it hurts.
15646     ac_save_CFLAGS="$CFLAGS"
15647     CFLAGS="-Wimplicit-function-declaration -Werror"
15648
15649     # Use strxfrm_l if available.
15650     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h.  */
15652 #define _GNU_SOURCE 1
15653                     #include <string.h>
15654                     #include <locale.h>
15655 int
15656 main ()
15657 {
15658 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15659   ;
15660   return 0;
15661 }
15662 _ACEOF
15663 if ac_fn_c_try_compile "$LINENO"; then :
15664
15665 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15666
15667 fi
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669
15670     # Use strerror_l if available.
15671     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h.  */
15673 #define _GNU_SOURCE 1
15674                     #include <string.h>
15675                     #include <locale.h>
15676 int
15677 main ()
15678 {
15679 __locale_t loc; strerror_l(5, loc);
15680   ;
15681   return 0;
15682 }
15683 _ACEOF
15684 if ac_fn_c_try_compile "$LINENO"; then :
15685
15686 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15687
15688 fi
15689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15690
15691     CFLAGS="$ac_save_CFLAGS"
15692   fi
15693
15694   # Perhaps use strerror_r if available, and strerror_l isn't.
15695   ac_save_CFLAGS="$CFLAGS"
15696   CFLAGS="-Wimplicit-function-declaration -Werror"
15697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h.  */
15699 #define _GNU_SOURCE 1
15700                   #include <string.h>
15701                   #include <locale.h>
15702 int
15703 main ()
15704 {
15705 char s[128]; strerror_r(5, s, 128);
15706   ;
15707   return 0;
15708 }
15709 _ACEOF
15710 if ac_fn_c_try_compile "$LINENO"; then :
15711
15712 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15713
15714 fi
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15716   CFLAGS="$ac_save_CFLAGS"
15717
15718   # Set configure bits for specified locale package
15719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15720 $as_echo_n "checking for C locale to use... " >&6; }
15721   case ${enable_clocale_flag} in
15722     generic)
15723       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15724 $as_echo "generic" >&6; }
15725
15726       CLOCALE_H=config/locale/generic/c_locale.h
15727       CLOCALE_CC=config/locale/generic/c_locale.cc
15728       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15729       CCOLLATE_CC=config/locale/generic/collate_members.cc
15730       CCTYPE_CC=config/locale/generic/ctype_members.cc
15731       CMESSAGES_H=config/locale/generic/messages_members.h
15732       CMESSAGES_CC=config/locale/generic/messages_members.cc
15733       CMONEY_CC=config/locale/generic/monetary_members.cc
15734       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15735       CTIME_H=config/locale/generic/time_members.h
15736       CTIME_CC=config/locale/generic/time_members.cc
15737       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15738       ;;
15739     darwin)
15740       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15741 $as_echo "darwin or freebsd" >&6; }
15742
15743       CLOCALE_H=config/locale/generic/c_locale.h
15744       CLOCALE_CC=config/locale/generic/c_locale.cc
15745       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15746       CCOLLATE_CC=config/locale/generic/collate_members.cc
15747       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15748       CMESSAGES_H=config/locale/generic/messages_members.h
15749       CMESSAGES_CC=config/locale/generic/messages_members.cc
15750       CMONEY_CC=config/locale/generic/monetary_members.cc
15751       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15752       CTIME_H=config/locale/generic/time_members.h
15753       CTIME_CC=config/locale/generic/time_members.cc
15754       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15755       ;;
15756
15757     gnu)
15758       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15759 $as_echo "gnu" >&6; }
15760
15761       # Declare intention to use gettext, and add support for specific
15762       # languages.
15763       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15764       ALL_LINGUAS="de fr"
15765
15766       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15767       # Extract the first word of "msgfmt", so it can be a program name with args.
15768 set dummy msgfmt; ac_word=$2
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15770 $as_echo_n "checking for $ac_word... " >&6; }
15771 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15772   $as_echo_n "(cached) " >&6
15773 else
15774   if test -n "$check_msgfmt"; then
15775   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15776 else
15777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15778 for as_dir in $PATH
15779 do
15780   IFS=$as_save_IFS
15781   test -z "$as_dir" && as_dir=.
15782     for ac_exec_ext in '' $ac_executable_extensions; do
15783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15784     ac_cv_prog_check_msgfmt="yes"
15785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15786     break 2
15787   fi
15788 done
15789   done
15790 IFS=$as_save_IFS
15791
15792   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15793 fi
15794 fi
15795 check_msgfmt=$ac_cv_prog_check_msgfmt
15796 if test -n "$check_msgfmt"; then
15797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15798 $as_echo "$check_msgfmt" >&6; }
15799 else
15800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15801 $as_echo "no" >&6; }
15802 fi
15803
15804
15805       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15806         USE_NLS=yes
15807       fi
15808       # Export the build objects.
15809       for ling in $ALL_LINGUAS; do \
15810         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15811         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15812       done
15813
15814
15815
15816       CLOCALE_H=config/locale/gnu/c_locale.h
15817       CLOCALE_CC=config/locale/gnu/c_locale.cc
15818       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15819       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15820       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15821       CMESSAGES_H=config/locale/gnu/messages_members.h
15822       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15823       CMONEY_CC=config/locale/gnu/monetary_members.cc
15824       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15825       CTIME_H=config/locale/gnu/time_members.h
15826       CTIME_CC=config/locale/gnu/time_members.cc
15827       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15828       ;;
15829     ieee_1003.1-2001)
15830       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15831 $as_echo "IEEE 1003.1" >&6; }
15832
15833       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15834       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15835       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15836       CCOLLATE_CC=config/locale/generic/collate_members.cc
15837       CCTYPE_CC=config/locale/generic/ctype_members.cc
15838       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15839       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15840       CMONEY_CC=config/locale/generic/monetary_members.cc
15841       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15842       CTIME_H=config/locale/generic/time_members.h
15843       CTIME_CC=config/locale/generic/time_members.cc
15844       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15845       ;;
15846   esac
15847
15848   # This is where the testsuite looks for locale catalogs, using the
15849   # -DLOCALEDIR define during testsuite compilation.
15850   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15851
15852
15853   # A standalone libintl (e.g., GNU libintl) may be in use.
15854   if test $USE_NLS = yes; then
15855     for ac_header in libintl.h
15856 do :
15857   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15858 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15859   cat >>confdefs.h <<_ACEOF
15860 #define HAVE_LIBINTL_H 1
15861 _ACEOF
15862
15863 else
15864   USE_NLS=no
15865 fi
15866
15867 done
15868
15869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15870 $as_echo_n "checking for library containing gettext... " >&6; }
15871 if test "${ac_cv_search_gettext+set}" = set; then :
15872   $as_echo_n "(cached) " >&6
15873 else
15874   ac_func_search_save_LIBS=$LIBS
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h.  */
15877
15878 /* Override any GCC internal prototype to avoid an error.
15879    Use char because int might match the return type of a GCC
15880    builtin and then its argument prototype would still apply.  */
15881 #ifdef __cplusplus
15882 extern "C"
15883 #endif
15884 char gettext ();
15885 int
15886 main ()
15887 {
15888 return gettext ();
15889   ;
15890   return 0;
15891 }
15892 _ACEOF
15893 for ac_lib in '' intl; do
15894   if test -z "$ac_lib"; then
15895     ac_res="none required"
15896   else
15897     ac_res=-l$ac_lib
15898     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15899   fi
15900   if test x$gcc_no_link = xyes; then
15901   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15902 fi
15903 if ac_fn_c_try_link "$LINENO"; then :
15904   ac_cv_search_gettext=$ac_res
15905 fi
15906 rm -f core conftest.err conftest.$ac_objext \
15907     conftest$ac_exeext
15908   if test "${ac_cv_search_gettext+set}" = set; then :
15909   break
15910 fi
15911 done
15912 if test "${ac_cv_search_gettext+set}" = set; then :
15913
15914 else
15915   ac_cv_search_gettext=no
15916 fi
15917 rm conftest.$ac_ext
15918 LIBS=$ac_func_search_save_LIBS
15919 fi
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15921 $as_echo "$ac_cv_search_gettext" >&6; }
15922 ac_res=$ac_cv_search_gettext
15923 if test "$ac_res" != no; then :
15924   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15925
15926 else
15927   USE_NLS=no
15928 fi
15929
15930   fi
15931   if test $USE_NLS = yes; then
15932
15933 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15934
15935   fi
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15953 $as_echo_n "checking for std::allocator base class... " >&6; }
15954    # Check whether --enable-libstdcxx-allocator was given.
15955 if test "${enable_libstdcxx_allocator+set}" = set; then :
15956   enableval=$enable_libstdcxx_allocator;
15957       case "$enableval" in
15958        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15959        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15960                           esac
15961
15962 else
15963   enable_libstdcxx_allocator=auto
15964 fi
15965
15966
15967
15968   # If they didn't use this option switch, or if they specified --enable
15969   # with no specific model, we'll have to look for one.  If they
15970   # specified --disable (???), do likewise.
15971   if test $enable_libstdcxx_allocator = no ||
15972      test $enable_libstdcxx_allocator = yes;
15973   then
15974      enable_libstdcxx_allocator=auto
15975   fi
15976
15977   # Either a known package, or "auto". Auto implies the default choice
15978   # for a particular platform.
15979   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15980
15981   # Probe for host-specific support if no specific model is specified.
15982   # Default to "new".
15983   if test $enable_libstdcxx_allocator_flag = auto; then
15984     case ${target_os} in
15985       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15986         enable_libstdcxx_allocator_flag=new
15987         ;;
15988       *)
15989         enable_libstdcxx_allocator_flag=new
15990         ;;
15991     esac
15992   fi
15993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15994 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15995
15996
15997   # Set configure bits for specified locale package
15998   case ${enable_libstdcxx_allocator_flag} in
15999     bitmap)
16000       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16001       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16002       ;;
16003     malloc)
16004       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16005       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16006       ;;
16007     mt)
16008       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16009       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16010       ;;
16011     new)
16012       ALLOCATOR_H=config/allocator/new_allocator_base.h
16013       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16014       ;;
16015     pool)
16016       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16017       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16018       ;;
16019   esac
16020
16021
16022
16023
16024
16025    # Check whether --enable-cheaders was given.
16026 if test "${enable_cheaders+set}" = set; then :
16027   enableval=$enable_cheaders;
16028       case "$enableval" in
16029        c|c_std|c_global) ;;
16030        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16031                           esac
16032
16033 else
16034   enable_cheaders=$c_model
16035 fi
16036
16037
16038   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16039 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16040
16041   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16042
16043   # Allow overrides to configure.host here.
16044   if test $enable_cheaders = c_global; then
16045      c_compatibility=yes
16046   fi
16047
16048   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16049      c_extra=yes
16050   fi
16051
16052
16053
16054
16055
16056
16057
16058
16059    # Check whether --enable-long-long was given.
16060 if test "${enable_long_long+set}" = set; then :
16061   enableval=$enable_long_long;
16062       case "$enableval" in
16063        yes|no) ;;
16064        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16065       esac
16066
16067 else
16068   enable_long_long=yes
16069 fi
16070
16071
16072   if test $enable_long_long = yes; then
16073
16074 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16075
16076   fi
16077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16078 $as_echo_n "checking for enabled long long specializations... " >&6; }
16079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16080 $as_echo "$enable_long_long" >&6; }
16081
16082
16083    # Check whether --enable-wchar_t was given.
16084 if test "${enable_wchar_t+set}" = set; then :
16085   enableval=$enable_wchar_t;
16086       case "$enableval" in
16087        yes|no) ;;
16088        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16089       esac
16090
16091 else
16092   enable_wchar_t=yes
16093 fi
16094
16095
16096
16097   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16098   for ac_header in wchar.h
16099 do :
16100   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16101 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16102   cat >>confdefs.h <<_ACEOF
16103 #define HAVE_WCHAR_H 1
16104 _ACEOF
16105  ac_has_wchar_h=yes
16106 else
16107   ac_has_wchar_h=no
16108 fi
16109
16110 done
16111
16112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16113 $as_echo_n "checking for mbstate_t... " >&6; }
16114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h.  */
16116 #include <wchar.h>
16117 int
16118 main ()
16119 {
16120 mbstate_t teststate;
16121   ;
16122   return 0;
16123 }
16124 _ACEOF
16125 if ac_fn_c_try_compile "$LINENO"; then :
16126   have_mbstate_t=yes
16127 else
16128   have_mbstate_t=no
16129 fi
16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16132 $as_echo "$have_mbstate_t" >&6; }
16133   if test x"$have_mbstate_t" = xyes; then
16134
16135 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16136
16137   fi
16138
16139   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16140   # ac_has_wchar_h.
16141   for ac_header in wctype.h
16142 do :
16143   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16145   cat >>confdefs.h <<_ACEOF
16146 #define HAVE_WCTYPE_H 1
16147 _ACEOF
16148  ac_has_wctype_h=yes
16149 else
16150   ac_has_wctype_h=no
16151 fi
16152
16153 done
16154
16155
16156   if test x"$enable_wchar_t" = x"yes"; then
16157
16158
16159     ac_ext=cpp
16160 ac_cpp='$CXXCPP $CPPFLAGS'
16161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16164
16165
16166     if test x"$ac_has_wchar_h" = xyes &&
16167        test x"$ac_has_wctype_h" = xyes; then
16168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h.  */
16170 #include <wchar.h>
16171                       #include <stddef.h>
16172                       wint_t i;
16173                       long l = WEOF;
16174                       long j = WCHAR_MIN;
16175                       long k = WCHAR_MAX;
16176                       namespace test
16177                       {
16178                         using ::btowc;
16179                         using ::fgetwc;
16180                         using ::fgetws;
16181                         using ::fputwc;
16182                         using ::fputws;
16183                         using ::fwide;
16184                         using ::fwprintf;
16185                         using ::fwscanf;
16186                         using ::getwc;
16187                         using ::getwchar;
16188                         using ::mbrlen;
16189                         using ::mbrtowc;
16190                         using ::mbsinit;
16191                         using ::mbsrtowcs;
16192                         using ::putwc;
16193                         using ::putwchar;
16194                         using ::swprintf;
16195                         using ::swscanf;
16196                         using ::ungetwc;
16197                         using ::vfwprintf;
16198                         using ::vswprintf;
16199                         using ::vwprintf;
16200                         using ::wcrtomb;
16201                         using ::wcscat;
16202                         using ::wcschr;
16203                         using ::wcscmp;
16204                         using ::wcscoll;
16205                         using ::wcscpy;
16206                         using ::wcscspn;
16207                         using ::wcsftime;
16208                         using ::wcslen;
16209                         using ::wcsncat;
16210                         using ::wcsncmp;
16211                         using ::wcsncpy;
16212                         using ::wcspbrk;
16213                         using ::wcsrchr;
16214                         using ::wcsrtombs;
16215                         using ::wcsspn;
16216                         using ::wcsstr;
16217                         using ::wcstod;
16218                         using ::wcstok;
16219                         using ::wcstol;
16220                         using ::wcstoul;
16221                         using ::wcsxfrm;
16222                         using ::wctob;
16223                         using ::wmemchr;
16224                         using ::wmemcmp;
16225                         using ::wmemcpy;
16226                         using ::wmemmove;
16227                         using ::wmemset;
16228                         using ::wprintf;
16229                         using ::wscanf;
16230                       }
16231
16232 int
16233 main ()
16234 {
16235
16236   ;
16237   return 0;
16238 }
16239 _ACEOF
16240 if ac_fn_cxx_try_compile "$LINENO"; then :
16241
16242 else
16243   enable_wchar_t=no
16244 fi
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246     else
16247       enable_wchar_t=no
16248     fi
16249
16250     ac_ext=c
16251 ac_cpp='$CPP $CPPFLAGS'
16252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255
16256   fi
16257
16258   if test x"$enable_wchar_t" = x"yes"; then
16259
16260 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16261
16262   fi
16263
16264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16265 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16267 $as_echo "$enable_wchar_t" >&6; }
16268
16269
16270
16271    # Check whether --enable-c99 was given.
16272 if test "${enable_c99+set}" = set; then :
16273   enableval=$enable_c99;
16274       case "$enableval" in
16275        yes|no) ;;
16276        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16277       esac
16278
16279 else
16280   enable_c99=yes
16281 fi
16282
16283
16284
16285   if test x"$enable_c99" = x"yes"; then
16286
16287
16288   ac_ext=cpp
16289 ac_cpp='$CXXCPP $CPPFLAGS'
16290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16293
16294
16295   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16296   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16297   # spuriously enabled.
16298   # Long term, -std=c++0x could be even better, could manage to explicitely
16299   # request C99 facilities to the underlying C headers.
16300   ac_save_CXXFLAGS="$CXXFLAGS"
16301   CXXFLAGS="$CXXFLAGS -std=c++98"
16302   ac_save_LIBS="$LIBS"
16303   ac_save_gcc_no_link="$gcc_no_link"
16304
16305   if test x$gcc_no_link != xyes; then
16306     # Use -fno-exceptions to that the C driver can link these tests without
16307     # hitting undefined references to personality routines.
16308     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16309     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16310 $as_echo_n "checking for sin in -lm... " >&6; }
16311 if test "${ac_cv_lib_m_sin+set}" = set; then :
16312   $as_echo_n "(cached) " >&6
16313 else
16314   ac_check_lib_save_LIBS=$LIBS
16315 LIBS="-lm  $LIBS"
16316 if test x$gcc_no_link = xyes; then
16317   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16318 fi
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h.  */
16321
16322 /* Override any GCC internal prototype to avoid an error.
16323    Use char because int might match the return type of a GCC
16324    builtin and then its argument prototype would still apply.  */
16325 #ifdef __cplusplus
16326 extern "C"
16327 #endif
16328 char sin ();
16329 int
16330 main ()
16331 {
16332 return sin ();
16333   ;
16334   return 0;
16335 }
16336 _ACEOF
16337 if ac_fn_cxx_try_link "$LINENO"; then :
16338   ac_cv_lib_m_sin=yes
16339 else
16340   ac_cv_lib_m_sin=no
16341 fi
16342 rm -f core conftest.err conftest.$ac_objext \
16343     conftest$ac_exeext conftest.$ac_ext
16344 LIBS=$ac_check_lib_save_LIBS
16345 fi
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16347 $as_echo "$ac_cv_lib_m_sin" >&6; }
16348 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16349
16350       LIBS="$LIBS -lm"
16351
16352 else
16353
16354       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16355       gcc_no_link=yes
16356
16357 fi
16358
16359   fi
16360
16361   # Check for the existence of <math.h> functions used if C99 is enabled.
16362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16363 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16364   if test "${glibcxx_cv_c99_math+set}" = set; then :
16365   $as_echo_n "(cached) " >&6
16366 else
16367
16368   if test x$gcc_no_link = xyes; then
16369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h.  */
16371 #include <math.h>
16372       volatile double d1, d2;
16373       volatile int i;
16374 int
16375 main ()
16376 {
16377 i = fpclassify(d1);
16378       i = isfinite(d1);
16379       i = isinf(d1);
16380       i = isnan(d1);
16381       i = isnormal(d1);
16382       i = signbit(d1);
16383       i = isgreater(d1, d2);
16384       i = isgreaterequal(d1, d2);
16385       i = isless(d1, d2);
16386       i = islessequal(d1, d2);
16387       i = islessgreater(d1, d2);
16388       i = islessgreater(d1, d2);
16389       i = isunordered(d1, d2);
16390
16391   ;
16392   return 0;
16393 }
16394 _ACEOF
16395 if ac_fn_cxx_try_compile "$LINENO"; then :
16396   glibcxx_cv_c99_math=yes
16397 else
16398   glibcxx_cv_c99_math=no
16399 fi
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 else
16402   if test x$gcc_no_link = xyes; then
16403   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16404 fi
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h.  */
16407 #include <math.h>
16408       volatile double d1, d2;
16409       volatile int i;
16410 int
16411 main ()
16412 {
16413 i = fpclassify(d1);
16414       i = isfinite(d1);
16415       i = isinf(d1);
16416       i = isnan(d1);
16417       i = isnormal(d1);
16418       i = signbit(d1);
16419       i = isgreater(d1, d2);
16420       i = isgreaterequal(d1, d2);
16421       i = isless(d1, d2);
16422       i = islessequal(d1, d2);
16423       i = islessgreater(d1, d2);
16424       i = islessgreater(d1, d2);
16425       i = isunordered(d1, d2);
16426
16427   ;
16428   return 0;
16429 }
16430 _ACEOF
16431 if ac_fn_cxx_try_link "$LINENO"; then :
16432   glibcxx_cv_c99_math=yes
16433 else
16434   glibcxx_cv_c99_math=no
16435 fi
16436 rm -f core conftest.err conftest.$ac_objext \
16437     conftest$ac_exeext conftest.$ac_ext
16438 fi
16439
16440 fi
16441
16442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16443 $as_echo "$glibcxx_cv_c99_math" >&6; }
16444   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16445
16446 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16447
16448   fi
16449
16450   # Check for the existence of <complex.h> complex math functions.
16451   # This is necessary even though libstdc++ uses the builtin versions
16452   # of these functions, because if the builtin cannot be used, a reference
16453   # to the library function is emitted.
16454   for ac_header in tgmath.h
16455 do :
16456   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16457 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16458   cat >>confdefs.h <<_ACEOF
16459 #define HAVE_TGMATH_H 1
16460 _ACEOF
16461  ac_has_tgmath_h=yes
16462 else
16463   ac_has_tgmath_h=no
16464 fi
16465
16466 done
16467
16468   for ac_header in complex.h
16469 do :
16470   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16471 if test "x$ac_cv_header_complex_h" = x""yes; then :
16472   cat >>confdefs.h <<_ACEOF
16473 #define HAVE_COMPLEX_H 1
16474 _ACEOF
16475  ac_has_complex_h=yes
16476 else
16477   ac_has_complex_h=no
16478 fi
16479
16480 done
16481
16482   glibcxx_cv_c99_complex=no;
16483   if test x"$ac_has_complex_h" = x"yes"; then
16484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16485 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16486     if test x$gcc_no_link = xyes; then
16487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h.  */
16489 #include <complex.h>
16490         typedef __complex__ float float_type;
16491         typedef __complex__ double double_type;
16492         typedef __complex__ long double ld_type;
16493         volatile float_type tmpf;
16494         volatile double_type tmpd;
16495         volatile ld_type tmpld;
16496         volatile float f;
16497         volatile double d;
16498         volatile long double ld;
16499 int
16500 main ()
16501 {
16502 f = cabsf(tmpf);
16503         f = cargf(tmpf);
16504         tmpf = ccosf(tmpf);
16505         tmpf = ccoshf(tmpf);
16506         tmpf = cexpf(tmpf);
16507         tmpf = clogf(tmpf);
16508         tmpf = csinf(tmpf);
16509         tmpf = csinhf(tmpf);
16510         tmpf = csqrtf(tmpf);
16511         tmpf = ctanf(tmpf);
16512         tmpf = ctanhf(tmpf);
16513         tmpf = cpowf(tmpf, tmpf);
16514         tmpf = cprojf(tmpf);
16515         d = cabs(tmpd);
16516         d = carg(tmpd);
16517         tmpd = ccos(tmpd);
16518         tmpd = ccosh(tmpd);
16519         tmpd = cexp(tmpd);
16520         tmpd = clog(tmpd);
16521         tmpd = csin(tmpd);
16522         tmpd = csinh(tmpd);
16523         tmpd = csqrt(tmpd);
16524         tmpd = ctan(tmpd);
16525         tmpd = ctanh(tmpd);
16526         tmpd = cpow(tmpd, tmpd);
16527         tmpd = cproj(tmpd);
16528         ld = cabsl(tmpld);
16529         ld = cargl(tmpld);
16530         tmpld = ccosl(tmpld);
16531         tmpld = ccoshl(tmpld);
16532         tmpld = cexpl(tmpld);
16533         tmpld = clogl(tmpld);
16534         tmpld = csinl(tmpld);
16535         tmpld = csinhl(tmpld);
16536         tmpld = csqrtl(tmpld);
16537         tmpld = ctanl(tmpld);
16538         tmpld = ctanhl(tmpld);
16539         tmpld = cpowl(tmpld, tmpld);
16540         tmpld = cprojl(tmpld);
16541
16542   ;
16543   return 0;
16544 }
16545 _ACEOF
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547   glibcxx_cv_c99_complex=yes
16548 else
16549   glibcxx_cv_c99_complex=no
16550 fi
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 else
16553   if test x$gcc_no_link = xyes; then
16554   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16555 fi
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h.  */
16558 #include <complex.h>
16559         typedef __complex__ float float_type;
16560         typedef __complex__ double double_type;
16561         typedef __complex__ long double ld_type;
16562         volatile float_type tmpf;
16563         volatile double_type tmpd;
16564         volatile ld_type tmpld;
16565         volatile float f;
16566         volatile double d;
16567         volatile long double ld;
16568 int
16569 main ()
16570 {
16571 f = cabsf(tmpf);
16572         f = cargf(tmpf);
16573         tmpf = ccosf(tmpf);
16574         tmpf = ccoshf(tmpf);
16575         tmpf = cexpf(tmpf);
16576         tmpf = clogf(tmpf);
16577         tmpf = csinf(tmpf);
16578         tmpf = csinhf(tmpf);
16579         tmpf = csqrtf(tmpf);
16580         tmpf = ctanf(tmpf);
16581         tmpf = ctanhf(tmpf);
16582         tmpf = cpowf(tmpf, tmpf);
16583         tmpf = cprojf(tmpf);
16584         d = cabs(tmpd);
16585         d = carg(tmpd);
16586         tmpd = ccos(tmpd);
16587         tmpd = ccosh(tmpd);
16588         tmpd = cexp(tmpd);
16589         tmpd = clog(tmpd);
16590         tmpd = csin(tmpd);
16591         tmpd = csinh(tmpd);
16592         tmpd = csqrt(tmpd);
16593         tmpd = ctan(tmpd);
16594         tmpd = ctanh(tmpd);
16595         tmpd = cpow(tmpd, tmpd);
16596         tmpd = cproj(tmpd);
16597         ld = cabsl(tmpld);
16598         ld = cargl(tmpld);
16599         tmpld = ccosl(tmpld);
16600         tmpld = ccoshl(tmpld);
16601         tmpld = cexpl(tmpld);
16602         tmpld = clogl(tmpld);
16603         tmpld = csinl(tmpld);
16604         tmpld = csinhl(tmpld);
16605         tmpld = csqrtl(tmpld);
16606         tmpld = ctanl(tmpld);
16607         tmpld = ctanhl(tmpld);
16608         tmpld = cpowl(tmpld, tmpld);
16609         tmpld = cprojl(tmpld);
16610
16611   ;
16612   return 0;
16613 }
16614 _ACEOF
16615 if ac_fn_cxx_try_link "$LINENO"; then :
16616   glibcxx_cv_c99_complex=yes
16617 else
16618   glibcxx_cv_c99_complex=no
16619 fi
16620 rm -f core conftest.err conftest.$ac_objext \
16621     conftest$ac_exeext conftest.$ac_ext
16622 fi
16623   fi
16624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16625 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16626   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16627
16628 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16629
16630   fi
16631
16632   # Check for the existence in <stdio.h> of vscanf, et. al.
16633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16634 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16635   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16636   $as_echo_n "(cached) " >&6
16637 else
16638
16639   if test x$gcc_no_link = xyes; then
16640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h.  */
16642 #include <stdio.h>
16643       #include <stdarg.h>
16644       void foo(char* fmt, ...)
16645       {
16646         va_list args; va_start(args, fmt);
16647         vfscanf(stderr, "%i", args);
16648         vscanf("%i", args);
16649         vsnprintf(fmt, 0, "%i", args);
16650         vsscanf(fmt, "%i", args);
16651       }
16652 int
16653 main ()
16654 {
16655 snprintf("12", 0, "%i");
16656   ;
16657   return 0;
16658 }
16659 _ACEOF
16660 if ac_fn_cxx_try_compile "$LINENO"; then :
16661   glibcxx_cv_c99_stdio=yes
16662 else
16663   glibcxx_cv_c99_stdio=no
16664 fi
16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16666 else
16667   if test x$gcc_no_link = xyes; then
16668   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16669 fi
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h.  */
16672 #include <stdio.h>
16673       #include <stdarg.h>
16674       void foo(char* fmt, ...)
16675       {
16676         va_list args; va_start(args, fmt);
16677         vfscanf(stderr, "%i", args);
16678         vscanf("%i", args);
16679         vsnprintf(fmt, 0, "%i", args);
16680         vsscanf(fmt, "%i", args);
16681       }
16682 int
16683 main ()
16684 {
16685 snprintf("12", 0, "%i");
16686   ;
16687   return 0;
16688 }
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691   glibcxx_cv_c99_stdio=yes
16692 else
16693   glibcxx_cv_c99_stdio=no
16694 fi
16695 rm -f core conftest.err conftest.$ac_objext \
16696     conftest$ac_exeext conftest.$ac_ext
16697 fi
16698
16699 fi
16700
16701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16702 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16703
16704   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16706 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16707   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16708   $as_echo_n "(cached) " >&6
16709 else
16710
16711   if test x$gcc_no_link = xyes; then
16712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h.  */
16714 #include <stdlib.h>
16715       volatile float f;
16716       volatile long double ld;
16717       volatile unsigned long long ll;
16718       lldiv_t mydivt;
16719 int
16720 main ()
16721 {
16722 char* tmp;
16723       f = strtof("gnu", &tmp);
16724       ld = strtold("gnu", &tmp);
16725       ll = strtoll("gnu", &tmp, 10);
16726       ll = strtoull("gnu", &tmp, 10);
16727       ll = llabs(10);
16728       mydivt = lldiv(10,1);
16729       ll = mydivt.quot;
16730       ll = mydivt.rem;
16731       ll = atoll("10");
16732       _Exit(0);
16733
16734   ;
16735   return 0;
16736 }
16737 _ACEOF
16738 if ac_fn_cxx_try_compile "$LINENO"; then :
16739   glibcxx_cv_c99_stdlib=yes
16740 else
16741   glibcxx_cv_c99_stdlib=no
16742 fi
16743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16744 else
16745   if test x$gcc_no_link = xyes; then
16746   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16747 fi
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h.  */
16750 #include <stdlib.h>
16751       volatile float f;
16752       volatile long double ld;
16753       volatile unsigned long long ll;
16754       lldiv_t mydivt;
16755 int
16756 main ()
16757 {
16758 char* tmp;
16759       f = strtof("gnu", &tmp);
16760       ld = strtold("gnu", &tmp);
16761       ll = strtoll("gnu", &tmp, 10);
16762       ll = strtoull("gnu", &tmp, 10);
16763       ll = llabs(10);
16764       mydivt = lldiv(10,1);
16765       ll = mydivt.quot;
16766       ll = mydivt.rem;
16767       ll = atoll("10");
16768       _Exit(0);
16769
16770   ;
16771   return 0;
16772 }
16773 _ACEOF
16774 if ac_fn_cxx_try_link "$LINENO"; then :
16775   glibcxx_cv_c99_stdlib=yes
16776 else
16777   glibcxx_cv_c99_stdlib=no
16778 fi
16779 rm -f core conftest.err conftest.$ac_objext \
16780     conftest$ac_exeext conftest.$ac_ext
16781 fi
16782
16783 fi
16784
16785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16786 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16787
16788   # Check for the existence in <wchar.h> of wcstold, etc.
16789   glibcxx_cv_c99_wchar=no;
16790   if test x"$ac_has_wchar_h" = xyes &&
16791      test x"$ac_has_wctype_h" = xyes; then
16792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16793 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16794     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h.  */
16796 #include <wchar.h>
16797                     namespace test
16798                     {
16799                       using ::wcstold;
16800                       using ::wcstoll;
16801                       using ::wcstoull;
16802                     }
16803
16804 int
16805 main ()
16806 {
16807
16808   ;
16809   return 0;
16810 }
16811 _ACEOF
16812 if ac_fn_cxx_try_compile "$LINENO"; then :
16813   glibcxx_cv_c99_wchar=yes
16814 else
16815   glibcxx_cv_c99_wchar=no
16816 fi
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16818
16819     # Checks for wide character functions that may not be present.
16820     # Injection of these is wrapped with guard macros.
16821     # NB: only put functions here, instead of immediately above, if
16822     # absolutely necessary.
16823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h.  */
16825 #include <wchar.h>
16826                     namespace test { using ::vfwscanf; }
16827 int
16828 main ()
16829 {
16830
16831   ;
16832   return 0;
16833 }
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16836
16837 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16838
16839 fi
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841
16842     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h.  */
16844 #include <wchar.h>
16845                     namespace test { using ::vswscanf; }
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_VSWSCANF 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 ::vwscanf; }
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_VWSCANF 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 ::wcstof; }
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_WCSTOF 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 <wctype.h>
16902 int
16903 main ()
16904 {
16905  wint_t t; int i = iswblank(t);
16906   ;
16907   return 0;
16908 }
16909 _ACEOF
16910 if ac_fn_cxx_try_compile "$LINENO"; then :
16911
16912 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16913
16914 fi
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916
16917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16918 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16919   fi
16920
16921   # Option parsed, now set things appropriately.
16922   if test x"$glibcxx_cv_c99_math" = x"no" ||
16923      test x"$glibcxx_cv_c99_complex" = x"no" ||
16924      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16925      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16926      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16927     enable_c99=no;
16928   else
16929
16930 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16931
16932   fi
16933
16934   gcc_no_link="$ac_save_gcc_no_link"
16935   LIBS="$ac_save_LIBS"
16936   CXXFLAGS="$ac_save_CXXFLAGS"
16937   ac_ext=c
16938 ac_cpp='$CPP $CPPFLAGS'
16939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16942
16943   fi
16944
16945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16946 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16948 $as_echo "$enable_c99" >&6; }
16949
16950
16951    # Check whether --enable-concept-checks was given.
16952 if test "${enable_concept_checks+set}" = set; then :
16953   enableval=$enable_concept_checks;
16954       case "$enableval" in
16955        yes|no) ;;
16956        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16957       esac
16958
16959 else
16960   enable_concept_checks=no
16961 fi
16962
16963
16964   if test $enable_concept_checks = yes; then
16965
16966 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16967
16968   fi
16969
16970
16971    # Check whether --enable-libstdcxx-debug-flags was given.
16972 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16973   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16974       xno | x)    enable_libstdcxx_debug_flags= ;;
16975       x-*)        ;;
16976       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16977      esac
16978 else
16979   enable_libstdcxx_debug_flags="-g3 -O0"
16980 fi
16981
16982
16983
16984   # Option parsed, now set things appropriately
16985   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16986
16987
16988   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16989 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16990
16991
16992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16993 $as_echo_n "checking for additional debug build... " >&6; }
16994    # Check whether --enable-libstdcxx-debug was given.
16995 if test "${enable_libstdcxx_debug+set}" = set; then :
16996   enableval=$enable_libstdcxx_debug;
16997       case "$enableval" in
16998        yes|no) ;;
16999        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17000       esac
17001
17002 else
17003   enable_libstdcxx_debug=no
17004 fi
17005
17006
17007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17008 $as_echo "$enable_libstdcxx_debug" >&6; }
17009
17010
17011
17012
17013   enable_parallel=no;
17014
17015   # See if configured libgomp/omp.h exists. (libgomp may be in
17016   # noconfigdirs but not explicitly disabled.)
17017   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17018     enable_parallel=yes;
17019   else
17020     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17021 $as_echo "$as_me: target-libgomp not built" >&6;}
17022   fi
17023
17024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17025 $as_echo_n "checking for parallel mode support... " >&6; }
17026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17027 $as_echo "$enable_parallel" >&6; }
17028
17029
17030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17031 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17032    # Check whether --enable-cxx-flags was given.
17033 if test "${enable_cxx_flags+set}" = set; then :
17034   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17035       xno | x)   enable_cxx_flags= ;;
17036       x-*)       ;;
17037       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17038      esac
17039 else
17040   enable_cxx_flags=
17041 fi
17042
17043
17044
17045   # Run through flags (either default or command-line) and set anything
17046   # extra (e.g., #defines) that must accompany particular g++ options.
17047   if test -n "$enable_cxx_flags"; then
17048     for f in $enable_cxx_flags; do
17049       case "$f" in
17050         -fhonor-std)  ;;
17051         -*)  ;;
17052         *)   # and we're trying to pass /what/ exactly?
17053              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17054       esac
17055     done
17056   fi
17057
17058   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17060 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17061
17062
17063
17064    # Check whether --enable-fully-dynamic-string was given.
17065 if test "${enable_fully_dynamic_string+set}" = set; then :
17066   enableval=$enable_fully_dynamic_string;
17067       case "$enableval" in
17068        yes|no) ;;
17069        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17070       esac
17071
17072 else
17073   enable_fully_dynamic_string=no
17074 fi
17075
17076
17077   if test $enable_fully_dynamic_string = yes; then
17078
17079 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17080
17081   fi
17082
17083
17084 # Checks for operating systems support that doesn't require linking.
17085
17086
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17088 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17089 if test "${glibcxx_cv_system_error1+set}" = set; then :
17090   $as_echo_n "(cached) " >&6
17091 else
17092
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h.  */
17095 #include <errno.h>
17096 int
17097 main ()
17098 {
17099 int i = EOWNERDEAD;
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_c_try_compile "$LINENO"; then :
17105   glibcxx_cv_system_error1=yes
17106 else
17107   glibcxx_cv_system_error1=no
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111 fi
17112
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17114 $as_echo "$glibcxx_cv_system_error1" >&6; }
17115 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17116
17117 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17118
17119 fi
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17121 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17122 if test "${glibcxx_cv_system_error2+set}" = set; then :
17123   $as_echo_n "(cached) " >&6
17124 else
17125
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h.  */
17128 #include <errno.h>
17129 int
17130 main ()
17131 {
17132 int i = ENOTRECOVERABLE;
17133   ;
17134   return 0;
17135 }
17136 _ACEOF
17137 if ac_fn_c_try_compile "$LINENO"; then :
17138   glibcxx_cv_system_error2=yes
17139 else
17140   glibcxx_cv_system_error2=no
17141 fi
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143
17144 fi
17145
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17147 $as_echo "$glibcxx_cv_system_error2" >&6; }
17148 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17149
17150 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17151
17152 fi
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17154 $as_echo_n "checking for ENOLINK... " >&6; }
17155 if test "${glibcxx_cv_system_error3+set}" = set; then :
17156   $as_echo_n "(cached) " >&6
17157 else
17158
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h.  */
17161 #include <errno.h>
17162 int
17163 main ()
17164 {
17165 int i = ENOLINK;
17166   ;
17167   return 0;
17168 }
17169 _ACEOF
17170 if ac_fn_c_try_compile "$LINENO"; then :
17171   glibcxx_cv_system_error3=yes
17172 else
17173   glibcxx_cv_system_error3=no
17174 fi
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176
17177 fi
17178
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17180 $as_echo "$glibcxx_cv_system_error3" >&6; }
17181 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17182
17183 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17184
17185 fi
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17187 $as_echo_n "checking for EPROTO... " >&6; }
17188 if test "${glibcxx_cv_system_error4+set}" = set; then :
17189   $as_echo_n "(cached) " >&6
17190 else
17191
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h.  */
17194 #include <errno.h>
17195 int
17196 main ()
17197 {
17198 int i = EPROTO;
17199   ;
17200   return 0;
17201 }
17202 _ACEOF
17203 if ac_fn_c_try_compile "$LINENO"; then :
17204   glibcxx_cv_system_error4=yes
17205 else
17206   glibcxx_cv_system_error4=no
17207 fi
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209
17210 fi
17211
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17213 $as_echo "$glibcxx_cv_system_error4" >&6; }
17214 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17215
17216 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17217
17218 fi
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17220 $as_echo_n "checking for ENODATA... " >&6; }
17221 if test "${glibcxx_cv_system_error5+set}" = set; then :
17222   $as_echo_n "(cached) " >&6
17223 else
17224
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h.  */
17227 #include <errno.h>
17228 int
17229 main ()
17230 {
17231 int i = ENODATA;
17232   ;
17233   return 0;
17234 }
17235 _ACEOF
17236 if ac_fn_c_try_compile "$LINENO"; then :
17237   glibcxx_cv_system_error5=yes
17238 else
17239   glibcxx_cv_system_error5=no
17240 fi
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17242
17243 fi
17244
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17246 $as_echo "$glibcxx_cv_system_error5" >&6; }
17247 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17248
17249 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17250
17251 fi
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17253 $as_echo_n "checking for ENOSR... " >&6; }
17254 if test "${glibcxx_cv_system_error6+set}" = set; then :
17255   $as_echo_n "(cached) " >&6
17256 else
17257
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h.  */
17260 #include <errno.h>
17261 int
17262 main ()
17263 {
17264 int i = ENOSR;
17265   ;
17266   return 0;
17267 }
17268 _ACEOF
17269 if ac_fn_c_try_compile "$LINENO"; then :
17270   glibcxx_cv_system_error6=yes
17271 else
17272   glibcxx_cv_system_error6=no
17273 fi
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275
17276 fi
17277
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17279 $as_echo "$glibcxx_cv_system_error6" >&6; }
17280 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17281
17282 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17283
17284 fi
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17286 $as_echo_n "checking for ENOSTR... " >&6; }
17287 if test "${glibcxx_cv_system_error7+set}" = set; then :
17288   $as_echo_n "(cached) " >&6
17289 else
17290
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h.  */
17293 #include <errno.h>
17294 int
17295 main ()
17296 {
17297 int i = ENOSTR;
17298   ;
17299   return 0;
17300 }
17301 _ACEOF
17302 if ac_fn_c_try_compile "$LINENO"; then :
17303   glibcxx_cv_system_error7=yes
17304 else
17305   glibcxx_cv_system_error7=no
17306 fi
17307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17308
17309 fi
17310
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17312 $as_echo "$glibcxx_cv_system_error7" >&6; }
17313 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17314
17315 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17316
17317 fi
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17319 $as_echo_n "checking for ETIME... " >&6; }
17320 if test "${glibcxx_cv_system_error8+set}" = set; then :
17321   $as_echo_n "(cached) " >&6
17322 else
17323
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h.  */
17326 #include <errno.h>
17327 int
17328 main ()
17329 {
17330 int i = ETIME;
17331   ;
17332   return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_c_try_compile "$LINENO"; then :
17336   glibcxx_cv_system_error8=yes
17337 else
17338   glibcxx_cv_system_error8=no
17339 fi
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341
17342 fi
17343
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17345 $as_echo "$glibcxx_cv_system_error8" >&6; }
17346 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17347
17348 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17349
17350 fi
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17352 $as_echo_n "checking for EBADMSG... " >&6; }
17353 if test "${glibcxx_cv_system_error9+set}" = set; then :
17354   $as_echo_n "(cached) " >&6
17355 else
17356
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h.  */
17359 #include <errno.h>
17360 int
17361 main ()
17362 {
17363 int i = EBADMSG;
17364   ;
17365   return 0;
17366 }
17367 _ACEOF
17368 if ac_fn_c_try_compile "$LINENO"; then :
17369   glibcxx_cv_system_error9=yes
17370 else
17371   glibcxx_cv_system_error9=no
17372 fi
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17374
17375 fi
17376
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17378 $as_echo "$glibcxx_cv_system_error9" >&6; }
17379 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17380
17381 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17382
17383 fi
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17385 $as_echo_n "checking for ECANCELED... " >&6; }
17386 if test "${glibcxx_cv_system_error10+set}" = set; then :
17387   $as_echo_n "(cached) " >&6
17388 else
17389
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h.  */
17392 #include <errno.h>
17393 int
17394 main ()
17395 {
17396 int i = ECANCELED;
17397   ;
17398   return 0;
17399 }
17400 _ACEOF
17401 if ac_fn_c_try_compile "$LINENO"; then :
17402   glibcxx_cv_system_error10=yes
17403 else
17404   glibcxx_cv_system_error10=no
17405 fi
17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17407
17408 fi
17409
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17411 $as_echo "$glibcxx_cv_system_error10" >&6; }
17412 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17413
17414 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17415
17416 fi
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17418 $as_echo_n "checking for EOVERFLOW... " >&6; }
17419 if test "${glibcxx_cv_system_error11+set}" = set; then :
17420   $as_echo_n "(cached) " >&6
17421 else
17422
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h.  */
17425 #include <errno.h>
17426 int
17427 main ()
17428 {
17429 int i = EOVERFLOW;
17430   ;
17431   return 0;
17432 }
17433 _ACEOF
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435   glibcxx_cv_system_error11=yes
17436 else
17437   glibcxx_cv_system_error11=no
17438 fi
17439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17440
17441 fi
17442
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17444 $as_echo "$glibcxx_cv_system_error11" >&6; }
17445 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17446
17447 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17448
17449 fi
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17451 $as_echo_n "checking for ENOTSUP... " >&6; }
17452 if test "${glibcxx_cv_system_error12+set}" = set; then :
17453   $as_echo_n "(cached) " >&6
17454 else
17455
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h.  */
17458 #include <errno.h>
17459 int
17460 main ()
17461 {
17462 int i = ENOTSUP;
17463   ;
17464   return 0;
17465 }
17466 _ACEOF
17467 if ac_fn_c_try_compile "$LINENO"; then :
17468   glibcxx_cv_system_error12=yes
17469 else
17470   glibcxx_cv_system_error12=no
17471 fi
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473
17474 fi
17475
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17477 $as_echo "$glibcxx_cv_system_error12" >&6; }
17478 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17479
17480 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17481
17482 fi
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17484 $as_echo_n "checking for EIDRM... " >&6; }
17485 if test "${glibcxx_cv_system_error13+set}" = set; then :
17486   $as_echo_n "(cached) " >&6
17487 else
17488
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h.  */
17491 #include <errno.h>
17492 int
17493 main ()
17494 {
17495 int i = EIDRM;
17496   ;
17497   return 0;
17498 }
17499 _ACEOF
17500 if ac_fn_c_try_compile "$LINENO"; then :
17501   glibcxx_cv_system_error13=yes
17502 else
17503   glibcxx_cv_system_error13=no
17504 fi
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506
17507 fi
17508
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17510 $as_echo "$glibcxx_cv_system_error13" >&6; }
17511 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17512
17513 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17514
17515 fi
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17517 $as_echo_n "checking for ETXTBSY... " >&6; }
17518 if test "${glibcxx_cv_system_error14+set}" = set; then :
17519   $as_echo_n "(cached) " >&6
17520 else
17521
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h.  */
17524 #include <errno.h>
17525 int
17526 main ()
17527 {
17528 int i = ETXTBSY;
17529   ;
17530   return 0;
17531 }
17532 _ACEOF
17533 if ac_fn_c_try_compile "$LINENO"; then :
17534   glibcxx_cv_system_error14=yes
17535 else
17536   glibcxx_cv_system_error14=no
17537 fi
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539
17540 fi
17541
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17543 $as_echo "$glibcxx_cv_system_error14" >&6; }
17544 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17545
17546 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17547
17548 fi
17549
17550
17551
17552 # For the streamoff typedef.
17553
17554
17555
17556   ac_ext=cpp
17557 ac_cpp='$CXXCPP $CPPFLAGS'
17558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17561
17562
17563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17564 $as_echo_n "checking for int64_t... " >&6; }
17565   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17566   $as_echo_n "(cached) " >&6
17567 else
17568
17569     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h.  */
17571 #include <stdint.h>
17572 int
17573 main ()
17574 {
17575 int64_t var;
17576   ;
17577   return 0;
17578 }
17579 _ACEOF
17580 if ac_fn_cxx_try_compile "$LINENO"; then :
17581   glibcxx_cv_INT64_T=yes
17582 else
17583   glibcxx_cv_INT64_T=no
17584 fi
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17586
17587 fi
17588
17589
17590   if test $glibcxx_cv_INT64_T = yes; then
17591
17592 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17593
17594     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17595 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17596
17597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17598 $as_echo_n "checking for int64_t as long... " >&6; }
17599     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17600   $as_echo_n "(cached) " >&6
17601 else
17602
17603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h.  */
17605 #include <stdint.h>
17606         template<typename, typename> struct same { enum { value = -1 }; };
17607         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17608         int array[same<int64_t, long>::value];
17609 int
17610 main ()
17611 {
17612
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618   glibcxx_cv_int64_t_long=yes
17619 else
17620   glibcxx_cv_int64_t_long=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626
17627     if test $glibcxx_cv_int64_t_long = yes; then
17628
17629 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17630
17631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17632 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17633     fi
17634
17635     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17636 $as_echo_n "checking for int64_t as long long... " >&6; }
17637     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17638   $as_echo_n "(cached) " >&6
17639 else
17640
17641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h.  */
17643 #include <stdint.h>
17644         template<typename, typename> struct same { enum { value = -1 }; };
17645         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17646         int array[same<int64_t, long long>::value];
17647 int
17648 main ()
17649 {
17650
17651   ;
17652   return 0;
17653 }
17654 _ACEOF
17655 if ac_fn_cxx_try_compile "$LINENO"; then :
17656   glibcxx_cv_int64_t_long_long=yes
17657 else
17658   glibcxx_cv_int64_t_long_long=no
17659 fi
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661
17662 fi
17663
17664
17665     if test $glibcxx_cv_int64_t_long_long = yes; then
17666
17667 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17668
17669       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17670 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17671     fi
17672   fi
17673
17674   ac_ext=c
17675 ac_cpp='$CPP $CPPFLAGS'
17676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17679
17680
17681
17682 # For LFS support.
17683
17684
17685   ac_ext=cpp
17686 ac_cpp='$CXXCPP $CPPFLAGS'
17687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17690
17691   ac_save_CXXFLAGS="$CXXFLAGS"
17692   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17694 $as_echo_n "checking for LFS support... " >&6; }
17695   if test "${glibcxx_cv_LFS+set}" = set; then :
17696   $as_echo_n "(cached) " >&6
17697 else
17698
17699     if test x$gcc_no_link = xyes; then
17700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h.  */
17702 #include <unistd.h>
17703        #include <stdio.h>
17704        #include <sys/stat.h>
17705
17706 int
17707 main ()
17708 {
17709 FILE* fp;
17710        fopen64("t", "w");
17711        fseeko64(fp, 0, SEEK_CUR);
17712        ftello64(fp);
17713        lseek64(1, 0, SEEK_CUR);
17714        struct stat64 buf;
17715        fstat64(1, &buf);
17716   ;
17717   return 0;
17718 }
17719 _ACEOF
17720 if ac_fn_cxx_try_compile "$LINENO"; then :
17721   glibcxx_cv_LFS=yes
17722 else
17723   glibcxx_cv_LFS=no
17724 fi
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17726 else
17727   if test x$gcc_no_link = xyes; then
17728   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17729 fi
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h.  */
17732 #include <unistd.h>
17733        #include <stdio.h>
17734        #include <sys/stat.h>
17735
17736 int
17737 main ()
17738 {
17739 FILE* fp;
17740        fopen64("t", "w");
17741        fseeko64(fp, 0, SEEK_CUR);
17742        ftello64(fp);
17743        lseek64(1, 0, SEEK_CUR);
17744        struct stat64 buf;
17745        fstat64(1, &buf);
17746   ;
17747   return 0;
17748 }
17749 _ACEOF
17750 if ac_fn_cxx_try_link "$LINENO"; then :
17751   glibcxx_cv_LFS=yes
17752 else
17753   glibcxx_cv_LFS=no
17754 fi
17755 rm -f core conftest.err conftest.$ac_objext \
17756     conftest$ac_exeext conftest.$ac_ext
17757 fi
17758
17759 fi
17760
17761   if test $glibcxx_cv_LFS = yes; then
17762
17763 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17764
17765   fi
17766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17767 $as_echo "$glibcxx_cv_LFS" >&6; }
17768   CXXFLAGS="$ac_save_CXXFLAGS"
17769   ac_ext=c
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774
17775
17776
17777 # For showmanyc_helper().
17778 for ac_header in sys/ioctl.h sys/filio.h
17779 do :
17780   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17781 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17782 eval as_val=\$$as_ac_Header
17783    if test "x$as_val" = x""yes; then :
17784   cat >>confdefs.h <<_ACEOF
17785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17786 _ACEOF
17787
17788 fi
17789
17790 done
17791
17792
17793
17794
17795   ac_ext=cpp
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17800
17801   ac_save_CXXFLAGS="$CXXFLAGS"
17802   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17803
17804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17805 $as_echo_n "checking for poll... " >&6; }
17806   if test "${glibcxx_cv_POLL+set}" = set; then :
17807   $as_echo_n "(cached) " >&6
17808 else
17809
17810     if test x$gcc_no_link = xyes; then
17811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h.  */
17813 #include <poll.h>
17814 int
17815 main ()
17816 {
17817 struct pollfd pfd[1];
17818        pfd[0].events = POLLIN;
17819        poll(pfd, 1, 0);
17820   ;
17821   return 0;
17822 }
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825   glibcxx_cv_POLL=yes
17826 else
17827   glibcxx_cv_POLL=no
17828 fi
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 else
17831   if test x$gcc_no_link = xyes; then
17832   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17833 fi
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h.  */
17836 #include <poll.h>
17837 int
17838 main ()
17839 {
17840 struct pollfd pfd[1];
17841        pfd[0].events = POLLIN;
17842        poll(pfd, 1, 0);
17843   ;
17844   return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_cxx_try_link "$LINENO"; then :
17848   glibcxx_cv_POLL=yes
17849 else
17850   glibcxx_cv_POLL=no
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext \
17853     conftest$ac_exeext conftest.$ac_ext
17854 fi
17855
17856 fi
17857
17858   if test $glibcxx_cv_POLL = yes; then
17859
17860 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17861
17862   fi
17863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17864 $as_echo "$glibcxx_cv_POLL" >&6; }
17865
17866   CXXFLAGS="$ac_save_CXXFLAGS"
17867   ac_ext=c
17868 ac_cpp='$CPP $CPPFLAGS'
17869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872
17873
17874
17875
17876
17877   ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17882
17883   ac_save_CXXFLAGS="$CXXFLAGS"
17884   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17885
17886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17887 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17888   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17889   $as_echo_n "(cached) " >&6
17890 else
17891
17892     if test x$gcc_no_link = xyes; then
17893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h.  */
17895 #include <sys/stat.h>
17896 int
17897 main ()
17898 {
17899 struct stat buffer;
17900        fstat(0, &buffer);
17901        S_ISREG(buffer.st_mode);
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907   glibcxx_cv_S_ISREG=yes
17908 else
17909   glibcxx_cv_S_ISREG=no
17910 fi
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 else
17913   if test x$gcc_no_link = xyes; then
17914   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 fi
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h.  */
17918 #include <sys/stat.h>
17919 int
17920 main ()
17921 {
17922 struct stat buffer;
17923        fstat(0, &buffer);
17924        S_ISREG(buffer.st_mode);
17925   ;
17926   return 0;
17927 }
17928 _ACEOF
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930   glibcxx_cv_S_ISREG=yes
17931 else
17932   glibcxx_cv_S_ISREG=no
17933 fi
17934 rm -f core conftest.err conftest.$ac_objext \
17935     conftest$ac_exeext conftest.$ac_ext
17936 fi
17937
17938 fi
17939
17940   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17941   $as_echo_n "(cached) " >&6
17942 else
17943
17944     if test x$gcc_no_link = xyes; then
17945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h.  */
17947 #include <sys/stat.h>
17948 int
17949 main ()
17950 {
17951 struct stat buffer;
17952        fstat(0, &buffer);
17953        S_IFREG & buffer.st_mode;
17954   ;
17955   return 0;
17956 }
17957 _ACEOF
17958 if ac_fn_cxx_try_compile "$LINENO"; then :
17959   glibcxx_cv_S_IFREG=yes
17960 else
17961   glibcxx_cv_S_IFREG=no
17962 fi
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 else
17965   if test x$gcc_no_link = xyes; then
17966   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17967 fi
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h.  */
17970 #include <sys/stat.h>
17971 int
17972 main ()
17973 {
17974 struct stat buffer;
17975        fstat(0, &buffer);
17976        S_IFREG & buffer.st_mode;
17977   ;
17978   return 0;
17979 }
17980 _ACEOF
17981 if ac_fn_cxx_try_link "$LINENO"; then :
17982   glibcxx_cv_S_IFREG=yes
17983 else
17984   glibcxx_cv_S_IFREG=no
17985 fi
17986 rm -f core conftest.err conftest.$ac_objext \
17987     conftest$ac_exeext conftest.$ac_ext
17988 fi
17989
17990 fi
17991
17992   res=no
17993   if test $glibcxx_cv_S_ISREG = yes; then
17994
17995 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17996
17997     res=S_ISREG
17998   elif test $glibcxx_cv_S_IFREG = yes; then
17999
18000 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18001
18002     res=S_IFREG
18003   fi
18004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18005 $as_echo "$res" >&6; }
18006
18007   CXXFLAGS="$ac_save_CXXFLAGS"
18008   ac_ext=c
18009 ac_cpp='$CPP $CPPFLAGS'
18010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18013
18014
18015
18016 # For xsputn_2().
18017 for ac_header in sys/uio.h
18018 do :
18019   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18020 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18021   cat >>confdefs.h <<_ACEOF
18022 #define HAVE_SYS_UIO_H 1
18023 _ACEOF
18024
18025 fi
18026
18027 done
18028
18029
18030
18031
18032   ac_ext=cpp
18033 ac_cpp='$CXXCPP $CPPFLAGS'
18034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18037
18038   ac_save_CXXFLAGS="$CXXFLAGS"
18039   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18040
18041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18042 $as_echo_n "checking for writev... " >&6; }
18043   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18044   $as_echo_n "(cached) " >&6
18045 else
18046
18047     if test x$gcc_no_link = xyes; then
18048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h.  */
18050 #include <sys/uio.h>
18051 int
18052 main ()
18053 {
18054 struct iovec iov[2];
18055        writev(0, iov, 0);
18056   ;
18057   return 0;
18058 }
18059 _ACEOF
18060 if ac_fn_cxx_try_compile "$LINENO"; then :
18061   glibcxx_cv_WRITEV=yes
18062 else
18063   glibcxx_cv_WRITEV=no
18064 fi
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066 else
18067   if test x$gcc_no_link = xyes; then
18068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18069 fi
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h.  */
18072 #include <sys/uio.h>
18073 int
18074 main ()
18075 {
18076 struct iovec iov[2];
18077        writev(0, iov, 0);
18078   ;
18079   return 0;
18080 }
18081 _ACEOF
18082 if ac_fn_cxx_try_link "$LINENO"; then :
18083   glibcxx_cv_WRITEV=yes
18084 else
18085   glibcxx_cv_WRITEV=no
18086 fi
18087 rm -f core conftest.err conftest.$ac_objext \
18088     conftest$ac_exeext conftest.$ac_ext
18089 fi
18090
18091 fi
18092
18093   if test $glibcxx_cv_WRITEV = yes; then
18094
18095 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18096
18097   fi
18098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18099 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18100
18101   CXXFLAGS="$ac_save_CXXFLAGS"
18102   ac_ext=c
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18107
18108
18109
18110 # For C99 support to TR1.
18111
18112
18113
18114   ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18119
18120
18121   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18122   # undefined and fake C99 facilities may be spuriously enabled.
18123   ac_save_CXXFLAGS="$CXXFLAGS"
18124   CXXFLAGS="$CXXFLAGS -std=c++98"
18125
18126   # Check for the existence of <complex.h> complex math functions used
18127   # by tr1/complex.
18128   for ac_header in complex.h
18129 do :
18130   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18131 if test "x$ac_cv_header_complex_h" = x""yes; then :
18132   cat >>confdefs.h <<_ACEOF
18133 #define HAVE_COMPLEX_H 1
18134 _ACEOF
18135  ac_has_complex_h=yes
18136 else
18137   ac_has_complex_h=no
18138 fi
18139
18140 done
18141
18142   ac_c99_complex_tr1=no;
18143   if test x"$ac_has_complex_h" = x"yes"; then
18144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18145 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18146     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h.  */
18148 #include <complex.h>
18149 int
18150 main ()
18151 {
18152 typedef __complex__ float float_type; float_type tmpf;
18153                     cacosf(tmpf);
18154                     casinf(tmpf);
18155                     catanf(tmpf);
18156                     cacoshf(tmpf);
18157                     casinhf(tmpf);
18158                     catanhf(tmpf);
18159                     typedef __complex__ double double_type; double_type tmpd;
18160                     cacos(tmpd);
18161                     casin(tmpd);
18162                     catan(tmpd);
18163                     cacosh(tmpd);
18164                     casinh(tmpd);
18165                     catanh(tmpd);
18166                     typedef __complex__ long double ld_type; ld_type tmpld;
18167                     cacosl(tmpld);
18168                     casinl(tmpld);
18169                     catanl(tmpld);
18170                     cacoshl(tmpld);
18171                     casinhl(tmpld);
18172                     catanhl(tmpld);
18173
18174   ;
18175   return 0;
18176 }
18177 _ACEOF
18178 if ac_fn_cxx_try_compile "$LINENO"; then :
18179   ac_c99_complex_tr1=yes
18180 else
18181   ac_c99_complex_tr1=no
18182 fi
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18184   fi
18185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18186 $as_echo "$ac_c99_complex_tr1" >&6; }
18187   if test x"$ac_c99_complex_tr1" = x"yes"; then
18188
18189 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18190
18191   fi
18192
18193   # Check for the existence of <ctype.h> functions.
18194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18195 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18196   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18197   $as_echo_n "(cached) " >&6
18198 else
18199
18200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h.  */
18202 #include <ctype.h>
18203 int
18204 main ()
18205 {
18206 int ch;
18207                   int ret;
18208                   ret = isblank(ch);
18209
18210   ;
18211   return 0;
18212 }
18213 _ACEOF
18214 if ac_fn_cxx_try_compile "$LINENO"; then :
18215   glibcxx_cv_c99_ctype_tr1=yes
18216 else
18217   glibcxx_cv_c99_ctype_tr1=no
18218 fi
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220
18221 fi
18222
18223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18224 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18225   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18226
18227 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18228
18229   fi
18230
18231   # Check for the existence of <fenv.h> functions.
18232   for ac_header in fenv.h
18233 do :
18234   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18235 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18236   cat >>confdefs.h <<_ACEOF
18237 #define HAVE_FENV_H 1
18238 _ACEOF
18239  ac_has_fenv_h=yes
18240 else
18241   ac_has_fenv_h=no
18242 fi
18243
18244 done
18245
18246   ac_c99_fenv_tr1=no;
18247   if test x"$ac_has_fenv_h" = x"yes"; then
18248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18249 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18250     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h.  */
18252 #include <fenv.h>
18253 int
18254 main ()
18255 {
18256 int except, mode;
18257                     fexcept_t* pflag;
18258                     fenv_t* penv;
18259                     int ret;
18260                     ret = feclearexcept(except);
18261                     ret = fegetexceptflag(pflag, except);
18262                     ret = feraiseexcept(except);
18263                     ret = fesetexceptflag(pflag, except);
18264                     ret = fetestexcept(except);
18265                     ret = fegetround();
18266                     ret = fesetround(mode);
18267                     ret = fegetenv(penv);
18268                     ret = feholdexcept(penv);
18269                     ret = fesetenv(penv);
18270                     ret = feupdateenv(penv);
18271
18272   ;
18273   return 0;
18274 }
18275 _ACEOF
18276 if ac_fn_cxx_try_compile "$LINENO"; then :
18277   ac_c99_fenv_tr1=yes
18278 else
18279   ac_c99_fenv_tr1=no
18280 fi
18281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282   fi
18283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18284 $as_echo "$ac_c99_fenv_tr1" >&6; }
18285   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18286
18287 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18288
18289   fi
18290
18291   # Check for the existence of <stdint.h> types.
18292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18293 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18294   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18295   $as_echo_n "(cached) " >&6
18296 else
18297
18298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h.  */
18300 #define __STDC_LIMIT_MACROS
18301                   #define __STDC_CONSTANT_MACROS
18302                   #include <stdint.h>
18303 int
18304 main ()
18305 {
18306 typedef int8_t          my_int8_t;
18307                   my_int8_t               i8 = INT8_MIN;
18308                   i8 = INT8_MAX;
18309                   typedef int16_t         my_int16_t;
18310                   my_int16_t              i16 = INT16_MIN;
18311                   i16 = INT16_MAX;
18312                   typedef int32_t         my_int32_t;
18313                   my_int32_t              i32 = INT32_MIN;
18314                   i32 = INT32_MAX;
18315                   typedef int64_t         my_int64_t;
18316                   my_int64_t              i64 = INT64_MIN;
18317                   i64 = INT64_MAX;
18318                   typedef int_fast8_t     my_int_fast8_t;
18319                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18320                   if8 = INT_FAST8_MAX;
18321                   typedef int_fast16_t    my_int_fast16_t;
18322                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18323                   if16 = INT_FAST16_MAX;
18324                   typedef int_fast32_t    my_int_fast32_t;
18325                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18326                   if32 = INT_FAST32_MAX;
18327                   typedef int_fast64_t    my_int_fast64_t;
18328                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18329                   if64 = INT_FAST64_MAX;
18330                   typedef int_least8_t    my_int_least8_t;
18331                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18332                   il8 = INT_LEAST8_MAX;
18333                   typedef int_least16_t   my_int_least16_t;
18334                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18335                   il16 = INT_LEAST16_MAX;
18336                   typedef int_least32_t   my_int_least32_t;
18337                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18338                   il32 = INT_LEAST32_MAX;
18339                   typedef int_least64_t   my_int_least64_t;
18340                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18341                   il64 = INT_LEAST64_MAX;
18342                   typedef intmax_t        my_intmax_t;
18343                   my_intmax_t             im = INTMAX_MAX;
18344                   im = INTMAX_MIN;
18345                   typedef intptr_t        my_intptr_t;
18346                   my_intptr_t             ip = INTPTR_MAX;
18347                   ip = INTPTR_MIN;
18348                   typedef uint8_t         my_uint8_t;
18349                   my_uint8_t              ui8 = UINT8_MAX;
18350                   ui8 = UINT8_MAX;
18351                   typedef uint16_t        my_uint16_t;
18352                   my_uint16_t             ui16 = UINT16_MAX;
18353                   ui16 = UINT16_MAX;
18354                   typedef uint32_t        my_uint32_t;
18355                   my_uint32_t             ui32 = UINT32_MAX;
18356                   ui32 = UINT32_MAX;
18357                   typedef uint64_t        my_uint64_t;
18358                   my_uint64_t             ui64 = UINT64_MAX;
18359                   ui64 = UINT64_MAX;
18360                   typedef uint_fast8_t    my_uint_fast8_t;
18361                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18362                   uif8 = UINT_FAST8_MAX;
18363                   typedef uint_fast16_t   my_uint_fast16_t;
18364                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18365                   uif16 = UINT_FAST16_MAX;
18366                   typedef uint_fast32_t   my_uint_fast32_t;
18367                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18368                   uif32 = UINT_FAST32_MAX;
18369                   typedef uint_fast64_t   my_uint_fast64_t;
18370                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18371                   uif64 = UINT_FAST64_MAX;
18372                   typedef uint_least8_t   my_uint_least8_t;
18373                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18374                   uil8 = UINT_LEAST8_MAX;
18375                   typedef uint_least16_t  my_uint_least16_t;
18376                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18377                   uil16 = UINT_LEAST16_MAX;
18378                   typedef uint_least32_t  my_uint_least32_t;
18379                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18380                   uil32 = UINT_LEAST32_MAX;
18381                   typedef uint_least64_t  my_uint_least64_t;
18382                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18383                   uil64 = UINT_LEAST64_MAX;
18384                   typedef uintmax_t       my_uintmax_t;
18385                   my_uintmax_t            uim = UINTMAX_MAX;
18386                   uim = UINTMAX_MAX;
18387                   typedef uintptr_t       my_uintptr_t;
18388                   my_uintptr_t            uip = UINTPTR_MAX;
18389                   uip = UINTPTR_MAX;
18390
18391   ;
18392   return 0;
18393 }
18394 _ACEOF
18395 if ac_fn_cxx_try_compile "$LINENO"; then :
18396   glibcxx_cv_c99_stdint_tr1=yes
18397 else
18398   glibcxx_cv_c99_stdint_tr1=no
18399 fi
18400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401
18402 fi
18403
18404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18405 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18406   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18407
18408 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18409
18410   fi
18411
18412   # Check for the existence of <math.h> functions.
18413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18414 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18415   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18416   $as_echo_n "(cached) " >&6
18417 else
18418
18419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h.  */
18421 #include <math.h>
18422 int
18423 main ()
18424 {
18425 typedef double_t  my_double_t;
18426                   typedef float_t   my_float_t;
18427                   acosh(0.0);
18428                   acoshf(0.0f);
18429                   acoshl(0.0l);
18430                   asinh(0.0);
18431                   asinhf(0.0f);
18432                   asinhl(0.0l);
18433                   atanh(0.0);
18434                   atanhf(0.0f);
18435                   atanhl(0.0l);
18436                   cbrt(0.0);
18437                   cbrtf(0.0f);
18438                   cbrtl(0.0l);
18439                   copysign(0.0, 0.0);
18440                   copysignf(0.0f, 0.0f);
18441                   copysignl(0.0l, 0.0l);
18442                   erf(0.0);
18443                   erff(0.0f);
18444                   erfl(0.0l);
18445                   erfc(0.0);
18446                   erfcf(0.0f);
18447                   erfcl(0.0l);
18448                   exp2(0.0);
18449                   exp2f(0.0f);
18450                   exp2l(0.0l);
18451                   expm1(0.0);
18452                   expm1f(0.0f);
18453                   expm1l(0.0l);
18454                   fdim(0.0, 0.0);
18455                   fdimf(0.0f, 0.0f);
18456                   fdiml(0.0l, 0.0l);
18457                   fma(0.0, 0.0, 0.0);
18458                   fmaf(0.0f, 0.0f, 0.0f);
18459                   fmal(0.0l, 0.0l, 0.0l);
18460                   fmax(0.0, 0.0);
18461                   fmaxf(0.0f, 0.0f);
18462                   fmaxl(0.0l, 0.0l);
18463                   fmin(0.0, 0.0);
18464                   fminf(0.0f, 0.0f);
18465                   fminl(0.0l, 0.0l);
18466                   hypot(0.0, 0.0);
18467                   hypotf(0.0f, 0.0f);
18468                   hypotl(0.0l, 0.0l);
18469                   ilogb(0.0);
18470                   ilogbf(0.0f);
18471                   ilogbl(0.0l);
18472                   lgamma(0.0);
18473                   lgammaf(0.0f);
18474                   lgammal(0.0l);
18475                   llrint(0.0);
18476                   llrintf(0.0f);
18477                   llrintl(0.0l);
18478                   llround(0.0);
18479                   llroundf(0.0f);
18480                   llroundl(0.0l);
18481                   log1p(0.0);
18482                   log1pf(0.0f);
18483                   log1pl(0.0l);
18484                   log2(0.0);
18485                   log2f(0.0f);
18486                   log2l(0.0l);
18487                   logb(0.0);
18488                   logbf(0.0f);
18489                   logbl(0.0l);
18490                   lrint(0.0);
18491                   lrintf(0.0f);
18492                   lrintl(0.0l);
18493                   lround(0.0);
18494                   lroundf(0.0f);
18495                   lroundl(0.0l);
18496                   nan(0);
18497                   nanf(0);
18498                   nanl(0);
18499                   nearbyint(0.0);
18500                   nearbyintf(0.0f);
18501                   nearbyintl(0.0l);
18502                   nextafter(0.0, 0.0);
18503                   nextafterf(0.0f, 0.0f);
18504                   nextafterl(0.0l, 0.0l);
18505                   nexttoward(0.0, 0.0);
18506                   nexttowardf(0.0f, 0.0f);
18507                   nexttowardl(0.0l, 0.0l);
18508                   remainder(0.0, 0.0);
18509                   remainderf(0.0f, 0.0f);
18510                   remainderl(0.0l, 0.0l);
18511                   remquo(0.0, 0.0, 0);
18512                   remquof(0.0f, 0.0f, 0);
18513                   remquol(0.0l, 0.0l, 0);
18514                   rint(0.0);
18515                   rintf(0.0f);
18516                   rintl(0.0l);
18517                   round(0.0);
18518                   roundf(0.0f);
18519                   roundl(0.0l);
18520                   scalbln(0.0, 0l);
18521                   scalblnf(0.0f, 0l);
18522                   scalblnl(0.0l, 0l);
18523                   scalbn(0.0, 0);
18524                   scalbnf(0.0f, 0);
18525                   scalbnl(0.0l, 0);
18526                   tgamma(0.0);
18527                   tgammaf(0.0f);
18528                   tgammal(0.0l);
18529                   trunc(0.0);
18530                   truncf(0.0f);
18531                   truncl(0.0l);
18532
18533   ;
18534   return 0;
18535 }
18536 _ACEOF
18537 if ac_fn_cxx_try_compile "$LINENO"; then :
18538   glibcxx_cv_c99_math_tr1=yes
18539 else
18540   glibcxx_cv_c99_math_tr1=no
18541 fi
18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18543
18544 fi
18545
18546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18547 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18548   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18549
18550 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18551
18552   fi
18553
18554   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18555   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18556   ac_c99_inttypes_tr1=no;
18557   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18559 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18560     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h.  */
18562 #include <inttypes.h>
18563 int
18564 main ()
18565 {
18566 intmax_t i, numer, denom, base;
18567                     const char* s;
18568                     char** endptr;
18569                     intmax_t ret = imaxabs(i);
18570                     imaxdiv_t dret = imaxdiv(numer, denom);
18571                     ret = strtoimax(s, endptr, base);
18572                     uintmax_t uret = strtoumax(s, endptr, base);
18573
18574   ;
18575   return 0;
18576 }
18577 _ACEOF
18578 if ac_fn_cxx_try_compile "$LINENO"; then :
18579   ac_c99_inttypes_tr1=yes
18580 else
18581   ac_c99_inttypes_tr1=no
18582 fi
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584   fi
18585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18586 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18587   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18588
18589 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18590
18591   fi
18592
18593   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18594   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18595   ac_c99_inttypes_wchar_t_tr1=no;
18596   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18598 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h.  */
18601 #include <inttypes.h>
18602 int
18603 main ()
18604 {
18605 intmax_t base;
18606                     const wchar_t* s;
18607                     wchar_t** endptr;
18608                     intmax_t ret = wcstoimax(s, endptr, base);
18609                     uintmax_t uret = wcstoumax(s, endptr, base);
18610
18611   ;
18612   return 0;
18613 }
18614 _ACEOF
18615 if ac_fn_cxx_try_compile "$LINENO"; then :
18616   ac_c99_inttypes_wchar_t_tr1=yes
18617 else
18618   ac_c99_inttypes_wchar_t_tr1=no
18619 fi
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621   fi
18622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18623 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18624   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18625
18626 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18627
18628   fi
18629
18630   # Check for the existence of the <stdbool.h> header.
18631   for ac_header in stdbool.h
18632 do :
18633   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18634 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18635   cat >>confdefs.h <<_ACEOF
18636 #define HAVE_STDBOOL_H 1
18637 _ACEOF
18638
18639 fi
18640
18641 done
18642
18643
18644   CXXFLAGS="$ac_save_CXXFLAGS"
18645   ac_ext=c
18646 ac_cpp='$CPP $CPPFLAGS'
18647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18650
18651
18652
18653 # For common values of EOF, SEEK_CUR, SEEK_END.
18654
18655
18656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18657 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18658   if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18659   $as_echo_n "(cached) " >&6
18660 else
18661
18662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h.  */
18664 #include <stdio.h>
18665 int
18666 main ()
18667 {
18668 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18669                     unusual values...
18670                   #endif
18671
18672   ;
18673   return 0;
18674 }
18675 _ACEOF
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677   glibcxx_cv_stdio_macros=yes
18678 else
18679   glibcxx_cv_stdio_macros=no
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682
18683 fi
18684
18685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18686 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18687   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18688
18689 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18690
18691   fi
18692
18693
18694
18695 # For gettimeofday support.
18696
18697
18698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18699 $as_echo_n "checking for gettimeofday... " >&6; }
18700
18701
18702   ac_ext=cpp
18703 ac_cpp='$CXXCPP $CPPFLAGS'
18704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18707
18708   ac_save_CXXFLAGS="$CXXFLAGS"
18709   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18710
18711   ac_has_gettimeofday=no;
18712   for ac_header in sys/time.h
18713 do :
18714   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18715 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18716   cat >>confdefs.h <<_ACEOF
18717 #define HAVE_SYS_TIME_H 1
18718 _ACEOF
18719  ac_has_sys_time_h=yes
18720 else
18721   ac_has_sys_time_h=no
18722 fi
18723
18724 done
18725
18726   if test x"$ac_has_sys_time_h" = x"yes"; then
18727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18728 $as_echo_n "checking for gettimeofday... " >&6; }
18729     if test x$gcc_no_link = xyes; then
18730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h.  */
18732 #include <sys/time.h>
18733 int
18734 main ()
18735 {
18736 timeval tv; gettimeofday(&tv, 0);
18737   ;
18738   return 0;
18739 }
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742   ac_has_gettimeofday=yes
18743 else
18744   ac_has_gettimeofday=no
18745 fi
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 else
18748   if test x$gcc_no_link = xyes; then
18749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18750 fi
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h.  */
18753 #include <sys/time.h>
18754 int
18755 main ()
18756 {
18757 timeval tv; gettimeofday(&tv, 0);
18758   ;
18759   return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_cxx_try_link "$LINENO"; then :
18763   ac_has_gettimeofday=yes
18764 else
18765   ac_has_gettimeofday=no
18766 fi
18767 rm -f core conftest.err conftest.$ac_objext \
18768     conftest$ac_exeext conftest.$ac_ext
18769 fi
18770
18771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18772 $as_echo "$ac_has_gettimeofday" >&6; }
18773   fi
18774
18775   if test x"$ac_has_gettimeofday" = x"yes"; then
18776
18777 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18778
18779   fi
18780
18781   CXXFLAGS="$ac_save_CXXFLAGS"
18782   ac_ext=c
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18787
18788
18789
18790 # For clock_gettime, nanosleep and sched_yield support.
18791 # NB: The default is [no], because otherwise it requires linking.
18792
18793
18794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18795 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18796    # Check whether --enable-libstdcxx-time was given.
18797 if test "${enable_libstdcxx_time+set}" = set; then :
18798   enableval=$enable_libstdcxx_time;
18799       case "$enableval" in
18800        yes|no|rt) ;;
18801        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18802                           esac
18803
18804 else
18805   enable_libstdcxx_time=no
18806 fi
18807
18808
18809
18810
18811   ac_ext=cpp
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18816
18817   ac_save_CXXFLAGS="$CXXFLAGS"
18818   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18819   ac_save_LIBS="$LIBS"
18820
18821   ac_has_clock_monotonic=no
18822   ac_has_clock_realtime=no
18823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18824 $as_echo "$enable_libstdcxx_time" >&6; }
18825
18826   if test x"$enable_libstdcxx_time" != x"no"; then
18827
18828     if test x"$enable_libstdcxx_time" = x"rt"; then
18829       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18830 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18831 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18832   $as_echo_n "(cached) " >&6
18833 else
18834   ac_func_search_save_LIBS=$LIBS
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h.  */
18837
18838 /* Override any GCC internal prototype to avoid an error.
18839    Use char because int might match the return type of a GCC
18840    builtin and then its argument prototype would still apply.  */
18841 #ifdef __cplusplus
18842 extern "C"
18843 #endif
18844 char clock_gettime ();
18845 int
18846 main ()
18847 {
18848 return clock_gettime ();
18849   ;
18850   return 0;
18851 }
18852 _ACEOF
18853 for ac_lib in '' rt posix4; do
18854   if test -z "$ac_lib"; then
18855     ac_res="none required"
18856   else
18857     ac_res=-l$ac_lib
18858     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18859   fi
18860   if test x$gcc_no_link = xyes; then
18861   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18862 fi
18863 if ac_fn_cxx_try_link "$LINENO"; then :
18864   ac_cv_search_clock_gettime=$ac_res
18865 fi
18866 rm -f core conftest.err conftest.$ac_objext \
18867     conftest$ac_exeext
18868   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18869   break
18870 fi
18871 done
18872 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18873
18874 else
18875   ac_cv_search_clock_gettime=no
18876 fi
18877 rm conftest.$ac_ext
18878 LIBS=$ac_func_search_save_LIBS
18879 fi
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18881 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18882 ac_res=$ac_cv_search_clock_gettime
18883 if test "$ac_res" != no; then :
18884   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18885
18886 fi
18887
18888       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18889 $as_echo_n "checking for library containing nanosleep... " >&6; }
18890 if test "${ac_cv_search_nanosleep+set}" = set; then :
18891   $as_echo_n "(cached) " >&6
18892 else
18893   ac_func_search_save_LIBS=$LIBS
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h.  */
18896
18897 /* Override any GCC internal prototype to avoid an error.
18898    Use char because int might match the return type of a GCC
18899    builtin and then its argument prototype would still apply.  */
18900 #ifdef __cplusplus
18901 extern "C"
18902 #endif
18903 char nanosleep ();
18904 int
18905 main ()
18906 {
18907 return nanosleep ();
18908   ;
18909   return 0;
18910 }
18911 _ACEOF
18912 for ac_lib in '' rt posix4; do
18913   if test -z "$ac_lib"; then
18914     ac_res="none required"
18915   else
18916     ac_res=-l$ac_lib
18917     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18918   fi
18919   if test x$gcc_no_link = xyes; then
18920   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18921 fi
18922 if ac_fn_cxx_try_link "$LINENO"; then :
18923   ac_cv_search_nanosleep=$ac_res
18924 fi
18925 rm -f core conftest.err conftest.$ac_objext \
18926     conftest$ac_exeext
18927   if test "${ac_cv_search_nanosleep+set}" = set; then :
18928   break
18929 fi
18930 done
18931 if test "${ac_cv_search_nanosleep+set}" = set; then :
18932
18933 else
18934   ac_cv_search_nanosleep=no
18935 fi
18936 rm conftest.$ac_ext
18937 LIBS=$ac_func_search_save_LIBS
18938 fi
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18940 $as_echo "$ac_cv_search_nanosleep" >&6; }
18941 ac_res=$ac_cv_search_nanosleep
18942 if test "$ac_res" != no; then :
18943   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18944
18945 fi
18946
18947     else
18948       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18949 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18950 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18951   $as_echo_n "(cached) " >&6
18952 else
18953   ac_func_search_save_LIBS=$LIBS
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h.  */
18956
18957 /* Override any GCC internal prototype to avoid an error.
18958    Use char because int might match the return type of a GCC
18959    builtin and then its argument prototype would still apply.  */
18960 #ifdef __cplusplus
18961 extern "C"
18962 #endif
18963 char clock_gettime ();
18964 int
18965 main ()
18966 {
18967 return clock_gettime ();
18968   ;
18969   return 0;
18970 }
18971 _ACEOF
18972 for ac_lib in '' posix4; do
18973   if test -z "$ac_lib"; then
18974     ac_res="none required"
18975   else
18976     ac_res=-l$ac_lib
18977     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18978   fi
18979   if test x$gcc_no_link = xyes; then
18980   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18981 fi
18982 if ac_fn_cxx_try_link "$LINENO"; then :
18983   ac_cv_search_clock_gettime=$ac_res
18984 fi
18985 rm -f core conftest.err conftest.$ac_objext \
18986     conftest$ac_exeext
18987   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18988   break
18989 fi
18990 done
18991 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18992
18993 else
18994   ac_cv_search_clock_gettime=no
18995 fi
18996 rm conftest.$ac_ext
18997 LIBS=$ac_func_search_save_LIBS
18998 fi
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19000 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19001 ac_res=$ac_cv_search_clock_gettime
19002 if test "$ac_res" != no; then :
19003   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19004
19005 fi
19006
19007       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19008 $as_echo_n "checking for library containing nanosleep... " >&6; }
19009 if test "${ac_cv_search_nanosleep+set}" = set; then :
19010   $as_echo_n "(cached) " >&6
19011 else
19012   ac_func_search_save_LIBS=$LIBS
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h.  */
19015
19016 /* Override any GCC internal prototype to avoid an error.
19017    Use char because int might match the return type of a GCC
19018    builtin and then its argument prototype would still apply.  */
19019 #ifdef __cplusplus
19020 extern "C"
19021 #endif
19022 char nanosleep ();
19023 int
19024 main ()
19025 {
19026 return nanosleep ();
19027   ;
19028   return 0;
19029 }
19030 _ACEOF
19031 for ac_lib in '' posix4; do
19032   if test -z "$ac_lib"; then
19033     ac_res="none required"
19034   else
19035     ac_res=-l$ac_lib
19036     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19037   fi
19038   if test x$gcc_no_link = xyes; then
19039   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19040 fi
19041 if ac_fn_cxx_try_link "$LINENO"; then :
19042   ac_cv_search_nanosleep=$ac_res
19043 fi
19044 rm -f core conftest.err conftest.$ac_objext \
19045     conftest$ac_exeext
19046   if test "${ac_cv_search_nanosleep+set}" = set; then :
19047   break
19048 fi
19049 done
19050 if test "${ac_cv_search_nanosleep+set}" = set; then :
19051
19052 else
19053   ac_cv_search_nanosleep=no
19054 fi
19055 rm conftest.$ac_ext
19056 LIBS=$ac_func_search_save_LIBS
19057 fi
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19059 $as_echo "$ac_cv_search_nanosleep" >&6; }
19060 ac_res=$ac_cv_search_nanosleep
19061 if test "$ac_res" != no; then :
19062   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19063
19064 fi
19065
19066     fi
19067
19068     case "$ac_cv_search_clock_gettime" in
19069       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19070       ;;
19071     esac
19072     case "$ac_cv_search_nanosleep" in
19073       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19074       ;;
19075     esac
19076
19077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19078 $as_echo_n "checking for library containing sched_yield... " >&6; }
19079 if test "${ac_cv_search_sched_yield+set}" = set; then :
19080   $as_echo_n "(cached) " >&6
19081 else
19082   ac_func_search_save_LIBS=$LIBS
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h.  */
19085
19086 /* Override any GCC internal prototype to avoid an error.
19087    Use char because int might match the return type of a GCC
19088    builtin and then its argument prototype would still apply.  */
19089 #ifdef __cplusplus
19090 extern "C"
19091 #endif
19092 char sched_yield ();
19093 int
19094 main ()
19095 {
19096 return sched_yield ();
19097   ;
19098   return 0;
19099 }
19100 _ACEOF
19101 for ac_lib in '' rt posix4; do
19102   if test -z "$ac_lib"; then
19103     ac_res="none required"
19104   else
19105     ac_res=-l$ac_lib
19106     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19107   fi
19108   if test x$gcc_no_link = xyes; then
19109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19110 fi
19111 if ac_fn_cxx_try_link "$LINENO"; then :
19112   ac_cv_search_sched_yield=$ac_res
19113 fi
19114 rm -f core conftest.err conftest.$ac_objext \
19115     conftest$ac_exeext
19116   if test "${ac_cv_search_sched_yield+set}" = set; then :
19117   break
19118 fi
19119 done
19120 if test "${ac_cv_search_sched_yield+set}" = set; then :
19121
19122 else
19123   ac_cv_search_sched_yield=no
19124 fi
19125 rm conftest.$ac_ext
19126 LIBS=$ac_func_search_save_LIBS
19127 fi
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19129 $as_echo "$ac_cv_search_sched_yield" >&6; }
19130 ac_res=$ac_cv_search_sched_yield
19131 if test "$ac_res" != no; then :
19132   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19133
19134 fi
19135
19136
19137     case "$ac_cv_search_sched_yield" in
19138       -lposix4*)
19139       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19140
19141 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19142
19143       ;;
19144       -lrt*)
19145       if test x"$enable_libstdcxx_time" = x"rt"; then
19146         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19147
19148 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19149
19150       fi
19151       ;;
19152       *)
19153
19154 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19155
19156       ;;
19157     esac
19158
19159     for ac_header in unistd.h
19160 do :
19161   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19162 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19163   cat >>confdefs.h <<_ACEOF
19164 #define HAVE_UNISTD_H 1
19165 _ACEOF
19166  ac_has_unistd_h=yes
19167 else
19168   ac_has_unistd_h=no
19169 fi
19170
19171 done
19172
19173
19174     if test x"$ac_has_unistd_h" = x"yes"; then
19175       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19176 $as_echo_n "checking for monotonic clock... " >&6; }
19177       if test x$gcc_no_link = xyes; then
19178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19179 fi
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h.  */
19182 #include <unistd.h>
19183          #include <time.h>
19184
19185 int
19186 main ()
19187 {
19188 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19189           timespec tp;
19190          #endif
19191           clock_gettime(CLOCK_MONOTONIC, &tp);
19192
19193   ;
19194   return 0;
19195 }
19196 _ACEOF
19197 if ac_fn_cxx_try_link "$LINENO"; then :
19198   ac_has_clock_monotonic=yes
19199 else
19200   ac_has_clock_monotonic=no
19201 fi
19202 rm -f core conftest.err conftest.$ac_objext \
19203     conftest$ac_exeext conftest.$ac_ext
19204
19205       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19206 $as_echo "$ac_has_clock_monotonic" >&6; }
19207
19208       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19209 $as_echo_n "checking for realtime clock... " >&6; }
19210       if test x$gcc_no_link = xyes; then
19211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19212 fi
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h.  */
19215 #include <unistd.h>
19216          #include <time.h>
19217
19218 int
19219 main ()
19220 {
19221 #if _POSIX_TIMERS > 0
19222           timespec tp;
19223          #endif
19224           clock_gettime(CLOCK_REALTIME, &tp);
19225
19226   ;
19227   return 0;
19228 }
19229 _ACEOF
19230 if ac_fn_cxx_try_link "$LINENO"; then :
19231   ac_has_clock_realtime=yes
19232 else
19233   ac_has_clock_realtime=no
19234 fi
19235 rm -f core conftest.err conftest.$ac_objext \
19236     conftest$ac_exeext conftest.$ac_ext
19237
19238       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19239 $as_echo "$ac_has_clock_realtime" >&6; }
19240
19241       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19242 $as_echo_n "checking for nanosleep... " >&6; }
19243       if test x$gcc_no_link = xyes; then
19244   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19245 fi
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h.  */
19248 #include <unistd.h>
19249          #include <time.h>
19250
19251 int
19252 main ()
19253 {
19254 #if _POSIX_TIMERS > 0
19255           timespec tp;
19256          #endif
19257           nanosleep(&tp, 0);
19258
19259   ;
19260   return 0;
19261 }
19262 _ACEOF
19263 if ac_fn_cxx_try_link "$LINENO"; then :
19264   ac_has_nanosleep=yes
19265 else
19266   ac_has_nanosleep=no
19267 fi
19268 rm -f core conftest.err conftest.$ac_objext \
19269     conftest$ac_exeext conftest.$ac_ext
19270
19271       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19272 $as_echo "$ac_has_nanosleep" >&6; }
19273     fi
19274   fi
19275
19276   if test x"$ac_has_clock_monotonic" = x"yes"; then
19277
19278 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19279
19280   fi
19281
19282   if test x"$ac_has_clock_realtime" = x"yes"; then
19283
19284 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19285
19286   fi
19287
19288   if test x"$ac_has_nanosleep" = x"yes"; then
19289
19290 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19291
19292   fi
19293
19294
19295
19296   CXXFLAGS="$ac_save_CXXFLAGS"
19297   LIBS="$ac_save_LIBS"
19298   ac_ext=c
19299 ac_cpp='$CPP $CPPFLAGS'
19300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303
19304
19305
19306 # For gthread support
19307
19308
19309   ac_ext=cpp
19310 ac_cpp='$CXXCPP $CPPFLAGS'
19311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19314
19315
19316   ac_save_CXXFLAGS="$CXXFLAGS"
19317   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19318
19319   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19320   case $target_thread_file in
19321     posix)
19322       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19323   esac
19324
19325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19326 $as_echo_n "checking for gthreads library... " >&6; }
19327
19328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h.  */
19330 #include "gthr.h"
19331 int
19332 main ()
19333 {
19334
19335       #ifndef __GTHREADS_CXX0X
19336       #error
19337       #endif
19338
19339       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19340       #if (defined(_PTHREADS) \
19341            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19342       #error
19343       #endif
19344
19345   ;
19346   return 0;
19347 }
19348 _ACEOF
19349 if ac_fn_cxx_try_compile "$LINENO"; then :
19350   ac_has_gthreads=yes
19351 else
19352   ac_has_gthreads=no
19353 fi
19354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355
19356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19357 $as_echo "$ac_has_gthreads" >&6; }
19358
19359   if test x"$ac_has_gthreads" = x"yes"; then
19360
19361 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19362
19363   fi
19364
19365   CXXFLAGS="$ac_save_CXXFLAGS"
19366   ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19371
19372
19373
19374
19375   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19376 if test "x$ac_cv_header_locale_h" = x""yes; then :
19377
19378     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19379 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19380 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19381   $as_echo_n "(cached) " >&6
19382 else
19383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h.  */
19385 #include <locale.h>
19386 int
19387 main ()
19388 {
19389 return LC_MESSAGES
19390   ;
19391   return 0;
19392 }
19393 _ACEOF
19394 if ac_fn_c_try_compile "$LINENO"; then :
19395   ac_cv_val_LC_MESSAGES=yes
19396 else
19397   ac_cv_val_LC_MESSAGES=no
19398 fi
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19400 fi
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19402 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19403     if test $ac_cv_val_LC_MESSAGES = yes; then
19404
19405 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19406
19407     fi
19408
19409 fi
19410
19411
19412
19413
19414 # Check for available headers.
19415 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19416 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19417 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19418 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19419 wchar.h wctype.h
19420 do :
19421   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19422 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19423 eval as_val=\$$as_ac_Header
19424    if test "x$as_val" = x""yes; then :
19425   cat >>confdefs.h <<_ACEOF
19426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19427 _ACEOF
19428
19429 fi
19430
19431 done
19432
19433
19434 # Only do link tests if native. Else, hardcode.
19435 if $GLIBCXX_IS_NATIVE; then
19436
19437   # We can do more elaborate tests that assume a working linker.
19438   CANADIAN=no
19439
19440
19441
19442 # Check whether --with-gnu-ld was given.
19443 if test "${with_gnu_ld+set}" = set; then :
19444   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19445 else
19446   with_gnu_ld=no
19447 fi
19448
19449 ac_prog=ld
19450 if test "$GCC" = yes; then
19451   # Check if gcc -print-prog-name=ld gives a path.
19452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19453 $as_echo_n "checking for ld used by $CC... " >&6; }
19454   case $host in
19455   *-*-mingw*)
19456     # gcc leaves a trailing carriage return which upsets mingw
19457     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19458   *)
19459     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19460   esac
19461   case $ac_prog in
19462     # Accept absolute paths.
19463     [\\/]* | ?:[\\/]*)
19464       re_direlt='/[^/][^/]*/\.\./'
19465       # Canonicalize the pathname of ld
19466       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19467       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19468         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19469       done
19470       test -z "$LD" && LD="$ac_prog"
19471       ;;
19472   "")
19473     # If it fails, then pretend we aren't using GCC.
19474     ac_prog=ld
19475     ;;
19476   *)
19477     # If it is relative, then search for the first ld in PATH.
19478     with_gnu_ld=unknown
19479     ;;
19480   esac
19481 elif test "$with_gnu_ld" = yes; then
19482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19483 $as_echo_n "checking for GNU ld... " >&6; }
19484 else
19485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19486 $as_echo_n "checking for non-GNU ld... " >&6; }
19487 fi
19488 if test "${lt_cv_path_LD+set}" = set; then :
19489   $as_echo_n "(cached) " >&6
19490 else
19491   if test -z "$LD"; then
19492   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19493   for ac_dir in $PATH; do
19494     IFS="$lt_save_ifs"
19495     test -z "$ac_dir" && ac_dir=.
19496     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19497       lt_cv_path_LD="$ac_dir/$ac_prog"
19498       # Check to see if the program is GNU ld.  I'd rather use --version,
19499       # but apparently some variants of GNU ld only accept -v.
19500       # Break only if it was the GNU/non-GNU ld that we prefer.
19501       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19502       *GNU* | *'with BFD'*)
19503         test "$with_gnu_ld" != no && break
19504         ;;
19505       *)
19506         test "$with_gnu_ld" != yes && break
19507         ;;
19508       esac
19509     fi
19510   done
19511   IFS="$lt_save_ifs"
19512 else
19513   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19514 fi
19515 fi
19516
19517 LD="$lt_cv_path_LD"
19518 if test -n "$LD"; then
19519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19520 $as_echo "$LD" >&6; }
19521 else
19522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19523 $as_echo "no" >&6; }
19524 fi
19525 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19528 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19529   $as_echo_n "(cached) " >&6
19530 else
19531   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19532 case `$LD -v 2>&1 </dev/null` in
19533 *GNU* | *'with BFD'*)
19534   lt_cv_prog_gnu_ld=yes
19535   ;;
19536 *)
19537   lt_cv_prog_gnu_ld=no
19538   ;;
19539 esac
19540 fi
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19542 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19543 with_gnu_ld=$lt_cv_prog_gnu_ld
19544
19545
19546
19547
19548
19549
19550
19551   # If we're not using GNU ld, then there's no point in even trying these
19552   # tests.  Check for that first.  We should have already tested for gld
19553   # by now (in libtool), but require it now just to be safe...
19554   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19555   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19556
19557
19558
19559   # The name set by libtool depends on the version of libtool.  Shame on us
19560   # for depending on an impl detail, but c'est la vie.  Older versions used
19561   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19562   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19563   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19564   # set (hence we're using an older libtool), then set it.
19565   if test x${with_gnu_ld+set} != xset; then
19566     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19567       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19568       with_gnu_ld=no
19569     else
19570       with_gnu_ld=$ac_cv_prog_gnu_ld
19571     fi
19572   fi
19573
19574   # Start by getting the version number.  I think the libtool test already
19575   # does some of this, but throws away the result.
19576   glibcxx_ld_is_gold=no
19577   if test x"$with_gnu_ld" = x"yes"; then
19578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19579 $as_echo_n "checking for ld version... " >&6; }
19580
19581     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19582       glibcxx_ld_is_gold=yes
19583     fi
19584     ldver=`$LD --version 2>/dev/null |
19585            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'`
19586
19587     glibcxx_gnu_ld_version=`echo $ldver | \
19588            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19589     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19590 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19591   fi
19592
19593   # Set --gc-sections.
19594   glibcxx_have_gc_sections=no
19595   if test "$glibcxx_ld_is_gold" = "yes"; then
19596     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19597       glibcxx_have_gc_sections=yes
19598     fi
19599   else
19600     glibcxx_gcsections_min_ld=21602
19601     if test x"$with_gnu_ld" = x"yes" &&
19602         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19603       glibcxx_have_gc_sections=yes
19604     fi
19605   fi
19606   if test "$glibcxx_have_gc_sections" = "yes"; then
19607     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19608     # NB: This flag only works reliably after 2.16.1. Configure tests
19609     # for this are difficult, so hard wire a value that should work.
19610
19611     ac_test_CFLAGS="${CFLAGS+set}"
19612     ac_save_CFLAGS="$CFLAGS"
19613     CFLAGS='-Wl,--gc-sections'
19614
19615     # Check for -Wl,--gc-sections
19616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19617 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19618     if test x$gcc_no_link = xyes; then
19619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19620 fi
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h.  */
19623  int one(void) { return 1; }
19624      int two(void) { return 2; }
19625
19626 int
19627 main ()
19628 {
19629  two();
19630   ;
19631   return 0;
19632 }
19633 _ACEOF
19634 if ac_fn_c_try_link "$LINENO"; then :
19635   ac_gcsections=yes
19636 else
19637   ac_gcsections=no
19638 fi
19639 rm -f core conftest.err conftest.$ac_objext \
19640     conftest$ac_exeext conftest.$ac_ext
19641     if test "$ac_gcsections" = "yes"; then
19642       rm -f conftest.c
19643       touch conftest.c
19644       if $CC -c conftest.c; then
19645         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19646            grep "Warning: gc-sections option ignored" > /dev/null; then
19647           ac_gcsections=no
19648         fi
19649       fi
19650       rm -f conftest.c conftest.o conftest
19651     fi
19652     if test "$ac_gcsections" = "yes"; then
19653       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19654     fi
19655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19656 $as_echo "$ac_gcsections" >&6; }
19657
19658     if test "$ac_test_CFLAGS" = set; then
19659       CFLAGS="$ac_save_CFLAGS"
19660     else
19661       # this is the suspicious part
19662       CFLAGS=''
19663     fi
19664   fi
19665
19666   # Set -z,relro.
19667   # Note this is only for shared objects.
19668   ac_ld_relro=no
19669   if test x"$with_gnu_ld" = x"yes"; then
19670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19671 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19672     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19673     if test -n "$cxx_z_relo"; then
19674       OPT_LDFLAGS="-Wl,-z,relro"
19675       ac_ld_relro=yes
19676     fi
19677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19678 $as_echo "$ac_ld_relro" >&6; }
19679   fi
19680
19681   # Set linker optimization flags.
19682   if test x"$with_gnu_ld" = x"yes"; then
19683     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19684   fi
19685
19686
19687
19688
19689
19690   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19691   ac_save_CXXFLAGS="$CXXFLAGS"
19692   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19693
19694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19695 $as_echo_n "checking for sin in -lm... " >&6; }
19696 if test "${ac_cv_lib_m_sin+set}" = set; then :
19697   $as_echo_n "(cached) " >&6
19698 else
19699   ac_check_lib_save_LIBS=$LIBS
19700 LIBS="-lm  $LIBS"
19701 if test x$gcc_no_link = xyes; then
19702   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19703 fi
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h.  */
19706
19707 /* Override any GCC internal prototype to avoid an error.
19708    Use char because int might match the return type of a GCC
19709    builtin and then its argument prototype would still apply.  */
19710 #ifdef __cplusplus
19711 extern "C"
19712 #endif
19713 char sin ();
19714 int
19715 main ()
19716 {
19717 return sin ();
19718   ;
19719   return 0;
19720 }
19721 _ACEOF
19722 if ac_fn_c_try_link "$LINENO"; then :
19723   ac_cv_lib_m_sin=yes
19724 else
19725   ac_cv_lib_m_sin=no
19726 fi
19727 rm -f core conftest.err conftest.$ac_objext \
19728     conftest$ac_exeext conftest.$ac_ext
19729 LIBS=$ac_check_lib_save_LIBS
19730 fi
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19732 $as_echo "$ac_cv_lib_m_sin" >&6; }
19733 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19734   libm="-lm"
19735 fi
19736
19737   ac_save_LIBS="$LIBS"
19738   LIBS="$LIBS $libm"
19739
19740
19741
19742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19743 $as_echo_n "checking for isinf declaration... " >&6; }
19744   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19745     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19746   $as_echo_n "(cached) " >&6
19747 else
19748
19749
19750       ac_ext=cpp
19751 ac_cpp='$CXXCPP $CPPFLAGS'
19752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19755
19756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h.  */
19758 #include <math.h>
19759                       #ifdef HAVE_IEEEFP_H
19760                       #include <ieeefp.h>
19761                       #endif
19762
19763 int
19764 main ()
19765 {
19766  isinf(0);
19767   ;
19768   return 0;
19769 }
19770 _ACEOF
19771 if ac_fn_cxx_try_compile "$LINENO"; then :
19772   glibcxx_cv_func_isinf_use=yes
19773 else
19774   glibcxx_cv_func_isinf_use=no
19775 fi
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19777       ac_ext=c
19778 ac_cpp='$CPP $CPPFLAGS'
19779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782
19783
19784 fi
19785
19786   fi
19787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19788 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19789
19790   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19791     for ac_func in isinf
19792 do :
19793   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19794 if test "x$ac_cv_func_isinf" = x""yes; then :
19795   cat >>confdefs.h <<_ACEOF
19796 #define HAVE_ISINF 1
19797 _ACEOF
19798
19799 fi
19800 done
19801
19802   else
19803
19804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19805 $as_echo_n "checking for _isinf declaration... " >&6; }
19806   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19807     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19808   $as_echo_n "(cached) " >&6
19809 else
19810
19811
19812       ac_ext=cpp
19813 ac_cpp='$CXXCPP $CPPFLAGS'
19814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19817
19818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h.  */
19820 #include <math.h>
19821                       #ifdef HAVE_IEEEFP_H
19822                       #include <ieeefp.h>
19823                       #endif
19824
19825 int
19826 main ()
19827 {
19828  _isinf(0);
19829   ;
19830   return 0;
19831 }
19832 _ACEOF
19833 if ac_fn_cxx_try_compile "$LINENO"; then :
19834   glibcxx_cv_func__isinf_use=yes
19835 else
19836   glibcxx_cv_func__isinf_use=no
19837 fi
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839       ac_ext=c
19840 ac_cpp='$CPP $CPPFLAGS'
19841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19844
19845
19846 fi
19847
19848   fi
19849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19850 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19851
19852     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19853       for ac_func in _isinf
19854 do :
19855   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19856 if test "x$ac_cv_func__isinf" = x""yes; then :
19857   cat >>confdefs.h <<_ACEOF
19858 #define HAVE__ISINF 1
19859 _ACEOF
19860
19861 fi
19862 done
19863
19864     fi
19865   fi
19866
19867
19868
19869
19870
19871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19872 $as_echo_n "checking for isnan declaration... " >&6; }
19873   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19874     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19875   $as_echo_n "(cached) " >&6
19876 else
19877
19878
19879       ac_ext=cpp
19880 ac_cpp='$CXXCPP $CPPFLAGS'
19881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19884
19885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19886 /* end confdefs.h.  */
19887 #include <math.h>
19888                       #ifdef HAVE_IEEEFP_H
19889                       #include <ieeefp.h>
19890                       #endif
19891
19892 int
19893 main ()
19894 {
19895  isnan(0);
19896   ;
19897   return 0;
19898 }
19899 _ACEOF
19900 if ac_fn_cxx_try_compile "$LINENO"; then :
19901   glibcxx_cv_func_isnan_use=yes
19902 else
19903   glibcxx_cv_func_isnan_use=no
19904 fi
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19906       ac_ext=c
19907 ac_cpp='$CPP $CPPFLAGS'
19908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19911
19912
19913 fi
19914
19915   fi
19916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19917 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19918
19919   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19920     for ac_func in isnan
19921 do :
19922   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19923 if test "x$ac_cv_func_isnan" = x""yes; then :
19924   cat >>confdefs.h <<_ACEOF
19925 #define HAVE_ISNAN 1
19926 _ACEOF
19927
19928 fi
19929 done
19930
19931   else
19932
19933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19934 $as_echo_n "checking for _isnan declaration... " >&6; }
19935   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19936     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19937   $as_echo_n "(cached) " >&6
19938 else
19939
19940
19941       ac_ext=cpp
19942 ac_cpp='$CXXCPP $CPPFLAGS'
19943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19946
19947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h.  */
19949 #include <math.h>
19950                       #ifdef HAVE_IEEEFP_H
19951                       #include <ieeefp.h>
19952                       #endif
19953
19954 int
19955 main ()
19956 {
19957  _isnan(0);
19958   ;
19959   return 0;
19960 }
19961 _ACEOF
19962 if ac_fn_cxx_try_compile "$LINENO"; then :
19963   glibcxx_cv_func__isnan_use=yes
19964 else
19965   glibcxx_cv_func__isnan_use=no
19966 fi
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968       ac_ext=c
19969 ac_cpp='$CPP $CPPFLAGS'
19970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19973
19974
19975 fi
19976
19977   fi
19978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19979 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19980
19981     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19982       for ac_func in _isnan
19983 do :
19984   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19985 if test "x$ac_cv_func__isnan" = x""yes; then :
19986   cat >>confdefs.h <<_ACEOF
19987 #define HAVE__ISNAN 1
19988 _ACEOF
19989
19990 fi
19991 done
19992
19993     fi
19994   fi
19995
19996
19997
19998
19999
20000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20001 $as_echo_n "checking for finite declaration... " >&6; }
20002   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20003     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20004   $as_echo_n "(cached) " >&6
20005 else
20006
20007
20008       ac_ext=cpp
20009 ac_cpp='$CXXCPP $CPPFLAGS'
20010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20013
20014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h.  */
20016 #include <math.h>
20017                       #ifdef HAVE_IEEEFP_H
20018                       #include <ieeefp.h>
20019                       #endif
20020
20021 int
20022 main ()
20023 {
20024  finite(0);
20025   ;
20026   return 0;
20027 }
20028 _ACEOF
20029 if ac_fn_cxx_try_compile "$LINENO"; then :
20030   glibcxx_cv_func_finite_use=yes
20031 else
20032   glibcxx_cv_func_finite_use=no
20033 fi
20034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035       ac_ext=c
20036 ac_cpp='$CPP $CPPFLAGS'
20037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20040
20041
20042 fi
20043
20044   fi
20045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20046 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20047
20048   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20049     for ac_func in finite
20050 do :
20051   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20052 if test "x$ac_cv_func_finite" = x""yes; then :
20053   cat >>confdefs.h <<_ACEOF
20054 #define HAVE_FINITE 1
20055 _ACEOF
20056
20057 fi
20058 done
20059
20060   else
20061
20062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20063 $as_echo_n "checking for _finite declaration... " >&6; }
20064   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20065     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20066   $as_echo_n "(cached) " >&6
20067 else
20068
20069
20070       ac_ext=cpp
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20075
20076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h.  */
20078 #include <math.h>
20079                       #ifdef HAVE_IEEEFP_H
20080                       #include <ieeefp.h>
20081                       #endif
20082
20083 int
20084 main ()
20085 {
20086  _finite(0);
20087   ;
20088   return 0;
20089 }
20090 _ACEOF
20091 if ac_fn_cxx_try_compile "$LINENO"; then :
20092   glibcxx_cv_func__finite_use=yes
20093 else
20094   glibcxx_cv_func__finite_use=no
20095 fi
20096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20097       ac_ext=c
20098 ac_cpp='$CPP $CPPFLAGS'
20099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20102
20103
20104 fi
20105
20106   fi
20107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20108 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20109
20110     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20111       for ac_func in _finite
20112 do :
20113   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20114 if test "x$ac_cv_func__finite" = x""yes; then :
20115   cat >>confdefs.h <<_ACEOF
20116 #define HAVE__FINITE 1
20117 _ACEOF
20118
20119 fi
20120 done
20121
20122     fi
20123   fi
20124
20125
20126
20127
20128
20129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20130 $as_echo_n "checking for sincos declaration... " >&6; }
20131   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20132     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20133   $as_echo_n "(cached) " >&6
20134 else
20135
20136
20137       ac_ext=cpp
20138 ac_cpp='$CXXCPP $CPPFLAGS'
20139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20142
20143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h.  */
20145 #include <math.h>
20146 int
20147 main ()
20148 {
20149  sincos(0, 0, 0);
20150   ;
20151   return 0;
20152 }
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155   glibcxx_cv_func_sincos_use=yes
20156 else
20157   glibcxx_cv_func_sincos_use=no
20158 fi
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160       ac_ext=c
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20165
20166
20167 fi
20168
20169   fi
20170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20171 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20172
20173   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20174     for ac_func in sincos
20175 do :
20176   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20177 if test "x$ac_cv_func_sincos" = x""yes; then :
20178   cat >>confdefs.h <<_ACEOF
20179 #define HAVE_SINCOS 1
20180 _ACEOF
20181
20182 fi
20183 done
20184
20185   else
20186
20187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20188 $as_echo_n "checking for _sincos declaration... " >&6; }
20189   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20190     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20191   $as_echo_n "(cached) " >&6
20192 else
20193
20194
20195       ac_ext=cpp
20196 ac_cpp='$CXXCPP $CPPFLAGS'
20197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20200
20201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h.  */
20203 #include <math.h>
20204 int
20205 main ()
20206 {
20207  _sincos(0, 0, 0);
20208   ;
20209   return 0;
20210 }
20211 _ACEOF
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213   glibcxx_cv_func__sincos_use=yes
20214 else
20215   glibcxx_cv_func__sincos_use=no
20216 fi
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218       ac_ext=c
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20223
20224
20225 fi
20226
20227   fi
20228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20229 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20230
20231     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20232       for ac_func in _sincos
20233 do :
20234   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20235 if test "x$ac_cv_func__sincos" = x""yes; then :
20236   cat >>confdefs.h <<_ACEOF
20237 #define HAVE__SINCOS 1
20238 _ACEOF
20239
20240 fi
20241 done
20242
20243     fi
20244   fi
20245
20246
20247
20248
20249
20250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20251 $as_echo_n "checking for fpclass declaration... " >&6; }
20252   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20253     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20254   $as_echo_n "(cached) " >&6
20255 else
20256
20257
20258       ac_ext=cpp
20259 ac_cpp='$CXXCPP $CPPFLAGS'
20260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20263
20264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h.  */
20266 #include <math.h>
20267                       #ifdef HAVE_IEEEFP_H
20268                       #include <ieeefp.h>
20269                       #endif
20270
20271 int
20272 main ()
20273 {
20274  fpclass(0);
20275   ;
20276   return 0;
20277 }
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280   glibcxx_cv_func_fpclass_use=yes
20281 else
20282   glibcxx_cv_func_fpclass_use=no
20283 fi
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285       ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20290
20291
20292 fi
20293
20294   fi
20295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20296 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20297
20298   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20299     for ac_func in fpclass
20300 do :
20301   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20302 if test "x$ac_cv_func_fpclass" = x""yes; then :
20303   cat >>confdefs.h <<_ACEOF
20304 #define HAVE_FPCLASS 1
20305 _ACEOF
20306
20307 fi
20308 done
20309
20310   else
20311
20312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20313 $as_echo_n "checking for _fpclass declaration... " >&6; }
20314   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20315     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20316   $as_echo_n "(cached) " >&6
20317 else
20318
20319
20320       ac_ext=cpp
20321 ac_cpp='$CXXCPP $CPPFLAGS'
20322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20325
20326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h.  */
20328 #include <math.h>
20329                       #ifdef HAVE_IEEEFP_H
20330                       #include <ieeefp.h>
20331                       #endif
20332
20333 int
20334 main ()
20335 {
20336  _fpclass(0);
20337   ;
20338   return 0;
20339 }
20340 _ACEOF
20341 if ac_fn_cxx_try_compile "$LINENO"; then :
20342   glibcxx_cv_func__fpclass_use=yes
20343 else
20344   glibcxx_cv_func__fpclass_use=no
20345 fi
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347       ac_ext=c
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352
20353
20354 fi
20355
20356   fi
20357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20358 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20359
20360     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20361       for ac_func in _fpclass
20362 do :
20363   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20364 if test "x$ac_cv_func__fpclass" = x""yes; then :
20365   cat >>confdefs.h <<_ACEOF
20366 #define HAVE__FPCLASS 1
20367 _ACEOF
20368
20369 fi
20370 done
20371
20372     fi
20373   fi
20374
20375
20376
20377
20378
20379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20380 $as_echo_n "checking for qfpclass declaration... " >&6; }
20381   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20382     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20383   $as_echo_n "(cached) " >&6
20384 else
20385
20386
20387       ac_ext=cpp
20388 ac_cpp='$CXXCPP $CPPFLAGS'
20389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20392
20393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h.  */
20395 #include <math.h>
20396                       #ifdef HAVE_IEEEFP_H
20397                       #include <ieeefp.h>
20398                       #endif
20399
20400 int
20401 main ()
20402 {
20403  qfpclass(0);
20404   ;
20405   return 0;
20406 }
20407 _ACEOF
20408 if ac_fn_cxx_try_compile "$LINENO"; then :
20409   glibcxx_cv_func_qfpclass_use=yes
20410 else
20411   glibcxx_cv_func_qfpclass_use=no
20412 fi
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20414       ac_ext=c
20415 ac_cpp='$CPP $CPPFLAGS'
20416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20419
20420
20421 fi
20422
20423   fi
20424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20425 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20426
20427   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20428     for ac_func in qfpclass
20429 do :
20430   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20431 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20432   cat >>confdefs.h <<_ACEOF
20433 #define HAVE_QFPCLASS 1
20434 _ACEOF
20435
20436 fi
20437 done
20438
20439   else
20440
20441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20442 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20443   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20444     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20445   $as_echo_n "(cached) " >&6
20446 else
20447
20448
20449       ac_ext=cpp
20450 ac_cpp='$CXXCPP $CPPFLAGS'
20451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20454
20455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h.  */
20457 #include <math.h>
20458                       #ifdef HAVE_IEEEFP_H
20459                       #include <ieeefp.h>
20460                       #endif
20461
20462 int
20463 main ()
20464 {
20465  _qfpclass(0);
20466   ;
20467   return 0;
20468 }
20469 _ACEOF
20470 if ac_fn_cxx_try_compile "$LINENO"; then :
20471   glibcxx_cv_func__qfpclass_use=yes
20472 else
20473   glibcxx_cv_func__qfpclass_use=no
20474 fi
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476       ac_ext=c
20477 ac_cpp='$CPP $CPPFLAGS'
20478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20481
20482
20483 fi
20484
20485   fi
20486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20487 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20488
20489     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20490       for ac_func in _qfpclass
20491 do :
20492   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20493 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20494   cat >>confdefs.h <<_ACEOF
20495 #define HAVE__QFPCLASS 1
20496 _ACEOF
20497
20498 fi
20499 done
20500
20501     fi
20502   fi
20503
20504
20505
20506
20507
20508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20509 $as_echo_n "checking for hypot declaration... " >&6; }
20510   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20511     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20512   $as_echo_n "(cached) " >&6
20513 else
20514
20515
20516       ac_ext=cpp
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20521
20522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h.  */
20524 #include <math.h>
20525 int
20526 main ()
20527 {
20528  hypot(0, 0);
20529   ;
20530   return 0;
20531 }
20532 _ACEOF
20533 if ac_fn_cxx_try_compile "$LINENO"; then :
20534   glibcxx_cv_func_hypot_use=yes
20535 else
20536   glibcxx_cv_func_hypot_use=no
20537 fi
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539       ac_ext=c
20540 ac_cpp='$CPP $CPPFLAGS'
20541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20544
20545
20546 fi
20547
20548   fi
20549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20550 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20551
20552   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20553     for ac_func in hypot
20554 do :
20555   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20556 if test "x$ac_cv_func_hypot" = x""yes; then :
20557   cat >>confdefs.h <<_ACEOF
20558 #define HAVE_HYPOT 1
20559 _ACEOF
20560
20561 fi
20562 done
20563
20564   else
20565
20566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20567 $as_echo_n "checking for _hypot declaration... " >&6; }
20568   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20569     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20570   $as_echo_n "(cached) " >&6
20571 else
20572
20573
20574       ac_ext=cpp
20575 ac_cpp='$CXXCPP $CPPFLAGS'
20576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20579
20580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h.  */
20582 #include <math.h>
20583 int
20584 main ()
20585 {
20586  _hypot(0, 0);
20587   ;
20588   return 0;
20589 }
20590 _ACEOF
20591 if ac_fn_cxx_try_compile "$LINENO"; then :
20592   glibcxx_cv_func__hypot_use=yes
20593 else
20594   glibcxx_cv_func__hypot_use=no
20595 fi
20596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20597       ac_ext=c
20598 ac_cpp='$CPP $CPPFLAGS'
20599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20602
20603
20604 fi
20605
20606   fi
20607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20608 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20609
20610     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20611       for ac_func in _hypot
20612 do :
20613   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20614 if test "x$ac_cv_func__hypot" = x""yes; then :
20615   cat >>confdefs.h <<_ACEOF
20616 #define HAVE__HYPOT 1
20617 _ACEOF
20618
20619 fi
20620 done
20621
20622     fi
20623   fi
20624
20625
20626
20627
20628
20629     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20630 $as_echo_n "checking for float trig functions... " >&6; }
20631   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20632   $as_echo_n "(cached) " >&6
20633 else
20634
20635
20636     ac_ext=cpp
20637 ac_cpp='$CXXCPP $CPPFLAGS'
20638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20641
20642     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20643 /* end confdefs.h.  */
20644 #include <math.h>
20645 int
20646 main ()
20647 {
20648 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20649   ;
20650   return 0;
20651 }
20652 _ACEOF
20653 if ac_fn_cxx_try_compile "$LINENO"; then :
20654   glibcxx_cv_func_float_trig_use=yes
20655 else
20656   glibcxx_cv_func_float_trig_use=no
20657 fi
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659     ac_ext=c
20660 ac_cpp='$CPP $CPPFLAGS'
20661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20664
20665 fi
20666
20667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20668 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20669   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20670     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20671 do :
20672   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20674 eval as_val=\$$as_ac_var
20675    if test "x$as_val" = x""yes; then :
20676   cat >>confdefs.h <<_ACEOF
20677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20678 _ACEOF
20679
20680 fi
20681 done
20682
20683   else
20684     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20685 $as_echo_n "checking for _float trig functions... " >&6; }
20686     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20687   $as_echo_n "(cached) " >&6
20688 else
20689
20690
20691       ac_ext=cpp
20692 ac_cpp='$CXXCPP $CPPFLAGS'
20693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20696
20697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20698 /* end confdefs.h.  */
20699 #include <math.h>
20700 int
20701 main ()
20702 {
20703 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20704   ;
20705   return 0;
20706 }
20707 _ACEOF
20708 if ac_fn_cxx_try_compile "$LINENO"; then :
20709   glibcxx_cv_func__float_trig_use=yes
20710 else
20711   glibcxx_cv_func__float_trig_use=no
20712 fi
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20714       ac_ext=c
20715 ac_cpp='$CPP $CPPFLAGS'
20716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20719
20720 fi
20721
20722     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20723 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20724     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20725       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20726 do :
20727   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20729 eval as_val=\$$as_ac_var
20730    if test "x$as_val" = x""yes; then :
20731   cat >>confdefs.h <<_ACEOF
20732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20733 _ACEOF
20734
20735 fi
20736 done
20737
20738     fi
20739   fi
20740
20741
20742
20743
20744
20745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20746 $as_echo_n "checking for float round functions... " >&6; }
20747   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20748   $as_echo_n "(cached) " >&6
20749 else
20750
20751
20752     ac_ext=cpp
20753 ac_cpp='$CXXCPP $CPPFLAGS'
20754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20757
20758     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h.  */
20760 #include <math.h>
20761 int
20762 main ()
20763 {
20764 ceilf (0); floorf (0);
20765   ;
20766   return 0;
20767 }
20768 _ACEOF
20769 if ac_fn_cxx_try_compile "$LINENO"; then :
20770   glibcxx_cv_func_float_round_use=yes
20771 else
20772   glibcxx_cv_func_float_round_use=no
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775     ac_ext=c
20776 ac_cpp='$CPP $CPPFLAGS'
20777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20780
20781 fi
20782
20783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20784 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20785   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20786     for ac_func in ceilf floorf
20787 do :
20788   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20790 eval as_val=\$$as_ac_var
20791    if test "x$as_val" = x""yes; then :
20792   cat >>confdefs.h <<_ACEOF
20793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20794 _ACEOF
20795
20796 fi
20797 done
20798
20799   else
20800     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20801 $as_echo_n "checking for _float round functions... " >&6; }
20802     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20803   $as_echo_n "(cached) " >&6
20804 else
20805
20806
20807       ac_ext=cpp
20808 ac_cpp='$CXXCPP $CPPFLAGS'
20809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20812
20813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h.  */
20815 #include <math.h>
20816 int
20817 main ()
20818 {
20819 _ceilf (0); _floorf (0);
20820   ;
20821   return 0;
20822 }
20823 _ACEOF
20824 if ac_fn_cxx_try_compile "$LINENO"; then :
20825   glibcxx_cv_func__float_round_use=yes
20826 else
20827   glibcxx_cv_func__float_round_use=no
20828 fi
20829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20830       ac_ext=c
20831 ac_cpp='$CPP $CPPFLAGS'
20832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20835
20836 fi
20837
20838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20839 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20840     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20841       for ac_func in _ceilf _floorf
20842 do :
20843   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20845 eval as_val=\$$as_ac_var
20846    if test "x$as_val" = x""yes; then :
20847   cat >>confdefs.h <<_ACEOF
20848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20849 _ACEOF
20850
20851 fi
20852 done
20853
20854     fi
20855   fi
20856
20857
20858
20859
20860
20861
20862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20863 $as_echo_n "checking for expf declaration... " >&6; }
20864   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20865     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20866   $as_echo_n "(cached) " >&6
20867 else
20868
20869
20870       ac_ext=cpp
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20875
20876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h.  */
20878 #include <math.h>
20879                       #ifdef HAVE_IEEEFP_H
20880                       #include <ieeefp.h>
20881                       #endif
20882
20883 int
20884 main ()
20885 {
20886  expf(0);
20887   ;
20888   return 0;
20889 }
20890 _ACEOF
20891 if ac_fn_cxx_try_compile "$LINENO"; then :
20892   glibcxx_cv_func_expf_use=yes
20893 else
20894   glibcxx_cv_func_expf_use=no
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20897       ac_ext=c
20898 ac_cpp='$CPP $CPPFLAGS'
20899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20902
20903
20904 fi
20905
20906   fi
20907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20908 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20909
20910   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20911     for ac_func in expf
20912 do :
20913   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20914 if test "x$ac_cv_func_expf" = x""yes; then :
20915   cat >>confdefs.h <<_ACEOF
20916 #define HAVE_EXPF 1
20917 _ACEOF
20918
20919 fi
20920 done
20921
20922   else
20923
20924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20925 $as_echo_n "checking for _expf declaration... " >&6; }
20926   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20927     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20928   $as_echo_n "(cached) " >&6
20929 else
20930
20931
20932       ac_ext=cpp
20933 ac_cpp='$CXXCPP $CPPFLAGS'
20934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20937
20938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h.  */
20940 #include <math.h>
20941                       #ifdef HAVE_IEEEFP_H
20942                       #include <ieeefp.h>
20943                       #endif
20944
20945 int
20946 main ()
20947 {
20948  _expf(0);
20949   ;
20950   return 0;
20951 }
20952 _ACEOF
20953 if ac_fn_cxx_try_compile "$LINENO"; then :
20954   glibcxx_cv_func__expf_use=yes
20955 else
20956   glibcxx_cv_func__expf_use=no
20957 fi
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20959       ac_ext=c
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20964
20965
20966 fi
20967
20968   fi
20969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20970 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20971
20972     if test x$glibcxx_cv_func__expf_use = x"yes"; then
20973       for ac_func in _expf
20974 do :
20975   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20976 if test "x$ac_cv_func__expf" = x""yes; then :
20977   cat >>confdefs.h <<_ACEOF
20978 #define HAVE__EXPF 1
20979 _ACEOF
20980
20981 fi
20982 done
20983
20984     fi
20985   fi
20986
20987
20988
20989
20990
20991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20992 $as_echo_n "checking for isnanf declaration... " >&6; }
20993   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20994     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20995   $as_echo_n "(cached) " >&6
20996 else
20997
20998
20999       ac_ext=cpp
21000 ac_cpp='$CXXCPP $CPPFLAGS'
21001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21004
21005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h.  */
21007 #include <math.h>
21008                       #ifdef HAVE_IEEEFP_H
21009                       #include <ieeefp.h>
21010                       #endif
21011
21012 int
21013 main ()
21014 {
21015  isnanf(0);
21016   ;
21017   return 0;
21018 }
21019 _ACEOF
21020 if ac_fn_cxx_try_compile "$LINENO"; then :
21021   glibcxx_cv_func_isnanf_use=yes
21022 else
21023   glibcxx_cv_func_isnanf_use=no
21024 fi
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026       ac_ext=c
21027 ac_cpp='$CPP $CPPFLAGS'
21028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21031
21032
21033 fi
21034
21035   fi
21036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21037 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21038
21039   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21040     for ac_func in isnanf
21041 do :
21042   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21043 if test "x$ac_cv_func_isnanf" = x""yes; then :
21044   cat >>confdefs.h <<_ACEOF
21045 #define HAVE_ISNANF 1
21046 _ACEOF
21047
21048 fi
21049 done
21050
21051   else
21052
21053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21054 $as_echo_n "checking for _isnanf declaration... " >&6; }
21055   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21056     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21057   $as_echo_n "(cached) " >&6
21058 else
21059
21060
21061       ac_ext=cpp
21062 ac_cpp='$CXXCPP $CPPFLAGS'
21063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066
21067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h.  */
21069 #include <math.h>
21070                       #ifdef HAVE_IEEEFP_H
21071                       #include <ieeefp.h>
21072                       #endif
21073
21074 int
21075 main ()
21076 {
21077  _isnanf(0);
21078   ;
21079   return 0;
21080 }
21081 _ACEOF
21082 if ac_fn_cxx_try_compile "$LINENO"; then :
21083   glibcxx_cv_func__isnanf_use=yes
21084 else
21085   glibcxx_cv_func__isnanf_use=no
21086 fi
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21088       ac_ext=c
21089 ac_cpp='$CPP $CPPFLAGS'
21090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093
21094
21095 fi
21096
21097   fi
21098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21099 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21100
21101     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21102       for ac_func in _isnanf
21103 do :
21104   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21105 if test "x$ac_cv_func__isnanf" = x""yes; then :
21106   cat >>confdefs.h <<_ACEOF
21107 #define HAVE__ISNANF 1
21108 _ACEOF
21109
21110 fi
21111 done
21112
21113     fi
21114   fi
21115
21116
21117
21118
21119
21120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21121 $as_echo_n "checking for isinff declaration... " >&6; }
21122   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21123     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21124   $as_echo_n "(cached) " >&6
21125 else
21126
21127
21128       ac_ext=cpp
21129 ac_cpp='$CXXCPP $CPPFLAGS'
21130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21133
21134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h.  */
21136 #include <math.h>
21137                       #ifdef HAVE_IEEEFP_H
21138                       #include <ieeefp.h>
21139                       #endif
21140
21141 int
21142 main ()
21143 {
21144  isinff(0);
21145   ;
21146   return 0;
21147 }
21148 _ACEOF
21149 if ac_fn_cxx_try_compile "$LINENO"; then :
21150   glibcxx_cv_func_isinff_use=yes
21151 else
21152   glibcxx_cv_func_isinff_use=no
21153 fi
21154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155       ac_ext=c
21156 ac_cpp='$CPP $CPPFLAGS'
21157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21160
21161
21162 fi
21163
21164   fi
21165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21166 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21167
21168   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21169     for ac_func in isinff
21170 do :
21171   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21172 if test "x$ac_cv_func_isinff" = x""yes; then :
21173   cat >>confdefs.h <<_ACEOF
21174 #define HAVE_ISINFF 1
21175 _ACEOF
21176
21177 fi
21178 done
21179
21180   else
21181
21182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21183 $as_echo_n "checking for _isinff declaration... " >&6; }
21184   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21185     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21186   $as_echo_n "(cached) " >&6
21187 else
21188
21189
21190       ac_ext=cpp
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195
21196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h.  */
21198 #include <math.h>
21199                       #ifdef HAVE_IEEEFP_H
21200                       #include <ieeefp.h>
21201                       #endif
21202
21203 int
21204 main ()
21205 {
21206  _isinff(0);
21207   ;
21208   return 0;
21209 }
21210 _ACEOF
21211 if ac_fn_cxx_try_compile "$LINENO"; then :
21212   glibcxx_cv_func__isinff_use=yes
21213 else
21214   glibcxx_cv_func__isinff_use=no
21215 fi
21216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217       ac_ext=c
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222
21223
21224 fi
21225
21226   fi
21227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21228 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21229
21230     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21231       for ac_func in _isinff
21232 do :
21233   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21234 if test "x$ac_cv_func__isinff" = x""yes; then :
21235   cat >>confdefs.h <<_ACEOF
21236 #define HAVE__ISINFF 1
21237 _ACEOF
21238
21239 fi
21240 done
21241
21242     fi
21243   fi
21244
21245
21246
21247
21248
21249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21250 $as_echo_n "checking for atan2f declaration... " >&6; }
21251   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21252     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21253   $as_echo_n "(cached) " >&6
21254 else
21255
21256
21257       ac_ext=cpp
21258 ac_cpp='$CXXCPP $CPPFLAGS'
21259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21262
21263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h.  */
21265 #include <math.h>
21266 int
21267 main ()
21268 {
21269  atan2f(0, 0);
21270   ;
21271   return 0;
21272 }
21273 _ACEOF
21274 if ac_fn_cxx_try_compile "$LINENO"; then :
21275   glibcxx_cv_func_atan2f_use=yes
21276 else
21277   glibcxx_cv_func_atan2f_use=no
21278 fi
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280       ac_ext=c
21281 ac_cpp='$CPP $CPPFLAGS'
21282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21285
21286
21287 fi
21288
21289   fi
21290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21291 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21292
21293   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21294     for ac_func in atan2f
21295 do :
21296   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21297 if test "x$ac_cv_func_atan2f" = x""yes; then :
21298   cat >>confdefs.h <<_ACEOF
21299 #define HAVE_ATAN2F 1
21300 _ACEOF
21301
21302 fi
21303 done
21304
21305   else
21306
21307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21308 $as_echo_n "checking for _atan2f declaration... " >&6; }
21309   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21310     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21311   $as_echo_n "(cached) " >&6
21312 else
21313
21314
21315       ac_ext=cpp
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21320
21321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21322 /* end confdefs.h.  */
21323 #include <math.h>
21324 int
21325 main ()
21326 {
21327  _atan2f(0, 0);
21328   ;
21329   return 0;
21330 }
21331 _ACEOF
21332 if ac_fn_cxx_try_compile "$LINENO"; then :
21333   glibcxx_cv_func__atan2f_use=yes
21334 else
21335   glibcxx_cv_func__atan2f_use=no
21336 fi
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338       ac_ext=c
21339 ac_cpp='$CPP $CPPFLAGS'
21340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21343
21344
21345 fi
21346
21347   fi
21348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21349 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21350
21351     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21352       for ac_func in _atan2f
21353 do :
21354   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21355 if test "x$ac_cv_func__atan2f" = x""yes; then :
21356   cat >>confdefs.h <<_ACEOF
21357 #define HAVE__ATAN2F 1
21358 _ACEOF
21359
21360 fi
21361 done
21362
21363     fi
21364   fi
21365
21366
21367
21368
21369
21370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21371 $as_echo_n "checking for fabsf declaration... " >&6; }
21372   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21373     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21374   $as_echo_n "(cached) " >&6
21375 else
21376
21377
21378       ac_ext=cpp
21379 ac_cpp='$CXXCPP $CPPFLAGS'
21380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21383
21384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h.  */
21386 #include <math.h>
21387                       #ifdef HAVE_IEEEFP_H
21388                       #include <ieeefp.h>
21389                       #endif
21390
21391 int
21392 main ()
21393 {
21394  fabsf(0);
21395   ;
21396   return 0;
21397 }
21398 _ACEOF
21399 if ac_fn_cxx_try_compile "$LINENO"; then :
21400   glibcxx_cv_func_fabsf_use=yes
21401 else
21402   glibcxx_cv_func_fabsf_use=no
21403 fi
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405       ac_ext=c
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21410
21411
21412 fi
21413
21414   fi
21415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21416 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21417
21418   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21419     for ac_func in fabsf
21420 do :
21421   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21422 if test "x$ac_cv_func_fabsf" = x""yes; then :
21423   cat >>confdefs.h <<_ACEOF
21424 #define HAVE_FABSF 1
21425 _ACEOF
21426
21427 fi
21428 done
21429
21430   else
21431
21432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21433 $as_echo_n "checking for _fabsf declaration... " >&6; }
21434   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21435     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21436   $as_echo_n "(cached) " >&6
21437 else
21438
21439
21440       ac_ext=cpp
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21445
21446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h.  */
21448 #include <math.h>
21449                       #ifdef HAVE_IEEEFP_H
21450                       #include <ieeefp.h>
21451                       #endif
21452
21453 int
21454 main ()
21455 {
21456  _fabsf(0);
21457   ;
21458   return 0;
21459 }
21460 _ACEOF
21461 if ac_fn_cxx_try_compile "$LINENO"; then :
21462   glibcxx_cv_func__fabsf_use=yes
21463 else
21464   glibcxx_cv_func__fabsf_use=no
21465 fi
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21467       ac_ext=c
21468 ac_cpp='$CPP $CPPFLAGS'
21469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21472
21473
21474 fi
21475
21476   fi
21477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21478 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21479
21480     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21481       for ac_func in _fabsf
21482 do :
21483   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21484 if test "x$ac_cv_func__fabsf" = x""yes; then :
21485   cat >>confdefs.h <<_ACEOF
21486 #define HAVE__FABSF 1
21487 _ACEOF
21488
21489 fi
21490 done
21491
21492     fi
21493   fi
21494
21495
21496
21497
21498
21499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21500 $as_echo_n "checking for fmodf declaration... " >&6; }
21501   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21502     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21503   $as_echo_n "(cached) " >&6
21504 else
21505
21506
21507       ac_ext=cpp
21508 ac_cpp='$CXXCPP $CPPFLAGS'
21509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21512
21513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h.  */
21515 #include <math.h>
21516 int
21517 main ()
21518 {
21519  fmodf(0, 0);
21520   ;
21521   return 0;
21522 }
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525   glibcxx_cv_func_fmodf_use=yes
21526 else
21527   glibcxx_cv_func_fmodf_use=no
21528 fi
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530       ac_ext=c
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21535
21536
21537 fi
21538
21539   fi
21540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21541 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21542
21543   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21544     for ac_func in fmodf
21545 do :
21546   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21547 if test "x$ac_cv_func_fmodf" = x""yes; then :
21548   cat >>confdefs.h <<_ACEOF
21549 #define HAVE_FMODF 1
21550 _ACEOF
21551
21552 fi
21553 done
21554
21555   else
21556
21557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21558 $as_echo_n "checking for _fmodf declaration... " >&6; }
21559   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21560     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21561   $as_echo_n "(cached) " >&6
21562 else
21563
21564
21565       ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21570
21571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h.  */
21573 #include <math.h>
21574 int
21575 main ()
21576 {
21577  _fmodf(0, 0);
21578   ;
21579   return 0;
21580 }
21581 _ACEOF
21582 if ac_fn_cxx_try_compile "$LINENO"; then :
21583   glibcxx_cv_func__fmodf_use=yes
21584 else
21585   glibcxx_cv_func__fmodf_use=no
21586 fi
21587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21588       ac_ext=c
21589 ac_cpp='$CPP $CPPFLAGS'
21590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21593
21594
21595 fi
21596
21597   fi
21598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21599 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21600
21601     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21602       for ac_func in _fmodf
21603 do :
21604   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21605 if test "x$ac_cv_func__fmodf" = x""yes; then :
21606   cat >>confdefs.h <<_ACEOF
21607 #define HAVE__FMODF 1
21608 _ACEOF
21609
21610 fi
21611 done
21612
21613     fi
21614   fi
21615
21616
21617
21618
21619
21620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21621 $as_echo_n "checking for frexpf declaration... " >&6; }
21622   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21623     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21624   $as_echo_n "(cached) " >&6
21625 else
21626
21627
21628       ac_ext=cpp
21629 ac_cpp='$CXXCPP $CPPFLAGS'
21630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21633
21634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h.  */
21636 #include <math.h>
21637 int
21638 main ()
21639 {
21640  frexpf(0, 0);
21641   ;
21642   return 0;
21643 }
21644 _ACEOF
21645 if ac_fn_cxx_try_compile "$LINENO"; then :
21646   glibcxx_cv_func_frexpf_use=yes
21647 else
21648   glibcxx_cv_func_frexpf_use=no
21649 fi
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651       ac_ext=c
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21656
21657
21658 fi
21659
21660   fi
21661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21662 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21663
21664   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21665     for ac_func in frexpf
21666 do :
21667   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21668 if test "x$ac_cv_func_frexpf" = x""yes; then :
21669   cat >>confdefs.h <<_ACEOF
21670 #define HAVE_FREXPF 1
21671 _ACEOF
21672
21673 fi
21674 done
21675
21676   else
21677
21678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21679 $as_echo_n "checking for _frexpf declaration... " >&6; }
21680   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21681     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21682   $as_echo_n "(cached) " >&6
21683 else
21684
21685
21686       ac_ext=cpp
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21691
21692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h.  */
21694 #include <math.h>
21695 int
21696 main ()
21697 {
21698  _frexpf(0, 0);
21699   ;
21700   return 0;
21701 }
21702 _ACEOF
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704   glibcxx_cv_func__frexpf_use=yes
21705 else
21706   glibcxx_cv_func__frexpf_use=no
21707 fi
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709       ac_ext=c
21710 ac_cpp='$CPP $CPPFLAGS'
21711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21714
21715
21716 fi
21717
21718   fi
21719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21720 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21721
21722     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21723       for ac_func in _frexpf
21724 do :
21725   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21726 if test "x$ac_cv_func__frexpf" = x""yes; then :
21727   cat >>confdefs.h <<_ACEOF
21728 #define HAVE__FREXPF 1
21729 _ACEOF
21730
21731 fi
21732 done
21733
21734     fi
21735   fi
21736
21737
21738
21739
21740
21741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21742 $as_echo_n "checking for hypotf declaration... " >&6; }
21743   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21744     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21745   $as_echo_n "(cached) " >&6
21746 else
21747
21748
21749       ac_ext=cpp
21750 ac_cpp='$CXXCPP $CPPFLAGS'
21751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21754
21755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h.  */
21757 #include <math.h>
21758 int
21759 main ()
21760 {
21761  hypotf(0, 0);
21762   ;
21763   return 0;
21764 }
21765 _ACEOF
21766 if ac_fn_cxx_try_compile "$LINENO"; then :
21767   glibcxx_cv_func_hypotf_use=yes
21768 else
21769   glibcxx_cv_func_hypotf_use=no
21770 fi
21771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21772       ac_ext=c
21773 ac_cpp='$CPP $CPPFLAGS'
21774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21777
21778
21779 fi
21780
21781   fi
21782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21783 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21784
21785   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21786     for ac_func in hypotf
21787 do :
21788   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21789 if test "x$ac_cv_func_hypotf" = x""yes; then :
21790   cat >>confdefs.h <<_ACEOF
21791 #define HAVE_HYPOTF 1
21792 _ACEOF
21793
21794 fi
21795 done
21796
21797   else
21798
21799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21800 $as_echo_n "checking for _hypotf declaration... " >&6; }
21801   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21802     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21803   $as_echo_n "(cached) " >&6
21804 else
21805
21806
21807       ac_ext=cpp
21808 ac_cpp='$CXXCPP $CPPFLAGS'
21809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21812
21813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h.  */
21815 #include <math.h>
21816 int
21817 main ()
21818 {
21819  _hypotf(0, 0);
21820   ;
21821   return 0;
21822 }
21823 _ACEOF
21824 if ac_fn_cxx_try_compile "$LINENO"; then :
21825   glibcxx_cv_func__hypotf_use=yes
21826 else
21827   glibcxx_cv_func__hypotf_use=no
21828 fi
21829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21830       ac_ext=c
21831 ac_cpp='$CPP $CPPFLAGS'
21832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21835
21836
21837 fi
21838
21839   fi
21840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21841 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21842
21843     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21844       for ac_func in _hypotf
21845 do :
21846   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21847 if test "x$ac_cv_func__hypotf" = x""yes; then :
21848   cat >>confdefs.h <<_ACEOF
21849 #define HAVE__HYPOTF 1
21850 _ACEOF
21851
21852 fi
21853 done
21854
21855     fi
21856   fi
21857
21858
21859
21860
21861
21862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21863 $as_echo_n "checking for ldexpf declaration... " >&6; }
21864   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21865     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21866   $as_echo_n "(cached) " >&6
21867 else
21868
21869
21870       ac_ext=cpp
21871 ac_cpp='$CXXCPP $CPPFLAGS'
21872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875
21876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h.  */
21878 #include <math.h>
21879 int
21880 main ()
21881 {
21882  ldexpf(0, 0);
21883   ;
21884   return 0;
21885 }
21886 _ACEOF
21887 if ac_fn_cxx_try_compile "$LINENO"; then :
21888   glibcxx_cv_func_ldexpf_use=yes
21889 else
21890   glibcxx_cv_func_ldexpf_use=no
21891 fi
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893       ac_ext=c
21894 ac_cpp='$CPP $CPPFLAGS'
21895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21898
21899
21900 fi
21901
21902   fi
21903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21904 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21905
21906   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21907     for ac_func in ldexpf
21908 do :
21909   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21910 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21911   cat >>confdefs.h <<_ACEOF
21912 #define HAVE_LDEXPF 1
21913 _ACEOF
21914
21915 fi
21916 done
21917
21918   else
21919
21920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21921 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21922   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21923     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21924   $as_echo_n "(cached) " >&6
21925 else
21926
21927
21928       ac_ext=cpp
21929 ac_cpp='$CXXCPP $CPPFLAGS'
21930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21933
21934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21935 /* end confdefs.h.  */
21936 #include <math.h>
21937 int
21938 main ()
21939 {
21940  _ldexpf(0, 0);
21941   ;
21942   return 0;
21943 }
21944 _ACEOF
21945 if ac_fn_cxx_try_compile "$LINENO"; then :
21946   glibcxx_cv_func__ldexpf_use=yes
21947 else
21948   glibcxx_cv_func__ldexpf_use=no
21949 fi
21950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21951       ac_ext=c
21952 ac_cpp='$CPP $CPPFLAGS'
21953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21956
21957
21958 fi
21959
21960   fi
21961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21962 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21963
21964     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21965       for ac_func in _ldexpf
21966 do :
21967   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21968 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21969   cat >>confdefs.h <<_ACEOF
21970 #define HAVE__LDEXPF 1
21971 _ACEOF
21972
21973 fi
21974 done
21975
21976     fi
21977   fi
21978
21979
21980
21981
21982
21983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21984 $as_echo_n "checking for logf declaration... " >&6; }
21985   if test x${glibcxx_cv_func_logf_use+set} != xset; then
21986     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21987   $as_echo_n "(cached) " >&6
21988 else
21989
21990
21991       ac_ext=cpp
21992 ac_cpp='$CXXCPP $CPPFLAGS'
21993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21996
21997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21998 /* end confdefs.h.  */
21999 #include <math.h>
22000                       #ifdef HAVE_IEEEFP_H
22001                       #include <ieeefp.h>
22002                       #endif
22003
22004 int
22005 main ()
22006 {
22007  logf(0);
22008   ;
22009   return 0;
22010 }
22011 _ACEOF
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013   glibcxx_cv_func_logf_use=yes
22014 else
22015   glibcxx_cv_func_logf_use=no
22016 fi
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018       ac_ext=c
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22023
22024
22025 fi
22026
22027   fi
22028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22029 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22030
22031   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22032     for ac_func in logf
22033 do :
22034   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22035 if test "x$ac_cv_func_logf" = x""yes; then :
22036   cat >>confdefs.h <<_ACEOF
22037 #define HAVE_LOGF 1
22038 _ACEOF
22039
22040 fi
22041 done
22042
22043   else
22044
22045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22046 $as_echo_n "checking for _logf declaration... " >&6; }
22047   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22048     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22049   $as_echo_n "(cached) " >&6
22050 else
22051
22052
22053       ac_ext=cpp
22054 ac_cpp='$CXXCPP $CPPFLAGS'
22055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22058
22059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h.  */
22061 #include <math.h>
22062                       #ifdef HAVE_IEEEFP_H
22063                       #include <ieeefp.h>
22064                       #endif
22065
22066 int
22067 main ()
22068 {
22069  _logf(0);
22070   ;
22071   return 0;
22072 }
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075   glibcxx_cv_func__logf_use=yes
22076 else
22077   glibcxx_cv_func__logf_use=no
22078 fi
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080       ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22085
22086
22087 fi
22088
22089   fi
22090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22091 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22092
22093     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22094       for ac_func in _logf
22095 do :
22096   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22097 if test "x$ac_cv_func__logf" = x""yes; then :
22098   cat >>confdefs.h <<_ACEOF
22099 #define HAVE__LOGF 1
22100 _ACEOF
22101
22102 fi
22103 done
22104
22105     fi
22106   fi
22107
22108
22109
22110
22111
22112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22113 $as_echo_n "checking for log10f declaration... " >&6; }
22114   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22115     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22116   $as_echo_n "(cached) " >&6
22117 else
22118
22119
22120       ac_ext=cpp
22121 ac_cpp='$CXXCPP $CPPFLAGS'
22122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22125
22126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22127 /* end confdefs.h.  */
22128 #include <math.h>
22129                       #ifdef HAVE_IEEEFP_H
22130                       #include <ieeefp.h>
22131                       #endif
22132
22133 int
22134 main ()
22135 {
22136  log10f(0);
22137   ;
22138   return 0;
22139 }
22140 _ACEOF
22141 if ac_fn_cxx_try_compile "$LINENO"; then :
22142   glibcxx_cv_func_log10f_use=yes
22143 else
22144   glibcxx_cv_func_log10f_use=no
22145 fi
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147       ac_ext=c
22148 ac_cpp='$CPP $CPPFLAGS'
22149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22152
22153
22154 fi
22155
22156   fi
22157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22158 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22159
22160   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22161     for ac_func in log10f
22162 do :
22163   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22164 if test "x$ac_cv_func_log10f" = x""yes; then :
22165   cat >>confdefs.h <<_ACEOF
22166 #define HAVE_LOG10F 1
22167 _ACEOF
22168
22169 fi
22170 done
22171
22172   else
22173
22174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22175 $as_echo_n "checking for _log10f declaration... " >&6; }
22176   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22177     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22178   $as_echo_n "(cached) " >&6
22179 else
22180
22181
22182       ac_ext=cpp
22183 ac_cpp='$CXXCPP $CPPFLAGS'
22184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22187
22188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22189 /* end confdefs.h.  */
22190 #include <math.h>
22191                       #ifdef HAVE_IEEEFP_H
22192                       #include <ieeefp.h>
22193                       #endif
22194
22195 int
22196 main ()
22197 {
22198  _log10f(0);
22199   ;
22200   return 0;
22201 }
22202 _ACEOF
22203 if ac_fn_cxx_try_compile "$LINENO"; then :
22204   glibcxx_cv_func__log10f_use=yes
22205 else
22206   glibcxx_cv_func__log10f_use=no
22207 fi
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209       ac_ext=c
22210 ac_cpp='$CPP $CPPFLAGS'
22211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22214
22215
22216 fi
22217
22218   fi
22219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22220 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22221
22222     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22223       for ac_func in _log10f
22224 do :
22225   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22226 if test "x$ac_cv_func__log10f" = x""yes; then :
22227   cat >>confdefs.h <<_ACEOF
22228 #define HAVE__LOG10F 1
22229 _ACEOF
22230
22231 fi
22232 done
22233
22234     fi
22235   fi
22236
22237
22238
22239
22240
22241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22242 $as_echo_n "checking for modff declaration... " >&6; }
22243   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22244     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22245   $as_echo_n "(cached) " >&6
22246 else
22247
22248
22249       ac_ext=cpp
22250 ac_cpp='$CXXCPP $CPPFLAGS'
22251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22254
22255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22256 /* end confdefs.h.  */
22257 #include <math.h>
22258 int
22259 main ()
22260 {
22261  modff(0, 0);
22262   ;
22263   return 0;
22264 }
22265 _ACEOF
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267   glibcxx_cv_func_modff_use=yes
22268 else
22269   glibcxx_cv_func_modff_use=no
22270 fi
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272       ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22277
22278
22279 fi
22280
22281   fi
22282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22283 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22284
22285   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22286     for ac_func in modff
22287 do :
22288   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22289 if test "x$ac_cv_func_modff" = x""yes; then :
22290   cat >>confdefs.h <<_ACEOF
22291 #define HAVE_MODFF 1
22292 _ACEOF
22293
22294 fi
22295 done
22296
22297   else
22298
22299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22300 $as_echo_n "checking for _modff declaration... " >&6; }
22301   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22302     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22303   $as_echo_n "(cached) " >&6
22304 else
22305
22306
22307       ac_ext=cpp
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22312
22313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h.  */
22315 #include <math.h>
22316 int
22317 main ()
22318 {
22319  _modff(0, 0);
22320   ;
22321   return 0;
22322 }
22323 _ACEOF
22324 if ac_fn_cxx_try_compile "$LINENO"; then :
22325   glibcxx_cv_func__modff_use=yes
22326 else
22327   glibcxx_cv_func__modff_use=no
22328 fi
22329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22330       ac_ext=c
22331 ac_cpp='$CPP $CPPFLAGS'
22332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22335
22336
22337 fi
22338
22339   fi
22340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22341 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22342
22343     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22344       for ac_func in _modff
22345 do :
22346   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22347 if test "x$ac_cv_func__modff" = x""yes; then :
22348   cat >>confdefs.h <<_ACEOF
22349 #define HAVE__MODFF 1
22350 _ACEOF
22351
22352 fi
22353 done
22354
22355     fi
22356   fi
22357
22358
22359
22360
22361
22362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22363 $as_echo_n "checking for modf declaration... " >&6; }
22364   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22365     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22366   $as_echo_n "(cached) " >&6
22367 else
22368
22369
22370       ac_ext=cpp
22371 ac_cpp='$CXXCPP $CPPFLAGS'
22372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22375
22376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h.  */
22378 #include <math.h>
22379 int
22380 main ()
22381 {
22382  modf(0, 0);
22383   ;
22384   return 0;
22385 }
22386 _ACEOF
22387 if ac_fn_cxx_try_compile "$LINENO"; then :
22388   glibcxx_cv_func_modf_use=yes
22389 else
22390   glibcxx_cv_func_modf_use=no
22391 fi
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22393       ac_ext=c
22394 ac_cpp='$CPP $CPPFLAGS'
22395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22398
22399
22400 fi
22401
22402   fi
22403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22404 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22405
22406   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22407     for ac_func in modf
22408 do :
22409   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22410 if test "x$ac_cv_func_modf" = x""yes; then :
22411   cat >>confdefs.h <<_ACEOF
22412 #define HAVE_MODF 1
22413 _ACEOF
22414
22415 fi
22416 done
22417
22418   else
22419
22420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22421 $as_echo_n "checking for _modf declaration... " >&6; }
22422   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22423     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22424   $as_echo_n "(cached) " >&6
22425 else
22426
22427
22428       ac_ext=cpp
22429 ac_cpp='$CXXCPP $CPPFLAGS'
22430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22433
22434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h.  */
22436 #include <math.h>
22437 int
22438 main ()
22439 {
22440  _modf(0, 0);
22441   ;
22442   return 0;
22443 }
22444 _ACEOF
22445 if ac_fn_cxx_try_compile "$LINENO"; then :
22446   glibcxx_cv_func__modf_use=yes
22447 else
22448   glibcxx_cv_func__modf_use=no
22449 fi
22450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22451       ac_ext=c
22452 ac_cpp='$CPP $CPPFLAGS'
22453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22456
22457
22458 fi
22459
22460   fi
22461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22462 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22463
22464     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22465       for ac_func in _modf
22466 do :
22467   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22468 if test "x$ac_cv_func__modf" = x""yes; then :
22469   cat >>confdefs.h <<_ACEOF
22470 #define HAVE__MODF 1
22471 _ACEOF
22472
22473 fi
22474 done
22475
22476     fi
22477   fi
22478
22479
22480
22481
22482
22483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22484 $as_echo_n "checking for powf declaration... " >&6; }
22485   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22486     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22487   $as_echo_n "(cached) " >&6
22488 else
22489
22490
22491       ac_ext=cpp
22492 ac_cpp='$CXXCPP $CPPFLAGS'
22493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22496
22497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h.  */
22499 #include <math.h>
22500 int
22501 main ()
22502 {
22503  powf(0, 0);
22504   ;
22505   return 0;
22506 }
22507 _ACEOF
22508 if ac_fn_cxx_try_compile "$LINENO"; then :
22509   glibcxx_cv_func_powf_use=yes
22510 else
22511   glibcxx_cv_func_powf_use=no
22512 fi
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514       ac_ext=c
22515 ac_cpp='$CPP $CPPFLAGS'
22516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22519
22520
22521 fi
22522
22523   fi
22524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22525 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22526
22527   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22528     for ac_func in powf
22529 do :
22530   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22531 if test "x$ac_cv_func_powf" = x""yes; then :
22532   cat >>confdefs.h <<_ACEOF
22533 #define HAVE_POWF 1
22534 _ACEOF
22535
22536 fi
22537 done
22538
22539   else
22540
22541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22542 $as_echo_n "checking for _powf declaration... " >&6; }
22543   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22544     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22545   $as_echo_n "(cached) " >&6
22546 else
22547
22548
22549       ac_ext=cpp
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554
22555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h.  */
22557 #include <math.h>
22558 int
22559 main ()
22560 {
22561  _powf(0, 0);
22562   ;
22563   return 0;
22564 }
22565 _ACEOF
22566 if ac_fn_cxx_try_compile "$LINENO"; then :
22567   glibcxx_cv_func__powf_use=yes
22568 else
22569   glibcxx_cv_func__powf_use=no
22570 fi
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22572       ac_ext=c
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22577
22578
22579 fi
22580
22581   fi
22582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22583 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22584
22585     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22586       for ac_func in _powf
22587 do :
22588   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22589 if test "x$ac_cv_func__powf" = x""yes; then :
22590   cat >>confdefs.h <<_ACEOF
22591 #define HAVE__POWF 1
22592 _ACEOF
22593
22594 fi
22595 done
22596
22597     fi
22598   fi
22599
22600
22601
22602
22603
22604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22605 $as_echo_n "checking for sqrtf declaration... " >&6; }
22606   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22607     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22608   $as_echo_n "(cached) " >&6
22609 else
22610
22611
22612       ac_ext=cpp
22613 ac_cpp='$CXXCPP $CPPFLAGS'
22614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22617
22618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22619 /* end confdefs.h.  */
22620 #include <math.h>
22621                       #ifdef HAVE_IEEEFP_H
22622                       #include <ieeefp.h>
22623                       #endif
22624
22625 int
22626 main ()
22627 {
22628  sqrtf(0);
22629   ;
22630   return 0;
22631 }
22632 _ACEOF
22633 if ac_fn_cxx_try_compile "$LINENO"; then :
22634   glibcxx_cv_func_sqrtf_use=yes
22635 else
22636   glibcxx_cv_func_sqrtf_use=no
22637 fi
22638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22639       ac_ext=c
22640 ac_cpp='$CPP $CPPFLAGS'
22641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22644
22645
22646 fi
22647
22648   fi
22649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22650 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22651
22652   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22653     for ac_func in sqrtf
22654 do :
22655   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22656 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22657   cat >>confdefs.h <<_ACEOF
22658 #define HAVE_SQRTF 1
22659 _ACEOF
22660
22661 fi
22662 done
22663
22664   else
22665
22666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22667 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22668   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22669     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22670   $as_echo_n "(cached) " >&6
22671 else
22672
22673
22674       ac_ext=cpp
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22679
22680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22681 /* end confdefs.h.  */
22682 #include <math.h>
22683                       #ifdef HAVE_IEEEFP_H
22684                       #include <ieeefp.h>
22685                       #endif
22686
22687 int
22688 main ()
22689 {
22690  _sqrtf(0);
22691   ;
22692   return 0;
22693 }
22694 _ACEOF
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696   glibcxx_cv_func__sqrtf_use=yes
22697 else
22698   glibcxx_cv_func__sqrtf_use=no
22699 fi
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701       ac_ext=c
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22706
22707
22708 fi
22709
22710   fi
22711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22712 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22713
22714     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22715       for ac_func in _sqrtf
22716 do :
22717   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22718 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22719   cat >>confdefs.h <<_ACEOF
22720 #define HAVE__SQRTF 1
22721 _ACEOF
22722
22723 fi
22724 done
22725
22726     fi
22727   fi
22728
22729
22730
22731
22732
22733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22734 $as_echo_n "checking for sincosf declaration... " >&6; }
22735   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22736     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22737   $as_echo_n "(cached) " >&6
22738 else
22739
22740
22741       ac_ext=cpp
22742 ac_cpp='$CXXCPP $CPPFLAGS'
22743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22746
22747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22748 /* end confdefs.h.  */
22749 #include <math.h>
22750 int
22751 main ()
22752 {
22753  sincosf(0, 0, 0);
22754   ;
22755   return 0;
22756 }
22757 _ACEOF
22758 if ac_fn_cxx_try_compile "$LINENO"; then :
22759   glibcxx_cv_func_sincosf_use=yes
22760 else
22761   glibcxx_cv_func_sincosf_use=no
22762 fi
22763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22764       ac_ext=c
22765 ac_cpp='$CPP $CPPFLAGS'
22766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22769
22770
22771 fi
22772
22773   fi
22774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22775 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22776
22777   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22778     for ac_func in sincosf
22779 do :
22780   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22781 if test "x$ac_cv_func_sincosf" = x""yes; then :
22782   cat >>confdefs.h <<_ACEOF
22783 #define HAVE_SINCOSF 1
22784 _ACEOF
22785
22786 fi
22787 done
22788
22789   else
22790
22791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22792 $as_echo_n "checking for _sincosf declaration... " >&6; }
22793   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22794     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22795   $as_echo_n "(cached) " >&6
22796 else
22797
22798
22799       ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22804
22805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h.  */
22807 #include <math.h>
22808 int
22809 main ()
22810 {
22811  _sincosf(0, 0, 0);
22812   ;
22813   return 0;
22814 }
22815 _ACEOF
22816 if ac_fn_cxx_try_compile "$LINENO"; then :
22817   glibcxx_cv_func__sincosf_use=yes
22818 else
22819   glibcxx_cv_func__sincosf_use=no
22820 fi
22821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22822       ac_ext=c
22823 ac_cpp='$CPP $CPPFLAGS'
22824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22827
22828
22829 fi
22830
22831   fi
22832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22833 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22834
22835     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22836       for ac_func in _sincosf
22837 do :
22838   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22839 if test "x$ac_cv_func__sincosf" = x""yes; then :
22840   cat >>confdefs.h <<_ACEOF
22841 #define HAVE__SINCOSF 1
22842 _ACEOF
22843
22844 fi
22845 done
22846
22847     fi
22848   fi
22849
22850
22851
22852
22853
22854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22855 $as_echo_n "checking for finitef declaration... " >&6; }
22856   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22857     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22858   $as_echo_n "(cached) " >&6
22859 else
22860
22861
22862       ac_ext=cpp
22863 ac_cpp='$CXXCPP $CPPFLAGS'
22864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22867
22868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22869 /* end confdefs.h.  */
22870 #include <math.h>
22871                       #ifdef HAVE_IEEEFP_H
22872                       #include <ieeefp.h>
22873                       #endif
22874
22875 int
22876 main ()
22877 {
22878  finitef(0);
22879   ;
22880   return 0;
22881 }
22882 _ACEOF
22883 if ac_fn_cxx_try_compile "$LINENO"; then :
22884   glibcxx_cv_func_finitef_use=yes
22885 else
22886   glibcxx_cv_func_finitef_use=no
22887 fi
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889       ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22894
22895
22896 fi
22897
22898   fi
22899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22900 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22901
22902   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22903     for ac_func in finitef
22904 do :
22905   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22906 if test "x$ac_cv_func_finitef" = x""yes; then :
22907   cat >>confdefs.h <<_ACEOF
22908 #define HAVE_FINITEF 1
22909 _ACEOF
22910
22911 fi
22912 done
22913
22914   else
22915
22916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22917 $as_echo_n "checking for _finitef declaration... " >&6; }
22918   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22919     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22920   $as_echo_n "(cached) " >&6
22921 else
22922
22923
22924       ac_ext=cpp
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22929
22930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h.  */
22932 #include <math.h>
22933                       #ifdef HAVE_IEEEFP_H
22934                       #include <ieeefp.h>
22935                       #endif
22936
22937 int
22938 main ()
22939 {
22940  _finitef(0);
22941   ;
22942   return 0;
22943 }
22944 _ACEOF
22945 if ac_fn_cxx_try_compile "$LINENO"; then :
22946   glibcxx_cv_func__finitef_use=yes
22947 else
22948   glibcxx_cv_func__finitef_use=no
22949 fi
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22951       ac_ext=c
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22956
22957
22958 fi
22959
22960   fi
22961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22962 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22963
22964     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22965       for ac_func in _finitef
22966 do :
22967   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22968 if test "x$ac_cv_func__finitef" = x""yes; then :
22969   cat >>confdefs.h <<_ACEOF
22970 #define HAVE__FINITEF 1
22971 _ACEOF
22972
22973 fi
22974 done
22975
22976     fi
22977   fi
22978
22979
22980
22981
22982
22983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22984 $as_echo_n "checking for long double trig functions... " >&6; }
22985   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22986   $as_echo_n "(cached) " >&6
22987 else
22988
22989
22990     ac_ext=cpp
22991 ac_cpp='$CXXCPP $CPPFLAGS'
22992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22995
22996     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h.  */
22998 #include <math.h>
22999 int
23000 main ()
23001 {
23002 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23003   ;
23004   return 0;
23005 }
23006 _ACEOF
23007 if ac_fn_cxx_try_compile "$LINENO"; then :
23008   glibcxx_cv_func_long_double_trig_use=yes
23009 else
23010   glibcxx_cv_func_long_double_trig_use=no
23011 fi
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23013     ac_ext=c
23014 ac_cpp='$CPP $CPPFLAGS'
23015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23018
23019 fi
23020
23021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23022 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23023   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23024     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23025 do :
23026   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23028 eval as_val=\$$as_ac_var
23029    if test "x$as_val" = x""yes; then :
23030   cat >>confdefs.h <<_ACEOF
23031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23032 _ACEOF
23033
23034 fi
23035 done
23036
23037   else
23038     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23039 $as_echo_n "checking for _long double trig functions... " >&6; }
23040     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23041   $as_echo_n "(cached) " >&6
23042 else
23043
23044
23045       ac_ext=cpp
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23050
23051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h.  */
23053 #include <math.h>
23054 int
23055 main ()
23056 {
23057 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23058   ;
23059   return 0;
23060 }
23061 _ACEOF
23062 if ac_fn_cxx_try_compile "$LINENO"; then :
23063   glibcxx_cv_func__long_double_trig_use=yes
23064 else
23065   glibcxx_cv_func__long_double_trig_use=no
23066 fi
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068       ac_ext=c
23069 ac_cpp='$CPP $CPPFLAGS'
23070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23073
23074 fi
23075
23076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23077 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23078     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23079       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23080 do :
23081   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23083 eval as_val=\$$as_ac_var
23084    if test "x$as_val" = x""yes; then :
23085   cat >>confdefs.h <<_ACEOF
23086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23087 _ACEOF
23088
23089 fi
23090 done
23091
23092     fi
23093   fi
23094
23095
23096
23097
23098
23099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23100 $as_echo_n "checking for long double round functions... " >&6; }
23101   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23102   $as_echo_n "(cached) " >&6
23103 else
23104
23105
23106     ac_ext=cpp
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111
23112     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h.  */
23114 #include <math.h>
23115 int
23116 main ()
23117 {
23118 ceill (0); floorl (0);
23119   ;
23120   return 0;
23121 }
23122 _ACEOF
23123 if ac_fn_cxx_try_compile "$LINENO"; then :
23124   glibcxx_cv_func_long_double_round_use=yes
23125 else
23126   glibcxx_cv_func_long_double_round_use=no
23127 fi
23128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23129     ac_ext=c
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23134
23135 fi
23136
23137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23138 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23139   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23140     for ac_func in ceill floorl
23141 do :
23142   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23144 eval as_val=\$$as_ac_var
23145    if test "x$as_val" = x""yes; then :
23146   cat >>confdefs.h <<_ACEOF
23147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23148 _ACEOF
23149
23150 fi
23151 done
23152
23153   else
23154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23155 $as_echo_n "checking for _long double round functions... " >&6; }
23156     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23157   $as_echo_n "(cached) " >&6
23158 else
23159
23160
23161       ac_ext=cpp
23162 ac_cpp='$CXXCPP $CPPFLAGS'
23163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166
23167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h.  */
23169 #include <math.h>
23170 int
23171 main ()
23172 {
23173 _ceill (0); _floorl (0);
23174   ;
23175   return 0;
23176 }
23177 _ACEOF
23178 if ac_fn_cxx_try_compile "$LINENO"; then :
23179   glibcxx_cv_func__long_double_round_use=yes
23180 else
23181   glibcxx_cv_func__long_double_round_use=no
23182 fi
23183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23184       ac_ext=c
23185 ac_cpp='$CPP $CPPFLAGS'
23186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23189
23190 fi
23191
23192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23193 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23194     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23195       for ac_func in _ceill _floorl
23196 do :
23197   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23199 eval as_val=\$$as_ac_var
23200    if test "x$as_val" = x""yes; then :
23201   cat >>confdefs.h <<_ACEOF
23202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23203 _ACEOF
23204
23205 fi
23206 done
23207
23208     fi
23209   fi
23210
23211
23212
23213
23214
23215
23216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23217 $as_echo_n "checking for isnanl declaration... " >&6; }
23218   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23219     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23220   $as_echo_n "(cached) " >&6
23221 else
23222
23223
23224       ac_ext=cpp
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23229
23230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h.  */
23232 #include <math.h>
23233                       #ifdef HAVE_IEEEFP_H
23234                       #include <ieeefp.h>
23235                       #endif
23236
23237 int
23238 main ()
23239 {
23240  isnanl(0);
23241   ;
23242   return 0;
23243 }
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246   glibcxx_cv_func_isnanl_use=yes
23247 else
23248   glibcxx_cv_func_isnanl_use=no
23249 fi
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251       ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258 fi
23259
23260   fi
23261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23262 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23263
23264   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23265     for ac_func in isnanl
23266 do :
23267   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23268 if test "x$ac_cv_func_isnanl" = x""yes; then :
23269   cat >>confdefs.h <<_ACEOF
23270 #define HAVE_ISNANL 1
23271 _ACEOF
23272
23273 fi
23274 done
23275
23276   else
23277
23278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23279 $as_echo_n "checking for _isnanl declaration... " >&6; }
23280   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23281     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23282   $as_echo_n "(cached) " >&6
23283 else
23284
23285
23286       ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291
23292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h.  */
23294 #include <math.h>
23295                       #ifdef HAVE_IEEEFP_H
23296                       #include <ieeefp.h>
23297                       #endif
23298
23299 int
23300 main ()
23301 {
23302  _isnanl(0);
23303   ;
23304   return 0;
23305 }
23306 _ACEOF
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308   glibcxx_cv_func__isnanl_use=yes
23309 else
23310   glibcxx_cv_func__isnanl_use=no
23311 fi
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313       ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318
23319
23320 fi
23321
23322   fi
23323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23324 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23325
23326     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23327       for ac_func in _isnanl
23328 do :
23329   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23330 if test "x$ac_cv_func__isnanl" = x""yes; then :
23331   cat >>confdefs.h <<_ACEOF
23332 #define HAVE__ISNANL 1
23333 _ACEOF
23334
23335 fi
23336 done
23337
23338     fi
23339   fi
23340
23341
23342
23343
23344
23345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23346 $as_echo_n "checking for isinfl declaration... " >&6; }
23347   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23348     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23349   $as_echo_n "(cached) " >&6
23350 else
23351
23352
23353       ac_ext=cpp
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358
23359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h.  */
23361 #include <math.h>
23362                       #ifdef HAVE_IEEEFP_H
23363                       #include <ieeefp.h>
23364                       #endif
23365
23366 int
23367 main ()
23368 {
23369  isinfl(0);
23370   ;
23371   return 0;
23372 }
23373 _ACEOF
23374 if ac_fn_cxx_try_compile "$LINENO"; then :
23375   glibcxx_cv_func_isinfl_use=yes
23376 else
23377   glibcxx_cv_func_isinfl_use=no
23378 fi
23379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23380       ac_ext=c
23381 ac_cpp='$CPP $CPPFLAGS'
23382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23385
23386
23387 fi
23388
23389   fi
23390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23391 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23392
23393   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23394     for ac_func in isinfl
23395 do :
23396   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23397 if test "x$ac_cv_func_isinfl" = x""yes; then :
23398   cat >>confdefs.h <<_ACEOF
23399 #define HAVE_ISINFL 1
23400 _ACEOF
23401
23402 fi
23403 done
23404
23405   else
23406
23407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23408 $as_echo_n "checking for _isinfl declaration... " >&6; }
23409   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23410     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23411   $as_echo_n "(cached) " >&6
23412 else
23413
23414
23415       ac_ext=cpp
23416 ac_cpp='$CXXCPP $CPPFLAGS'
23417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23420
23421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23422 /* end confdefs.h.  */
23423 #include <math.h>
23424                       #ifdef HAVE_IEEEFP_H
23425                       #include <ieeefp.h>
23426                       #endif
23427
23428 int
23429 main ()
23430 {
23431  _isinfl(0);
23432   ;
23433   return 0;
23434 }
23435 _ACEOF
23436 if ac_fn_cxx_try_compile "$LINENO"; then :
23437   glibcxx_cv_func__isinfl_use=yes
23438 else
23439   glibcxx_cv_func__isinfl_use=no
23440 fi
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442       ac_ext=c
23443 ac_cpp='$CPP $CPPFLAGS'
23444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23447
23448
23449 fi
23450
23451   fi
23452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23453 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23454
23455     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23456       for ac_func in _isinfl
23457 do :
23458   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23459 if test "x$ac_cv_func__isinfl" = x""yes; then :
23460   cat >>confdefs.h <<_ACEOF
23461 #define HAVE__ISINFL 1
23462 _ACEOF
23463
23464 fi
23465 done
23466
23467     fi
23468   fi
23469
23470
23471
23472
23473
23474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23475 $as_echo_n "checking for atan2l declaration... " >&6; }
23476   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23477     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23478   $as_echo_n "(cached) " >&6
23479 else
23480
23481
23482       ac_ext=cpp
23483 ac_cpp='$CXXCPP $CPPFLAGS'
23484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23487
23488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23489 /* end confdefs.h.  */
23490 #include <math.h>
23491 int
23492 main ()
23493 {
23494  atan2l(0, 0);
23495   ;
23496   return 0;
23497 }
23498 _ACEOF
23499 if ac_fn_cxx_try_compile "$LINENO"; then :
23500   glibcxx_cv_func_atan2l_use=yes
23501 else
23502   glibcxx_cv_func_atan2l_use=no
23503 fi
23504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23505       ac_ext=c
23506 ac_cpp='$CPP $CPPFLAGS'
23507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23510
23511
23512 fi
23513
23514   fi
23515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23516 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23517
23518   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23519     for ac_func in atan2l
23520 do :
23521   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23522 if test "x$ac_cv_func_atan2l" = x""yes; then :
23523   cat >>confdefs.h <<_ACEOF
23524 #define HAVE_ATAN2L 1
23525 _ACEOF
23526
23527 fi
23528 done
23529
23530   else
23531
23532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23533 $as_echo_n "checking for _atan2l declaration... " >&6; }
23534   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23535     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23536   $as_echo_n "(cached) " >&6
23537 else
23538
23539
23540       ac_ext=cpp
23541 ac_cpp='$CXXCPP $CPPFLAGS'
23542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23545
23546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h.  */
23548 #include <math.h>
23549 int
23550 main ()
23551 {
23552  _atan2l(0, 0);
23553   ;
23554   return 0;
23555 }
23556 _ACEOF
23557 if ac_fn_cxx_try_compile "$LINENO"; then :
23558   glibcxx_cv_func__atan2l_use=yes
23559 else
23560   glibcxx_cv_func__atan2l_use=no
23561 fi
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563       ac_ext=c
23564 ac_cpp='$CPP $CPPFLAGS'
23565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23568
23569
23570 fi
23571
23572   fi
23573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23574 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23575
23576     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23577       for ac_func in _atan2l
23578 do :
23579   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23580 if test "x$ac_cv_func__atan2l" = x""yes; then :
23581   cat >>confdefs.h <<_ACEOF
23582 #define HAVE__ATAN2L 1
23583 _ACEOF
23584
23585 fi
23586 done
23587
23588     fi
23589   fi
23590
23591
23592
23593
23594
23595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23596 $as_echo_n "checking for expl declaration... " >&6; }
23597   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23598     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23599   $as_echo_n "(cached) " >&6
23600 else
23601
23602
23603       ac_ext=cpp
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23608
23609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23610 /* end confdefs.h.  */
23611 #include <math.h>
23612                       #ifdef HAVE_IEEEFP_H
23613                       #include <ieeefp.h>
23614                       #endif
23615
23616 int
23617 main ()
23618 {
23619  expl(0);
23620   ;
23621   return 0;
23622 }
23623 _ACEOF
23624 if ac_fn_cxx_try_compile "$LINENO"; then :
23625   glibcxx_cv_func_expl_use=yes
23626 else
23627   glibcxx_cv_func_expl_use=no
23628 fi
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630       ac_ext=c
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23635
23636
23637 fi
23638
23639   fi
23640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23641 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23642
23643   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23644     for ac_func in expl
23645 do :
23646   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23647 if test "x$ac_cv_func_expl" = x""yes; then :
23648   cat >>confdefs.h <<_ACEOF
23649 #define HAVE_EXPL 1
23650 _ACEOF
23651
23652 fi
23653 done
23654
23655   else
23656
23657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23658 $as_echo_n "checking for _expl declaration... " >&6; }
23659   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23660     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23661   $as_echo_n "(cached) " >&6
23662 else
23663
23664
23665       ac_ext=cpp
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670
23671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h.  */
23673 #include <math.h>
23674                       #ifdef HAVE_IEEEFP_H
23675                       #include <ieeefp.h>
23676                       #endif
23677
23678 int
23679 main ()
23680 {
23681  _expl(0);
23682   ;
23683   return 0;
23684 }
23685 _ACEOF
23686 if ac_fn_cxx_try_compile "$LINENO"; then :
23687   glibcxx_cv_func__expl_use=yes
23688 else
23689   glibcxx_cv_func__expl_use=no
23690 fi
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692       ac_ext=c
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23697
23698
23699 fi
23700
23701   fi
23702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23703 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23704
23705     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23706       for ac_func in _expl
23707 do :
23708   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23709 if test "x$ac_cv_func__expl" = x""yes; then :
23710   cat >>confdefs.h <<_ACEOF
23711 #define HAVE__EXPL 1
23712 _ACEOF
23713
23714 fi
23715 done
23716
23717     fi
23718   fi
23719
23720
23721
23722
23723
23724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23725 $as_echo_n "checking for fabsl declaration... " >&6; }
23726   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23727     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23728   $as_echo_n "(cached) " >&6
23729 else
23730
23731
23732       ac_ext=cpp
23733 ac_cpp='$CXXCPP $CPPFLAGS'
23734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23737
23738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23739 /* end confdefs.h.  */
23740 #include <math.h>
23741                       #ifdef HAVE_IEEEFP_H
23742                       #include <ieeefp.h>
23743                       #endif
23744
23745 int
23746 main ()
23747 {
23748  fabsl(0);
23749   ;
23750   return 0;
23751 }
23752 _ACEOF
23753 if ac_fn_cxx_try_compile "$LINENO"; then :
23754   glibcxx_cv_func_fabsl_use=yes
23755 else
23756   glibcxx_cv_func_fabsl_use=no
23757 fi
23758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23759       ac_ext=c
23760 ac_cpp='$CPP $CPPFLAGS'
23761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23764
23765
23766 fi
23767
23768   fi
23769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23770 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23771
23772   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23773     for ac_func in fabsl
23774 do :
23775   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23776 if test "x$ac_cv_func_fabsl" = x""yes; then :
23777   cat >>confdefs.h <<_ACEOF
23778 #define HAVE_FABSL 1
23779 _ACEOF
23780
23781 fi
23782 done
23783
23784   else
23785
23786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23787 $as_echo_n "checking for _fabsl declaration... " >&6; }
23788   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23789     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23790   $as_echo_n "(cached) " >&6
23791 else
23792
23793
23794       ac_ext=cpp
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23799
23800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h.  */
23802 #include <math.h>
23803                       #ifdef HAVE_IEEEFP_H
23804                       #include <ieeefp.h>
23805                       #endif
23806
23807 int
23808 main ()
23809 {
23810  _fabsl(0);
23811   ;
23812   return 0;
23813 }
23814 _ACEOF
23815 if ac_fn_cxx_try_compile "$LINENO"; then :
23816   glibcxx_cv_func__fabsl_use=yes
23817 else
23818   glibcxx_cv_func__fabsl_use=no
23819 fi
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821       ac_ext=c
23822 ac_cpp='$CPP $CPPFLAGS'
23823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826
23827
23828 fi
23829
23830   fi
23831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23832 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23833
23834     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23835       for ac_func in _fabsl
23836 do :
23837   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23838 if test "x$ac_cv_func__fabsl" = x""yes; then :
23839   cat >>confdefs.h <<_ACEOF
23840 #define HAVE__FABSL 1
23841 _ACEOF
23842
23843 fi
23844 done
23845
23846     fi
23847   fi
23848
23849
23850
23851
23852
23853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23854 $as_echo_n "checking for fmodl declaration... " >&6; }
23855   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23856     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23857   $as_echo_n "(cached) " >&6
23858 else
23859
23860
23861       ac_ext=cpp
23862 ac_cpp='$CXXCPP $CPPFLAGS'
23863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23866
23867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h.  */
23869 #include <math.h>
23870 int
23871 main ()
23872 {
23873  fmodl(0, 0);
23874   ;
23875   return 0;
23876 }
23877 _ACEOF
23878 if ac_fn_cxx_try_compile "$LINENO"; then :
23879   glibcxx_cv_func_fmodl_use=yes
23880 else
23881   glibcxx_cv_func_fmodl_use=no
23882 fi
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884       ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23889
23890
23891 fi
23892
23893   fi
23894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23895 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23896
23897   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23898     for ac_func in fmodl
23899 do :
23900   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23901 if test "x$ac_cv_func_fmodl" = x""yes; then :
23902   cat >>confdefs.h <<_ACEOF
23903 #define HAVE_FMODL 1
23904 _ACEOF
23905
23906 fi
23907 done
23908
23909   else
23910
23911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23912 $as_echo_n "checking for _fmodl declaration... " >&6; }
23913   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23914     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23915   $as_echo_n "(cached) " >&6
23916 else
23917
23918
23919       ac_ext=cpp
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23924
23925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h.  */
23927 #include <math.h>
23928 int
23929 main ()
23930 {
23931  _fmodl(0, 0);
23932   ;
23933   return 0;
23934 }
23935 _ACEOF
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23937   glibcxx_cv_func__fmodl_use=yes
23938 else
23939   glibcxx_cv_func__fmodl_use=no
23940 fi
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942       ac_ext=c
23943 ac_cpp='$CPP $CPPFLAGS'
23944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23947
23948
23949 fi
23950
23951   fi
23952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23953 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23954
23955     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23956       for ac_func in _fmodl
23957 do :
23958   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23959 if test "x$ac_cv_func__fmodl" = x""yes; then :
23960   cat >>confdefs.h <<_ACEOF
23961 #define HAVE__FMODL 1
23962 _ACEOF
23963
23964 fi
23965 done
23966
23967     fi
23968   fi
23969
23970
23971
23972
23973
23974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23975 $as_echo_n "checking for frexpl declaration... " >&6; }
23976   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23977     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23978   $as_echo_n "(cached) " >&6
23979 else
23980
23981
23982       ac_ext=cpp
23983 ac_cpp='$CXXCPP $CPPFLAGS'
23984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23987
23988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23989 /* end confdefs.h.  */
23990 #include <math.h>
23991 int
23992 main ()
23993 {
23994  frexpl(0, 0);
23995   ;
23996   return 0;
23997 }
23998 _ACEOF
23999 if ac_fn_cxx_try_compile "$LINENO"; then :
24000   glibcxx_cv_func_frexpl_use=yes
24001 else
24002   glibcxx_cv_func_frexpl_use=no
24003 fi
24004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005       ac_ext=c
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24010
24011
24012 fi
24013
24014   fi
24015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24016 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24017
24018   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24019     for ac_func in frexpl
24020 do :
24021   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24022 if test "x$ac_cv_func_frexpl" = x""yes; then :
24023   cat >>confdefs.h <<_ACEOF
24024 #define HAVE_FREXPL 1
24025 _ACEOF
24026
24027 fi
24028 done
24029
24030   else
24031
24032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24033 $as_echo_n "checking for _frexpl declaration... " >&6; }
24034   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24035     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24036   $as_echo_n "(cached) " >&6
24037 else
24038
24039
24040       ac_ext=cpp
24041 ac_cpp='$CXXCPP $CPPFLAGS'
24042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24045
24046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24047 /* end confdefs.h.  */
24048 #include <math.h>
24049 int
24050 main ()
24051 {
24052  _frexpl(0, 0);
24053   ;
24054   return 0;
24055 }
24056 _ACEOF
24057 if ac_fn_cxx_try_compile "$LINENO"; then :
24058   glibcxx_cv_func__frexpl_use=yes
24059 else
24060   glibcxx_cv_func__frexpl_use=no
24061 fi
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063       ac_ext=c
24064 ac_cpp='$CPP $CPPFLAGS'
24065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24068
24069
24070 fi
24071
24072   fi
24073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24074 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24075
24076     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24077       for ac_func in _frexpl
24078 do :
24079   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24080 if test "x$ac_cv_func__frexpl" = x""yes; then :
24081   cat >>confdefs.h <<_ACEOF
24082 #define HAVE__FREXPL 1
24083 _ACEOF
24084
24085 fi
24086 done
24087
24088     fi
24089   fi
24090
24091
24092
24093
24094
24095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24096 $as_echo_n "checking for hypotl declaration... " >&6; }
24097   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24098     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24099   $as_echo_n "(cached) " >&6
24100 else
24101
24102
24103       ac_ext=cpp
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108
24109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24110 /* end confdefs.h.  */
24111 #include <math.h>
24112 int
24113 main ()
24114 {
24115  hypotl(0, 0);
24116   ;
24117   return 0;
24118 }
24119 _ACEOF
24120 if ac_fn_cxx_try_compile "$LINENO"; then :
24121   glibcxx_cv_func_hypotl_use=yes
24122 else
24123   glibcxx_cv_func_hypotl_use=no
24124 fi
24125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24126       ac_ext=c
24127 ac_cpp='$CPP $CPPFLAGS'
24128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131
24132
24133 fi
24134
24135   fi
24136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24137 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24138
24139   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24140     for ac_func in hypotl
24141 do :
24142   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24143 if test "x$ac_cv_func_hypotl" = x""yes; then :
24144   cat >>confdefs.h <<_ACEOF
24145 #define HAVE_HYPOTL 1
24146 _ACEOF
24147
24148 fi
24149 done
24150
24151   else
24152
24153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24154 $as_echo_n "checking for _hypotl declaration... " >&6; }
24155   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24156     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24157   $as_echo_n "(cached) " >&6
24158 else
24159
24160
24161       ac_ext=cpp
24162 ac_cpp='$CXXCPP $CPPFLAGS'
24163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24166
24167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h.  */
24169 #include <math.h>
24170 int
24171 main ()
24172 {
24173  _hypotl(0, 0);
24174   ;
24175   return 0;
24176 }
24177 _ACEOF
24178 if ac_fn_cxx_try_compile "$LINENO"; then :
24179   glibcxx_cv_func__hypotl_use=yes
24180 else
24181   glibcxx_cv_func__hypotl_use=no
24182 fi
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184       ac_ext=c
24185 ac_cpp='$CPP $CPPFLAGS'
24186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24189
24190
24191 fi
24192
24193   fi
24194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24195 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24196
24197     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24198       for ac_func in _hypotl
24199 do :
24200   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24201 if test "x$ac_cv_func__hypotl" = x""yes; then :
24202   cat >>confdefs.h <<_ACEOF
24203 #define HAVE__HYPOTL 1
24204 _ACEOF
24205
24206 fi
24207 done
24208
24209     fi
24210   fi
24211
24212
24213
24214
24215
24216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24217 $as_echo_n "checking for ldexpl declaration... " >&6; }
24218   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24219     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24220   $as_echo_n "(cached) " >&6
24221 else
24222
24223
24224       ac_ext=cpp
24225 ac_cpp='$CXXCPP $CPPFLAGS'
24226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229
24230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231 /* end confdefs.h.  */
24232 #include <math.h>
24233 int
24234 main ()
24235 {
24236  ldexpl(0, 0);
24237   ;
24238   return 0;
24239 }
24240 _ACEOF
24241 if ac_fn_cxx_try_compile "$LINENO"; then :
24242   glibcxx_cv_func_ldexpl_use=yes
24243 else
24244   glibcxx_cv_func_ldexpl_use=no
24245 fi
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247       ac_ext=c
24248 ac_cpp='$CPP $CPPFLAGS'
24249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24252
24253
24254 fi
24255
24256   fi
24257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24258 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24259
24260   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24261     for ac_func in ldexpl
24262 do :
24263   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24264 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24265   cat >>confdefs.h <<_ACEOF
24266 #define HAVE_LDEXPL 1
24267 _ACEOF
24268
24269 fi
24270 done
24271
24272   else
24273
24274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24275 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24276   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24277     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24278   $as_echo_n "(cached) " >&6
24279 else
24280
24281
24282       ac_ext=cpp
24283 ac_cpp='$CXXCPP $CPPFLAGS'
24284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24287
24288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h.  */
24290 #include <math.h>
24291 int
24292 main ()
24293 {
24294  _ldexpl(0, 0);
24295   ;
24296   return 0;
24297 }
24298 _ACEOF
24299 if ac_fn_cxx_try_compile "$LINENO"; then :
24300   glibcxx_cv_func__ldexpl_use=yes
24301 else
24302   glibcxx_cv_func__ldexpl_use=no
24303 fi
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305       ac_ext=c
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24310
24311
24312 fi
24313
24314   fi
24315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24316 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24317
24318     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24319       for ac_func in _ldexpl
24320 do :
24321   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24322 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24323   cat >>confdefs.h <<_ACEOF
24324 #define HAVE__LDEXPL 1
24325 _ACEOF
24326
24327 fi
24328 done
24329
24330     fi
24331   fi
24332
24333
24334
24335
24336
24337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24338 $as_echo_n "checking for logl declaration... " >&6; }
24339   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24340     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24341   $as_echo_n "(cached) " >&6
24342 else
24343
24344
24345       ac_ext=cpp
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350
24351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h.  */
24353 #include <math.h>
24354                       #ifdef HAVE_IEEEFP_H
24355                       #include <ieeefp.h>
24356                       #endif
24357
24358 int
24359 main ()
24360 {
24361  logl(0);
24362   ;
24363   return 0;
24364 }
24365 _ACEOF
24366 if ac_fn_cxx_try_compile "$LINENO"; then :
24367   glibcxx_cv_func_logl_use=yes
24368 else
24369   glibcxx_cv_func_logl_use=no
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372       ac_ext=c
24373 ac_cpp='$CPP $CPPFLAGS'
24374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24377
24378
24379 fi
24380
24381   fi
24382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24383 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24384
24385   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24386     for ac_func in logl
24387 do :
24388   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24389 if test "x$ac_cv_func_logl" = x""yes; then :
24390   cat >>confdefs.h <<_ACEOF
24391 #define HAVE_LOGL 1
24392 _ACEOF
24393
24394 fi
24395 done
24396
24397   else
24398
24399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24400 $as_echo_n "checking for _logl declaration... " >&6; }
24401   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24402     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24403   $as_echo_n "(cached) " >&6
24404 else
24405
24406
24407       ac_ext=cpp
24408 ac_cpp='$CXXCPP $CPPFLAGS'
24409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24412
24413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h.  */
24415 #include <math.h>
24416                       #ifdef HAVE_IEEEFP_H
24417                       #include <ieeefp.h>
24418                       #endif
24419
24420 int
24421 main ()
24422 {
24423  _logl(0);
24424   ;
24425   return 0;
24426 }
24427 _ACEOF
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429   glibcxx_cv_func__logl_use=yes
24430 else
24431   glibcxx_cv_func__logl_use=no
24432 fi
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434       ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24439
24440
24441 fi
24442
24443   fi
24444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24445 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24446
24447     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24448       for ac_func in _logl
24449 do :
24450   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24451 if test "x$ac_cv_func__logl" = x""yes; then :
24452   cat >>confdefs.h <<_ACEOF
24453 #define HAVE__LOGL 1
24454 _ACEOF
24455
24456 fi
24457 done
24458
24459     fi
24460   fi
24461
24462
24463
24464
24465
24466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24467 $as_echo_n "checking for log10l declaration... " >&6; }
24468   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24469     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24470   $as_echo_n "(cached) " >&6
24471 else
24472
24473
24474       ac_ext=cpp
24475 ac_cpp='$CXXCPP $CPPFLAGS'
24476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24479
24480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24481 /* end confdefs.h.  */
24482 #include <math.h>
24483                       #ifdef HAVE_IEEEFP_H
24484                       #include <ieeefp.h>
24485                       #endif
24486
24487 int
24488 main ()
24489 {
24490  log10l(0);
24491   ;
24492   return 0;
24493 }
24494 _ACEOF
24495 if ac_fn_cxx_try_compile "$LINENO"; then :
24496   glibcxx_cv_func_log10l_use=yes
24497 else
24498   glibcxx_cv_func_log10l_use=no
24499 fi
24500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24501       ac_ext=c
24502 ac_cpp='$CPP $CPPFLAGS'
24503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24506
24507
24508 fi
24509
24510   fi
24511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24512 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24513
24514   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24515     for ac_func in log10l
24516 do :
24517   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24518 if test "x$ac_cv_func_log10l" = x""yes; then :
24519   cat >>confdefs.h <<_ACEOF
24520 #define HAVE_LOG10L 1
24521 _ACEOF
24522
24523 fi
24524 done
24525
24526   else
24527
24528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24529 $as_echo_n "checking for _log10l declaration... " >&6; }
24530   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24531     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24532   $as_echo_n "(cached) " >&6
24533 else
24534
24535
24536       ac_ext=cpp
24537 ac_cpp='$CXXCPP $CPPFLAGS'
24538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24541
24542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h.  */
24544 #include <math.h>
24545                       #ifdef HAVE_IEEEFP_H
24546                       #include <ieeefp.h>
24547                       #endif
24548
24549 int
24550 main ()
24551 {
24552  _log10l(0);
24553   ;
24554   return 0;
24555 }
24556 _ACEOF
24557 if ac_fn_cxx_try_compile "$LINENO"; then :
24558   glibcxx_cv_func__log10l_use=yes
24559 else
24560   glibcxx_cv_func__log10l_use=no
24561 fi
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563       ac_ext=c
24564 ac_cpp='$CPP $CPPFLAGS'
24565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24568
24569
24570 fi
24571
24572   fi
24573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24574 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24575
24576     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24577       for ac_func in _log10l
24578 do :
24579   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24580 if test "x$ac_cv_func__log10l" = x""yes; then :
24581   cat >>confdefs.h <<_ACEOF
24582 #define HAVE__LOG10L 1
24583 _ACEOF
24584
24585 fi
24586 done
24587
24588     fi
24589   fi
24590
24591
24592
24593
24594
24595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24596 $as_echo_n "checking for modfl declaration... " >&6; }
24597   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24598     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24599   $as_echo_n "(cached) " >&6
24600 else
24601
24602
24603       ac_ext=cpp
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24608
24609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24610 /* end confdefs.h.  */
24611 #include <math.h>
24612 int
24613 main ()
24614 {
24615  modfl(0, 0);
24616   ;
24617   return 0;
24618 }
24619 _ACEOF
24620 if ac_fn_cxx_try_compile "$LINENO"; then :
24621   glibcxx_cv_func_modfl_use=yes
24622 else
24623   glibcxx_cv_func_modfl_use=no
24624 fi
24625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24626       ac_ext=c
24627 ac_cpp='$CPP $CPPFLAGS'
24628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24631
24632
24633 fi
24634
24635   fi
24636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24637 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24638
24639   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24640     for ac_func in modfl
24641 do :
24642   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24643 if test "x$ac_cv_func_modfl" = x""yes; then :
24644   cat >>confdefs.h <<_ACEOF
24645 #define HAVE_MODFL 1
24646 _ACEOF
24647
24648 fi
24649 done
24650
24651   else
24652
24653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24654 $as_echo_n "checking for _modfl declaration... " >&6; }
24655   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24656     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24657   $as_echo_n "(cached) " >&6
24658 else
24659
24660
24661       ac_ext=cpp
24662 ac_cpp='$CXXCPP $CPPFLAGS'
24663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24666
24667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h.  */
24669 #include <math.h>
24670 int
24671 main ()
24672 {
24673  _modfl(0, 0);
24674   ;
24675   return 0;
24676 }
24677 _ACEOF
24678 if ac_fn_cxx_try_compile "$LINENO"; then :
24679   glibcxx_cv_func__modfl_use=yes
24680 else
24681   glibcxx_cv_func__modfl_use=no
24682 fi
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24684       ac_ext=c
24685 ac_cpp='$CPP $CPPFLAGS'
24686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24689
24690
24691 fi
24692
24693   fi
24694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24695 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24696
24697     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24698       for ac_func in _modfl
24699 do :
24700   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24701 if test "x$ac_cv_func__modfl" = x""yes; then :
24702   cat >>confdefs.h <<_ACEOF
24703 #define HAVE__MODFL 1
24704 _ACEOF
24705
24706 fi
24707 done
24708
24709     fi
24710   fi
24711
24712
24713
24714
24715
24716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24717 $as_echo_n "checking for powl declaration... " >&6; }
24718   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24719     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24720   $as_echo_n "(cached) " >&6
24721 else
24722
24723
24724       ac_ext=cpp
24725 ac_cpp='$CXXCPP $CPPFLAGS'
24726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24729
24730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h.  */
24732 #include <math.h>
24733 int
24734 main ()
24735 {
24736  powl(0, 0);
24737   ;
24738   return 0;
24739 }
24740 _ACEOF
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742   glibcxx_cv_func_powl_use=yes
24743 else
24744   glibcxx_cv_func_powl_use=no
24745 fi
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747       ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24752
24753
24754 fi
24755
24756   fi
24757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24758 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24759
24760   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24761     for ac_func in powl
24762 do :
24763   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24764 if test "x$ac_cv_func_powl" = x""yes; then :
24765   cat >>confdefs.h <<_ACEOF
24766 #define HAVE_POWL 1
24767 _ACEOF
24768
24769 fi
24770 done
24771
24772   else
24773
24774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24775 $as_echo_n "checking for _powl declaration... " >&6; }
24776   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24777     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24778   $as_echo_n "(cached) " >&6
24779 else
24780
24781
24782       ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24787
24788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h.  */
24790 #include <math.h>
24791 int
24792 main ()
24793 {
24794  _powl(0, 0);
24795   ;
24796   return 0;
24797 }
24798 _ACEOF
24799 if ac_fn_cxx_try_compile "$LINENO"; then :
24800   glibcxx_cv_func__powl_use=yes
24801 else
24802   glibcxx_cv_func__powl_use=no
24803 fi
24804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24805       ac_ext=c
24806 ac_cpp='$CPP $CPPFLAGS'
24807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24810
24811
24812 fi
24813
24814   fi
24815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24816 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24817
24818     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24819       for ac_func in _powl
24820 do :
24821   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24822 if test "x$ac_cv_func__powl" = x""yes; then :
24823   cat >>confdefs.h <<_ACEOF
24824 #define HAVE__POWL 1
24825 _ACEOF
24826
24827 fi
24828 done
24829
24830     fi
24831   fi
24832
24833
24834
24835
24836
24837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24838 $as_echo_n "checking for sqrtl declaration... " >&6; }
24839   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24840     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24841   $as_echo_n "(cached) " >&6
24842 else
24843
24844
24845       ac_ext=cpp
24846 ac_cpp='$CXXCPP $CPPFLAGS'
24847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24850
24851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h.  */
24853 #include <math.h>
24854                       #ifdef HAVE_IEEEFP_H
24855                       #include <ieeefp.h>
24856                       #endif
24857
24858 int
24859 main ()
24860 {
24861  sqrtl(0);
24862   ;
24863   return 0;
24864 }
24865 _ACEOF
24866 if ac_fn_cxx_try_compile "$LINENO"; then :
24867   glibcxx_cv_func_sqrtl_use=yes
24868 else
24869   glibcxx_cv_func_sqrtl_use=no
24870 fi
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872       ac_ext=c
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24877
24878
24879 fi
24880
24881   fi
24882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24883 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24884
24885   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24886     for ac_func in sqrtl
24887 do :
24888   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24889 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24890   cat >>confdefs.h <<_ACEOF
24891 #define HAVE_SQRTL 1
24892 _ACEOF
24893
24894 fi
24895 done
24896
24897   else
24898
24899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24900 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24901   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24902     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24903   $as_echo_n "(cached) " >&6
24904 else
24905
24906
24907       ac_ext=cpp
24908 ac_cpp='$CXXCPP $CPPFLAGS'
24909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24912
24913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h.  */
24915 #include <math.h>
24916                       #ifdef HAVE_IEEEFP_H
24917                       #include <ieeefp.h>
24918                       #endif
24919
24920 int
24921 main ()
24922 {
24923  _sqrtl(0);
24924   ;
24925   return 0;
24926 }
24927 _ACEOF
24928 if ac_fn_cxx_try_compile "$LINENO"; then :
24929   glibcxx_cv_func__sqrtl_use=yes
24930 else
24931   glibcxx_cv_func__sqrtl_use=no
24932 fi
24933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934       ac_ext=c
24935 ac_cpp='$CPP $CPPFLAGS'
24936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24939
24940
24941 fi
24942
24943   fi
24944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24945 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24946
24947     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24948       for ac_func in _sqrtl
24949 do :
24950   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24951 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24952   cat >>confdefs.h <<_ACEOF
24953 #define HAVE__SQRTL 1
24954 _ACEOF
24955
24956 fi
24957 done
24958
24959     fi
24960   fi
24961
24962
24963
24964
24965
24966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24967 $as_echo_n "checking for sincosl declaration... " >&6; }
24968   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24969     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24970   $as_echo_n "(cached) " >&6
24971 else
24972
24973
24974       ac_ext=cpp
24975 ac_cpp='$CXXCPP $CPPFLAGS'
24976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24979
24980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h.  */
24982 #include <math.h>
24983 int
24984 main ()
24985 {
24986  sincosl(0, 0, 0);
24987   ;
24988   return 0;
24989 }
24990 _ACEOF
24991 if ac_fn_cxx_try_compile "$LINENO"; then :
24992   glibcxx_cv_func_sincosl_use=yes
24993 else
24994   glibcxx_cv_func_sincosl_use=no
24995 fi
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997       ac_ext=c
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25002
25003
25004 fi
25005
25006   fi
25007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25008 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25009
25010   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25011     for ac_func in sincosl
25012 do :
25013   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25014 if test "x$ac_cv_func_sincosl" = x""yes; then :
25015   cat >>confdefs.h <<_ACEOF
25016 #define HAVE_SINCOSL 1
25017 _ACEOF
25018
25019 fi
25020 done
25021
25022   else
25023
25024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25025 $as_echo_n "checking for _sincosl declaration... " >&6; }
25026   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25027     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25028   $as_echo_n "(cached) " >&6
25029 else
25030
25031
25032       ac_ext=cpp
25033 ac_cpp='$CXXCPP $CPPFLAGS'
25034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25037
25038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h.  */
25040 #include <math.h>
25041 int
25042 main ()
25043 {
25044  _sincosl(0, 0, 0);
25045   ;
25046   return 0;
25047 }
25048 _ACEOF
25049 if ac_fn_cxx_try_compile "$LINENO"; then :
25050   glibcxx_cv_func__sincosl_use=yes
25051 else
25052   glibcxx_cv_func__sincosl_use=no
25053 fi
25054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055       ac_ext=c
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060
25061
25062 fi
25063
25064   fi
25065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25066 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25067
25068     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25069       for ac_func in _sincosl
25070 do :
25071   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25072 if test "x$ac_cv_func__sincosl" = x""yes; then :
25073   cat >>confdefs.h <<_ACEOF
25074 #define HAVE__SINCOSL 1
25075 _ACEOF
25076
25077 fi
25078 done
25079
25080     fi
25081   fi
25082
25083
25084
25085
25086
25087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25088 $as_echo_n "checking for finitel declaration... " >&6; }
25089   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25090     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25091   $as_echo_n "(cached) " >&6
25092 else
25093
25094
25095       ac_ext=cpp
25096 ac_cpp='$CXXCPP $CPPFLAGS'
25097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25100
25101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102 /* end confdefs.h.  */
25103 #include <math.h>
25104                       #ifdef HAVE_IEEEFP_H
25105                       #include <ieeefp.h>
25106                       #endif
25107
25108 int
25109 main ()
25110 {
25111  finitel(0);
25112   ;
25113   return 0;
25114 }
25115 _ACEOF
25116 if ac_fn_cxx_try_compile "$LINENO"; then :
25117   glibcxx_cv_func_finitel_use=yes
25118 else
25119   glibcxx_cv_func_finitel_use=no
25120 fi
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122       ac_ext=c
25123 ac_cpp='$CPP $CPPFLAGS'
25124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25127
25128
25129 fi
25130
25131   fi
25132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25133 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25134
25135   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25136     for ac_func in finitel
25137 do :
25138   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25139 if test "x$ac_cv_func_finitel" = x""yes; then :
25140   cat >>confdefs.h <<_ACEOF
25141 #define HAVE_FINITEL 1
25142 _ACEOF
25143
25144 fi
25145 done
25146
25147   else
25148
25149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25150 $as_echo_n "checking for _finitel declaration... " >&6; }
25151   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25152     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25153   $as_echo_n "(cached) " >&6
25154 else
25155
25156
25157       ac_ext=cpp
25158 ac_cpp='$CXXCPP $CPPFLAGS'
25159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25162
25163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h.  */
25165 #include <math.h>
25166                       #ifdef HAVE_IEEEFP_H
25167                       #include <ieeefp.h>
25168                       #endif
25169
25170 int
25171 main ()
25172 {
25173  _finitel(0);
25174   ;
25175   return 0;
25176 }
25177 _ACEOF
25178 if ac_fn_cxx_try_compile "$LINENO"; then :
25179   glibcxx_cv_func__finitel_use=yes
25180 else
25181   glibcxx_cv_func__finitel_use=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25184       ac_ext=c
25185 ac_cpp='$CPP $CPPFLAGS'
25186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25189
25190
25191 fi
25192
25193   fi
25194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25195 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25196
25197     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25198       for ac_func in _finitel
25199 do :
25200   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25201 if test "x$ac_cv_func__finitel" = x""yes; then :
25202   cat >>confdefs.h <<_ACEOF
25203 #define HAVE__FINITEL 1
25204 _ACEOF
25205
25206 fi
25207 done
25208
25209     fi
25210   fi
25211
25212
25213
25214
25215   LIBS="$ac_save_LIBS"
25216   CXXFLAGS="$ac_save_CXXFLAGS"
25217
25218
25219   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25220   ac_save_CXXFLAGS="$CXXFLAGS"
25221   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25222
25223
25224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25225 $as_echo_n "checking for strtold declaration... " >&6; }
25226   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25227     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25228   $as_echo_n "(cached) " >&6
25229 else
25230
25231
25232       ac_ext=cpp
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25237
25238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25239 /* end confdefs.h.  */
25240 #include <stdlib.h>
25241 int
25242 main ()
25243 {
25244  strtold(0, 0);
25245   ;
25246   return 0;
25247 }
25248 _ACEOF
25249 if ac_fn_cxx_try_compile "$LINENO"; then :
25250   glibcxx_cv_func_strtold_use=yes
25251 else
25252   glibcxx_cv_func_strtold_use=no
25253 fi
25254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25255       ac_ext=c
25256 ac_cpp='$CPP $CPPFLAGS'
25257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25260
25261
25262 fi
25263
25264   fi
25265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25266 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25267   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25268     for ac_func in strtold
25269 do :
25270   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25271 if test "x$ac_cv_func_strtold" = x""yes; then :
25272   cat >>confdefs.h <<_ACEOF
25273 #define HAVE_STRTOLD 1
25274 _ACEOF
25275
25276 fi
25277 done
25278
25279   fi
25280
25281
25282
25283
25284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25285 $as_echo_n "checking for strtof declaration... " >&6; }
25286   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25287     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25288   $as_echo_n "(cached) " >&6
25289 else
25290
25291
25292       ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25297
25298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h.  */
25300 #include <stdlib.h>
25301 int
25302 main ()
25303 {
25304  strtof(0, 0);
25305   ;
25306   return 0;
25307 }
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310   glibcxx_cv_func_strtof_use=yes
25311 else
25312   glibcxx_cv_func_strtof_use=no
25313 fi
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315       ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25320
25321
25322 fi
25323
25324   fi
25325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25326 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25327   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25328     for ac_func in strtof
25329 do :
25330   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25331 if test "x$ac_cv_func_strtof" = x""yes; then :
25332   cat >>confdefs.h <<_ACEOF
25333 #define HAVE_STRTOF 1
25334 _ACEOF
25335
25336 fi
25337 done
25338
25339   fi
25340
25341
25342
25343
25344   CXXFLAGS="$ac_save_CXXFLAGS"
25345
25346
25347   # For /dev/random and /dev/urandom for TR1.
25348
25349
25350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25351 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25352   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25353   $as_echo_n "(cached) " >&6
25354 else
25355
25356     if test -r /dev/random && test -r /dev/urandom; then
25357       glibcxx_cv_random_tr1=yes;
25358     else
25359       glibcxx_cv_random_tr1=no;
25360     fi
25361
25362 fi
25363
25364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25365 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25366
25367   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25368
25369 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25370
25371   fi
25372
25373
25374
25375   # For TLS support.
25376
25377
25378    # Check whether --enable-tls was given.
25379 if test "${enable_tls+set}" = set; then :
25380   enableval=$enable_tls;
25381       case "$enableval" in
25382        yes|no) ;;
25383        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25384       esac
25385
25386 else
25387   enable_tls=yes
25388 fi
25389
25390
25391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25392 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25393 if test "${gcc_cv_have_tls+set}" = set; then :
25394   $as_echo_n "(cached) " >&6
25395 else
25396
25397     if test "$cross_compiling" = yes; then :
25398                 if test x$gcc_no_link = xyes; then
25399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25400 fi
25401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402 /* end confdefs.h.  */
25403 __thread int a; int b; int main() { return a = b; }
25404 _ACEOF
25405 if ac_fn_c_try_link "$LINENO"; then :
25406   chktls_save_LDFLAGS="$LDFLAGS"
25407                           case $host in
25408             *-*-linux*)
25409               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25410               ;;
25411           esac
25412           chktls_save_CFLAGS="$CFLAGS"
25413           CFLAGS="-fPIC $CFLAGS"
25414                   if test x$gcc_no_link = xyes; then
25415   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25416 fi
25417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25418 /* end confdefs.h.  */
25419 int f() { return 0; }
25420 _ACEOF
25421 if ac_fn_c_try_link "$LINENO"; then :
25422   if test x$gcc_no_link = xyes; then
25423   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25424 fi
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h.  */
25427 __thread int a; int b; int f() { return a = b; }
25428 _ACEOF
25429 if ac_fn_c_try_link "$LINENO"; then :
25430   gcc_cv_have_tls=yes
25431 else
25432   gcc_cv_have_tls=no
25433 fi
25434 rm -f core conftest.err conftest.$ac_objext \
25435     conftest$ac_exeext conftest.$ac_ext
25436 else
25437   gcc_cv_have_tls=yes
25438 fi
25439 rm -f core conftest.err conftest.$ac_objext \
25440     conftest$ac_exeext conftest.$ac_ext
25441           CFLAGS="$chktls_save_CFLAGS"
25442           LDFLAGS="$chktls_save_LDFLAGS"
25443 else
25444   gcc_cv_have_tls=no
25445 fi
25446 rm -f core conftest.err conftest.$ac_objext \
25447     conftest$ac_exeext conftest.$ac_ext
25448
25449
25450 else
25451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h.  */
25453 __thread int a; int b; int main() { return a = b; }
25454 _ACEOF
25455 if ac_fn_c_try_run "$LINENO"; then :
25456                       chktls_save_LDFLAGS="$LDFLAGS"
25457       LDFLAGS="-static $LDFLAGS"
25458       if test x$gcc_no_link = xyes; then
25459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25460 fi
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h.  */
25463 int main() { return 0; }
25464 _ACEOF
25465 if ac_fn_c_try_link "$LINENO"; then :
25466   if test "$cross_compiling" = yes; then :
25467   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25469 as_fn_error "cannot run test program while cross compiling
25470 See \`config.log' for more details." "$LINENO" 5; }
25471 else
25472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h.  */
25474 __thread int a; int b; int main() { return a = b; }
25475 _ACEOF
25476 if ac_fn_c_try_run "$LINENO"; then :
25477   gcc_cv_have_tls=yes
25478 else
25479   gcc_cv_have_tls=no
25480 fi
25481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25482   conftest.$ac_objext conftest.beam conftest.$ac_ext
25483 fi
25484
25485 else
25486   gcc_cv_have_tls=yes
25487 fi
25488 rm -f core conftest.err conftest.$ac_objext \
25489     conftest$ac_exeext conftest.$ac_ext
25490       LDFLAGS="$chktls_save_LDFLAGS"
25491       if test $gcc_cv_have_tls = yes; then
25492                                                 chktls_save_CFLAGS="$CFLAGS"
25493         thread_CFLAGS=failed
25494         for flag in '' '-pthread' '-lpthread'; do
25495           CFLAGS="$flag $chktls_save_CFLAGS"
25496           if test x$gcc_no_link = xyes; then
25497   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25498 fi
25499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h.  */
25501 #include <pthread.h>
25502                 void *g(void *d) { return NULL; }
25503 int
25504 main ()
25505 {
25506 pthread_t t; pthread_create(&t,NULL,g,NULL);
25507   ;
25508   return 0;
25509 }
25510 _ACEOF
25511 if ac_fn_c_try_link "$LINENO"; then :
25512   thread_CFLAGS="$flag"
25513 fi
25514 rm -f core conftest.err conftest.$ac_objext \
25515     conftest$ac_exeext conftest.$ac_ext
25516           if test "X$thread_CFLAGS" != Xfailed; then
25517             break
25518           fi
25519         done
25520         CFLAGS="$chktls_save_CFLAGS"
25521         if test "X$thread_CFLAGS" != Xfailed; then
25522           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25523           if test "$cross_compiling" = yes; then :
25524   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25526 as_fn_error "cannot run test program while cross compiling
25527 See \`config.log' for more details." "$LINENO" 5; }
25528 else
25529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h.  */
25531 #include <pthread.h>
25532                 __thread int a;
25533                 static int *a_in_other_thread;
25534                 static void *
25535                 thread_func (void *arg)
25536                 {
25537                   a_in_other_thread = &a;
25538                   return (void *)0;
25539                 }
25540 int
25541 main ()
25542 {
25543 pthread_t thread;
25544                 void *thread_retval;
25545                 int *a_in_main_thread;
25546                 if (pthread_create (&thread, (pthread_attr_t *)0,
25547                                     thread_func, (void *)0))
25548                   return 0;
25549                 a_in_main_thread = &a;
25550                 if (pthread_join (thread, &thread_retval))
25551                   return 0;
25552                 return (a_in_other_thread == a_in_main_thread);
25553   ;
25554   return 0;
25555 }
25556 _ACEOF
25557 if ac_fn_c_try_run "$LINENO"; then :
25558   gcc_cv_have_tls=yes
25559 else
25560   gcc_cv_have_tls=no
25561 fi
25562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25563   conftest.$ac_objext conftest.beam conftest.$ac_ext
25564 fi
25565
25566           CFLAGS="$chktls_save_CFLAGS"
25567         fi
25568       fi
25569 else
25570   gcc_cv_have_tls=no
25571 fi
25572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25573   conftest.$ac_objext conftest.beam conftest.$ac_ext
25574 fi
25575
25576 fi
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25578 $as_echo "$gcc_cv_have_tls" >&6; }
25579   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25580
25581 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25582
25583   fi
25584
25585   # For iconv support.
25586
25587       if test "X$prefix" = "XNONE"; then
25588     acl_final_prefix="$ac_default_prefix"
25589   else
25590     acl_final_prefix="$prefix"
25591   fi
25592   if test "X$exec_prefix" = "XNONE"; then
25593     acl_final_exec_prefix='${prefix}'
25594   else
25595     acl_final_exec_prefix="$exec_prefix"
25596   fi
25597   acl_save_prefix="$prefix"
25598   prefix="$acl_final_prefix"
25599   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25600   prefix="$acl_save_prefix"
25601
25602
25603 # Check whether --with-gnu-ld was given.
25604 if test "${with_gnu_ld+set}" = set; then :
25605   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25606 else
25607   with_gnu_ld=no
25608 fi
25609
25610 # Prepare PATH_SEPARATOR.
25611 # The user is always right.
25612 if test "${PATH_SEPARATOR+set}" != set; then
25613   echo "#! /bin/sh" >conf$$.sh
25614   echo  "exit 0"   >>conf$$.sh
25615   chmod +x conf$$.sh
25616   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25617     PATH_SEPARATOR=';'
25618   else
25619     PATH_SEPARATOR=:
25620   fi
25621   rm -f conf$$.sh
25622 fi
25623 ac_prog=ld
25624 if test "$GCC" = yes; then
25625   # Check if gcc -print-prog-name=ld gives a path.
25626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25627 $as_echo_n "checking for ld used by GCC... " >&6; }
25628   case $host in
25629   *-*-mingw*)
25630     # gcc leaves a trailing carriage return which upsets mingw
25631     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25632   *)
25633     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25634   esac
25635   case $ac_prog in
25636     # Accept absolute paths.
25637     [\\/]* | [A-Za-z]:[\\/]*)
25638       re_direlt='/[^/][^/]*/\.\./'
25639       # Canonicalize the path of ld
25640       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25641       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25642         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25643       done
25644       test -z "$LD" && LD="$ac_prog"
25645       ;;
25646   "")
25647     # If it fails, then pretend we aren't using GCC.
25648     ac_prog=ld
25649     ;;
25650   *)
25651     # If it is relative, then search for the first ld in PATH.
25652     with_gnu_ld=unknown
25653     ;;
25654   esac
25655 elif test "$with_gnu_ld" = yes; then
25656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25657 $as_echo_n "checking for GNU ld... " >&6; }
25658 else
25659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25660 $as_echo_n "checking for non-GNU ld... " >&6; }
25661 fi
25662 if test "${acl_cv_path_LD+set}" = set; then :
25663   $as_echo_n "(cached) " >&6
25664 else
25665   if test -z "$LD"; then
25666   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25667   for ac_dir in $PATH; do
25668     test -z "$ac_dir" && ac_dir=.
25669     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25670       acl_cv_path_LD="$ac_dir/$ac_prog"
25671       # Check to see if the program is GNU ld.  I'd rather use --version,
25672       # but apparently some GNU ld's only accept -v.
25673       # Break only if it was the GNU/non-GNU ld that we prefer.
25674       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25675         test "$with_gnu_ld" != no && break
25676       else
25677         test "$with_gnu_ld" != yes && break
25678       fi
25679     fi
25680   done
25681   IFS="$ac_save_ifs"
25682 else
25683   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25684 fi
25685 fi
25686
25687 LD="$acl_cv_path_LD"
25688 if test -n "$LD"; then
25689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25690 $as_echo "$LD" >&6; }
25691 else
25692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25693 $as_echo "no" >&6; }
25694 fi
25695 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25697 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25698 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25699   $as_echo_n "(cached) " >&6
25700 else
25701   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25702 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25703   acl_cv_prog_gnu_ld=yes
25704 else
25705   acl_cv_prog_gnu_ld=no
25706 fi
25707 fi
25708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25709 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25710 with_gnu_ld=$acl_cv_prog_gnu_ld
25711
25712
25713
25714                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25715 $as_echo_n "checking for shared library run path origin... " >&6; }
25716 if test "${acl_cv_rpath+set}" = set; then :
25717   $as_echo_n "(cached) " >&6
25718 else
25719
25720     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25721     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25722     . ./conftest.sh
25723     rm -f ./conftest.sh
25724     acl_cv_rpath=done
25725
25726 fi
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25728 $as_echo "$acl_cv_rpath" >&6; }
25729   wl="$acl_cv_wl"
25730   libext="$acl_cv_libext"
25731   shlibext="$acl_cv_shlibext"
25732   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25733   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25734   hardcode_direct="$acl_cv_hardcode_direct"
25735   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25736     # Check whether --enable-rpath was given.
25737 if test "${enable_rpath+set}" = set; then :
25738   enableval=$enable_rpath; :
25739 else
25740   enable_rpath=yes
25741 fi
25742
25743
25744
25745
25746
25747
25748
25749
25750     use_additional=yes
25751
25752   acl_save_prefix="$prefix"
25753   prefix="$acl_final_prefix"
25754   acl_save_exec_prefix="$exec_prefix"
25755   exec_prefix="$acl_final_exec_prefix"
25756
25757     eval additional_includedir=\"$includedir\"
25758     eval additional_libdir=\"$libdir\"
25759
25760   exec_prefix="$acl_save_exec_prefix"
25761   prefix="$acl_save_prefix"
25762
25763
25764 # Check whether --with-libiconv-prefix was given.
25765 if test "${with_libiconv_prefix+set}" = set; then :
25766   withval=$with_libiconv_prefix;
25767     if test "X$withval" = "Xno"; then
25768       use_additional=no
25769     else
25770       if test "X$withval" = "X"; then
25771
25772   acl_save_prefix="$prefix"
25773   prefix="$acl_final_prefix"
25774   acl_save_exec_prefix="$exec_prefix"
25775   exec_prefix="$acl_final_exec_prefix"
25776
25777           eval additional_includedir=\"$includedir\"
25778           eval additional_libdir=\"$libdir\"
25779
25780   exec_prefix="$acl_save_exec_prefix"
25781   prefix="$acl_save_prefix"
25782
25783       else
25784         additional_includedir="$withval/include"
25785         additional_libdir="$withval/lib"
25786       fi
25787     fi
25788
25789 fi
25790
25791       LIBICONV=
25792   LTLIBICONV=
25793   INCICONV=
25794   rpathdirs=
25795   ltrpathdirs=
25796   names_already_handled=
25797   names_next_round='iconv '
25798   while test -n "$names_next_round"; do
25799     names_this_round="$names_next_round"
25800     names_next_round=
25801     for name in $names_this_round; do
25802       already_handled=
25803       for n in $names_already_handled; do
25804         if test "$n" = "$name"; then
25805           already_handled=yes
25806           break
25807         fi
25808       done
25809       if test -z "$already_handled"; then
25810         names_already_handled="$names_already_handled $name"
25811                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25812         eval value=\"\$HAVE_LIB$uppername\"
25813         if test -n "$value"; then
25814           if test "$value" = yes; then
25815             eval value=\"\$LIB$uppername\"
25816             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25817             eval value=\"\$LTLIB$uppername\"
25818             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25819           else
25820                                     :
25821           fi
25822         else
25823                               found_dir=
25824           found_la=
25825           found_so=
25826           found_a=
25827           if test $use_additional = yes; then
25828             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25829               found_dir="$additional_libdir"
25830               found_so="$additional_libdir/lib$name.$shlibext"
25831               if test -f "$additional_libdir/lib$name.la"; then
25832                 found_la="$additional_libdir/lib$name.la"
25833               fi
25834             else
25835               if test -f "$additional_libdir/lib$name.$libext"; then
25836                 found_dir="$additional_libdir"
25837                 found_a="$additional_libdir/lib$name.$libext"
25838                 if test -f "$additional_libdir/lib$name.la"; then
25839                   found_la="$additional_libdir/lib$name.la"
25840                 fi
25841               fi
25842             fi
25843           fi
25844           if test "X$found_dir" = "X"; then
25845             for x in $LDFLAGS $LTLIBICONV; do
25846
25847   acl_save_prefix="$prefix"
25848   prefix="$acl_final_prefix"
25849   acl_save_exec_prefix="$exec_prefix"
25850   exec_prefix="$acl_final_exec_prefix"
25851   eval x=\"$x\"
25852   exec_prefix="$acl_save_exec_prefix"
25853   prefix="$acl_save_prefix"
25854
25855               case "$x" in
25856                 -L*)
25857                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25858                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25859                     found_dir="$dir"
25860                     found_so="$dir/lib$name.$shlibext"
25861                     if test -f "$dir/lib$name.la"; then
25862                       found_la="$dir/lib$name.la"
25863                     fi
25864                   else
25865                     if test -f "$dir/lib$name.$libext"; then
25866                       found_dir="$dir"
25867                       found_a="$dir/lib$name.$libext"
25868                       if test -f "$dir/lib$name.la"; then
25869                         found_la="$dir/lib$name.la"
25870                       fi
25871                     fi
25872                   fi
25873                   ;;
25874               esac
25875               if test "X$found_dir" != "X"; then
25876                 break
25877               fi
25878             done
25879           fi
25880           if test "X$found_dir" != "X"; then
25881                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25882             if test "X$found_so" != "X"; then
25883                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25884                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25885               else
25886                                                                                 haveit=
25887                 for x in $ltrpathdirs; do
25888                   if test "X$x" = "X$found_dir"; then
25889                     haveit=yes
25890                     break
25891                   fi
25892                 done
25893                 if test -z "$haveit"; then
25894                   ltrpathdirs="$ltrpathdirs $found_dir"
25895                 fi
25896                                 if test "$hardcode_direct" = yes; then
25897                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25898                 else
25899                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25900                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25901                                                             haveit=
25902                     for x in $rpathdirs; do
25903                       if test "X$x" = "X$found_dir"; then
25904                         haveit=yes
25905                         break
25906                       fi
25907                     done
25908                     if test -z "$haveit"; then
25909                       rpathdirs="$rpathdirs $found_dir"
25910                     fi
25911                   else
25912                                                                                 haveit=
25913                     for x in $LDFLAGS $LIBICONV; do
25914
25915   acl_save_prefix="$prefix"
25916   prefix="$acl_final_prefix"
25917   acl_save_exec_prefix="$exec_prefix"
25918   exec_prefix="$acl_final_exec_prefix"
25919   eval x=\"$x\"
25920   exec_prefix="$acl_save_exec_prefix"
25921   prefix="$acl_save_prefix"
25922
25923                       if test "X$x" = "X-L$found_dir"; then
25924                         haveit=yes
25925                         break
25926                       fi
25927                     done
25928                     if test -z "$haveit"; then
25929                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25930                     fi
25931                     if test "$hardcode_minus_L" != no; then
25932                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25933                     else
25934                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25935                     fi
25936                   fi
25937                 fi
25938               fi
25939             else
25940               if test "X$found_a" != "X"; then
25941                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25942               else
25943                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25944               fi
25945             fi
25946                         additional_includedir=
25947             case "$found_dir" in
25948               */lib | */lib/)
25949                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25950                 additional_includedir="$basedir/include"
25951                 ;;
25952             esac
25953             if test "X$additional_includedir" != "X"; then
25954                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25955                 haveit=
25956                 if test "X$additional_includedir" = "X/usr/local/include"; then
25957                   if test -n "$GCC"; then
25958                     case $host_os in
25959                       linux*) haveit=yes;;
25960                     esac
25961                   fi
25962                 fi
25963                 if test -z "$haveit"; then
25964                   for x in $CPPFLAGS $INCICONV; do
25965
25966   acl_save_prefix="$prefix"
25967   prefix="$acl_final_prefix"
25968   acl_save_exec_prefix="$exec_prefix"
25969   exec_prefix="$acl_final_exec_prefix"
25970   eval x=\"$x\"
25971   exec_prefix="$acl_save_exec_prefix"
25972   prefix="$acl_save_prefix"
25973
25974                     if test "X$x" = "X-I$additional_includedir"; then
25975                       haveit=yes
25976                       break
25977                     fi
25978                   done
25979                   if test -z "$haveit"; then
25980                     if test -d "$additional_includedir"; then
25981                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25982                     fi
25983                   fi
25984                 fi
25985               fi
25986             fi
25987                         if test -n "$found_la"; then
25988                                                         save_libdir="$libdir"
25989               case "$found_la" in
25990                 */* | *\\*) . "$found_la" ;;
25991                 *) . "./$found_la" ;;
25992               esac
25993               libdir="$save_libdir"
25994                             for dep in $dependency_libs; do
25995                 case "$dep" in
25996                   -L*)
25997                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25998                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
25999                       haveit=
26000                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26001                         if test -n "$GCC"; then
26002                           case $host_os in
26003                             linux*) haveit=yes;;
26004                           esac
26005                         fi
26006                       fi
26007                       if test -z "$haveit"; then
26008                         haveit=
26009                         for x in $LDFLAGS $LIBICONV; do
26010
26011   acl_save_prefix="$prefix"
26012   prefix="$acl_final_prefix"
26013   acl_save_exec_prefix="$exec_prefix"
26014   exec_prefix="$acl_final_exec_prefix"
26015   eval x=\"$x\"
26016   exec_prefix="$acl_save_exec_prefix"
26017   prefix="$acl_save_prefix"
26018
26019                           if test "X$x" = "X-L$additional_libdir"; then
26020                             haveit=yes
26021                             break
26022                           fi
26023                         done
26024                         if test -z "$haveit"; then
26025                           if test -d "$additional_libdir"; then
26026                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26027                           fi
26028                         fi
26029                         haveit=
26030                         for x in $LDFLAGS $LTLIBICONV; do
26031
26032   acl_save_prefix="$prefix"
26033   prefix="$acl_final_prefix"
26034   acl_save_exec_prefix="$exec_prefix"
26035   exec_prefix="$acl_final_exec_prefix"
26036   eval x=\"$x\"
26037   exec_prefix="$acl_save_exec_prefix"
26038   prefix="$acl_save_prefix"
26039
26040                           if test "X$x" = "X-L$additional_libdir"; then
26041                             haveit=yes
26042                             break
26043                           fi
26044                         done
26045                         if test -z "$haveit"; then
26046                           if test -d "$additional_libdir"; then
26047                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26048                           fi
26049                         fi
26050                       fi
26051                     fi
26052                     ;;
26053                   -R*)
26054                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26055                     if test "$enable_rpath" != no; then
26056                                                                   haveit=
26057                       for x in $rpathdirs; do
26058                         if test "X$x" = "X$dir"; then
26059                           haveit=yes
26060                           break
26061                         fi
26062                       done
26063                       if test -z "$haveit"; then
26064                         rpathdirs="$rpathdirs $dir"
26065                       fi
26066                                                                   haveit=
26067                       for x in $ltrpathdirs; do
26068                         if test "X$x" = "X$dir"; then
26069                           haveit=yes
26070                           break
26071                         fi
26072                       done
26073                       if test -z "$haveit"; then
26074                         ltrpathdirs="$ltrpathdirs $dir"
26075                       fi
26076                     fi
26077                     ;;
26078                   -l*)
26079                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26080                     ;;
26081                   *.la)
26082                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26083                     ;;
26084                   *)
26085                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26086                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26087                     ;;
26088                 esac
26089               done
26090             fi
26091           else
26092                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26093             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26094           fi
26095         fi
26096       fi
26097     done
26098   done
26099   if test "X$rpathdirs" != "X"; then
26100     if test -n "$hardcode_libdir_separator"; then
26101                         alldirs=
26102       for found_dir in $rpathdirs; do
26103         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26104       done
26105             acl_save_libdir="$libdir"
26106       libdir="$alldirs"
26107       eval flag=\"$hardcode_libdir_flag_spec\"
26108       libdir="$acl_save_libdir"
26109       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26110     else
26111             for found_dir in $rpathdirs; do
26112         acl_save_libdir="$libdir"
26113         libdir="$found_dir"
26114         eval flag=\"$hardcode_libdir_flag_spec\"
26115         libdir="$acl_save_libdir"
26116         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26117       done
26118     fi
26119   fi
26120   if test "X$ltrpathdirs" != "X"; then
26121             for found_dir in $ltrpathdirs; do
26122       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26123     done
26124   fi
26125
26126
26127
26128
26129
26130
26131
26132           am_save_CPPFLAGS="$CPPFLAGS"
26133
26134   for element in $INCICONV; do
26135     haveit=
26136     for x in $CPPFLAGS; do
26137
26138   acl_save_prefix="$prefix"
26139   prefix="$acl_final_prefix"
26140   acl_save_exec_prefix="$exec_prefix"
26141   exec_prefix="$acl_final_exec_prefix"
26142   eval x=\"$x\"
26143   exec_prefix="$acl_save_exec_prefix"
26144   prefix="$acl_save_prefix"
26145
26146       if test "X$x" = "X$element"; then
26147         haveit=yes
26148         break
26149       fi
26150     done
26151     if test -z "$haveit"; then
26152       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26153     fi
26154   done
26155
26156
26157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26158 $as_echo_n "checking for iconv... " >&6; }
26159 if test "${am_cv_func_iconv+set}" = set; then :
26160   $as_echo_n "(cached) " >&6
26161 else
26162
26163     am_cv_func_iconv="no, consider installing GNU libiconv"
26164     am_cv_lib_iconv=no
26165     if test x$gcc_no_link = xyes; then
26166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26167 fi
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h.  */
26170 #include <stdlib.h>
26171 #include <iconv.h>
26172 int
26173 main ()
26174 {
26175 iconv_t cd = iconv_open("","");
26176        iconv(cd,NULL,NULL,NULL,NULL);
26177        iconv_close(cd);
26178   ;
26179   return 0;
26180 }
26181 _ACEOF
26182 if ac_fn_c_try_link "$LINENO"; then :
26183   am_cv_func_iconv=yes
26184 fi
26185 rm -f core conftest.err conftest.$ac_objext \
26186     conftest$ac_exeext conftest.$ac_ext
26187     if test "$am_cv_func_iconv" != yes; then
26188       am_save_LIBS="$LIBS"
26189       LIBS="$LIBS $LIBICONV"
26190       if test x$gcc_no_link = xyes; then
26191   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26192 fi
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h.  */
26195 #include <stdlib.h>
26196 #include <iconv.h>
26197 int
26198 main ()
26199 {
26200 iconv_t cd = iconv_open("","");
26201          iconv(cd,NULL,NULL,NULL,NULL);
26202          iconv_close(cd);
26203   ;
26204   return 0;
26205 }
26206 _ACEOF
26207 if ac_fn_c_try_link "$LINENO"; then :
26208   am_cv_lib_iconv=yes
26209         am_cv_func_iconv=yes
26210 fi
26211 rm -f core conftest.err conftest.$ac_objext \
26212     conftest$ac_exeext conftest.$ac_ext
26213       LIBS="$am_save_LIBS"
26214     fi
26215
26216 fi
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26218 $as_echo "$am_cv_func_iconv" >&6; }
26219   if test "$am_cv_func_iconv" = yes; then
26220
26221 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26222
26223   fi
26224   if test "$am_cv_lib_iconv" = yes; then
26225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26226 $as_echo_n "checking how to link with libiconv... " >&6; }
26227     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26228 $as_echo "$LIBICONV" >&6; }
26229   else
26230             CPPFLAGS="$am_save_CPPFLAGS"
26231     LIBICONV=
26232     LTLIBICONV=
26233   fi
26234
26235
26236
26237   if test "$am_cv_func_iconv" = yes; then
26238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26239 $as_echo_n "checking for iconv declaration... " >&6; }
26240     if test "${am_cv_proto_iconv+set}" = set; then :
26241   $as_echo_n "(cached) " >&6
26242 else
26243
26244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h.  */
26246
26247 #include <stdlib.h>
26248 #include <iconv.h>
26249 extern
26250 #ifdef __cplusplus
26251 "C"
26252 #endif
26253 #if defined(__STDC__) || defined(__cplusplus)
26254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26255 #else
26256 size_t iconv();
26257 #endif
26258
26259 int
26260 main ()
26261 {
26262
26263   ;
26264   return 0;
26265 }
26266 _ACEOF
26267 if ac_fn_c_try_compile "$LINENO"; then :
26268   am_cv_proto_iconv_arg1=""
26269 else
26270   am_cv_proto_iconv_arg1="const"
26271 fi
26272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26273       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);"
26274 fi
26275
26276     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26278          }$am_cv_proto_iconv" >&5
26279 $as_echo "${ac_t:-
26280          }$am_cv_proto_iconv" >&6; }
26281
26282 cat >>confdefs.h <<_ACEOF
26283 #define ICONV_CONST $am_cv_proto_iconv_arg1
26284 _ACEOF
26285
26286   fi
26287
26288
26289 else
26290
26291   # This lets us hard-code the functionality we know we'll have in the cross
26292   # target environment.  "Let" is a sugar-coated word placed on an especially
26293   # dull and tedious hack, actually.
26294   #
26295   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26296   # that involve linking, can't be used:
26297   #    "cannot open sim-crt0.o"
26298   #    "cannot open crt0.o"
26299   # etc.  All this is because there currently exists no unified, consistent
26300   # way for top level CC information to be passed down to target directories:
26301   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26302   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26303   # crosses can be removed.
26304
26305   # If Canadian cross, then don't pick up tools from the build directory.
26306   # Used only in GLIBCXX_EXPORT_INCLUDES.
26307   if test -n "$with_cross_host" &&
26308      test x"$build_alias" != x"$with_cross_host" &&
26309      test x"$build" != x"$target";
26310   then
26311     CANADIAN=yes
26312   else
26313     CANADIAN=no
26314   fi
26315
26316   # Construct crosses by hand, eliminating bits that need ld...
26317   # GLIBCXX_CHECK_MATH_SUPPORT
26318
26319   # First, test for "known" system libraries.  We may be using newlib even
26320   # on a hosted environment.
26321   if test "x${with_newlib}" = "xyes"; then
26322     os_include_dir="os/newlib"
26323     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26324
26325
26326     # GLIBCXX_CHECK_STDLIB_SUPPORT
26327     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26328
26329
26330     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26331
26332     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26333
26334     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26335
26336     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26337
26338     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26339
26340     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26341
26342     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26343
26344     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26345
26346     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26347
26348     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26349
26350     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26351
26352     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26353
26354     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26355
26356     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26357
26358     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26359
26360     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26361
26362     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26363
26364     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26365
26366     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26367
26368     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26369
26370     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26371
26372     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26373
26374
26375     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26376
26377   else
26378
26379 # Base decisions on target environment.
26380 case "${host}" in
26381   arm*-*-symbianelf*)
26382     # This is a freestanding configuration; there is nothing to do here.
26383     ;;
26384
26385   mips*-sde-elf*)
26386     # These definitions are for the SDE C library rather than newlib.
26387     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26388
26389
26390   # All these tests are for C++; save the language and the compiler flags.
26391   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26392   # found in GLIBCXX_CONFIGURE.
26393
26394   ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26399
26400   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26401   ac_save_CXXFLAGS="$CXXFLAGS"
26402
26403   # Check for maintainer-mode bits.
26404   if test x"$USE_MAINTAINER_MODE" = xno; then
26405     WERROR=''
26406   else
26407     WERROR='-Werror'
26408   fi
26409
26410   # Check for -ffunction-sections -fdata-sections
26411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26412 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26413   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26415 /* end confdefs.h.  */
26416 int foo; void bar() { };
26417 int
26418 main ()
26419 {
26420
26421   ;
26422   return 0;
26423 }
26424 _ACEOF
26425 if ac_fn_cxx_try_compile "$LINENO"; then :
26426   ac_fdsections=yes
26427 else
26428   ac_fdsections=no
26429 fi
26430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26431   if test "$ac_test_CXXFLAGS" = set; then
26432     CXXFLAGS="$ac_save_CXXFLAGS"
26433   else
26434     # this is the suspicious part
26435     CXXFLAGS=''
26436   fi
26437   if test x"$ac_fdsections" = x"yes"; then
26438     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26439   fi
26440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26441 $as_echo "$ac_fdsections" >&6; }
26442
26443   ac_ext=c
26444 ac_cpp='$CPP $CPPFLAGS'
26445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26448
26449
26450
26451
26452
26453   # If we're not using GNU ld, then there's no point in even trying these
26454   # tests.  Check for that first.  We should have already tested for gld
26455   # by now (in libtool), but require it now just to be safe...
26456   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26457   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26458
26459
26460
26461   # The name set by libtool depends on the version of libtool.  Shame on us
26462   # for depending on an impl detail, but c'est la vie.  Older versions used
26463   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26464   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26465   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26466   # set (hence we're using an older libtool), then set it.
26467   if test x${with_gnu_ld+set} != xset; then
26468     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26469       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26470       with_gnu_ld=no
26471     else
26472       with_gnu_ld=$ac_cv_prog_gnu_ld
26473     fi
26474   fi
26475
26476   # Start by getting the version number.  I think the libtool test already
26477   # does some of this, but throws away the result.
26478   glibcxx_ld_is_gold=no
26479   if test x"$with_gnu_ld" = x"yes"; then
26480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26481 $as_echo_n "checking for ld version... " >&6; }
26482
26483     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26484       glibcxx_ld_is_gold=yes
26485     fi
26486     ldver=`$LD --version 2>/dev/null |
26487            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'`
26488
26489     glibcxx_gnu_ld_version=`echo $ldver | \
26490            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26492 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26493   fi
26494
26495   # Set --gc-sections.
26496   glibcxx_have_gc_sections=no
26497   if test "$glibcxx_ld_is_gold" = "yes"; then
26498     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26499       glibcxx_have_gc_sections=yes
26500     fi
26501   else
26502     glibcxx_gcsections_min_ld=21602
26503     if test x"$with_gnu_ld" = x"yes" &&
26504         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26505       glibcxx_have_gc_sections=yes
26506     fi
26507   fi
26508   if test "$glibcxx_have_gc_sections" = "yes"; then
26509     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26510     # NB: This flag only works reliably after 2.16.1. Configure tests
26511     # for this are difficult, so hard wire a value that should work.
26512
26513     ac_test_CFLAGS="${CFLAGS+set}"
26514     ac_save_CFLAGS="$CFLAGS"
26515     CFLAGS='-Wl,--gc-sections'
26516
26517     # Check for -Wl,--gc-sections
26518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26519 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26520     if test x$gcc_no_link = xyes; then
26521   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26522 fi
26523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26524 /* end confdefs.h.  */
26525  int one(void) { return 1; }
26526      int two(void) { return 2; }
26527
26528 int
26529 main ()
26530 {
26531  two();
26532   ;
26533   return 0;
26534 }
26535 _ACEOF
26536 if ac_fn_c_try_link "$LINENO"; then :
26537   ac_gcsections=yes
26538 else
26539   ac_gcsections=no
26540 fi
26541 rm -f core conftest.err conftest.$ac_objext \
26542     conftest$ac_exeext conftest.$ac_ext
26543     if test "$ac_gcsections" = "yes"; then
26544       rm -f conftest.c
26545       touch conftest.c
26546       if $CC -c conftest.c; then
26547         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26548            grep "Warning: gc-sections option ignored" > /dev/null; then
26549           ac_gcsections=no
26550         fi
26551       fi
26552       rm -f conftest.c conftest.o conftest
26553     fi
26554     if test "$ac_gcsections" = "yes"; then
26555       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26556     fi
26557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26558 $as_echo "$ac_gcsections" >&6; }
26559
26560     if test "$ac_test_CFLAGS" = set; then
26561       CFLAGS="$ac_save_CFLAGS"
26562     else
26563       # this is the suspicious part
26564       CFLAGS=''
26565     fi
26566   fi
26567
26568   # Set -z,relro.
26569   # Note this is only for shared objects.
26570   ac_ld_relro=no
26571   if test x"$with_gnu_ld" = x"yes"; then
26572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26573 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26574     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26575     if test -n "$cxx_z_relo"; then
26576       OPT_LDFLAGS="-Wl,-z,relro"
26577       ac_ld_relro=yes
26578     fi
26579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26580 $as_echo "$ac_ld_relro" >&6; }
26581   fi
26582
26583   # Set linker optimization flags.
26584   if test x"$with_gnu_ld" = x"yes"; then
26585     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26586   fi
26587
26588
26589
26590
26591
26592   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26593   ac_save_CXXFLAGS="$CXXFLAGS"
26594   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26595
26596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26597 $as_echo_n "checking for sin in -lm... " >&6; }
26598 if test "${ac_cv_lib_m_sin+set}" = set; then :
26599   $as_echo_n "(cached) " >&6
26600 else
26601   ac_check_lib_save_LIBS=$LIBS
26602 LIBS="-lm  $LIBS"
26603 if test x$gcc_no_link = xyes; then
26604   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26605 fi
26606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26607 /* end confdefs.h.  */
26608
26609 /* Override any GCC internal prototype to avoid an error.
26610    Use char because int might match the return type of a GCC
26611    builtin and then its argument prototype would still apply.  */
26612 #ifdef __cplusplus
26613 extern "C"
26614 #endif
26615 char sin ();
26616 int
26617 main ()
26618 {
26619 return sin ();
26620   ;
26621   return 0;
26622 }
26623 _ACEOF
26624 if ac_fn_c_try_link "$LINENO"; then :
26625   ac_cv_lib_m_sin=yes
26626 else
26627   ac_cv_lib_m_sin=no
26628 fi
26629 rm -f core conftest.err conftest.$ac_objext \
26630     conftest$ac_exeext conftest.$ac_ext
26631 LIBS=$ac_check_lib_save_LIBS
26632 fi
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26634 $as_echo "$ac_cv_lib_m_sin" >&6; }
26635 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26636   libm="-lm"
26637 fi
26638
26639   ac_save_LIBS="$LIBS"
26640   LIBS="$LIBS $libm"
26641
26642
26643
26644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26645 $as_echo_n "checking for isinf declaration... " >&6; }
26646   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26647     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26648   $as_echo_n "(cached) " >&6
26649 else
26650
26651
26652       ac_ext=cpp
26653 ac_cpp='$CXXCPP $CPPFLAGS'
26654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26657
26658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26659 /* end confdefs.h.  */
26660 #include <math.h>
26661                       #ifdef HAVE_IEEEFP_H
26662                       #include <ieeefp.h>
26663                       #endif
26664
26665 int
26666 main ()
26667 {
26668  isinf(0);
26669   ;
26670   return 0;
26671 }
26672 _ACEOF
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674   glibcxx_cv_func_isinf_use=yes
26675 else
26676   glibcxx_cv_func_isinf_use=no
26677 fi
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679       ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26684
26685
26686 fi
26687
26688   fi
26689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26690 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26691
26692   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26693     for ac_func in isinf
26694 do :
26695   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26696 if test "x$ac_cv_func_isinf" = x""yes; then :
26697   cat >>confdefs.h <<_ACEOF
26698 #define HAVE_ISINF 1
26699 _ACEOF
26700
26701 fi
26702 done
26703
26704   else
26705
26706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26707 $as_echo_n "checking for _isinf declaration... " >&6; }
26708   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26709     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26710   $as_echo_n "(cached) " >&6
26711 else
26712
26713
26714       ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26719
26720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h.  */
26722 #include <math.h>
26723                       #ifdef HAVE_IEEEFP_H
26724                       #include <ieeefp.h>
26725                       #endif
26726
26727 int
26728 main ()
26729 {
26730  _isinf(0);
26731   ;
26732   return 0;
26733 }
26734 _ACEOF
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736   glibcxx_cv_func__isinf_use=yes
26737 else
26738   glibcxx_cv_func__isinf_use=no
26739 fi
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741       ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26746
26747
26748 fi
26749
26750   fi
26751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26752 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26753
26754     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26755       for ac_func in _isinf
26756 do :
26757   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26758 if test "x$ac_cv_func__isinf" = x""yes; then :
26759   cat >>confdefs.h <<_ACEOF
26760 #define HAVE__ISINF 1
26761 _ACEOF
26762
26763 fi
26764 done
26765
26766     fi
26767   fi
26768
26769
26770
26771
26772
26773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26774 $as_echo_n "checking for isnan declaration... " >&6; }
26775   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26776     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26777   $as_echo_n "(cached) " >&6
26778 else
26779
26780
26781       ac_ext=cpp
26782 ac_cpp='$CXXCPP $CPPFLAGS'
26783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26786
26787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26788 /* end confdefs.h.  */
26789 #include <math.h>
26790                       #ifdef HAVE_IEEEFP_H
26791                       #include <ieeefp.h>
26792                       #endif
26793
26794 int
26795 main ()
26796 {
26797  isnan(0);
26798   ;
26799   return 0;
26800 }
26801 _ACEOF
26802 if ac_fn_cxx_try_compile "$LINENO"; then :
26803   glibcxx_cv_func_isnan_use=yes
26804 else
26805   glibcxx_cv_func_isnan_use=no
26806 fi
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808       ac_ext=c
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26813
26814
26815 fi
26816
26817   fi
26818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26819 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26820
26821   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26822     for ac_func in isnan
26823 do :
26824   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26825 if test "x$ac_cv_func_isnan" = x""yes; then :
26826   cat >>confdefs.h <<_ACEOF
26827 #define HAVE_ISNAN 1
26828 _ACEOF
26829
26830 fi
26831 done
26832
26833   else
26834
26835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26836 $as_echo_n "checking for _isnan declaration... " >&6; }
26837   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26838     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26839   $as_echo_n "(cached) " >&6
26840 else
26841
26842
26843       ac_ext=cpp
26844 ac_cpp='$CXXCPP $CPPFLAGS'
26845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26848
26849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26850 /* end confdefs.h.  */
26851 #include <math.h>
26852                       #ifdef HAVE_IEEEFP_H
26853                       #include <ieeefp.h>
26854                       #endif
26855
26856 int
26857 main ()
26858 {
26859  _isnan(0);
26860   ;
26861   return 0;
26862 }
26863 _ACEOF
26864 if ac_fn_cxx_try_compile "$LINENO"; then :
26865   glibcxx_cv_func__isnan_use=yes
26866 else
26867   glibcxx_cv_func__isnan_use=no
26868 fi
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26870       ac_ext=c
26871 ac_cpp='$CPP $CPPFLAGS'
26872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26875
26876
26877 fi
26878
26879   fi
26880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26881 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26882
26883     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26884       for ac_func in _isnan
26885 do :
26886   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26887 if test "x$ac_cv_func__isnan" = x""yes; then :
26888   cat >>confdefs.h <<_ACEOF
26889 #define HAVE__ISNAN 1
26890 _ACEOF
26891
26892 fi
26893 done
26894
26895     fi
26896   fi
26897
26898
26899
26900
26901
26902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26903 $as_echo_n "checking for finite declaration... " >&6; }
26904   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26905     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26906   $as_echo_n "(cached) " >&6
26907 else
26908
26909
26910       ac_ext=cpp
26911 ac_cpp='$CXXCPP $CPPFLAGS'
26912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26915
26916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h.  */
26918 #include <math.h>
26919                       #ifdef HAVE_IEEEFP_H
26920                       #include <ieeefp.h>
26921                       #endif
26922
26923 int
26924 main ()
26925 {
26926  finite(0);
26927   ;
26928   return 0;
26929 }
26930 _ACEOF
26931 if ac_fn_cxx_try_compile "$LINENO"; then :
26932   glibcxx_cv_func_finite_use=yes
26933 else
26934   glibcxx_cv_func_finite_use=no
26935 fi
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937       ac_ext=c
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26942
26943
26944 fi
26945
26946   fi
26947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26948 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26949
26950   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26951     for ac_func in finite
26952 do :
26953   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26954 if test "x$ac_cv_func_finite" = x""yes; then :
26955   cat >>confdefs.h <<_ACEOF
26956 #define HAVE_FINITE 1
26957 _ACEOF
26958
26959 fi
26960 done
26961
26962   else
26963
26964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26965 $as_echo_n "checking for _finite declaration... " >&6; }
26966   if test x${glibcxx_cv_func__finite_use+set} != xset; then
26967     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26968   $as_echo_n "(cached) " >&6
26969 else
26970
26971
26972       ac_ext=cpp
26973 ac_cpp='$CXXCPP $CPPFLAGS'
26974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26977
26978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26979 /* end confdefs.h.  */
26980 #include <math.h>
26981                       #ifdef HAVE_IEEEFP_H
26982                       #include <ieeefp.h>
26983                       #endif
26984
26985 int
26986 main ()
26987 {
26988  _finite(0);
26989   ;
26990   return 0;
26991 }
26992 _ACEOF
26993 if ac_fn_cxx_try_compile "$LINENO"; then :
26994   glibcxx_cv_func__finite_use=yes
26995 else
26996   glibcxx_cv_func__finite_use=no
26997 fi
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26999       ac_ext=c
27000 ac_cpp='$CPP $CPPFLAGS'
27001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27004
27005
27006 fi
27007
27008   fi
27009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27010 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27011
27012     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27013       for ac_func in _finite
27014 do :
27015   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27016 if test "x$ac_cv_func__finite" = x""yes; then :
27017   cat >>confdefs.h <<_ACEOF
27018 #define HAVE__FINITE 1
27019 _ACEOF
27020
27021 fi
27022 done
27023
27024     fi
27025   fi
27026
27027
27028
27029
27030
27031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27032 $as_echo_n "checking for sincos declaration... " >&6; }
27033   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27034     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27035   $as_echo_n "(cached) " >&6
27036 else
27037
27038
27039       ac_ext=cpp
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27044
27045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27046 /* end confdefs.h.  */
27047 #include <math.h>
27048 int
27049 main ()
27050 {
27051  sincos(0, 0, 0);
27052   ;
27053   return 0;
27054 }
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057   glibcxx_cv_func_sincos_use=yes
27058 else
27059   glibcxx_cv_func_sincos_use=no
27060 fi
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27062       ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27067
27068
27069 fi
27070
27071   fi
27072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27073 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27074
27075   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27076     for ac_func in sincos
27077 do :
27078   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27079 if test "x$ac_cv_func_sincos" = x""yes; then :
27080   cat >>confdefs.h <<_ACEOF
27081 #define HAVE_SINCOS 1
27082 _ACEOF
27083
27084 fi
27085 done
27086
27087   else
27088
27089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27090 $as_echo_n "checking for _sincos declaration... " >&6; }
27091   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27092     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27093   $as_echo_n "(cached) " >&6
27094 else
27095
27096
27097       ac_ext=cpp
27098 ac_cpp='$CXXCPP $CPPFLAGS'
27099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27102
27103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27104 /* end confdefs.h.  */
27105 #include <math.h>
27106 int
27107 main ()
27108 {
27109  _sincos(0, 0, 0);
27110   ;
27111   return 0;
27112 }
27113 _ACEOF
27114 if ac_fn_cxx_try_compile "$LINENO"; then :
27115   glibcxx_cv_func__sincos_use=yes
27116 else
27117   glibcxx_cv_func__sincos_use=no
27118 fi
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120       ac_ext=c
27121 ac_cpp='$CPP $CPPFLAGS'
27122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27125
27126
27127 fi
27128
27129   fi
27130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27131 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27132
27133     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27134       for ac_func in _sincos
27135 do :
27136   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27137 if test "x$ac_cv_func__sincos" = x""yes; then :
27138   cat >>confdefs.h <<_ACEOF
27139 #define HAVE__SINCOS 1
27140 _ACEOF
27141
27142 fi
27143 done
27144
27145     fi
27146   fi
27147
27148
27149
27150
27151
27152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27153 $as_echo_n "checking for fpclass declaration... " >&6; }
27154   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27155     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27156   $as_echo_n "(cached) " >&6
27157 else
27158
27159
27160       ac_ext=cpp
27161 ac_cpp='$CXXCPP $CPPFLAGS'
27162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27165
27166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h.  */
27168 #include <math.h>
27169                       #ifdef HAVE_IEEEFP_H
27170                       #include <ieeefp.h>
27171                       #endif
27172
27173 int
27174 main ()
27175 {
27176  fpclass(0);
27177   ;
27178   return 0;
27179 }
27180 _ACEOF
27181 if ac_fn_cxx_try_compile "$LINENO"; then :
27182   glibcxx_cv_func_fpclass_use=yes
27183 else
27184   glibcxx_cv_func_fpclass_use=no
27185 fi
27186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27187       ac_ext=c
27188 ac_cpp='$CPP $CPPFLAGS'
27189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27192
27193
27194 fi
27195
27196   fi
27197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27198 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27199
27200   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27201     for ac_func in fpclass
27202 do :
27203   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27204 if test "x$ac_cv_func_fpclass" = x""yes; then :
27205   cat >>confdefs.h <<_ACEOF
27206 #define HAVE_FPCLASS 1
27207 _ACEOF
27208
27209 fi
27210 done
27211
27212   else
27213
27214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27215 $as_echo_n "checking for _fpclass declaration... " >&6; }
27216   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27217     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27218   $as_echo_n "(cached) " >&6
27219 else
27220
27221
27222       ac_ext=cpp
27223 ac_cpp='$CXXCPP $CPPFLAGS'
27224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27227
27228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27229 /* end confdefs.h.  */
27230 #include <math.h>
27231                       #ifdef HAVE_IEEEFP_H
27232                       #include <ieeefp.h>
27233                       #endif
27234
27235 int
27236 main ()
27237 {
27238  _fpclass(0);
27239   ;
27240   return 0;
27241 }
27242 _ACEOF
27243 if ac_fn_cxx_try_compile "$LINENO"; then :
27244   glibcxx_cv_func__fpclass_use=yes
27245 else
27246   glibcxx_cv_func__fpclass_use=no
27247 fi
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249       ac_ext=c
27250 ac_cpp='$CPP $CPPFLAGS'
27251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27254
27255
27256 fi
27257
27258   fi
27259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27260 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27261
27262     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27263       for ac_func in _fpclass
27264 do :
27265   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27266 if test "x$ac_cv_func__fpclass" = x""yes; then :
27267   cat >>confdefs.h <<_ACEOF
27268 #define HAVE__FPCLASS 1
27269 _ACEOF
27270
27271 fi
27272 done
27273
27274     fi
27275   fi
27276
27277
27278
27279
27280
27281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27282 $as_echo_n "checking for qfpclass declaration... " >&6; }
27283   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27284     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27285   $as_echo_n "(cached) " >&6
27286 else
27287
27288
27289       ac_ext=cpp
27290 ac_cpp='$CXXCPP $CPPFLAGS'
27291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27294
27295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27296 /* end confdefs.h.  */
27297 #include <math.h>
27298                       #ifdef HAVE_IEEEFP_H
27299                       #include <ieeefp.h>
27300                       #endif
27301
27302 int
27303 main ()
27304 {
27305  qfpclass(0);
27306   ;
27307   return 0;
27308 }
27309 _ACEOF
27310 if ac_fn_cxx_try_compile "$LINENO"; then :
27311   glibcxx_cv_func_qfpclass_use=yes
27312 else
27313   glibcxx_cv_func_qfpclass_use=no
27314 fi
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27316       ac_ext=c
27317 ac_cpp='$CPP $CPPFLAGS'
27318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27321
27322
27323 fi
27324
27325   fi
27326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27327 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27328
27329   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27330     for ac_func in qfpclass
27331 do :
27332   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27333 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27334   cat >>confdefs.h <<_ACEOF
27335 #define HAVE_QFPCLASS 1
27336 _ACEOF
27337
27338 fi
27339 done
27340
27341   else
27342
27343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27344 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27345   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27346     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27347   $as_echo_n "(cached) " >&6
27348 else
27349
27350
27351       ac_ext=cpp
27352 ac_cpp='$CXXCPP $CPPFLAGS'
27353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27356
27357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h.  */
27359 #include <math.h>
27360                       #ifdef HAVE_IEEEFP_H
27361                       #include <ieeefp.h>
27362                       #endif
27363
27364 int
27365 main ()
27366 {
27367  _qfpclass(0);
27368   ;
27369   return 0;
27370 }
27371 _ACEOF
27372 if ac_fn_cxx_try_compile "$LINENO"; then :
27373   glibcxx_cv_func__qfpclass_use=yes
27374 else
27375   glibcxx_cv_func__qfpclass_use=no
27376 fi
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378       ac_ext=c
27379 ac_cpp='$CPP $CPPFLAGS'
27380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27383
27384
27385 fi
27386
27387   fi
27388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27389 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27390
27391     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27392       for ac_func in _qfpclass
27393 do :
27394   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27395 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27396   cat >>confdefs.h <<_ACEOF
27397 #define HAVE__QFPCLASS 1
27398 _ACEOF
27399
27400 fi
27401 done
27402
27403     fi
27404   fi
27405
27406
27407
27408
27409
27410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27411 $as_echo_n "checking for hypot declaration... " >&6; }
27412   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27413     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27414   $as_echo_n "(cached) " >&6
27415 else
27416
27417
27418       ac_ext=cpp
27419 ac_cpp='$CXXCPP $CPPFLAGS'
27420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27423
27424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27425 /* end confdefs.h.  */
27426 #include <math.h>
27427 int
27428 main ()
27429 {
27430  hypot(0, 0);
27431   ;
27432   return 0;
27433 }
27434 _ACEOF
27435 if ac_fn_cxx_try_compile "$LINENO"; then :
27436   glibcxx_cv_func_hypot_use=yes
27437 else
27438   glibcxx_cv_func_hypot_use=no
27439 fi
27440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441       ac_ext=c
27442 ac_cpp='$CPP $CPPFLAGS'
27443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27446
27447
27448 fi
27449
27450   fi
27451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27452 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27453
27454   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27455     for ac_func in hypot
27456 do :
27457   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27458 if test "x$ac_cv_func_hypot" = x""yes; then :
27459   cat >>confdefs.h <<_ACEOF
27460 #define HAVE_HYPOT 1
27461 _ACEOF
27462
27463 fi
27464 done
27465
27466   else
27467
27468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27469 $as_echo_n "checking for _hypot declaration... " >&6; }
27470   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27471     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27472   $as_echo_n "(cached) " >&6
27473 else
27474
27475
27476       ac_ext=cpp
27477 ac_cpp='$CXXCPP $CPPFLAGS'
27478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27481
27482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27483 /* end confdefs.h.  */
27484 #include <math.h>
27485 int
27486 main ()
27487 {
27488  _hypot(0, 0);
27489   ;
27490   return 0;
27491 }
27492 _ACEOF
27493 if ac_fn_cxx_try_compile "$LINENO"; then :
27494   glibcxx_cv_func__hypot_use=yes
27495 else
27496   glibcxx_cv_func__hypot_use=no
27497 fi
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499       ac_ext=c
27500 ac_cpp='$CPP $CPPFLAGS'
27501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27504
27505
27506 fi
27507
27508   fi
27509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27510 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27511
27512     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27513       for ac_func in _hypot
27514 do :
27515   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27516 if test "x$ac_cv_func__hypot" = x""yes; then :
27517   cat >>confdefs.h <<_ACEOF
27518 #define HAVE__HYPOT 1
27519 _ACEOF
27520
27521 fi
27522 done
27523
27524     fi
27525   fi
27526
27527
27528
27529
27530
27531     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27532 $as_echo_n "checking for float trig functions... " >&6; }
27533   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27534   $as_echo_n "(cached) " >&6
27535 else
27536
27537
27538     ac_ext=cpp
27539 ac_cpp='$CXXCPP $CPPFLAGS'
27540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27543
27544     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27545 /* end confdefs.h.  */
27546 #include <math.h>
27547 int
27548 main ()
27549 {
27550 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27551   ;
27552   return 0;
27553 }
27554 _ACEOF
27555 if ac_fn_cxx_try_compile "$LINENO"; then :
27556   glibcxx_cv_func_float_trig_use=yes
27557 else
27558   glibcxx_cv_func_float_trig_use=no
27559 fi
27560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27561     ac_ext=c
27562 ac_cpp='$CPP $CPPFLAGS'
27563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27566
27567 fi
27568
27569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27570 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27571   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27572     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27573 do :
27574   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27576 eval as_val=\$$as_ac_var
27577    if test "x$as_val" = x""yes; then :
27578   cat >>confdefs.h <<_ACEOF
27579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27580 _ACEOF
27581
27582 fi
27583 done
27584
27585   else
27586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27587 $as_echo_n "checking for _float trig functions... " >&6; }
27588     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27589   $as_echo_n "(cached) " >&6
27590 else
27591
27592
27593       ac_ext=cpp
27594 ac_cpp='$CXXCPP $CPPFLAGS'
27595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27598
27599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27600 /* end confdefs.h.  */
27601 #include <math.h>
27602 int
27603 main ()
27604 {
27605 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27606   ;
27607   return 0;
27608 }
27609 _ACEOF
27610 if ac_fn_cxx_try_compile "$LINENO"; then :
27611   glibcxx_cv_func__float_trig_use=yes
27612 else
27613   glibcxx_cv_func__float_trig_use=no
27614 fi
27615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27616       ac_ext=c
27617 ac_cpp='$CPP $CPPFLAGS'
27618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27621
27622 fi
27623
27624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27625 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27626     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27627       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27628 do :
27629   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27631 eval as_val=\$$as_ac_var
27632    if test "x$as_val" = x""yes; then :
27633   cat >>confdefs.h <<_ACEOF
27634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27635 _ACEOF
27636
27637 fi
27638 done
27639
27640     fi
27641   fi
27642
27643
27644
27645
27646
27647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27648 $as_echo_n "checking for float round functions... " >&6; }
27649   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27650   $as_echo_n "(cached) " >&6
27651 else
27652
27653
27654     ac_ext=cpp
27655 ac_cpp='$CXXCPP $CPPFLAGS'
27656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27659
27660     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h.  */
27662 #include <math.h>
27663 int
27664 main ()
27665 {
27666 ceilf (0); floorf (0);
27667   ;
27668   return 0;
27669 }
27670 _ACEOF
27671 if ac_fn_cxx_try_compile "$LINENO"; then :
27672   glibcxx_cv_func_float_round_use=yes
27673 else
27674   glibcxx_cv_func_float_round_use=no
27675 fi
27676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27677     ac_ext=c
27678 ac_cpp='$CPP $CPPFLAGS'
27679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27682
27683 fi
27684
27685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27686 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27687   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27688     for ac_func in ceilf floorf
27689 do :
27690   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27692 eval as_val=\$$as_ac_var
27693    if test "x$as_val" = x""yes; then :
27694   cat >>confdefs.h <<_ACEOF
27695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27696 _ACEOF
27697
27698 fi
27699 done
27700
27701   else
27702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27703 $as_echo_n "checking for _float round functions... " >&6; }
27704     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27705   $as_echo_n "(cached) " >&6
27706 else
27707
27708
27709       ac_ext=cpp
27710 ac_cpp='$CXXCPP $CPPFLAGS'
27711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27714
27715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h.  */
27717 #include <math.h>
27718 int
27719 main ()
27720 {
27721 _ceilf (0); _floorf (0);
27722   ;
27723   return 0;
27724 }
27725 _ACEOF
27726 if ac_fn_cxx_try_compile "$LINENO"; then :
27727   glibcxx_cv_func__float_round_use=yes
27728 else
27729   glibcxx_cv_func__float_round_use=no
27730 fi
27731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27732       ac_ext=c
27733 ac_cpp='$CPP $CPPFLAGS'
27734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27737
27738 fi
27739
27740     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27741 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27742     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27743       for ac_func in _ceilf _floorf
27744 do :
27745   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27747 eval as_val=\$$as_ac_var
27748    if test "x$as_val" = x""yes; then :
27749   cat >>confdefs.h <<_ACEOF
27750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27751 _ACEOF
27752
27753 fi
27754 done
27755
27756     fi
27757   fi
27758
27759
27760
27761
27762
27763
27764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27765 $as_echo_n "checking for expf declaration... " >&6; }
27766   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27767     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27768   $as_echo_n "(cached) " >&6
27769 else
27770
27771
27772       ac_ext=cpp
27773 ac_cpp='$CXXCPP $CPPFLAGS'
27774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27777
27778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27779 /* end confdefs.h.  */
27780 #include <math.h>
27781                       #ifdef HAVE_IEEEFP_H
27782                       #include <ieeefp.h>
27783                       #endif
27784
27785 int
27786 main ()
27787 {
27788  expf(0);
27789   ;
27790   return 0;
27791 }
27792 _ACEOF
27793 if ac_fn_cxx_try_compile "$LINENO"; then :
27794   glibcxx_cv_func_expf_use=yes
27795 else
27796   glibcxx_cv_func_expf_use=no
27797 fi
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27799       ac_ext=c
27800 ac_cpp='$CPP $CPPFLAGS'
27801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27804
27805
27806 fi
27807
27808   fi
27809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27810 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27811
27812   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27813     for ac_func in expf
27814 do :
27815   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27816 if test "x$ac_cv_func_expf" = x""yes; then :
27817   cat >>confdefs.h <<_ACEOF
27818 #define HAVE_EXPF 1
27819 _ACEOF
27820
27821 fi
27822 done
27823
27824   else
27825
27826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27827 $as_echo_n "checking for _expf declaration... " >&6; }
27828   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27829     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27830   $as_echo_n "(cached) " >&6
27831 else
27832
27833
27834       ac_ext=cpp
27835 ac_cpp='$CXXCPP $CPPFLAGS'
27836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27839
27840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 /* end confdefs.h.  */
27842 #include <math.h>
27843                       #ifdef HAVE_IEEEFP_H
27844                       #include <ieeefp.h>
27845                       #endif
27846
27847 int
27848 main ()
27849 {
27850  _expf(0);
27851   ;
27852   return 0;
27853 }
27854 _ACEOF
27855 if ac_fn_cxx_try_compile "$LINENO"; then :
27856   glibcxx_cv_func__expf_use=yes
27857 else
27858   glibcxx_cv_func__expf_use=no
27859 fi
27860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27861       ac_ext=c
27862 ac_cpp='$CPP $CPPFLAGS'
27863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27866
27867
27868 fi
27869
27870   fi
27871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27872 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27873
27874     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27875       for ac_func in _expf
27876 do :
27877   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27878 if test "x$ac_cv_func__expf" = x""yes; then :
27879   cat >>confdefs.h <<_ACEOF
27880 #define HAVE__EXPF 1
27881 _ACEOF
27882
27883 fi
27884 done
27885
27886     fi
27887   fi
27888
27889
27890
27891
27892
27893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27894 $as_echo_n "checking for isnanf declaration... " >&6; }
27895   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27896     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27897   $as_echo_n "(cached) " >&6
27898 else
27899
27900
27901       ac_ext=cpp
27902 ac_cpp='$CXXCPP $CPPFLAGS'
27903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27906
27907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27908 /* end confdefs.h.  */
27909 #include <math.h>
27910                       #ifdef HAVE_IEEEFP_H
27911                       #include <ieeefp.h>
27912                       #endif
27913
27914 int
27915 main ()
27916 {
27917  isnanf(0);
27918   ;
27919   return 0;
27920 }
27921 _ACEOF
27922 if ac_fn_cxx_try_compile "$LINENO"; then :
27923   glibcxx_cv_func_isnanf_use=yes
27924 else
27925   glibcxx_cv_func_isnanf_use=no
27926 fi
27927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27928       ac_ext=c
27929 ac_cpp='$CPP $CPPFLAGS'
27930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27933
27934
27935 fi
27936
27937   fi
27938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27939 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27940
27941   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27942     for ac_func in isnanf
27943 do :
27944   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27945 if test "x$ac_cv_func_isnanf" = x""yes; then :
27946   cat >>confdefs.h <<_ACEOF
27947 #define HAVE_ISNANF 1
27948 _ACEOF
27949
27950 fi
27951 done
27952
27953   else
27954
27955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27956 $as_echo_n "checking for _isnanf declaration... " >&6; }
27957   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27958     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27959   $as_echo_n "(cached) " >&6
27960 else
27961
27962
27963       ac_ext=cpp
27964 ac_cpp='$CXXCPP $CPPFLAGS'
27965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27968
27969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27970 /* end confdefs.h.  */
27971 #include <math.h>
27972                       #ifdef HAVE_IEEEFP_H
27973                       #include <ieeefp.h>
27974                       #endif
27975
27976 int
27977 main ()
27978 {
27979  _isnanf(0);
27980   ;
27981   return 0;
27982 }
27983 _ACEOF
27984 if ac_fn_cxx_try_compile "$LINENO"; then :
27985   glibcxx_cv_func__isnanf_use=yes
27986 else
27987   glibcxx_cv_func__isnanf_use=no
27988 fi
27989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27990       ac_ext=c
27991 ac_cpp='$CPP $CPPFLAGS'
27992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27995
27996
27997 fi
27998
27999   fi
28000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28001 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28002
28003     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28004       for ac_func in _isnanf
28005 do :
28006   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28007 if test "x$ac_cv_func__isnanf" = x""yes; then :
28008   cat >>confdefs.h <<_ACEOF
28009 #define HAVE__ISNANF 1
28010 _ACEOF
28011
28012 fi
28013 done
28014
28015     fi
28016   fi
28017
28018
28019
28020
28021
28022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28023 $as_echo_n "checking for isinff declaration... " >&6; }
28024   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28025     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28026   $as_echo_n "(cached) " >&6
28027 else
28028
28029
28030       ac_ext=cpp
28031 ac_cpp='$CXXCPP $CPPFLAGS'
28032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28035
28036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28037 /* end confdefs.h.  */
28038 #include <math.h>
28039                       #ifdef HAVE_IEEEFP_H
28040                       #include <ieeefp.h>
28041                       #endif
28042
28043 int
28044 main ()
28045 {
28046  isinff(0);
28047   ;
28048   return 0;
28049 }
28050 _ACEOF
28051 if ac_fn_cxx_try_compile "$LINENO"; then :
28052   glibcxx_cv_func_isinff_use=yes
28053 else
28054   glibcxx_cv_func_isinff_use=no
28055 fi
28056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28057       ac_ext=c
28058 ac_cpp='$CPP $CPPFLAGS'
28059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28062
28063
28064 fi
28065
28066   fi
28067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28068 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28069
28070   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28071     for ac_func in isinff
28072 do :
28073   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28074 if test "x$ac_cv_func_isinff" = x""yes; then :
28075   cat >>confdefs.h <<_ACEOF
28076 #define HAVE_ISINFF 1
28077 _ACEOF
28078
28079 fi
28080 done
28081
28082   else
28083
28084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28085 $as_echo_n "checking for _isinff declaration... " >&6; }
28086   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28087     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28088   $as_echo_n "(cached) " >&6
28089 else
28090
28091
28092       ac_ext=cpp
28093 ac_cpp='$CXXCPP $CPPFLAGS'
28094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28097
28098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28099 /* end confdefs.h.  */
28100 #include <math.h>
28101                       #ifdef HAVE_IEEEFP_H
28102                       #include <ieeefp.h>
28103                       #endif
28104
28105 int
28106 main ()
28107 {
28108  _isinff(0);
28109   ;
28110   return 0;
28111 }
28112 _ACEOF
28113 if ac_fn_cxx_try_compile "$LINENO"; then :
28114   glibcxx_cv_func__isinff_use=yes
28115 else
28116   glibcxx_cv_func__isinff_use=no
28117 fi
28118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28119       ac_ext=c
28120 ac_cpp='$CPP $CPPFLAGS'
28121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28124
28125
28126 fi
28127
28128   fi
28129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28130 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28131
28132     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28133       for ac_func in _isinff
28134 do :
28135   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28136 if test "x$ac_cv_func__isinff" = x""yes; then :
28137   cat >>confdefs.h <<_ACEOF
28138 #define HAVE__ISINFF 1
28139 _ACEOF
28140
28141 fi
28142 done
28143
28144     fi
28145   fi
28146
28147
28148
28149
28150
28151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28152 $as_echo_n "checking for atan2f declaration... " >&6; }
28153   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28154     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28155   $as_echo_n "(cached) " >&6
28156 else
28157
28158
28159       ac_ext=cpp
28160 ac_cpp='$CXXCPP $CPPFLAGS'
28161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28164
28165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28166 /* end confdefs.h.  */
28167 #include <math.h>
28168 int
28169 main ()
28170 {
28171  atan2f(0, 0);
28172   ;
28173   return 0;
28174 }
28175 _ACEOF
28176 if ac_fn_cxx_try_compile "$LINENO"; then :
28177   glibcxx_cv_func_atan2f_use=yes
28178 else
28179   glibcxx_cv_func_atan2f_use=no
28180 fi
28181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28182       ac_ext=c
28183 ac_cpp='$CPP $CPPFLAGS'
28184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28187
28188
28189 fi
28190
28191   fi
28192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28193 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28194
28195   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28196     for ac_func in atan2f
28197 do :
28198   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28199 if test "x$ac_cv_func_atan2f" = x""yes; then :
28200   cat >>confdefs.h <<_ACEOF
28201 #define HAVE_ATAN2F 1
28202 _ACEOF
28203
28204 fi
28205 done
28206
28207   else
28208
28209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28210 $as_echo_n "checking for _atan2f declaration... " >&6; }
28211   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28212     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28213   $as_echo_n "(cached) " >&6
28214 else
28215
28216
28217       ac_ext=cpp
28218 ac_cpp='$CXXCPP $CPPFLAGS'
28219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28222
28223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28224 /* end confdefs.h.  */
28225 #include <math.h>
28226 int
28227 main ()
28228 {
28229  _atan2f(0, 0);
28230   ;
28231   return 0;
28232 }
28233 _ACEOF
28234 if ac_fn_cxx_try_compile "$LINENO"; then :
28235   glibcxx_cv_func__atan2f_use=yes
28236 else
28237   glibcxx_cv_func__atan2f_use=no
28238 fi
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240       ac_ext=c
28241 ac_cpp='$CPP $CPPFLAGS'
28242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28245
28246
28247 fi
28248
28249   fi
28250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28251 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28252
28253     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28254       for ac_func in _atan2f
28255 do :
28256   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28257 if test "x$ac_cv_func__atan2f" = x""yes; then :
28258   cat >>confdefs.h <<_ACEOF
28259 #define HAVE__ATAN2F 1
28260 _ACEOF
28261
28262 fi
28263 done
28264
28265     fi
28266   fi
28267
28268
28269
28270
28271
28272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28273 $as_echo_n "checking for fabsf declaration... " >&6; }
28274   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28275     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28276   $as_echo_n "(cached) " >&6
28277 else
28278
28279
28280       ac_ext=cpp
28281 ac_cpp='$CXXCPP $CPPFLAGS'
28282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28285
28286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28287 /* end confdefs.h.  */
28288 #include <math.h>
28289                       #ifdef HAVE_IEEEFP_H
28290                       #include <ieeefp.h>
28291                       #endif
28292
28293 int
28294 main ()
28295 {
28296  fabsf(0);
28297   ;
28298   return 0;
28299 }
28300 _ACEOF
28301 if ac_fn_cxx_try_compile "$LINENO"; then :
28302   glibcxx_cv_func_fabsf_use=yes
28303 else
28304   glibcxx_cv_func_fabsf_use=no
28305 fi
28306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28307       ac_ext=c
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28312
28313
28314 fi
28315
28316   fi
28317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28318 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28319
28320   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28321     for ac_func in fabsf
28322 do :
28323   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28324 if test "x$ac_cv_func_fabsf" = x""yes; then :
28325   cat >>confdefs.h <<_ACEOF
28326 #define HAVE_FABSF 1
28327 _ACEOF
28328
28329 fi
28330 done
28331
28332   else
28333
28334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28335 $as_echo_n "checking for _fabsf declaration... " >&6; }
28336   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28337     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28338   $as_echo_n "(cached) " >&6
28339 else
28340
28341
28342       ac_ext=cpp
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28347
28348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h.  */
28350 #include <math.h>
28351                       #ifdef HAVE_IEEEFP_H
28352                       #include <ieeefp.h>
28353                       #endif
28354
28355 int
28356 main ()
28357 {
28358  _fabsf(0);
28359   ;
28360   return 0;
28361 }
28362 _ACEOF
28363 if ac_fn_cxx_try_compile "$LINENO"; then :
28364   glibcxx_cv_func__fabsf_use=yes
28365 else
28366   glibcxx_cv_func__fabsf_use=no
28367 fi
28368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28369       ac_ext=c
28370 ac_cpp='$CPP $CPPFLAGS'
28371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28374
28375
28376 fi
28377
28378   fi
28379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28380 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28381
28382     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28383       for ac_func in _fabsf
28384 do :
28385   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28386 if test "x$ac_cv_func__fabsf" = x""yes; then :
28387   cat >>confdefs.h <<_ACEOF
28388 #define HAVE__FABSF 1
28389 _ACEOF
28390
28391 fi
28392 done
28393
28394     fi
28395   fi
28396
28397
28398
28399
28400
28401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28402 $as_echo_n "checking for fmodf declaration... " >&6; }
28403   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28404     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28405   $as_echo_n "(cached) " >&6
28406 else
28407
28408
28409       ac_ext=cpp
28410 ac_cpp='$CXXCPP $CPPFLAGS'
28411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28414
28415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28416 /* end confdefs.h.  */
28417 #include <math.h>
28418 int
28419 main ()
28420 {
28421  fmodf(0, 0);
28422   ;
28423   return 0;
28424 }
28425 _ACEOF
28426 if ac_fn_cxx_try_compile "$LINENO"; then :
28427   glibcxx_cv_func_fmodf_use=yes
28428 else
28429   glibcxx_cv_func_fmodf_use=no
28430 fi
28431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28432       ac_ext=c
28433 ac_cpp='$CPP $CPPFLAGS'
28434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28437
28438
28439 fi
28440
28441   fi
28442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28443 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28444
28445   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28446     for ac_func in fmodf
28447 do :
28448   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28449 if test "x$ac_cv_func_fmodf" = x""yes; then :
28450   cat >>confdefs.h <<_ACEOF
28451 #define HAVE_FMODF 1
28452 _ACEOF
28453
28454 fi
28455 done
28456
28457   else
28458
28459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28460 $as_echo_n "checking for _fmodf declaration... " >&6; }
28461   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28462     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28463   $as_echo_n "(cached) " >&6
28464 else
28465
28466
28467       ac_ext=cpp
28468 ac_cpp='$CXXCPP $CPPFLAGS'
28469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28472
28473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28474 /* end confdefs.h.  */
28475 #include <math.h>
28476 int
28477 main ()
28478 {
28479  _fmodf(0, 0);
28480   ;
28481   return 0;
28482 }
28483 _ACEOF
28484 if ac_fn_cxx_try_compile "$LINENO"; then :
28485   glibcxx_cv_func__fmodf_use=yes
28486 else
28487   glibcxx_cv_func__fmodf_use=no
28488 fi
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28490       ac_ext=c
28491 ac_cpp='$CPP $CPPFLAGS'
28492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28495
28496
28497 fi
28498
28499   fi
28500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28501 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28502
28503     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28504       for ac_func in _fmodf
28505 do :
28506   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28507 if test "x$ac_cv_func__fmodf" = x""yes; then :
28508   cat >>confdefs.h <<_ACEOF
28509 #define HAVE__FMODF 1
28510 _ACEOF
28511
28512 fi
28513 done
28514
28515     fi
28516   fi
28517
28518
28519
28520
28521
28522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28523 $as_echo_n "checking for frexpf declaration... " >&6; }
28524   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28525     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28526   $as_echo_n "(cached) " >&6
28527 else
28528
28529
28530       ac_ext=cpp
28531 ac_cpp='$CXXCPP $CPPFLAGS'
28532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28535
28536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h.  */
28538 #include <math.h>
28539 int
28540 main ()
28541 {
28542  frexpf(0, 0);
28543   ;
28544   return 0;
28545 }
28546 _ACEOF
28547 if ac_fn_cxx_try_compile "$LINENO"; then :
28548   glibcxx_cv_func_frexpf_use=yes
28549 else
28550   glibcxx_cv_func_frexpf_use=no
28551 fi
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28553       ac_ext=c
28554 ac_cpp='$CPP $CPPFLAGS'
28555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28558
28559
28560 fi
28561
28562   fi
28563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28564 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28565
28566   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28567     for ac_func in frexpf
28568 do :
28569   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28570 if test "x$ac_cv_func_frexpf" = x""yes; then :
28571   cat >>confdefs.h <<_ACEOF
28572 #define HAVE_FREXPF 1
28573 _ACEOF
28574
28575 fi
28576 done
28577
28578   else
28579
28580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28581 $as_echo_n "checking for _frexpf declaration... " >&6; }
28582   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28583     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28584   $as_echo_n "(cached) " >&6
28585 else
28586
28587
28588       ac_ext=cpp
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28593
28594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28595 /* end confdefs.h.  */
28596 #include <math.h>
28597 int
28598 main ()
28599 {
28600  _frexpf(0, 0);
28601   ;
28602   return 0;
28603 }
28604 _ACEOF
28605 if ac_fn_cxx_try_compile "$LINENO"; then :
28606   glibcxx_cv_func__frexpf_use=yes
28607 else
28608   glibcxx_cv_func__frexpf_use=no
28609 fi
28610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28611       ac_ext=c
28612 ac_cpp='$CPP $CPPFLAGS'
28613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28616
28617
28618 fi
28619
28620   fi
28621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28622 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28623
28624     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28625       for ac_func in _frexpf
28626 do :
28627   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28628 if test "x$ac_cv_func__frexpf" = x""yes; then :
28629   cat >>confdefs.h <<_ACEOF
28630 #define HAVE__FREXPF 1
28631 _ACEOF
28632
28633 fi
28634 done
28635
28636     fi
28637   fi
28638
28639
28640
28641
28642
28643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28644 $as_echo_n "checking for hypotf declaration... " >&6; }
28645   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28646     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28647   $as_echo_n "(cached) " >&6
28648 else
28649
28650
28651       ac_ext=cpp
28652 ac_cpp='$CXXCPP $CPPFLAGS'
28653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28656
28657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28658 /* end confdefs.h.  */
28659 #include <math.h>
28660 int
28661 main ()
28662 {
28663  hypotf(0, 0);
28664   ;
28665   return 0;
28666 }
28667 _ACEOF
28668 if ac_fn_cxx_try_compile "$LINENO"; then :
28669   glibcxx_cv_func_hypotf_use=yes
28670 else
28671   glibcxx_cv_func_hypotf_use=no
28672 fi
28673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28674       ac_ext=c
28675 ac_cpp='$CPP $CPPFLAGS'
28676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28679
28680
28681 fi
28682
28683   fi
28684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28685 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28686
28687   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28688     for ac_func in hypotf
28689 do :
28690   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28691 if test "x$ac_cv_func_hypotf" = x""yes; then :
28692   cat >>confdefs.h <<_ACEOF
28693 #define HAVE_HYPOTF 1
28694 _ACEOF
28695
28696 fi
28697 done
28698
28699   else
28700
28701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28702 $as_echo_n "checking for _hypotf declaration... " >&6; }
28703   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28704     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28705   $as_echo_n "(cached) " >&6
28706 else
28707
28708
28709       ac_ext=cpp
28710 ac_cpp='$CXXCPP $CPPFLAGS'
28711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28714
28715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28716 /* end confdefs.h.  */
28717 #include <math.h>
28718 int
28719 main ()
28720 {
28721  _hypotf(0, 0);
28722   ;
28723   return 0;
28724 }
28725 _ACEOF
28726 if ac_fn_cxx_try_compile "$LINENO"; then :
28727   glibcxx_cv_func__hypotf_use=yes
28728 else
28729   glibcxx_cv_func__hypotf_use=no
28730 fi
28731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28732       ac_ext=c
28733 ac_cpp='$CPP $CPPFLAGS'
28734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28737
28738
28739 fi
28740
28741   fi
28742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28743 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28744
28745     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28746       for ac_func in _hypotf
28747 do :
28748   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28749 if test "x$ac_cv_func__hypotf" = x""yes; then :
28750   cat >>confdefs.h <<_ACEOF
28751 #define HAVE__HYPOTF 1
28752 _ACEOF
28753
28754 fi
28755 done
28756
28757     fi
28758   fi
28759
28760
28761
28762
28763
28764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28765 $as_echo_n "checking for ldexpf declaration... " >&6; }
28766   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28767     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28768   $as_echo_n "(cached) " >&6
28769 else
28770
28771
28772       ac_ext=cpp
28773 ac_cpp='$CXXCPP $CPPFLAGS'
28774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28777
28778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28779 /* end confdefs.h.  */
28780 #include <math.h>
28781 int
28782 main ()
28783 {
28784  ldexpf(0, 0);
28785   ;
28786   return 0;
28787 }
28788 _ACEOF
28789 if ac_fn_cxx_try_compile "$LINENO"; then :
28790   glibcxx_cv_func_ldexpf_use=yes
28791 else
28792   glibcxx_cv_func_ldexpf_use=no
28793 fi
28794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28795       ac_ext=c
28796 ac_cpp='$CPP $CPPFLAGS'
28797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28800
28801
28802 fi
28803
28804   fi
28805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28806 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28807
28808   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28809     for ac_func in ldexpf
28810 do :
28811   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28812 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28813   cat >>confdefs.h <<_ACEOF
28814 #define HAVE_LDEXPF 1
28815 _ACEOF
28816
28817 fi
28818 done
28819
28820   else
28821
28822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28823 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28824   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28825     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28826   $as_echo_n "(cached) " >&6
28827 else
28828
28829
28830       ac_ext=cpp
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28835
28836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h.  */
28838 #include <math.h>
28839 int
28840 main ()
28841 {
28842  _ldexpf(0, 0);
28843   ;
28844   return 0;
28845 }
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848   glibcxx_cv_func__ldexpf_use=yes
28849 else
28850   glibcxx_cv_func__ldexpf_use=no
28851 fi
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853       ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28858
28859
28860 fi
28861
28862   fi
28863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28864 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28865
28866     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28867       for ac_func in _ldexpf
28868 do :
28869   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28870 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28871   cat >>confdefs.h <<_ACEOF
28872 #define HAVE__LDEXPF 1
28873 _ACEOF
28874
28875 fi
28876 done
28877
28878     fi
28879   fi
28880
28881
28882
28883
28884
28885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28886 $as_echo_n "checking for logf declaration... " >&6; }
28887   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28888     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28889   $as_echo_n "(cached) " >&6
28890 else
28891
28892
28893       ac_ext=cpp
28894 ac_cpp='$CXXCPP $CPPFLAGS'
28895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28898
28899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900 /* end confdefs.h.  */
28901 #include <math.h>
28902                       #ifdef HAVE_IEEEFP_H
28903                       #include <ieeefp.h>
28904                       #endif
28905
28906 int
28907 main ()
28908 {
28909  logf(0);
28910   ;
28911   return 0;
28912 }
28913 _ACEOF
28914 if ac_fn_cxx_try_compile "$LINENO"; then :
28915   glibcxx_cv_func_logf_use=yes
28916 else
28917   glibcxx_cv_func_logf_use=no
28918 fi
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920       ac_ext=c
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28925
28926
28927 fi
28928
28929   fi
28930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28931 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28932
28933   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28934     for ac_func in logf
28935 do :
28936   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28937 if test "x$ac_cv_func_logf" = x""yes; then :
28938   cat >>confdefs.h <<_ACEOF
28939 #define HAVE_LOGF 1
28940 _ACEOF
28941
28942 fi
28943 done
28944
28945   else
28946
28947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28948 $as_echo_n "checking for _logf declaration... " >&6; }
28949   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28950     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28951   $as_echo_n "(cached) " >&6
28952 else
28953
28954
28955       ac_ext=cpp
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28960
28961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28962 /* end confdefs.h.  */
28963 #include <math.h>
28964                       #ifdef HAVE_IEEEFP_H
28965                       #include <ieeefp.h>
28966                       #endif
28967
28968 int
28969 main ()
28970 {
28971  _logf(0);
28972   ;
28973   return 0;
28974 }
28975 _ACEOF
28976 if ac_fn_cxx_try_compile "$LINENO"; then :
28977   glibcxx_cv_func__logf_use=yes
28978 else
28979   glibcxx_cv_func__logf_use=no
28980 fi
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28982       ac_ext=c
28983 ac_cpp='$CPP $CPPFLAGS'
28984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28987
28988
28989 fi
28990
28991   fi
28992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28993 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28994
28995     if test x$glibcxx_cv_func__logf_use = x"yes"; then
28996       for ac_func in _logf
28997 do :
28998   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28999 if test "x$ac_cv_func__logf" = x""yes; then :
29000   cat >>confdefs.h <<_ACEOF
29001 #define HAVE__LOGF 1
29002 _ACEOF
29003
29004 fi
29005 done
29006
29007     fi
29008   fi
29009
29010
29011
29012
29013
29014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29015 $as_echo_n "checking for log10f declaration... " >&6; }
29016   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29017     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29018   $as_echo_n "(cached) " >&6
29019 else
29020
29021
29022       ac_ext=cpp
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29027
29028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h.  */
29030 #include <math.h>
29031                       #ifdef HAVE_IEEEFP_H
29032                       #include <ieeefp.h>
29033                       #endif
29034
29035 int
29036 main ()
29037 {
29038  log10f(0);
29039   ;
29040   return 0;
29041 }
29042 _ACEOF
29043 if ac_fn_cxx_try_compile "$LINENO"; then :
29044   glibcxx_cv_func_log10f_use=yes
29045 else
29046   glibcxx_cv_func_log10f_use=no
29047 fi
29048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29049       ac_ext=c
29050 ac_cpp='$CPP $CPPFLAGS'
29051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29054
29055
29056 fi
29057
29058   fi
29059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29060 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29061
29062   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29063     for ac_func in log10f
29064 do :
29065   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29066 if test "x$ac_cv_func_log10f" = x""yes; then :
29067   cat >>confdefs.h <<_ACEOF
29068 #define HAVE_LOG10F 1
29069 _ACEOF
29070
29071 fi
29072 done
29073
29074   else
29075
29076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29077 $as_echo_n "checking for _log10f declaration... " >&6; }
29078   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29079     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29080   $as_echo_n "(cached) " >&6
29081 else
29082
29083
29084       ac_ext=cpp
29085 ac_cpp='$CXXCPP $CPPFLAGS'
29086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29089
29090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29091 /* end confdefs.h.  */
29092 #include <math.h>
29093                       #ifdef HAVE_IEEEFP_H
29094                       #include <ieeefp.h>
29095                       #endif
29096
29097 int
29098 main ()
29099 {
29100  _log10f(0);
29101   ;
29102   return 0;
29103 }
29104 _ACEOF
29105 if ac_fn_cxx_try_compile "$LINENO"; then :
29106   glibcxx_cv_func__log10f_use=yes
29107 else
29108   glibcxx_cv_func__log10f_use=no
29109 fi
29110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29111       ac_ext=c
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29116
29117
29118 fi
29119
29120   fi
29121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29122 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29123
29124     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29125       for ac_func in _log10f
29126 do :
29127   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29128 if test "x$ac_cv_func__log10f" = x""yes; then :
29129   cat >>confdefs.h <<_ACEOF
29130 #define HAVE__LOG10F 1
29131 _ACEOF
29132
29133 fi
29134 done
29135
29136     fi
29137   fi
29138
29139
29140
29141
29142
29143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29144 $as_echo_n "checking for modff declaration... " >&6; }
29145   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29146     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29147   $as_echo_n "(cached) " >&6
29148 else
29149
29150
29151       ac_ext=cpp
29152 ac_cpp='$CXXCPP $CPPFLAGS'
29153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29156
29157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29158 /* end confdefs.h.  */
29159 #include <math.h>
29160 int
29161 main ()
29162 {
29163  modff(0, 0);
29164   ;
29165   return 0;
29166 }
29167 _ACEOF
29168 if ac_fn_cxx_try_compile "$LINENO"; then :
29169   glibcxx_cv_func_modff_use=yes
29170 else
29171   glibcxx_cv_func_modff_use=no
29172 fi
29173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29174       ac_ext=c
29175 ac_cpp='$CPP $CPPFLAGS'
29176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29179
29180
29181 fi
29182
29183   fi
29184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29185 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29186
29187   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29188     for ac_func in modff
29189 do :
29190   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29191 if test "x$ac_cv_func_modff" = x""yes; then :
29192   cat >>confdefs.h <<_ACEOF
29193 #define HAVE_MODFF 1
29194 _ACEOF
29195
29196 fi
29197 done
29198
29199   else
29200
29201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29202 $as_echo_n "checking for _modff declaration... " >&6; }
29203   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29204     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29205   $as_echo_n "(cached) " >&6
29206 else
29207
29208
29209       ac_ext=cpp
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29214
29215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29216 /* end confdefs.h.  */
29217 #include <math.h>
29218 int
29219 main ()
29220 {
29221  _modff(0, 0);
29222   ;
29223   return 0;
29224 }
29225 _ACEOF
29226 if ac_fn_cxx_try_compile "$LINENO"; then :
29227   glibcxx_cv_func__modff_use=yes
29228 else
29229   glibcxx_cv_func__modff_use=no
29230 fi
29231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29232       ac_ext=c
29233 ac_cpp='$CPP $CPPFLAGS'
29234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29237
29238
29239 fi
29240
29241   fi
29242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29243 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29244
29245     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29246       for ac_func in _modff
29247 do :
29248   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29249 if test "x$ac_cv_func__modff" = x""yes; then :
29250   cat >>confdefs.h <<_ACEOF
29251 #define HAVE__MODFF 1
29252 _ACEOF
29253
29254 fi
29255 done
29256
29257     fi
29258   fi
29259
29260
29261
29262
29263
29264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29265 $as_echo_n "checking for modf declaration... " >&6; }
29266   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29267     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29268   $as_echo_n "(cached) " >&6
29269 else
29270
29271
29272       ac_ext=cpp
29273 ac_cpp='$CXXCPP $CPPFLAGS'
29274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29277
29278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29279 /* end confdefs.h.  */
29280 #include <math.h>
29281 int
29282 main ()
29283 {
29284  modf(0, 0);
29285   ;
29286   return 0;
29287 }
29288 _ACEOF
29289 if ac_fn_cxx_try_compile "$LINENO"; then :
29290   glibcxx_cv_func_modf_use=yes
29291 else
29292   glibcxx_cv_func_modf_use=no
29293 fi
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29295       ac_ext=c
29296 ac_cpp='$CPP $CPPFLAGS'
29297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29300
29301
29302 fi
29303
29304   fi
29305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29306 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29307
29308   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29309     for ac_func in modf
29310 do :
29311   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29312 if test "x$ac_cv_func_modf" = x""yes; then :
29313   cat >>confdefs.h <<_ACEOF
29314 #define HAVE_MODF 1
29315 _ACEOF
29316
29317 fi
29318 done
29319
29320   else
29321
29322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29323 $as_echo_n "checking for _modf declaration... " >&6; }
29324   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29325     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29326   $as_echo_n "(cached) " >&6
29327 else
29328
29329
29330       ac_ext=cpp
29331 ac_cpp='$CXXCPP $CPPFLAGS'
29332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29335
29336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h.  */
29338 #include <math.h>
29339 int
29340 main ()
29341 {
29342  _modf(0, 0);
29343   ;
29344   return 0;
29345 }
29346 _ACEOF
29347 if ac_fn_cxx_try_compile "$LINENO"; then :
29348   glibcxx_cv_func__modf_use=yes
29349 else
29350   glibcxx_cv_func__modf_use=no
29351 fi
29352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29353       ac_ext=c
29354 ac_cpp='$CPP $CPPFLAGS'
29355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29358
29359
29360 fi
29361
29362   fi
29363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29364 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29365
29366     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29367       for ac_func in _modf
29368 do :
29369   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29370 if test "x$ac_cv_func__modf" = x""yes; then :
29371   cat >>confdefs.h <<_ACEOF
29372 #define HAVE__MODF 1
29373 _ACEOF
29374
29375 fi
29376 done
29377
29378     fi
29379   fi
29380
29381
29382
29383
29384
29385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29386 $as_echo_n "checking for powf declaration... " >&6; }
29387   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29388     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29389   $as_echo_n "(cached) " >&6
29390 else
29391
29392
29393       ac_ext=cpp
29394 ac_cpp='$CXXCPP $CPPFLAGS'
29395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29398
29399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29400 /* end confdefs.h.  */
29401 #include <math.h>
29402 int
29403 main ()
29404 {
29405  powf(0, 0);
29406   ;
29407   return 0;
29408 }
29409 _ACEOF
29410 if ac_fn_cxx_try_compile "$LINENO"; then :
29411   glibcxx_cv_func_powf_use=yes
29412 else
29413   glibcxx_cv_func_powf_use=no
29414 fi
29415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29416       ac_ext=c
29417 ac_cpp='$CPP $CPPFLAGS'
29418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29421
29422
29423 fi
29424
29425   fi
29426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29427 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29428
29429   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29430     for ac_func in powf
29431 do :
29432   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29433 if test "x$ac_cv_func_powf" = x""yes; then :
29434   cat >>confdefs.h <<_ACEOF
29435 #define HAVE_POWF 1
29436 _ACEOF
29437
29438 fi
29439 done
29440
29441   else
29442
29443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29444 $as_echo_n "checking for _powf declaration... " >&6; }
29445   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29446     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29447   $as_echo_n "(cached) " >&6
29448 else
29449
29450
29451       ac_ext=cpp
29452 ac_cpp='$CXXCPP $CPPFLAGS'
29453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29456
29457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h.  */
29459 #include <math.h>
29460 int
29461 main ()
29462 {
29463  _powf(0, 0);
29464   ;
29465   return 0;
29466 }
29467 _ACEOF
29468 if ac_fn_cxx_try_compile "$LINENO"; then :
29469   glibcxx_cv_func__powf_use=yes
29470 else
29471   glibcxx_cv_func__powf_use=no
29472 fi
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29474       ac_ext=c
29475 ac_cpp='$CPP $CPPFLAGS'
29476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29479
29480
29481 fi
29482
29483   fi
29484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29485 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29486
29487     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29488       for ac_func in _powf
29489 do :
29490   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29491 if test "x$ac_cv_func__powf" = x""yes; then :
29492   cat >>confdefs.h <<_ACEOF
29493 #define HAVE__POWF 1
29494 _ACEOF
29495
29496 fi
29497 done
29498
29499     fi
29500   fi
29501
29502
29503
29504
29505
29506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29507 $as_echo_n "checking for sqrtf declaration... " >&6; }
29508   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29509     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29510   $as_echo_n "(cached) " >&6
29511 else
29512
29513
29514       ac_ext=cpp
29515 ac_cpp='$CXXCPP $CPPFLAGS'
29516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29519
29520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29521 /* end confdefs.h.  */
29522 #include <math.h>
29523                       #ifdef HAVE_IEEEFP_H
29524                       #include <ieeefp.h>
29525                       #endif
29526
29527 int
29528 main ()
29529 {
29530  sqrtf(0);
29531   ;
29532   return 0;
29533 }
29534 _ACEOF
29535 if ac_fn_cxx_try_compile "$LINENO"; then :
29536   glibcxx_cv_func_sqrtf_use=yes
29537 else
29538   glibcxx_cv_func_sqrtf_use=no
29539 fi
29540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29541       ac_ext=c
29542 ac_cpp='$CPP $CPPFLAGS'
29543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29546
29547
29548 fi
29549
29550   fi
29551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29552 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29553
29554   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29555     for ac_func in sqrtf
29556 do :
29557   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29558 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29559   cat >>confdefs.h <<_ACEOF
29560 #define HAVE_SQRTF 1
29561 _ACEOF
29562
29563 fi
29564 done
29565
29566   else
29567
29568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29569 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29570   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29571     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29572   $as_echo_n "(cached) " >&6
29573 else
29574
29575
29576       ac_ext=cpp
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29581
29582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583 /* end confdefs.h.  */
29584 #include <math.h>
29585                       #ifdef HAVE_IEEEFP_H
29586                       #include <ieeefp.h>
29587                       #endif
29588
29589 int
29590 main ()
29591 {
29592  _sqrtf(0);
29593   ;
29594   return 0;
29595 }
29596 _ACEOF
29597 if ac_fn_cxx_try_compile "$LINENO"; then :
29598   glibcxx_cv_func__sqrtf_use=yes
29599 else
29600   glibcxx_cv_func__sqrtf_use=no
29601 fi
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29603       ac_ext=c
29604 ac_cpp='$CPP $CPPFLAGS'
29605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29608
29609
29610 fi
29611
29612   fi
29613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29614 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29615
29616     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29617       for ac_func in _sqrtf
29618 do :
29619   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29620 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29621   cat >>confdefs.h <<_ACEOF
29622 #define HAVE__SQRTF 1
29623 _ACEOF
29624
29625 fi
29626 done
29627
29628     fi
29629   fi
29630
29631
29632
29633
29634
29635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29636 $as_echo_n "checking for sincosf declaration... " >&6; }
29637   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29638     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29639   $as_echo_n "(cached) " >&6
29640 else
29641
29642
29643       ac_ext=cpp
29644 ac_cpp='$CXXCPP $CPPFLAGS'
29645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29648
29649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29650 /* end confdefs.h.  */
29651 #include <math.h>
29652 int
29653 main ()
29654 {
29655  sincosf(0, 0, 0);
29656   ;
29657   return 0;
29658 }
29659 _ACEOF
29660 if ac_fn_cxx_try_compile "$LINENO"; then :
29661   glibcxx_cv_func_sincosf_use=yes
29662 else
29663   glibcxx_cv_func_sincosf_use=no
29664 fi
29665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29666       ac_ext=c
29667 ac_cpp='$CPP $CPPFLAGS'
29668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29671
29672
29673 fi
29674
29675   fi
29676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29677 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29678
29679   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29680     for ac_func in sincosf
29681 do :
29682   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29683 if test "x$ac_cv_func_sincosf" = x""yes; then :
29684   cat >>confdefs.h <<_ACEOF
29685 #define HAVE_SINCOSF 1
29686 _ACEOF
29687
29688 fi
29689 done
29690
29691   else
29692
29693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29694 $as_echo_n "checking for _sincosf declaration... " >&6; }
29695   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29696     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29697   $as_echo_n "(cached) " >&6
29698 else
29699
29700
29701       ac_ext=cpp
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29706
29707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h.  */
29709 #include <math.h>
29710 int
29711 main ()
29712 {
29713  _sincosf(0, 0, 0);
29714   ;
29715   return 0;
29716 }
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719   glibcxx_cv_func__sincosf_use=yes
29720 else
29721   glibcxx_cv_func__sincosf_use=no
29722 fi
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724       ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29729
29730
29731 fi
29732
29733   fi
29734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29735 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29736
29737     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29738       for ac_func in _sincosf
29739 do :
29740   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29741 if test "x$ac_cv_func__sincosf" = x""yes; then :
29742   cat >>confdefs.h <<_ACEOF
29743 #define HAVE__SINCOSF 1
29744 _ACEOF
29745
29746 fi
29747 done
29748
29749     fi
29750   fi
29751
29752
29753
29754
29755
29756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29757 $as_echo_n "checking for finitef declaration... " >&6; }
29758   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29759     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29760   $as_echo_n "(cached) " >&6
29761 else
29762
29763
29764       ac_ext=cpp
29765 ac_cpp='$CXXCPP $CPPFLAGS'
29766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29769
29770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h.  */
29772 #include <math.h>
29773                       #ifdef HAVE_IEEEFP_H
29774                       #include <ieeefp.h>
29775                       #endif
29776
29777 int
29778 main ()
29779 {
29780  finitef(0);
29781   ;
29782   return 0;
29783 }
29784 _ACEOF
29785 if ac_fn_cxx_try_compile "$LINENO"; then :
29786   glibcxx_cv_func_finitef_use=yes
29787 else
29788   glibcxx_cv_func_finitef_use=no
29789 fi
29790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29791       ac_ext=c
29792 ac_cpp='$CPP $CPPFLAGS'
29793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29796
29797
29798 fi
29799
29800   fi
29801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29802 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29803
29804   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29805     for ac_func in finitef
29806 do :
29807   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29808 if test "x$ac_cv_func_finitef" = x""yes; then :
29809   cat >>confdefs.h <<_ACEOF
29810 #define HAVE_FINITEF 1
29811 _ACEOF
29812
29813 fi
29814 done
29815
29816   else
29817
29818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29819 $as_echo_n "checking for _finitef declaration... " >&6; }
29820   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29821     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29822   $as_echo_n "(cached) " >&6
29823 else
29824
29825
29826       ac_ext=cpp
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29831
29832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h.  */
29834 #include <math.h>
29835                       #ifdef HAVE_IEEEFP_H
29836                       #include <ieeefp.h>
29837                       #endif
29838
29839 int
29840 main ()
29841 {
29842  _finitef(0);
29843   ;
29844   return 0;
29845 }
29846 _ACEOF
29847 if ac_fn_cxx_try_compile "$LINENO"; then :
29848   glibcxx_cv_func__finitef_use=yes
29849 else
29850   glibcxx_cv_func__finitef_use=no
29851 fi
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853       ac_ext=c
29854 ac_cpp='$CPP $CPPFLAGS'
29855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29858
29859
29860 fi
29861
29862   fi
29863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29864 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29865
29866     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29867       for ac_func in _finitef
29868 do :
29869   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29870 if test "x$ac_cv_func__finitef" = x""yes; then :
29871   cat >>confdefs.h <<_ACEOF
29872 #define HAVE__FINITEF 1
29873 _ACEOF
29874
29875 fi
29876 done
29877
29878     fi
29879   fi
29880
29881
29882
29883
29884
29885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29886 $as_echo_n "checking for long double trig functions... " >&6; }
29887   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29888   $as_echo_n "(cached) " >&6
29889 else
29890
29891
29892     ac_ext=cpp
29893 ac_cpp='$CXXCPP $CPPFLAGS'
29894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29897
29898     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29899 /* end confdefs.h.  */
29900 #include <math.h>
29901 int
29902 main ()
29903 {
29904 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29905   ;
29906   return 0;
29907 }
29908 _ACEOF
29909 if ac_fn_cxx_try_compile "$LINENO"; then :
29910   glibcxx_cv_func_long_double_trig_use=yes
29911 else
29912   glibcxx_cv_func_long_double_trig_use=no
29913 fi
29914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29915     ac_ext=c
29916 ac_cpp='$CPP $CPPFLAGS'
29917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29920
29921 fi
29922
29923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29924 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29925   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29926     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29927 do :
29928   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29930 eval as_val=\$$as_ac_var
29931    if test "x$as_val" = x""yes; then :
29932   cat >>confdefs.h <<_ACEOF
29933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29934 _ACEOF
29935
29936 fi
29937 done
29938
29939   else
29940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29941 $as_echo_n "checking for _long double trig functions... " >&6; }
29942     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29943   $as_echo_n "(cached) " >&6
29944 else
29945
29946
29947       ac_ext=cpp
29948 ac_cpp='$CXXCPP $CPPFLAGS'
29949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29952
29953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29954 /* end confdefs.h.  */
29955 #include <math.h>
29956 int
29957 main ()
29958 {
29959 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29960   ;
29961   return 0;
29962 }
29963 _ACEOF
29964 if ac_fn_cxx_try_compile "$LINENO"; then :
29965   glibcxx_cv_func__long_double_trig_use=yes
29966 else
29967   glibcxx_cv_func__long_double_trig_use=no
29968 fi
29969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29970       ac_ext=c
29971 ac_cpp='$CPP $CPPFLAGS'
29972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29975
29976 fi
29977
29978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29979 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29980     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29981       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29982 do :
29983   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29985 eval as_val=\$$as_ac_var
29986    if test "x$as_val" = x""yes; then :
29987   cat >>confdefs.h <<_ACEOF
29988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29989 _ACEOF
29990
29991 fi
29992 done
29993
29994     fi
29995   fi
29996
29997
29998
29999
30000
30001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30002 $as_echo_n "checking for long double round functions... " >&6; }
30003   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30004   $as_echo_n "(cached) " >&6
30005 else
30006
30007
30008     ac_ext=cpp
30009 ac_cpp='$CXXCPP $CPPFLAGS'
30010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30013
30014     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30015 /* end confdefs.h.  */
30016 #include <math.h>
30017 int
30018 main ()
30019 {
30020 ceill (0); floorl (0);
30021   ;
30022   return 0;
30023 }
30024 _ACEOF
30025 if ac_fn_cxx_try_compile "$LINENO"; then :
30026   glibcxx_cv_func_long_double_round_use=yes
30027 else
30028   glibcxx_cv_func_long_double_round_use=no
30029 fi
30030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30031     ac_ext=c
30032 ac_cpp='$CPP $CPPFLAGS'
30033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30036
30037 fi
30038
30039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30040 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30041   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30042     for ac_func in ceill floorl
30043 do :
30044   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30046 eval as_val=\$$as_ac_var
30047    if test "x$as_val" = x""yes; then :
30048   cat >>confdefs.h <<_ACEOF
30049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30050 _ACEOF
30051
30052 fi
30053 done
30054
30055   else
30056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30057 $as_echo_n "checking for _long double round functions... " >&6; }
30058     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30059   $as_echo_n "(cached) " >&6
30060 else
30061
30062
30063       ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068
30069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h.  */
30071 #include <math.h>
30072 int
30073 main ()
30074 {
30075 _ceill (0); _floorl (0);
30076   ;
30077   return 0;
30078 }
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081   glibcxx_cv_func__long_double_round_use=yes
30082 else
30083   glibcxx_cv_func__long_double_round_use=no
30084 fi
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086       ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30091
30092 fi
30093
30094     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30095 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30096     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30097       for ac_func in _ceill _floorl
30098 do :
30099   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30101 eval as_val=\$$as_ac_var
30102    if test "x$as_val" = x""yes; then :
30103   cat >>confdefs.h <<_ACEOF
30104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30105 _ACEOF
30106
30107 fi
30108 done
30109
30110     fi
30111   fi
30112
30113
30114
30115
30116
30117
30118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30119 $as_echo_n "checking for isnanl declaration... " >&6; }
30120   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30121     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30122   $as_echo_n "(cached) " >&6
30123 else
30124
30125
30126       ac_ext=cpp
30127 ac_cpp='$CXXCPP $CPPFLAGS'
30128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30131
30132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30133 /* end confdefs.h.  */
30134 #include <math.h>
30135                       #ifdef HAVE_IEEEFP_H
30136                       #include <ieeefp.h>
30137                       #endif
30138
30139 int
30140 main ()
30141 {
30142  isnanl(0);
30143   ;
30144   return 0;
30145 }
30146 _ACEOF
30147 if ac_fn_cxx_try_compile "$LINENO"; then :
30148   glibcxx_cv_func_isnanl_use=yes
30149 else
30150   glibcxx_cv_func_isnanl_use=no
30151 fi
30152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30153       ac_ext=c
30154 ac_cpp='$CPP $CPPFLAGS'
30155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30158
30159
30160 fi
30161
30162   fi
30163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30164 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30165
30166   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30167     for ac_func in isnanl
30168 do :
30169   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30170 if test "x$ac_cv_func_isnanl" = x""yes; then :
30171   cat >>confdefs.h <<_ACEOF
30172 #define HAVE_ISNANL 1
30173 _ACEOF
30174
30175 fi
30176 done
30177
30178   else
30179
30180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30181 $as_echo_n "checking for _isnanl declaration... " >&6; }
30182   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30183     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30184   $as_echo_n "(cached) " >&6
30185 else
30186
30187
30188       ac_ext=cpp
30189 ac_cpp='$CXXCPP $CPPFLAGS'
30190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30193
30194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h.  */
30196 #include <math.h>
30197                       #ifdef HAVE_IEEEFP_H
30198                       #include <ieeefp.h>
30199                       #endif
30200
30201 int
30202 main ()
30203 {
30204  _isnanl(0);
30205   ;
30206   return 0;
30207 }
30208 _ACEOF
30209 if ac_fn_cxx_try_compile "$LINENO"; then :
30210   glibcxx_cv_func__isnanl_use=yes
30211 else
30212   glibcxx_cv_func__isnanl_use=no
30213 fi
30214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30215       ac_ext=c
30216 ac_cpp='$CPP $CPPFLAGS'
30217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30220
30221
30222 fi
30223
30224   fi
30225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30226 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30227
30228     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30229       for ac_func in _isnanl
30230 do :
30231   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30232 if test "x$ac_cv_func__isnanl" = x""yes; then :
30233   cat >>confdefs.h <<_ACEOF
30234 #define HAVE__ISNANL 1
30235 _ACEOF
30236
30237 fi
30238 done
30239
30240     fi
30241   fi
30242
30243
30244
30245
30246
30247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30248 $as_echo_n "checking for isinfl declaration... " >&6; }
30249   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30250     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30251   $as_echo_n "(cached) " >&6
30252 else
30253
30254
30255       ac_ext=cpp
30256 ac_cpp='$CXXCPP $CPPFLAGS'
30257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30260
30261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30262 /* end confdefs.h.  */
30263 #include <math.h>
30264                       #ifdef HAVE_IEEEFP_H
30265                       #include <ieeefp.h>
30266                       #endif
30267
30268 int
30269 main ()
30270 {
30271  isinfl(0);
30272   ;
30273   return 0;
30274 }
30275 _ACEOF
30276 if ac_fn_cxx_try_compile "$LINENO"; then :
30277   glibcxx_cv_func_isinfl_use=yes
30278 else
30279   glibcxx_cv_func_isinfl_use=no
30280 fi
30281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30282       ac_ext=c
30283 ac_cpp='$CPP $CPPFLAGS'
30284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30287
30288
30289 fi
30290
30291   fi
30292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30293 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30294
30295   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30296     for ac_func in isinfl
30297 do :
30298   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30299 if test "x$ac_cv_func_isinfl" = x""yes; then :
30300   cat >>confdefs.h <<_ACEOF
30301 #define HAVE_ISINFL 1
30302 _ACEOF
30303
30304 fi
30305 done
30306
30307   else
30308
30309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30310 $as_echo_n "checking for _isinfl declaration... " >&6; }
30311   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30312     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30313   $as_echo_n "(cached) " >&6
30314 else
30315
30316
30317       ac_ext=cpp
30318 ac_cpp='$CXXCPP $CPPFLAGS'
30319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30322
30323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30324 /* end confdefs.h.  */
30325 #include <math.h>
30326                       #ifdef HAVE_IEEEFP_H
30327                       #include <ieeefp.h>
30328                       #endif
30329
30330 int
30331 main ()
30332 {
30333  _isinfl(0);
30334   ;
30335   return 0;
30336 }
30337 _ACEOF
30338 if ac_fn_cxx_try_compile "$LINENO"; then :
30339   glibcxx_cv_func__isinfl_use=yes
30340 else
30341   glibcxx_cv_func__isinfl_use=no
30342 fi
30343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30344       ac_ext=c
30345 ac_cpp='$CPP $CPPFLAGS'
30346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30349
30350
30351 fi
30352
30353   fi
30354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30355 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30356
30357     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30358       for ac_func in _isinfl
30359 do :
30360   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30361 if test "x$ac_cv_func__isinfl" = x""yes; then :
30362   cat >>confdefs.h <<_ACEOF
30363 #define HAVE__ISINFL 1
30364 _ACEOF
30365
30366 fi
30367 done
30368
30369     fi
30370   fi
30371
30372
30373
30374
30375
30376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30377 $as_echo_n "checking for atan2l declaration... " >&6; }
30378   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30379     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30380   $as_echo_n "(cached) " >&6
30381 else
30382
30383
30384       ac_ext=cpp
30385 ac_cpp='$CXXCPP $CPPFLAGS'
30386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30389
30390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30391 /* end confdefs.h.  */
30392 #include <math.h>
30393 int
30394 main ()
30395 {
30396  atan2l(0, 0);
30397   ;
30398   return 0;
30399 }
30400 _ACEOF
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402   glibcxx_cv_func_atan2l_use=yes
30403 else
30404   glibcxx_cv_func_atan2l_use=no
30405 fi
30406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30407       ac_ext=c
30408 ac_cpp='$CPP $CPPFLAGS'
30409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30412
30413
30414 fi
30415
30416   fi
30417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30418 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30419
30420   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30421     for ac_func in atan2l
30422 do :
30423   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30424 if test "x$ac_cv_func_atan2l" = x""yes; then :
30425   cat >>confdefs.h <<_ACEOF
30426 #define HAVE_ATAN2L 1
30427 _ACEOF
30428
30429 fi
30430 done
30431
30432   else
30433
30434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30435 $as_echo_n "checking for _atan2l declaration... " >&6; }
30436   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30437     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30438   $as_echo_n "(cached) " >&6
30439 else
30440
30441
30442       ac_ext=cpp
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30447
30448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h.  */
30450 #include <math.h>
30451 int
30452 main ()
30453 {
30454  _atan2l(0, 0);
30455   ;
30456   return 0;
30457 }
30458 _ACEOF
30459 if ac_fn_cxx_try_compile "$LINENO"; then :
30460   glibcxx_cv_func__atan2l_use=yes
30461 else
30462   glibcxx_cv_func__atan2l_use=no
30463 fi
30464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30465       ac_ext=c
30466 ac_cpp='$CPP $CPPFLAGS'
30467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30470
30471
30472 fi
30473
30474   fi
30475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30476 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30477
30478     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30479       for ac_func in _atan2l
30480 do :
30481   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30482 if test "x$ac_cv_func__atan2l" = x""yes; then :
30483   cat >>confdefs.h <<_ACEOF
30484 #define HAVE__ATAN2L 1
30485 _ACEOF
30486
30487 fi
30488 done
30489
30490     fi
30491   fi
30492
30493
30494
30495
30496
30497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30498 $as_echo_n "checking for expl declaration... " >&6; }
30499   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30500     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30501   $as_echo_n "(cached) " >&6
30502 else
30503
30504
30505       ac_ext=cpp
30506 ac_cpp='$CXXCPP $CPPFLAGS'
30507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30510
30511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30512 /* end confdefs.h.  */
30513 #include <math.h>
30514                       #ifdef HAVE_IEEEFP_H
30515                       #include <ieeefp.h>
30516                       #endif
30517
30518 int
30519 main ()
30520 {
30521  expl(0);
30522   ;
30523   return 0;
30524 }
30525 _ACEOF
30526 if ac_fn_cxx_try_compile "$LINENO"; then :
30527   glibcxx_cv_func_expl_use=yes
30528 else
30529   glibcxx_cv_func_expl_use=no
30530 fi
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532       ac_ext=c
30533 ac_cpp='$CPP $CPPFLAGS'
30534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30537
30538
30539 fi
30540
30541   fi
30542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30543 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30544
30545   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30546     for ac_func in expl
30547 do :
30548   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30549 if test "x$ac_cv_func_expl" = x""yes; then :
30550   cat >>confdefs.h <<_ACEOF
30551 #define HAVE_EXPL 1
30552 _ACEOF
30553
30554 fi
30555 done
30556
30557   else
30558
30559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30560 $as_echo_n "checking for _expl declaration... " >&6; }
30561   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30562     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30563   $as_echo_n "(cached) " >&6
30564 else
30565
30566
30567       ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30572
30573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h.  */
30575 #include <math.h>
30576                       #ifdef HAVE_IEEEFP_H
30577                       #include <ieeefp.h>
30578                       #endif
30579
30580 int
30581 main ()
30582 {
30583  _expl(0);
30584   ;
30585   return 0;
30586 }
30587 _ACEOF
30588 if ac_fn_cxx_try_compile "$LINENO"; then :
30589   glibcxx_cv_func__expl_use=yes
30590 else
30591   glibcxx_cv_func__expl_use=no
30592 fi
30593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30594       ac_ext=c
30595 ac_cpp='$CPP $CPPFLAGS'
30596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30599
30600
30601 fi
30602
30603   fi
30604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30605 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30606
30607     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30608       for ac_func in _expl
30609 do :
30610   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30611 if test "x$ac_cv_func__expl" = x""yes; then :
30612   cat >>confdefs.h <<_ACEOF
30613 #define HAVE__EXPL 1
30614 _ACEOF
30615
30616 fi
30617 done
30618
30619     fi
30620   fi
30621
30622
30623
30624
30625
30626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30627 $as_echo_n "checking for fabsl declaration... " >&6; }
30628   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30629     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30630   $as_echo_n "(cached) " >&6
30631 else
30632
30633
30634       ac_ext=cpp
30635 ac_cpp='$CXXCPP $CPPFLAGS'
30636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30639
30640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30641 /* end confdefs.h.  */
30642 #include <math.h>
30643                       #ifdef HAVE_IEEEFP_H
30644                       #include <ieeefp.h>
30645                       #endif
30646
30647 int
30648 main ()
30649 {
30650  fabsl(0);
30651   ;
30652   return 0;
30653 }
30654 _ACEOF
30655 if ac_fn_cxx_try_compile "$LINENO"; then :
30656   glibcxx_cv_func_fabsl_use=yes
30657 else
30658   glibcxx_cv_func_fabsl_use=no
30659 fi
30660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30661       ac_ext=c
30662 ac_cpp='$CPP $CPPFLAGS'
30663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30666
30667
30668 fi
30669
30670   fi
30671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30672 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30673
30674   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30675     for ac_func in fabsl
30676 do :
30677   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30678 if test "x$ac_cv_func_fabsl" = x""yes; then :
30679   cat >>confdefs.h <<_ACEOF
30680 #define HAVE_FABSL 1
30681 _ACEOF
30682
30683 fi
30684 done
30685
30686   else
30687
30688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30689 $as_echo_n "checking for _fabsl declaration... " >&6; }
30690   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30691     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30692   $as_echo_n "(cached) " >&6
30693 else
30694
30695
30696       ac_ext=cpp
30697 ac_cpp='$CXXCPP $CPPFLAGS'
30698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30701
30702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30703 /* end confdefs.h.  */
30704 #include <math.h>
30705                       #ifdef HAVE_IEEEFP_H
30706                       #include <ieeefp.h>
30707                       #endif
30708
30709 int
30710 main ()
30711 {
30712  _fabsl(0);
30713   ;
30714   return 0;
30715 }
30716 _ACEOF
30717 if ac_fn_cxx_try_compile "$LINENO"; then :
30718   glibcxx_cv_func__fabsl_use=yes
30719 else
30720   glibcxx_cv_func__fabsl_use=no
30721 fi
30722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30723       ac_ext=c
30724 ac_cpp='$CPP $CPPFLAGS'
30725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30728
30729
30730 fi
30731
30732   fi
30733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30734 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30735
30736     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30737       for ac_func in _fabsl
30738 do :
30739   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30740 if test "x$ac_cv_func__fabsl" = x""yes; then :
30741   cat >>confdefs.h <<_ACEOF
30742 #define HAVE__FABSL 1
30743 _ACEOF
30744
30745 fi
30746 done
30747
30748     fi
30749   fi
30750
30751
30752
30753
30754
30755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30756 $as_echo_n "checking for fmodl declaration... " >&6; }
30757   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30758     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30759   $as_echo_n "(cached) " >&6
30760 else
30761
30762
30763       ac_ext=cpp
30764 ac_cpp='$CXXCPP $CPPFLAGS'
30765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30768
30769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30770 /* end confdefs.h.  */
30771 #include <math.h>
30772 int
30773 main ()
30774 {
30775  fmodl(0, 0);
30776   ;
30777   return 0;
30778 }
30779 _ACEOF
30780 if ac_fn_cxx_try_compile "$LINENO"; then :
30781   glibcxx_cv_func_fmodl_use=yes
30782 else
30783   glibcxx_cv_func_fmodl_use=no
30784 fi
30785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30786       ac_ext=c
30787 ac_cpp='$CPP $CPPFLAGS'
30788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30791
30792
30793 fi
30794
30795   fi
30796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30797 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30798
30799   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30800     for ac_func in fmodl
30801 do :
30802   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30803 if test "x$ac_cv_func_fmodl" = x""yes; then :
30804   cat >>confdefs.h <<_ACEOF
30805 #define HAVE_FMODL 1
30806 _ACEOF
30807
30808 fi
30809 done
30810
30811   else
30812
30813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30814 $as_echo_n "checking for _fmodl declaration... " >&6; }
30815   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30816     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30817   $as_echo_n "(cached) " >&6
30818 else
30819
30820
30821       ac_ext=cpp
30822 ac_cpp='$CXXCPP $CPPFLAGS'
30823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30826
30827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30828 /* end confdefs.h.  */
30829 #include <math.h>
30830 int
30831 main ()
30832 {
30833  _fmodl(0, 0);
30834   ;
30835   return 0;
30836 }
30837 _ACEOF
30838 if ac_fn_cxx_try_compile "$LINENO"; then :
30839   glibcxx_cv_func__fmodl_use=yes
30840 else
30841   glibcxx_cv_func__fmodl_use=no
30842 fi
30843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30844       ac_ext=c
30845 ac_cpp='$CPP $CPPFLAGS'
30846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30849
30850
30851 fi
30852
30853   fi
30854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30855 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30856
30857     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30858       for ac_func in _fmodl
30859 do :
30860   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30861 if test "x$ac_cv_func__fmodl" = x""yes; then :
30862   cat >>confdefs.h <<_ACEOF
30863 #define HAVE__FMODL 1
30864 _ACEOF
30865
30866 fi
30867 done
30868
30869     fi
30870   fi
30871
30872
30873
30874
30875
30876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30877 $as_echo_n "checking for frexpl declaration... " >&6; }
30878   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30879     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30880   $as_echo_n "(cached) " >&6
30881 else
30882
30883
30884       ac_ext=cpp
30885 ac_cpp='$CXXCPP $CPPFLAGS'
30886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30889
30890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30891 /* end confdefs.h.  */
30892 #include <math.h>
30893 int
30894 main ()
30895 {
30896  frexpl(0, 0);
30897   ;
30898   return 0;
30899 }
30900 _ACEOF
30901 if ac_fn_cxx_try_compile "$LINENO"; then :
30902   glibcxx_cv_func_frexpl_use=yes
30903 else
30904   glibcxx_cv_func_frexpl_use=no
30905 fi
30906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30907       ac_ext=c
30908 ac_cpp='$CPP $CPPFLAGS'
30909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30912
30913
30914 fi
30915
30916   fi
30917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30918 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30919
30920   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30921     for ac_func in frexpl
30922 do :
30923   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30924 if test "x$ac_cv_func_frexpl" = x""yes; then :
30925   cat >>confdefs.h <<_ACEOF
30926 #define HAVE_FREXPL 1
30927 _ACEOF
30928
30929 fi
30930 done
30931
30932   else
30933
30934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30935 $as_echo_n "checking for _frexpl declaration... " >&6; }
30936   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30937     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30938   $as_echo_n "(cached) " >&6
30939 else
30940
30941
30942       ac_ext=cpp
30943 ac_cpp='$CXXCPP $CPPFLAGS'
30944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30947
30948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h.  */
30950 #include <math.h>
30951 int
30952 main ()
30953 {
30954  _frexpl(0, 0);
30955   ;
30956   return 0;
30957 }
30958 _ACEOF
30959 if ac_fn_cxx_try_compile "$LINENO"; then :
30960   glibcxx_cv_func__frexpl_use=yes
30961 else
30962   glibcxx_cv_func__frexpl_use=no
30963 fi
30964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30965       ac_ext=c
30966 ac_cpp='$CPP $CPPFLAGS'
30967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30970
30971
30972 fi
30973
30974   fi
30975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30976 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30977
30978     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30979       for ac_func in _frexpl
30980 do :
30981   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30982 if test "x$ac_cv_func__frexpl" = x""yes; then :
30983   cat >>confdefs.h <<_ACEOF
30984 #define HAVE__FREXPL 1
30985 _ACEOF
30986
30987 fi
30988 done
30989
30990     fi
30991   fi
30992
30993
30994
30995
30996
30997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30998 $as_echo_n "checking for hypotl declaration... " >&6; }
30999   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31000     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31001   $as_echo_n "(cached) " >&6
31002 else
31003
31004
31005       ac_ext=cpp
31006 ac_cpp='$CXXCPP $CPPFLAGS'
31007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31010
31011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31012 /* end confdefs.h.  */
31013 #include <math.h>
31014 int
31015 main ()
31016 {
31017  hypotl(0, 0);
31018   ;
31019   return 0;
31020 }
31021 _ACEOF
31022 if ac_fn_cxx_try_compile "$LINENO"; then :
31023   glibcxx_cv_func_hypotl_use=yes
31024 else
31025   glibcxx_cv_func_hypotl_use=no
31026 fi
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31028       ac_ext=c
31029 ac_cpp='$CPP $CPPFLAGS'
31030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31033
31034
31035 fi
31036
31037   fi
31038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31039 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31040
31041   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31042     for ac_func in hypotl
31043 do :
31044   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31045 if test "x$ac_cv_func_hypotl" = x""yes; then :
31046   cat >>confdefs.h <<_ACEOF
31047 #define HAVE_HYPOTL 1
31048 _ACEOF
31049
31050 fi
31051 done
31052
31053   else
31054
31055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31056 $as_echo_n "checking for _hypotl declaration... " >&6; }
31057   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31058     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31059   $as_echo_n "(cached) " >&6
31060 else
31061
31062
31063       ac_ext=cpp
31064 ac_cpp='$CXXCPP $CPPFLAGS'
31065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31068
31069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31070 /* end confdefs.h.  */
31071 #include <math.h>
31072 int
31073 main ()
31074 {
31075  _hypotl(0, 0);
31076   ;
31077   return 0;
31078 }
31079 _ACEOF
31080 if ac_fn_cxx_try_compile "$LINENO"; then :
31081   glibcxx_cv_func__hypotl_use=yes
31082 else
31083   glibcxx_cv_func__hypotl_use=no
31084 fi
31085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31086       ac_ext=c
31087 ac_cpp='$CPP $CPPFLAGS'
31088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31091
31092
31093 fi
31094
31095   fi
31096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31097 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31098
31099     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31100       for ac_func in _hypotl
31101 do :
31102   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31103 if test "x$ac_cv_func__hypotl" = x""yes; then :
31104   cat >>confdefs.h <<_ACEOF
31105 #define HAVE__HYPOTL 1
31106 _ACEOF
31107
31108 fi
31109 done
31110
31111     fi
31112   fi
31113
31114
31115
31116
31117
31118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31119 $as_echo_n "checking for ldexpl declaration... " >&6; }
31120   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31121     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31122   $as_echo_n "(cached) " >&6
31123 else
31124
31125
31126       ac_ext=cpp
31127 ac_cpp='$CXXCPP $CPPFLAGS'
31128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31131
31132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31133 /* end confdefs.h.  */
31134 #include <math.h>
31135 int
31136 main ()
31137 {
31138  ldexpl(0, 0);
31139   ;
31140   return 0;
31141 }
31142 _ACEOF
31143 if ac_fn_cxx_try_compile "$LINENO"; then :
31144   glibcxx_cv_func_ldexpl_use=yes
31145 else
31146   glibcxx_cv_func_ldexpl_use=no
31147 fi
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31149       ac_ext=c
31150 ac_cpp='$CPP $CPPFLAGS'
31151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31154
31155
31156 fi
31157
31158   fi
31159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31160 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31161
31162   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31163     for ac_func in ldexpl
31164 do :
31165   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31166 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31167   cat >>confdefs.h <<_ACEOF
31168 #define HAVE_LDEXPL 1
31169 _ACEOF
31170
31171 fi
31172 done
31173
31174   else
31175
31176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31177 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31178   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31179     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31180   $as_echo_n "(cached) " >&6
31181 else
31182
31183
31184       ac_ext=cpp
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31189
31190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h.  */
31192 #include <math.h>
31193 int
31194 main ()
31195 {
31196  _ldexpl(0, 0);
31197   ;
31198   return 0;
31199 }
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202   glibcxx_cv_func__ldexpl_use=yes
31203 else
31204   glibcxx_cv_func__ldexpl_use=no
31205 fi
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207       ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31212
31213
31214 fi
31215
31216   fi
31217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31218 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31219
31220     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31221       for ac_func in _ldexpl
31222 do :
31223   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31224 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31225   cat >>confdefs.h <<_ACEOF
31226 #define HAVE__LDEXPL 1
31227 _ACEOF
31228
31229 fi
31230 done
31231
31232     fi
31233   fi
31234
31235
31236
31237
31238
31239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31240 $as_echo_n "checking for logl declaration... " >&6; }
31241   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31242     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31243   $as_echo_n "(cached) " >&6
31244 else
31245
31246
31247       ac_ext=cpp
31248 ac_cpp='$CXXCPP $CPPFLAGS'
31249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31252
31253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31254 /* end confdefs.h.  */
31255 #include <math.h>
31256                       #ifdef HAVE_IEEEFP_H
31257                       #include <ieeefp.h>
31258                       #endif
31259
31260 int
31261 main ()
31262 {
31263  logl(0);
31264   ;
31265   return 0;
31266 }
31267 _ACEOF
31268 if ac_fn_cxx_try_compile "$LINENO"; then :
31269   glibcxx_cv_func_logl_use=yes
31270 else
31271   glibcxx_cv_func_logl_use=no
31272 fi
31273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31274       ac_ext=c
31275 ac_cpp='$CPP $CPPFLAGS'
31276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31279
31280
31281 fi
31282
31283   fi
31284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31285 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31286
31287   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31288     for ac_func in logl
31289 do :
31290   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31291 if test "x$ac_cv_func_logl" = x""yes; then :
31292   cat >>confdefs.h <<_ACEOF
31293 #define HAVE_LOGL 1
31294 _ACEOF
31295
31296 fi
31297 done
31298
31299   else
31300
31301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31302 $as_echo_n "checking for _logl declaration... " >&6; }
31303   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31304     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31305   $as_echo_n "(cached) " >&6
31306 else
31307
31308
31309       ac_ext=cpp
31310 ac_cpp='$CXXCPP $CPPFLAGS'
31311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31314
31315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31316 /* end confdefs.h.  */
31317 #include <math.h>
31318                       #ifdef HAVE_IEEEFP_H
31319                       #include <ieeefp.h>
31320                       #endif
31321
31322 int
31323 main ()
31324 {
31325  _logl(0);
31326   ;
31327   return 0;
31328 }
31329 _ACEOF
31330 if ac_fn_cxx_try_compile "$LINENO"; then :
31331   glibcxx_cv_func__logl_use=yes
31332 else
31333   glibcxx_cv_func__logl_use=no
31334 fi
31335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31336       ac_ext=c
31337 ac_cpp='$CPP $CPPFLAGS'
31338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31341
31342
31343 fi
31344
31345   fi
31346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31347 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31348
31349     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31350       for ac_func in _logl
31351 do :
31352   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31353 if test "x$ac_cv_func__logl" = x""yes; then :
31354   cat >>confdefs.h <<_ACEOF
31355 #define HAVE__LOGL 1
31356 _ACEOF
31357
31358 fi
31359 done
31360
31361     fi
31362   fi
31363
31364
31365
31366
31367
31368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31369 $as_echo_n "checking for log10l declaration... " >&6; }
31370   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31371     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31372   $as_echo_n "(cached) " >&6
31373 else
31374
31375
31376       ac_ext=cpp
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31381
31382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h.  */
31384 #include <math.h>
31385                       #ifdef HAVE_IEEEFP_H
31386                       #include <ieeefp.h>
31387                       #endif
31388
31389 int
31390 main ()
31391 {
31392  log10l(0);
31393   ;
31394   return 0;
31395 }
31396 _ACEOF
31397 if ac_fn_cxx_try_compile "$LINENO"; then :
31398   glibcxx_cv_func_log10l_use=yes
31399 else
31400   glibcxx_cv_func_log10l_use=no
31401 fi
31402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31403       ac_ext=c
31404 ac_cpp='$CPP $CPPFLAGS'
31405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31408
31409
31410 fi
31411
31412   fi
31413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31414 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31415
31416   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31417     for ac_func in log10l
31418 do :
31419   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31420 if test "x$ac_cv_func_log10l" = x""yes; then :
31421   cat >>confdefs.h <<_ACEOF
31422 #define HAVE_LOG10L 1
31423 _ACEOF
31424
31425 fi
31426 done
31427
31428   else
31429
31430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31431 $as_echo_n "checking for _log10l declaration... " >&6; }
31432   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31433     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31434   $as_echo_n "(cached) " >&6
31435 else
31436
31437
31438       ac_ext=cpp
31439 ac_cpp='$CXXCPP $CPPFLAGS'
31440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31443
31444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31445 /* end confdefs.h.  */
31446 #include <math.h>
31447                       #ifdef HAVE_IEEEFP_H
31448                       #include <ieeefp.h>
31449                       #endif
31450
31451 int
31452 main ()
31453 {
31454  _log10l(0);
31455   ;
31456   return 0;
31457 }
31458 _ACEOF
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460   glibcxx_cv_func__log10l_use=yes
31461 else
31462   glibcxx_cv_func__log10l_use=no
31463 fi
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31465       ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31470
31471
31472 fi
31473
31474   fi
31475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31476 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31477
31478     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31479       for ac_func in _log10l
31480 do :
31481   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31482 if test "x$ac_cv_func__log10l" = x""yes; then :
31483   cat >>confdefs.h <<_ACEOF
31484 #define HAVE__LOG10L 1
31485 _ACEOF
31486
31487 fi
31488 done
31489
31490     fi
31491   fi
31492
31493
31494
31495
31496
31497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31498 $as_echo_n "checking for modfl declaration... " >&6; }
31499   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31500     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31501   $as_echo_n "(cached) " >&6
31502 else
31503
31504
31505       ac_ext=cpp
31506 ac_cpp='$CXXCPP $CPPFLAGS'
31507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31510
31511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31512 /* end confdefs.h.  */
31513 #include <math.h>
31514 int
31515 main ()
31516 {
31517  modfl(0, 0);
31518   ;
31519   return 0;
31520 }
31521 _ACEOF
31522 if ac_fn_cxx_try_compile "$LINENO"; then :
31523   glibcxx_cv_func_modfl_use=yes
31524 else
31525   glibcxx_cv_func_modfl_use=no
31526 fi
31527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31528       ac_ext=c
31529 ac_cpp='$CPP $CPPFLAGS'
31530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31533
31534
31535 fi
31536
31537   fi
31538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31539 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31540
31541   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31542     for ac_func in modfl
31543 do :
31544   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31545 if test "x$ac_cv_func_modfl" = x""yes; then :
31546   cat >>confdefs.h <<_ACEOF
31547 #define HAVE_MODFL 1
31548 _ACEOF
31549
31550 fi
31551 done
31552
31553   else
31554
31555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31556 $as_echo_n "checking for _modfl declaration... " >&6; }
31557   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31558     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31559   $as_echo_n "(cached) " >&6
31560 else
31561
31562
31563       ac_ext=cpp
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31568
31569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h.  */
31571 #include <math.h>
31572 int
31573 main ()
31574 {
31575  _modfl(0, 0);
31576   ;
31577   return 0;
31578 }
31579 _ACEOF
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581   glibcxx_cv_func__modfl_use=yes
31582 else
31583   glibcxx_cv_func__modfl_use=no
31584 fi
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586       ac_ext=c
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31591
31592
31593 fi
31594
31595   fi
31596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31597 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31598
31599     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31600       for ac_func in _modfl
31601 do :
31602   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31603 if test "x$ac_cv_func__modfl" = x""yes; then :
31604   cat >>confdefs.h <<_ACEOF
31605 #define HAVE__MODFL 1
31606 _ACEOF
31607
31608 fi
31609 done
31610
31611     fi
31612   fi
31613
31614
31615
31616
31617
31618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31619 $as_echo_n "checking for powl declaration... " >&6; }
31620   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31621     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31622   $as_echo_n "(cached) " >&6
31623 else
31624
31625
31626       ac_ext=cpp
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31631
31632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h.  */
31634 #include <math.h>
31635 int
31636 main ()
31637 {
31638  powl(0, 0);
31639   ;
31640   return 0;
31641 }
31642 _ACEOF
31643 if ac_fn_cxx_try_compile "$LINENO"; then :
31644   glibcxx_cv_func_powl_use=yes
31645 else
31646   glibcxx_cv_func_powl_use=no
31647 fi
31648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31649       ac_ext=c
31650 ac_cpp='$CPP $CPPFLAGS'
31651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31654
31655
31656 fi
31657
31658   fi
31659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31660 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31661
31662   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31663     for ac_func in powl
31664 do :
31665   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31666 if test "x$ac_cv_func_powl" = x""yes; then :
31667   cat >>confdefs.h <<_ACEOF
31668 #define HAVE_POWL 1
31669 _ACEOF
31670
31671 fi
31672 done
31673
31674   else
31675
31676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31677 $as_echo_n "checking for _powl declaration... " >&6; }
31678   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31679     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31680   $as_echo_n "(cached) " >&6
31681 else
31682
31683
31684       ac_ext=cpp
31685 ac_cpp='$CXXCPP $CPPFLAGS'
31686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31689
31690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31691 /* end confdefs.h.  */
31692 #include <math.h>
31693 int
31694 main ()
31695 {
31696  _powl(0, 0);
31697   ;
31698   return 0;
31699 }
31700 _ACEOF
31701 if ac_fn_cxx_try_compile "$LINENO"; then :
31702   glibcxx_cv_func__powl_use=yes
31703 else
31704   glibcxx_cv_func__powl_use=no
31705 fi
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31707       ac_ext=c
31708 ac_cpp='$CPP $CPPFLAGS'
31709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31712
31713
31714 fi
31715
31716   fi
31717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31718 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31719
31720     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31721       for ac_func in _powl
31722 do :
31723   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31724 if test "x$ac_cv_func__powl" = x""yes; then :
31725   cat >>confdefs.h <<_ACEOF
31726 #define HAVE__POWL 1
31727 _ACEOF
31728
31729 fi
31730 done
31731
31732     fi
31733   fi
31734
31735
31736
31737
31738
31739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31740 $as_echo_n "checking for sqrtl declaration... " >&6; }
31741   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31742     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31743   $as_echo_n "(cached) " >&6
31744 else
31745
31746
31747       ac_ext=cpp
31748 ac_cpp='$CXXCPP $CPPFLAGS'
31749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31752
31753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31754 /* end confdefs.h.  */
31755 #include <math.h>
31756                       #ifdef HAVE_IEEEFP_H
31757                       #include <ieeefp.h>
31758                       #endif
31759
31760 int
31761 main ()
31762 {
31763  sqrtl(0);
31764   ;
31765   return 0;
31766 }
31767 _ACEOF
31768 if ac_fn_cxx_try_compile "$LINENO"; then :
31769   glibcxx_cv_func_sqrtl_use=yes
31770 else
31771   glibcxx_cv_func_sqrtl_use=no
31772 fi
31773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31774       ac_ext=c
31775 ac_cpp='$CPP $CPPFLAGS'
31776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31779
31780
31781 fi
31782
31783   fi
31784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31785 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31786
31787   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31788     for ac_func in sqrtl
31789 do :
31790   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31791 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31792   cat >>confdefs.h <<_ACEOF
31793 #define HAVE_SQRTL 1
31794 _ACEOF
31795
31796 fi
31797 done
31798
31799   else
31800
31801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31802 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31803   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31804     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31805   $as_echo_n "(cached) " >&6
31806 else
31807
31808
31809       ac_ext=cpp
31810 ac_cpp='$CXXCPP $CPPFLAGS'
31811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31814
31815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31816 /* end confdefs.h.  */
31817 #include <math.h>
31818                       #ifdef HAVE_IEEEFP_H
31819                       #include <ieeefp.h>
31820                       #endif
31821
31822 int
31823 main ()
31824 {
31825  _sqrtl(0);
31826   ;
31827   return 0;
31828 }
31829 _ACEOF
31830 if ac_fn_cxx_try_compile "$LINENO"; then :
31831   glibcxx_cv_func__sqrtl_use=yes
31832 else
31833   glibcxx_cv_func__sqrtl_use=no
31834 fi
31835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31836       ac_ext=c
31837 ac_cpp='$CPP $CPPFLAGS'
31838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31841
31842
31843 fi
31844
31845   fi
31846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31847 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31848
31849     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31850       for ac_func in _sqrtl
31851 do :
31852   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31853 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31854   cat >>confdefs.h <<_ACEOF
31855 #define HAVE__SQRTL 1
31856 _ACEOF
31857
31858 fi
31859 done
31860
31861     fi
31862   fi
31863
31864
31865
31866
31867
31868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31869 $as_echo_n "checking for sincosl declaration... " >&6; }
31870   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31871     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31872   $as_echo_n "(cached) " >&6
31873 else
31874
31875
31876       ac_ext=cpp
31877 ac_cpp='$CXXCPP $CPPFLAGS'
31878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31881
31882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31883 /* end confdefs.h.  */
31884 #include <math.h>
31885 int
31886 main ()
31887 {
31888  sincosl(0, 0, 0);
31889   ;
31890   return 0;
31891 }
31892 _ACEOF
31893 if ac_fn_cxx_try_compile "$LINENO"; then :
31894   glibcxx_cv_func_sincosl_use=yes
31895 else
31896   glibcxx_cv_func_sincosl_use=no
31897 fi
31898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31899       ac_ext=c
31900 ac_cpp='$CPP $CPPFLAGS'
31901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31904
31905
31906 fi
31907
31908   fi
31909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31910 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31911
31912   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31913     for ac_func in sincosl
31914 do :
31915   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31916 if test "x$ac_cv_func_sincosl" = x""yes; then :
31917   cat >>confdefs.h <<_ACEOF
31918 #define HAVE_SINCOSL 1
31919 _ACEOF
31920
31921 fi
31922 done
31923
31924   else
31925
31926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31927 $as_echo_n "checking for _sincosl declaration... " >&6; }
31928   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31929     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31930   $as_echo_n "(cached) " >&6
31931 else
31932
31933
31934       ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31939
31940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h.  */
31942 #include <math.h>
31943 int
31944 main ()
31945 {
31946  _sincosl(0, 0, 0);
31947   ;
31948   return 0;
31949 }
31950 _ACEOF
31951 if ac_fn_cxx_try_compile "$LINENO"; then :
31952   glibcxx_cv_func__sincosl_use=yes
31953 else
31954   glibcxx_cv_func__sincosl_use=no
31955 fi
31956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31957       ac_ext=c
31958 ac_cpp='$CPP $CPPFLAGS'
31959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31962
31963
31964 fi
31965
31966   fi
31967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31968 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31969
31970     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31971       for ac_func in _sincosl
31972 do :
31973   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31974 if test "x$ac_cv_func__sincosl" = x""yes; then :
31975   cat >>confdefs.h <<_ACEOF
31976 #define HAVE__SINCOSL 1
31977 _ACEOF
31978
31979 fi
31980 done
31981
31982     fi
31983   fi
31984
31985
31986
31987
31988
31989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31990 $as_echo_n "checking for finitel declaration... " >&6; }
31991   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31992     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31993   $as_echo_n "(cached) " >&6
31994 else
31995
31996
31997       ac_ext=cpp
31998 ac_cpp='$CXXCPP $CPPFLAGS'
31999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32002
32003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32004 /* end confdefs.h.  */
32005 #include <math.h>
32006                       #ifdef HAVE_IEEEFP_H
32007                       #include <ieeefp.h>
32008                       #endif
32009
32010 int
32011 main ()
32012 {
32013  finitel(0);
32014   ;
32015   return 0;
32016 }
32017 _ACEOF
32018 if ac_fn_cxx_try_compile "$LINENO"; then :
32019   glibcxx_cv_func_finitel_use=yes
32020 else
32021   glibcxx_cv_func_finitel_use=no
32022 fi
32023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32024       ac_ext=c
32025 ac_cpp='$CPP $CPPFLAGS'
32026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32029
32030
32031 fi
32032
32033   fi
32034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32035 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32036
32037   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32038     for ac_func in finitel
32039 do :
32040   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32041 if test "x$ac_cv_func_finitel" = x""yes; then :
32042   cat >>confdefs.h <<_ACEOF
32043 #define HAVE_FINITEL 1
32044 _ACEOF
32045
32046 fi
32047 done
32048
32049   else
32050
32051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32052 $as_echo_n "checking for _finitel declaration... " >&6; }
32053   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32054     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32055   $as_echo_n "(cached) " >&6
32056 else
32057
32058
32059       ac_ext=cpp
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32064
32065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32066 /* end confdefs.h.  */
32067 #include <math.h>
32068                       #ifdef HAVE_IEEEFP_H
32069                       #include <ieeefp.h>
32070                       #endif
32071
32072 int
32073 main ()
32074 {
32075  _finitel(0);
32076   ;
32077   return 0;
32078 }
32079 _ACEOF
32080 if ac_fn_cxx_try_compile "$LINENO"; then :
32081   glibcxx_cv_func__finitel_use=yes
32082 else
32083   glibcxx_cv_func__finitel_use=no
32084 fi
32085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32086       ac_ext=c
32087 ac_cpp='$CPP $CPPFLAGS'
32088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32091
32092
32093 fi
32094
32095   fi
32096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32097 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32098
32099     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32100       for ac_func in _finitel
32101 do :
32102   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32103 if test "x$ac_cv_func__finitel" = x""yes; then :
32104   cat >>confdefs.h <<_ACEOF
32105 #define HAVE__FINITEL 1
32106 _ACEOF
32107
32108 fi
32109 done
32110
32111     fi
32112   fi
32113
32114
32115
32116
32117   LIBS="$ac_save_LIBS"
32118   CXXFLAGS="$ac_save_CXXFLAGS"
32119
32120
32121   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32122   ac_save_CXXFLAGS="$CXXFLAGS"
32123   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32124
32125
32126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32127 $as_echo_n "checking for strtold declaration... " >&6; }
32128   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32129     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32130   $as_echo_n "(cached) " >&6
32131 else
32132
32133
32134       ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32139
32140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h.  */
32142 #include <stdlib.h>
32143 int
32144 main ()
32145 {
32146  strtold(0, 0);
32147   ;
32148   return 0;
32149 }
32150 _ACEOF
32151 if ac_fn_cxx_try_compile "$LINENO"; then :
32152   glibcxx_cv_func_strtold_use=yes
32153 else
32154   glibcxx_cv_func_strtold_use=no
32155 fi
32156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32157       ac_ext=c
32158 ac_cpp='$CPP $CPPFLAGS'
32159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32162
32163
32164 fi
32165
32166   fi
32167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32168 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32169   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32170     for ac_func in strtold
32171 do :
32172   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32173 if test "x$ac_cv_func_strtold" = x""yes; then :
32174   cat >>confdefs.h <<_ACEOF
32175 #define HAVE_STRTOLD 1
32176 _ACEOF
32177
32178 fi
32179 done
32180
32181   fi
32182
32183
32184
32185
32186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32187 $as_echo_n "checking for strtof declaration... " >&6; }
32188   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32189     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32190   $as_echo_n "(cached) " >&6
32191 else
32192
32193
32194       ac_ext=cpp
32195 ac_cpp='$CXXCPP $CPPFLAGS'
32196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32199
32200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32201 /* end confdefs.h.  */
32202 #include <stdlib.h>
32203 int
32204 main ()
32205 {
32206  strtof(0, 0);
32207   ;
32208   return 0;
32209 }
32210 _ACEOF
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212   glibcxx_cv_func_strtof_use=yes
32213 else
32214   glibcxx_cv_func_strtof_use=no
32215 fi
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217       ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32222
32223
32224 fi
32225
32226   fi
32227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32228 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32229   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32230     for ac_func in strtof
32231 do :
32232   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32233 if test "x$ac_cv_func_strtof" = x""yes; then :
32234   cat >>confdefs.h <<_ACEOF
32235 #define HAVE_STRTOF 1
32236 _ACEOF
32237
32238 fi
32239 done
32240
32241   fi
32242
32243
32244
32245
32246   CXXFLAGS="$ac_save_CXXFLAGS"
32247
32248
32249     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32250
32251     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32252
32253     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32254
32255     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32256
32257
32258     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32259
32260     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32261
32262     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32263
32264     ;;
32265
32266   *-aix*)
32267
32268   # If we're not using GNU ld, then there's no point in even trying these
32269   # tests.  Check for that first.  We should have already tested for gld
32270   # by now (in libtool), but require it now just to be safe...
32271   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32272   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32273
32274
32275
32276   # The name set by libtool depends on the version of libtool.  Shame on us
32277   # for depending on an impl detail, but c'est la vie.  Older versions used
32278   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32279   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32280   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32281   # set (hence we're using an older libtool), then set it.
32282   if test x${with_gnu_ld+set} != xset; then
32283     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32284       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32285       with_gnu_ld=no
32286     else
32287       with_gnu_ld=$ac_cv_prog_gnu_ld
32288     fi
32289   fi
32290
32291   # Start by getting the version number.  I think the libtool test already
32292   # does some of this, but throws away the result.
32293   glibcxx_ld_is_gold=no
32294   if test x"$with_gnu_ld" = x"yes"; then
32295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32296 $as_echo_n "checking for ld version... " >&6; }
32297
32298     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32299       glibcxx_ld_is_gold=yes
32300     fi
32301     ldver=`$LD --version 2>/dev/null |
32302            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'`
32303
32304     glibcxx_gnu_ld_version=`echo $ldver | \
32305            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32307 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32308   fi
32309
32310   # Set --gc-sections.
32311   glibcxx_have_gc_sections=no
32312   if test "$glibcxx_ld_is_gold" = "yes"; then
32313     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32314       glibcxx_have_gc_sections=yes
32315     fi
32316   else
32317     glibcxx_gcsections_min_ld=21602
32318     if test x"$with_gnu_ld" = x"yes" &&
32319         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32320       glibcxx_have_gc_sections=yes
32321     fi
32322   fi
32323   if test "$glibcxx_have_gc_sections" = "yes"; then
32324     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32325     # NB: This flag only works reliably after 2.16.1. Configure tests
32326     # for this are difficult, so hard wire a value that should work.
32327
32328     ac_test_CFLAGS="${CFLAGS+set}"
32329     ac_save_CFLAGS="$CFLAGS"
32330     CFLAGS='-Wl,--gc-sections'
32331
32332     # Check for -Wl,--gc-sections
32333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32334 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32335     if test x$gcc_no_link = xyes; then
32336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32337 fi
32338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32339 /* end confdefs.h.  */
32340  int one(void) { return 1; }
32341      int two(void) { return 2; }
32342
32343 int
32344 main ()
32345 {
32346  two();
32347   ;
32348   return 0;
32349 }
32350 _ACEOF
32351 if ac_fn_c_try_link "$LINENO"; then :
32352   ac_gcsections=yes
32353 else
32354   ac_gcsections=no
32355 fi
32356 rm -f core conftest.err conftest.$ac_objext \
32357     conftest$ac_exeext conftest.$ac_ext
32358     if test "$ac_gcsections" = "yes"; then
32359       rm -f conftest.c
32360       touch conftest.c
32361       if $CC -c conftest.c; then
32362         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32363            grep "Warning: gc-sections option ignored" > /dev/null; then
32364           ac_gcsections=no
32365         fi
32366       fi
32367       rm -f conftest.c conftest.o conftest
32368     fi
32369     if test "$ac_gcsections" = "yes"; then
32370       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32371     fi
32372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32373 $as_echo "$ac_gcsections" >&6; }
32374
32375     if test "$ac_test_CFLAGS" = set; then
32376       CFLAGS="$ac_save_CFLAGS"
32377     else
32378       # this is the suspicious part
32379       CFLAGS=''
32380     fi
32381   fi
32382
32383   # Set -z,relro.
32384   # Note this is only for shared objects.
32385   ac_ld_relro=no
32386   if test x"$with_gnu_ld" = x"yes"; then
32387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32388 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32389     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32390     if test -n "$cxx_z_relo"; then
32391       OPT_LDFLAGS="-Wl,-z,relro"
32392       ac_ld_relro=yes
32393     fi
32394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32395 $as_echo "$ac_ld_relro" >&6; }
32396   fi
32397
32398   # Set linker optimization flags.
32399   if test x"$with_gnu_ld" = x"yes"; then
32400     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32401   fi
32402
32403
32404
32405
32406
32407   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32408   ac_save_CXXFLAGS="$CXXFLAGS"
32409   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32410
32411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32412 $as_echo_n "checking for sin in -lm... " >&6; }
32413 if test "${ac_cv_lib_m_sin+set}" = set; then :
32414   $as_echo_n "(cached) " >&6
32415 else
32416   ac_check_lib_save_LIBS=$LIBS
32417 LIBS="-lm  $LIBS"
32418 if test x$gcc_no_link = xyes; then
32419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32420 fi
32421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32422 /* end confdefs.h.  */
32423
32424 /* Override any GCC internal prototype to avoid an error.
32425    Use char because int might match the return type of a GCC
32426    builtin and then its argument prototype would still apply.  */
32427 #ifdef __cplusplus
32428 extern "C"
32429 #endif
32430 char sin ();
32431 int
32432 main ()
32433 {
32434 return sin ();
32435   ;
32436   return 0;
32437 }
32438 _ACEOF
32439 if ac_fn_c_try_link "$LINENO"; then :
32440   ac_cv_lib_m_sin=yes
32441 else
32442   ac_cv_lib_m_sin=no
32443 fi
32444 rm -f core conftest.err conftest.$ac_objext \
32445     conftest$ac_exeext conftest.$ac_ext
32446 LIBS=$ac_check_lib_save_LIBS
32447 fi
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32449 $as_echo "$ac_cv_lib_m_sin" >&6; }
32450 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32451   libm="-lm"
32452 fi
32453
32454   ac_save_LIBS="$LIBS"
32455   LIBS="$LIBS $libm"
32456
32457
32458
32459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32460 $as_echo_n "checking for isinf declaration... " >&6; }
32461   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32462     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32463   $as_echo_n "(cached) " >&6
32464 else
32465
32466
32467       ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472
32473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h.  */
32475 #include <math.h>
32476                       #ifdef HAVE_IEEEFP_H
32477                       #include <ieeefp.h>
32478                       #endif
32479
32480 int
32481 main ()
32482 {
32483  isinf(0);
32484   ;
32485   return 0;
32486 }
32487 _ACEOF
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489   glibcxx_cv_func_isinf_use=yes
32490 else
32491   glibcxx_cv_func_isinf_use=no
32492 fi
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494       ac_ext=c
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32499
32500
32501 fi
32502
32503   fi
32504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32505 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32506
32507   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32508     for ac_func in isinf
32509 do :
32510   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32511 if test "x$ac_cv_func_isinf" = x""yes; then :
32512   cat >>confdefs.h <<_ACEOF
32513 #define HAVE_ISINF 1
32514 _ACEOF
32515
32516 fi
32517 done
32518
32519   else
32520
32521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32522 $as_echo_n "checking for _isinf declaration... " >&6; }
32523   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32524     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32525   $as_echo_n "(cached) " >&6
32526 else
32527
32528
32529       ac_ext=cpp
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534
32535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h.  */
32537 #include <math.h>
32538                       #ifdef HAVE_IEEEFP_H
32539                       #include <ieeefp.h>
32540                       #endif
32541
32542 int
32543 main ()
32544 {
32545  _isinf(0);
32546   ;
32547   return 0;
32548 }
32549 _ACEOF
32550 if ac_fn_cxx_try_compile "$LINENO"; then :
32551   glibcxx_cv_func__isinf_use=yes
32552 else
32553   glibcxx_cv_func__isinf_use=no
32554 fi
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556       ac_ext=c
32557 ac_cpp='$CPP $CPPFLAGS'
32558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32561
32562
32563 fi
32564
32565   fi
32566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32567 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32568
32569     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32570       for ac_func in _isinf
32571 do :
32572   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32573 if test "x$ac_cv_func__isinf" = x""yes; then :
32574   cat >>confdefs.h <<_ACEOF
32575 #define HAVE__ISINF 1
32576 _ACEOF
32577
32578 fi
32579 done
32580
32581     fi
32582   fi
32583
32584
32585
32586
32587
32588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32589 $as_echo_n "checking for isnan declaration... " >&6; }
32590   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32591     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32592   $as_echo_n "(cached) " >&6
32593 else
32594
32595
32596       ac_ext=cpp
32597 ac_cpp='$CXXCPP $CPPFLAGS'
32598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32601
32602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32603 /* end confdefs.h.  */
32604 #include <math.h>
32605                       #ifdef HAVE_IEEEFP_H
32606                       #include <ieeefp.h>
32607                       #endif
32608
32609 int
32610 main ()
32611 {
32612  isnan(0);
32613   ;
32614   return 0;
32615 }
32616 _ACEOF
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618   glibcxx_cv_func_isnan_use=yes
32619 else
32620   glibcxx_cv_func_isnan_use=no
32621 fi
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32623       ac_ext=c
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32628
32629
32630 fi
32631
32632   fi
32633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32634 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32635
32636   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32637     for ac_func in isnan
32638 do :
32639   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32640 if test "x$ac_cv_func_isnan" = x""yes; then :
32641   cat >>confdefs.h <<_ACEOF
32642 #define HAVE_ISNAN 1
32643 _ACEOF
32644
32645 fi
32646 done
32647
32648   else
32649
32650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32651 $as_echo_n "checking for _isnan declaration... " >&6; }
32652   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32653     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32654   $as_echo_n "(cached) " >&6
32655 else
32656
32657
32658       ac_ext=cpp
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32663
32664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h.  */
32666 #include <math.h>
32667                       #ifdef HAVE_IEEEFP_H
32668                       #include <ieeefp.h>
32669                       #endif
32670
32671 int
32672 main ()
32673 {
32674  _isnan(0);
32675   ;
32676   return 0;
32677 }
32678 _ACEOF
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680   glibcxx_cv_func__isnan_use=yes
32681 else
32682   glibcxx_cv_func__isnan_use=no
32683 fi
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32685       ac_ext=c
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32690
32691
32692 fi
32693
32694   fi
32695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32696 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32697
32698     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32699       for ac_func in _isnan
32700 do :
32701   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32702 if test "x$ac_cv_func__isnan" = x""yes; then :
32703   cat >>confdefs.h <<_ACEOF
32704 #define HAVE__ISNAN 1
32705 _ACEOF
32706
32707 fi
32708 done
32709
32710     fi
32711   fi
32712
32713
32714
32715
32716
32717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32718 $as_echo_n "checking for finite declaration... " >&6; }
32719   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32720     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32721   $as_echo_n "(cached) " >&6
32722 else
32723
32724
32725       ac_ext=cpp
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32730
32731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h.  */
32733 #include <math.h>
32734                       #ifdef HAVE_IEEEFP_H
32735                       #include <ieeefp.h>
32736                       #endif
32737
32738 int
32739 main ()
32740 {
32741  finite(0);
32742   ;
32743   return 0;
32744 }
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747   glibcxx_cv_func_finite_use=yes
32748 else
32749   glibcxx_cv_func_finite_use=no
32750 fi
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752       ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32757
32758
32759 fi
32760
32761   fi
32762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32763 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32764
32765   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32766     for ac_func in finite
32767 do :
32768   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32769 if test "x$ac_cv_func_finite" = x""yes; then :
32770   cat >>confdefs.h <<_ACEOF
32771 #define HAVE_FINITE 1
32772 _ACEOF
32773
32774 fi
32775 done
32776
32777   else
32778
32779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32780 $as_echo_n "checking for _finite declaration... " >&6; }
32781   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32782     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32783   $as_echo_n "(cached) " >&6
32784 else
32785
32786
32787       ac_ext=cpp
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32792
32793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h.  */
32795 #include <math.h>
32796                       #ifdef HAVE_IEEEFP_H
32797                       #include <ieeefp.h>
32798                       #endif
32799
32800 int
32801 main ()
32802 {
32803  _finite(0);
32804   ;
32805   return 0;
32806 }
32807 _ACEOF
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809   glibcxx_cv_func__finite_use=yes
32810 else
32811   glibcxx_cv_func__finite_use=no
32812 fi
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32814       ac_ext=c
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32819
32820
32821 fi
32822
32823   fi
32824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32825 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32826
32827     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32828       for ac_func in _finite
32829 do :
32830   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32831 if test "x$ac_cv_func__finite" = x""yes; then :
32832   cat >>confdefs.h <<_ACEOF
32833 #define HAVE__FINITE 1
32834 _ACEOF
32835
32836 fi
32837 done
32838
32839     fi
32840   fi
32841
32842
32843
32844
32845
32846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32847 $as_echo_n "checking for sincos declaration... " >&6; }
32848   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32849     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32850   $as_echo_n "(cached) " >&6
32851 else
32852
32853
32854       ac_ext=cpp
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32859
32860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h.  */
32862 #include <math.h>
32863 int
32864 main ()
32865 {
32866  sincos(0, 0, 0);
32867   ;
32868   return 0;
32869 }
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872   glibcxx_cv_func_sincos_use=yes
32873 else
32874   glibcxx_cv_func_sincos_use=no
32875 fi
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877       ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882
32883
32884 fi
32885
32886   fi
32887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32888 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32889
32890   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32891     for ac_func in sincos
32892 do :
32893   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32894 if test "x$ac_cv_func_sincos" = x""yes; then :
32895   cat >>confdefs.h <<_ACEOF
32896 #define HAVE_SINCOS 1
32897 _ACEOF
32898
32899 fi
32900 done
32901
32902   else
32903
32904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32905 $as_echo_n "checking for _sincos declaration... " >&6; }
32906   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32907     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32908   $as_echo_n "(cached) " >&6
32909 else
32910
32911
32912       ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32917
32918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h.  */
32920 #include <math.h>
32921 int
32922 main ()
32923 {
32924  _sincos(0, 0, 0);
32925   ;
32926   return 0;
32927 }
32928 _ACEOF
32929 if ac_fn_cxx_try_compile "$LINENO"; then :
32930   glibcxx_cv_func__sincos_use=yes
32931 else
32932   glibcxx_cv_func__sincos_use=no
32933 fi
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32935       ac_ext=c
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32940
32941
32942 fi
32943
32944   fi
32945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32946 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32947
32948     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32949       for ac_func in _sincos
32950 do :
32951   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32952 if test "x$ac_cv_func__sincos" = x""yes; then :
32953   cat >>confdefs.h <<_ACEOF
32954 #define HAVE__SINCOS 1
32955 _ACEOF
32956
32957 fi
32958 done
32959
32960     fi
32961   fi
32962
32963
32964
32965
32966
32967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32968 $as_echo_n "checking for fpclass declaration... " >&6; }
32969   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32970     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32971   $as_echo_n "(cached) " >&6
32972 else
32973
32974
32975       ac_ext=cpp
32976 ac_cpp='$CXXCPP $CPPFLAGS'
32977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32980
32981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h.  */
32983 #include <math.h>
32984                       #ifdef HAVE_IEEEFP_H
32985                       #include <ieeefp.h>
32986                       #endif
32987
32988 int
32989 main ()
32990 {
32991  fpclass(0);
32992   ;
32993   return 0;
32994 }
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997   glibcxx_cv_func_fpclass_use=yes
32998 else
32999   glibcxx_cv_func_fpclass_use=no
33000 fi
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002       ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33007
33008
33009 fi
33010
33011   fi
33012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33013 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33014
33015   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33016     for ac_func in fpclass
33017 do :
33018   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33019 if test "x$ac_cv_func_fpclass" = x""yes; then :
33020   cat >>confdefs.h <<_ACEOF
33021 #define HAVE_FPCLASS 1
33022 _ACEOF
33023
33024 fi
33025 done
33026
33027   else
33028
33029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33030 $as_echo_n "checking for _fpclass declaration... " >&6; }
33031   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33032     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33033   $as_echo_n "(cached) " >&6
33034 else
33035
33036
33037       ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042
33043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h.  */
33045 #include <math.h>
33046                       #ifdef HAVE_IEEEFP_H
33047                       #include <ieeefp.h>
33048                       #endif
33049
33050 int
33051 main ()
33052 {
33053  _fpclass(0);
33054   ;
33055   return 0;
33056 }
33057 _ACEOF
33058 if ac_fn_cxx_try_compile "$LINENO"; then :
33059   glibcxx_cv_func__fpclass_use=yes
33060 else
33061   glibcxx_cv_func__fpclass_use=no
33062 fi
33063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33064       ac_ext=c
33065 ac_cpp='$CPP $CPPFLAGS'
33066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33069
33070
33071 fi
33072
33073   fi
33074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33075 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33076
33077     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33078       for ac_func in _fpclass
33079 do :
33080   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33081 if test "x$ac_cv_func__fpclass" = x""yes; then :
33082   cat >>confdefs.h <<_ACEOF
33083 #define HAVE__FPCLASS 1
33084 _ACEOF
33085
33086 fi
33087 done
33088
33089     fi
33090   fi
33091
33092
33093
33094
33095
33096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33097 $as_echo_n "checking for qfpclass declaration... " >&6; }
33098   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33099     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33100   $as_echo_n "(cached) " >&6
33101 else
33102
33103
33104       ac_ext=cpp
33105 ac_cpp='$CXXCPP $CPPFLAGS'
33106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33109
33110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33111 /* end confdefs.h.  */
33112 #include <math.h>
33113                       #ifdef HAVE_IEEEFP_H
33114                       #include <ieeefp.h>
33115                       #endif
33116
33117 int
33118 main ()
33119 {
33120  qfpclass(0);
33121   ;
33122   return 0;
33123 }
33124 _ACEOF
33125 if ac_fn_cxx_try_compile "$LINENO"; then :
33126   glibcxx_cv_func_qfpclass_use=yes
33127 else
33128   glibcxx_cv_func_qfpclass_use=no
33129 fi
33130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33131       ac_ext=c
33132 ac_cpp='$CPP $CPPFLAGS'
33133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33136
33137
33138 fi
33139
33140   fi
33141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33142 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33143
33144   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33145     for ac_func in qfpclass
33146 do :
33147   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33148 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33149   cat >>confdefs.h <<_ACEOF
33150 #define HAVE_QFPCLASS 1
33151 _ACEOF
33152
33153 fi
33154 done
33155
33156   else
33157
33158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33159 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33160   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33161     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33162   $as_echo_n "(cached) " >&6
33163 else
33164
33165
33166       ac_ext=cpp
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33171
33172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33173 /* end confdefs.h.  */
33174 #include <math.h>
33175                       #ifdef HAVE_IEEEFP_H
33176                       #include <ieeefp.h>
33177                       #endif
33178
33179 int
33180 main ()
33181 {
33182  _qfpclass(0);
33183   ;
33184   return 0;
33185 }
33186 _ACEOF
33187 if ac_fn_cxx_try_compile "$LINENO"; then :
33188   glibcxx_cv_func__qfpclass_use=yes
33189 else
33190   glibcxx_cv_func__qfpclass_use=no
33191 fi
33192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33193       ac_ext=c
33194 ac_cpp='$CPP $CPPFLAGS'
33195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33198
33199
33200 fi
33201
33202   fi
33203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33204 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33205
33206     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33207       for ac_func in _qfpclass
33208 do :
33209   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33210 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33211   cat >>confdefs.h <<_ACEOF
33212 #define HAVE__QFPCLASS 1
33213 _ACEOF
33214
33215 fi
33216 done
33217
33218     fi
33219   fi
33220
33221
33222
33223
33224
33225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33226 $as_echo_n "checking for hypot declaration... " >&6; }
33227   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33228     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33229   $as_echo_n "(cached) " >&6
33230 else
33231
33232
33233       ac_ext=cpp
33234 ac_cpp='$CXXCPP $CPPFLAGS'
33235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33238
33239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33240 /* end confdefs.h.  */
33241 #include <math.h>
33242 int
33243 main ()
33244 {
33245  hypot(0, 0);
33246   ;
33247   return 0;
33248 }
33249 _ACEOF
33250 if ac_fn_cxx_try_compile "$LINENO"; then :
33251   glibcxx_cv_func_hypot_use=yes
33252 else
33253   glibcxx_cv_func_hypot_use=no
33254 fi
33255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33256       ac_ext=c
33257 ac_cpp='$CPP $CPPFLAGS'
33258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33261
33262
33263 fi
33264
33265   fi
33266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33267 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33268
33269   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33270     for ac_func in hypot
33271 do :
33272   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33273 if test "x$ac_cv_func_hypot" = x""yes; then :
33274   cat >>confdefs.h <<_ACEOF
33275 #define HAVE_HYPOT 1
33276 _ACEOF
33277
33278 fi
33279 done
33280
33281   else
33282
33283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33284 $as_echo_n "checking for _hypot declaration... " >&6; }
33285   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33286     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33287   $as_echo_n "(cached) " >&6
33288 else
33289
33290
33291       ac_ext=cpp
33292 ac_cpp='$CXXCPP $CPPFLAGS'
33293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33296
33297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33298 /* end confdefs.h.  */
33299 #include <math.h>
33300 int
33301 main ()
33302 {
33303  _hypot(0, 0);
33304   ;
33305   return 0;
33306 }
33307 _ACEOF
33308 if ac_fn_cxx_try_compile "$LINENO"; then :
33309   glibcxx_cv_func__hypot_use=yes
33310 else
33311   glibcxx_cv_func__hypot_use=no
33312 fi
33313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33314       ac_ext=c
33315 ac_cpp='$CPP $CPPFLAGS'
33316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33319
33320
33321 fi
33322
33323   fi
33324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33325 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33326
33327     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33328       for ac_func in _hypot
33329 do :
33330   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33331 if test "x$ac_cv_func__hypot" = x""yes; then :
33332   cat >>confdefs.h <<_ACEOF
33333 #define HAVE__HYPOT 1
33334 _ACEOF
33335
33336 fi
33337 done
33338
33339     fi
33340   fi
33341
33342
33343
33344
33345
33346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33347 $as_echo_n "checking for float trig functions... " >&6; }
33348   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33349   $as_echo_n "(cached) " >&6
33350 else
33351
33352
33353     ac_ext=cpp
33354 ac_cpp='$CXXCPP $CPPFLAGS'
33355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33358
33359     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33360 /* end confdefs.h.  */
33361 #include <math.h>
33362 int
33363 main ()
33364 {
33365 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33366   ;
33367   return 0;
33368 }
33369 _ACEOF
33370 if ac_fn_cxx_try_compile "$LINENO"; then :
33371   glibcxx_cv_func_float_trig_use=yes
33372 else
33373   glibcxx_cv_func_float_trig_use=no
33374 fi
33375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33376     ac_ext=c
33377 ac_cpp='$CPP $CPPFLAGS'
33378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33381
33382 fi
33383
33384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33385 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33386   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33387     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33388 do :
33389   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33391 eval as_val=\$$as_ac_var
33392    if test "x$as_val" = x""yes; then :
33393   cat >>confdefs.h <<_ACEOF
33394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33395 _ACEOF
33396
33397 fi
33398 done
33399
33400   else
33401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33402 $as_echo_n "checking for _float trig functions... " >&6; }
33403     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33404   $as_echo_n "(cached) " >&6
33405 else
33406
33407
33408       ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413
33414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h.  */
33416 #include <math.h>
33417 int
33418 main ()
33419 {
33420 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33421   ;
33422   return 0;
33423 }
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426   glibcxx_cv_func__float_trig_use=yes
33427 else
33428   glibcxx_cv_func__float_trig_use=no
33429 fi
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431       ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33436
33437 fi
33438
33439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33440 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33441     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33442       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33443 do :
33444   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33446 eval as_val=\$$as_ac_var
33447    if test "x$as_val" = x""yes; then :
33448   cat >>confdefs.h <<_ACEOF
33449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33450 _ACEOF
33451
33452 fi
33453 done
33454
33455     fi
33456   fi
33457
33458
33459
33460
33461
33462     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33463 $as_echo_n "checking for float round functions... " >&6; }
33464   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33465   $as_echo_n "(cached) " >&6
33466 else
33467
33468
33469     ac_ext=cpp
33470 ac_cpp='$CXXCPP $CPPFLAGS'
33471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33474
33475     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33476 /* end confdefs.h.  */
33477 #include <math.h>
33478 int
33479 main ()
33480 {
33481 ceilf (0); floorf (0);
33482   ;
33483   return 0;
33484 }
33485 _ACEOF
33486 if ac_fn_cxx_try_compile "$LINENO"; then :
33487   glibcxx_cv_func_float_round_use=yes
33488 else
33489   glibcxx_cv_func_float_round_use=no
33490 fi
33491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33492     ac_ext=c
33493 ac_cpp='$CPP $CPPFLAGS'
33494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33497
33498 fi
33499
33500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33501 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33502   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33503     for ac_func in ceilf floorf
33504 do :
33505   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33507 eval as_val=\$$as_ac_var
33508    if test "x$as_val" = x""yes; then :
33509   cat >>confdefs.h <<_ACEOF
33510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33511 _ACEOF
33512
33513 fi
33514 done
33515
33516   else
33517     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33518 $as_echo_n "checking for _float round functions... " >&6; }
33519     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33520   $as_echo_n "(cached) " >&6
33521 else
33522
33523
33524       ac_ext=cpp
33525 ac_cpp='$CXXCPP $CPPFLAGS'
33526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33529
33530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33531 /* end confdefs.h.  */
33532 #include <math.h>
33533 int
33534 main ()
33535 {
33536 _ceilf (0); _floorf (0);
33537   ;
33538   return 0;
33539 }
33540 _ACEOF
33541 if ac_fn_cxx_try_compile "$LINENO"; then :
33542   glibcxx_cv_func__float_round_use=yes
33543 else
33544   glibcxx_cv_func__float_round_use=no
33545 fi
33546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33547       ac_ext=c
33548 ac_cpp='$CPP $CPPFLAGS'
33549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33552
33553 fi
33554
33555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33556 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33557     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33558       for ac_func in _ceilf _floorf
33559 do :
33560   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33562 eval as_val=\$$as_ac_var
33563    if test "x$as_val" = x""yes; then :
33564   cat >>confdefs.h <<_ACEOF
33565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33566 _ACEOF
33567
33568 fi
33569 done
33570
33571     fi
33572   fi
33573
33574
33575
33576
33577
33578
33579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33580 $as_echo_n "checking for expf declaration... " >&6; }
33581   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33582     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33583   $as_echo_n "(cached) " >&6
33584 else
33585
33586
33587       ac_ext=cpp
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592
33593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h.  */
33595 #include <math.h>
33596                       #ifdef HAVE_IEEEFP_H
33597                       #include <ieeefp.h>
33598                       #endif
33599
33600 int
33601 main ()
33602 {
33603  expf(0);
33604   ;
33605   return 0;
33606 }
33607 _ACEOF
33608 if ac_fn_cxx_try_compile "$LINENO"; then :
33609   glibcxx_cv_func_expf_use=yes
33610 else
33611   glibcxx_cv_func_expf_use=no
33612 fi
33613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33614       ac_ext=c
33615 ac_cpp='$CPP $CPPFLAGS'
33616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33619
33620
33621 fi
33622
33623   fi
33624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33625 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33626
33627   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33628     for ac_func in expf
33629 do :
33630   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33631 if test "x$ac_cv_func_expf" = x""yes; then :
33632   cat >>confdefs.h <<_ACEOF
33633 #define HAVE_EXPF 1
33634 _ACEOF
33635
33636 fi
33637 done
33638
33639   else
33640
33641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33642 $as_echo_n "checking for _expf declaration... " >&6; }
33643   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33644     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33645   $as_echo_n "(cached) " >&6
33646 else
33647
33648
33649       ac_ext=cpp
33650 ac_cpp='$CXXCPP $CPPFLAGS'
33651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33654
33655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33656 /* end confdefs.h.  */
33657 #include <math.h>
33658                       #ifdef HAVE_IEEEFP_H
33659                       #include <ieeefp.h>
33660                       #endif
33661
33662 int
33663 main ()
33664 {
33665  _expf(0);
33666   ;
33667   return 0;
33668 }
33669 _ACEOF
33670 if ac_fn_cxx_try_compile "$LINENO"; then :
33671   glibcxx_cv_func__expf_use=yes
33672 else
33673   glibcxx_cv_func__expf_use=no
33674 fi
33675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33676       ac_ext=c
33677 ac_cpp='$CPP $CPPFLAGS'
33678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681
33682
33683 fi
33684
33685   fi
33686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33687 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33688
33689     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33690       for ac_func in _expf
33691 do :
33692   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33693 if test "x$ac_cv_func__expf" = x""yes; then :
33694   cat >>confdefs.h <<_ACEOF
33695 #define HAVE__EXPF 1
33696 _ACEOF
33697
33698 fi
33699 done
33700
33701     fi
33702   fi
33703
33704
33705
33706
33707
33708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33709 $as_echo_n "checking for isnanf declaration... " >&6; }
33710   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33711     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33712   $as_echo_n "(cached) " >&6
33713 else
33714
33715
33716       ac_ext=cpp
33717 ac_cpp='$CXXCPP $CPPFLAGS'
33718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33721
33722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33723 /* end confdefs.h.  */
33724 #include <math.h>
33725                       #ifdef HAVE_IEEEFP_H
33726                       #include <ieeefp.h>
33727                       #endif
33728
33729 int
33730 main ()
33731 {
33732  isnanf(0);
33733   ;
33734   return 0;
33735 }
33736 _ACEOF
33737 if ac_fn_cxx_try_compile "$LINENO"; then :
33738   glibcxx_cv_func_isnanf_use=yes
33739 else
33740   glibcxx_cv_func_isnanf_use=no
33741 fi
33742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33743       ac_ext=c
33744 ac_cpp='$CPP $CPPFLAGS'
33745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33748
33749
33750 fi
33751
33752   fi
33753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33754 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33755
33756   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33757     for ac_func in isnanf
33758 do :
33759   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33760 if test "x$ac_cv_func_isnanf" = x""yes; then :
33761   cat >>confdefs.h <<_ACEOF
33762 #define HAVE_ISNANF 1
33763 _ACEOF
33764
33765 fi
33766 done
33767
33768   else
33769
33770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33771 $as_echo_n "checking for _isnanf declaration... " >&6; }
33772   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33773     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33774   $as_echo_n "(cached) " >&6
33775 else
33776
33777
33778       ac_ext=cpp
33779 ac_cpp='$CXXCPP $CPPFLAGS'
33780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33783
33784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33785 /* end confdefs.h.  */
33786 #include <math.h>
33787                       #ifdef HAVE_IEEEFP_H
33788                       #include <ieeefp.h>
33789                       #endif
33790
33791 int
33792 main ()
33793 {
33794  _isnanf(0);
33795   ;
33796   return 0;
33797 }
33798 _ACEOF
33799 if ac_fn_cxx_try_compile "$LINENO"; then :
33800   glibcxx_cv_func__isnanf_use=yes
33801 else
33802   glibcxx_cv_func__isnanf_use=no
33803 fi
33804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33805       ac_ext=c
33806 ac_cpp='$CPP $CPPFLAGS'
33807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33810
33811
33812 fi
33813
33814   fi
33815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33816 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33817
33818     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33819       for ac_func in _isnanf
33820 do :
33821   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33822 if test "x$ac_cv_func__isnanf" = x""yes; then :
33823   cat >>confdefs.h <<_ACEOF
33824 #define HAVE__ISNANF 1
33825 _ACEOF
33826
33827 fi
33828 done
33829
33830     fi
33831   fi
33832
33833
33834
33835
33836
33837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33838 $as_echo_n "checking for isinff declaration... " >&6; }
33839   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33840     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33841   $as_echo_n "(cached) " >&6
33842 else
33843
33844
33845       ac_ext=cpp
33846 ac_cpp='$CXXCPP $CPPFLAGS'
33847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33850
33851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33852 /* end confdefs.h.  */
33853 #include <math.h>
33854                       #ifdef HAVE_IEEEFP_H
33855                       #include <ieeefp.h>
33856                       #endif
33857
33858 int
33859 main ()
33860 {
33861  isinff(0);
33862   ;
33863   return 0;
33864 }
33865 _ACEOF
33866 if ac_fn_cxx_try_compile "$LINENO"; then :
33867   glibcxx_cv_func_isinff_use=yes
33868 else
33869   glibcxx_cv_func_isinff_use=no
33870 fi
33871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33872       ac_ext=c
33873 ac_cpp='$CPP $CPPFLAGS'
33874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33877
33878
33879 fi
33880
33881   fi
33882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33883 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33884
33885   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33886     for ac_func in isinff
33887 do :
33888   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33889 if test "x$ac_cv_func_isinff" = x""yes; then :
33890   cat >>confdefs.h <<_ACEOF
33891 #define HAVE_ISINFF 1
33892 _ACEOF
33893
33894 fi
33895 done
33896
33897   else
33898
33899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33900 $as_echo_n "checking for _isinff declaration... " >&6; }
33901   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33902     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33903   $as_echo_n "(cached) " >&6
33904 else
33905
33906
33907       ac_ext=cpp
33908 ac_cpp='$CXXCPP $CPPFLAGS'
33909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33912
33913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33914 /* end confdefs.h.  */
33915 #include <math.h>
33916                       #ifdef HAVE_IEEEFP_H
33917                       #include <ieeefp.h>
33918                       #endif
33919
33920 int
33921 main ()
33922 {
33923  _isinff(0);
33924   ;
33925   return 0;
33926 }
33927 _ACEOF
33928 if ac_fn_cxx_try_compile "$LINENO"; then :
33929   glibcxx_cv_func__isinff_use=yes
33930 else
33931   glibcxx_cv_func__isinff_use=no
33932 fi
33933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33934       ac_ext=c
33935 ac_cpp='$CPP $CPPFLAGS'
33936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33939
33940
33941 fi
33942
33943   fi
33944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33945 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33946
33947     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33948       for ac_func in _isinff
33949 do :
33950   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33951 if test "x$ac_cv_func__isinff" = x""yes; then :
33952   cat >>confdefs.h <<_ACEOF
33953 #define HAVE__ISINFF 1
33954 _ACEOF
33955
33956 fi
33957 done
33958
33959     fi
33960   fi
33961
33962
33963
33964
33965
33966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33967 $as_echo_n "checking for atan2f declaration... " >&6; }
33968   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33969     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33970   $as_echo_n "(cached) " >&6
33971 else
33972
33973
33974       ac_ext=cpp
33975 ac_cpp='$CXXCPP $CPPFLAGS'
33976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33979
33980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33981 /* end confdefs.h.  */
33982 #include <math.h>
33983 int
33984 main ()
33985 {
33986  atan2f(0, 0);
33987   ;
33988   return 0;
33989 }
33990 _ACEOF
33991 if ac_fn_cxx_try_compile "$LINENO"; then :
33992   glibcxx_cv_func_atan2f_use=yes
33993 else
33994   glibcxx_cv_func_atan2f_use=no
33995 fi
33996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33997       ac_ext=c
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34002
34003
34004 fi
34005
34006   fi
34007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34008 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34009
34010   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34011     for ac_func in atan2f
34012 do :
34013   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34014 if test "x$ac_cv_func_atan2f" = x""yes; then :
34015   cat >>confdefs.h <<_ACEOF
34016 #define HAVE_ATAN2F 1
34017 _ACEOF
34018
34019 fi
34020 done
34021
34022   else
34023
34024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34025 $as_echo_n "checking for _atan2f declaration... " >&6; }
34026   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34027     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34028   $as_echo_n "(cached) " >&6
34029 else
34030
34031
34032       ac_ext=cpp
34033 ac_cpp='$CXXCPP $CPPFLAGS'
34034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34037
34038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34039 /* end confdefs.h.  */
34040 #include <math.h>
34041 int
34042 main ()
34043 {
34044  _atan2f(0, 0);
34045   ;
34046   return 0;
34047 }
34048 _ACEOF
34049 if ac_fn_cxx_try_compile "$LINENO"; then :
34050   glibcxx_cv_func__atan2f_use=yes
34051 else
34052   glibcxx_cv_func__atan2f_use=no
34053 fi
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34055       ac_ext=c
34056 ac_cpp='$CPP $CPPFLAGS'
34057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34060
34061
34062 fi
34063
34064   fi
34065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34066 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34067
34068     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34069       for ac_func in _atan2f
34070 do :
34071   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34072 if test "x$ac_cv_func__atan2f" = x""yes; then :
34073   cat >>confdefs.h <<_ACEOF
34074 #define HAVE__ATAN2F 1
34075 _ACEOF
34076
34077 fi
34078 done
34079
34080     fi
34081   fi
34082
34083
34084
34085
34086
34087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34088 $as_echo_n "checking for fabsf declaration... " >&6; }
34089   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34090     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34091   $as_echo_n "(cached) " >&6
34092 else
34093
34094
34095       ac_ext=cpp
34096 ac_cpp='$CXXCPP $CPPFLAGS'
34097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34100
34101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34102 /* end confdefs.h.  */
34103 #include <math.h>
34104                       #ifdef HAVE_IEEEFP_H
34105                       #include <ieeefp.h>
34106                       #endif
34107
34108 int
34109 main ()
34110 {
34111  fabsf(0);
34112   ;
34113   return 0;
34114 }
34115 _ACEOF
34116 if ac_fn_cxx_try_compile "$LINENO"; then :
34117   glibcxx_cv_func_fabsf_use=yes
34118 else
34119   glibcxx_cv_func_fabsf_use=no
34120 fi
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122       ac_ext=c
34123 ac_cpp='$CPP $CPPFLAGS'
34124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34127
34128
34129 fi
34130
34131   fi
34132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34133 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34134
34135   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34136     for ac_func in fabsf
34137 do :
34138   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34139 if test "x$ac_cv_func_fabsf" = x""yes; then :
34140   cat >>confdefs.h <<_ACEOF
34141 #define HAVE_FABSF 1
34142 _ACEOF
34143
34144 fi
34145 done
34146
34147   else
34148
34149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34150 $as_echo_n "checking for _fabsf declaration... " >&6; }
34151   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34152     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34153   $as_echo_n "(cached) " >&6
34154 else
34155
34156
34157       ac_ext=cpp
34158 ac_cpp='$CXXCPP $CPPFLAGS'
34159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34162
34163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34164 /* end confdefs.h.  */
34165 #include <math.h>
34166                       #ifdef HAVE_IEEEFP_H
34167                       #include <ieeefp.h>
34168                       #endif
34169
34170 int
34171 main ()
34172 {
34173  _fabsf(0);
34174   ;
34175   return 0;
34176 }
34177 _ACEOF
34178 if ac_fn_cxx_try_compile "$LINENO"; then :
34179   glibcxx_cv_func__fabsf_use=yes
34180 else
34181   glibcxx_cv_func__fabsf_use=no
34182 fi
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34184       ac_ext=c
34185 ac_cpp='$CPP $CPPFLAGS'
34186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34189
34190
34191 fi
34192
34193   fi
34194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34195 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34196
34197     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34198       for ac_func in _fabsf
34199 do :
34200   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34201 if test "x$ac_cv_func__fabsf" = x""yes; then :
34202   cat >>confdefs.h <<_ACEOF
34203 #define HAVE__FABSF 1
34204 _ACEOF
34205
34206 fi
34207 done
34208
34209     fi
34210   fi
34211
34212
34213
34214
34215
34216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34217 $as_echo_n "checking for fmodf declaration... " >&6; }
34218   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34219     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34220   $as_echo_n "(cached) " >&6
34221 else
34222
34223
34224       ac_ext=cpp
34225 ac_cpp='$CXXCPP $CPPFLAGS'
34226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34229
34230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34231 /* end confdefs.h.  */
34232 #include <math.h>
34233 int
34234 main ()
34235 {
34236  fmodf(0, 0);
34237   ;
34238   return 0;
34239 }
34240 _ACEOF
34241 if ac_fn_cxx_try_compile "$LINENO"; then :
34242   glibcxx_cv_func_fmodf_use=yes
34243 else
34244   glibcxx_cv_func_fmodf_use=no
34245 fi
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34247       ac_ext=c
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34252
34253
34254 fi
34255
34256   fi
34257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34258 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34259
34260   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34261     for ac_func in fmodf
34262 do :
34263   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34264 if test "x$ac_cv_func_fmodf" = x""yes; then :
34265   cat >>confdefs.h <<_ACEOF
34266 #define HAVE_FMODF 1
34267 _ACEOF
34268
34269 fi
34270 done
34271
34272   else
34273
34274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34275 $as_echo_n "checking for _fmodf declaration... " >&6; }
34276   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34277     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34278   $as_echo_n "(cached) " >&6
34279 else
34280
34281
34282       ac_ext=cpp
34283 ac_cpp='$CXXCPP $CPPFLAGS'
34284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34287
34288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34289 /* end confdefs.h.  */
34290 #include <math.h>
34291 int
34292 main ()
34293 {
34294  _fmodf(0, 0);
34295   ;
34296   return 0;
34297 }
34298 _ACEOF
34299 if ac_fn_cxx_try_compile "$LINENO"; then :
34300   glibcxx_cv_func__fmodf_use=yes
34301 else
34302   glibcxx_cv_func__fmodf_use=no
34303 fi
34304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34305       ac_ext=c
34306 ac_cpp='$CPP $CPPFLAGS'
34307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34310
34311
34312 fi
34313
34314   fi
34315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34316 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34317
34318     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34319       for ac_func in _fmodf
34320 do :
34321   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34322 if test "x$ac_cv_func__fmodf" = x""yes; then :
34323   cat >>confdefs.h <<_ACEOF
34324 #define HAVE__FMODF 1
34325 _ACEOF
34326
34327 fi
34328 done
34329
34330     fi
34331   fi
34332
34333
34334
34335
34336
34337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34338 $as_echo_n "checking for frexpf declaration... " >&6; }
34339   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34340     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34341   $as_echo_n "(cached) " >&6
34342 else
34343
34344
34345       ac_ext=cpp
34346 ac_cpp='$CXXCPP $CPPFLAGS'
34347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34350
34351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34352 /* end confdefs.h.  */
34353 #include <math.h>
34354 int
34355 main ()
34356 {
34357  frexpf(0, 0);
34358   ;
34359   return 0;
34360 }
34361 _ACEOF
34362 if ac_fn_cxx_try_compile "$LINENO"; then :
34363   glibcxx_cv_func_frexpf_use=yes
34364 else
34365   glibcxx_cv_func_frexpf_use=no
34366 fi
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368       ac_ext=c
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34373
34374
34375 fi
34376
34377   fi
34378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34379 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34380
34381   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34382     for ac_func in frexpf
34383 do :
34384   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34385 if test "x$ac_cv_func_frexpf" = x""yes; then :
34386   cat >>confdefs.h <<_ACEOF
34387 #define HAVE_FREXPF 1
34388 _ACEOF
34389
34390 fi
34391 done
34392
34393   else
34394
34395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34396 $as_echo_n "checking for _frexpf declaration... " >&6; }
34397   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34398     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34399   $as_echo_n "(cached) " >&6
34400 else
34401
34402
34403       ac_ext=cpp
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34408
34409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h.  */
34411 #include <math.h>
34412 int
34413 main ()
34414 {
34415  _frexpf(0, 0);
34416   ;
34417   return 0;
34418 }
34419 _ACEOF
34420 if ac_fn_cxx_try_compile "$LINENO"; then :
34421   glibcxx_cv_func__frexpf_use=yes
34422 else
34423   glibcxx_cv_func__frexpf_use=no
34424 fi
34425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34426       ac_ext=c
34427 ac_cpp='$CPP $CPPFLAGS'
34428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34431
34432
34433 fi
34434
34435   fi
34436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34437 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34438
34439     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34440       for ac_func in _frexpf
34441 do :
34442   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34443 if test "x$ac_cv_func__frexpf" = x""yes; then :
34444   cat >>confdefs.h <<_ACEOF
34445 #define HAVE__FREXPF 1
34446 _ACEOF
34447
34448 fi
34449 done
34450
34451     fi
34452   fi
34453
34454
34455
34456
34457
34458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34459 $as_echo_n "checking for hypotf declaration... " >&6; }
34460   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34461     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34462   $as_echo_n "(cached) " >&6
34463 else
34464
34465
34466       ac_ext=cpp
34467 ac_cpp='$CXXCPP $CPPFLAGS'
34468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34471
34472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34473 /* end confdefs.h.  */
34474 #include <math.h>
34475 int
34476 main ()
34477 {
34478  hypotf(0, 0);
34479   ;
34480   return 0;
34481 }
34482 _ACEOF
34483 if ac_fn_cxx_try_compile "$LINENO"; then :
34484   glibcxx_cv_func_hypotf_use=yes
34485 else
34486   glibcxx_cv_func_hypotf_use=no
34487 fi
34488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34489       ac_ext=c
34490 ac_cpp='$CPP $CPPFLAGS'
34491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34494
34495
34496 fi
34497
34498   fi
34499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34500 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34501
34502   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34503     for ac_func in hypotf
34504 do :
34505   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34506 if test "x$ac_cv_func_hypotf" = x""yes; then :
34507   cat >>confdefs.h <<_ACEOF
34508 #define HAVE_HYPOTF 1
34509 _ACEOF
34510
34511 fi
34512 done
34513
34514   else
34515
34516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34517 $as_echo_n "checking for _hypotf declaration... " >&6; }
34518   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34519     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34520   $as_echo_n "(cached) " >&6
34521 else
34522
34523
34524       ac_ext=cpp
34525 ac_cpp='$CXXCPP $CPPFLAGS'
34526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34529
34530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34531 /* end confdefs.h.  */
34532 #include <math.h>
34533 int
34534 main ()
34535 {
34536  _hypotf(0, 0);
34537   ;
34538   return 0;
34539 }
34540 _ACEOF
34541 if ac_fn_cxx_try_compile "$LINENO"; then :
34542   glibcxx_cv_func__hypotf_use=yes
34543 else
34544   glibcxx_cv_func__hypotf_use=no
34545 fi
34546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34547       ac_ext=c
34548 ac_cpp='$CPP $CPPFLAGS'
34549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34552
34553
34554 fi
34555
34556   fi
34557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34558 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34559
34560     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34561       for ac_func in _hypotf
34562 do :
34563   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34564 if test "x$ac_cv_func__hypotf" = x""yes; then :
34565   cat >>confdefs.h <<_ACEOF
34566 #define HAVE__HYPOTF 1
34567 _ACEOF
34568
34569 fi
34570 done
34571
34572     fi
34573   fi
34574
34575
34576
34577
34578
34579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34580 $as_echo_n "checking for ldexpf declaration... " >&6; }
34581   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34582     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34583   $as_echo_n "(cached) " >&6
34584 else
34585
34586
34587       ac_ext=cpp
34588 ac_cpp='$CXXCPP $CPPFLAGS'
34589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592
34593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34594 /* end confdefs.h.  */
34595 #include <math.h>
34596 int
34597 main ()
34598 {
34599  ldexpf(0, 0);
34600   ;
34601   return 0;
34602 }
34603 _ACEOF
34604 if ac_fn_cxx_try_compile "$LINENO"; then :
34605   glibcxx_cv_func_ldexpf_use=yes
34606 else
34607   glibcxx_cv_func_ldexpf_use=no
34608 fi
34609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610       ac_ext=c
34611 ac_cpp='$CPP $CPPFLAGS'
34612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34615
34616
34617 fi
34618
34619   fi
34620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34621 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34622
34623   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34624     for ac_func in ldexpf
34625 do :
34626   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34627 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34628   cat >>confdefs.h <<_ACEOF
34629 #define HAVE_LDEXPF 1
34630 _ACEOF
34631
34632 fi
34633 done
34634
34635   else
34636
34637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34638 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34639   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34640     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34641   $as_echo_n "(cached) " >&6
34642 else
34643
34644
34645       ac_ext=cpp
34646 ac_cpp='$CXXCPP $CPPFLAGS'
34647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34650
34651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34652 /* end confdefs.h.  */
34653 #include <math.h>
34654 int
34655 main ()
34656 {
34657  _ldexpf(0, 0);
34658   ;
34659   return 0;
34660 }
34661 _ACEOF
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663   glibcxx_cv_func__ldexpf_use=yes
34664 else
34665   glibcxx_cv_func__ldexpf_use=no
34666 fi
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668       ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34673
34674
34675 fi
34676
34677   fi
34678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34679 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34680
34681     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34682       for ac_func in _ldexpf
34683 do :
34684   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34685 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34686   cat >>confdefs.h <<_ACEOF
34687 #define HAVE__LDEXPF 1
34688 _ACEOF
34689
34690 fi
34691 done
34692
34693     fi
34694   fi
34695
34696
34697
34698
34699
34700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34701 $as_echo_n "checking for logf declaration... " >&6; }
34702   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34703     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34704   $as_echo_n "(cached) " >&6
34705 else
34706
34707
34708       ac_ext=cpp
34709 ac_cpp='$CXXCPP $CPPFLAGS'
34710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34713
34714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34715 /* end confdefs.h.  */
34716 #include <math.h>
34717                       #ifdef HAVE_IEEEFP_H
34718                       #include <ieeefp.h>
34719                       #endif
34720
34721 int
34722 main ()
34723 {
34724  logf(0);
34725   ;
34726   return 0;
34727 }
34728 _ACEOF
34729 if ac_fn_cxx_try_compile "$LINENO"; then :
34730   glibcxx_cv_func_logf_use=yes
34731 else
34732   glibcxx_cv_func_logf_use=no
34733 fi
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735       ac_ext=c
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34740
34741
34742 fi
34743
34744   fi
34745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34746 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34747
34748   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34749     for ac_func in logf
34750 do :
34751   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34752 if test "x$ac_cv_func_logf" = x""yes; then :
34753   cat >>confdefs.h <<_ACEOF
34754 #define HAVE_LOGF 1
34755 _ACEOF
34756
34757 fi
34758 done
34759
34760   else
34761
34762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34763 $as_echo_n "checking for _logf declaration... " >&6; }
34764   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34765     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34766   $as_echo_n "(cached) " >&6
34767 else
34768
34769
34770       ac_ext=cpp
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34775
34776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h.  */
34778 #include <math.h>
34779                       #ifdef HAVE_IEEEFP_H
34780                       #include <ieeefp.h>
34781                       #endif
34782
34783 int
34784 main ()
34785 {
34786  _logf(0);
34787   ;
34788   return 0;
34789 }
34790 _ACEOF
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792   glibcxx_cv_func__logf_use=yes
34793 else
34794   glibcxx_cv_func__logf_use=no
34795 fi
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34797       ac_ext=c
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34802
34803
34804 fi
34805
34806   fi
34807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34808 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34809
34810     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34811       for ac_func in _logf
34812 do :
34813   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34814 if test "x$ac_cv_func__logf" = x""yes; then :
34815   cat >>confdefs.h <<_ACEOF
34816 #define HAVE__LOGF 1
34817 _ACEOF
34818
34819 fi
34820 done
34821
34822     fi
34823   fi
34824
34825
34826
34827
34828
34829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34830 $as_echo_n "checking for log10f declaration... " >&6; }
34831   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34832     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34833   $as_echo_n "(cached) " >&6
34834 else
34835
34836
34837       ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842
34843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h.  */
34845 #include <math.h>
34846                       #ifdef HAVE_IEEEFP_H
34847                       #include <ieeefp.h>
34848                       #endif
34849
34850 int
34851 main ()
34852 {
34853  log10f(0);
34854   ;
34855   return 0;
34856 }
34857 _ACEOF
34858 if ac_fn_cxx_try_compile "$LINENO"; then :
34859   glibcxx_cv_func_log10f_use=yes
34860 else
34861   glibcxx_cv_func_log10f_use=no
34862 fi
34863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34864       ac_ext=c
34865 ac_cpp='$CPP $CPPFLAGS'
34866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34869
34870
34871 fi
34872
34873   fi
34874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34875 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34876
34877   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34878     for ac_func in log10f
34879 do :
34880   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34881 if test "x$ac_cv_func_log10f" = x""yes; then :
34882   cat >>confdefs.h <<_ACEOF
34883 #define HAVE_LOG10F 1
34884 _ACEOF
34885
34886 fi
34887 done
34888
34889   else
34890
34891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34892 $as_echo_n "checking for _log10f declaration... " >&6; }
34893   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34894     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34895   $as_echo_n "(cached) " >&6
34896 else
34897
34898
34899       ac_ext=cpp
34900 ac_cpp='$CXXCPP $CPPFLAGS'
34901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34904
34905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34906 /* end confdefs.h.  */
34907 #include <math.h>
34908                       #ifdef HAVE_IEEEFP_H
34909                       #include <ieeefp.h>
34910                       #endif
34911
34912 int
34913 main ()
34914 {
34915  _log10f(0);
34916   ;
34917   return 0;
34918 }
34919 _ACEOF
34920 if ac_fn_cxx_try_compile "$LINENO"; then :
34921   glibcxx_cv_func__log10f_use=yes
34922 else
34923   glibcxx_cv_func__log10f_use=no
34924 fi
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34926       ac_ext=c
34927 ac_cpp='$CPP $CPPFLAGS'
34928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34931
34932
34933 fi
34934
34935   fi
34936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34937 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34938
34939     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34940       for ac_func in _log10f
34941 do :
34942   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34943 if test "x$ac_cv_func__log10f" = x""yes; then :
34944   cat >>confdefs.h <<_ACEOF
34945 #define HAVE__LOG10F 1
34946 _ACEOF
34947
34948 fi
34949 done
34950
34951     fi
34952   fi
34953
34954
34955
34956
34957
34958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34959 $as_echo_n "checking for modff declaration... " >&6; }
34960   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34961     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34962   $as_echo_n "(cached) " >&6
34963 else
34964
34965
34966       ac_ext=cpp
34967 ac_cpp='$CXXCPP $CPPFLAGS'
34968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34971
34972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34973 /* end confdefs.h.  */
34974 #include <math.h>
34975 int
34976 main ()
34977 {
34978  modff(0, 0);
34979   ;
34980   return 0;
34981 }
34982 _ACEOF
34983 if ac_fn_cxx_try_compile "$LINENO"; then :
34984   glibcxx_cv_func_modff_use=yes
34985 else
34986   glibcxx_cv_func_modff_use=no
34987 fi
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34989       ac_ext=c
34990 ac_cpp='$CPP $CPPFLAGS'
34991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34994
34995
34996 fi
34997
34998   fi
34999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35000 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35001
35002   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35003     for ac_func in modff
35004 do :
35005   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35006 if test "x$ac_cv_func_modff" = x""yes; then :
35007   cat >>confdefs.h <<_ACEOF
35008 #define HAVE_MODFF 1
35009 _ACEOF
35010
35011 fi
35012 done
35013
35014   else
35015
35016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35017 $as_echo_n "checking for _modff declaration... " >&6; }
35018   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35019     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35020   $as_echo_n "(cached) " >&6
35021 else
35022
35023
35024       ac_ext=cpp
35025 ac_cpp='$CXXCPP $CPPFLAGS'
35026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35029
35030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h.  */
35032 #include <math.h>
35033 int
35034 main ()
35035 {
35036  _modff(0, 0);
35037   ;
35038   return 0;
35039 }
35040 _ACEOF
35041 if ac_fn_cxx_try_compile "$LINENO"; then :
35042   glibcxx_cv_func__modff_use=yes
35043 else
35044   glibcxx_cv_func__modff_use=no
35045 fi
35046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35047       ac_ext=c
35048 ac_cpp='$CPP $CPPFLAGS'
35049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35052
35053
35054 fi
35055
35056   fi
35057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35058 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35059
35060     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35061       for ac_func in _modff
35062 do :
35063   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35064 if test "x$ac_cv_func__modff" = x""yes; then :
35065   cat >>confdefs.h <<_ACEOF
35066 #define HAVE__MODFF 1
35067 _ACEOF
35068
35069 fi
35070 done
35071
35072     fi
35073   fi
35074
35075
35076
35077
35078
35079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35080 $as_echo_n "checking for modf declaration... " >&6; }
35081   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35082     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35083   $as_echo_n "(cached) " >&6
35084 else
35085
35086
35087       ac_ext=cpp
35088 ac_cpp='$CXXCPP $CPPFLAGS'
35089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35092
35093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35094 /* end confdefs.h.  */
35095 #include <math.h>
35096 int
35097 main ()
35098 {
35099  modf(0, 0);
35100   ;
35101   return 0;
35102 }
35103 _ACEOF
35104 if ac_fn_cxx_try_compile "$LINENO"; then :
35105   glibcxx_cv_func_modf_use=yes
35106 else
35107   glibcxx_cv_func_modf_use=no
35108 fi
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110       ac_ext=c
35111 ac_cpp='$CPP $CPPFLAGS'
35112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35115
35116
35117 fi
35118
35119   fi
35120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35121 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35122
35123   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35124     for ac_func in modf
35125 do :
35126   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35127 if test "x$ac_cv_func_modf" = x""yes; then :
35128   cat >>confdefs.h <<_ACEOF
35129 #define HAVE_MODF 1
35130 _ACEOF
35131
35132 fi
35133 done
35134
35135   else
35136
35137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35138 $as_echo_n "checking for _modf declaration... " >&6; }
35139   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35140     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35141   $as_echo_n "(cached) " >&6
35142 else
35143
35144
35145       ac_ext=cpp
35146 ac_cpp='$CXXCPP $CPPFLAGS'
35147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35150
35151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35152 /* end confdefs.h.  */
35153 #include <math.h>
35154 int
35155 main ()
35156 {
35157  _modf(0, 0);
35158   ;
35159   return 0;
35160 }
35161 _ACEOF
35162 if ac_fn_cxx_try_compile "$LINENO"; then :
35163   glibcxx_cv_func__modf_use=yes
35164 else
35165   glibcxx_cv_func__modf_use=no
35166 fi
35167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35168       ac_ext=c
35169 ac_cpp='$CPP $CPPFLAGS'
35170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35173
35174
35175 fi
35176
35177   fi
35178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35179 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35180
35181     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35182       for ac_func in _modf
35183 do :
35184   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35185 if test "x$ac_cv_func__modf" = x""yes; then :
35186   cat >>confdefs.h <<_ACEOF
35187 #define HAVE__MODF 1
35188 _ACEOF
35189
35190 fi
35191 done
35192
35193     fi
35194   fi
35195
35196
35197
35198
35199
35200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35201 $as_echo_n "checking for powf declaration... " >&6; }
35202   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35203     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35204   $as_echo_n "(cached) " >&6
35205 else
35206
35207
35208       ac_ext=cpp
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35213
35214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h.  */
35216 #include <math.h>
35217 int
35218 main ()
35219 {
35220  powf(0, 0);
35221   ;
35222   return 0;
35223 }
35224 _ACEOF
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226   glibcxx_cv_func_powf_use=yes
35227 else
35228   glibcxx_cv_func_powf_use=no
35229 fi
35230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231       ac_ext=c
35232 ac_cpp='$CPP $CPPFLAGS'
35233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35236
35237
35238 fi
35239
35240   fi
35241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35242 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35243
35244   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35245     for ac_func in powf
35246 do :
35247   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35248 if test "x$ac_cv_func_powf" = x""yes; then :
35249   cat >>confdefs.h <<_ACEOF
35250 #define HAVE_POWF 1
35251 _ACEOF
35252
35253 fi
35254 done
35255
35256   else
35257
35258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35259 $as_echo_n "checking for _powf declaration... " >&6; }
35260   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35261     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35262   $as_echo_n "(cached) " >&6
35263 else
35264
35265
35266       ac_ext=cpp
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35271
35272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h.  */
35274 #include <math.h>
35275 int
35276 main ()
35277 {
35278  _powf(0, 0);
35279   ;
35280   return 0;
35281 }
35282 _ACEOF
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284   glibcxx_cv_func__powf_use=yes
35285 else
35286   glibcxx_cv_func__powf_use=no
35287 fi
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289       ac_ext=c
35290 ac_cpp='$CPP $CPPFLAGS'
35291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35294
35295
35296 fi
35297
35298   fi
35299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35300 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35301
35302     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35303       for ac_func in _powf
35304 do :
35305   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35306 if test "x$ac_cv_func__powf" = x""yes; then :
35307   cat >>confdefs.h <<_ACEOF
35308 #define HAVE__POWF 1
35309 _ACEOF
35310
35311 fi
35312 done
35313
35314     fi
35315   fi
35316
35317
35318
35319
35320
35321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35322 $as_echo_n "checking for sqrtf declaration... " >&6; }
35323   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35324     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35325   $as_echo_n "(cached) " >&6
35326 else
35327
35328
35329       ac_ext=cpp
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35334
35335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h.  */
35337 #include <math.h>
35338                       #ifdef HAVE_IEEEFP_H
35339                       #include <ieeefp.h>
35340                       #endif
35341
35342 int
35343 main ()
35344 {
35345  sqrtf(0);
35346   ;
35347   return 0;
35348 }
35349 _ACEOF
35350 if ac_fn_cxx_try_compile "$LINENO"; then :
35351   glibcxx_cv_func_sqrtf_use=yes
35352 else
35353   glibcxx_cv_func_sqrtf_use=no
35354 fi
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356       ac_ext=c
35357 ac_cpp='$CPP $CPPFLAGS'
35358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35361
35362
35363 fi
35364
35365   fi
35366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35367 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35368
35369   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35370     for ac_func in sqrtf
35371 do :
35372   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35373 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35374   cat >>confdefs.h <<_ACEOF
35375 #define HAVE_SQRTF 1
35376 _ACEOF
35377
35378 fi
35379 done
35380
35381   else
35382
35383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35384 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35385   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35386     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35387   $as_echo_n "(cached) " >&6
35388 else
35389
35390
35391       ac_ext=cpp
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35396
35397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35398 /* end confdefs.h.  */
35399 #include <math.h>
35400                       #ifdef HAVE_IEEEFP_H
35401                       #include <ieeefp.h>
35402                       #endif
35403
35404 int
35405 main ()
35406 {
35407  _sqrtf(0);
35408   ;
35409   return 0;
35410 }
35411 _ACEOF
35412 if ac_fn_cxx_try_compile "$LINENO"; then :
35413   glibcxx_cv_func__sqrtf_use=yes
35414 else
35415   glibcxx_cv_func__sqrtf_use=no
35416 fi
35417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35418       ac_ext=c
35419 ac_cpp='$CPP $CPPFLAGS'
35420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35423
35424
35425 fi
35426
35427   fi
35428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35429 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35430
35431     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35432       for ac_func in _sqrtf
35433 do :
35434   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35435 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35436   cat >>confdefs.h <<_ACEOF
35437 #define HAVE__SQRTF 1
35438 _ACEOF
35439
35440 fi
35441 done
35442
35443     fi
35444   fi
35445
35446
35447
35448
35449
35450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35451 $as_echo_n "checking for sincosf declaration... " >&6; }
35452   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35453     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35454   $as_echo_n "(cached) " >&6
35455 else
35456
35457
35458       ac_ext=cpp
35459 ac_cpp='$CXXCPP $CPPFLAGS'
35460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35463
35464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35465 /* end confdefs.h.  */
35466 #include <math.h>
35467 int
35468 main ()
35469 {
35470  sincosf(0, 0, 0);
35471   ;
35472   return 0;
35473 }
35474 _ACEOF
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476   glibcxx_cv_func_sincosf_use=yes
35477 else
35478   glibcxx_cv_func_sincosf_use=no
35479 fi
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481       ac_ext=c
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35486
35487
35488 fi
35489
35490   fi
35491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35492 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35493
35494   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35495     for ac_func in sincosf
35496 do :
35497   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35498 if test "x$ac_cv_func_sincosf" = x""yes; then :
35499   cat >>confdefs.h <<_ACEOF
35500 #define HAVE_SINCOSF 1
35501 _ACEOF
35502
35503 fi
35504 done
35505
35506   else
35507
35508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35509 $as_echo_n "checking for _sincosf declaration... " >&6; }
35510   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35511     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35512   $as_echo_n "(cached) " >&6
35513 else
35514
35515
35516       ac_ext=cpp
35517 ac_cpp='$CXXCPP $CPPFLAGS'
35518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35521
35522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523 /* end confdefs.h.  */
35524 #include <math.h>
35525 int
35526 main ()
35527 {
35528  _sincosf(0, 0, 0);
35529   ;
35530   return 0;
35531 }
35532 _ACEOF
35533 if ac_fn_cxx_try_compile "$LINENO"; then :
35534   glibcxx_cv_func__sincosf_use=yes
35535 else
35536   glibcxx_cv_func__sincosf_use=no
35537 fi
35538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35539       ac_ext=c
35540 ac_cpp='$CPP $CPPFLAGS'
35541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35544
35545
35546 fi
35547
35548   fi
35549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35550 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35551
35552     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35553       for ac_func in _sincosf
35554 do :
35555   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35556 if test "x$ac_cv_func__sincosf" = x""yes; then :
35557   cat >>confdefs.h <<_ACEOF
35558 #define HAVE__SINCOSF 1
35559 _ACEOF
35560
35561 fi
35562 done
35563
35564     fi
35565   fi
35566
35567
35568
35569
35570
35571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35572 $as_echo_n "checking for finitef declaration... " >&6; }
35573   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35574     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35575   $as_echo_n "(cached) " >&6
35576 else
35577
35578
35579       ac_ext=cpp
35580 ac_cpp='$CXXCPP $CPPFLAGS'
35581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35584
35585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35586 /* end confdefs.h.  */
35587 #include <math.h>
35588                       #ifdef HAVE_IEEEFP_H
35589                       #include <ieeefp.h>
35590                       #endif
35591
35592 int
35593 main ()
35594 {
35595  finitef(0);
35596   ;
35597   return 0;
35598 }
35599 _ACEOF
35600 if ac_fn_cxx_try_compile "$LINENO"; then :
35601   glibcxx_cv_func_finitef_use=yes
35602 else
35603   glibcxx_cv_func_finitef_use=no
35604 fi
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35606       ac_ext=c
35607 ac_cpp='$CPP $CPPFLAGS'
35608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35611
35612
35613 fi
35614
35615   fi
35616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35617 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35618
35619   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35620     for ac_func in finitef
35621 do :
35622   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35623 if test "x$ac_cv_func_finitef" = x""yes; then :
35624   cat >>confdefs.h <<_ACEOF
35625 #define HAVE_FINITEF 1
35626 _ACEOF
35627
35628 fi
35629 done
35630
35631   else
35632
35633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35634 $as_echo_n "checking for _finitef declaration... " >&6; }
35635   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35636     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35637   $as_echo_n "(cached) " >&6
35638 else
35639
35640
35641       ac_ext=cpp
35642 ac_cpp='$CXXCPP $CPPFLAGS'
35643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35646
35647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35648 /* end confdefs.h.  */
35649 #include <math.h>
35650                       #ifdef HAVE_IEEEFP_H
35651                       #include <ieeefp.h>
35652                       #endif
35653
35654 int
35655 main ()
35656 {
35657  _finitef(0);
35658   ;
35659   return 0;
35660 }
35661 _ACEOF
35662 if ac_fn_cxx_try_compile "$LINENO"; then :
35663   glibcxx_cv_func__finitef_use=yes
35664 else
35665   glibcxx_cv_func__finitef_use=no
35666 fi
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35668       ac_ext=c
35669 ac_cpp='$CPP $CPPFLAGS'
35670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35673
35674
35675 fi
35676
35677   fi
35678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35679 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35680
35681     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35682       for ac_func in _finitef
35683 do :
35684   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35685 if test "x$ac_cv_func__finitef" = x""yes; then :
35686   cat >>confdefs.h <<_ACEOF
35687 #define HAVE__FINITEF 1
35688 _ACEOF
35689
35690 fi
35691 done
35692
35693     fi
35694   fi
35695
35696
35697
35698
35699
35700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35701 $as_echo_n "checking for long double trig functions... " >&6; }
35702   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35703   $as_echo_n "(cached) " >&6
35704 else
35705
35706
35707     ac_ext=cpp
35708 ac_cpp='$CXXCPP $CPPFLAGS'
35709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35712
35713     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35714 /* end confdefs.h.  */
35715 #include <math.h>
35716 int
35717 main ()
35718 {
35719 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35720   ;
35721   return 0;
35722 }
35723 _ACEOF
35724 if ac_fn_cxx_try_compile "$LINENO"; then :
35725   glibcxx_cv_func_long_double_trig_use=yes
35726 else
35727   glibcxx_cv_func_long_double_trig_use=no
35728 fi
35729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35730     ac_ext=c
35731 ac_cpp='$CPP $CPPFLAGS'
35732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35735
35736 fi
35737
35738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35739 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35740   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35741     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35742 do :
35743   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35745 eval as_val=\$$as_ac_var
35746    if test "x$as_val" = x""yes; then :
35747   cat >>confdefs.h <<_ACEOF
35748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35750
35751 fi
35752 done
35753
35754   else
35755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35756 $as_echo_n "checking for _long double trig functions... " >&6; }
35757     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35758   $as_echo_n "(cached) " >&6
35759 else
35760
35761
35762       ac_ext=cpp
35763 ac_cpp='$CXXCPP $CPPFLAGS'
35764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35767
35768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35769 /* end confdefs.h.  */
35770 #include <math.h>
35771 int
35772 main ()
35773 {
35774 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35775   ;
35776   return 0;
35777 }
35778 _ACEOF
35779 if ac_fn_cxx_try_compile "$LINENO"; then :
35780   glibcxx_cv_func__long_double_trig_use=yes
35781 else
35782   glibcxx_cv_func__long_double_trig_use=no
35783 fi
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785       ac_ext=c
35786 ac_cpp='$CPP $CPPFLAGS'
35787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35790
35791 fi
35792
35793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35794 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35795     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35796       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35797 do :
35798   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35800 eval as_val=\$$as_ac_var
35801    if test "x$as_val" = x""yes; then :
35802   cat >>confdefs.h <<_ACEOF
35803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35804 _ACEOF
35805
35806 fi
35807 done
35808
35809     fi
35810   fi
35811
35812
35813
35814
35815
35816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35817 $as_echo_n "checking for long double round functions... " >&6; }
35818   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35819   $as_echo_n "(cached) " >&6
35820 else
35821
35822
35823     ac_ext=cpp
35824 ac_cpp='$CXXCPP $CPPFLAGS'
35825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35828
35829     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35830 /* end confdefs.h.  */
35831 #include <math.h>
35832 int
35833 main ()
35834 {
35835 ceill (0); floorl (0);
35836   ;
35837   return 0;
35838 }
35839 _ACEOF
35840 if ac_fn_cxx_try_compile "$LINENO"; then :
35841   glibcxx_cv_func_long_double_round_use=yes
35842 else
35843   glibcxx_cv_func_long_double_round_use=no
35844 fi
35845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35846     ac_ext=c
35847 ac_cpp='$CPP $CPPFLAGS'
35848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35851
35852 fi
35853
35854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35855 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35856   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35857     for ac_func in ceill floorl
35858 do :
35859   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35861 eval as_val=\$$as_ac_var
35862    if test "x$as_val" = x""yes; then :
35863   cat >>confdefs.h <<_ACEOF
35864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35865 _ACEOF
35866
35867 fi
35868 done
35869
35870   else
35871     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35872 $as_echo_n "checking for _long double round functions... " >&6; }
35873     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35874   $as_echo_n "(cached) " >&6
35875 else
35876
35877
35878       ac_ext=cpp
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883
35884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35885 /* end confdefs.h.  */
35886 #include <math.h>
35887 int
35888 main ()
35889 {
35890 _ceill (0); _floorl (0);
35891   ;
35892   return 0;
35893 }
35894 _ACEOF
35895 if ac_fn_cxx_try_compile "$LINENO"; then :
35896   glibcxx_cv_func__long_double_round_use=yes
35897 else
35898   glibcxx_cv_func__long_double_round_use=no
35899 fi
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901       ac_ext=c
35902 ac_cpp='$CPP $CPPFLAGS'
35903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35906
35907 fi
35908
35909     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35910 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35911     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35912       for ac_func in _ceill _floorl
35913 do :
35914   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35916 eval as_val=\$$as_ac_var
35917    if test "x$as_val" = x""yes; then :
35918   cat >>confdefs.h <<_ACEOF
35919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35920 _ACEOF
35921
35922 fi
35923 done
35924
35925     fi
35926   fi
35927
35928
35929
35930
35931
35932
35933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35934 $as_echo_n "checking for isnanl declaration... " >&6; }
35935   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35936     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35937   $as_echo_n "(cached) " >&6
35938 else
35939
35940
35941       ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946
35947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h.  */
35949 #include <math.h>
35950                       #ifdef HAVE_IEEEFP_H
35951                       #include <ieeefp.h>
35952                       #endif
35953
35954 int
35955 main ()
35956 {
35957  isnanl(0);
35958   ;
35959   return 0;
35960 }
35961 _ACEOF
35962 if ac_fn_cxx_try_compile "$LINENO"; then :
35963   glibcxx_cv_func_isnanl_use=yes
35964 else
35965   glibcxx_cv_func_isnanl_use=no
35966 fi
35967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968       ac_ext=c
35969 ac_cpp='$CPP $CPPFLAGS'
35970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35973
35974
35975 fi
35976
35977   fi
35978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35979 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35980
35981   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35982     for ac_func in isnanl
35983 do :
35984   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35985 if test "x$ac_cv_func_isnanl" = x""yes; then :
35986   cat >>confdefs.h <<_ACEOF
35987 #define HAVE_ISNANL 1
35988 _ACEOF
35989
35990 fi
35991 done
35992
35993   else
35994
35995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35996 $as_echo_n "checking for _isnanl declaration... " >&6; }
35997   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35998     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35999   $as_echo_n "(cached) " >&6
36000 else
36001
36002
36003       ac_ext=cpp
36004 ac_cpp='$CXXCPP $CPPFLAGS'
36005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36008
36009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36010 /* end confdefs.h.  */
36011 #include <math.h>
36012                       #ifdef HAVE_IEEEFP_H
36013                       #include <ieeefp.h>
36014                       #endif
36015
36016 int
36017 main ()
36018 {
36019  _isnanl(0);
36020   ;
36021   return 0;
36022 }
36023 _ACEOF
36024 if ac_fn_cxx_try_compile "$LINENO"; then :
36025   glibcxx_cv_func__isnanl_use=yes
36026 else
36027   glibcxx_cv_func__isnanl_use=no
36028 fi
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36030       ac_ext=c
36031 ac_cpp='$CPP $CPPFLAGS'
36032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36035
36036
36037 fi
36038
36039   fi
36040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36041 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36042
36043     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36044       for ac_func in _isnanl
36045 do :
36046   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36047 if test "x$ac_cv_func__isnanl" = x""yes; then :
36048   cat >>confdefs.h <<_ACEOF
36049 #define HAVE__ISNANL 1
36050 _ACEOF
36051
36052 fi
36053 done
36054
36055     fi
36056   fi
36057
36058
36059
36060
36061
36062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36063 $as_echo_n "checking for isinfl declaration... " >&6; }
36064   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36065     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36066   $as_echo_n "(cached) " >&6
36067 else
36068
36069
36070       ac_ext=cpp
36071 ac_cpp='$CXXCPP $CPPFLAGS'
36072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36075
36076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36077 /* end confdefs.h.  */
36078 #include <math.h>
36079                       #ifdef HAVE_IEEEFP_H
36080                       #include <ieeefp.h>
36081                       #endif
36082
36083 int
36084 main ()
36085 {
36086  isinfl(0);
36087   ;
36088   return 0;
36089 }
36090 _ACEOF
36091 if ac_fn_cxx_try_compile "$LINENO"; then :
36092   glibcxx_cv_func_isinfl_use=yes
36093 else
36094   glibcxx_cv_func_isinfl_use=no
36095 fi
36096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36097       ac_ext=c
36098 ac_cpp='$CPP $CPPFLAGS'
36099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36102
36103
36104 fi
36105
36106   fi
36107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36108 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36109
36110   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36111     for ac_func in isinfl
36112 do :
36113   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36114 if test "x$ac_cv_func_isinfl" = x""yes; then :
36115   cat >>confdefs.h <<_ACEOF
36116 #define HAVE_ISINFL 1
36117 _ACEOF
36118
36119 fi
36120 done
36121
36122   else
36123
36124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36125 $as_echo_n "checking for _isinfl declaration... " >&6; }
36126   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36127     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36128   $as_echo_n "(cached) " >&6
36129 else
36130
36131
36132       ac_ext=cpp
36133 ac_cpp='$CXXCPP $CPPFLAGS'
36134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36137
36138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36139 /* end confdefs.h.  */
36140 #include <math.h>
36141                       #ifdef HAVE_IEEEFP_H
36142                       #include <ieeefp.h>
36143                       #endif
36144
36145 int
36146 main ()
36147 {
36148  _isinfl(0);
36149   ;
36150   return 0;
36151 }
36152 _ACEOF
36153 if ac_fn_cxx_try_compile "$LINENO"; then :
36154   glibcxx_cv_func__isinfl_use=yes
36155 else
36156   glibcxx_cv_func__isinfl_use=no
36157 fi
36158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36159       ac_ext=c
36160 ac_cpp='$CPP $CPPFLAGS'
36161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36164
36165
36166 fi
36167
36168   fi
36169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36170 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36171
36172     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36173       for ac_func in _isinfl
36174 do :
36175   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36176 if test "x$ac_cv_func__isinfl" = x""yes; then :
36177   cat >>confdefs.h <<_ACEOF
36178 #define HAVE__ISINFL 1
36179 _ACEOF
36180
36181 fi
36182 done
36183
36184     fi
36185   fi
36186
36187
36188
36189
36190
36191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36192 $as_echo_n "checking for atan2l declaration... " >&6; }
36193   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36194     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36195   $as_echo_n "(cached) " >&6
36196 else
36197
36198
36199       ac_ext=cpp
36200 ac_cpp='$CXXCPP $CPPFLAGS'
36201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36204
36205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36206 /* end confdefs.h.  */
36207 #include <math.h>
36208 int
36209 main ()
36210 {
36211  atan2l(0, 0);
36212   ;
36213   return 0;
36214 }
36215 _ACEOF
36216 if ac_fn_cxx_try_compile "$LINENO"; then :
36217   glibcxx_cv_func_atan2l_use=yes
36218 else
36219   glibcxx_cv_func_atan2l_use=no
36220 fi
36221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36222       ac_ext=c
36223 ac_cpp='$CPP $CPPFLAGS'
36224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36227
36228
36229 fi
36230
36231   fi
36232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36233 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36234
36235   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36236     for ac_func in atan2l
36237 do :
36238   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36239 if test "x$ac_cv_func_atan2l" = x""yes; then :
36240   cat >>confdefs.h <<_ACEOF
36241 #define HAVE_ATAN2L 1
36242 _ACEOF
36243
36244 fi
36245 done
36246
36247   else
36248
36249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36250 $as_echo_n "checking for _atan2l declaration... " >&6; }
36251   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36252     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36253   $as_echo_n "(cached) " >&6
36254 else
36255
36256
36257       ac_ext=cpp
36258 ac_cpp='$CXXCPP $CPPFLAGS'
36259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36262
36263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36264 /* end confdefs.h.  */
36265 #include <math.h>
36266 int
36267 main ()
36268 {
36269  _atan2l(0, 0);
36270   ;
36271   return 0;
36272 }
36273 _ACEOF
36274 if ac_fn_cxx_try_compile "$LINENO"; then :
36275   glibcxx_cv_func__atan2l_use=yes
36276 else
36277   glibcxx_cv_func__atan2l_use=no
36278 fi
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36280       ac_ext=c
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36285
36286
36287 fi
36288
36289   fi
36290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36291 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36292
36293     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36294       for ac_func in _atan2l
36295 do :
36296   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36297 if test "x$ac_cv_func__atan2l" = x""yes; then :
36298   cat >>confdefs.h <<_ACEOF
36299 #define HAVE__ATAN2L 1
36300 _ACEOF
36301
36302 fi
36303 done
36304
36305     fi
36306   fi
36307
36308
36309
36310
36311
36312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36313 $as_echo_n "checking for expl declaration... " >&6; }
36314   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36315     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36316   $as_echo_n "(cached) " >&6
36317 else
36318
36319
36320       ac_ext=cpp
36321 ac_cpp='$CXXCPP $CPPFLAGS'
36322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36325
36326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36327 /* end confdefs.h.  */
36328 #include <math.h>
36329                       #ifdef HAVE_IEEEFP_H
36330                       #include <ieeefp.h>
36331                       #endif
36332
36333 int
36334 main ()
36335 {
36336  expl(0);
36337   ;
36338   return 0;
36339 }
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342   glibcxx_cv_func_expl_use=yes
36343 else
36344   glibcxx_cv_func_expl_use=no
36345 fi
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347       ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352
36353
36354 fi
36355
36356   fi
36357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36358 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36359
36360   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36361     for ac_func in expl
36362 do :
36363   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36364 if test "x$ac_cv_func_expl" = x""yes; then :
36365   cat >>confdefs.h <<_ACEOF
36366 #define HAVE_EXPL 1
36367 _ACEOF
36368
36369 fi
36370 done
36371
36372   else
36373
36374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36375 $as_echo_n "checking for _expl declaration... " >&6; }
36376   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36377     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36378   $as_echo_n "(cached) " >&6
36379 else
36380
36381
36382       ac_ext=cpp
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36387
36388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36389 /* end confdefs.h.  */
36390 #include <math.h>
36391                       #ifdef HAVE_IEEEFP_H
36392                       #include <ieeefp.h>
36393                       #endif
36394
36395 int
36396 main ()
36397 {
36398  _expl(0);
36399   ;
36400   return 0;
36401 }
36402 _ACEOF
36403 if ac_fn_cxx_try_compile "$LINENO"; then :
36404   glibcxx_cv_func__expl_use=yes
36405 else
36406   glibcxx_cv_func__expl_use=no
36407 fi
36408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36409       ac_ext=c
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414
36415
36416 fi
36417
36418   fi
36419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36420 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36421
36422     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36423       for ac_func in _expl
36424 do :
36425   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36426 if test "x$ac_cv_func__expl" = x""yes; then :
36427   cat >>confdefs.h <<_ACEOF
36428 #define HAVE__EXPL 1
36429 _ACEOF
36430
36431 fi
36432 done
36433
36434     fi
36435   fi
36436
36437
36438
36439
36440
36441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36442 $as_echo_n "checking for fabsl declaration... " >&6; }
36443   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36444     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36445   $as_echo_n "(cached) " >&6
36446 else
36447
36448
36449       ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36456 /* end confdefs.h.  */
36457 #include <math.h>
36458                       #ifdef HAVE_IEEEFP_H
36459                       #include <ieeefp.h>
36460                       #endif
36461
36462 int
36463 main ()
36464 {
36465  fabsl(0);
36466   ;
36467   return 0;
36468 }
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471   glibcxx_cv_func_fabsl_use=yes
36472 else
36473   glibcxx_cv_func_fabsl_use=no
36474 fi
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476       ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36481
36482
36483 fi
36484
36485   fi
36486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36487 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36488
36489   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36490     for ac_func in fabsl
36491 do :
36492   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36493 if test "x$ac_cv_func_fabsl" = x""yes; then :
36494   cat >>confdefs.h <<_ACEOF
36495 #define HAVE_FABSL 1
36496 _ACEOF
36497
36498 fi
36499 done
36500
36501   else
36502
36503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36504 $as_echo_n "checking for _fabsl declaration... " >&6; }
36505   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36506     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36507   $as_echo_n "(cached) " >&6
36508 else
36509
36510
36511       ac_ext=cpp
36512 ac_cpp='$CXXCPP $CPPFLAGS'
36513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36516
36517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36518 /* end confdefs.h.  */
36519 #include <math.h>
36520                       #ifdef HAVE_IEEEFP_H
36521                       #include <ieeefp.h>
36522                       #endif
36523
36524 int
36525 main ()
36526 {
36527  _fabsl(0);
36528   ;
36529   return 0;
36530 }
36531 _ACEOF
36532 if ac_fn_cxx_try_compile "$LINENO"; then :
36533   glibcxx_cv_func__fabsl_use=yes
36534 else
36535   glibcxx_cv_func__fabsl_use=no
36536 fi
36537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36538       ac_ext=c
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36543
36544
36545 fi
36546
36547   fi
36548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36549 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36550
36551     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36552       for ac_func in _fabsl
36553 do :
36554   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36555 if test "x$ac_cv_func__fabsl" = x""yes; then :
36556   cat >>confdefs.h <<_ACEOF
36557 #define HAVE__FABSL 1
36558 _ACEOF
36559
36560 fi
36561 done
36562
36563     fi
36564   fi
36565
36566
36567
36568
36569
36570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36571 $as_echo_n "checking for fmodl declaration... " >&6; }
36572   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36573     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36574   $as_echo_n "(cached) " >&6
36575 else
36576
36577
36578       ac_ext=cpp
36579 ac_cpp='$CXXCPP $CPPFLAGS'
36580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36583
36584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36585 /* end confdefs.h.  */
36586 #include <math.h>
36587 int
36588 main ()
36589 {
36590  fmodl(0, 0);
36591   ;
36592   return 0;
36593 }
36594 _ACEOF
36595 if ac_fn_cxx_try_compile "$LINENO"; then :
36596   glibcxx_cv_func_fmodl_use=yes
36597 else
36598   glibcxx_cv_func_fmodl_use=no
36599 fi
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601       ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606
36607
36608 fi
36609
36610   fi
36611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36612 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36613
36614   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36615     for ac_func in fmodl
36616 do :
36617   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36618 if test "x$ac_cv_func_fmodl" = x""yes; then :
36619   cat >>confdefs.h <<_ACEOF
36620 #define HAVE_FMODL 1
36621 _ACEOF
36622
36623 fi
36624 done
36625
36626   else
36627
36628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36629 $as_echo_n "checking for _fmodl declaration... " >&6; }
36630   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36631     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36632   $as_echo_n "(cached) " >&6
36633 else
36634
36635
36636       ac_ext=cpp
36637 ac_cpp='$CXXCPP $CPPFLAGS'
36638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36641
36642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36643 /* end confdefs.h.  */
36644 #include <math.h>
36645 int
36646 main ()
36647 {
36648  _fmodl(0, 0);
36649   ;
36650   return 0;
36651 }
36652 _ACEOF
36653 if ac_fn_cxx_try_compile "$LINENO"; then :
36654   glibcxx_cv_func__fmodl_use=yes
36655 else
36656   glibcxx_cv_func__fmodl_use=no
36657 fi
36658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36659       ac_ext=c
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36664
36665
36666 fi
36667
36668   fi
36669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36670 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36671
36672     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36673       for ac_func in _fmodl
36674 do :
36675   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36676 if test "x$ac_cv_func__fmodl" = x""yes; then :
36677   cat >>confdefs.h <<_ACEOF
36678 #define HAVE__FMODL 1
36679 _ACEOF
36680
36681 fi
36682 done
36683
36684     fi
36685   fi
36686
36687
36688
36689
36690
36691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36692 $as_echo_n "checking for frexpl declaration... " >&6; }
36693   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36694     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36695   $as_echo_n "(cached) " >&6
36696 else
36697
36698
36699       ac_ext=cpp
36700 ac_cpp='$CXXCPP $CPPFLAGS'
36701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36704
36705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36706 /* end confdefs.h.  */
36707 #include <math.h>
36708 int
36709 main ()
36710 {
36711  frexpl(0, 0);
36712   ;
36713   return 0;
36714 }
36715 _ACEOF
36716 if ac_fn_cxx_try_compile "$LINENO"; then :
36717   glibcxx_cv_func_frexpl_use=yes
36718 else
36719   glibcxx_cv_func_frexpl_use=no
36720 fi
36721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36722       ac_ext=c
36723 ac_cpp='$CPP $CPPFLAGS'
36724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36727
36728
36729 fi
36730
36731   fi
36732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36733 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36734
36735   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36736     for ac_func in frexpl
36737 do :
36738   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36739 if test "x$ac_cv_func_frexpl" = x""yes; then :
36740   cat >>confdefs.h <<_ACEOF
36741 #define HAVE_FREXPL 1
36742 _ACEOF
36743
36744 fi
36745 done
36746
36747   else
36748
36749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36750 $as_echo_n "checking for _frexpl declaration... " >&6; }
36751   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36752     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36753   $as_echo_n "(cached) " >&6
36754 else
36755
36756
36757       ac_ext=cpp
36758 ac_cpp='$CXXCPP $CPPFLAGS'
36759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762
36763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36764 /* end confdefs.h.  */
36765 #include <math.h>
36766 int
36767 main ()
36768 {
36769  _frexpl(0, 0);
36770   ;
36771   return 0;
36772 }
36773 _ACEOF
36774 if ac_fn_cxx_try_compile "$LINENO"; then :
36775   glibcxx_cv_func__frexpl_use=yes
36776 else
36777   glibcxx_cv_func__frexpl_use=no
36778 fi
36779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36780       ac_ext=c
36781 ac_cpp='$CPP $CPPFLAGS'
36782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36785
36786
36787 fi
36788
36789   fi
36790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36791 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36792
36793     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36794       for ac_func in _frexpl
36795 do :
36796   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36797 if test "x$ac_cv_func__frexpl" = x""yes; then :
36798   cat >>confdefs.h <<_ACEOF
36799 #define HAVE__FREXPL 1
36800 _ACEOF
36801
36802 fi
36803 done
36804
36805     fi
36806   fi
36807
36808
36809
36810
36811
36812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36813 $as_echo_n "checking for hypotl declaration... " >&6; }
36814   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36815     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36816   $as_echo_n "(cached) " >&6
36817 else
36818
36819
36820       ac_ext=cpp
36821 ac_cpp='$CXXCPP $CPPFLAGS'
36822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36825
36826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36827 /* end confdefs.h.  */
36828 #include <math.h>
36829 int
36830 main ()
36831 {
36832  hypotl(0, 0);
36833   ;
36834   return 0;
36835 }
36836 _ACEOF
36837 if ac_fn_cxx_try_compile "$LINENO"; then :
36838   glibcxx_cv_func_hypotl_use=yes
36839 else
36840   glibcxx_cv_func_hypotl_use=no
36841 fi
36842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36843       ac_ext=c
36844 ac_cpp='$CPP $CPPFLAGS'
36845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36848
36849
36850 fi
36851
36852   fi
36853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36854 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36855
36856   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36857     for ac_func in hypotl
36858 do :
36859   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36860 if test "x$ac_cv_func_hypotl" = x""yes; then :
36861   cat >>confdefs.h <<_ACEOF
36862 #define HAVE_HYPOTL 1
36863 _ACEOF
36864
36865 fi
36866 done
36867
36868   else
36869
36870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36871 $as_echo_n "checking for _hypotl declaration... " >&6; }
36872   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36873     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36874   $as_echo_n "(cached) " >&6
36875 else
36876
36877
36878       ac_ext=cpp
36879 ac_cpp='$CXXCPP $CPPFLAGS'
36880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36883
36884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36885 /* end confdefs.h.  */
36886 #include <math.h>
36887 int
36888 main ()
36889 {
36890  _hypotl(0, 0);
36891   ;
36892   return 0;
36893 }
36894 _ACEOF
36895 if ac_fn_cxx_try_compile "$LINENO"; then :
36896   glibcxx_cv_func__hypotl_use=yes
36897 else
36898   glibcxx_cv_func__hypotl_use=no
36899 fi
36900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36901       ac_ext=c
36902 ac_cpp='$CPP $CPPFLAGS'
36903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36906
36907
36908 fi
36909
36910   fi
36911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36912 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36913
36914     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36915       for ac_func in _hypotl
36916 do :
36917   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36918 if test "x$ac_cv_func__hypotl" = x""yes; then :
36919   cat >>confdefs.h <<_ACEOF
36920 #define HAVE__HYPOTL 1
36921 _ACEOF
36922
36923 fi
36924 done
36925
36926     fi
36927   fi
36928
36929
36930
36931
36932
36933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36934 $as_echo_n "checking for ldexpl declaration... " >&6; }
36935   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36936     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36937   $as_echo_n "(cached) " >&6
36938 else
36939
36940
36941       ac_ext=cpp
36942 ac_cpp='$CXXCPP $CPPFLAGS'
36943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36946
36947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36948 /* end confdefs.h.  */
36949 #include <math.h>
36950 int
36951 main ()
36952 {
36953  ldexpl(0, 0);
36954   ;
36955   return 0;
36956 }
36957 _ACEOF
36958 if ac_fn_cxx_try_compile "$LINENO"; then :
36959   glibcxx_cv_func_ldexpl_use=yes
36960 else
36961   glibcxx_cv_func_ldexpl_use=no
36962 fi
36963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36964       ac_ext=c
36965 ac_cpp='$CPP $CPPFLAGS'
36966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36969
36970
36971 fi
36972
36973   fi
36974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36975 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36976
36977   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36978     for ac_func in ldexpl
36979 do :
36980   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36981 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36982   cat >>confdefs.h <<_ACEOF
36983 #define HAVE_LDEXPL 1
36984 _ACEOF
36985
36986 fi
36987 done
36988
36989   else
36990
36991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36992 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36993   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36994     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36995   $as_echo_n "(cached) " >&6
36996 else
36997
36998
36999       ac_ext=cpp
37000 ac_cpp='$CXXCPP $CPPFLAGS'
37001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37004
37005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37006 /* end confdefs.h.  */
37007 #include <math.h>
37008 int
37009 main ()
37010 {
37011  _ldexpl(0, 0);
37012   ;
37013   return 0;
37014 }
37015 _ACEOF
37016 if ac_fn_cxx_try_compile "$LINENO"; then :
37017   glibcxx_cv_func__ldexpl_use=yes
37018 else
37019   glibcxx_cv_func__ldexpl_use=no
37020 fi
37021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37022       ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37027
37028
37029 fi
37030
37031   fi
37032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37033 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37034
37035     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37036       for ac_func in _ldexpl
37037 do :
37038   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37039 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37040   cat >>confdefs.h <<_ACEOF
37041 #define HAVE__LDEXPL 1
37042 _ACEOF
37043
37044 fi
37045 done
37046
37047     fi
37048   fi
37049
37050
37051
37052
37053
37054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37055 $as_echo_n "checking for logl declaration... " >&6; }
37056   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37057     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37058   $as_echo_n "(cached) " >&6
37059 else
37060
37061
37062       ac_ext=cpp
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37067
37068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37069 /* end confdefs.h.  */
37070 #include <math.h>
37071                       #ifdef HAVE_IEEEFP_H
37072                       #include <ieeefp.h>
37073                       #endif
37074
37075 int
37076 main ()
37077 {
37078  logl(0);
37079   ;
37080   return 0;
37081 }
37082 _ACEOF
37083 if ac_fn_cxx_try_compile "$LINENO"; then :
37084   glibcxx_cv_func_logl_use=yes
37085 else
37086   glibcxx_cv_func_logl_use=no
37087 fi
37088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37089       ac_ext=c
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37094
37095
37096 fi
37097
37098   fi
37099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37100 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37101
37102   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37103     for ac_func in logl
37104 do :
37105   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37106 if test "x$ac_cv_func_logl" = x""yes; then :
37107   cat >>confdefs.h <<_ACEOF
37108 #define HAVE_LOGL 1
37109 _ACEOF
37110
37111 fi
37112 done
37113
37114   else
37115
37116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37117 $as_echo_n "checking for _logl declaration... " >&6; }
37118   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37119     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37120   $as_echo_n "(cached) " >&6
37121 else
37122
37123
37124       ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129
37130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h.  */
37132 #include <math.h>
37133                       #ifdef HAVE_IEEEFP_H
37134                       #include <ieeefp.h>
37135                       #endif
37136
37137 int
37138 main ()
37139 {
37140  _logl(0);
37141   ;
37142   return 0;
37143 }
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146   glibcxx_cv_func__logl_use=yes
37147 else
37148   glibcxx_cv_func__logl_use=no
37149 fi
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151       ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37156
37157
37158 fi
37159
37160   fi
37161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37162 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37163
37164     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37165       for ac_func in _logl
37166 do :
37167   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37168 if test "x$ac_cv_func__logl" = x""yes; then :
37169   cat >>confdefs.h <<_ACEOF
37170 #define HAVE__LOGL 1
37171 _ACEOF
37172
37173 fi
37174 done
37175
37176     fi
37177   fi
37178
37179
37180
37181
37182
37183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37184 $as_echo_n "checking for log10l declaration... " >&6; }
37185   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37186     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37187   $as_echo_n "(cached) " >&6
37188 else
37189
37190
37191       ac_ext=cpp
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37196
37197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h.  */
37199 #include <math.h>
37200                       #ifdef HAVE_IEEEFP_H
37201                       #include <ieeefp.h>
37202                       #endif
37203
37204 int
37205 main ()
37206 {
37207  log10l(0);
37208   ;
37209   return 0;
37210 }
37211 _ACEOF
37212 if ac_fn_cxx_try_compile "$LINENO"; then :
37213   glibcxx_cv_func_log10l_use=yes
37214 else
37215   glibcxx_cv_func_log10l_use=no
37216 fi
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218       ac_ext=c
37219 ac_cpp='$CPP $CPPFLAGS'
37220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37223
37224
37225 fi
37226
37227   fi
37228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37229 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37230
37231   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37232     for ac_func in log10l
37233 do :
37234   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37235 if test "x$ac_cv_func_log10l" = x""yes; then :
37236   cat >>confdefs.h <<_ACEOF
37237 #define HAVE_LOG10L 1
37238 _ACEOF
37239
37240 fi
37241 done
37242
37243   else
37244
37245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37246 $as_echo_n "checking for _log10l declaration... " >&6; }
37247   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37248     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37249   $as_echo_n "(cached) " >&6
37250 else
37251
37252
37253       ac_ext=cpp
37254 ac_cpp='$CXXCPP $CPPFLAGS'
37255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37258
37259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37260 /* end confdefs.h.  */
37261 #include <math.h>
37262                       #ifdef HAVE_IEEEFP_H
37263                       #include <ieeefp.h>
37264                       #endif
37265
37266 int
37267 main ()
37268 {
37269  _log10l(0);
37270   ;
37271   return 0;
37272 }
37273 _ACEOF
37274 if ac_fn_cxx_try_compile "$LINENO"; then :
37275   glibcxx_cv_func__log10l_use=yes
37276 else
37277   glibcxx_cv_func__log10l_use=no
37278 fi
37279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37280       ac_ext=c
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37285
37286
37287 fi
37288
37289   fi
37290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37291 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37292
37293     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37294       for ac_func in _log10l
37295 do :
37296   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37297 if test "x$ac_cv_func__log10l" = x""yes; then :
37298   cat >>confdefs.h <<_ACEOF
37299 #define HAVE__LOG10L 1
37300 _ACEOF
37301
37302 fi
37303 done
37304
37305     fi
37306   fi
37307
37308
37309
37310
37311
37312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37313 $as_echo_n "checking for modfl declaration... " >&6; }
37314   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37315     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37316   $as_echo_n "(cached) " >&6
37317 else
37318
37319
37320       ac_ext=cpp
37321 ac_cpp='$CXXCPP $CPPFLAGS'
37322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37325
37326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37327 /* end confdefs.h.  */
37328 #include <math.h>
37329 int
37330 main ()
37331 {
37332  modfl(0, 0);
37333   ;
37334   return 0;
37335 }
37336 _ACEOF
37337 if ac_fn_cxx_try_compile "$LINENO"; then :
37338   glibcxx_cv_func_modfl_use=yes
37339 else
37340   glibcxx_cv_func_modfl_use=no
37341 fi
37342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37343       ac_ext=c
37344 ac_cpp='$CPP $CPPFLAGS'
37345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37348
37349
37350 fi
37351
37352   fi
37353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37354 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37355
37356   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37357     for ac_func in modfl
37358 do :
37359   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37360 if test "x$ac_cv_func_modfl" = x""yes; then :
37361   cat >>confdefs.h <<_ACEOF
37362 #define HAVE_MODFL 1
37363 _ACEOF
37364
37365 fi
37366 done
37367
37368   else
37369
37370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37371 $as_echo_n "checking for _modfl declaration... " >&6; }
37372   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37373     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37374   $as_echo_n "(cached) " >&6
37375 else
37376
37377
37378       ac_ext=cpp
37379 ac_cpp='$CXXCPP $CPPFLAGS'
37380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37383
37384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h.  */
37386 #include <math.h>
37387 int
37388 main ()
37389 {
37390  _modfl(0, 0);
37391   ;
37392   return 0;
37393 }
37394 _ACEOF
37395 if ac_fn_cxx_try_compile "$LINENO"; then :
37396   glibcxx_cv_func__modfl_use=yes
37397 else
37398   glibcxx_cv_func__modfl_use=no
37399 fi
37400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37401       ac_ext=c
37402 ac_cpp='$CPP $CPPFLAGS'
37403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37406
37407
37408 fi
37409
37410   fi
37411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37412 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37413
37414     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37415       for ac_func in _modfl
37416 do :
37417   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37418 if test "x$ac_cv_func__modfl" = x""yes; then :
37419   cat >>confdefs.h <<_ACEOF
37420 #define HAVE__MODFL 1
37421 _ACEOF
37422
37423 fi
37424 done
37425
37426     fi
37427   fi
37428
37429
37430
37431
37432
37433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37434 $as_echo_n "checking for powl declaration... " >&6; }
37435   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37436     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37437   $as_echo_n "(cached) " >&6
37438 else
37439
37440
37441       ac_ext=cpp
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37446
37447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h.  */
37449 #include <math.h>
37450 int
37451 main ()
37452 {
37453  powl(0, 0);
37454   ;
37455   return 0;
37456 }
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459   glibcxx_cv_func_powl_use=yes
37460 else
37461   glibcxx_cv_func_powl_use=no
37462 fi
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464       ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37469
37470
37471 fi
37472
37473   fi
37474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37475 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37476
37477   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37478     for ac_func in powl
37479 do :
37480   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37481 if test "x$ac_cv_func_powl" = x""yes; then :
37482   cat >>confdefs.h <<_ACEOF
37483 #define HAVE_POWL 1
37484 _ACEOF
37485
37486 fi
37487 done
37488
37489   else
37490
37491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37492 $as_echo_n "checking for _powl declaration... " >&6; }
37493   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37494     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37495   $as_echo_n "(cached) " >&6
37496 else
37497
37498
37499       ac_ext=cpp
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504
37505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h.  */
37507 #include <math.h>
37508 int
37509 main ()
37510 {
37511  _powl(0, 0);
37512   ;
37513   return 0;
37514 }
37515 _ACEOF
37516 if ac_fn_cxx_try_compile "$LINENO"; then :
37517   glibcxx_cv_func__powl_use=yes
37518 else
37519   glibcxx_cv_func__powl_use=no
37520 fi
37521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37522       ac_ext=c
37523 ac_cpp='$CPP $CPPFLAGS'
37524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37527
37528
37529 fi
37530
37531   fi
37532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37533 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37534
37535     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37536       for ac_func in _powl
37537 do :
37538   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37539 if test "x$ac_cv_func__powl" = x""yes; then :
37540   cat >>confdefs.h <<_ACEOF
37541 #define HAVE__POWL 1
37542 _ACEOF
37543
37544 fi
37545 done
37546
37547     fi
37548   fi
37549
37550
37551
37552
37553
37554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37555 $as_echo_n "checking for sqrtl declaration... " >&6; }
37556   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37557     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37558   $as_echo_n "(cached) " >&6
37559 else
37560
37561
37562       ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37567
37568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h.  */
37570 #include <math.h>
37571                       #ifdef HAVE_IEEEFP_H
37572                       #include <ieeefp.h>
37573                       #endif
37574
37575 int
37576 main ()
37577 {
37578  sqrtl(0);
37579   ;
37580   return 0;
37581 }
37582 _ACEOF
37583 if ac_fn_cxx_try_compile "$LINENO"; then :
37584   glibcxx_cv_func_sqrtl_use=yes
37585 else
37586   glibcxx_cv_func_sqrtl_use=no
37587 fi
37588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37589       ac_ext=c
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37594
37595
37596 fi
37597
37598   fi
37599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37600 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37601
37602   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37603     for ac_func in sqrtl
37604 do :
37605   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37606 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37607   cat >>confdefs.h <<_ACEOF
37608 #define HAVE_SQRTL 1
37609 _ACEOF
37610
37611 fi
37612 done
37613
37614   else
37615
37616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37617 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37618   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37619     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37620   $as_echo_n "(cached) " >&6
37621 else
37622
37623
37624       ac_ext=cpp
37625 ac_cpp='$CXXCPP $CPPFLAGS'
37626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37629
37630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37631 /* end confdefs.h.  */
37632 #include <math.h>
37633                       #ifdef HAVE_IEEEFP_H
37634                       #include <ieeefp.h>
37635                       #endif
37636
37637 int
37638 main ()
37639 {
37640  _sqrtl(0);
37641   ;
37642   return 0;
37643 }
37644 _ACEOF
37645 if ac_fn_cxx_try_compile "$LINENO"; then :
37646   glibcxx_cv_func__sqrtl_use=yes
37647 else
37648   glibcxx_cv_func__sqrtl_use=no
37649 fi
37650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37651       ac_ext=c
37652 ac_cpp='$CPP $CPPFLAGS'
37653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37656
37657
37658 fi
37659
37660   fi
37661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37662 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37663
37664     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37665       for ac_func in _sqrtl
37666 do :
37667   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37668 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37669   cat >>confdefs.h <<_ACEOF
37670 #define HAVE__SQRTL 1
37671 _ACEOF
37672
37673 fi
37674 done
37675
37676     fi
37677   fi
37678
37679
37680
37681
37682
37683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37684 $as_echo_n "checking for sincosl declaration... " >&6; }
37685   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37686     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37687   $as_echo_n "(cached) " >&6
37688 else
37689
37690
37691       ac_ext=cpp
37692 ac_cpp='$CXXCPP $CPPFLAGS'
37693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37696
37697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37698 /* end confdefs.h.  */
37699 #include <math.h>
37700 int
37701 main ()
37702 {
37703  sincosl(0, 0, 0);
37704   ;
37705   return 0;
37706 }
37707 _ACEOF
37708 if ac_fn_cxx_try_compile "$LINENO"; then :
37709   glibcxx_cv_func_sincosl_use=yes
37710 else
37711   glibcxx_cv_func_sincosl_use=no
37712 fi
37713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37714       ac_ext=c
37715 ac_cpp='$CPP $CPPFLAGS'
37716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37719
37720
37721 fi
37722
37723   fi
37724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37725 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37726
37727   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37728     for ac_func in sincosl
37729 do :
37730   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37731 if test "x$ac_cv_func_sincosl" = x""yes; then :
37732   cat >>confdefs.h <<_ACEOF
37733 #define HAVE_SINCOSL 1
37734 _ACEOF
37735
37736 fi
37737 done
37738
37739   else
37740
37741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37742 $as_echo_n "checking for _sincosl declaration... " >&6; }
37743   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37744     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37745   $as_echo_n "(cached) " >&6
37746 else
37747
37748
37749       ac_ext=cpp
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37754
37755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h.  */
37757 #include <math.h>
37758 int
37759 main ()
37760 {
37761  _sincosl(0, 0, 0);
37762   ;
37763   return 0;
37764 }
37765 _ACEOF
37766 if ac_fn_cxx_try_compile "$LINENO"; then :
37767   glibcxx_cv_func__sincosl_use=yes
37768 else
37769   glibcxx_cv_func__sincosl_use=no
37770 fi
37771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37772       ac_ext=c
37773 ac_cpp='$CPP $CPPFLAGS'
37774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37777
37778
37779 fi
37780
37781   fi
37782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37783 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37784
37785     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37786       for ac_func in _sincosl
37787 do :
37788   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37789 if test "x$ac_cv_func__sincosl" = x""yes; then :
37790   cat >>confdefs.h <<_ACEOF
37791 #define HAVE__SINCOSL 1
37792 _ACEOF
37793
37794 fi
37795 done
37796
37797     fi
37798   fi
37799
37800
37801
37802
37803
37804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37805 $as_echo_n "checking for finitel declaration... " >&6; }
37806   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37807     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37808   $as_echo_n "(cached) " >&6
37809 else
37810
37811
37812       ac_ext=cpp
37813 ac_cpp='$CXXCPP $CPPFLAGS'
37814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37817
37818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37819 /* end confdefs.h.  */
37820 #include <math.h>
37821                       #ifdef HAVE_IEEEFP_H
37822                       #include <ieeefp.h>
37823                       #endif
37824
37825 int
37826 main ()
37827 {
37828  finitel(0);
37829   ;
37830   return 0;
37831 }
37832 _ACEOF
37833 if ac_fn_cxx_try_compile "$LINENO"; then :
37834   glibcxx_cv_func_finitel_use=yes
37835 else
37836   glibcxx_cv_func_finitel_use=no
37837 fi
37838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37839       ac_ext=c
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37844
37845
37846 fi
37847
37848   fi
37849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37850 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37851
37852   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37853     for ac_func in finitel
37854 do :
37855   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37856 if test "x$ac_cv_func_finitel" = x""yes; then :
37857   cat >>confdefs.h <<_ACEOF
37858 #define HAVE_FINITEL 1
37859 _ACEOF
37860
37861 fi
37862 done
37863
37864   else
37865
37866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37867 $as_echo_n "checking for _finitel declaration... " >&6; }
37868   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37869     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37870   $as_echo_n "(cached) " >&6
37871 else
37872
37873
37874       ac_ext=cpp
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37879
37880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37881 /* end confdefs.h.  */
37882 #include <math.h>
37883                       #ifdef HAVE_IEEEFP_H
37884                       #include <ieeefp.h>
37885                       #endif
37886
37887 int
37888 main ()
37889 {
37890  _finitel(0);
37891   ;
37892   return 0;
37893 }
37894 _ACEOF
37895 if ac_fn_cxx_try_compile "$LINENO"; then :
37896   glibcxx_cv_func__finitel_use=yes
37897 else
37898   glibcxx_cv_func__finitel_use=no
37899 fi
37900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37901       ac_ext=c
37902 ac_cpp='$CPP $CPPFLAGS'
37903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37906
37907
37908 fi
37909
37910   fi
37911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37912 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37913
37914     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37915       for ac_func in _finitel
37916 do :
37917   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37918 if test "x$ac_cv_func__finitel" = x""yes; then :
37919   cat >>confdefs.h <<_ACEOF
37920 #define HAVE__FINITEL 1
37921 _ACEOF
37922
37923 fi
37924 done
37925
37926     fi
37927   fi
37928
37929
37930
37931
37932   LIBS="$ac_save_LIBS"
37933   CXXFLAGS="$ac_save_CXXFLAGS"
37934
37935
37936   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37937   ac_save_CXXFLAGS="$CXXFLAGS"
37938   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37939
37940
37941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37942 $as_echo_n "checking for strtold declaration... " >&6; }
37943   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37944     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37945   $as_echo_n "(cached) " >&6
37946 else
37947
37948
37949       ac_ext=cpp
37950 ac_cpp='$CXXCPP $CPPFLAGS'
37951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37954
37955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37956 /* end confdefs.h.  */
37957 #include <stdlib.h>
37958 int
37959 main ()
37960 {
37961  strtold(0, 0);
37962   ;
37963   return 0;
37964 }
37965 _ACEOF
37966 if ac_fn_cxx_try_compile "$LINENO"; then :
37967   glibcxx_cv_func_strtold_use=yes
37968 else
37969   glibcxx_cv_func_strtold_use=no
37970 fi
37971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37972       ac_ext=c
37973 ac_cpp='$CPP $CPPFLAGS'
37974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37977
37978
37979 fi
37980
37981   fi
37982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37983 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37984   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37985     for ac_func in strtold
37986 do :
37987   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37988 if test "x$ac_cv_func_strtold" = x""yes; then :
37989   cat >>confdefs.h <<_ACEOF
37990 #define HAVE_STRTOLD 1
37991 _ACEOF
37992
37993 fi
37994 done
37995
37996   fi
37997
37998
37999
38000
38001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38002 $as_echo_n "checking for strtof declaration... " >&6; }
38003   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38004     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38005   $as_echo_n "(cached) " >&6
38006 else
38007
38008
38009       ac_ext=cpp
38010 ac_cpp='$CXXCPP $CPPFLAGS'
38011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014
38015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38016 /* end confdefs.h.  */
38017 #include <stdlib.h>
38018 int
38019 main ()
38020 {
38021  strtof(0, 0);
38022   ;
38023   return 0;
38024 }
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027   glibcxx_cv_func_strtof_use=yes
38028 else
38029   glibcxx_cv_func_strtof_use=no
38030 fi
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032       ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037
38038
38039 fi
38040
38041   fi
38042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38043 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38044   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38045     for ac_func in strtof
38046 do :
38047   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38048 if test "x$ac_cv_func_strtof" = x""yes; then :
38049   cat >>confdefs.h <<_ACEOF
38050 #define HAVE_STRTOF 1
38051 _ACEOF
38052
38053 fi
38054 done
38055
38056   fi
38057
38058
38059
38060
38061   CXXFLAGS="$ac_save_CXXFLAGS"
38062
38063     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38064
38065     # We don't yet support AIX's TLS ABI.
38066     #GCC_CHECK_TLS
38067
38068
38069
38070
38071
38072           am_save_CPPFLAGS="$CPPFLAGS"
38073
38074   for element in $INCICONV; do
38075     haveit=
38076     for x in $CPPFLAGS; do
38077
38078   acl_save_prefix="$prefix"
38079   prefix="$acl_final_prefix"
38080   acl_save_exec_prefix="$exec_prefix"
38081   exec_prefix="$acl_final_exec_prefix"
38082   eval x=\"$x\"
38083   exec_prefix="$acl_save_exec_prefix"
38084   prefix="$acl_save_prefix"
38085
38086       if test "X$x" = "X$element"; then
38087         haveit=yes
38088         break
38089       fi
38090     done
38091     if test -z "$haveit"; then
38092       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38093     fi
38094   done
38095
38096
38097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38098 $as_echo_n "checking for iconv... " >&6; }
38099 if test "${am_cv_func_iconv+set}" = set; then :
38100   $as_echo_n "(cached) " >&6
38101 else
38102
38103     am_cv_func_iconv="no, consider installing GNU libiconv"
38104     am_cv_lib_iconv=no
38105     if test x$gcc_no_link = xyes; then
38106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38107 fi
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h.  */
38110 #include <stdlib.h>
38111 #include <iconv.h>
38112 int
38113 main ()
38114 {
38115 iconv_t cd = iconv_open("","");
38116        iconv(cd,NULL,NULL,NULL,NULL);
38117        iconv_close(cd);
38118   ;
38119   return 0;
38120 }
38121 _ACEOF
38122 if ac_fn_c_try_link "$LINENO"; then :
38123   am_cv_func_iconv=yes
38124 fi
38125 rm -f core conftest.err conftest.$ac_objext \
38126     conftest$ac_exeext conftest.$ac_ext
38127     if test "$am_cv_func_iconv" != yes; then
38128       am_save_LIBS="$LIBS"
38129       LIBS="$LIBS $LIBICONV"
38130       if test x$gcc_no_link = xyes; then
38131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38132 fi
38133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38134 /* end confdefs.h.  */
38135 #include <stdlib.h>
38136 #include <iconv.h>
38137 int
38138 main ()
38139 {
38140 iconv_t cd = iconv_open("","");
38141          iconv(cd,NULL,NULL,NULL,NULL);
38142          iconv_close(cd);
38143   ;
38144   return 0;
38145 }
38146 _ACEOF
38147 if ac_fn_c_try_link "$LINENO"; then :
38148   am_cv_lib_iconv=yes
38149         am_cv_func_iconv=yes
38150 fi
38151 rm -f core conftest.err conftest.$ac_objext \
38152     conftest$ac_exeext conftest.$ac_ext
38153       LIBS="$am_save_LIBS"
38154     fi
38155
38156 fi
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38158 $as_echo "$am_cv_func_iconv" >&6; }
38159   if test "$am_cv_func_iconv" = yes; then
38160
38161 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38162
38163   fi
38164   if test "$am_cv_lib_iconv" = yes; then
38165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38166 $as_echo_n "checking how to link with libiconv... " >&6; }
38167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38168 $as_echo "$LIBICONV" >&6; }
38169   else
38170             CPPFLAGS="$am_save_CPPFLAGS"
38171     LIBICONV=
38172     LTLIBICONV=
38173   fi
38174
38175
38176
38177   if test "$am_cv_func_iconv" = yes; then
38178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38179 $as_echo_n "checking for iconv declaration... " >&6; }
38180     if test "${am_cv_proto_iconv+set}" = set; then :
38181   $as_echo_n "(cached) " >&6
38182 else
38183
38184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38185 /* end confdefs.h.  */
38186
38187 #include <stdlib.h>
38188 #include <iconv.h>
38189 extern
38190 #ifdef __cplusplus
38191 "C"
38192 #endif
38193 #if defined(__STDC__) || defined(__cplusplus)
38194 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38195 #else
38196 size_t iconv();
38197 #endif
38198
38199 int
38200 main ()
38201 {
38202
38203   ;
38204   return 0;
38205 }
38206 _ACEOF
38207 if ac_fn_c_try_compile "$LINENO"; then :
38208   am_cv_proto_iconv_arg1=""
38209 else
38210   am_cv_proto_iconv_arg1="const"
38211 fi
38212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38213       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);"
38214 fi
38215
38216     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38218          }$am_cv_proto_iconv" >&5
38219 $as_echo "${ac_t:-
38220          }$am_cv_proto_iconv" >&6; }
38221
38222 cat >>confdefs.h <<_ACEOF
38223 #define ICONV_CONST $am_cv_proto_iconv_arg1
38224 _ACEOF
38225
38226   fi
38227
38228     ;;
38229
38230   *-darwin*)
38231     # Darwin versions vary, but the linker should work in a cross environment,
38232     # so we just check for all the features here.
38233     # Check for available headers.
38234
38235     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38236
38237   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38238   ac_save_CXXFLAGS="$CXXFLAGS"
38239   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38240
38241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38242 $as_echo_n "checking for sin in -lm... " >&6; }
38243 if test "${ac_cv_lib_m_sin+set}" = set; then :
38244   $as_echo_n "(cached) " >&6
38245 else
38246   ac_check_lib_save_LIBS=$LIBS
38247 LIBS="-lm  $LIBS"
38248 if test x$gcc_no_link = xyes; then
38249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38250 fi
38251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38252 /* end confdefs.h.  */
38253
38254 /* Override any GCC internal prototype to avoid an error.
38255    Use char because int might match the return type of a GCC
38256    builtin and then its argument prototype would still apply.  */
38257 #ifdef __cplusplus
38258 extern "C"
38259 #endif
38260 char sin ();
38261 int
38262 main ()
38263 {
38264 return sin ();
38265   ;
38266   return 0;
38267 }
38268 _ACEOF
38269 if ac_fn_c_try_link "$LINENO"; then :
38270   ac_cv_lib_m_sin=yes
38271 else
38272   ac_cv_lib_m_sin=no
38273 fi
38274 rm -f core conftest.err conftest.$ac_objext \
38275     conftest$ac_exeext conftest.$ac_ext
38276 LIBS=$ac_check_lib_save_LIBS
38277 fi
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38279 $as_echo "$ac_cv_lib_m_sin" >&6; }
38280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38281   libm="-lm"
38282 fi
38283
38284   ac_save_LIBS="$LIBS"
38285   LIBS="$LIBS $libm"
38286
38287
38288
38289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38290 $as_echo_n "checking for isinf declaration... " >&6; }
38291   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38292     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38293   $as_echo_n "(cached) " >&6
38294 else
38295
38296
38297       ac_ext=cpp
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38302
38303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38304 /* end confdefs.h.  */
38305 #include <math.h>
38306                       #ifdef HAVE_IEEEFP_H
38307                       #include <ieeefp.h>
38308                       #endif
38309
38310 int
38311 main ()
38312 {
38313  isinf(0);
38314   ;
38315   return 0;
38316 }
38317 _ACEOF
38318 if ac_fn_cxx_try_compile "$LINENO"; then :
38319   glibcxx_cv_func_isinf_use=yes
38320 else
38321   glibcxx_cv_func_isinf_use=no
38322 fi
38323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38324       ac_ext=c
38325 ac_cpp='$CPP $CPPFLAGS'
38326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38329
38330
38331 fi
38332
38333   fi
38334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38336
38337   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38338     for ac_func in isinf
38339 do :
38340   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38341 if test "x$ac_cv_func_isinf" = x""yes; then :
38342   cat >>confdefs.h <<_ACEOF
38343 #define HAVE_ISINF 1
38344 _ACEOF
38345
38346 fi
38347 done
38348
38349   else
38350
38351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38352 $as_echo_n "checking for _isinf declaration... " >&6; }
38353   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38354     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38355   $as_echo_n "(cached) " >&6
38356 else
38357
38358
38359       ac_ext=cpp
38360 ac_cpp='$CXXCPP $CPPFLAGS'
38361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38364
38365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38366 /* end confdefs.h.  */
38367 #include <math.h>
38368                       #ifdef HAVE_IEEEFP_H
38369                       #include <ieeefp.h>
38370                       #endif
38371
38372 int
38373 main ()
38374 {
38375  _isinf(0);
38376   ;
38377   return 0;
38378 }
38379 _ACEOF
38380 if ac_fn_cxx_try_compile "$LINENO"; then :
38381   glibcxx_cv_func__isinf_use=yes
38382 else
38383   glibcxx_cv_func__isinf_use=no
38384 fi
38385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38386       ac_ext=c
38387 ac_cpp='$CPP $CPPFLAGS'
38388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38391
38392
38393 fi
38394
38395   fi
38396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38398
38399     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38400       for ac_func in _isinf
38401 do :
38402   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38403 if test "x$ac_cv_func__isinf" = x""yes; then :
38404   cat >>confdefs.h <<_ACEOF
38405 #define HAVE__ISINF 1
38406 _ACEOF
38407
38408 fi
38409 done
38410
38411     fi
38412   fi
38413
38414
38415
38416
38417
38418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38419 $as_echo_n "checking for isnan declaration... " >&6; }
38420   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38421     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38422   $as_echo_n "(cached) " >&6
38423 else
38424
38425
38426       ac_ext=cpp
38427 ac_cpp='$CXXCPP $CPPFLAGS'
38428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431
38432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38433 /* end confdefs.h.  */
38434 #include <math.h>
38435                       #ifdef HAVE_IEEEFP_H
38436                       #include <ieeefp.h>
38437                       #endif
38438
38439 int
38440 main ()
38441 {
38442  isnan(0);
38443   ;
38444   return 0;
38445 }
38446 _ACEOF
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448   glibcxx_cv_func_isnan_use=yes
38449 else
38450   glibcxx_cv_func_isnan_use=no
38451 fi
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453       ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38458
38459
38460 fi
38461
38462   fi
38463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38465
38466   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38467     for ac_func in isnan
38468 do :
38469   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38470 if test "x$ac_cv_func_isnan" = x""yes; then :
38471   cat >>confdefs.h <<_ACEOF
38472 #define HAVE_ISNAN 1
38473 _ACEOF
38474
38475 fi
38476 done
38477
38478   else
38479
38480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38481 $as_echo_n "checking for _isnan declaration... " >&6; }
38482   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38483     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38484   $as_echo_n "(cached) " >&6
38485 else
38486
38487
38488       ac_ext=cpp
38489 ac_cpp='$CXXCPP $CPPFLAGS'
38490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38493
38494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38495 /* end confdefs.h.  */
38496 #include <math.h>
38497                       #ifdef HAVE_IEEEFP_H
38498                       #include <ieeefp.h>
38499                       #endif
38500
38501 int
38502 main ()
38503 {
38504  _isnan(0);
38505   ;
38506   return 0;
38507 }
38508 _ACEOF
38509 if ac_fn_cxx_try_compile "$LINENO"; then :
38510   glibcxx_cv_func__isnan_use=yes
38511 else
38512   glibcxx_cv_func__isnan_use=no
38513 fi
38514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38515       ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38520
38521
38522 fi
38523
38524   fi
38525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38527
38528     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38529       for ac_func in _isnan
38530 do :
38531   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38532 if test "x$ac_cv_func__isnan" = x""yes; then :
38533   cat >>confdefs.h <<_ACEOF
38534 #define HAVE__ISNAN 1
38535 _ACEOF
38536
38537 fi
38538 done
38539
38540     fi
38541   fi
38542
38543
38544
38545
38546
38547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38548 $as_echo_n "checking for finite declaration... " >&6; }
38549   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38550     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38551   $as_echo_n "(cached) " >&6
38552 else
38553
38554
38555       ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560
38561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h.  */
38563 #include <math.h>
38564                       #ifdef HAVE_IEEEFP_H
38565                       #include <ieeefp.h>
38566                       #endif
38567
38568 int
38569 main ()
38570 {
38571  finite(0);
38572   ;
38573   return 0;
38574 }
38575 _ACEOF
38576 if ac_fn_cxx_try_compile "$LINENO"; then :
38577   glibcxx_cv_func_finite_use=yes
38578 else
38579   glibcxx_cv_func_finite_use=no
38580 fi
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38582       ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587
38588
38589 fi
38590
38591   fi
38592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38594
38595   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38596     for ac_func in finite
38597 do :
38598   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38599 if test "x$ac_cv_func_finite" = x""yes; then :
38600   cat >>confdefs.h <<_ACEOF
38601 #define HAVE_FINITE 1
38602 _ACEOF
38603
38604 fi
38605 done
38606
38607   else
38608
38609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38610 $as_echo_n "checking for _finite declaration... " >&6; }
38611   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38612     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38613   $as_echo_n "(cached) " >&6
38614 else
38615
38616
38617       ac_ext=cpp
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38622
38623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 /* end confdefs.h.  */
38625 #include <math.h>
38626                       #ifdef HAVE_IEEEFP_H
38627                       #include <ieeefp.h>
38628                       #endif
38629
38630 int
38631 main ()
38632 {
38633  _finite(0);
38634   ;
38635   return 0;
38636 }
38637 _ACEOF
38638 if ac_fn_cxx_try_compile "$LINENO"; then :
38639   glibcxx_cv_func__finite_use=yes
38640 else
38641   glibcxx_cv_func__finite_use=no
38642 fi
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38644       ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38649
38650
38651 fi
38652
38653   fi
38654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38656
38657     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38658       for ac_func in _finite
38659 do :
38660   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38661 if test "x$ac_cv_func__finite" = x""yes; then :
38662   cat >>confdefs.h <<_ACEOF
38663 #define HAVE__FINITE 1
38664 _ACEOF
38665
38666 fi
38667 done
38668
38669     fi
38670   fi
38671
38672
38673
38674
38675
38676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38677 $as_echo_n "checking for sincos declaration... " >&6; }
38678   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38679     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38680   $as_echo_n "(cached) " >&6
38681 else
38682
38683
38684       ac_ext=cpp
38685 ac_cpp='$CXXCPP $CPPFLAGS'
38686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689
38690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 /* end confdefs.h.  */
38692 #include <math.h>
38693 int
38694 main ()
38695 {
38696  sincos(0, 0, 0);
38697   ;
38698   return 0;
38699 }
38700 _ACEOF
38701 if ac_fn_cxx_try_compile "$LINENO"; then :
38702   glibcxx_cv_func_sincos_use=yes
38703 else
38704   glibcxx_cv_func_sincos_use=no
38705 fi
38706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38707       ac_ext=c
38708 ac_cpp='$CPP $CPPFLAGS'
38709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712
38713
38714 fi
38715
38716   fi
38717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38719
38720   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38721     for ac_func in sincos
38722 do :
38723   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38724 if test "x$ac_cv_func_sincos" = x""yes; then :
38725   cat >>confdefs.h <<_ACEOF
38726 #define HAVE_SINCOS 1
38727 _ACEOF
38728
38729 fi
38730 done
38731
38732   else
38733
38734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38735 $as_echo_n "checking for _sincos declaration... " >&6; }
38736   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38737     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38738   $as_echo_n "(cached) " >&6
38739 else
38740
38741
38742       ac_ext=cpp
38743 ac_cpp='$CXXCPP $CPPFLAGS'
38744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38747
38748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38749 /* end confdefs.h.  */
38750 #include <math.h>
38751 int
38752 main ()
38753 {
38754  _sincos(0, 0, 0);
38755   ;
38756   return 0;
38757 }
38758 _ACEOF
38759 if ac_fn_cxx_try_compile "$LINENO"; then :
38760   glibcxx_cv_func__sincos_use=yes
38761 else
38762   glibcxx_cv_func__sincos_use=no
38763 fi
38764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38765       ac_ext=c
38766 ac_cpp='$CPP $CPPFLAGS'
38767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38770
38771
38772 fi
38773
38774   fi
38775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38777
38778     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38779       for ac_func in _sincos
38780 do :
38781   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38782 if test "x$ac_cv_func__sincos" = x""yes; then :
38783   cat >>confdefs.h <<_ACEOF
38784 #define HAVE__SINCOS 1
38785 _ACEOF
38786
38787 fi
38788 done
38789
38790     fi
38791   fi
38792
38793
38794
38795
38796
38797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38798 $as_echo_n "checking for fpclass declaration... " >&6; }
38799   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38800     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38801   $as_echo_n "(cached) " >&6
38802 else
38803
38804
38805       ac_ext=cpp
38806 ac_cpp='$CXXCPP $CPPFLAGS'
38807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810
38811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38812 /* end confdefs.h.  */
38813 #include <math.h>
38814                       #ifdef HAVE_IEEEFP_H
38815                       #include <ieeefp.h>
38816                       #endif
38817
38818 int
38819 main ()
38820 {
38821  fpclass(0);
38822   ;
38823   return 0;
38824 }
38825 _ACEOF
38826 if ac_fn_cxx_try_compile "$LINENO"; then :
38827   glibcxx_cv_func_fpclass_use=yes
38828 else
38829   glibcxx_cv_func_fpclass_use=no
38830 fi
38831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38832       ac_ext=c
38833 ac_cpp='$CPP $CPPFLAGS'
38834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38837
38838
38839 fi
38840
38841   fi
38842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38844
38845   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38846     for ac_func in fpclass
38847 do :
38848   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38849 if test "x$ac_cv_func_fpclass" = x""yes; then :
38850   cat >>confdefs.h <<_ACEOF
38851 #define HAVE_FPCLASS 1
38852 _ACEOF
38853
38854 fi
38855 done
38856
38857   else
38858
38859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38860 $as_echo_n "checking for _fpclass declaration... " >&6; }
38861   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38862     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38863   $as_echo_n "(cached) " >&6
38864 else
38865
38866
38867       ac_ext=cpp
38868 ac_cpp='$CXXCPP $CPPFLAGS'
38869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38872
38873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38874 /* end confdefs.h.  */
38875 #include <math.h>
38876                       #ifdef HAVE_IEEEFP_H
38877                       #include <ieeefp.h>
38878                       #endif
38879
38880 int
38881 main ()
38882 {
38883  _fpclass(0);
38884   ;
38885   return 0;
38886 }
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889   glibcxx_cv_func__fpclass_use=yes
38890 else
38891   glibcxx_cv_func__fpclass_use=no
38892 fi
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894       ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900
38901 fi
38902
38903   fi
38904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38906
38907     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38908       for ac_func in _fpclass
38909 do :
38910   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38911 if test "x$ac_cv_func__fpclass" = x""yes; then :
38912   cat >>confdefs.h <<_ACEOF
38913 #define HAVE__FPCLASS 1
38914 _ACEOF
38915
38916 fi
38917 done
38918
38919     fi
38920   fi
38921
38922
38923
38924
38925
38926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38927 $as_echo_n "checking for qfpclass declaration... " >&6; }
38928   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38929     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38930   $as_echo_n "(cached) " >&6
38931 else
38932
38933
38934       ac_ext=cpp
38935 ac_cpp='$CXXCPP $CPPFLAGS'
38936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38939
38940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38941 /* end confdefs.h.  */
38942 #include <math.h>
38943                       #ifdef HAVE_IEEEFP_H
38944                       #include <ieeefp.h>
38945                       #endif
38946
38947 int
38948 main ()
38949 {
38950  qfpclass(0);
38951   ;
38952   return 0;
38953 }
38954 _ACEOF
38955 if ac_fn_cxx_try_compile "$LINENO"; then :
38956   glibcxx_cv_func_qfpclass_use=yes
38957 else
38958   glibcxx_cv_func_qfpclass_use=no
38959 fi
38960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38961       ac_ext=c
38962 ac_cpp='$CPP $CPPFLAGS'
38963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38966
38967
38968 fi
38969
38970   fi
38971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38973
38974   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38975     for ac_func in qfpclass
38976 do :
38977   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38979   cat >>confdefs.h <<_ACEOF
38980 #define HAVE_QFPCLASS 1
38981 _ACEOF
38982
38983 fi
38984 done
38985
38986   else
38987
38988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38990   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38991     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38992   $as_echo_n "(cached) " >&6
38993 else
38994
38995
38996       ac_ext=cpp
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39001
39002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39003 /* end confdefs.h.  */
39004 #include <math.h>
39005                       #ifdef HAVE_IEEEFP_H
39006                       #include <ieeefp.h>
39007                       #endif
39008
39009 int
39010 main ()
39011 {
39012  _qfpclass(0);
39013   ;
39014   return 0;
39015 }
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018   glibcxx_cv_func__qfpclass_use=yes
39019 else
39020   glibcxx_cv_func__qfpclass_use=no
39021 fi
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023       ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028
39029
39030 fi
39031
39032   fi
39033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39035
39036     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39037       for ac_func in _qfpclass
39038 do :
39039   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39041   cat >>confdefs.h <<_ACEOF
39042 #define HAVE__QFPCLASS 1
39043 _ACEOF
39044
39045 fi
39046 done
39047
39048     fi
39049   fi
39050
39051
39052
39053
39054
39055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39056 $as_echo_n "checking for hypot declaration... " >&6; }
39057   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39058     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39059   $as_echo_n "(cached) " >&6
39060 else
39061
39062
39063       ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068
39069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h.  */
39071 #include <math.h>
39072 int
39073 main ()
39074 {
39075  hypot(0, 0);
39076   ;
39077   return 0;
39078 }
39079 _ACEOF
39080 if ac_fn_cxx_try_compile "$LINENO"; then :
39081   glibcxx_cv_func_hypot_use=yes
39082 else
39083   glibcxx_cv_func_hypot_use=no
39084 fi
39085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39086       ac_ext=c
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091
39092
39093 fi
39094
39095   fi
39096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39098
39099   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39100     for ac_func in hypot
39101 do :
39102   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39103 if test "x$ac_cv_func_hypot" = x""yes; then :
39104   cat >>confdefs.h <<_ACEOF
39105 #define HAVE_HYPOT 1
39106 _ACEOF
39107
39108 fi
39109 done
39110
39111   else
39112
39113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39114 $as_echo_n "checking for _hypot declaration... " >&6; }
39115   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39116     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39117   $as_echo_n "(cached) " >&6
39118 else
39119
39120
39121       ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39126
39127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h.  */
39129 #include <math.h>
39130 int
39131 main ()
39132 {
39133  _hypot(0, 0);
39134   ;
39135   return 0;
39136 }
39137 _ACEOF
39138 if ac_fn_cxx_try_compile "$LINENO"; then :
39139   glibcxx_cv_func__hypot_use=yes
39140 else
39141   glibcxx_cv_func__hypot_use=no
39142 fi
39143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39144       ac_ext=c
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39149
39150
39151 fi
39152
39153   fi
39154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39156
39157     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39158       for ac_func in _hypot
39159 do :
39160   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39161 if test "x$ac_cv_func__hypot" = x""yes; then :
39162   cat >>confdefs.h <<_ACEOF
39163 #define HAVE__HYPOT 1
39164 _ACEOF
39165
39166 fi
39167 done
39168
39169     fi
39170   fi
39171
39172
39173
39174
39175
39176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39177 $as_echo_n "checking for float trig functions... " >&6; }
39178   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39179   $as_echo_n "(cached) " >&6
39180 else
39181
39182
39183     ac_ext=cpp
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39188
39189     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 /* end confdefs.h.  */
39191 #include <math.h>
39192 int
39193 main ()
39194 {
39195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39196   ;
39197   return 0;
39198 }
39199 _ACEOF
39200 if ac_fn_cxx_try_compile "$LINENO"; then :
39201   glibcxx_cv_func_float_trig_use=yes
39202 else
39203   glibcxx_cv_func_float_trig_use=no
39204 fi
39205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39206     ac_ext=c
39207 ac_cpp='$CPP $CPPFLAGS'
39208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39211
39212 fi
39213
39214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39216   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39217     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39218 do :
39219   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39221 eval as_val=\$$as_ac_var
39222    if test "x$as_val" = x""yes; then :
39223   cat >>confdefs.h <<_ACEOF
39224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39225 _ACEOF
39226
39227 fi
39228 done
39229
39230   else
39231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39232 $as_echo_n "checking for _float trig functions... " >&6; }
39233     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39234   $as_echo_n "(cached) " >&6
39235 else
39236
39237
39238       ac_ext=cpp
39239 ac_cpp='$CXXCPP $CPPFLAGS'
39240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243
39244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39245 /* end confdefs.h.  */
39246 #include <math.h>
39247 int
39248 main ()
39249 {
39250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39251   ;
39252   return 0;
39253 }
39254 _ACEOF
39255 if ac_fn_cxx_try_compile "$LINENO"; then :
39256   glibcxx_cv_func__float_trig_use=yes
39257 else
39258   glibcxx_cv_func__float_trig_use=no
39259 fi
39260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39261       ac_ext=c
39262 ac_cpp='$CPP $CPPFLAGS'
39263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39266
39267 fi
39268
39269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39271     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39272       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39273 do :
39274   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39276 eval as_val=\$$as_ac_var
39277    if test "x$as_val" = x""yes; then :
39278   cat >>confdefs.h <<_ACEOF
39279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39280 _ACEOF
39281
39282 fi
39283 done
39284
39285     fi
39286   fi
39287
39288
39289
39290
39291
39292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39293 $as_echo_n "checking for float round functions... " >&6; }
39294   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39295   $as_echo_n "(cached) " >&6
39296 else
39297
39298
39299     ac_ext=cpp
39300 ac_cpp='$CXXCPP $CPPFLAGS'
39301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39304
39305     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39306 /* end confdefs.h.  */
39307 #include <math.h>
39308 int
39309 main ()
39310 {
39311 ceilf (0); floorf (0);
39312   ;
39313   return 0;
39314 }
39315 _ACEOF
39316 if ac_fn_cxx_try_compile "$LINENO"; then :
39317   glibcxx_cv_func_float_round_use=yes
39318 else
39319   glibcxx_cv_func_float_round_use=no
39320 fi
39321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39322     ac_ext=c
39323 ac_cpp='$CPP $CPPFLAGS'
39324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39327
39328 fi
39329
39330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39332   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39333     for ac_func in ceilf floorf
39334 do :
39335   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39337 eval as_val=\$$as_ac_var
39338    if test "x$as_val" = x""yes; then :
39339   cat >>confdefs.h <<_ACEOF
39340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39341 _ACEOF
39342
39343 fi
39344 done
39345
39346   else
39347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39348 $as_echo_n "checking for _float round functions... " >&6; }
39349     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39350   $as_echo_n "(cached) " >&6
39351 else
39352
39353
39354       ac_ext=cpp
39355 ac_cpp='$CXXCPP $CPPFLAGS'
39356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39359
39360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39361 /* end confdefs.h.  */
39362 #include <math.h>
39363 int
39364 main ()
39365 {
39366 _ceilf (0); _floorf (0);
39367   ;
39368   return 0;
39369 }
39370 _ACEOF
39371 if ac_fn_cxx_try_compile "$LINENO"; then :
39372   glibcxx_cv_func__float_round_use=yes
39373 else
39374   glibcxx_cv_func__float_round_use=no
39375 fi
39376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39377       ac_ext=c
39378 ac_cpp='$CPP $CPPFLAGS'
39379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382
39383 fi
39384
39385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39387     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39388       for ac_func in _ceilf _floorf
39389 do :
39390   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39392 eval as_val=\$$as_ac_var
39393    if test "x$as_val" = x""yes; then :
39394   cat >>confdefs.h <<_ACEOF
39395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39396 _ACEOF
39397
39398 fi
39399 done
39400
39401     fi
39402   fi
39403
39404
39405
39406
39407
39408
39409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39410 $as_echo_n "checking for expf declaration... " >&6; }
39411   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39412     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39413   $as_echo_n "(cached) " >&6
39414 else
39415
39416
39417       ac_ext=cpp
39418 ac_cpp='$CXXCPP $CPPFLAGS'
39419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39422
39423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 /* end confdefs.h.  */
39425 #include <math.h>
39426                       #ifdef HAVE_IEEEFP_H
39427                       #include <ieeefp.h>
39428                       #endif
39429
39430 int
39431 main ()
39432 {
39433  expf(0);
39434   ;
39435   return 0;
39436 }
39437 _ACEOF
39438 if ac_fn_cxx_try_compile "$LINENO"; then :
39439   glibcxx_cv_func_expf_use=yes
39440 else
39441   glibcxx_cv_func_expf_use=no
39442 fi
39443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39444       ac_ext=c
39445 ac_cpp='$CPP $CPPFLAGS'
39446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39449
39450
39451 fi
39452
39453   fi
39454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39456
39457   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39458     for ac_func in expf
39459 do :
39460   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39461 if test "x$ac_cv_func_expf" = x""yes; then :
39462   cat >>confdefs.h <<_ACEOF
39463 #define HAVE_EXPF 1
39464 _ACEOF
39465
39466 fi
39467 done
39468
39469   else
39470
39471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39472 $as_echo_n "checking for _expf declaration... " >&6; }
39473   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39474     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39475   $as_echo_n "(cached) " >&6
39476 else
39477
39478
39479       ac_ext=cpp
39480 ac_cpp='$CXXCPP $CPPFLAGS'
39481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39484
39485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39486 /* end confdefs.h.  */
39487 #include <math.h>
39488                       #ifdef HAVE_IEEEFP_H
39489                       #include <ieeefp.h>
39490                       #endif
39491
39492 int
39493 main ()
39494 {
39495  _expf(0);
39496   ;
39497   return 0;
39498 }
39499 _ACEOF
39500 if ac_fn_cxx_try_compile "$LINENO"; then :
39501   glibcxx_cv_func__expf_use=yes
39502 else
39503   glibcxx_cv_func__expf_use=no
39504 fi
39505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39506       ac_ext=c
39507 ac_cpp='$CPP $CPPFLAGS'
39508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511
39512
39513 fi
39514
39515   fi
39516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39518
39519     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39520       for ac_func in _expf
39521 do :
39522   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39523 if test "x$ac_cv_func__expf" = x""yes; then :
39524   cat >>confdefs.h <<_ACEOF
39525 #define HAVE__EXPF 1
39526 _ACEOF
39527
39528 fi
39529 done
39530
39531     fi
39532   fi
39533
39534
39535
39536
39537
39538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39539 $as_echo_n "checking for isnanf declaration... " >&6; }
39540   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39541     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39542   $as_echo_n "(cached) " >&6
39543 else
39544
39545
39546       ac_ext=cpp
39547 ac_cpp='$CXXCPP $CPPFLAGS'
39548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39551
39552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39553 /* end confdefs.h.  */
39554 #include <math.h>
39555                       #ifdef HAVE_IEEEFP_H
39556                       #include <ieeefp.h>
39557                       #endif
39558
39559 int
39560 main ()
39561 {
39562  isnanf(0);
39563   ;
39564   return 0;
39565 }
39566 _ACEOF
39567 if ac_fn_cxx_try_compile "$LINENO"; then :
39568   glibcxx_cv_func_isnanf_use=yes
39569 else
39570   glibcxx_cv_func_isnanf_use=no
39571 fi
39572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39573       ac_ext=c
39574 ac_cpp='$CPP $CPPFLAGS'
39575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39578
39579
39580 fi
39581
39582   fi
39583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39585
39586   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39587     for ac_func in isnanf
39588 do :
39589   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39590 if test "x$ac_cv_func_isnanf" = x""yes; then :
39591   cat >>confdefs.h <<_ACEOF
39592 #define HAVE_ISNANF 1
39593 _ACEOF
39594
39595 fi
39596 done
39597
39598   else
39599
39600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39601 $as_echo_n "checking for _isnanf declaration... " >&6; }
39602   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39603     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39604   $as_echo_n "(cached) " >&6
39605 else
39606
39607
39608       ac_ext=cpp
39609 ac_cpp='$CXXCPP $CPPFLAGS'
39610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39613
39614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39615 /* end confdefs.h.  */
39616 #include <math.h>
39617                       #ifdef HAVE_IEEEFP_H
39618                       #include <ieeefp.h>
39619                       #endif
39620
39621 int
39622 main ()
39623 {
39624  _isnanf(0);
39625   ;
39626   return 0;
39627 }
39628 _ACEOF
39629 if ac_fn_cxx_try_compile "$LINENO"; then :
39630   glibcxx_cv_func__isnanf_use=yes
39631 else
39632   glibcxx_cv_func__isnanf_use=no
39633 fi
39634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39635       ac_ext=c
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640
39641
39642 fi
39643
39644   fi
39645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39647
39648     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39649       for ac_func in _isnanf
39650 do :
39651   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39652 if test "x$ac_cv_func__isnanf" = x""yes; then :
39653   cat >>confdefs.h <<_ACEOF
39654 #define HAVE__ISNANF 1
39655 _ACEOF
39656
39657 fi
39658 done
39659
39660     fi
39661   fi
39662
39663
39664
39665
39666
39667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39668 $as_echo_n "checking for isinff declaration... " >&6; }
39669   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39670     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39671   $as_echo_n "(cached) " >&6
39672 else
39673
39674
39675       ac_ext=cpp
39676 ac_cpp='$CXXCPP $CPPFLAGS'
39677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39680
39681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39682 /* end confdefs.h.  */
39683 #include <math.h>
39684                       #ifdef HAVE_IEEEFP_H
39685                       #include <ieeefp.h>
39686                       #endif
39687
39688 int
39689 main ()
39690 {
39691  isinff(0);
39692   ;
39693   return 0;
39694 }
39695 _ACEOF
39696 if ac_fn_cxx_try_compile "$LINENO"; then :
39697   glibcxx_cv_func_isinff_use=yes
39698 else
39699   glibcxx_cv_func_isinff_use=no
39700 fi
39701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39702       ac_ext=c
39703 ac_cpp='$CPP $CPPFLAGS'
39704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39707
39708
39709 fi
39710
39711   fi
39712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39714
39715   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39716     for ac_func in isinff
39717 do :
39718   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39719 if test "x$ac_cv_func_isinff" = x""yes; then :
39720   cat >>confdefs.h <<_ACEOF
39721 #define HAVE_ISINFF 1
39722 _ACEOF
39723
39724 fi
39725 done
39726
39727   else
39728
39729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39730 $as_echo_n "checking for _isinff declaration... " >&6; }
39731   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39732     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39733   $as_echo_n "(cached) " >&6
39734 else
39735
39736
39737       ac_ext=cpp
39738 ac_cpp='$CXXCPP $CPPFLAGS'
39739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39742
39743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39744 /* end confdefs.h.  */
39745 #include <math.h>
39746                       #ifdef HAVE_IEEEFP_H
39747                       #include <ieeefp.h>
39748                       #endif
39749
39750 int
39751 main ()
39752 {
39753  _isinff(0);
39754   ;
39755   return 0;
39756 }
39757 _ACEOF
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759   glibcxx_cv_func__isinff_use=yes
39760 else
39761   glibcxx_cv_func__isinff_use=no
39762 fi
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764       ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39769
39770
39771 fi
39772
39773   fi
39774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39776
39777     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39778       for ac_func in _isinff
39779 do :
39780   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39781 if test "x$ac_cv_func__isinff" = x""yes; then :
39782   cat >>confdefs.h <<_ACEOF
39783 #define HAVE__ISINFF 1
39784 _ACEOF
39785
39786 fi
39787 done
39788
39789     fi
39790   fi
39791
39792
39793
39794
39795
39796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39797 $as_echo_n "checking for atan2f declaration... " >&6; }
39798   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39799     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39800   $as_echo_n "(cached) " >&6
39801 else
39802
39803
39804       ac_ext=cpp
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39809
39810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h.  */
39812 #include <math.h>
39813 int
39814 main ()
39815 {
39816  atan2f(0, 0);
39817   ;
39818   return 0;
39819 }
39820 _ACEOF
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822   glibcxx_cv_func_atan2f_use=yes
39823 else
39824   glibcxx_cv_func_atan2f_use=no
39825 fi
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39827       ac_ext=c
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39832
39833
39834 fi
39835
39836   fi
39837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39839
39840   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39841     for ac_func in atan2f
39842 do :
39843   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39844 if test "x$ac_cv_func_atan2f" = x""yes; then :
39845   cat >>confdefs.h <<_ACEOF
39846 #define HAVE_ATAN2F 1
39847 _ACEOF
39848
39849 fi
39850 done
39851
39852   else
39853
39854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39855 $as_echo_n "checking for _atan2f declaration... " >&6; }
39856   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39857     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39858   $as_echo_n "(cached) " >&6
39859 else
39860
39861
39862       ac_ext=cpp
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39867
39868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h.  */
39870 #include <math.h>
39871 int
39872 main ()
39873 {
39874  _atan2f(0, 0);
39875   ;
39876   return 0;
39877 }
39878 _ACEOF
39879 if ac_fn_cxx_try_compile "$LINENO"; then :
39880   glibcxx_cv_func__atan2f_use=yes
39881 else
39882   glibcxx_cv_func__atan2f_use=no
39883 fi
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39885       ac_ext=c
39886 ac_cpp='$CPP $CPPFLAGS'
39887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39890
39891
39892 fi
39893
39894   fi
39895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39897
39898     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39899       for ac_func in _atan2f
39900 do :
39901   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39902 if test "x$ac_cv_func__atan2f" = x""yes; then :
39903   cat >>confdefs.h <<_ACEOF
39904 #define HAVE__ATAN2F 1
39905 _ACEOF
39906
39907 fi
39908 done
39909
39910     fi
39911   fi
39912
39913
39914
39915
39916
39917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39918 $as_echo_n "checking for fabsf declaration... " >&6; }
39919   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39920     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39921   $as_echo_n "(cached) " >&6
39922 else
39923
39924
39925       ac_ext=cpp
39926 ac_cpp='$CXXCPP $CPPFLAGS'
39927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39930
39931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39932 /* end confdefs.h.  */
39933 #include <math.h>
39934                       #ifdef HAVE_IEEEFP_H
39935                       #include <ieeefp.h>
39936                       #endif
39937
39938 int
39939 main ()
39940 {
39941  fabsf(0);
39942   ;
39943   return 0;
39944 }
39945 _ACEOF
39946 if ac_fn_cxx_try_compile "$LINENO"; then :
39947   glibcxx_cv_func_fabsf_use=yes
39948 else
39949   glibcxx_cv_func_fabsf_use=no
39950 fi
39951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39952       ac_ext=c
39953 ac_cpp='$CPP $CPPFLAGS'
39954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39957
39958
39959 fi
39960
39961   fi
39962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39964
39965   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39966     for ac_func in fabsf
39967 do :
39968   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39969 if test "x$ac_cv_func_fabsf" = x""yes; then :
39970   cat >>confdefs.h <<_ACEOF
39971 #define HAVE_FABSF 1
39972 _ACEOF
39973
39974 fi
39975 done
39976
39977   else
39978
39979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39980 $as_echo_n "checking for _fabsf declaration... " >&6; }
39981   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39982     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39983   $as_echo_n "(cached) " >&6
39984 else
39985
39986
39987       ac_ext=cpp
39988 ac_cpp='$CXXCPP $CPPFLAGS'
39989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39992
39993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39994 /* end confdefs.h.  */
39995 #include <math.h>
39996                       #ifdef HAVE_IEEEFP_H
39997                       #include <ieeefp.h>
39998                       #endif
39999
40000 int
40001 main ()
40002 {
40003  _fabsf(0);
40004   ;
40005   return 0;
40006 }
40007 _ACEOF
40008 if ac_fn_cxx_try_compile "$LINENO"; then :
40009   glibcxx_cv_func__fabsf_use=yes
40010 else
40011   glibcxx_cv_func__fabsf_use=no
40012 fi
40013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40014       ac_ext=c
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40019
40020
40021 fi
40022
40023   fi
40024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40026
40027     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40028       for ac_func in _fabsf
40029 do :
40030   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40031 if test "x$ac_cv_func__fabsf" = x""yes; then :
40032   cat >>confdefs.h <<_ACEOF
40033 #define HAVE__FABSF 1
40034 _ACEOF
40035
40036 fi
40037 done
40038
40039     fi
40040   fi
40041
40042
40043
40044
40045
40046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40047 $as_echo_n "checking for fmodf declaration... " >&6; }
40048   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40049     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40050   $as_echo_n "(cached) " >&6
40051 else
40052
40053
40054       ac_ext=cpp
40055 ac_cpp='$CXXCPP $CPPFLAGS'
40056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40059
40060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40061 /* end confdefs.h.  */
40062 #include <math.h>
40063 int
40064 main ()
40065 {
40066  fmodf(0, 0);
40067   ;
40068   return 0;
40069 }
40070 _ACEOF
40071 if ac_fn_cxx_try_compile "$LINENO"; then :
40072   glibcxx_cv_func_fmodf_use=yes
40073 else
40074   glibcxx_cv_func_fmodf_use=no
40075 fi
40076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40077       ac_ext=c
40078 ac_cpp='$CPP $CPPFLAGS'
40079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40082
40083
40084 fi
40085
40086   fi
40087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40089
40090   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40091     for ac_func in fmodf
40092 do :
40093   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40094 if test "x$ac_cv_func_fmodf" = x""yes; then :
40095   cat >>confdefs.h <<_ACEOF
40096 #define HAVE_FMODF 1
40097 _ACEOF
40098
40099 fi
40100 done
40101
40102   else
40103
40104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40105 $as_echo_n "checking for _fmodf declaration... " >&6; }
40106   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40107     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40108   $as_echo_n "(cached) " >&6
40109 else
40110
40111
40112       ac_ext=cpp
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40117
40118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40119 /* end confdefs.h.  */
40120 #include <math.h>
40121 int
40122 main ()
40123 {
40124  _fmodf(0, 0);
40125   ;
40126   return 0;
40127 }
40128 _ACEOF
40129 if ac_fn_cxx_try_compile "$LINENO"; then :
40130   glibcxx_cv_func__fmodf_use=yes
40131 else
40132   glibcxx_cv_func__fmodf_use=no
40133 fi
40134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40135       ac_ext=c
40136 ac_cpp='$CPP $CPPFLAGS'
40137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40140
40141
40142 fi
40143
40144   fi
40145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40147
40148     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40149       for ac_func in _fmodf
40150 do :
40151   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40152 if test "x$ac_cv_func__fmodf" = x""yes; then :
40153   cat >>confdefs.h <<_ACEOF
40154 #define HAVE__FMODF 1
40155 _ACEOF
40156
40157 fi
40158 done
40159
40160     fi
40161   fi
40162
40163
40164
40165
40166
40167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40168 $as_echo_n "checking for frexpf declaration... " >&6; }
40169   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40170     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40171   $as_echo_n "(cached) " >&6
40172 else
40173
40174
40175       ac_ext=cpp
40176 ac_cpp='$CXXCPP $CPPFLAGS'
40177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40180
40181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40182 /* end confdefs.h.  */
40183 #include <math.h>
40184 int
40185 main ()
40186 {
40187  frexpf(0, 0);
40188   ;
40189   return 0;
40190 }
40191 _ACEOF
40192 if ac_fn_cxx_try_compile "$LINENO"; then :
40193   glibcxx_cv_func_frexpf_use=yes
40194 else
40195   glibcxx_cv_func_frexpf_use=no
40196 fi
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40198       ac_ext=c
40199 ac_cpp='$CPP $CPPFLAGS'
40200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40203
40204
40205 fi
40206
40207   fi
40208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40210
40211   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40212     for ac_func in frexpf
40213 do :
40214   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40215 if test "x$ac_cv_func_frexpf" = x""yes; then :
40216   cat >>confdefs.h <<_ACEOF
40217 #define HAVE_FREXPF 1
40218 _ACEOF
40219
40220 fi
40221 done
40222
40223   else
40224
40225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40226 $as_echo_n "checking for _frexpf declaration... " >&6; }
40227   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40228     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40229   $as_echo_n "(cached) " >&6
40230 else
40231
40232
40233       ac_ext=cpp
40234 ac_cpp='$CXXCPP $CPPFLAGS'
40235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40238
40239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40240 /* end confdefs.h.  */
40241 #include <math.h>
40242 int
40243 main ()
40244 {
40245  _frexpf(0, 0);
40246   ;
40247   return 0;
40248 }
40249 _ACEOF
40250 if ac_fn_cxx_try_compile "$LINENO"; then :
40251   glibcxx_cv_func__frexpf_use=yes
40252 else
40253   glibcxx_cv_func__frexpf_use=no
40254 fi
40255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40256       ac_ext=c
40257 ac_cpp='$CPP $CPPFLAGS'
40258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40261
40262
40263 fi
40264
40265   fi
40266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40268
40269     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40270       for ac_func in _frexpf
40271 do :
40272   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40273 if test "x$ac_cv_func__frexpf" = x""yes; then :
40274   cat >>confdefs.h <<_ACEOF
40275 #define HAVE__FREXPF 1
40276 _ACEOF
40277
40278 fi
40279 done
40280
40281     fi
40282   fi
40283
40284
40285
40286
40287
40288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40289 $as_echo_n "checking for hypotf declaration... " >&6; }
40290   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40291     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40292   $as_echo_n "(cached) " >&6
40293 else
40294
40295
40296       ac_ext=cpp
40297 ac_cpp='$CXXCPP $CPPFLAGS'
40298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40301
40302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40303 /* end confdefs.h.  */
40304 #include <math.h>
40305 int
40306 main ()
40307 {
40308  hypotf(0, 0);
40309   ;
40310   return 0;
40311 }
40312 _ACEOF
40313 if ac_fn_cxx_try_compile "$LINENO"; then :
40314   glibcxx_cv_func_hypotf_use=yes
40315 else
40316   glibcxx_cv_func_hypotf_use=no
40317 fi
40318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40319       ac_ext=c
40320 ac_cpp='$CPP $CPPFLAGS'
40321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40324
40325
40326 fi
40327
40328   fi
40329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40331
40332   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40333     for ac_func in hypotf
40334 do :
40335   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40336 if test "x$ac_cv_func_hypotf" = x""yes; then :
40337   cat >>confdefs.h <<_ACEOF
40338 #define HAVE_HYPOTF 1
40339 _ACEOF
40340
40341 fi
40342 done
40343
40344   else
40345
40346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40347 $as_echo_n "checking for _hypotf declaration... " >&6; }
40348   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40349     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40350   $as_echo_n "(cached) " >&6
40351 else
40352
40353
40354       ac_ext=cpp
40355 ac_cpp='$CXXCPP $CPPFLAGS'
40356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40359
40360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40361 /* end confdefs.h.  */
40362 #include <math.h>
40363 int
40364 main ()
40365 {
40366  _hypotf(0, 0);
40367   ;
40368   return 0;
40369 }
40370 _ACEOF
40371 if ac_fn_cxx_try_compile "$LINENO"; then :
40372   glibcxx_cv_func__hypotf_use=yes
40373 else
40374   glibcxx_cv_func__hypotf_use=no
40375 fi
40376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40377       ac_ext=c
40378 ac_cpp='$CPP $CPPFLAGS'
40379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40382
40383
40384 fi
40385
40386   fi
40387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40389
40390     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40391       for ac_func in _hypotf
40392 do :
40393   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40394 if test "x$ac_cv_func__hypotf" = x""yes; then :
40395   cat >>confdefs.h <<_ACEOF
40396 #define HAVE__HYPOTF 1
40397 _ACEOF
40398
40399 fi
40400 done
40401
40402     fi
40403   fi
40404
40405
40406
40407
40408
40409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40410 $as_echo_n "checking for ldexpf declaration... " >&6; }
40411   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40412     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40413   $as_echo_n "(cached) " >&6
40414 else
40415
40416
40417       ac_ext=cpp
40418 ac_cpp='$CXXCPP $CPPFLAGS'
40419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40422
40423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40424 /* end confdefs.h.  */
40425 #include <math.h>
40426 int
40427 main ()
40428 {
40429  ldexpf(0, 0);
40430   ;
40431   return 0;
40432 }
40433 _ACEOF
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435   glibcxx_cv_func_ldexpf_use=yes
40436 else
40437   glibcxx_cv_func_ldexpf_use=no
40438 fi
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40440       ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40445
40446
40447 fi
40448
40449   fi
40450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40452
40453   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40454     for ac_func in ldexpf
40455 do :
40456   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40458   cat >>confdefs.h <<_ACEOF
40459 #define HAVE_LDEXPF 1
40460 _ACEOF
40461
40462 fi
40463 done
40464
40465   else
40466
40467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40469   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40470     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40471   $as_echo_n "(cached) " >&6
40472 else
40473
40474
40475       ac_ext=cpp
40476 ac_cpp='$CXXCPP $CPPFLAGS'
40477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40480
40481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40482 /* end confdefs.h.  */
40483 #include <math.h>
40484 int
40485 main ()
40486 {
40487  _ldexpf(0, 0);
40488   ;
40489   return 0;
40490 }
40491 _ACEOF
40492 if ac_fn_cxx_try_compile "$LINENO"; then :
40493   glibcxx_cv_func__ldexpf_use=yes
40494 else
40495   glibcxx_cv_func__ldexpf_use=no
40496 fi
40497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40498       ac_ext=c
40499 ac_cpp='$CPP $CPPFLAGS'
40500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40503
40504
40505 fi
40506
40507   fi
40508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40510
40511     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40512       for ac_func in _ldexpf
40513 do :
40514   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40516   cat >>confdefs.h <<_ACEOF
40517 #define HAVE__LDEXPF 1
40518 _ACEOF
40519
40520 fi
40521 done
40522
40523     fi
40524   fi
40525
40526
40527
40528
40529
40530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40531 $as_echo_n "checking for logf declaration... " >&6; }
40532   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40533     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40534   $as_echo_n "(cached) " >&6
40535 else
40536
40537
40538       ac_ext=cpp
40539 ac_cpp='$CXXCPP $CPPFLAGS'
40540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40543
40544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545 /* end confdefs.h.  */
40546 #include <math.h>
40547                       #ifdef HAVE_IEEEFP_H
40548                       #include <ieeefp.h>
40549                       #endif
40550
40551 int
40552 main ()
40553 {
40554  logf(0);
40555   ;
40556   return 0;
40557 }
40558 _ACEOF
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560   glibcxx_cv_func_logf_use=yes
40561 else
40562   glibcxx_cv_func_logf_use=no
40563 fi
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565       ac_ext=c
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40570
40571
40572 fi
40573
40574   fi
40575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40577
40578   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40579     for ac_func in logf
40580 do :
40581   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40582 if test "x$ac_cv_func_logf" = x""yes; then :
40583   cat >>confdefs.h <<_ACEOF
40584 #define HAVE_LOGF 1
40585 _ACEOF
40586
40587 fi
40588 done
40589
40590   else
40591
40592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40593 $as_echo_n "checking for _logf declaration... " >&6; }
40594   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40595     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40596   $as_echo_n "(cached) " >&6
40597 else
40598
40599
40600       ac_ext=cpp
40601 ac_cpp='$CXXCPP $CPPFLAGS'
40602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40605
40606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40607 /* end confdefs.h.  */
40608 #include <math.h>
40609                       #ifdef HAVE_IEEEFP_H
40610                       #include <ieeefp.h>
40611                       #endif
40612
40613 int
40614 main ()
40615 {
40616  _logf(0);
40617   ;
40618   return 0;
40619 }
40620 _ACEOF
40621 if ac_fn_cxx_try_compile "$LINENO"; then :
40622   glibcxx_cv_func__logf_use=yes
40623 else
40624   glibcxx_cv_func__logf_use=no
40625 fi
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40627       ac_ext=c
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40632
40633
40634 fi
40635
40636   fi
40637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40639
40640     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40641       for ac_func in _logf
40642 do :
40643   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40644 if test "x$ac_cv_func__logf" = x""yes; then :
40645   cat >>confdefs.h <<_ACEOF
40646 #define HAVE__LOGF 1
40647 _ACEOF
40648
40649 fi
40650 done
40651
40652     fi
40653   fi
40654
40655
40656
40657
40658
40659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40660 $as_echo_n "checking for log10f declaration... " >&6; }
40661   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40662     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40663   $as_echo_n "(cached) " >&6
40664 else
40665
40666
40667       ac_ext=cpp
40668 ac_cpp='$CXXCPP $CPPFLAGS'
40669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40672
40673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674 /* end confdefs.h.  */
40675 #include <math.h>
40676                       #ifdef HAVE_IEEEFP_H
40677                       #include <ieeefp.h>
40678                       #endif
40679
40680 int
40681 main ()
40682 {
40683  log10f(0);
40684   ;
40685   return 0;
40686 }
40687 _ACEOF
40688 if ac_fn_cxx_try_compile "$LINENO"; then :
40689   glibcxx_cv_func_log10f_use=yes
40690 else
40691   glibcxx_cv_func_log10f_use=no
40692 fi
40693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40694       ac_ext=c
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40699
40700
40701 fi
40702
40703   fi
40704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40706
40707   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40708     for ac_func in log10f
40709 do :
40710   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40711 if test "x$ac_cv_func_log10f" = x""yes; then :
40712   cat >>confdefs.h <<_ACEOF
40713 #define HAVE_LOG10F 1
40714 _ACEOF
40715
40716 fi
40717 done
40718
40719   else
40720
40721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40722 $as_echo_n "checking for _log10f declaration... " >&6; }
40723   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40724     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40725   $as_echo_n "(cached) " >&6
40726 else
40727
40728
40729       ac_ext=cpp
40730 ac_cpp='$CXXCPP $CPPFLAGS'
40731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40734
40735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736 /* end confdefs.h.  */
40737 #include <math.h>
40738                       #ifdef HAVE_IEEEFP_H
40739                       #include <ieeefp.h>
40740                       #endif
40741
40742 int
40743 main ()
40744 {
40745  _log10f(0);
40746   ;
40747   return 0;
40748 }
40749 _ACEOF
40750 if ac_fn_cxx_try_compile "$LINENO"; then :
40751   glibcxx_cv_func__log10f_use=yes
40752 else
40753   glibcxx_cv_func__log10f_use=no
40754 fi
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40756       ac_ext=c
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40761
40762
40763 fi
40764
40765   fi
40766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40768
40769     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40770       for ac_func in _log10f
40771 do :
40772   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40773 if test "x$ac_cv_func__log10f" = x""yes; then :
40774   cat >>confdefs.h <<_ACEOF
40775 #define HAVE__LOG10F 1
40776 _ACEOF
40777
40778 fi
40779 done
40780
40781     fi
40782   fi
40783
40784
40785
40786
40787
40788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40789 $as_echo_n "checking for modff declaration... " >&6; }
40790   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40791     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40792   $as_echo_n "(cached) " >&6
40793 else
40794
40795
40796       ac_ext=cpp
40797 ac_cpp='$CXXCPP $CPPFLAGS'
40798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40801
40802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40803 /* end confdefs.h.  */
40804 #include <math.h>
40805 int
40806 main ()
40807 {
40808  modff(0, 0);
40809   ;
40810   return 0;
40811 }
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814   glibcxx_cv_func_modff_use=yes
40815 else
40816   glibcxx_cv_func_modff_use=no
40817 fi
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819       ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40824
40825
40826 fi
40827
40828   fi
40829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40831
40832   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40833     for ac_func in modff
40834 do :
40835   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40836 if test "x$ac_cv_func_modff" = x""yes; then :
40837   cat >>confdefs.h <<_ACEOF
40838 #define HAVE_MODFF 1
40839 _ACEOF
40840
40841 fi
40842 done
40843
40844   else
40845
40846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40847 $as_echo_n "checking for _modff declaration... " >&6; }
40848   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40849     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40850   $as_echo_n "(cached) " >&6
40851 else
40852
40853
40854       ac_ext=cpp
40855 ac_cpp='$CXXCPP $CPPFLAGS'
40856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40859
40860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40861 /* end confdefs.h.  */
40862 #include <math.h>
40863 int
40864 main ()
40865 {
40866  _modff(0, 0);
40867   ;
40868   return 0;
40869 }
40870 _ACEOF
40871 if ac_fn_cxx_try_compile "$LINENO"; then :
40872   glibcxx_cv_func__modff_use=yes
40873 else
40874   glibcxx_cv_func__modff_use=no
40875 fi
40876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40877       ac_ext=c
40878 ac_cpp='$CPP $CPPFLAGS'
40879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40882
40883
40884 fi
40885
40886   fi
40887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40889
40890     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40891       for ac_func in _modff
40892 do :
40893   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40894 if test "x$ac_cv_func__modff" = x""yes; then :
40895   cat >>confdefs.h <<_ACEOF
40896 #define HAVE__MODFF 1
40897 _ACEOF
40898
40899 fi
40900 done
40901
40902     fi
40903   fi
40904
40905
40906
40907
40908
40909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40910 $as_echo_n "checking for modf declaration... " >&6; }
40911   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40912     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40913   $as_echo_n "(cached) " >&6
40914 else
40915
40916
40917       ac_ext=cpp
40918 ac_cpp='$CXXCPP $CPPFLAGS'
40919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40922
40923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40924 /* end confdefs.h.  */
40925 #include <math.h>
40926 int
40927 main ()
40928 {
40929  modf(0, 0);
40930   ;
40931   return 0;
40932 }
40933 _ACEOF
40934 if ac_fn_cxx_try_compile "$LINENO"; then :
40935   glibcxx_cv_func_modf_use=yes
40936 else
40937   glibcxx_cv_func_modf_use=no
40938 fi
40939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40940       ac_ext=c
40941 ac_cpp='$CPP $CPPFLAGS'
40942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40945
40946
40947 fi
40948
40949   fi
40950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40952
40953   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40954     for ac_func in modf
40955 do :
40956   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40957 if test "x$ac_cv_func_modf" = x""yes; then :
40958   cat >>confdefs.h <<_ACEOF
40959 #define HAVE_MODF 1
40960 _ACEOF
40961
40962 fi
40963 done
40964
40965   else
40966
40967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40968 $as_echo_n "checking for _modf declaration... " >&6; }
40969   if test x${glibcxx_cv_func__modf_use+set} != xset; then
40970     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40971   $as_echo_n "(cached) " >&6
40972 else
40973
40974
40975       ac_ext=cpp
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980
40981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40982 /* end confdefs.h.  */
40983 #include <math.h>
40984 int
40985 main ()
40986 {
40987  _modf(0, 0);
40988   ;
40989   return 0;
40990 }
40991 _ACEOF
40992 if ac_fn_cxx_try_compile "$LINENO"; then :
40993   glibcxx_cv_func__modf_use=yes
40994 else
40995   glibcxx_cv_func__modf_use=no
40996 fi
40997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40998       ac_ext=c
40999 ac_cpp='$CPP $CPPFLAGS'
41000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41003
41004
41005 fi
41006
41007   fi
41008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41010
41011     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41012       for ac_func in _modf
41013 do :
41014   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41015 if test "x$ac_cv_func__modf" = x""yes; then :
41016   cat >>confdefs.h <<_ACEOF
41017 #define HAVE__MODF 1
41018 _ACEOF
41019
41020 fi
41021 done
41022
41023     fi
41024   fi
41025
41026
41027
41028
41029
41030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41031 $as_echo_n "checking for powf declaration... " >&6; }
41032   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41033     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41034   $as_echo_n "(cached) " >&6
41035 else
41036
41037
41038       ac_ext=cpp
41039 ac_cpp='$CXXCPP $CPPFLAGS'
41040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41043
41044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41045 /* end confdefs.h.  */
41046 #include <math.h>
41047 int
41048 main ()
41049 {
41050  powf(0, 0);
41051   ;
41052   return 0;
41053 }
41054 _ACEOF
41055 if ac_fn_cxx_try_compile "$LINENO"; then :
41056   glibcxx_cv_func_powf_use=yes
41057 else
41058   glibcxx_cv_func_powf_use=no
41059 fi
41060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41061       ac_ext=c
41062 ac_cpp='$CPP $CPPFLAGS'
41063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41066
41067
41068 fi
41069
41070   fi
41071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41073
41074   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41075     for ac_func in powf
41076 do :
41077   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41078 if test "x$ac_cv_func_powf" = x""yes; then :
41079   cat >>confdefs.h <<_ACEOF
41080 #define HAVE_POWF 1
41081 _ACEOF
41082
41083 fi
41084 done
41085
41086   else
41087
41088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41089 $as_echo_n "checking for _powf declaration... " >&6; }
41090   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41091     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41092   $as_echo_n "(cached) " >&6
41093 else
41094
41095
41096       ac_ext=cpp
41097 ac_cpp='$CXXCPP $CPPFLAGS'
41098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41101
41102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41103 /* end confdefs.h.  */
41104 #include <math.h>
41105 int
41106 main ()
41107 {
41108  _powf(0, 0);
41109   ;
41110   return 0;
41111 }
41112 _ACEOF
41113 if ac_fn_cxx_try_compile "$LINENO"; then :
41114   glibcxx_cv_func__powf_use=yes
41115 else
41116   glibcxx_cv_func__powf_use=no
41117 fi
41118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41119       ac_ext=c
41120 ac_cpp='$CPP $CPPFLAGS'
41121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41124
41125
41126 fi
41127
41128   fi
41129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41131
41132     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41133       for ac_func in _powf
41134 do :
41135   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41136 if test "x$ac_cv_func__powf" = x""yes; then :
41137   cat >>confdefs.h <<_ACEOF
41138 #define HAVE__POWF 1
41139 _ACEOF
41140
41141 fi
41142 done
41143
41144     fi
41145   fi
41146
41147
41148
41149
41150
41151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41152 $as_echo_n "checking for sqrtf declaration... " >&6; }
41153   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41154     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41155   $as_echo_n "(cached) " >&6
41156 else
41157
41158
41159       ac_ext=cpp
41160 ac_cpp='$CXXCPP $CPPFLAGS'
41161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41164
41165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41166 /* end confdefs.h.  */
41167 #include <math.h>
41168                       #ifdef HAVE_IEEEFP_H
41169                       #include <ieeefp.h>
41170                       #endif
41171
41172 int
41173 main ()
41174 {
41175  sqrtf(0);
41176   ;
41177   return 0;
41178 }
41179 _ACEOF
41180 if ac_fn_cxx_try_compile "$LINENO"; then :
41181   glibcxx_cv_func_sqrtf_use=yes
41182 else
41183   glibcxx_cv_func_sqrtf_use=no
41184 fi
41185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41186       ac_ext=c
41187 ac_cpp='$CPP $CPPFLAGS'
41188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41191
41192
41193 fi
41194
41195   fi
41196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41198
41199   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41200     for ac_func in sqrtf
41201 do :
41202   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41204   cat >>confdefs.h <<_ACEOF
41205 #define HAVE_SQRTF 1
41206 _ACEOF
41207
41208 fi
41209 done
41210
41211   else
41212
41213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41215   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41216     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41217   $as_echo_n "(cached) " >&6
41218 else
41219
41220
41221       ac_ext=cpp
41222 ac_cpp='$CXXCPP $CPPFLAGS'
41223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41226
41227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228 /* end confdefs.h.  */
41229 #include <math.h>
41230                       #ifdef HAVE_IEEEFP_H
41231                       #include <ieeefp.h>
41232                       #endif
41233
41234 int
41235 main ()
41236 {
41237  _sqrtf(0);
41238   ;
41239   return 0;
41240 }
41241 _ACEOF
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243   glibcxx_cv_func__sqrtf_use=yes
41244 else
41245   glibcxx_cv_func__sqrtf_use=no
41246 fi
41247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41248       ac_ext=c
41249 ac_cpp='$CPP $CPPFLAGS'
41250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41253
41254
41255 fi
41256
41257   fi
41258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41260
41261     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41262       for ac_func in _sqrtf
41263 do :
41264   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41266   cat >>confdefs.h <<_ACEOF
41267 #define HAVE__SQRTF 1
41268 _ACEOF
41269
41270 fi
41271 done
41272
41273     fi
41274   fi
41275
41276
41277
41278
41279
41280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41281 $as_echo_n "checking for sincosf declaration... " >&6; }
41282   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41283     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41284   $as_echo_n "(cached) " >&6
41285 else
41286
41287
41288       ac_ext=cpp
41289 ac_cpp='$CXXCPP $CPPFLAGS'
41290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41293
41294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41295 /* end confdefs.h.  */
41296 #include <math.h>
41297 int
41298 main ()
41299 {
41300  sincosf(0, 0, 0);
41301   ;
41302   return 0;
41303 }
41304 _ACEOF
41305 if ac_fn_cxx_try_compile "$LINENO"; then :
41306   glibcxx_cv_func_sincosf_use=yes
41307 else
41308   glibcxx_cv_func_sincosf_use=no
41309 fi
41310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41311       ac_ext=c
41312 ac_cpp='$CPP $CPPFLAGS'
41313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41316
41317
41318 fi
41319
41320   fi
41321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41323
41324   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41325     for ac_func in sincosf
41326 do :
41327   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41328 if test "x$ac_cv_func_sincosf" = x""yes; then :
41329   cat >>confdefs.h <<_ACEOF
41330 #define HAVE_SINCOSF 1
41331 _ACEOF
41332
41333 fi
41334 done
41335
41336   else
41337
41338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41339 $as_echo_n "checking for _sincosf declaration... " >&6; }
41340   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41341     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41342   $as_echo_n "(cached) " >&6
41343 else
41344
41345
41346       ac_ext=cpp
41347 ac_cpp='$CXXCPP $CPPFLAGS'
41348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41351
41352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41353 /* end confdefs.h.  */
41354 #include <math.h>
41355 int
41356 main ()
41357 {
41358  _sincosf(0, 0, 0);
41359   ;
41360   return 0;
41361 }
41362 _ACEOF
41363 if ac_fn_cxx_try_compile "$LINENO"; then :
41364   glibcxx_cv_func__sincosf_use=yes
41365 else
41366   glibcxx_cv_func__sincosf_use=no
41367 fi
41368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41369       ac_ext=c
41370 ac_cpp='$CPP $CPPFLAGS'
41371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41374
41375
41376 fi
41377
41378   fi
41379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41381
41382     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41383       for ac_func in _sincosf
41384 do :
41385   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41386 if test "x$ac_cv_func__sincosf" = x""yes; then :
41387   cat >>confdefs.h <<_ACEOF
41388 #define HAVE__SINCOSF 1
41389 _ACEOF
41390
41391 fi
41392 done
41393
41394     fi
41395   fi
41396
41397
41398
41399
41400
41401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41402 $as_echo_n "checking for finitef declaration... " >&6; }
41403   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41404     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41405   $as_echo_n "(cached) " >&6
41406 else
41407
41408
41409       ac_ext=cpp
41410 ac_cpp='$CXXCPP $CPPFLAGS'
41411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41414
41415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41416 /* end confdefs.h.  */
41417 #include <math.h>
41418                       #ifdef HAVE_IEEEFP_H
41419                       #include <ieeefp.h>
41420                       #endif
41421
41422 int
41423 main ()
41424 {
41425  finitef(0);
41426   ;
41427   return 0;
41428 }
41429 _ACEOF
41430 if ac_fn_cxx_try_compile "$LINENO"; then :
41431   glibcxx_cv_func_finitef_use=yes
41432 else
41433   glibcxx_cv_func_finitef_use=no
41434 fi
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436       ac_ext=c
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41441
41442
41443 fi
41444
41445   fi
41446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41448
41449   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41450     for ac_func in finitef
41451 do :
41452   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41453 if test "x$ac_cv_func_finitef" = x""yes; then :
41454   cat >>confdefs.h <<_ACEOF
41455 #define HAVE_FINITEF 1
41456 _ACEOF
41457
41458 fi
41459 done
41460
41461   else
41462
41463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41464 $as_echo_n "checking for _finitef declaration... " >&6; }
41465   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41466     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41467   $as_echo_n "(cached) " >&6
41468 else
41469
41470
41471       ac_ext=cpp
41472 ac_cpp='$CXXCPP $CPPFLAGS'
41473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41476
41477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h.  */
41479 #include <math.h>
41480                       #ifdef HAVE_IEEEFP_H
41481                       #include <ieeefp.h>
41482                       #endif
41483
41484 int
41485 main ()
41486 {
41487  _finitef(0);
41488   ;
41489   return 0;
41490 }
41491 _ACEOF
41492 if ac_fn_cxx_try_compile "$LINENO"; then :
41493   glibcxx_cv_func__finitef_use=yes
41494 else
41495   glibcxx_cv_func__finitef_use=no
41496 fi
41497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41498       ac_ext=c
41499 ac_cpp='$CPP $CPPFLAGS'
41500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41503
41504
41505 fi
41506
41507   fi
41508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41510
41511     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41512       for ac_func in _finitef
41513 do :
41514   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41515 if test "x$ac_cv_func__finitef" = x""yes; then :
41516   cat >>confdefs.h <<_ACEOF
41517 #define HAVE__FINITEF 1
41518 _ACEOF
41519
41520 fi
41521 done
41522
41523     fi
41524   fi
41525
41526
41527
41528
41529
41530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41531 $as_echo_n "checking for long double trig functions... " >&6; }
41532   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41533   $as_echo_n "(cached) " >&6
41534 else
41535
41536
41537     ac_ext=cpp
41538 ac_cpp='$CXXCPP $CPPFLAGS'
41539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41542
41543     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41544 /* end confdefs.h.  */
41545 #include <math.h>
41546 int
41547 main ()
41548 {
41549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41550   ;
41551   return 0;
41552 }
41553 _ACEOF
41554 if ac_fn_cxx_try_compile "$LINENO"; then :
41555   glibcxx_cv_func_long_double_trig_use=yes
41556 else
41557   glibcxx_cv_func_long_double_trig_use=no
41558 fi
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41560     ac_ext=c
41561 ac_cpp='$CPP $CPPFLAGS'
41562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41565
41566 fi
41567
41568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41570   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41571     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41572 do :
41573   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41575 eval as_val=\$$as_ac_var
41576    if test "x$as_val" = x""yes; then :
41577   cat >>confdefs.h <<_ACEOF
41578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41579 _ACEOF
41580
41581 fi
41582 done
41583
41584   else
41585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41586 $as_echo_n "checking for _long double trig functions... " >&6; }
41587     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41588   $as_echo_n "(cached) " >&6
41589 else
41590
41591
41592       ac_ext=cpp
41593 ac_cpp='$CXXCPP $CPPFLAGS'
41594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41597
41598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41599 /* end confdefs.h.  */
41600 #include <math.h>
41601 int
41602 main ()
41603 {
41604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41605   ;
41606   return 0;
41607 }
41608 _ACEOF
41609 if ac_fn_cxx_try_compile "$LINENO"; then :
41610   glibcxx_cv_func__long_double_trig_use=yes
41611 else
41612   glibcxx_cv_func__long_double_trig_use=no
41613 fi
41614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41615       ac_ext=c
41616 ac_cpp='$CPP $CPPFLAGS'
41617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41620
41621 fi
41622
41623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41625     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41626       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41627 do :
41628   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41630 eval as_val=\$$as_ac_var
41631    if test "x$as_val" = x""yes; then :
41632   cat >>confdefs.h <<_ACEOF
41633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41634 _ACEOF
41635
41636 fi
41637 done
41638
41639     fi
41640   fi
41641
41642
41643
41644
41645
41646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41647 $as_echo_n "checking for long double round functions... " >&6; }
41648   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41649   $as_echo_n "(cached) " >&6
41650 else
41651
41652
41653     ac_ext=cpp
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658
41659     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41660 /* end confdefs.h.  */
41661 #include <math.h>
41662 int
41663 main ()
41664 {
41665 ceill (0); floorl (0);
41666   ;
41667   return 0;
41668 }
41669 _ACEOF
41670 if ac_fn_cxx_try_compile "$LINENO"; then :
41671   glibcxx_cv_func_long_double_round_use=yes
41672 else
41673   glibcxx_cv_func_long_double_round_use=no
41674 fi
41675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41676     ac_ext=c
41677 ac_cpp='$CPP $CPPFLAGS'
41678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41681
41682 fi
41683
41684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41686   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41687     for ac_func in ceill floorl
41688 do :
41689   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41691 eval as_val=\$$as_ac_var
41692    if test "x$as_val" = x""yes; then :
41693   cat >>confdefs.h <<_ACEOF
41694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41695 _ACEOF
41696
41697 fi
41698 done
41699
41700   else
41701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41702 $as_echo_n "checking for _long double round functions... " >&6; }
41703     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41704   $as_echo_n "(cached) " >&6
41705 else
41706
41707
41708       ac_ext=cpp
41709 ac_cpp='$CXXCPP $CPPFLAGS'
41710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41713
41714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41715 /* end confdefs.h.  */
41716 #include <math.h>
41717 int
41718 main ()
41719 {
41720 _ceill (0); _floorl (0);
41721   ;
41722   return 0;
41723 }
41724 _ACEOF
41725 if ac_fn_cxx_try_compile "$LINENO"; then :
41726   glibcxx_cv_func__long_double_round_use=yes
41727 else
41728   glibcxx_cv_func__long_double_round_use=no
41729 fi
41730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41731       ac_ext=c
41732 ac_cpp='$CPP $CPPFLAGS'
41733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41736
41737 fi
41738
41739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41741     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41742       for ac_func in _ceill _floorl
41743 do :
41744   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41746 eval as_val=\$$as_ac_var
41747    if test "x$as_val" = x""yes; then :
41748   cat >>confdefs.h <<_ACEOF
41749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41750 _ACEOF
41751
41752 fi
41753 done
41754
41755     fi
41756   fi
41757
41758
41759
41760
41761
41762
41763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41764 $as_echo_n "checking for isnanl declaration... " >&6; }
41765   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41766     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41767   $as_echo_n "(cached) " >&6
41768 else
41769
41770
41771       ac_ext=cpp
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41776
41777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41778 /* end confdefs.h.  */
41779 #include <math.h>
41780                       #ifdef HAVE_IEEEFP_H
41781                       #include <ieeefp.h>
41782                       #endif
41783
41784 int
41785 main ()
41786 {
41787  isnanl(0);
41788   ;
41789   return 0;
41790 }
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793   glibcxx_cv_func_isnanl_use=yes
41794 else
41795   glibcxx_cv_func_isnanl_use=no
41796 fi
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798       ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41803
41804
41805 fi
41806
41807   fi
41808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41810
41811   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41812     for ac_func in isnanl
41813 do :
41814   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41815 if test "x$ac_cv_func_isnanl" = x""yes; then :
41816   cat >>confdefs.h <<_ACEOF
41817 #define HAVE_ISNANL 1
41818 _ACEOF
41819
41820 fi
41821 done
41822
41823   else
41824
41825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41826 $as_echo_n "checking for _isnanl declaration... " >&6; }
41827   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41828     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41829   $as_echo_n "(cached) " >&6
41830 else
41831
41832
41833       ac_ext=cpp
41834 ac_cpp='$CXXCPP $CPPFLAGS'
41835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41838
41839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41840 /* end confdefs.h.  */
41841 #include <math.h>
41842                       #ifdef HAVE_IEEEFP_H
41843                       #include <ieeefp.h>
41844                       #endif
41845
41846 int
41847 main ()
41848 {
41849  _isnanl(0);
41850   ;
41851   return 0;
41852 }
41853 _ACEOF
41854 if ac_fn_cxx_try_compile "$LINENO"; then :
41855   glibcxx_cv_func__isnanl_use=yes
41856 else
41857   glibcxx_cv_func__isnanl_use=no
41858 fi
41859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41860       ac_ext=c
41861 ac_cpp='$CPP $CPPFLAGS'
41862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41865
41866
41867 fi
41868
41869   fi
41870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41872
41873     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41874       for ac_func in _isnanl
41875 do :
41876   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41877 if test "x$ac_cv_func__isnanl" = x""yes; then :
41878   cat >>confdefs.h <<_ACEOF
41879 #define HAVE__ISNANL 1
41880 _ACEOF
41881
41882 fi
41883 done
41884
41885     fi
41886   fi
41887
41888
41889
41890
41891
41892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41893 $as_echo_n "checking for isinfl declaration... " >&6; }
41894   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41895     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41896   $as_echo_n "(cached) " >&6
41897 else
41898
41899
41900       ac_ext=cpp
41901 ac_cpp='$CXXCPP $CPPFLAGS'
41902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41905
41906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41907 /* end confdefs.h.  */
41908 #include <math.h>
41909                       #ifdef HAVE_IEEEFP_H
41910                       #include <ieeefp.h>
41911                       #endif
41912
41913 int
41914 main ()
41915 {
41916  isinfl(0);
41917   ;
41918   return 0;
41919 }
41920 _ACEOF
41921 if ac_fn_cxx_try_compile "$LINENO"; then :
41922   glibcxx_cv_func_isinfl_use=yes
41923 else
41924   glibcxx_cv_func_isinfl_use=no
41925 fi
41926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41927       ac_ext=c
41928 ac_cpp='$CPP $CPPFLAGS'
41929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41932
41933
41934 fi
41935
41936   fi
41937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41939
41940   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41941     for ac_func in isinfl
41942 do :
41943   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41944 if test "x$ac_cv_func_isinfl" = x""yes; then :
41945   cat >>confdefs.h <<_ACEOF
41946 #define HAVE_ISINFL 1
41947 _ACEOF
41948
41949 fi
41950 done
41951
41952   else
41953
41954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41955 $as_echo_n "checking for _isinfl declaration... " >&6; }
41956   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41957     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41958   $as_echo_n "(cached) " >&6
41959 else
41960
41961
41962       ac_ext=cpp
41963 ac_cpp='$CXXCPP $CPPFLAGS'
41964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41967
41968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41969 /* end confdefs.h.  */
41970 #include <math.h>
41971                       #ifdef HAVE_IEEEFP_H
41972                       #include <ieeefp.h>
41973                       #endif
41974
41975 int
41976 main ()
41977 {
41978  _isinfl(0);
41979   ;
41980   return 0;
41981 }
41982 _ACEOF
41983 if ac_fn_cxx_try_compile "$LINENO"; then :
41984   glibcxx_cv_func__isinfl_use=yes
41985 else
41986   glibcxx_cv_func__isinfl_use=no
41987 fi
41988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41989       ac_ext=c
41990 ac_cpp='$CPP $CPPFLAGS'
41991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41994
41995
41996 fi
41997
41998   fi
41999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42001
42002     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42003       for ac_func in _isinfl
42004 do :
42005   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42006 if test "x$ac_cv_func__isinfl" = x""yes; then :
42007   cat >>confdefs.h <<_ACEOF
42008 #define HAVE__ISINFL 1
42009 _ACEOF
42010
42011 fi
42012 done
42013
42014     fi
42015   fi
42016
42017
42018
42019
42020
42021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42022 $as_echo_n "checking for atan2l declaration... " >&6; }
42023   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42024     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42025   $as_echo_n "(cached) " >&6
42026 else
42027
42028
42029       ac_ext=cpp
42030 ac_cpp='$CXXCPP $CPPFLAGS'
42031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42034
42035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42036 /* end confdefs.h.  */
42037 #include <math.h>
42038 int
42039 main ()
42040 {
42041  atan2l(0, 0);
42042   ;
42043   return 0;
42044 }
42045 _ACEOF
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047   glibcxx_cv_func_atan2l_use=yes
42048 else
42049   glibcxx_cv_func_atan2l_use=no
42050 fi
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42052       ac_ext=c
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42057
42058
42059 fi
42060
42061   fi
42062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42064
42065   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42066     for ac_func in atan2l
42067 do :
42068   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42069 if test "x$ac_cv_func_atan2l" = x""yes; then :
42070   cat >>confdefs.h <<_ACEOF
42071 #define HAVE_ATAN2L 1
42072 _ACEOF
42073
42074 fi
42075 done
42076
42077   else
42078
42079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42080 $as_echo_n "checking for _atan2l declaration... " >&6; }
42081   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42082     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42083   $as_echo_n "(cached) " >&6
42084 else
42085
42086
42087       ac_ext=cpp
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092
42093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h.  */
42095 #include <math.h>
42096 int
42097 main ()
42098 {
42099  _atan2l(0, 0);
42100   ;
42101   return 0;
42102 }
42103 _ACEOF
42104 if ac_fn_cxx_try_compile "$LINENO"; then :
42105   glibcxx_cv_func__atan2l_use=yes
42106 else
42107   glibcxx_cv_func__atan2l_use=no
42108 fi
42109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42110       ac_ext=c
42111 ac_cpp='$CPP $CPPFLAGS'
42112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42115
42116
42117 fi
42118
42119   fi
42120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42122
42123     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42124       for ac_func in _atan2l
42125 do :
42126   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42127 if test "x$ac_cv_func__atan2l" = x""yes; then :
42128   cat >>confdefs.h <<_ACEOF
42129 #define HAVE__ATAN2L 1
42130 _ACEOF
42131
42132 fi
42133 done
42134
42135     fi
42136   fi
42137
42138
42139
42140
42141
42142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42143 $as_echo_n "checking for expl declaration... " >&6; }
42144   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42145     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42146   $as_echo_n "(cached) " >&6
42147 else
42148
42149
42150       ac_ext=cpp
42151 ac_cpp='$CXXCPP $CPPFLAGS'
42152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42155
42156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42157 /* end confdefs.h.  */
42158 #include <math.h>
42159                       #ifdef HAVE_IEEEFP_H
42160                       #include <ieeefp.h>
42161                       #endif
42162
42163 int
42164 main ()
42165 {
42166  expl(0);
42167   ;
42168   return 0;
42169 }
42170 _ACEOF
42171 if ac_fn_cxx_try_compile "$LINENO"; then :
42172   glibcxx_cv_func_expl_use=yes
42173 else
42174   glibcxx_cv_func_expl_use=no
42175 fi
42176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42177       ac_ext=c
42178 ac_cpp='$CPP $CPPFLAGS'
42179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42182
42183
42184 fi
42185
42186   fi
42187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42189
42190   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42191     for ac_func in expl
42192 do :
42193   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42194 if test "x$ac_cv_func_expl" = x""yes; then :
42195   cat >>confdefs.h <<_ACEOF
42196 #define HAVE_EXPL 1
42197 _ACEOF
42198
42199 fi
42200 done
42201
42202   else
42203
42204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42205 $as_echo_n "checking for _expl declaration... " >&6; }
42206   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42207     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42208   $as_echo_n "(cached) " >&6
42209 else
42210
42211
42212       ac_ext=cpp
42213 ac_cpp='$CXXCPP $CPPFLAGS'
42214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42217
42218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42219 /* end confdefs.h.  */
42220 #include <math.h>
42221                       #ifdef HAVE_IEEEFP_H
42222                       #include <ieeefp.h>
42223                       #endif
42224
42225 int
42226 main ()
42227 {
42228  _expl(0);
42229   ;
42230   return 0;
42231 }
42232 _ACEOF
42233 if ac_fn_cxx_try_compile "$LINENO"; then :
42234   glibcxx_cv_func__expl_use=yes
42235 else
42236   glibcxx_cv_func__expl_use=no
42237 fi
42238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42239       ac_ext=c
42240 ac_cpp='$CPP $CPPFLAGS'
42241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42244
42245
42246 fi
42247
42248   fi
42249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42251
42252     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42253       for ac_func in _expl
42254 do :
42255   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42256 if test "x$ac_cv_func__expl" = x""yes; then :
42257   cat >>confdefs.h <<_ACEOF
42258 #define HAVE__EXPL 1
42259 _ACEOF
42260
42261 fi
42262 done
42263
42264     fi
42265   fi
42266
42267
42268
42269
42270
42271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42272 $as_echo_n "checking for fabsl declaration... " >&6; }
42273   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42274     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42275   $as_echo_n "(cached) " >&6
42276 else
42277
42278
42279       ac_ext=cpp
42280 ac_cpp='$CXXCPP $CPPFLAGS'
42281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284
42285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42286 /* end confdefs.h.  */
42287 #include <math.h>
42288                       #ifdef HAVE_IEEEFP_H
42289                       #include <ieeefp.h>
42290                       #endif
42291
42292 int
42293 main ()
42294 {
42295  fabsl(0);
42296   ;
42297   return 0;
42298 }
42299 _ACEOF
42300 if ac_fn_cxx_try_compile "$LINENO"; then :
42301   glibcxx_cv_func_fabsl_use=yes
42302 else
42303   glibcxx_cv_func_fabsl_use=no
42304 fi
42305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42306       ac_ext=c
42307 ac_cpp='$CPP $CPPFLAGS'
42308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42311
42312
42313 fi
42314
42315   fi
42316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42318
42319   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42320     for ac_func in fabsl
42321 do :
42322   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42323 if test "x$ac_cv_func_fabsl" = x""yes; then :
42324   cat >>confdefs.h <<_ACEOF
42325 #define HAVE_FABSL 1
42326 _ACEOF
42327
42328 fi
42329 done
42330
42331   else
42332
42333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42334 $as_echo_n "checking for _fabsl declaration... " >&6; }
42335   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42336     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42337   $as_echo_n "(cached) " >&6
42338 else
42339
42340
42341       ac_ext=cpp
42342 ac_cpp='$CXXCPP $CPPFLAGS'
42343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42346
42347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42348 /* end confdefs.h.  */
42349 #include <math.h>
42350                       #ifdef HAVE_IEEEFP_H
42351                       #include <ieeefp.h>
42352                       #endif
42353
42354 int
42355 main ()
42356 {
42357  _fabsl(0);
42358   ;
42359   return 0;
42360 }
42361 _ACEOF
42362 if ac_fn_cxx_try_compile "$LINENO"; then :
42363   glibcxx_cv_func__fabsl_use=yes
42364 else
42365   glibcxx_cv_func__fabsl_use=no
42366 fi
42367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42368       ac_ext=c
42369 ac_cpp='$CPP $CPPFLAGS'
42370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42373
42374
42375 fi
42376
42377   fi
42378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42380
42381     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42382       for ac_func in _fabsl
42383 do :
42384   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42385 if test "x$ac_cv_func__fabsl" = x""yes; then :
42386   cat >>confdefs.h <<_ACEOF
42387 #define HAVE__FABSL 1
42388 _ACEOF
42389
42390 fi
42391 done
42392
42393     fi
42394   fi
42395
42396
42397
42398
42399
42400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42401 $as_echo_n "checking for fmodl declaration... " >&6; }
42402   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42403     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42404   $as_echo_n "(cached) " >&6
42405 else
42406
42407
42408       ac_ext=cpp
42409 ac_cpp='$CXXCPP $CPPFLAGS'
42410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42413
42414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42415 /* end confdefs.h.  */
42416 #include <math.h>
42417 int
42418 main ()
42419 {
42420  fmodl(0, 0);
42421   ;
42422   return 0;
42423 }
42424 _ACEOF
42425 if ac_fn_cxx_try_compile "$LINENO"; then :
42426   glibcxx_cv_func_fmodl_use=yes
42427 else
42428   glibcxx_cv_func_fmodl_use=no
42429 fi
42430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42431       ac_ext=c
42432 ac_cpp='$CPP $CPPFLAGS'
42433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42436
42437
42438 fi
42439
42440   fi
42441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42443
42444   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42445     for ac_func in fmodl
42446 do :
42447   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42448 if test "x$ac_cv_func_fmodl" = x""yes; then :
42449   cat >>confdefs.h <<_ACEOF
42450 #define HAVE_FMODL 1
42451 _ACEOF
42452
42453 fi
42454 done
42455
42456   else
42457
42458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42459 $as_echo_n "checking for _fmodl declaration... " >&6; }
42460   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42461     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42462   $as_echo_n "(cached) " >&6
42463 else
42464
42465
42466       ac_ext=cpp
42467 ac_cpp='$CXXCPP $CPPFLAGS'
42468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42471
42472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42473 /* end confdefs.h.  */
42474 #include <math.h>
42475 int
42476 main ()
42477 {
42478  _fmodl(0, 0);
42479   ;
42480   return 0;
42481 }
42482 _ACEOF
42483 if ac_fn_cxx_try_compile "$LINENO"; then :
42484   glibcxx_cv_func__fmodl_use=yes
42485 else
42486   glibcxx_cv_func__fmodl_use=no
42487 fi
42488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42489       ac_ext=c
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494
42495
42496 fi
42497
42498   fi
42499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42501
42502     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42503       for ac_func in _fmodl
42504 do :
42505   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42506 if test "x$ac_cv_func__fmodl" = x""yes; then :
42507   cat >>confdefs.h <<_ACEOF
42508 #define HAVE__FMODL 1
42509 _ACEOF
42510
42511 fi
42512 done
42513
42514     fi
42515   fi
42516
42517
42518
42519
42520
42521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42522 $as_echo_n "checking for frexpl declaration... " >&6; }
42523   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42524     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42525   $as_echo_n "(cached) " >&6
42526 else
42527
42528
42529       ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42534
42535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h.  */
42537 #include <math.h>
42538 int
42539 main ()
42540 {
42541  frexpl(0, 0);
42542   ;
42543   return 0;
42544 }
42545 _ACEOF
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547   glibcxx_cv_func_frexpl_use=yes
42548 else
42549   glibcxx_cv_func_frexpl_use=no
42550 fi
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42552       ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42557
42558
42559 fi
42560
42561   fi
42562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42564
42565   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42566     for ac_func in frexpl
42567 do :
42568   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42569 if test "x$ac_cv_func_frexpl" = x""yes; then :
42570   cat >>confdefs.h <<_ACEOF
42571 #define HAVE_FREXPL 1
42572 _ACEOF
42573
42574 fi
42575 done
42576
42577   else
42578
42579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42580 $as_echo_n "checking for _frexpl declaration... " >&6; }
42581   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42582     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42583   $as_echo_n "(cached) " >&6
42584 else
42585
42586
42587       ac_ext=cpp
42588 ac_cpp='$CXXCPP $CPPFLAGS'
42589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42592
42593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42594 /* end confdefs.h.  */
42595 #include <math.h>
42596 int
42597 main ()
42598 {
42599  _frexpl(0, 0);
42600   ;
42601   return 0;
42602 }
42603 _ACEOF
42604 if ac_fn_cxx_try_compile "$LINENO"; then :
42605   glibcxx_cv_func__frexpl_use=yes
42606 else
42607   glibcxx_cv_func__frexpl_use=no
42608 fi
42609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42610       ac_ext=c
42611 ac_cpp='$CPP $CPPFLAGS'
42612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615
42616
42617 fi
42618
42619   fi
42620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42622
42623     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42624       for ac_func in _frexpl
42625 do :
42626   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42627 if test "x$ac_cv_func__frexpl" = x""yes; then :
42628   cat >>confdefs.h <<_ACEOF
42629 #define HAVE__FREXPL 1
42630 _ACEOF
42631
42632 fi
42633 done
42634
42635     fi
42636   fi
42637
42638
42639
42640
42641
42642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42643 $as_echo_n "checking for hypotl declaration... " >&6; }
42644   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42645     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42646   $as_echo_n "(cached) " >&6
42647 else
42648
42649
42650       ac_ext=cpp
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42655
42656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42657 /* end confdefs.h.  */
42658 #include <math.h>
42659 int
42660 main ()
42661 {
42662  hypotl(0, 0);
42663   ;
42664   return 0;
42665 }
42666 _ACEOF
42667 if ac_fn_cxx_try_compile "$LINENO"; then :
42668   glibcxx_cv_func_hypotl_use=yes
42669 else
42670   glibcxx_cv_func_hypotl_use=no
42671 fi
42672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673       ac_ext=c
42674 ac_cpp='$CPP $CPPFLAGS'
42675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678
42679
42680 fi
42681
42682   fi
42683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42685
42686   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42687     for ac_func in hypotl
42688 do :
42689   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42690 if test "x$ac_cv_func_hypotl" = x""yes; then :
42691   cat >>confdefs.h <<_ACEOF
42692 #define HAVE_HYPOTL 1
42693 _ACEOF
42694
42695 fi
42696 done
42697
42698   else
42699
42700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42701 $as_echo_n "checking for _hypotl declaration... " >&6; }
42702   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42703     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42704   $as_echo_n "(cached) " >&6
42705 else
42706
42707
42708       ac_ext=cpp
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713
42714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42715 /* end confdefs.h.  */
42716 #include <math.h>
42717 int
42718 main ()
42719 {
42720  _hypotl(0, 0);
42721   ;
42722   return 0;
42723 }
42724 _ACEOF
42725 if ac_fn_cxx_try_compile "$LINENO"; then :
42726   glibcxx_cv_func__hypotl_use=yes
42727 else
42728   glibcxx_cv_func__hypotl_use=no
42729 fi
42730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42731       ac_ext=c
42732 ac_cpp='$CPP $CPPFLAGS'
42733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42736
42737
42738 fi
42739
42740   fi
42741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42743
42744     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42745       for ac_func in _hypotl
42746 do :
42747   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42748 if test "x$ac_cv_func__hypotl" = x""yes; then :
42749   cat >>confdefs.h <<_ACEOF
42750 #define HAVE__HYPOTL 1
42751 _ACEOF
42752
42753 fi
42754 done
42755
42756     fi
42757   fi
42758
42759
42760
42761
42762
42763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42764 $as_echo_n "checking for ldexpl declaration... " >&6; }
42765   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42766     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42767   $as_echo_n "(cached) " >&6
42768 else
42769
42770
42771       ac_ext=cpp
42772 ac_cpp='$CXXCPP $CPPFLAGS'
42773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42776
42777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42778 /* end confdefs.h.  */
42779 #include <math.h>
42780 int
42781 main ()
42782 {
42783  ldexpl(0, 0);
42784   ;
42785   return 0;
42786 }
42787 _ACEOF
42788 if ac_fn_cxx_try_compile "$LINENO"; then :
42789   glibcxx_cv_func_ldexpl_use=yes
42790 else
42791   glibcxx_cv_func_ldexpl_use=no
42792 fi
42793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42794       ac_ext=c
42795 ac_cpp='$CPP $CPPFLAGS'
42796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42799
42800
42801 fi
42802
42803   fi
42804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42806
42807   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42808     for ac_func in ldexpl
42809 do :
42810   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42812   cat >>confdefs.h <<_ACEOF
42813 #define HAVE_LDEXPL 1
42814 _ACEOF
42815
42816 fi
42817 done
42818
42819   else
42820
42821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42823   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42824     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42825   $as_echo_n "(cached) " >&6
42826 else
42827
42828
42829       ac_ext=cpp
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834
42835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42836 /* end confdefs.h.  */
42837 #include <math.h>
42838 int
42839 main ()
42840 {
42841  _ldexpl(0, 0);
42842   ;
42843   return 0;
42844 }
42845 _ACEOF
42846 if ac_fn_cxx_try_compile "$LINENO"; then :
42847   glibcxx_cv_func__ldexpl_use=yes
42848 else
42849   glibcxx_cv_func__ldexpl_use=no
42850 fi
42851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42852       ac_ext=c
42853 ac_cpp='$CPP $CPPFLAGS'
42854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42857
42858
42859 fi
42860
42861   fi
42862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42864
42865     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42866       for ac_func in _ldexpl
42867 do :
42868   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42870   cat >>confdefs.h <<_ACEOF
42871 #define HAVE__LDEXPL 1
42872 _ACEOF
42873
42874 fi
42875 done
42876
42877     fi
42878   fi
42879
42880
42881
42882
42883
42884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42885 $as_echo_n "checking for logl declaration... " >&6; }
42886   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42887     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42888   $as_echo_n "(cached) " >&6
42889 else
42890
42891
42892       ac_ext=cpp
42893 ac_cpp='$CXXCPP $CPPFLAGS'
42894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42897
42898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899 /* end confdefs.h.  */
42900 #include <math.h>
42901                       #ifdef HAVE_IEEEFP_H
42902                       #include <ieeefp.h>
42903                       #endif
42904
42905 int
42906 main ()
42907 {
42908  logl(0);
42909   ;
42910   return 0;
42911 }
42912 _ACEOF
42913 if ac_fn_cxx_try_compile "$LINENO"; then :
42914   glibcxx_cv_func_logl_use=yes
42915 else
42916   glibcxx_cv_func_logl_use=no
42917 fi
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42919       ac_ext=c
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42924
42925
42926 fi
42927
42928   fi
42929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42931
42932   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42933     for ac_func in logl
42934 do :
42935   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42936 if test "x$ac_cv_func_logl" = x""yes; then :
42937   cat >>confdefs.h <<_ACEOF
42938 #define HAVE_LOGL 1
42939 _ACEOF
42940
42941 fi
42942 done
42943
42944   else
42945
42946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42947 $as_echo_n "checking for _logl declaration... " >&6; }
42948   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42949     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42950   $as_echo_n "(cached) " >&6
42951 else
42952
42953
42954       ac_ext=cpp
42955 ac_cpp='$CXXCPP $CPPFLAGS'
42956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959
42960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42961 /* end confdefs.h.  */
42962 #include <math.h>
42963                       #ifdef HAVE_IEEEFP_H
42964                       #include <ieeefp.h>
42965                       #endif
42966
42967 int
42968 main ()
42969 {
42970  _logl(0);
42971   ;
42972   return 0;
42973 }
42974 _ACEOF
42975 if ac_fn_cxx_try_compile "$LINENO"; then :
42976   glibcxx_cv_func__logl_use=yes
42977 else
42978   glibcxx_cv_func__logl_use=no
42979 fi
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981       ac_ext=c
42982 ac_cpp='$CPP $CPPFLAGS'
42983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986
42987
42988 fi
42989
42990   fi
42991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42993
42994     if test x$glibcxx_cv_func__logl_use = x"yes"; then
42995       for ac_func in _logl
42996 do :
42997   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42998 if test "x$ac_cv_func__logl" = x""yes; then :
42999   cat >>confdefs.h <<_ACEOF
43000 #define HAVE__LOGL 1
43001 _ACEOF
43002
43003 fi
43004 done
43005
43006     fi
43007   fi
43008
43009
43010
43011
43012
43013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43014 $as_echo_n "checking for log10l declaration... " >&6; }
43015   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43016     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43017   $as_echo_n "(cached) " >&6
43018 else
43019
43020
43021       ac_ext=cpp
43022 ac_cpp='$CXXCPP $CPPFLAGS'
43023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026
43027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028 /* end confdefs.h.  */
43029 #include <math.h>
43030                       #ifdef HAVE_IEEEFP_H
43031                       #include <ieeefp.h>
43032                       #endif
43033
43034 int
43035 main ()
43036 {
43037  log10l(0);
43038   ;
43039   return 0;
43040 }
43041 _ACEOF
43042 if ac_fn_cxx_try_compile "$LINENO"; then :
43043   glibcxx_cv_func_log10l_use=yes
43044 else
43045   glibcxx_cv_func_log10l_use=no
43046 fi
43047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43048       ac_ext=c
43049 ac_cpp='$CPP $CPPFLAGS'
43050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053
43054
43055 fi
43056
43057   fi
43058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43060
43061   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43062     for ac_func in log10l
43063 do :
43064   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43065 if test "x$ac_cv_func_log10l" = x""yes; then :
43066   cat >>confdefs.h <<_ACEOF
43067 #define HAVE_LOG10L 1
43068 _ACEOF
43069
43070 fi
43071 done
43072
43073   else
43074
43075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43076 $as_echo_n "checking for _log10l declaration... " >&6; }
43077   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43078     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43079   $as_echo_n "(cached) " >&6
43080 else
43081
43082
43083       ac_ext=cpp
43084 ac_cpp='$CXXCPP $CPPFLAGS'
43085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43088
43089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090 /* end confdefs.h.  */
43091 #include <math.h>
43092                       #ifdef HAVE_IEEEFP_H
43093                       #include <ieeefp.h>
43094                       #endif
43095
43096 int
43097 main ()
43098 {
43099  _log10l(0);
43100   ;
43101   return 0;
43102 }
43103 _ACEOF
43104 if ac_fn_cxx_try_compile "$LINENO"; then :
43105   glibcxx_cv_func__log10l_use=yes
43106 else
43107   glibcxx_cv_func__log10l_use=no
43108 fi
43109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43110       ac_ext=c
43111 ac_cpp='$CPP $CPPFLAGS'
43112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115
43116
43117 fi
43118
43119   fi
43120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43122
43123     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43124       for ac_func in _log10l
43125 do :
43126   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43127 if test "x$ac_cv_func__log10l" = x""yes; then :
43128   cat >>confdefs.h <<_ACEOF
43129 #define HAVE__LOG10L 1
43130 _ACEOF
43131
43132 fi
43133 done
43134
43135     fi
43136   fi
43137
43138
43139
43140
43141
43142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43143 $as_echo_n "checking for modfl declaration... " >&6; }
43144   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43145     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43146   $as_echo_n "(cached) " >&6
43147 else
43148
43149
43150       ac_ext=cpp
43151 ac_cpp='$CXXCPP $CPPFLAGS'
43152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43155
43156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43157 /* end confdefs.h.  */
43158 #include <math.h>
43159 int
43160 main ()
43161 {
43162  modfl(0, 0);
43163   ;
43164   return 0;
43165 }
43166 _ACEOF
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168   glibcxx_cv_func_modfl_use=yes
43169 else
43170   glibcxx_cv_func_modfl_use=no
43171 fi
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173       ac_ext=c
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43178
43179
43180 fi
43181
43182   fi
43183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43185
43186   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43187     for ac_func in modfl
43188 do :
43189   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43190 if test "x$ac_cv_func_modfl" = x""yes; then :
43191   cat >>confdefs.h <<_ACEOF
43192 #define HAVE_MODFL 1
43193 _ACEOF
43194
43195 fi
43196 done
43197
43198   else
43199
43200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43201 $as_echo_n "checking for _modfl declaration... " >&6; }
43202   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43203     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43204   $as_echo_n "(cached) " >&6
43205 else
43206
43207
43208       ac_ext=cpp
43209 ac_cpp='$CXXCPP $CPPFLAGS'
43210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43213
43214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43215 /* end confdefs.h.  */
43216 #include <math.h>
43217 int
43218 main ()
43219 {
43220  _modfl(0, 0);
43221   ;
43222   return 0;
43223 }
43224 _ACEOF
43225 if ac_fn_cxx_try_compile "$LINENO"; then :
43226   glibcxx_cv_func__modfl_use=yes
43227 else
43228   glibcxx_cv_func__modfl_use=no
43229 fi
43230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43231       ac_ext=c
43232 ac_cpp='$CPP $CPPFLAGS'
43233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43236
43237
43238 fi
43239
43240   fi
43241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43243
43244     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43245       for ac_func in _modfl
43246 do :
43247   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43248 if test "x$ac_cv_func__modfl" = x""yes; then :
43249   cat >>confdefs.h <<_ACEOF
43250 #define HAVE__MODFL 1
43251 _ACEOF
43252
43253 fi
43254 done
43255
43256     fi
43257   fi
43258
43259
43260
43261
43262
43263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43264 $as_echo_n "checking for powl declaration... " >&6; }
43265   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43266     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43267   $as_echo_n "(cached) " >&6
43268 else
43269
43270
43271       ac_ext=cpp
43272 ac_cpp='$CXXCPP $CPPFLAGS'
43273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43276
43277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43278 /* end confdefs.h.  */
43279 #include <math.h>
43280 int
43281 main ()
43282 {
43283  powl(0, 0);
43284   ;
43285   return 0;
43286 }
43287 _ACEOF
43288 if ac_fn_cxx_try_compile "$LINENO"; then :
43289   glibcxx_cv_func_powl_use=yes
43290 else
43291   glibcxx_cv_func_powl_use=no
43292 fi
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294       ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299
43300
43301 fi
43302
43303   fi
43304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43306
43307   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43308     for ac_func in powl
43309 do :
43310   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43311 if test "x$ac_cv_func_powl" = x""yes; then :
43312   cat >>confdefs.h <<_ACEOF
43313 #define HAVE_POWL 1
43314 _ACEOF
43315
43316 fi
43317 done
43318
43319   else
43320
43321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43322 $as_echo_n "checking for _powl declaration... " >&6; }
43323   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43324     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43325   $as_echo_n "(cached) " >&6
43326 else
43327
43328
43329       ac_ext=cpp
43330 ac_cpp='$CXXCPP $CPPFLAGS'
43331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334
43335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43336 /* end confdefs.h.  */
43337 #include <math.h>
43338 int
43339 main ()
43340 {
43341  _powl(0, 0);
43342   ;
43343   return 0;
43344 }
43345 _ACEOF
43346 if ac_fn_cxx_try_compile "$LINENO"; then :
43347   glibcxx_cv_func__powl_use=yes
43348 else
43349   glibcxx_cv_func__powl_use=no
43350 fi
43351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43352       ac_ext=c
43353 ac_cpp='$CPP $CPPFLAGS'
43354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357
43358
43359 fi
43360
43361   fi
43362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43364
43365     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43366       for ac_func in _powl
43367 do :
43368   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43369 if test "x$ac_cv_func__powl" = x""yes; then :
43370   cat >>confdefs.h <<_ACEOF
43371 #define HAVE__POWL 1
43372 _ACEOF
43373
43374 fi
43375 done
43376
43377     fi
43378   fi
43379
43380
43381
43382
43383
43384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43385 $as_echo_n "checking for sqrtl declaration... " >&6; }
43386   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43387     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43388   $as_echo_n "(cached) " >&6
43389 else
43390
43391
43392       ac_ext=cpp
43393 ac_cpp='$CXXCPP $CPPFLAGS'
43394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43397
43398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399 /* end confdefs.h.  */
43400 #include <math.h>
43401                       #ifdef HAVE_IEEEFP_H
43402                       #include <ieeefp.h>
43403                       #endif
43404
43405 int
43406 main ()
43407 {
43408  sqrtl(0);
43409   ;
43410   return 0;
43411 }
43412 _ACEOF
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414   glibcxx_cv_func_sqrtl_use=yes
43415 else
43416   glibcxx_cv_func_sqrtl_use=no
43417 fi
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419       ac_ext=c
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43424
43425
43426 fi
43427
43428   fi
43429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43431
43432   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43433     for ac_func in sqrtl
43434 do :
43435   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43437   cat >>confdefs.h <<_ACEOF
43438 #define HAVE_SQRTL 1
43439 _ACEOF
43440
43441 fi
43442 done
43443
43444   else
43445
43446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43448   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43449     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43450   $as_echo_n "(cached) " >&6
43451 else
43452
43453
43454       ac_ext=cpp
43455 ac_cpp='$CXXCPP $CPPFLAGS'
43456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43459
43460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43461 /* end confdefs.h.  */
43462 #include <math.h>
43463                       #ifdef HAVE_IEEEFP_H
43464                       #include <ieeefp.h>
43465                       #endif
43466
43467 int
43468 main ()
43469 {
43470  _sqrtl(0);
43471   ;
43472   return 0;
43473 }
43474 _ACEOF
43475 if ac_fn_cxx_try_compile "$LINENO"; then :
43476   glibcxx_cv_func__sqrtl_use=yes
43477 else
43478   glibcxx_cv_func__sqrtl_use=no
43479 fi
43480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43481       ac_ext=c
43482 ac_cpp='$CPP $CPPFLAGS'
43483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486
43487
43488 fi
43489
43490   fi
43491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43493
43494     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43495       for ac_func in _sqrtl
43496 do :
43497   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43499   cat >>confdefs.h <<_ACEOF
43500 #define HAVE__SQRTL 1
43501 _ACEOF
43502
43503 fi
43504 done
43505
43506     fi
43507   fi
43508
43509
43510
43511
43512
43513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43514 $as_echo_n "checking for sincosl declaration... " >&6; }
43515   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43516     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43517   $as_echo_n "(cached) " >&6
43518 else
43519
43520
43521       ac_ext=cpp
43522 ac_cpp='$CXXCPP $CPPFLAGS'
43523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43526
43527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43528 /* end confdefs.h.  */
43529 #include <math.h>
43530 int
43531 main ()
43532 {
43533  sincosl(0, 0, 0);
43534   ;
43535   return 0;
43536 }
43537 _ACEOF
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539   glibcxx_cv_func_sincosl_use=yes
43540 else
43541   glibcxx_cv_func_sincosl_use=no
43542 fi
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544       ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43549
43550
43551 fi
43552
43553   fi
43554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43556
43557   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43558     for ac_func in sincosl
43559 do :
43560   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43561 if test "x$ac_cv_func_sincosl" = x""yes; then :
43562   cat >>confdefs.h <<_ACEOF
43563 #define HAVE_SINCOSL 1
43564 _ACEOF
43565
43566 fi
43567 done
43568
43569   else
43570
43571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43572 $as_echo_n "checking for _sincosl declaration... " >&6; }
43573   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43574     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43575   $as_echo_n "(cached) " >&6
43576 else
43577
43578
43579       ac_ext=cpp
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43584
43585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43586 /* end confdefs.h.  */
43587 #include <math.h>
43588 int
43589 main ()
43590 {
43591  _sincosl(0, 0, 0);
43592   ;
43593   return 0;
43594 }
43595 _ACEOF
43596 if ac_fn_cxx_try_compile "$LINENO"; then :
43597   glibcxx_cv_func__sincosl_use=yes
43598 else
43599   glibcxx_cv_func__sincosl_use=no
43600 fi
43601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43602       ac_ext=c
43603 ac_cpp='$CPP $CPPFLAGS'
43604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43607
43608
43609 fi
43610
43611   fi
43612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43614
43615     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43616       for ac_func in _sincosl
43617 do :
43618   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43619 if test "x$ac_cv_func__sincosl" = x""yes; then :
43620   cat >>confdefs.h <<_ACEOF
43621 #define HAVE__SINCOSL 1
43622 _ACEOF
43623
43624 fi
43625 done
43626
43627     fi
43628   fi
43629
43630
43631
43632
43633
43634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43635 $as_echo_n "checking for finitel declaration... " >&6; }
43636   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43637     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43638   $as_echo_n "(cached) " >&6
43639 else
43640
43641
43642       ac_ext=cpp
43643 ac_cpp='$CXXCPP $CPPFLAGS'
43644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43647
43648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43649 /* end confdefs.h.  */
43650 #include <math.h>
43651                       #ifdef HAVE_IEEEFP_H
43652                       #include <ieeefp.h>
43653                       #endif
43654
43655 int
43656 main ()
43657 {
43658  finitel(0);
43659   ;
43660   return 0;
43661 }
43662 _ACEOF
43663 if ac_fn_cxx_try_compile "$LINENO"; then :
43664   glibcxx_cv_func_finitel_use=yes
43665 else
43666   glibcxx_cv_func_finitel_use=no
43667 fi
43668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43669       ac_ext=c
43670 ac_cpp='$CPP $CPPFLAGS'
43671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43674
43675
43676 fi
43677
43678   fi
43679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43681
43682   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43683     for ac_func in finitel
43684 do :
43685   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43686 if test "x$ac_cv_func_finitel" = x""yes; then :
43687   cat >>confdefs.h <<_ACEOF
43688 #define HAVE_FINITEL 1
43689 _ACEOF
43690
43691 fi
43692 done
43693
43694   else
43695
43696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43697 $as_echo_n "checking for _finitel declaration... " >&6; }
43698   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43699     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43700   $as_echo_n "(cached) " >&6
43701 else
43702
43703
43704       ac_ext=cpp
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709
43710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h.  */
43712 #include <math.h>
43713                       #ifdef HAVE_IEEEFP_H
43714                       #include <ieeefp.h>
43715                       #endif
43716
43717 int
43718 main ()
43719 {
43720  _finitel(0);
43721   ;
43722   return 0;
43723 }
43724 _ACEOF
43725 if ac_fn_cxx_try_compile "$LINENO"; then :
43726   glibcxx_cv_func__finitel_use=yes
43727 else
43728   glibcxx_cv_func__finitel_use=no
43729 fi
43730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43731       ac_ext=c
43732 ac_cpp='$CPP $CPPFLAGS'
43733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43736
43737
43738 fi
43739
43740   fi
43741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43743
43744     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43745       for ac_func in _finitel
43746 do :
43747   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43748 if test "x$ac_cv_func__finitel" = x""yes; then :
43749   cat >>confdefs.h <<_ACEOF
43750 #define HAVE__FINITEL 1
43751 _ACEOF
43752
43753 fi
43754 done
43755
43756     fi
43757   fi
43758
43759
43760
43761
43762   LIBS="$ac_save_LIBS"
43763   CXXFLAGS="$ac_save_CXXFLAGS"
43764
43765
43766   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43767   ac_save_CXXFLAGS="$CXXFLAGS"
43768   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43769
43770
43771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43772 $as_echo_n "checking for strtold declaration... " >&6; }
43773   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43774     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43775   $as_echo_n "(cached) " >&6
43776 else
43777
43778
43779       ac_ext=cpp
43780 ac_cpp='$CXXCPP $CPPFLAGS'
43781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43784
43785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43786 /* end confdefs.h.  */
43787 #include <stdlib.h>
43788 int
43789 main ()
43790 {
43791  strtold(0, 0);
43792   ;
43793   return 0;
43794 }
43795 _ACEOF
43796 if ac_fn_cxx_try_compile "$LINENO"; then :
43797   glibcxx_cv_func_strtold_use=yes
43798 else
43799   glibcxx_cv_func_strtold_use=no
43800 fi
43801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43802       ac_ext=c
43803 ac_cpp='$CPP $CPPFLAGS'
43804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43807
43808
43809 fi
43810
43811   fi
43812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43813 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43814   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43815     for ac_func in strtold
43816 do :
43817   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43818 if test "x$ac_cv_func_strtold" = x""yes; then :
43819   cat >>confdefs.h <<_ACEOF
43820 #define HAVE_STRTOLD 1
43821 _ACEOF
43822
43823 fi
43824 done
43825
43826   fi
43827
43828
43829
43830
43831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43832 $as_echo_n "checking for strtof declaration... " >&6; }
43833   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43834     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43835   $as_echo_n "(cached) " >&6
43836 else
43837
43838
43839       ac_ext=cpp
43840 ac_cpp='$CXXCPP $CPPFLAGS'
43841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43844
43845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43846 /* end confdefs.h.  */
43847 #include <stdlib.h>
43848 int
43849 main ()
43850 {
43851  strtof(0, 0);
43852   ;
43853   return 0;
43854 }
43855 _ACEOF
43856 if ac_fn_cxx_try_compile "$LINENO"; then :
43857   glibcxx_cv_func_strtof_use=yes
43858 else
43859   glibcxx_cv_func_strtof_use=no
43860 fi
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862       ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43867
43868
43869 fi
43870
43871   fi
43872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43873 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43874   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43875     for ac_func in strtof
43876 do :
43877   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43878 if test "x$ac_cv_func_strtof" = x""yes; then :
43879   cat >>confdefs.h <<_ACEOF
43880 #define HAVE_STRTOF 1
43881 _ACEOF
43882
43883 fi
43884 done
43885
43886   fi
43887
43888
43889
43890
43891   CXXFLAGS="$ac_save_CXXFLAGS"
43892
43893     ;;
43894
43895   *djgpp)
43896     # GLIBCXX_CHECK_MATH_SUPPORT
43897     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43898
43899     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43900
43901     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43902
43903     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43904
43905     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43906
43907     ;;
43908
43909   *-freebsd*)
43910     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43911
43912
43913   # If we're not using GNU ld, then there's no point in even trying these
43914   # tests.  Check for that first.  We should have already tested for gld
43915   # by now (in libtool), but require it now just to be safe...
43916   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43917   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43918
43919
43920
43921   # The name set by libtool depends on the version of libtool.  Shame on us
43922   # for depending on an impl detail, but c'est la vie.  Older versions used
43923   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43924   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43925   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43926   # set (hence we're using an older libtool), then set it.
43927   if test x${with_gnu_ld+set} != xset; then
43928     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43929       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43930       with_gnu_ld=no
43931     else
43932       with_gnu_ld=$ac_cv_prog_gnu_ld
43933     fi
43934   fi
43935
43936   # Start by getting the version number.  I think the libtool test already
43937   # does some of this, but throws away the result.
43938   glibcxx_ld_is_gold=no
43939   if test x"$with_gnu_ld" = x"yes"; then
43940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43941 $as_echo_n "checking for ld version... " >&6; }
43942
43943     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43944       glibcxx_ld_is_gold=yes
43945     fi
43946     ldver=`$LD --version 2>/dev/null |
43947            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'`
43948
43949     glibcxx_gnu_ld_version=`echo $ldver | \
43950            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43953   fi
43954
43955   # Set --gc-sections.
43956   glibcxx_have_gc_sections=no
43957   if test "$glibcxx_ld_is_gold" = "yes"; then
43958     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43959       glibcxx_have_gc_sections=yes
43960     fi
43961   else
43962     glibcxx_gcsections_min_ld=21602
43963     if test x"$with_gnu_ld" = x"yes" &&
43964         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43965       glibcxx_have_gc_sections=yes
43966     fi
43967   fi
43968   if test "$glibcxx_have_gc_sections" = "yes"; then
43969     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43970     # NB: This flag only works reliably after 2.16.1. Configure tests
43971     # for this are difficult, so hard wire a value that should work.
43972
43973     ac_test_CFLAGS="${CFLAGS+set}"
43974     ac_save_CFLAGS="$CFLAGS"
43975     CFLAGS='-Wl,--gc-sections'
43976
43977     # Check for -Wl,--gc-sections
43978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43980     if test x$gcc_no_link = xyes; then
43981   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43982 fi
43983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43984 /* end confdefs.h.  */
43985  int one(void) { return 1; }
43986      int two(void) { return 2; }
43987
43988 int
43989 main ()
43990 {
43991  two();
43992   ;
43993   return 0;
43994 }
43995 _ACEOF
43996 if ac_fn_c_try_link "$LINENO"; then :
43997   ac_gcsections=yes
43998 else
43999   ac_gcsections=no
44000 fi
44001 rm -f core conftest.err conftest.$ac_objext \
44002     conftest$ac_exeext conftest.$ac_ext
44003     if test "$ac_gcsections" = "yes"; then
44004       rm -f conftest.c
44005       touch conftest.c
44006       if $CC -c conftest.c; then
44007         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44008            grep "Warning: gc-sections option ignored" > /dev/null; then
44009           ac_gcsections=no
44010         fi
44011       fi
44012       rm -f conftest.c conftest.o conftest
44013     fi
44014     if test "$ac_gcsections" = "yes"; then
44015       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44016     fi
44017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44018 $as_echo "$ac_gcsections" >&6; }
44019
44020     if test "$ac_test_CFLAGS" = set; then
44021       CFLAGS="$ac_save_CFLAGS"
44022     else
44023       # this is the suspicious part
44024       CFLAGS=''
44025     fi
44026   fi
44027
44028   # Set -z,relro.
44029   # Note this is only for shared objects.
44030   ac_ld_relro=no
44031   if test x"$with_gnu_ld" = x"yes"; then
44032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44034     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44035     if test -n "$cxx_z_relo"; then
44036       OPT_LDFLAGS="-Wl,-z,relro"
44037       ac_ld_relro=yes
44038     fi
44039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44040 $as_echo "$ac_ld_relro" >&6; }
44041   fi
44042
44043   # Set linker optimization flags.
44044   if test x"$with_gnu_ld" = x"yes"; then
44045     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44046   fi
44047
44048
44049
44050
44051     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44052
44053     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44054
44055     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44056
44057     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44058
44059     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44060
44061     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44062
44063     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44064
44065     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44066
44067     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44068
44069
44070     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44071
44072     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44073
44074     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44075
44076     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44077
44078     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44079
44080     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44081
44082     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44083
44084     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44085
44086     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44087
44088     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44089
44090     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44091
44092     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44093
44094     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44095
44096     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44097
44098     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44099
44100     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44101
44102     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44103
44104     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44105
44106     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44107
44108     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44109
44110     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44111
44112     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44113
44114     if test x"long_double_math_on_this_cpu" = x"yes"; then
44115       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44116
44117       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44118
44119       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44120
44121     fi
44122     ;;
44123   *-hpux*)
44124     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44125
44126
44127   # If we're not using GNU ld, then there's no point in even trying these
44128   # tests.  Check for that first.  We should have already tested for gld
44129   # by now (in libtool), but require it now just to be safe...
44130   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44131   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44132
44133
44134
44135   # The name set by libtool depends on the version of libtool.  Shame on us
44136   # for depending on an impl detail, but c'est la vie.  Older versions used
44137   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44138   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44139   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44140   # set (hence we're using an older libtool), then set it.
44141   if test x${with_gnu_ld+set} != xset; then
44142     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44143       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44144       with_gnu_ld=no
44145     else
44146       with_gnu_ld=$ac_cv_prog_gnu_ld
44147     fi
44148   fi
44149
44150   # Start by getting the version number.  I think the libtool test already
44151   # does some of this, but throws away the result.
44152   glibcxx_ld_is_gold=no
44153   if test x"$with_gnu_ld" = x"yes"; then
44154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44155 $as_echo_n "checking for ld version... " >&6; }
44156
44157     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44158       glibcxx_ld_is_gold=yes
44159     fi
44160     ldver=`$LD --version 2>/dev/null |
44161            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'`
44162
44163     glibcxx_gnu_ld_version=`echo $ldver | \
44164            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44166 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44167   fi
44168
44169   # Set --gc-sections.
44170   glibcxx_have_gc_sections=no
44171   if test "$glibcxx_ld_is_gold" = "yes"; then
44172     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44173       glibcxx_have_gc_sections=yes
44174     fi
44175   else
44176     glibcxx_gcsections_min_ld=21602
44177     if test x"$with_gnu_ld" = x"yes" &&
44178         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44179       glibcxx_have_gc_sections=yes
44180     fi
44181   fi
44182   if test "$glibcxx_have_gc_sections" = "yes"; then
44183     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44184     # NB: This flag only works reliably after 2.16.1. Configure tests
44185     # for this are difficult, so hard wire a value that should work.
44186
44187     ac_test_CFLAGS="${CFLAGS+set}"
44188     ac_save_CFLAGS="$CFLAGS"
44189     CFLAGS='-Wl,--gc-sections'
44190
44191     # Check for -Wl,--gc-sections
44192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44193 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44194     if test x$gcc_no_link = xyes; then
44195   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44196 fi
44197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44198 /* end confdefs.h.  */
44199  int one(void) { return 1; }
44200      int two(void) { return 2; }
44201
44202 int
44203 main ()
44204 {
44205  two();
44206   ;
44207   return 0;
44208 }
44209 _ACEOF
44210 if ac_fn_c_try_link "$LINENO"; then :
44211   ac_gcsections=yes
44212 else
44213   ac_gcsections=no
44214 fi
44215 rm -f core conftest.err conftest.$ac_objext \
44216     conftest$ac_exeext conftest.$ac_ext
44217     if test "$ac_gcsections" = "yes"; then
44218       rm -f conftest.c
44219       touch conftest.c
44220       if $CC -c conftest.c; then
44221         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44222            grep "Warning: gc-sections option ignored" > /dev/null; then
44223           ac_gcsections=no
44224         fi
44225       fi
44226       rm -f conftest.c conftest.o conftest
44227     fi
44228     if test "$ac_gcsections" = "yes"; then
44229       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44230     fi
44231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44232 $as_echo "$ac_gcsections" >&6; }
44233
44234     if test "$ac_test_CFLAGS" = set; then
44235       CFLAGS="$ac_save_CFLAGS"
44236     else
44237       # this is the suspicious part
44238       CFLAGS=''
44239     fi
44240   fi
44241
44242   # Set -z,relro.
44243   # Note this is only for shared objects.
44244   ac_ld_relro=no
44245   if test x"$with_gnu_ld" = x"yes"; then
44246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44248     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44249     if test -n "$cxx_z_relo"; then
44250       OPT_LDFLAGS="-Wl,-z,relro"
44251       ac_ld_relro=yes
44252     fi
44253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44254 $as_echo "$ac_ld_relro" >&6; }
44255   fi
44256
44257   # Set linker optimization flags.
44258   if test x"$with_gnu_ld" = x"yes"; then
44259     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44260   fi
44261
44262
44263
44264
44265
44266     # GLIBCXX_CHECK_MATH_SUPPORT
44267     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44268
44269     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44270
44271     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44272
44273     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44274
44275     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44276
44277     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44278
44279     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44280
44281     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44282
44283     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44284
44285     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44286
44287     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44288
44289     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44290
44291     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44292
44293     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44294
44295     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44296
44297     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44298
44299     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44300
44301     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44302
44303     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44304
44305     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44306
44307     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44308
44309
44310     # GLIBCXX_CHECK_STDLIB_SUPPORT
44311     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44312
44313
44314
44315
44316    # Check whether --enable-tls was given.
44317 if test "${enable_tls+set}" = set; then :
44318   enableval=$enable_tls;
44319       case "$enableval" in
44320        yes|no) ;;
44321        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44322       esac
44323
44324 else
44325   enable_tls=yes
44326 fi
44327
44328
44329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44330 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44331 if test "${gcc_cv_have_tls+set}" = set; then :
44332   $as_echo_n "(cached) " >&6
44333 else
44334
44335     if test "$cross_compiling" = yes; then :
44336                 if test x$gcc_no_link = xyes; then
44337   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44338 fi
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h.  */
44341 __thread int a; int b; int main() { return a = b; }
44342 _ACEOF
44343 if ac_fn_c_try_link "$LINENO"; then :
44344   chktls_save_LDFLAGS="$LDFLAGS"
44345                           case $host in
44346             *-*-linux*)
44347               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44348               ;;
44349           esac
44350           chktls_save_CFLAGS="$CFLAGS"
44351           CFLAGS="-fPIC $CFLAGS"
44352                   if test x$gcc_no_link = xyes; then
44353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44354 fi
44355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44356 /* end confdefs.h.  */
44357 int f() { return 0; }
44358 _ACEOF
44359 if ac_fn_c_try_link "$LINENO"; then :
44360   if test x$gcc_no_link = xyes; then
44361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44362 fi
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h.  */
44365 __thread int a; int b; int f() { return a = b; }
44366 _ACEOF
44367 if ac_fn_c_try_link "$LINENO"; then :
44368   gcc_cv_have_tls=yes
44369 else
44370   gcc_cv_have_tls=no
44371 fi
44372 rm -f core conftest.err conftest.$ac_objext \
44373     conftest$ac_exeext conftest.$ac_ext
44374 else
44375   gcc_cv_have_tls=yes
44376 fi
44377 rm -f core conftest.err conftest.$ac_objext \
44378     conftest$ac_exeext conftest.$ac_ext
44379           CFLAGS="$chktls_save_CFLAGS"
44380           LDFLAGS="$chktls_save_LDFLAGS"
44381 else
44382   gcc_cv_have_tls=no
44383 fi
44384 rm -f core conftest.err conftest.$ac_objext \
44385     conftest$ac_exeext conftest.$ac_ext
44386
44387
44388 else
44389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h.  */
44391 __thread int a; int b; int main() { return a = b; }
44392 _ACEOF
44393 if ac_fn_c_try_run "$LINENO"; then :
44394                       chktls_save_LDFLAGS="$LDFLAGS"
44395       LDFLAGS="-static $LDFLAGS"
44396       if test x$gcc_no_link = xyes; then
44397   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44398 fi
44399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44400 /* end confdefs.h.  */
44401 int main() { return 0; }
44402 _ACEOF
44403 if ac_fn_c_try_link "$LINENO"; then :
44404   if test "$cross_compiling" = yes; then :
44405   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44407 as_fn_error "cannot run test program while cross compiling
44408 See \`config.log' for more details." "$LINENO" 5; }
44409 else
44410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44411 /* end confdefs.h.  */
44412 __thread int a; int b; int main() { return a = b; }
44413 _ACEOF
44414 if ac_fn_c_try_run "$LINENO"; then :
44415   gcc_cv_have_tls=yes
44416 else
44417   gcc_cv_have_tls=no
44418 fi
44419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44420   conftest.$ac_objext conftest.beam conftest.$ac_ext
44421 fi
44422
44423 else
44424   gcc_cv_have_tls=yes
44425 fi
44426 rm -f core conftest.err conftest.$ac_objext \
44427     conftest$ac_exeext conftest.$ac_ext
44428       LDFLAGS="$chktls_save_LDFLAGS"
44429       if test $gcc_cv_have_tls = yes; then
44430                                                 chktls_save_CFLAGS="$CFLAGS"
44431         thread_CFLAGS=failed
44432         for flag in '' '-pthread' '-lpthread'; do
44433           CFLAGS="$flag $chktls_save_CFLAGS"
44434           if test x$gcc_no_link = xyes; then
44435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44436 fi
44437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44438 /* end confdefs.h.  */
44439 #include <pthread.h>
44440                 void *g(void *d) { return NULL; }
44441 int
44442 main ()
44443 {
44444 pthread_t t; pthread_create(&t,NULL,g,NULL);
44445   ;
44446   return 0;
44447 }
44448 _ACEOF
44449 if ac_fn_c_try_link "$LINENO"; then :
44450   thread_CFLAGS="$flag"
44451 fi
44452 rm -f core conftest.err conftest.$ac_objext \
44453     conftest$ac_exeext conftest.$ac_ext
44454           if test "X$thread_CFLAGS" != Xfailed; then
44455             break
44456           fi
44457         done
44458         CFLAGS="$chktls_save_CFLAGS"
44459         if test "X$thread_CFLAGS" != Xfailed; then
44460           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44461           if test "$cross_compiling" = yes; then :
44462   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44464 as_fn_error "cannot run test program while cross compiling
44465 See \`config.log' for more details." "$LINENO" 5; }
44466 else
44467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44468 /* end confdefs.h.  */
44469 #include <pthread.h>
44470                 __thread int a;
44471                 static int *a_in_other_thread;
44472                 static void *
44473                 thread_func (void *arg)
44474                 {
44475                   a_in_other_thread = &a;
44476                   return (void *)0;
44477                 }
44478 int
44479 main ()
44480 {
44481 pthread_t thread;
44482                 void *thread_retval;
44483                 int *a_in_main_thread;
44484                 if (pthread_create (&thread, (pthread_attr_t *)0,
44485                                     thread_func, (void *)0))
44486                   return 0;
44487                 a_in_main_thread = &a;
44488                 if (pthread_join (thread, &thread_retval))
44489                   return 0;
44490                 return (a_in_other_thread == a_in_main_thread);
44491   ;
44492   return 0;
44493 }
44494 _ACEOF
44495 if ac_fn_c_try_run "$LINENO"; then :
44496   gcc_cv_have_tls=yes
44497 else
44498   gcc_cv_have_tls=no
44499 fi
44500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44501   conftest.$ac_objext conftest.beam conftest.$ac_ext
44502 fi
44503
44504           CFLAGS="$chktls_save_CFLAGS"
44505         fi
44506       fi
44507 else
44508   gcc_cv_have_tls=no
44509 fi
44510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44511   conftest.$ac_objext conftest.beam conftest.$ac_ext
44512 fi
44513
44514 fi
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44516 $as_echo "$gcc_cv_have_tls" >&6; }
44517   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44518
44519 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44520
44521   fi
44522     case "$target" in
44523       *-hpux10*)
44524         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44525
44526         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44527
44528         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44529
44530         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44531
44532         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44533
44534         ;;
44535     esac
44536     ;;
44537   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44538
44539   # All these tests are for C++; save the language and the compiler flags.
44540   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44541   # found in GLIBCXX_CONFIGURE.
44542
44543   ac_ext=cpp
44544 ac_cpp='$CXXCPP $CPPFLAGS'
44545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44548
44549   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44550   ac_save_CXXFLAGS="$CXXFLAGS"
44551
44552   # Check for maintainer-mode bits.
44553   if test x"$USE_MAINTAINER_MODE" = xno; then
44554     WERROR=''
44555   else
44556     WERROR='-Werror'
44557   fi
44558
44559   # Check for -ffunction-sections -fdata-sections
44560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44561 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44562   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h.  */
44565 int foo; void bar() { };
44566 int
44567 main ()
44568 {
44569
44570   ;
44571   return 0;
44572 }
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575   ac_fdsections=yes
44576 else
44577   ac_fdsections=no
44578 fi
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580   if test "$ac_test_CXXFLAGS" = set; then
44581     CXXFLAGS="$ac_save_CXXFLAGS"
44582   else
44583     # this is the suspicious part
44584     CXXFLAGS=''
44585   fi
44586   if test x"$ac_fdsections" = x"yes"; then
44587     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44588   fi
44589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44590 $as_echo "$ac_fdsections" >&6; }
44591
44592   ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597
44598
44599
44600
44601
44602   # If we're not using GNU ld, then there's no point in even trying these
44603   # tests.  Check for that first.  We should have already tested for gld
44604   # by now (in libtool), but require it now just to be safe...
44605   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44606   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44607
44608
44609
44610   # The name set by libtool depends on the version of libtool.  Shame on us
44611   # for depending on an impl detail, but c'est la vie.  Older versions used
44612   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44613   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44614   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44615   # set (hence we're using an older libtool), then set it.
44616   if test x${with_gnu_ld+set} != xset; then
44617     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44618       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44619       with_gnu_ld=no
44620     else
44621       with_gnu_ld=$ac_cv_prog_gnu_ld
44622     fi
44623   fi
44624
44625   # Start by getting the version number.  I think the libtool test already
44626   # does some of this, but throws away the result.
44627   glibcxx_ld_is_gold=no
44628   if test x"$with_gnu_ld" = x"yes"; then
44629     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44630 $as_echo_n "checking for ld version... " >&6; }
44631
44632     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44633       glibcxx_ld_is_gold=yes
44634     fi
44635     ldver=`$LD --version 2>/dev/null |
44636            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'`
44637
44638     glibcxx_gnu_ld_version=`echo $ldver | \
44639            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44641 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44642   fi
44643
44644   # Set --gc-sections.
44645   glibcxx_have_gc_sections=no
44646   if test "$glibcxx_ld_is_gold" = "yes"; then
44647     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44648       glibcxx_have_gc_sections=yes
44649     fi
44650   else
44651     glibcxx_gcsections_min_ld=21602
44652     if test x"$with_gnu_ld" = x"yes" &&
44653         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44654       glibcxx_have_gc_sections=yes
44655     fi
44656   fi
44657   if test "$glibcxx_have_gc_sections" = "yes"; then
44658     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44659     # NB: This flag only works reliably after 2.16.1. Configure tests
44660     # for this are difficult, so hard wire a value that should work.
44661
44662     ac_test_CFLAGS="${CFLAGS+set}"
44663     ac_save_CFLAGS="$CFLAGS"
44664     CFLAGS='-Wl,--gc-sections'
44665
44666     # Check for -Wl,--gc-sections
44667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44668 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44669     if test x$gcc_no_link = xyes; then
44670   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44671 fi
44672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673 /* end confdefs.h.  */
44674  int one(void) { return 1; }
44675      int two(void) { return 2; }
44676
44677 int
44678 main ()
44679 {
44680  two();
44681   ;
44682   return 0;
44683 }
44684 _ACEOF
44685 if ac_fn_c_try_link "$LINENO"; then :
44686   ac_gcsections=yes
44687 else
44688   ac_gcsections=no
44689 fi
44690 rm -f core conftest.err conftest.$ac_objext \
44691     conftest$ac_exeext conftest.$ac_ext
44692     if test "$ac_gcsections" = "yes"; then
44693       rm -f conftest.c
44694       touch conftest.c
44695       if $CC -c conftest.c; then
44696         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44697            grep "Warning: gc-sections option ignored" > /dev/null; then
44698           ac_gcsections=no
44699         fi
44700       fi
44701       rm -f conftest.c conftest.o conftest
44702     fi
44703     if test "$ac_gcsections" = "yes"; then
44704       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44705     fi
44706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44707 $as_echo "$ac_gcsections" >&6; }
44708
44709     if test "$ac_test_CFLAGS" = set; then
44710       CFLAGS="$ac_save_CFLAGS"
44711     else
44712       # this is the suspicious part
44713       CFLAGS=''
44714     fi
44715   fi
44716
44717   # Set -z,relro.
44718   # Note this is only for shared objects.
44719   ac_ld_relro=no
44720   if test x"$with_gnu_ld" = x"yes"; then
44721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44722 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44723     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44724     if test -n "$cxx_z_relo"; then
44725       OPT_LDFLAGS="-Wl,-z,relro"
44726       ac_ld_relro=yes
44727     fi
44728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44729 $as_echo "$ac_ld_relro" >&6; }
44730   fi
44731
44732   # Set linker optimization flags.
44733   if test x"$with_gnu_ld" = x"yes"; then
44734     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44735   fi
44736
44737
44738
44739
44740
44741   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44742   ac_save_CXXFLAGS="$CXXFLAGS"
44743   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44744
44745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44746 $as_echo_n "checking for sin in -lm... " >&6; }
44747 if test "${ac_cv_lib_m_sin+set}" = set; then :
44748   $as_echo_n "(cached) " >&6
44749 else
44750   ac_check_lib_save_LIBS=$LIBS
44751 LIBS="-lm  $LIBS"
44752 if test x$gcc_no_link = xyes; then
44753   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44754 fi
44755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44756 /* end confdefs.h.  */
44757
44758 /* Override any GCC internal prototype to avoid an error.
44759    Use char because int might match the return type of a GCC
44760    builtin and then its argument prototype would still apply.  */
44761 #ifdef __cplusplus
44762 extern "C"
44763 #endif
44764 char sin ();
44765 int
44766 main ()
44767 {
44768 return sin ();
44769   ;
44770   return 0;
44771 }
44772 _ACEOF
44773 if ac_fn_c_try_link "$LINENO"; then :
44774   ac_cv_lib_m_sin=yes
44775 else
44776   ac_cv_lib_m_sin=no
44777 fi
44778 rm -f core conftest.err conftest.$ac_objext \
44779     conftest$ac_exeext conftest.$ac_ext
44780 LIBS=$ac_check_lib_save_LIBS
44781 fi
44782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44783 $as_echo "$ac_cv_lib_m_sin" >&6; }
44784 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44785   libm="-lm"
44786 fi
44787
44788   ac_save_LIBS="$LIBS"
44789   LIBS="$LIBS $libm"
44790
44791
44792
44793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44794 $as_echo_n "checking for isinf declaration... " >&6; }
44795   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44796     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44797   $as_echo_n "(cached) " >&6
44798 else
44799
44800
44801       ac_ext=cpp
44802 ac_cpp='$CXXCPP $CPPFLAGS'
44803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44806
44807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44808 /* end confdefs.h.  */
44809 #include <math.h>
44810                       #ifdef HAVE_IEEEFP_H
44811                       #include <ieeefp.h>
44812                       #endif
44813
44814 int
44815 main ()
44816 {
44817  isinf(0);
44818   ;
44819   return 0;
44820 }
44821 _ACEOF
44822 if ac_fn_cxx_try_compile "$LINENO"; then :
44823   glibcxx_cv_func_isinf_use=yes
44824 else
44825   glibcxx_cv_func_isinf_use=no
44826 fi
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828       ac_ext=c
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44833
44834
44835 fi
44836
44837   fi
44838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44839 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44840
44841   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44842     for ac_func in isinf
44843 do :
44844   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44845 if test "x$ac_cv_func_isinf" = x""yes; then :
44846   cat >>confdefs.h <<_ACEOF
44847 #define HAVE_ISINF 1
44848 _ACEOF
44849
44850 fi
44851 done
44852
44853   else
44854
44855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44856 $as_echo_n "checking for _isinf declaration... " >&6; }
44857   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44858     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44859   $as_echo_n "(cached) " >&6
44860 else
44861
44862
44863       ac_ext=cpp
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868
44869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44870 /* end confdefs.h.  */
44871 #include <math.h>
44872                       #ifdef HAVE_IEEEFP_H
44873                       #include <ieeefp.h>
44874                       #endif
44875
44876 int
44877 main ()
44878 {
44879  _isinf(0);
44880   ;
44881   return 0;
44882 }
44883 _ACEOF
44884 if ac_fn_cxx_try_compile "$LINENO"; then :
44885   glibcxx_cv_func__isinf_use=yes
44886 else
44887   glibcxx_cv_func__isinf_use=no
44888 fi
44889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44890       ac_ext=c
44891 ac_cpp='$CPP $CPPFLAGS'
44892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44895
44896
44897 fi
44898
44899   fi
44900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44901 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44902
44903     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44904       for ac_func in _isinf
44905 do :
44906   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44907 if test "x$ac_cv_func__isinf" = x""yes; then :
44908   cat >>confdefs.h <<_ACEOF
44909 #define HAVE__ISINF 1
44910 _ACEOF
44911
44912 fi
44913 done
44914
44915     fi
44916   fi
44917
44918
44919
44920
44921
44922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44923 $as_echo_n "checking for isnan declaration... " >&6; }
44924   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44925     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44926   $as_echo_n "(cached) " >&6
44927 else
44928
44929
44930       ac_ext=cpp
44931 ac_cpp='$CXXCPP $CPPFLAGS'
44932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44935
44936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44937 /* end confdefs.h.  */
44938 #include <math.h>
44939                       #ifdef HAVE_IEEEFP_H
44940                       #include <ieeefp.h>
44941                       #endif
44942
44943 int
44944 main ()
44945 {
44946  isnan(0);
44947   ;
44948   return 0;
44949 }
44950 _ACEOF
44951 if ac_fn_cxx_try_compile "$LINENO"; then :
44952   glibcxx_cv_func_isnan_use=yes
44953 else
44954   glibcxx_cv_func_isnan_use=no
44955 fi
44956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44957       ac_ext=c
44958 ac_cpp='$CPP $CPPFLAGS'
44959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44962
44963
44964 fi
44965
44966   fi
44967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44968 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44969
44970   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44971     for ac_func in isnan
44972 do :
44973   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44974 if test "x$ac_cv_func_isnan" = x""yes; then :
44975   cat >>confdefs.h <<_ACEOF
44976 #define HAVE_ISNAN 1
44977 _ACEOF
44978
44979 fi
44980 done
44981
44982   else
44983
44984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44985 $as_echo_n "checking for _isnan declaration... " >&6; }
44986   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44987     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44988   $as_echo_n "(cached) " >&6
44989 else
44990
44991
44992       ac_ext=cpp
44993 ac_cpp='$CXXCPP $CPPFLAGS'
44994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44997
44998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44999 /* end confdefs.h.  */
45000 #include <math.h>
45001                       #ifdef HAVE_IEEEFP_H
45002                       #include <ieeefp.h>
45003                       #endif
45004
45005 int
45006 main ()
45007 {
45008  _isnan(0);
45009   ;
45010   return 0;
45011 }
45012 _ACEOF
45013 if ac_fn_cxx_try_compile "$LINENO"; then :
45014   glibcxx_cv_func__isnan_use=yes
45015 else
45016   glibcxx_cv_func__isnan_use=no
45017 fi
45018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45019       ac_ext=c
45020 ac_cpp='$CPP $CPPFLAGS'
45021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45024
45025
45026 fi
45027
45028   fi
45029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45030 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45031
45032     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45033       for ac_func in _isnan
45034 do :
45035   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45036 if test "x$ac_cv_func__isnan" = x""yes; then :
45037   cat >>confdefs.h <<_ACEOF
45038 #define HAVE__ISNAN 1
45039 _ACEOF
45040
45041 fi
45042 done
45043
45044     fi
45045   fi
45046
45047
45048
45049
45050
45051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45052 $as_echo_n "checking for finite declaration... " >&6; }
45053   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45054     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45055   $as_echo_n "(cached) " >&6
45056 else
45057
45058
45059       ac_ext=cpp
45060 ac_cpp='$CXXCPP $CPPFLAGS'
45061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45064
45065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45066 /* end confdefs.h.  */
45067 #include <math.h>
45068                       #ifdef HAVE_IEEEFP_H
45069                       #include <ieeefp.h>
45070                       #endif
45071
45072 int
45073 main ()
45074 {
45075  finite(0);
45076   ;
45077   return 0;
45078 }
45079 _ACEOF
45080 if ac_fn_cxx_try_compile "$LINENO"; then :
45081   glibcxx_cv_func_finite_use=yes
45082 else
45083   glibcxx_cv_func_finite_use=no
45084 fi
45085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45086       ac_ext=c
45087 ac_cpp='$CPP $CPPFLAGS'
45088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45091
45092
45093 fi
45094
45095   fi
45096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45097 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45098
45099   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45100     for ac_func in finite
45101 do :
45102   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45103 if test "x$ac_cv_func_finite" = x""yes; then :
45104   cat >>confdefs.h <<_ACEOF
45105 #define HAVE_FINITE 1
45106 _ACEOF
45107
45108 fi
45109 done
45110
45111   else
45112
45113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45114 $as_echo_n "checking for _finite declaration... " >&6; }
45115   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45116     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45117   $as_echo_n "(cached) " >&6
45118 else
45119
45120
45121       ac_ext=cpp
45122 ac_cpp='$CXXCPP $CPPFLAGS'
45123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45126
45127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45128 /* end confdefs.h.  */
45129 #include <math.h>
45130                       #ifdef HAVE_IEEEFP_H
45131                       #include <ieeefp.h>
45132                       #endif
45133
45134 int
45135 main ()
45136 {
45137  _finite(0);
45138   ;
45139   return 0;
45140 }
45141 _ACEOF
45142 if ac_fn_cxx_try_compile "$LINENO"; then :
45143   glibcxx_cv_func__finite_use=yes
45144 else
45145   glibcxx_cv_func__finite_use=no
45146 fi
45147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45148       ac_ext=c
45149 ac_cpp='$CPP $CPPFLAGS'
45150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153
45154
45155 fi
45156
45157   fi
45158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45159 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45160
45161     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45162       for ac_func in _finite
45163 do :
45164   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45165 if test "x$ac_cv_func__finite" = x""yes; then :
45166   cat >>confdefs.h <<_ACEOF
45167 #define HAVE__FINITE 1
45168 _ACEOF
45169
45170 fi
45171 done
45172
45173     fi
45174   fi
45175
45176
45177
45178
45179
45180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45181 $as_echo_n "checking for sincos declaration... " >&6; }
45182   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45183     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45184   $as_echo_n "(cached) " >&6
45185 else
45186
45187
45188       ac_ext=cpp
45189 ac_cpp='$CXXCPP $CPPFLAGS'
45190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45193
45194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45195 /* end confdefs.h.  */
45196 #include <math.h>
45197 int
45198 main ()
45199 {
45200  sincos(0, 0, 0);
45201   ;
45202   return 0;
45203 }
45204 _ACEOF
45205 if ac_fn_cxx_try_compile "$LINENO"; then :
45206   glibcxx_cv_func_sincos_use=yes
45207 else
45208   glibcxx_cv_func_sincos_use=no
45209 fi
45210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45211       ac_ext=c
45212 ac_cpp='$CPP $CPPFLAGS'
45213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45216
45217
45218 fi
45219
45220   fi
45221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45222 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45223
45224   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45225     for ac_func in sincos
45226 do :
45227   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45228 if test "x$ac_cv_func_sincos" = x""yes; then :
45229   cat >>confdefs.h <<_ACEOF
45230 #define HAVE_SINCOS 1
45231 _ACEOF
45232
45233 fi
45234 done
45235
45236   else
45237
45238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45239 $as_echo_n "checking for _sincos declaration... " >&6; }
45240   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45241     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45242   $as_echo_n "(cached) " >&6
45243 else
45244
45245
45246       ac_ext=cpp
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45251
45252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253 /* end confdefs.h.  */
45254 #include <math.h>
45255 int
45256 main ()
45257 {
45258  _sincos(0, 0, 0);
45259   ;
45260   return 0;
45261 }
45262 _ACEOF
45263 if ac_fn_cxx_try_compile "$LINENO"; then :
45264   glibcxx_cv_func__sincos_use=yes
45265 else
45266   glibcxx_cv_func__sincos_use=no
45267 fi
45268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269       ac_ext=c
45270 ac_cpp='$CPP $CPPFLAGS'
45271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45274
45275
45276 fi
45277
45278   fi
45279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45280 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45281
45282     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45283       for ac_func in _sincos
45284 do :
45285   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45286 if test "x$ac_cv_func__sincos" = x""yes; then :
45287   cat >>confdefs.h <<_ACEOF
45288 #define HAVE__SINCOS 1
45289 _ACEOF
45290
45291 fi
45292 done
45293
45294     fi
45295   fi
45296
45297
45298
45299
45300
45301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45302 $as_echo_n "checking for fpclass declaration... " >&6; }
45303   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45304     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45305   $as_echo_n "(cached) " >&6
45306 else
45307
45308
45309       ac_ext=cpp
45310 ac_cpp='$CXXCPP $CPPFLAGS'
45311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45314
45315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45316 /* end confdefs.h.  */
45317 #include <math.h>
45318                       #ifdef HAVE_IEEEFP_H
45319                       #include <ieeefp.h>
45320                       #endif
45321
45322 int
45323 main ()
45324 {
45325  fpclass(0);
45326   ;
45327   return 0;
45328 }
45329 _ACEOF
45330 if ac_fn_cxx_try_compile "$LINENO"; then :
45331   glibcxx_cv_func_fpclass_use=yes
45332 else
45333   glibcxx_cv_func_fpclass_use=no
45334 fi
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45336       ac_ext=c
45337 ac_cpp='$CPP $CPPFLAGS'
45338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341
45342
45343 fi
45344
45345   fi
45346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45347 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45348
45349   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45350     for ac_func in fpclass
45351 do :
45352   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45353 if test "x$ac_cv_func_fpclass" = x""yes; then :
45354   cat >>confdefs.h <<_ACEOF
45355 #define HAVE_FPCLASS 1
45356 _ACEOF
45357
45358 fi
45359 done
45360
45361   else
45362
45363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45364 $as_echo_n "checking for _fpclass declaration... " >&6; }
45365   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45366     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45367   $as_echo_n "(cached) " >&6
45368 else
45369
45370
45371       ac_ext=cpp
45372 ac_cpp='$CXXCPP $CPPFLAGS'
45373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45376
45377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378 /* end confdefs.h.  */
45379 #include <math.h>
45380                       #ifdef HAVE_IEEEFP_H
45381                       #include <ieeefp.h>
45382                       #endif
45383
45384 int
45385 main ()
45386 {
45387  _fpclass(0);
45388   ;
45389   return 0;
45390 }
45391 _ACEOF
45392 if ac_fn_cxx_try_compile "$LINENO"; then :
45393   glibcxx_cv_func__fpclass_use=yes
45394 else
45395   glibcxx_cv_func__fpclass_use=no
45396 fi
45397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45398       ac_ext=c
45399 ac_cpp='$CPP $CPPFLAGS'
45400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45403
45404
45405 fi
45406
45407   fi
45408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45409 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45410
45411     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45412       for ac_func in _fpclass
45413 do :
45414   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45415 if test "x$ac_cv_func__fpclass" = x""yes; then :
45416   cat >>confdefs.h <<_ACEOF
45417 #define HAVE__FPCLASS 1
45418 _ACEOF
45419
45420 fi
45421 done
45422
45423     fi
45424   fi
45425
45426
45427
45428
45429
45430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45431 $as_echo_n "checking for qfpclass declaration... " >&6; }
45432   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45433     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45434   $as_echo_n "(cached) " >&6
45435 else
45436
45437
45438       ac_ext=cpp
45439 ac_cpp='$CXXCPP $CPPFLAGS'
45440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45443
45444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45445 /* end confdefs.h.  */
45446 #include <math.h>
45447                       #ifdef HAVE_IEEEFP_H
45448                       #include <ieeefp.h>
45449                       #endif
45450
45451 int
45452 main ()
45453 {
45454  qfpclass(0);
45455   ;
45456   return 0;
45457 }
45458 _ACEOF
45459 if ac_fn_cxx_try_compile "$LINENO"; then :
45460   glibcxx_cv_func_qfpclass_use=yes
45461 else
45462   glibcxx_cv_func_qfpclass_use=no
45463 fi
45464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45465       ac_ext=c
45466 ac_cpp='$CPP $CPPFLAGS'
45467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45470
45471
45472 fi
45473
45474   fi
45475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45476 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45477
45478   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45479     for ac_func in qfpclass
45480 do :
45481   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45482 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45483   cat >>confdefs.h <<_ACEOF
45484 #define HAVE_QFPCLASS 1
45485 _ACEOF
45486
45487 fi
45488 done
45489
45490   else
45491
45492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45493 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45494   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45495     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45496   $as_echo_n "(cached) " >&6
45497 else
45498
45499
45500       ac_ext=cpp
45501 ac_cpp='$CXXCPP $CPPFLAGS'
45502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45505
45506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45507 /* end confdefs.h.  */
45508 #include <math.h>
45509                       #ifdef HAVE_IEEEFP_H
45510                       #include <ieeefp.h>
45511                       #endif
45512
45513 int
45514 main ()
45515 {
45516  _qfpclass(0);
45517   ;
45518   return 0;
45519 }
45520 _ACEOF
45521 if ac_fn_cxx_try_compile "$LINENO"; then :
45522   glibcxx_cv_func__qfpclass_use=yes
45523 else
45524   glibcxx_cv_func__qfpclass_use=no
45525 fi
45526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45527       ac_ext=c
45528 ac_cpp='$CPP $CPPFLAGS'
45529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532
45533
45534 fi
45535
45536   fi
45537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45538 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45539
45540     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45541       for ac_func in _qfpclass
45542 do :
45543   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45544 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45545   cat >>confdefs.h <<_ACEOF
45546 #define HAVE__QFPCLASS 1
45547 _ACEOF
45548
45549 fi
45550 done
45551
45552     fi
45553   fi
45554
45555
45556
45557
45558
45559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45560 $as_echo_n "checking for hypot declaration... " >&6; }
45561   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45562     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45563   $as_echo_n "(cached) " >&6
45564 else
45565
45566
45567       ac_ext=cpp
45568 ac_cpp='$CXXCPP $CPPFLAGS'
45569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45572
45573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45574 /* end confdefs.h.  */
45575 #include <math.h>
45576 int
45577 main ()
45578 {
45579  hypot(0, 0);
45580   ;
45581   return 0;
45582 }
45583 _ACEOF
45584 if ac_fn_cxx_try_compile "$LINENO"; then :
45585   glibcxx_cv_func_hypot_use=yes
45586 else
45587   glibcxx_cv_func_hypot_use=no
45588 fi
45589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45590       ac_ext=c
45591 ac_cpp='$CPP $CPPFLAGS'
45592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45595
45596
45597 fi
45598
45599   fi
45600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45601 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45602
45603   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45604     for ac_func in hypot
45605 do :
45606   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45607 if test "x$ac_cv_func_hypot" = x""yes; then :
45608   cat >>confdefs.h <<_ACEOF
45609 #define HAVE_HYPOT 1
45610 _ACEOF
45611
45612 fi
45613 done
45614
45615   else
45616
45617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45618 $as_echo_n "checking for _hypot declaration... " >&6; }
45619   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45620     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45621   $as_echo_n "(cached) " >&6
45622 else
45623
45624
45625       ac_ext=cpp
45626 ac_cpp='$CXXCPP $CPPFLAGS'
45627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45630
45631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45632 /* end confdefs.h.  */
45633 #include <math.h>
45634 int
45635 main ()
45636 {
45637  _hypot(0, 0);
45638   ;
45639   return 0;
45640 }
45641 _ACEOF
45642 if ac_fn_cxx_try_compile "$LINENO"; then :
45643   glibcxx_cv_func__hypot_use=yes
45644 else
45645   glibcxx_cv_func__hypot_use=no
45646 fi
45647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45648       ac_ext=c
45649 ac_cpp='$CPP $CPPFLAGS'
45650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45653
45654
45655 fi
45656
45657   fi
45658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45659 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45660
45661     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45662       for ac_func in _hypot
45663 do :
45664   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45665 if test "x$ac_cv_func__hypot" = x""yes; then :
45666   cat >>confdefs.h <<_ACEOF
45667 #define HAVE__HYPOT 1
45668 _ACEOF
45669
45670 fi
45671 done
45672
45673     fi
45674   fi
45675
45676
45677
45678
45679
45680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45681 $as_echo_n "checking for float trig functions... " >&6; }
45682   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45683   $as_echo_n "(cached) " >&6
45684 else
45685
45686
45687     ac_ext=cpp
45688 ac_cpp='$CXXCPP $CPPFLAGS'
45689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45692
45693     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45694 /* end confdefs.h.  */
45695 #include <math.h>
45696 int
45697 main ()
45698 {
45699 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45700   ;
45701   return 0;
45702 }
45703 _ACEOF
45704 if ac_fn_cxx_try_compile "$LINENO"; then :
45705   glibcxx_cv_func_float_trig_use=yes
45706 else
45707   glibcxx_cv_func_float_trig_use=no
45708 fi
45709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45710     ac_ext=c
45711 ac_cpp='$CPP $CPPFLAGS'
45712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45715
45716 fi
45717
45718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45719 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45720   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45721     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45722 do :
45723   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45725 eval as_val=\$$as_ac_var
45726    if test "x$as_val" = x""yes; then :
45727   cat >>confdefs.h <<_ACEOF
45728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45729 _ACEOF
45730
45731 fi
45732 done
45733
45734   else
45735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45736 $as_echo_n "checking for _float trig functions... " >&6; }
45737     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45738   $as_echo_n "(cached) " >&6
45739 else
45740
45741
45742       ac_ext=cpp
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747
45748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h.  */
45750 #include <math.h>
45751 int
45752 main ()
45753 {
45754 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45755   ;
45756   return 0;
45757 }
45758 _ACEOF
45759 if ac_fn_cxx_try_compile "$LINENO"; then :
45760   glibcxx_cv_func__float_trig_use=yes
45761 else
45762   glibcxx_cv_func__float_trig_use=no
45763 fi
45764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45765       ac_ext=c
45766 ac_cpp='$CPP $CPPFLAGS'
45767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45770
45771 fi
45772
45773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45774 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45775     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45776       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45777 do :
45778   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45780 eval as_val=\$$as_ac_var
45781    if test "x$as_val" = x""yes; then :
45782   cat >>confdefs.h <<_ACEOF
45783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45784 _ACEOF
45785
45786 fi
45787 done
45788
45789     fi
45790   fi
45791
45792
45793
45794
45795
45796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45797 $as_echo_n "checking for float round functions... " >&6; }
45798   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45799   $as_echo_n "(cached) " >&6
45800 else
45801
45802
45803     ac_ext=cpp
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45808
45809     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h.  */
45811 #include <math.h>
45812 int
45813 main ()
45814 {
45815 ceilf (0); floorf (0);
45816   ;
45817   return 0;
45818 }
45819 _ACEOF
45820 if ac_fn_cxx_try_compile "$LINENO"; then :
45821   glibcxx_cv_func_float_round_use=yes
45822 else
45823   glibcxx_cv_func_float_round_use=no
45824 fi
45825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45826     ac_ext=c
45827 ac_cpp='$CPP $CPPFLAGS'
45828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45831
45832 fi
45833
45834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45835 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45836   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45837     for ac_func in ceilf floorf
45838 do :
45839   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45841 eval as_val=\$$as_ac_var
45842    if test "x$as_val" = x""yes; then :
45843   cat >>confdefs.h <<_ACEOF
45844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45845 _ACEOF
45846
45847 fi
45848 done
45849
45850   else
45851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45852 $as_echo_n "checking for _float round functions... " >&6; }
45853     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45854   $as_echo_n "(cached) " >&6
45855 else
45856
45857
45858       ac_ext=cpp
45859 ac_cpp='$CXXCPP $CPPFLAGS'
45860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45863
45864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45865 /* end confdefs.h.  */
45866 #include <math.h>
45867 int
45868 main ()
45869 {
45870 _ceilf (0); _floorf (0);
45871   ;
45872   return 0;
45873 }
45874 _ACEOF
45875 if ac_fn_cxx_try_compile "$LINENO"; then :
45876   glibcxx_cv_func__float_round_use=yes
45877 else
45878   glibcxx_cv_func__float_round_use=no
45879 fi
45880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45881       ac_ext=c
45882 ac_cpp='$CPP $CPPFLAGS'
45883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45886
45887 fi
45888
45889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45890 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45891     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45892       for ac_func in _ceilf _floorf
45893 do :
45894   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45896 eval as_val=\$$as_ac_var
45897    if test "x$as_val" = x""yes; then :
45898   cat >>confdefs.h <<_ACEOF
45899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45900 _ACEOF
45901
45902 fi
45903 done
45904
45905     fi
45906   fi
45907
45908
45909
45910
45911
45912
45913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45914 $as_echo_n "checking for expf declaration... " >&6; }
45915   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45916     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45917   $as_echo_n "(cached) " >&6
45918 else
45919
45920
45921       ac_ext=cpp
45922 ac_cpp='$CXXCPP $CPPFLAGS'
45923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45926
45927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45928 /* end confdefs.h.  */
45929 #include <math.h>
45930                       #ifdef HAVE_IEEEFP_H
45931                       #include <ieeefp.h>
45932                       #endif
45933
45934 int
45935 main ()
45936 {
45937  expf(0);
45938   ;
45939   return 0;
45940 }
45941 _ACEOF
45942 if ac_fn_cxx_try_compile "$LINENO"; then :
45943   glibcxx_cv_func_expf_use=yes
45944 else
45945   glibcxx_cv_func_expf_use=no
45946 fi
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45948       ac_ext=c
45949 ac_cpp='$CPP $CPPFLAGS'
45950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45953
45954
45955 fi
45956
45957   fi
45958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45959 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45960
45961   if test x$glibcxx_cv_func_expf_use = x"yes"; then
45962     for ac_func in expf
45963 do :
45964   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45965 if test "x$ac_cv_func_expf" = x""yes; then :
45966   cat >>confdefs.h <<_ACEOF
45967 #define HAVE_EXPF 1
45968 _ACEOF
45969
45970 fi
45971 done
45972
45973   else
45974
45975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45976 $as_echo_n "checking for _expf declaration... " >&6; }
45977   if test x${glibcxx_cv_func__expf_use+set} != xset; then
45978     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45979   $as_echo_n "(cached) " >&6
45980 else
45981
45982
45983       ac_ext=cpp
45984 ac_cpp='$CXXCPP $CPPFLAGS'
45985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45988
45989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45990 /* end confdefs.h.  */
45991 #include <math.h>
45992                       #ifdef HAVE_IEEEFP_H
45993                       #include <ieeefp.h>
45994                       #endif
45995
45996 int
45997 main ()
45998 {
45999  _expf(0);
46000   ;
46001   return 0;
46002 }
46003 _ACEOF
46004 if ac_fn_cxx_try_compile "$LINENO"; then :
46005   glibcxx_cv_func__expf_use=yes
46006 else
46007   glibcxx_cv_func__expf_use=no
46008 fi
46009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46010       ac_ext=c
46011 ac_cpp='$CPP $CPPFLAGS'
46012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46015
46016
46017 fi
46018
46019   fi
46020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46021 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46022
46023     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46024       for ac_func in _expf
46025 do :
46026   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46027 if test "x$ac_cv_func__expf" = x""yes; then :
46028   cat >>confdefs.h <<_ACEOF
46029 #define HAVE__EXPF 1
46030 _ACEOF
46031
46032 fi
46033 done
46034
46035     fi
46036   fi
46037
46038
46039
46040
46041
46042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46043 $as_echo_n "checking for isnanf declaration... " >&6; }
46044   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46045     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46046   $as_echo_n "(cached) " >&6
46047 else
46048
46049
46050       ac_ext=cpp
46051 ac_cpp='$CXXCPP $CPPFLAGS'
46052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46055
46056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46057 /* end confdefs.h.  */
46058 #include <math.h>
46059                       #ifdef HAVE_IEEEFP_H
46060                       #include <ieeefp.h>
46061                       #endif
46062
46063 int
46064 main ()
46065 {
46066  isnanf(0);
46067   ;
46068   return 0;
46069 }
46070 _ACEOF
46071 if ac_fn_cxx_try_compile "$LINENO"; then :
46072   glibcxx_cv_func_isnanf_use=yes
46073 else
46074   glibcxx_cv_func_isnanf_use=no
46075 fi
46076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077       ac_ext=c
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46082
46083
46084 fi
46085
46086   fi
46087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46088 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46089
46090   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46091     for ac_func in isnanf
46092 do :
46093   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46094 if test "x$ac_cv_func_isnanf" = x""yes; then :
46095   cat >>confdefs.h <<_ACEOF
46096 #define HAVE_ISNANF 1
46097 _ACEOF
46098
46099 fi
46100 done
46101
46102   else
46103
46104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46105 $as_echo_n "checking for _isnanf declaration... " >&6; }
46106   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46107     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46108   $as_echo_n "(cached) " >&6
46109 else
46110
46111
46112       ac_ext=cpp
46113 ac_cpp='$CXXCPP $CPPFLAGS'
46114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117
46118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46119 /* end confdefs.h.  */
46120 #include <math.h>
46121                       #ifdef HAVE_IEEEFP_H
46122                       #include <ieeefp.h>
46123                       #endif
46124
46125 int
46126 main ()
46127 {
46128  _isnanf(0);
46129   ;
46130   return 0;
46131 }
46132 _ACEOF
46133 if ac_fn_cxx_try_compile "$LINENO"; then :
46134   glibcxx_cv_func__isnanf_use=yes
46135 else
46136   glibcxx_cv_func__isnanf_use=no
46137 fi
46138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46139       ac_ext=c
46140 ac_cpp='$CPP $CPPFLAGS'
46141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46144
46145
46146 fi
46147
46148   fi
46149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46150 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46151
46152     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46153       for ac_func in _isnanf
46154 do :
46155   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46156 if test "x$ac_cv_func__isnanf" = x""yes; then :
46157   cat >>confdefs.h <<_ACEOF
46158 #define HAVE__ISNANF 1
46159 _ACEOF
46160
46161 fi
46162 done
46163
46164     fi
46165   fi
46166
46167
46168
46169
46170
46171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46172 $as_echo_n "checking for isinff declaration... " >&6; }
46173   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46174     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46175   $as_echo_n "(cached) " >&6
46176 else
46177
46178
46179       ac_ext=cpp
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46184
46185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46186 /* end confdefs.h.  */
46187 #include <math.h>
46188                       #ifdef HAVE_IEEEFP_H
46189                       #include <ieeefp.h>
46190                       #endif
46191
46192 int
46193 main ()
46194 {
46195  isinff(0);
46196   ;
46197   return 0;
46198 }
46199 _ACEOF
46200 if ac_fn_cxx_try_compile "$LINENO"; then :
46201   glibcxx_cv_func_isinff_use=yes
46202 else
46203   glibcxx_cv_func_isinff_use=no
46204 fi
46205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46206       ac_ext=c
46207 ac_cpp='$CPP $CPPFLAGS'
46208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46211
46212
46213 fi
46214
46215   fi
46216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46217 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46218
46219   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46220     for ac_func in isinff
46221 do :
46222   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46223 if test "x$ac_cv_func_isinff" = x""yes; then :
46224   cat >>confdefs.h <<_ACEOF
46225 #define HAVE_ISINFF 1
46226 _ACEOF
46227
46228 fi
46229 done
46230
46231   else
46232
46233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46234 $as_echo_n "checking for _isinff declaration... " >&6; }
46235   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46236     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46237   $as_echo_n "(cached) " >&6
46238 else
46239
46240
46241       ac_ext=cpp
46242 ac_cpp='$CXXCPP $CPPFLAGS'
46243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46246
46247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46248 /* end confdefs.h.  */
46249 #include <math.h>
46250                       #ifdef HAVE_IEEEFP_H
46251                       #include <ieeefp.h>
46252                       #endif
46253
46254 int
46255 main ()
46256 {
46257  _isinff(0);
46258   ;
46259   return 0;
46260 }
46261 _ACEOF
46262 if ac_fn_cxx_try_compile "$LINENO"; then :
46263   glibcxx_cv_func__isinff_use=yes
46264 else
46265   glibcxx_cv_func__isinff_use=no
46266 fi
46267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46268       ac_ext=c
46269 ac_cpp='$CPP $CPPFLAGS'
46270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46273
46274
46275 fi
46276
46277   fi
46278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46279 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46280
46281     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46282       for ac_func in _isinff
46283 do :
46284   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46285 if test "x$ac_cv_func__isinff" = x""yes; then :
46286   cat >>confdefs.h <<_ACEOF
46287 #define HAVE__ISINFF 1
46288 _ACEOF
46289
46290 fi
46291 done
46292
46293     fi
46294   fi
46295
46296
46297
46298
46299
46300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46301 $as_echo_n "checking for atan2f declaration... " >&6; }
46302   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46303     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46304   $as_echo_n "(cached) " >&6
46305 else
46306
46307
46308       ac_ext=cpp
46309 ac_cpp='$CXXCPP $CPPFLAGS'
46310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46313
46314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46315 /* end confdefs.h.  */
46316 #include <math.h>
46317 int
46318 main ()
46319 {
46320  atan2f(0, 0);
46321   ;
46322   return 0;
46323 }
46324 _ACEOF
46325 if ac_fn_cxx_try_compile "$LINENO"; then :
46326   glibcxx_cv_func_atan2f_use=yes
46327 else
46328   glibcxx_cv_func_atan2f_use=no
46329 fi
46330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46331       ac_ext=c
46332 ac_cpp='$CPP $CPPFLAGS'
46333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46336
46337
46338 fi
46339
46340   fi
46341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46342 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46343
46344   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46345     for ac_func in atan2f
46346 do :
46347   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46348 if test "x$ac_cv_func_atan2f" = x""yes; then :
46349   cat >>confdefs.h <<_ACEOF
46350 #define HAVE_ATAN2F 1
46351 _ACEOF
46352
46353 fi
46354 done
46355
46356   else
46357
46358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46359 $as_echo_n "checking for _atan2f declaration... " >&6; }
46360   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46361     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46362   $as_echo_n "(cached) " >&6
46363 else
46364
46365
46366       ac_ext=cpp
46367 ac_cpp='$CXXCPP $CPPFLAGS'
46368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46371
46372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46373 /* end confdefs.h.  */
46374 #include <math.h>
46375 int
46376 main ()
46377 {
46378  _atan2f(0, 0);
46379   ;
46380   return 0;
46381 }
46382 _ACEOF
46383 if ac_fn_cxx_try_compile "$LINENO"; then :
46384   glibcxx_cv_func__atan2f_use=yes
46385 else
46386   glibcxx_cv_func__atan2f_use=no
46387 fi
46388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46389       ac_ext=c
46390 ac_cpp='$CPP $CPPFLAGS'
46391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46394
46395
46396 fi
46397
46398   fi
46399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46400 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46401
46402     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46403       for ac_func in _atan2f
46404 do :
46405   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46406 if test "x$ac_cv_func__atan2f" = x""yes; then :
46407   cat >>confdefs.h <<_ACEOF
46408 #define HAVE__ATAN2F 1
46409 _ACEOF
46410
46411 fi
46412 done
46413
46414     fi
46415   fi
46416
46417
46418
46419
46420
46421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46422 $as_echo_n "checking for fabsf declaration... " >&6; }
46423   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46424     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46425   $as_echo_n "(cached) " >&6
46426 else
46427
46428
46429       ac_ext=cpp
46430 ac_cpp='$CXXCPP $CPPFLAGS'
46431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46434
46435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46436 /* end confdefs.h.  */
46437 #include <math.h>
46438                       #ifdef HAVE_IEEEFP_H
46439                       #include <ieeefp.h>
46440                       #endif
46441
46442 int
46443 main ()
46444 {
46445  fabsf(0);
46446   ;
46447   return 0;
46448 }
46449 _ACEOF
46450 if ac_fn_cxx_try_compile "$LINENO"; then :
46451   glibcxx_cv_func_fabsf_use=yes
46452 else
46453   glibcxx_cv_func_fabsf_use=no
46454 fi
46455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46456       ac_ext=c
46457 ac_cpp='$CPP $CPPFLAGS'
46458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46461
46462
46463 fi
46464
46465   fi
46466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46467 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46468
46469   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46470     for ac_func in fabsf
46471 do :
46472   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46473 if test "x$ac_cv_func_fabsf" = x""yes; then :
46474   cat >>confdefs.h <<_ACEOF
46475 #define HAVE_FABSF 1
46476 _ACEOF
46477
46478 fi
46479 done
46480
46481   else
46482
46483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46484 $as_echo_n "checking for _fabsf declaration... " >&6; }
46485   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46486     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46487   $as_echo_n "(cached) " >&6
46488 else
46489
46490
46491       ac_ext=cpp
46492 ac_cpp='$CXXCPP $CPPFLAGS'
46493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46496
46497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46498 /* end confdefs.h.  */
46499 #include <math.h>
46500                       #ifdef HAVE_IEEEFP_H
46501                       #include <ieeefp.h>
46502                       #endif
46503
46504 int
46505 main ()
46506 {
46507  _fabsf(0);
46508   ;
46509   return 0;
46510 }
46511 _ACEOF
46512 if ac_fn_cxx_try_compile "$LINENO"; then :
46513   glibcxx_cv_func__fabsf_use=yes
46514 else
46515   glibcxx_cv_func__fabsf_use=no
46516 fi
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46518       ac_ext=c
46519 ac_cpp='$CPP $CPPFLAGS'
46520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46523
46524
46525 fi
46526
46527   fi
46528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46529 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46530
46531     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46532       for ac_func in _fabsf
46533 do :
46534   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46535 if test "x$ac_cv_func__fabsf" = x""yes; then :
46536   cat >>confdefs.h <<_ACEOF
46537 #define HAVE__FABSF 1
46538 _ACEOF
46539
46540 fi
46541 done
46542
46543     fi
46544   fi
46545
46546
46547
46548
46549
46550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46551 $as_echo_n "checking for fmodf declaration... " >&6; }
46552   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46553     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46554   $as_echo_n "(cached) " >&6
46555 else
46556
46557
46558       ac_ext=cpp
46559 ac_cpp='$CXXCPP $CPPFLAGS'
46560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46563
46564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46565 /* end confdefs.h.  */
46566 #include <math.h>
46567 int
46568 main ()
46569 {
46570  fmodf(0, 0);
46571   ;
46572   return 0;
46573 }
46574 _ACEOF
46575 if ac_fn_cxx_try_compile "$LINENO"; then :
46576   glibcxx_cv_func_fmodf_use=yes
46577 else
46578   glibcxx_cv_func_fmodf_use=no
46579 fi
46580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46581       ac_ext=c
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46586
46587
46588 fi
46589
46590   fi
46591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46592 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46593
46594   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46595     for ac_func in fmodf
46596 do :
46597   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46598 if test "x$ac_cv_func_fmodf" = x""yes; then :
46599   cat >>confdefs.h <<_ACEOF
46600 #define HAVE_FMODF 1
46601 _ACEOF
46602
46603 fi
46604 done
46605
46606   else
46607
46608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46609 $as_echo_n "checking for _fmodf declaration... " >&6; }
46610   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46611     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46612   $as_echo_n "(cached) " >&6
46613 else
46614
46615
46616       ac_ext=cpp
46617 ac_cpp='$CXXCPP $CPPFLAGS'
46618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46621
46622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46623 /* end confdefs.h.  */
46624 #include <math.h>
46625 int
46626 main ()
46627 {
46628  _fmodf(0, 0);
46629   ;
46630   return 0;
46631 }
46632 _ACEOF
46633 if ac_fn_cxx_try_compile "$LINENO"; then :
46634   glibcxx_cv_func__fmodf_use=yes
46635 else
46636   glibcxx_cv_func__fmodf_use=no
46637 fi
46638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46639       ac_ext=c
46640 ac_cpp='$CPP $CPPFLAGS'
46641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46644
46645
46646 fi
46647
46648   fi
46649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46650 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46651
46652     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46653       for ac_func in _fmodf
46654 do :
46655   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46656 if test "x$ac_cv_func__fmodf" = x""yes; then :
46657   cat >>confdefs.h <<_ACEOF
46658 #define HAVE__FMODF 1
46659 _ACEOF
46660
46661 fi
46662 done
46663
46664     fi
46665   fi
46666
46667
46668
46669
46670
46671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46672 $as_echo_n "checking for frexpf declaration... " >&6; }
46673   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46674     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46675   $as_echo_n "(cached) " >&6
46676 else
46677
46678
46679       ac_ext=cpp
46680 ac_cpp='$CXXCPP $CPPFLAGS'
46681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46684
46685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46686 /* end confdefs.h.  */
46687 #include <math.h>
46688 int
46689 main ()
46690 {
46691  frexpf(0, 0);
46692   ;
46693   return 0;
46694 }
46695 _ACEOF
46696 if ac_fn_cxx_try_compile "$LINENO"; then :
46697   glibcxx_cv_func_frexpf_use=yes
46698 else
46699   glibcxx_cv_func_frexpf_use=no
46700 fi
46701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46702       ac_ext=c
46703 ac_cpp='$CPP $CPPFLAGS'
46704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46707
46708
46709 fi
46710
46711   fi
46712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46713 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46714
46715   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46716     for ac_func in frexpf
46717 do :
46718   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46719 if test "x$ac_cv_func_frexpf" = x""yes; then :
46720   cat >>confdefs.h <<_ACEOF
46721 #define HAVE_FREXPF 1
46722 _ACEOF
46723
46724 fi
46725 done
46726
46727   else
46728
46729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46730 $as_echo_n "checking for _frexpf declaration... " >&6; }
46731   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46732     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46733   $as_echo_n "(cached) " >&6
46734 else
46735
46736
46737       ac_ext=cpp
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46742
46743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h.  */
46745 #include <math.h>
46746 int
46747 main ()
46748 {
46749  _frexpf(0, 0);
46750   ;
46751   return 0;
46752 }
46753 _ACEOF
46754 if ac_fn_cxx_try_compile "$LINENO"; then :
46755   glibcxx_cv_func__frexpf_use=yes
46756 else
46757   glibcxx_cv_func__frexpf_use=no
46758 fi
46759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46760       ac_ext=c
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46765
46766
46767 fi
46768
46769   fi
46770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46771 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46772
46773     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46774       for ac_func in _frexpf
46775 do :
46776   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46777 if test "x$ac_cv_func__frexpf" = x""yes; then :
46778   cat >>confdefs.h <<_ACEOF
46779 #define HAVE__FREXPF 1
46780 _ACEOF
46781
46782 fi
46783 done
46784
46785     fi
46786   fi
46787
46788
46789
46790
46791
46792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46793 $as_echo_n "checking for hypotf declaration... " >&6; }
46794   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46795     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46796   $as_echo_n "(cached) " >&6
46797 else
46798
46799
46800       ac_ext=cpp
46801 ac_cpp='$CXXCPP $CPPFLAGS'
46802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46805
46806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46807 /* end confdefs.h.  */
46808 #include <math.h>
46809 int
46810 main ()
46811 {
46812  hypotf(0, 0);
46813   ;
46814   return 0;
46815 }
46816 _ACEOF
46817 if ac_fn_cxx_try_compile "$LINENO"; then :
46818   glibcxx_cv_func_hypotf_use=yes
46819 else
46820   glibcxx_cv_func_hypotf_use=no
46821 fi
46822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46823       ac_ext=c
46824 ac_cpp='$CPP $CPPFLAGS'
46825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46828
46829
46830 fi
46831
46832   fi
46833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46834 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46835
46836   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46837     for ac_func in hypotf
46838 do :
46839   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46840 if test "x$ac_cv_func_hypotf" = x""yes; then :
46841   cat >>confdefs.h <<_ACEOF
46842 #define HAVE_HYPOTF 1
46843 _ACEOF
46844
46845 fi
46846 done
46847
46848   else
46849
46850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46851 $as_echo_n "checking for _hypotf declaration... " >&6; }
46852   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46853     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46854   $as_echo_n "(cached) " >&6
46855 else
46856
46857
46858       ac_ext=cpp
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46863
46864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46865 /* end confdefs.h.  */
46866 #include <math.h>
46867 int
46868 main ()
46869 {
46870  _hypotf(0, 0);
46871   ;
46872   return 0;
46873 }
46874 _ACEOF
46875 if ac_fn_cxx_try_compile "$LINENO"; then :
46876   glibcxx_cv_func__hypotf_use=yes
46877 else
46878   glibcxx_cv_func__hypotf_use=no
46879 fi
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46881       ac_ext=c
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46886
46887
46888 fi
46889
46890   fi
46891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46892 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46893
46894     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46895       for ac_func in _hypotf
46896 do :
46897   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46898 if test "x$ac_cv_func__hypotf" = x""yes; then :
46899   cat >>confdefs.h <<_ACEOF
46900 #define HAVE__HYPOTF 1
46901 _ACEOF
46902
46903 fi
46904 done
46905
46906     fi
46907   fi
46908
46909
46910
46911
46912
46913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46914 $as_echo_n "checking for ldexpf declaration... " >&6; }
46915   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46916     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46917   $as_echo_n "(cached) " >&6
46918 else
46919
46920
46921       ac_ext=cpp
46922 ac_cpp='$CXXCPP $CPPFLAGS'
46923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46926
46927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46928 /* end confdefs.h.  */
46929 #include <math.h>
46930 int
46931 main ()
46932 {
46933  ldexpf(0, 0);
46934   ;
46935   return 0;
46936 }
46937 _ACEOF
46938 if ac_fn_cxx_try_compile "$LINENO"; then :
46939   glibcxx_cv_func_ldexpf_use=yes
46940 else
46941   glibcxx_cv_func_ldexpf_use=no
46942 fi
46943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46944       ac_ext=c
46945 ac_cpp='$CPP $CPPFLAGS'
46946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46949
46950
46951 fi
46952
46953   fi
46954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46955 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46956
46957   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46958     for ac_func in ldexpf
46959 do :
46960   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46961 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46962   cat >>confdefs.h <<_ACEOF
46963 #define HAVE_LDEXPF 1
46964 _ACEOF
46965
46966 fi
46967 done
46968
46969   else
46970
46971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46972 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46973   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46974     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46975   $as_echo_n "(cached) " >&6
46976 else
46977
46978
46979       ac_ext=cpp
46980 ac_cpp='$CXXCPP $CPPFLAGS'
46981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46984
46985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46986 /* end confdefs.h.  */
46987 #include <math.h>
46988 int
46989 main ()
46990 {
46991  _ldexpf(0, 0);
46992   ;
46993   return 0;
46994 }
46995 _ACEOF
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997   glibcxx_cv_func__ldexpf_use=yes
46998 else
46999   glibcxx_cv_func__ldexpf_use=no
47000 fi
47001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47002       ac_ext=c
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47007
47008
47009 fi
47010
47011   fi
47012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47013 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47014
47015     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47016       for ac_func in _ldexpf
47017 do :
47018   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47019 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47020   cat >>confdefs.h <<_ACEOF
47021 #define HAVE__LDEXPF 1
47022 _ACEOF
47023
47024 fi
47025 done
47026
47027     fi
47028   fi
47029
47030
47031
47032
47033
47034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47035 $as_echo_n "checking for logf declaration... " >&6; }
47036   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47037     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47038   $as_echo_n "(cached) " >&6
47039 else
47040
47041
47042       ac_ext=cpp
47043 ac_cpp='$CXXCPP $CPPFLAGS'
47044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47047
47048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47049 /* end confdefs.h.  */
47050 #include <math.h>
47051                       #ifdef HAVE_IEEEFP_H
47052                       #include <ieeefp.h>
47053                       #endif
47054
47055 int
47056 main ()
47057 {
47058  logf(0);
47059   ;
47060   return 0;
47061 }
47062 _ACEOF
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064   glibcxx_cv_func_logf_use=yes
47065 else
47066   glibcxx_cv_func_logf_use=no
47067 fi
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47069       ac_ext=c
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47074
47075
47076 fi
47077
47078   fi
47079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47080 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47081
47082   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47083     for ac_func in logf
47084 do :
47085   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47086 if test "x$ac_cv_func_logf" = x""yes; then :
47087   cat >>confdefs.h <<_ACEOF
47088 #define HAVE_LOGF 1
47089 _ACEOF
47090
47091 fi
47092 done
47093
47094   else
47095
47096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47097 $as_echo_n "checking for _logf declaration... " >&6; }
47098   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47099     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47100   $as_echo_n "(cached) " >&6
47101 else
47102
47103
47104       ac_ext=cpp
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47109
47110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47111 /* end confdefs.h.  */
47112 #include <math.h>
47113                       #ifdef HAVE_IEEEFP_H
47114                       #include <ieeefp.h>
47115                       #endif
47116
47117 int
47118 main ()
47119 {
47120  _logf(0);
47121   ;
47122   return 0;
47123 }
47124 _ACEOF
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126   glibcxx_cv_func__logf_use=yes
47127 else
47128   glibcxx_cv_func__logf_use=no
47129 fi
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47131       ac_ext=c
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47136
47137
47138 fi
47139
47140   fi
47141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47142 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47143
47144     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47145       for ac_func in _logf
47146 do :
47147   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47148 if test "x$ac_cv_func__logf" = x""yes; then :
47149   cat >>confdefs.h <<_ACEOF
47150 #define HAVE__LOGF 1
47151 _ACEOF
47152
47153 fi
47154 done
47155
47156     fi
47157   fi
47158
47159
47160
47161
47162
47163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47164 $as_echo_n "checking for log10f declaration... " >&6; }
47165   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47166     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47167   $as_echo_n "(cached) " >&6
47168 else
47169
47170
47171       ac_ext=cpp
47172 ac_cpp='$CXXCPP $CPPFLAGS'
47173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47176
47177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47178 /* end confdefs.h.  */
47179 #include <math.h>
47180                       #ifdef HAVE_IEEEFP_H
47181                       #include <ieeefp.h>
47182                       #endif
47183
47184 int
47185 main ()
47186 {
47187  log10f(0);
47188   ;
47189   return 0;
47190 }
47191 _ACEOF
47192 if ac_fn_cxx_try_compile "$LINENO"; then :
47193   glibcxx_cv_func_log10f_use=yes
47194 else
47195   glibcxx_cv_func_log10f_use=no
47196 fi
47197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47198       ac_ext=c
47199 ac_cpp='$CPP $CPPFLAGS'
47200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47203
47204
47205 fi
47206
47207   fi
47208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47209 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47210
47211   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47212     for ac_func in log10f
47213 do :
47214   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47215 if test "x$ac_cv_func_log10f" = x""yes; then :
47216   cat >>confdefs.h <<_ACEOF
47217 #define HAVE_LOG10F 1
47218 _ACEOF
47219
47220 fi
47221 done
47222
47223   else
47224
47225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47226 $as_echo_n "checking for _log10f declaration... " >&6; }
47227   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47228     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47229   $as_echo_n "(cached) " >&6
47230 else
47231
47232
47233       ac_ext=cpp
47234 ac_cpp='$CXXCPP $CPPFLAGS'
47235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47238
47239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47240 /* end confdefs.h.  */
47241 #include <math.h>
47242                       #ifdef HAVE_IEEEFP_H
47243                       #include <ieeefp.h>
47244                       #endif
47245
47246 int
47247 main ()
47248 {
47249  _log10f(0);
47250   ;
47251   return 0;
47252 }
47253 _ACEOF
47254 if ac_fn_cxx_try_compile "$LINENO"; then :
47255   glibcxx_cv_func__log10f_use=yes
47256 else
47257   glibcxx_cv_func__log10f_use=no
47258 fi
47259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47260       ac_ext=c
47261 ac_cpp='$CPP $CPPFLAGS'
47262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47265
47266
47267 fi
47268
47269   fi
47270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47271 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47272
47273     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47274       for ac_func in _log10f
47275 do :
47276   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47277 if test "x$ac_cv_func__log10f" = x""yes; then :
47278   cat >>confdefs.h <<_ACEOF
47279 #define HAVE__LOG10F 1
47280 _ACEOF
47281
47282 fi
47283 done
47284
47285     fi
47286   fi
47287
47288
47289
47290
47291
47292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47293 $as_echo_n "checking for modff declaration... " >&6; }
47294   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47295     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47296   $as_echo_n "(cached) " >&6
47297 else
47298
47299
47300       ac_ext=cpp
47301 ac_cpp='$CXXCPP $CPPFLAGS'
47302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47305
47306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47307 /* end confdefs.h.  */
47308 #include <math.h>
47309 int
47310 main ()
47311 {
47312  modff(0, 0);
47313   ;
47314   return 0;
47315 }
47316 _ACEOF
47317 if ac_fn_cxx_try_compile "$LINENO"; then :
47318   glibcxx_cv_func_modff_use=yes
47319 else
47320   glibcxx_cv_func_modff_use=no
47321 fi
47322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47323       ac_ext=c
47324 ac_cpp='$CPP $CPPFLAGS'
47325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47328
47329
47330 fi
47331
47332   fi
47333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47334 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47335
47336   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47337     for ac_func in modff
47338 do :
47339   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47340 if test "x$ac_cv_func_modff" = x""yes; then :
47341   cat >>confdefs.h <<_ACEOF
47342 #define HAVE_MODFF 1
47343 _ACEOF
47344
47345 fi
47346 done
47347
47348   else
47349
47350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47351 $as_echo_n "checking for _modff declaration... " >&6; }
47352   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47353     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47354   $as_echo_n "(cached) " >&6
47355 else
47356
47357
47358       ac_ext=cpp
47359 ac_cpp='$CXXCPP $CPPFLAGS'
47360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47363
47364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h.  */
47366 #include <math.h>
47367 int
47368 main ()
47369 {
47370  _modff(0, 0);
47371   ;
47372   return 0;
47373 }
47374 _ACEOF
47375 if ac_fn_cxx_try_compile "$LINENO"; then :
47376   glibcxx_cv_func__modff_use=yes
47377 else
47378   glibcxx_cv_func__modff_use=no
47379 fi
47380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47381       ac_ext=c
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47386
47387
47388 fi
47389
47390   fi
47391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47392 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47393
47394     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47395       for ac_func in _modff
47396 do :
47397   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47398 if test "x$ac_cv_func__modff" = x""yes; then :
47399   cat >>confdefs.h <<_ACEOF
47400 #define HAVE__MODFF 1
47401 _ACEOF
47402
47403 fi
47404 done
47405
47406     fi
47407   fi
47408
47409
47410
47411
47412
47413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47414 $as_echo_n "checking for modf declaration... " >&6; }
47415   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47416     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47417   $as_echo_n "(cached) " >&6
47418 else
47419
47420
47421       ac_ext=cpp
47422 ac_cpp='$CXXCPP $CPPFLAGS'
47423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47426
47427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47428 /* end confdefs.h.  */
47429 #include <math.h>
47430 int
47431 main ()
47432 {
47433  modf(0, 0);
47434   ;
47435   return 0;
47436 }
47437 _ACEOF
47438 if ac_fn_cxx_try_compile "$LINENO"; then :
47439   glibcxx_cv_func_modf_use=yes
47440 else
47441   glibcxx_cv_func_modf_use=no
47442 fi
47443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47444       ac_ext=c
47445 ac_cpp='$CPP $CPPFLAGS'
47446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47449
47450
47451 fi
47452
47453   fi
47454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47455 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47456
47457   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47458     for ac_func in modf
47459 do :
47460   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47461 if test "x$ac_cv_func_modf" = x""yes; then :
47462   cat >>confdefs.h <<_ACEOF
47463 #define HAVE_MODF 1
47464 _ACEOF
47465
47466 fi
47467 done
47468
47469   else
47470
47471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47472 $as_echo_n "checking for _modf declaration... " >&6; }
47473   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47474     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47475   $as_echo_n "(cached) " >&6
47476 else
47477
47478
47479       ac_ext=cpp
47480 ac_cpp='$CXXCPP $CPPFLAGS'
47481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47484
47485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47486 /* end confdefs.h.  */
47487 #include <math.h>
47488 int
47489 main ()
47490 {
47491  _modf(0, 0);
47492   ;
47493   return 0;
47494 }
47495 _ACEOF
47496 if ac_fn_cxx_try_compile "$LINENO"; then :
47497   glibcxx_cv_func__modf_use=yes
47498 else
47499   glibcxx_cv_func__modf_use=no
47500 fi
47501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47502       ac_ext=c
47503 ac_cpp='$CPP $CPPFLAGS'
47504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47507
47508
47509 fi
47510
47511   fi
47512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47513 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47514
47515     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47516       for ac_func in _modf
47517 do :
47518   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47519 if test "x$ac_cv_func__modf" = x""yes; then :
47520   cat >>confdefs.h <<_ACEOF
47521 #define HAVE__MODF 1
47522 _ACEOF
47523
47524 fi
47525 done
47526
47527     fi
47528   fi
47529
47530
47531
47532
47533
47534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47535 $as_echo_n "checking for powf declaration... " >&6; }
47536   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47537     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47538   $as_echo_n "(cached) " >&6
47539 else
47540
47541
47542       ac_ext=cpp
47543 ac_cpp='$CXXCPP $CPPFLAGS'
47544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47547
47548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549 /* end confdefs.h.  */
47550 #include <math.h>
47551 int
47552 main ()
47553 {
47554  powf(0, 0);
47555   ;
47556   return 0;
47557 }
47558 _ACEOF
47559 if ac_fn_cxx_try_compile "$LINENO"; then :
47560   glibcxx_cv_func_powf_use=yes
47561 else
47562   glibcxx_cv_func_powf_use=no
47563 fi
47564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47565       ac_ext=c
47566 ac_cpp='$CPP $CPPFLAGS'
47567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47570
47571
47572 fi
47573
47574   fi
47575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47576 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47577
47578   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47579     for ac_func in powf
47580 do :
47581   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47582 if test "x$ac_cv_func_powf" = x""yes; then :
47583   cat >>confdefs.h <<_ACEOF
47584 #define HAVE_POWF 1
47585 _ACEOF
47586
47587 fi
47588 done
47589
47590   else
47591
47592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47593 $as_echo_n "checking for _powf declaration... " >&6; }
47594   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47595     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47596   $as_echo_n "(cached) " >&6
47597 else
47598
47599
47600       ac_ext=cpp
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47605
47606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607 /* end confdefs.h.  */
47608 #include <math.h>
47609 int
47610 main ()
47611 {
47612  _powf(0, 0);
47613   ;
47614   return 0;
47615 }
47616 _ACEOF
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618   glibcxx_cv_func__powf_use=yes
47619 else
47620   glibcxx_cv_func__powf_use=no
47621 fi
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623       ac_ext=c
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47628
47629
47630 fi
47631
47632   fi
47633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47634 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47635
47636     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47637       for ac_func in _powf
47638 do :
47639   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47640 if test "x$ac_cv_func__powf" = x""yes; then :
47641   cat >>confdefs.h <<_ACEOF
47642 #define HAVE__POWF 1
47643 _ACEOF
47644
47645 fi
47646 done
47647
47648     fi
47649   fi
47650
47651
47652
47653
47654
47655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47656 $as_echo_n "checking for sqrtf declaration... " >&6; }
47657   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47658     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47659   $as_echo_n "(cached) " >&6
47660 else
47661
47662
47663       ac_ext=cpp
47664 ac_cpp='$CXXCPP $CPPFLAGS'
47665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47668
47669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47670 /* end confdefs.h.  */
47671 #include <math.h>
47672                       #ifdef HAVE_IEEEFP_H
47673                       #include <ieeefp.h>
47674                       #endif
47675
47676 int
47677 main ()
47678 {
47679  sqrtf(0);
47680   ;
47681   return 0;
47682 }
47683 _ACEOF
47684 if ac_fn_cxx_try_compile "$LINENO"; then :
47685   glibcxx_cv_func_sqrtf_use=yes
47686 else
47687   glibcxx_cv_func_sqrtf_use=no
47688 fi
47689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47690       ac_ext=c
47691 ac_cpp='$CPP $CPPFLAGS'
47692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47695
47696
47697 fi
47698
47699   fi
47700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47701 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47702
47703   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47704     for ac_func in sqrtf
47705 do :
47706   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47707 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47708   cat >>confdefs.h <<_ACEOF
47709 #define HAVE_SQRTF 1
47710 _ACEOF
47711
47712 fi
47713 done
47714
47715   else
47716
47717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47718 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47719   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47720     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47721   $as_echo_n "(cached) " >&6
47722 else
47723
47724
47725       ac_ext=cpp
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47730
47731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47732 /* end confdefs.h.  */
47733 #include <math.h>
47734                       #ifdef HAVE_IEEEFP_H
47735                       #include <ieeefp.h>
47736                       #endif
47737
47738 int
47739 main ()
47740 {
47741  _sqrtf(0);
47742   ;
47743   return 0;
47744 }
47745 _ACEOF
47746 if ac_fn_cxx_try_compile "$LINENO"; then :
47747   glibcxx_cv_func__sqrtf_use=yes
47748 else
47749   glibcxx_cv_func__sqrtf_use=no
47750 fi
47751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47752       ac_ext=c
47753 ac_cpp='$CPP $CPPFLAGS'
47754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47757
47758
47759 fi
47760
47761   fi
47762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47763 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47764
47765     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47766       for ac_func in _sqrtf
47767 do :
47768   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47769 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47770   cat >>confdefs.h <<_ACEOF
47771 #define HAVE__SQRTF 1
47772 _ACEOF
47773
47774 fi
47775 done
47776
47777     fi
47778   fi
47779
47780
47781
47782
47783
47784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47785 $as_echo_n "checking for sincosf declaration... " >&6; }
47786   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47787     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47788   $as_echo_n "(cached) " >&6
47789 else
47790
47791
47792       ac_ext=cpp
47793 ac_cpp='$CXXCPP $CPPFLAGS'
47794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47797
47798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47799 /* end confdefs.h.  */
47800 #include <math.h>
47801 int
47802 main ()
47803 {
47804  sincosf(0, 0, 0);
47805   ;
47806   return 0;
47807 }
47808 _ACEOF
47809 if ac_fn_cxx_try_compile "$LINENO"; then :
47810   glibcxx_cv_func_sincosf_use=yes
47811 else
47812   glibcxx_cv_func_sincosf_use=no
47813 fi
47814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47815       ac_ext=c
47816 ac_cpp='$CPP $CPPFLAGS'
47817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47820
47821
47822 fi
47823
47824   fi
47825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47826 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47827
47828   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47829     for ac_func in sincosf
47830 do :
47831   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47832 if test "x$ac_cv_func_sincosf" = x""yes; then :
47833   cat >>confdefs.h <<_ACEOF
47834 #define HAVE_SINCOSF 1
47835 _ACEOF
47836
47837 fi
47838 done
47839
47840   else
47841
47842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47843 $as_echo_n "checking for _sincosf declaration... " >&6; }
47844   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47845     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47846   $as_echo_n "(cached) " >&6
47847 else
47848
47849
47850       ac_ext=cpp
47851 ac_cpp='$CXXCPP $CPPFLAGS'
47852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47855
47856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47857 /* end confdefs.h.  */
47858 #include <math.h>
47859 int
47860 main ()
47861 {
47862  _sincosf(0, 0, 0);
47863   ;
47864   return 0;
47865 }
47866 _ACEOF
47867 if ac_fn_cxx_try_compile "$LINENO"; then :
47868   glibcxx_cv_func__sincosf_use=yes
47869 else
47870   glibcxx_cv_func__sincosf_use=no
47871 fi
47872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47873       ac_ext=c
47874 ac_cpp='$CPP $CPPFLAGS'
47875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47878
47879
47880 fi
47881
47882   fi
47883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47884 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47885
47886     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47887       for ac_func in _sincosf
47888 do :
47889   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47890 if test "x$ac_cv_func__sincosf" = x""yes; then :
47891   cat >>confdefs.h <<_ACEOF
47892 #define HAVE__SINCOSF 1
47893 _ACEOF
47894
47895 fi
47896 done
47897
47898     fi
47899   fi
47900
47901
47902
47903
47904
47905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47906 $as_echo_n "checking for finitef declaration... " >&6; }
47907   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47908     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47909   $as_echo_n "(cached) " >&6
47910 else
47911
47912
47913       ac_ext=cpp
47914 ac_cpp='$CXXCPP $CPPFLAGS'
47915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47918
47919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47920 /* end confdefs.h.  */
47921 #include <math.h>
47922                       #ifdef HAVE_IEEEFP_H
47923                       #include <ieeefp.h>
47924                       #endif
47925
47926 int
47927 main ()
47928 {
47929  finitef(0);
47930   ;
47931   return 0;
47932 }
47933 _ACEOF
47934 if ac_fn_cxx_try_compile "$LINENO"; then :
47935   glibcxx_cv_func_finitef_use=yes
47936 else
47937   glibcxx_cv_func_finitef_use=no
47938 fi
47939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47940       ac_ext=c
47941 ac_cpp='$CPP $CPPFLAGS'
47942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47945
47946
47947 fi
47948
47949   fi
47950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47951 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47952
47953   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47954     for ac_func in finitef
47955 do :
47956   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47957 if test "x$ac_cv_func_finitef" = x""yes; then :
47958   cat >>confdefs.h <<_ACEOF
47959 #define HAVE_FINITEF 1
47960 _ACEOF
47961
47962 fi
47963 done
47964
47965   else
47966
47967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47968 $as_echo_n "checking for _finitef declaration... " >&6; }
47969   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47970     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47971   $as_echo_n "(cached) " >&6
47972 else
47973
47974
47975       ac_ext=cpp
47976 ac_cpp='$CXXCPP $CPPFLAGS'
47977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47980
47981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47982 /* end confdefs.h.  */
47983 #include <math.h>
47984                       #ifdef HAVE_IEEEFP_H
47985                       #include <ieeefp.h>
47986                       #endif
47987
47988 int
47989 main ()
47990 {
47991  _finitef(0);
47992   ;
47993   return 0;
47994 }
47995 _ACEOF
47996 if ac_fn_cxx_try_compile "$LINENO"; then :
47997   glibcxx_cv_func__finitef_use=yes
47998 else
47999   glibcxx_cv_func__finitef_use=no
48000 fi
48001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48002       ac_ext=c
48003 ac_cpp='$CPP $CPPFLAGS'
48004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48007
48008
48009 fi
48010
48011   fi
48012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48013 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48014
48015     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48016       for ac_func in _finitef
48017 do :
48018   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48019 if test "x$ac_cv_func__finitef" = x""yes; then :
48020   cat >>confdefs.h <<_ACEOF
48021 #define HAVE__FINITEF 1
48022 _ACEOF
48023
48024 fi
48025 done
48026
48027     fi
48028   fi
48029
48030
48031
48032
48033
48034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48035 $as_echo_n "checking for long double trig functions... " >&6; }
48036   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48037   $as_echo_n "(cached) " >&6
48038 else
48039
48040
48041     ac_ext=cpp
48042 ac_cpp='$CXXCPP $CPPFLAGS'
48043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48046
48047     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48048 /* end confdefs.h.  */
48049 #include <math.h>
48050 int
48051 main ()
48052 {
48053 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48054   ;
48055   return 0;
48056 }
48057 _ACEOF
48058 if ac_fn_cxx_try_compile "$LINENO"; then :
48059   glibcxx_cv_func_long_double_trig_use=yes
48060 else
48061   glibcxx_cv_func_long_double_trig_use=no
48062 fi
48063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48064     ac_ext=c
48065 ac_cpp='$CPP $CPPFLAGS'
48066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48069
48070 fi
48071
48072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48073 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48074   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48075     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48076 do :
48077   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48079 eval as_val=\$$as_ac_var
48080    if test "x$as_val" = x""yes; then :
48081   cat >>confdefs.h <<_ACEOF
48082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48083 _ACEOF
48084
48085 fi
48086 done
48087
48088   else
48089     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48090 $as_echo_n "checking for _long double trig functions... " >&6; }
48091     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48092   $as_echo_n "(cached) " >&6
48093 else
48094
48095
48096       ac_ext=cpp
48097 ac_cpp='$CXXCPP $CPPFLAGS'
48098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48101
48102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48103 /* end confdefs.h.  */
48104 #include <math.h>
48105 int
48106 main ()
48107 {
48108 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48109   ;
48110   return 0;
48111 }
48112 _ACEOF
48113 if ac_fn_cxx_try_compile "$LINENO"; then :
48114   glibcxx_cv_func__long_double_trig_use=yes
48115 else
48116   glibcxx_cv_func__long_double_trig_use=no
48117 fi
48118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48119       ac_ext=c
48120 ac_cpp='$CPP $CPPFLAGS'
48121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48124
48125 fi
48126
48127     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48128 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48129     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48130       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48131 do :
48132   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48134 eval as_val=\$$as_ac_var
48135    if test "x$as_val" = x""yes; then :
48136   cat >>confdefs.h <<_ACEOF
48137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48138 _ACEOF
48139
48140 fi
48141 done
48142
48143     fi
48144   fi
48145
48146
48147
48148
48149
48150     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48151 $as_echo_n "checking for long double round functions... " >&6; }
48152   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48153   $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157     ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h.  */
48165 #include <math.h>
48166 int
48167 main ()
48168 {
48169 ceill (0); floorl (0);
48170   ;
48171   return 0;
48172 }
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175   glibcxx_cv_func_long_double_round_use=yes
48176 else
48177   glibcxx_cv_func_long_double_round_use=no
48178 fi
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180     ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48185
48186 fi
48187
48188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48189 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48190   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48191     for ac_func in ceill floorl
48192 do :
48193   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48195 eval as_val=\$$as_ac_var
48196    if test "x$as_val" = x""yes; then :
48197   cat >>confdefs.h <<_ACEOF
48198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48199 _ACEOF
48200
48201 fi
48202 done
48203
48204   else
48205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48206 $as_echo_n "checking for _long double round functions... " >&6; }
48207     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48208   $as_echo_n "(cached) " >&6
48209 else
48210
48211
48212       ac_ext=cpp
48213 ac_cpp='$CXXCPP $CPPFLAGS'
48214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48217
48218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48219 /* end confdefs.h.  */
48220 #include <math.h>
48221 int
48222 main ()
48223 {
48224 _ceill (0); _floorl (0);
48225   ;
48226   return 0;
48227 }
48228 _ACEOF
48229 if ac_fn_cxx_try_compile "$LINENO"; then :
48230   glibcxx_cv_func__long_double_round_use=yes
48231 else
48232   glibcxx_cv_func__long_double_round_use=no
48233 fi
48234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48235       ac_ext=c
48236 ac_cpp='$CPP $CPPFLAGS'
48237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48240
48241 fi
48242
48243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48244 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48245     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48246       for ac_func in _ceill _floorl
48247 do :
48248   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48250 eval as_val=\$$as_ac_var
48251    if test "x$as_val" = x""yes; then :
48252   cat >>confdefs.h <<_ACEOF
48253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48254 _ACEOF
48255
48256 fi
48257 done
48258
48259     fi
48260   fi
48261
48262
48263
48264
48265
48266
48267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48268 $as_echo_n "checking for isnanl declaration... " >&6; }
48269   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48270     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48271   $as_echo_n "(cached) " >&6
48272 else
48273
48274
48275       ac_ext=cpp
48276 ac_cpp='$CXXCPP $CPPFLAGS'
48277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48280
48281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48282 /* end confdefs.h.  */
48283 #include <math.h>
48284                       #ifdef HAVE_IEEEFP_H
48285                       #include <ieeefp.h>
48286                       #endif
48287
48288 int
48289 main ()
48290 {
48291  isnanl(0);
48292   ;
48293   return 0;
48294 }
48295 _ACEOF
48296 if ac_fn_cxx_try_compile "$LINENO"; then :
48297   glibcxx_cv_func_isnanl_use=yes
48298 else
48299   glibcxx_cv_func_isnanl_use=no
48300 fi
48301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48302       ac_ext=c
48303 ac_cpp='$CPP $CPPFLAGS'
48304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48307
48308
48309 fi
48310
48311   fi
48312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48313 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48314
48315   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48316     for ac_func in isnanl
48317 do :
48318   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48319 if test "x$ac_cv_func_isnanl" = x""yes; then :
48320   cat >>confdefs.h <<_ACEOF
48321 #define HAVE_ISNANL 1
48322 _ACEOF
48323
48324 fi
48325 done
48326
48327   else
48328
48329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48330 $as_echo_n "checking for _isnanl declaration... " >&6; }
48331   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48332     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48333   $as_echo_n "(cached) " >&6
48334 else
48335
48336
48337       ac_ext=cpp
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48342
48343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48344 /* end confdefs.h.  */
48345 #include <math.h>
48346                       #ifdef HAVE_IEEEFP_H
48347                       #include <ieeefp.h>
48348                       #endif
48349
48350 int
48351 main ()
48352 {
48353  _isnanl(0);
48354   ;
48355   return 0;
48356 }
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359   glibcxx_cv_func__isnanl_use=yes
48360 else
48361   glibcxx_cv_func__isnanl_use=no
48362 fi
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364       ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369
48370
48371 fi
48372
48373   fi
48374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48375 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48376
48377     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48378       for ac_func in _isnanl
48379 do :
48380   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48381 if test "x$ac_cv_func__isnanl" = x""yes; then :
48382   cat >>confdefs.h <<_ACEOF
48383 #define HAVE__ISNANL 1
48384 _ACEOF
48385
48386 fi
48387 done
48388
48389     fi
48390   fi
48391
48392
48393
48394
48395
48396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48397 $as_echo_n "checking for isinfl declaration... " >&6; }
48398   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48399     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48400   $as_echo_n "(cached) " >&6
48401 else
48402
48403
48404       ac_ext=cpp
48405 ac_cpp='$CXXCPP $CPPFLAGS'
48406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409
48410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48411 /* end confdefs.h.  */
48412 #include <math.h>
48413                       #ifdef HAVE_IEEEFP_H
48414                       #include <ieeefp.h>
48415                       #endif
48416
48417 int
48418 main ()
48419 {
48420  isinfl(0);
48421   ;
48422   return 0;
48423 }
48424 _ACEOF
48425 if ac_fn_cxx_try_compile "$LINENO"; then :
48426   glibcxx_cv_func_isinfl_use=yes
48427 else
48428   glibcxx_cv_func_isinfl_use=no
48429 fi
48430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48431       ac_ext=c
48432 ac_cpp='$CPP $CPPFLAGS'
48433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48436
48437
48438 fi
48439
48440   fi
48441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48442 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48443
48444   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48445     for ac_func in isinfl
48446 do :
48447   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48448 if test "x$ac_cv_func_isinfl" = x""yes; then :
48449   cat >>confdefs.h <<_ACEOF
48450 #define HAVE_ISINFL 1
48451 _ACEOF
48452
48453 fi
48454 done
48455
48456   else
48457
48458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48459 $as_echo_n "checking for _isinfl declaration... " >&6; }
48460   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48461     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48462   $as_echo_n "(cached) " >&6
48463 else
48464
48465
48466       ac_ext=cpp
48467 ac_cpp='$CXXCPP $CPPFLAGS'
48468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48471
48472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48473 /* end confdefs.h.  */
48474 #include <math.h>
48475                       #ifdef HAVE_IEEEFP_H
48476                       #include <ieeefp.h>
48477                       #endif
48478
48479 int
48480 main ()
48481 {
48482  _isinfl(0);
48483   ;
48484   return 0;
48485 }
48486 _ACEOF
48487 if ac_fn_cxx_try_compile "$LINENO"; then :
48488   glibcxx_cv_func__isinfl_use=yes
48489 else
48490   glibcxx_cv_func__isinfl_use=no
48491 fi
48492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48493       ac_ext=c
48494 ac_cpp='$CPP $CPPFLAGS'
48495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48498
48499
48500 fi
48501
48502   fi
48503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48504 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48505
48506     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48507       for ac_func in _isinfl
48508 do :
48509   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48510 if test "x$ac_cv_func__isinfl" = x""yes; then :
48511   cat >>confdefs.h <<_ACEOF
48512 #define HAVE__ISINFL 1
48513 _ACEOF
48514
48515 fi
48516 done
48517
48518     fi
48519   fi
48520
48521
48522
48523
48524
48525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48526 $as_echo_n "checking for atan2l declaration... " >&6; }
48527   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48528     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48529   $as_echo_n "(cached) " >&6
48530 else
48531
48532
48533       ac_ext=cpp
48534 ac_cpp='$CXXCPP $CPPFLAGS'
48535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48538
48539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48540 /* end confdefs.h.  */
48541 #include <math.h>
48542 int
48543 main ()
48544 {
48545  atan2l(0, 0);
48546   ;
48547   return 0;
48548 }
48549 _ACEOF
48550 if ac_fn_cxx_try_compile "$LINENO"; then :
48551   glibcxx_cv_func_atan2l_use=yes
48552 else
48553   glibcxx_cv_func_atan2l_use=no
48554 fi
48555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48556       ac_ext=c
48557 ac_cpp='$CPP $CPPFLAGS'
48558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561
48562
48563 fi
48564
48565   fi
48566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48567 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48568
48569   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48570     for ac_func in atan2l
48571 do :
48572   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48573 if test "x$ac_cv_func_atan2l" = x""yes; then :
48574   cat >>confdefs.h <<_ACEOF
48575 #define HAVE_ATAN2L 1
48576 _ACEOF
48577
48578 fi
48579 done
48580
48581   else
48582
48583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48584 $as_echo_n "checking for _atan2l declaration... " >&6; }
48585   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48586     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48587   $as_echo_n "(cached) " >&6
48588 else
48589
48590
48591       ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596
48597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h.  */
48599 #include <math.h>
48600 int
48601 main ()
48602 {
48603  _atan2l(0, 0);
48604   ;
48605   return 0;
48606 }
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609   glibcxx_cv_func__atan2l_use=yes
48610 else
48611   glibcxx_cv_func__atan2l_use=no
48612 fi
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614       ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619
48620
48621 fi
48622
48623   fi
48624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48625 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48626
48627     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48628       for ac_func in _atan2l
48629 do :
48630   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48631 if test "x$ac_cv_func__atan2l" = x""yes; then :
48632   cat >>confdefs.h <<_ACEOF
48633 #define HAVE__ATAN2L 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639     fi
48640   fi
48641
48642
48643
48644
48645
48646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48647 $as_echo_n "checking for expl declaration... " >&6; }
48648   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48649     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48650   $as_echo_n "(cached) " >&6
48651 else
48652
48653
48654       ac_ext=cpp
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48659
48660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48661 /* end confdefs.h.  */
48662 #include <math.h>
48663                       #ifdef HAVE_IEEEFP_H
48664                       #include <ieeefp.h>
48665                       #endif
48666
48667 int
48668 main ()
48669 {
48670  expl(0);
48671   ;
48672   return 0;
48673 }
48674 _ACEOF
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676   glibcxx_cv_func_expl_use=yes
48677 else
48678   glibcxx_cv_func_expl_use=no
48679 fi
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48681       ac_ext=c
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48686
48687
48688 fi
48689
48690   fi
48691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48692 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48693
48694   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48695     for ac_func in expl
48696 do :
48697   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48698 if test "x$ac_cv_func_expl" = x""yes; then :
48699   cat >>confdefs.h <<_ACEOF
48700 #define HAVE_EXPL 1
48701 _ACEOF
48702
48703 fi
48704 done
48705
48706   else
48707
48708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48709 $as_echo_n "checking for _expl declaration... " >&6; }
48710   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48711     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48712   $as_echo_n "(cached) " >&6
48713 else
48714
48715
48716       ac_ext=cpp
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721
48722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h.  */
48724 #include <math.h>
48725                       #ifdef HAVE_IEEEFP_H
48726                       #include <ieeefp.h>
48727                       #endif
48728
48729 int
48730 main ()
48731 {
48732  _expl(0);
48733   ;
48734   return 0;
48735 }
48736 _ACEOF
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738   glibcxx_cv_func__expl_use=yes
48739 else
48740   glibcxx_cv_func__expl_use=no
48741 fi
48742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48743       ac_ext=c
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748
48749
48750 fi
48751
48752   fi
48753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48754 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48755
48756     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48757       for ac_func in _expl
48758 do :
48759   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48760 if test "x$ac_cv_func__expl" = x""yes; then :
48761   cat >>confdefs.h <<_ACEOF
48762 #define HAVE__EXPL 1
48763 _ACEOF
48764
48765 fi
48766 done
48767
48768     fi
48769   fi
48770
48771
48772
48773
48774
48775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48776 $as_echo_n "checking for fabsl declaration... " >&6; }
48777   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48778     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48779   $as_echo_n "(cached) " >&6
48780 else
48781
48782
48783       ac_ext=cpp
48784 ac_cpp='$CXXCPP $CPPFLAGS'
48785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48788
48789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48790 /* end confdefs.h.  */
48791 #include <math.h>
48792                       #ifdef HAVE_IEEEFP_H
48793                       #include <ieeefp.h>
48794                       #endif
48795
48796 int
48797 main ()
48798 {
48799  fabsl(0);
48800   ;
48801   return 0;
48802 }
48803 _ACEOF
48804 if ac_fn_cxx_try_compile "$LINENO"; then :
48805   glibcxx_cv_func_fabsl_use=yes
48806 else
48807   glibcxx_cv_func_fabsl_use=no
48808 fi
48809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48810       ac_ext=c
48811 ac_cpp='$CPP $CPPFLAGS'
48812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48815
48816
48817 fi
48818
48819   fi
48820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48821 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48822
48823   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48824     for ac_func in fabsl
48825 do :
48826   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48827 if test "x$ac_cv_func_fabsl" = x""yes; then :
48828   cat >>confdefs.h <<_ACEOF
48829 #define HAVE_FABSL 1
48830 _ACEOF
48831
48832 fi
48833 done
48834
48835   else
48836
48837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48838 $as_echo_n "checking for _fabsl declaration... " >&6; }
48839   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48840     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48841   $as_echo_n "(cached) " >&6
48842 else
48843
48844
48845       ac_ext=cpp
48846 ac_cpp='$CXXCPP $CPPFLAGS'
48847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48850
48851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48852 /* end confdefs.h.  */
48853 #include <math.h>
48854                       #ifdef HAVE_IEEEFP_H
48855                       #include <ieeefp.h>
48856                       #endif
48857
48858 int
48859 main ()
48860 {
48861  _fabsl(0);
48862   ;
48863   return 0;
48864 }
48865 _ACEOF
48866 if ac_fn_cxx_try_compile "$LINENO"; then :
48867   glibcxx_cv_func__fabsl_use=yes
48868 else
48869   glibcxx_cv_func__fabsl_use=no
48870 fi
48871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48872       ac_ext=c
48873 ac_cpp='$CPP $CPPFLAGS'
48874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48877
48878
48879 fi
48880
48881   fi
48882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48883 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48884
48885     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48886       for ac_func in _fabsl
48887 do :
48888   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48889 if test "x$ac_cv_func__fabsl" = x""yes; then :
48890   cat >>confdefs.h <<_ACEOF
48891 #define HAVE__FABSL 1
48892 _ACEOF
48893
48894 fi
48895 done
48896
48897     fi
48898   fi
48899
48900
48901
48902
48903
48904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48905 $as_echo_n "checking for fmodl declaration... " >&6; }
48906   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48907     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48908   $as_echo_n "(cached) " >&6
48909 else
48910
48911
48912       ac_ext=cpp
48913 ac_cpp='$CXXCPP $CPPFLAGS'
48914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48917
48918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48919 /* end confdefs.h.  */
48920 #include <math.h>
48921 int
48922 main ()
48923 {
48924  fmodl(0, 0);
48925   ;
48926   return 0;
48927 }
48928 _ACEOF
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930   glibcxx_cv_func_fmodl_use=yes
48931 else
48932   glibcxx_cv_func_fmodl_use=no
48933 fi
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935       ac_ext=c
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940
48941
48942 fi
48943
48944   fi
48945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48946 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48947
48948   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48949     for ac_func in fmodl
48950 do :
48951   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48952 if test "x$ac_cv_func_fmodl" = x""yes; then :
48953   cat >>confdefs.h <<_ACEOF
48954 #define HAVE_FMODL 1
48955 _ACEOF
48956
48957 fi
48958 done
48959
48960   else
48961
48962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48963 $as_echo_n "checking for _fmodl declaration... " >&6; }
48964   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48965     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48966   $as_echo_n "(cached) " >&6
48967 else
48968
48969
48970       ac_ext=cpp
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48975
48976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h.  */
48978 #include <math.h>
48979 int
48980 main ()
48981 {
48982  _fmodl(0, 0);
48983   ;
48984   return 0;
48985 }
48986 _ACEOF
48987 if ac_fn_cxx_try_compile "$LINENO"; then :
48988   glibcxx_cv_func__fmodl_use=yes
48989 else
48990   glibcxx_cv_func__fmodl_use=no
48991 fi
48992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48993       ac_ext=c
48994 ac_cpp='$CPP $CPPFLAGS'
48995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998
48999
49000 fi
49001
49002   fi
49003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49004 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49005
49006     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49007       for ac_func in _fmodl
49008 do :
49009   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49010 if test "x$ac_cv_func__fmodl" = x""yes; then :
49011   cat >>confdefs.h <<_ACEOF
49012 #define HAVE__FMODL 1
49013 _ACEOF
49014
49015 fi
49016 done
49017
49018     fi
49019   fi
49020
49021
49022
49023
49024
49025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49026 $as_echo_n "checking for frexpl declaration... " >&6; }
49027   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49028     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49029   $as_echo_n "(cached) " >&6
49030 else
49031
49032
49033       ac_ext=cpp
49034 ac_cpp='$CXXCPP $CPPFLAGS'
49035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49038
49039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49040 /* end confdefs.h.  */
49041 #include <math.h>
49042 int
49043 main ()
49044 {
49045  frexpl(0, 0);
49046   ;
49047   return 0;
49048 }
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051   glibcxx_cv_func_frexpl_use=yes
49052 else
49053   glibcxx_cv_func_frexpl_use=no
49054 fi
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056       ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061
49062
49063 fi
49064
49065   fi
49066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49067 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49068
49069   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49070     for ac_func in frexpl
49071 do :
49072   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49073 if test "x$ac_cv_func_frexpl" = x""yes; then :
49074   cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FREXPL 1
49076 _ACEOF
49077
49078 fi
49079 done
49080
49081   else
49082
49083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49084 $as_echo_n "checking for _frexpl declaration... " >&6; }
49085   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49086     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49087   $as_echo_n "(cached) " >&6
49088 else
49089
49090
49091       ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096
49097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h.  */
49099 #include <math.h>
49100 int
49101 main ()
49102 {
49103  _frexpl(0, 0);
49104   ;
49105   return 0;
49106 }
49107 _ACEOF
49108 if ac_fn_cxx_try_compile "$LINENO"; then :
49109   glibcxx_cv_func__frexpl_use=yes
49110 else
49111   glibcxx_cv_func__frexpl_use=no
49112 fi
49113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49114       ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49119
49120
49121 fi
49122
49123   fi
49124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49125 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49126
49127     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49128       for ac_func in _frexpl
49129 do :
49130   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49131 if test "x$ac_cv_func__frexpl" = x""yes; then :
49132   cat >>confdefs.h <<_ACEOF
49133 #define HAVE__FREXPL 1
49134 _ACEOF
49135
49136 fi
49137 done
49138
49139     fi
49140   fi
49141
49142
49143
49144
49145
49146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49147 $as_echo_n "checking for hypotl declaration... " >&6; }
49148   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49149     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49150   $as_echo_n "(cached) " >&6
49151 else
49152
49153
49154       ac_ext=cpp
49155 ac_cpp='$CXXCPP $CPPFLAGS'
49156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49159
49160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49161 /* end confdefs.h.  */
49162 #include <math.h>
49163 int
49164 main ()
49165 {
49166  hypotl(0, 0);
49167   ;
49168   return 0;
49169 }
49170 _ACEOF
49171 if ac_fn_cxx_try_compile "$LINENO"; then :
49172   glibcxx_cv_func_hypotl_use=yes
49173 else
49174   glibcxx_cv_func_hypotl_use=no
49175 fi
49176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49177       ac_ext=c
49178 ac_cpp='$CPP $CPPFLAGS'
49179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49182
49183
49184 fi
49185
49186   fi
49187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49188 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49189
49190   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49191     for ac_func in hypotl
49192 do :
49193   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49194 if test "x$ac_cv_func_hypotl" = x""yes; then :
49195   cat >>confdefs.h <<_ACEOF
49196 #define HAVE_HYPOTL 1
49197 _ACEOF
49198
49199 fi
49200 done
49201
49202   else
49203
49204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49205 $as_echo_n "checking for _hypotl declaration... " >&6; }
49206   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49207     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49208   $as_echo_n "(cached) " >&6
49209 else
49210
49211
49212       ac_ext=cpp
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49217
49218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h.  */
49220 #include <math.h>
49221 int
49222 main ()
49223 {
49224  _hypotl(0, 0);
49225   ;
49226   return 0;
49227 }
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230   glibcxx_cv_func__hypotl_use=yes
49231 else
49232   glibcxx_cv_func__hypotl_use=no
49233 fi
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235       ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240
49241
49242 fi
49243
49244   fi
49245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49246 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49247
49248     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49249       for ac_func in _hypotl
49250 do :
49251   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49252 if test "x$ac_cv_func__hypotl" = x""yes; then :
49253   cat >>confdefs.h <<_ACEOF
49254 #define HAVE__HYPOTL 1
49255 _ACEOF
49256
49257 fi
49258 done
49259
49260     fi
49261   fi
49262
49263
49264
49265
49266
49267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49268 $as_echo_n "checking for ldexpl declaration... " >&6; }
49269   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49270     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49271   $as_echo_n "(cached) " >&6
49272 else
49273
49274
49275       ac_ext=cpp
49276 ac_cpp='$CXXCPP $CPPFLAGS'
49277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49280
49281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49282 /* end confdefs.h.  */
49283 #include <math.h>
49284 int
49285 main ()
49286 {
49287  ldexpl(0, 0);
49288   ;
49289   return 0;
49290 }
49291 _ACEOF
49292 if ac_fn_cxx_try_compile "$LINENO"; then :
49293   glibcxx_cv_func_ldexpl_use=yes
49294 else
49295   glibcxx_cv_func_ldexpl_use=no
49296 fi
49297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49298       ac_ext=c
49299 ac_cpp='$CPP $CPPFLAGS'
49300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49303
49304
49305 fi
49306
49307   fi
49308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49309 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49310
49311   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49312     for ac_func in ldexpl
49313 do :
49314   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49315 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49316   cat >>confdefs.h <<_ACEOF
49317 #define HAVE_LDEXPL 1
49318 _ACEOF
49319
49320 fi
49321 done
49322
49323   else
49324
49325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49326 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49327   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49328     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49329   $as_echo_n "(cached) " >&6
49330 else
49331
49332
49333       ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338
49339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h.  */
49341 #include <math.h>
49342 int
49343 main ()
49344 {
49345  _ldexpl(0, 0);
49346   ;
49347   return 0;
49348 }
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351   glibcxx_cv_func__ldexpl_use=yes
49352 else
49353   glibcxx_cv_func__ldexpl_use=no
49354 fi
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356       ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49361
49362
49363 fi
49364
49365   fi
49366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49367 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49368
49369     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49370       for ac_func in _ldexpl
49371 do :
49372   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49373 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49374   cat >>confdefs.h <<_ACEOF
49375 #define HAVE__LDEXPL 1
49376 _ACEOF
49377
49378 fi
49379 done
49380
49381     fi
49382   fi
49383
49384
49385
49386
49387
49388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49389 $as_echo_n "checking for logl declaration... " >&6; }
49390   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49391     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49392   $as_echo_n "(cached) " >&6
49393 else
49394
49395
49396       ac_ext=cpp
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49401
49402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h.  */
49404 #include <math.h>
49405                       #ifdef HAVE_IEEEFP_H
49406                       #include <ieeefp.h>
49407                       #endif
49408
49409 int
49410 main ()
49411 {
49412  logl(0);
49413   ;
49414   return 0;
49415 }
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418   glibcxx_cv_func_logl_use=yes
49419 else
49420   glibcxx_cv_func_logl_use=no
49421 fi
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423       ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49428
49429
49430 fi
49431
49432   fi
49433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49434 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49435
49436   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49437     for ac_func in logl
49438 do :
49439   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49440 if test "x$ac_cv_func_logl" = x""yes; then :
49441   cat >>confdefs.h <<_ACEOF
49442 #define HAVE_LOGL 1
49443 _ACEOF
49444
49445 fi
49446 done
49447
49448   else
49449
49450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49451 $as_echo_n "checking for _logl declaration... " >&6; }
49452   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49453     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49454   $as_echo_n "(cached) " >&6
49455 else
49456
49457
49458       ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463
49464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h.  */
49466 #include <math.h>
49467                       #ifdef HAVE_IEEEFP_H
49468                       #include <ieeefp.h>
49469                       #endif
49470
49471 int
49472 main ()
49473 {
49474  _logl(0);
49475   ;
49476   return 0;
49477 }
49478 _ACEOF
49479 if ac_fn_cxx_try_compile "$LINENO"; then :
49480   glibcxx_cv_func__logl_use=yes
49481 else
49482   glibcxx_cv_func__logl_use=no
49483 fi
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49485       ac_ext=c
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490
49491
49492 fi
49493
49494   fi
49495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49496 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49497
49498     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49499       for ac_func in _logl
49500 do :
49501   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49502 if test "x$ac_cv_func__logl" = x""yes; then :
49503   cat >>confdefs.h <<_ACEOF
49504 #define HAVE__LOGL 1
49505 _ACEOF
49506
49507 fi
49508 done
49509
49510     fi
49511   fi
49512
49513
49514
49515
49516
49517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49518 $as_echo_n "checking for log10l declaration... " >&6; }
49519   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49520     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49521   $as_echo_n "(cached) " >&6
49522 else
49523
49524
49525       ac_ext=cpp
49526 ac_cpp='$CXXCPP $CPPFLAGS'
49527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49530
49531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49532 /* end confdefs.h.  */
49533 #include <math.h>
49534                       #ifdef HAVE_IEEEFP_H
49535                       #include <ieeefp.h>
49536                       #endif
49537
49538 int
49539 main ()
49540 {
49541  log10l(0);
49542   ;
49543   return 0;
49544 }
49545 _ACEOF
49546 if ac_fn_cxx_try_compile "$LINENO"; then :
49547   glibcxx_cv_func_log10l_use=yes
49548 else
49549   glibcxx_cv_func_log10l_use=no
49550 fi
49551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49552       ac_ext=c
49553 ac_cpp='$CPP $CPPFLAGS'
49554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49557
49558
49559 fi
49560
49561   fi
49562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49563 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49564
49565   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49566     for ac_func in log10l
49567 do :
49568   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49569 if test "x$ac_cv_func_log10l" = x""yes; then :
49570   cat >>confdefs.h <<_ACEOF
49571 #define HAVE_LOG10L 1
49572 _ACEOF
49573
49574 fi
49575 done
49576
49577   else
49578
49579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49580 $as_echo_n "checking for _log10l declaration... " >&6; }
49581   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49582     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49583   $as_echo_n "(cached) " >&6
49584 else
49585
49586
49587       ac_ext=cpp
49588 ac_cpp='$CXXCPP $CPPFLAGS'
49589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49592
49593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49594 /* end confdefs.h.  */
49595 #include <math.h>
49596                       #ifdef HAVE_IEEEFP_H
49597                       #include <ieeefp.h>
49598                       #endif
49599
49600 int
49601 main ()
49602 {
49603  _log10l(0);
49604   ;
49605   return 0;
49606 }
49607 _ACEOF
49608 if ac_fn_cxx_try_compile "$LINENO"; then :
49609   glibcxx_cv_func__log10l_use=yes
49610 else
49611   glibcxx_cv_func__log10l_use=no
49612 fi
49613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49614       ac_ext=c
49615 ac_cpp='$CPP $CPPFLAGS'
49616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49619
49620
49621 fi
49622
49623   fi
49624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49625 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49626
49627     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49628       for ac_func in _log10l
49629 do :
49630   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49631 if test "x$ac_cv_func__log10l" = x""yes; then :
49632   cat >>confdefs.h <<_ACEOF
49633 #define HAVE__LOG10L 1
49634 _ACEOF
49635
49636 fi
49637 done
49638
49639     fi
49640   fi
49641
49642
49643
49644
49645
49646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49647 $as_echo_n "checking for modfl declaration... " >&6; }
49648   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49649     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49650   $as_echo_n "(cached) " >&6
49651 else
49652
49653
49654       ac_ext=cpp
49655 ac_cpp='$CXXCPP $CPPFLAGS'
49656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49659
49660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49661 /* end confdefs.h.  */
49662 #include <math.h>
49663 int
49664 main ()
49665 {
49666  modfl(0, 0);
49667   ;
49668   return 0;
49669 }
49670 _ACEOF
49671 if ac_fn_cxx_try_compile "$LINENO"; then :
49672   glibcxx_cv_func_modfl_use=yes
49673 else
49674   glibcxx_cv_func_modfl_use=no
49675 fi
49676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49677       ac_ext=c
49678 ac_cpp='$CPP $CPPFLAGS'
49679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49682
49683
49684 fi
49685
49686   fi
49687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49688 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49689
49690   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49691     for ac_func in modfl
49692 do :
49693   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49694 if test "x$ac_cv_func_modfl" = x""yes; then :
49695   cat >>confdefs.h <<_ACEOF
49696 #define HAVE_MODFL 1
49697 _ACEOF
49698
49699 fi
49700 done
49701
49702   else
49703
49704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49705 $as_echo_n "checking for _modfl declaration... " >&6; }
49706   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49707     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49708   $as_echo_n "(cached) " >&6
49709 else
49710
49711
49712       ac_ext=cpp
49713 ac_cpp='$CXXCPP $CPPFLAGS'
49714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49717
49718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49719 /* end confdefs.h.  */
49720 #include <math.h>
49721 int
49722 main ()
49723 {
49724  _modfl(0, 0);
49725   ;
49726   return 0;
49727 }
49728 _ACEOF
49729 if ac_fn_cxx_try_compile "$LINENO"; then :
49730   glibcxx_cv_func__modfl_use=yes
49731 else
49732   glibcxx_cv_func__modfl_use=no
49733 fi
49734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49735       ac_ext=c
49736 ac_cpp='$CPP $CPPFLAGS'
49737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740
49741
49742 fi
49743
49744   fi
49745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49746 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49747
49748     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49749       for ac_func in _modfl
49750 do :
49751   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49752 if test "x$ac_cv_func__modfl" = x""yes; then :
49753   cat >>confdefs.h <<_ACEOF
49754 #define HAVE__MODFL 1
49755 _ACEOF
49756
49757 fi
49758 done
49759
49760     fi
49761   fi
49762
49763
49764
49765
49766
49767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49768 $as_echo_n "checking for powl declaration... " >&6; }
49769   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49770     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49771   $as_echo_n "(cached) " >&6
49772 else
49773
49774
49775       ac_ext=cpp
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49780
49781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49782 /* end confdefs.h.  */
49783 #include <math.h>
49784 int
49785 main ()
49786 {
49787  powl(0, 0);
49788   ;
49789   return 0;
49790 }
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793   glibcxx_cv_func_powl_use=yes
49794 else
49795   glibcxx_cv_func_powl_use=no
49796 fi
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798       ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49803
49804
49805 fi
49806
49807   fi
49808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49809 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49810
49811   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49812     for ac_func in powl
49813 do :
49814   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49815 if test "x$ac_cv_func_powl" = x""yes; then :
49816   cat >>confdefs.h <<_ACEOF
49817 #define HAVE_POWL 1
49818 _ACEOF
49819
49820 fi
49821 done
49822
49823   else
49824
49825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49826 $as_echo_n "checking for _powl declaration... " >&6; }
49827   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49828     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49829   $as_echo_n "(cached) " >&6
49830 else
49831
49832
49833       ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838
49839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h.  */
49841 #include <math.h>
49842 int
49843 main ()
49844 {
49845  _powl(0, 0);
49846   ;
49847   return 0;
49848 }
49849 _ACEOF
49850 if ac_fn_cxx_try_compile "$LINENO"; then :
49851   glibcxx_cv_func__powl_use=yes
49852 else
49853   glibcxx_cv_func__powl_use=no
49854 fi
49855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49856       ac_ext=c
49857 ac_cpp='$CPP $CPPFLAGS'
49858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49861
49862
49863 fi
49864
49865   fi
49866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49867 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49868
49869     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49870       for ac_func in _powl
49871 do :
49872   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49873 if test "x$ac_cv_func__powl" = x""yes; then :
49874   cat >>confdefs.h <<_ACEOF
49875 #define HAVE__POWL 1
49876 _ACEOF
49877
49878 fi
49879 done
49880
49881     fi
49882   fi
49883
49884
49885
49886
49887
49888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49889 $as_echo_n "checking for sqrtl declaration... " >&6; }
49890   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49891     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49892   $as_echo_n "(cached) " >&6
49893 else
49894
49895
49896       ac_ext=cpp
49897 ac_cpp='$CXXCPP $CPPFLAGS'
49898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49901
49902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49903 /* end confdefs.h.  */
49904 #include <math.h>
49905                       #ifdef HAVE_IEEEFP_H
49906                       #include <ieeefp.h>
49907                       #endif
49908
49909 int
49910 main ()
49911 {
49912  sqrtl(0);
49913   ;
49914   return 0;
49915 }
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918   glibcxx_cv_func_sqrtl_use=yes
49919 else
49920   glibcxx_cv_func_sqrtl_use=no
49921 fi
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923       ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49928
49929
49930 fi
49931
49932   fi
49933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49934 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49935
49936   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49937     for ac_func in sqrtl
49938 do :
49939   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49940 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49941   cat >>confdefs.h <<_ACEOF
49942 #define HAVE_SQRTL 1
49943 _ACEOF
49944
49945 fi
49946 done
49947
49948   else
49949
49950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49951 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49952   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49953     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49954   $as_echo_n "(cached) " >&6
49955 else
49956
49957
49958       ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963
49964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h.  */
49966 #include <math.h>
49967                       #ifdef HAVE_IEEEFP_H
49968                       #include <ieeefp.h>
49969                       #endif
49970
49971 int
49972 main ()
49973 {
49974  _sqrtl(0);
49975   ;
49976   return 0;
49977 }
49978 _ACEOF
49979 if ac_fn_cxx_try_compile "$LINENO"; then :
49980   glibcxx_cv_func__sqrtl_use=yes
49981 else
49982   glibcxx_cv_func__sqrtl_use=no
49983 fi
49984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49985       ac_ext=c
49986 ac_cpp='$CPP $CPPFLAGS'
49987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990
49991
49992 fi
49993
49994   fi
49995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49996 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49997
49998     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49999       for ac_func in _sqrtl
50000 do :
50001   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50002 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50003   cat >>confdefs.h <<_ACEOF
50004 #define HAVE__SQRTL 1
50005 _ACEOF
50006
50007 fi
50008 done
50009
50010     fi
50011   fi
50012
50013
50014
50015
50016
50017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50018 $as_echo_n "checking for sincosl declaration... " >&6; }
50019   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50020     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50021   $as_echo_n "(cached) " >&6
50022 else
50023
50024
50025       ac_ext=cpp
50026 ac_cpp='$CXXCPP $CPPFLAGS'
50027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50030
50031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50032 /* end confdefs.h.  */
50033 #include <math.h>
50034 int
50035 main ()
50036 {
50037  sincosl(0, 0, 0);
50038   ;
50039   return 0;
50040 }
50041 _ACEOF
50042 if ac_fn_cxx_try_compile "$LINENO"; then :
50043   glibcxx_cv_func_sincosl_use=yes
50044 else
50045   glibcxx_cv_func_sincosl_use=no
50046 fi
50047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50048       ac_ext=c
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50053
50054
50055 fi
50056
50057   fi
50058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50059 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50060
50061   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50062     for ac_func in sincosl
50063 do :
50064   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50065 if test "x$ac_cv_func_sincosl" = x""yes; then :
50066   cat >>confdefs.h <<_ACEOF
50067 #define HAVE_SINCOSL 1
50068 _ACEOF
50069
50070 fi
50071 done
50072
50073   else
50074
50075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50076 $as_echo_n "checking for _sincosl declaration... " >&6; }
50077   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50078     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50079   $as_echo_n "(cached) " >&6
50080 else
50081
50082
50083       ac_ext=cpp
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088
50089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50090 /* end confdefs.h.  */
50091 #include <math.h>
50092 int
50093 main ()
50094 {
50095  _sincosl(0, 0, 0);
50096   ;
50097   return 0;
50098 }
50099 _ACEOF
50100 if ac_fn_cxx_try_compile "$LINENO"; then :
50101   glibcxx_cv_func__sincosl_use=yes
50102 else
50103   glibcxx_cv_func__sincosl_use=no
50104 fi
50105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50106       ac_ext=c
50107 ac_cpp='$CPP $CPPFLAGS'
50108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111
50112
50113 fi
50114
50115   fi
50116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50117 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50118
50119     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50120       for ac_func in _sincosl
50121 do :
50122   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50123 if test "x$ac_cv_func__sincosl" = x""yes; then :
50124   cat >>confdefs.h <<_ACEOF
50125 #define HAVE__SINCOSL 1
50126 _ACEOF
50127
50128 fi
50129 done
50130
50131     fi
50132   fi
50133
50134
50135
50136
50137
50138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50139 $as_echo_n "checking for finitel declaration... " >&6; }
50140   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50141     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50142   $as_echo_n "(cached) " >&6
50143 else
50144
50145
50146       ac_ext=cpp
50147 ac_cpp='$CXXCPP $CPPFLAGS'
50148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50151
50152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50153 /* end confdefs.h.  */
50154 #include <math.h>
50155                       #ifdef HAVE_IEEEFP_H
50156                       #include <ieeefp.h>
50157                       #endif
50158
50159 int
50160 main ()
50161 {
50162  finitel(0);
50163   ;
50164   return 0;
50165 }
50166 _ACEOF
50167 if ac_fn_cxx_try_compile "$LINENO"; then :
50168   glibcxx_cv_func_finitel_use=yes
50169 else
50170   glibcxx_cv_func_finitel_use=no
50171 fi
50172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50173       ac_ext=c
50174 ac_cpp='$CPP $CPPFLAGS'
50175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50178
50179
50180 fi
50181
50182   fi
50183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50184 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50185
50186   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50187     for ac_func in finitel
50188 do :
50189   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50190 if test "x$ac_cv_func_finitel" = x""yes; then :
50191   cat >>confdefs.h <<_ACEOF
50192 #define HAVE_FINITEL 1
50193 _ACEOF
50194
50195 fi
50196 done
50197
50198   else
50199
50200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50201 $as_echo_n "checking for _finitel declaration... " >&6; }
50202   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50203     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50204   $as_echo_n "(cached) " >&6
50205 else
50206
50207
50208       ac_ext=cpp
50209 ac_cpp='$CXXCPP $CPPFLAGS'
50210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50213
50214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50215 /* end confdefs.h.  */
50216 #include <math.h>
50217                       #ifdef HAVE_IEEEFP_H
50218                       #include <ieeefp.h>
50219                       #endif
50220
50221 int
50222 main ()
50223 {
50224  _finitel(0);
50225   ;
50226   return 0;
50227 }
50228 _ACEOF
50229 if ac_fn_cxx_try_compile "$LINENO"; then :
50230   glibcxx_cv_func__finitel_use=yes
50231 else
50232   glibcxx_cv_func__finitel_use=no
50233 fi
50234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50235       ac_ext=c
50236 ac_cpp='$CPP $CPPFLAGS'
50237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50240
50241
50242 fi
50243
50244   fi
50245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50246 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50247
50248     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50249       for ac_func in _finitel
50250 do :
50251   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50252 if test "x$ac_cv_func__finitel" = x""yes; then :
50253   cat >>confdefs.h <<_ACEOF
50254 #define HAVE__FINITEL 1
50255 _ACEOF
50256
50257 fi
50258 done
50259
50260     fi
50261   fi
50262
50263
50264
50265
50266   LIBS="$ac_save_LIBS"
50267   CXXFLAGS="$ac_save_CXXFLAGS"
50268
50269
50270   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50271   ac_save_CXXFLAGS="$CXXFLAGS"
50272   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50273
50274
50275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50276 $as_echo_n "checking for strtold declaration... " >&6; }
50277   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50278     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50279   $as_echo_n "(cached) " >&6
50280 else
50281
50282
50283       ac_ext=cpp
50284 ac_cpp='$CXXCPP $CPPFLAGS'
50285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50288
50289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50290 /* end confdefs.h.  */
50291 #include <stdlib.h>
50292 int
50293 main ()
50294 {
50295  strtold(0, 0);
50296   ;
50297   return 0;
50298 }
50299 _ACEOF
50300 if ac_fn_cxx_try_compile "$LINENO"; then :
50301   glibcxx_cv_func_strtold_use=yes
50302 else
50303   glibcxx_cv_func_strtold_use=no
50304 fi
50305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50306       ac_ext=c
50307 ac_cpp='$CPP $CPPFLAGS'
50308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50311
50312
50313 fi
50314
50315   fi
50316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50317 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50318   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50319     for ac_func in strtold
50320 do :
50321   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50322 if test "x$ac_cv_func_strtold" = x""yes; then :
50323   cat >>confdefs.h <<_ACEOF
50324 #define HAVE_STRTOLD 1
50325 _ACEOF
50326
50327 fi
50328 done
50329
50330   fi
50331
50332
50333
50334
50335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50336 $as_echo_n "checking for strtof declaration... " >&6; }
50337   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50338     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50339   $as_echo_n "(cached) " >&6
50340 else
50341
50342
50343       ac_ext=cpp
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50348
50349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50350 /* end confdefs.h.  */
50351 #include <stdlib.h>
50352 int
50353 main ()
50354 {
50355  strtof(0, 0);
50356   ;
50357   return 0;
50358 }
50359 _ACEOF
50360 if ac_fn_cxx_try_compile "$LINENO"; then :
50361   glibcxx_cv_func_strtof_use=yes
50362 else
50363   glibcxx_cv_func_strtof_use=no
50364 fi
50365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50366       ac_ext=c
50367 ac_cpp='$CPP $CPPFLAGS'
50368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50371
50372
50373 fi
50374
50375   fi
50376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50377 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50378   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50379     for ac_func in strtof
50380 do :
50381   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50382 if test "x$ac_cv_func_strtof" = x""yes; then :
50383   cat >>confdefs.h <<_ACEOF
50384 #define HAVE_STRTOF 1
50385 _ACEOF
50386
50387 fi
50388 done
50389
50390   fi
50391
50392
50393
50394
50395   CXXFLAGS="$ac_save_CXXFLAGS"
50396
50397     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50398
50399
50400
50401    # Check whether --enable-tls was given.
50402 if test "${enable_tls+set}" = set; then :
50403   enableval=$enable_tls;
50404       case "$enableval" in
50405        yes|no) ;;
50406        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50407       esac
50408
50409 else
50410   enable_tls=yes
50411 fi
50412
50413
50414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50415 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50416 if test "${gcc_cv_have_tls+set}" = set; then :
50417   $as_echo_n "(cached) " >&6
50418 else
50419
50420     if test "$cross_compiling" = yes; then :
50421                 if test x$gcc_no_link = xyes; then
50422   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50423 fi
50424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50425 /* end confdefs.h.  */
50426 __thread int a; int b; int main() { return a = b; }
50427 _ACEOF
50428 if ac_fn_c_try_link "$LINENO"; then :
50429   chktls_save_LDFLAGS="$LDFLAGS"
50430                           case $host in
50431             *-*-linux*)
50432               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50433               ;;
50434           esac
50435           chktls_save_CFLAGS="$CFLAGS"
50436           CFLAGS="-fPIC $CFLAGS"
50437                   if test x$gcc_no_link = xyes; then
50438   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50439 fi
50440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50441 /* end confdefs.h.  */
50442 int f() { return 0; }
50443 _ACEOF
50444 if ac_fn_c_try_link "$LINENO"; then :
50445   if test x$gcc_no_link = xyes; then
50446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50447 fi
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h.  */
50450 __thread int a; int b; int f() { return a = b; }
50451 _ACEOF
50452 if ac_fn_c_try_link "$LINENO"; then :
50453   gcc_cv_have_tls=yes
50454 else
50455   gcc_cv_have_tls=no
50456 fi
50457 rm -f core conftest.err conftest.$ac_objext \
50458     conftest$ac_exeext conftest.$ac_ext
50459 else
50460   gcc_cv_have_tls=yes
50461 fi
50462 rm -f core conftest.err conftest.$ac_objext \
50463     conftest$ac_exeext conftest.$ac_ext
50464           CFLAGS="$chktls_save_CFLAGS"
50465           LDFLAGS="$chktls_save_LDFLAGS"
50466 else
50467   gcc_cv_have_tls=no
50468 fi
50469 rm -f core conftest.err conftest.$ac_objext \
50470     conftest$ac_exeext conftest.$ac_ext
50471
50472
50473 else
50474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h.  */
50476 __thread int a; int b; int main() { return a = b; }
50477 _ACEOF
50478 if ac_fn_c_try_run "$LINENO"; then :
50479                       chktls_save_LDFLAGS="$LDFLAGS"
50480       LDFLAGS="-static $LDFLAGS"
50481       if test x$gcc_no_link = xyes; then
50482   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50483 fi
50484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50485 /* end confdefs.h.  */
50486 int main() { return 0; }
50487 _ACEOF
50488 if ac_fn_c_try_link "$LINENO"; then :
50489   if test "$cross_compiling" = yes; then :
50490   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50492 as_fn_error "cannot run test program while cross compiling
50493 See \`config.log' for more details." "$LINENO" 5; }
50494 else
50495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h.  */
50497 __thread int a; int b; int main() { return a = b; }
50498 _ACEOF
50499 if ac_fn_c_try_run "$LINENO"; then :
50500   gcc_cv_have_tls=yes
50501 else
50502   gcc_cv_have_tls=no
50503 fi
50504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50505   conftest.$ac_objext conftest.beam conftest.$ac_ext
50506 fi
50507
50508 else
50509   gcc_cv_have_tls=yes
50510 fi
50511 rm -f core conftest.err conftest.$ac_objext \
50512     conftest$ac_exeext conftest.$ac_ext
50513       LDFLAGS="$chktls_save_LDFLAGS"
50514       if test $gcc_cv_have_tls = yes; then
50515                                                 chktls_save_CFLAGS="$CFLAGS"
50516         thread_CFLAGS=failed
50517         for flag in '' '-pthread' '-lpthread'; do
50518           CFLAGS="$flag $chktls_save_CFLAGS"
50519           if test x$gcc_no_link = xyes; then
50520   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50521 fi
50522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50523 /* end confdefs.h.  */
50524 #include <pthread.h>
50525                 void *g(void *d) { return NULL; }
50526 int
50527 main ()
50528 {
50529 pthread_t t; pthread_create(&t,NULL,g,NULL);
50530   ;
50531   return 0;
50532 }
50533 _ACEOF
50534 if ac_fn_c_try_link "$LINENO"; then :
50535   thread_CFLAGS="$flag"
50536 fi
50537 rm -f core conftest.err conftest.$ac_objext \
50538     conftest$ac_exeext conftest.$ac_ext
50539           if test "X$thread_CFLAGS" != Xfailed; then
50540             break
50541           fi
50542         done
50543         CFLAGS="$chktls_save_CFLAGS"
50544         if test "X$thread_CFLAGS" != Xfailed; then
50545           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50546           if test "$cross_compiling" = yes; then :
50547   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50549 as_fn_error "cannot run test program while cross compiling
50550 See \`config.log' for more details." "$LINENO" 5; }
50551 else
50552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50553 /* end confdefs.h.  */
50554 #include <pthread.h>
50555                 __thread int a;
50556                 static int *a_in_other_thread;
50557                 static void *
50558                 thread_func (void *arg)
50559                 {
50560                   a_in_other_thread = &a;
50561                   return (void *)0;
50562                 }
50563 int
50564 main ()
50565 {
50566 pthread_t thread;
50567                 void *thread_retval;
50568                 int *a_in_main_thread;
50569                 if (pthread_create (&thread, (pthread_attr_t *)0,
50570                                     thread_func, (void *)0))
50571                   return 0;
50572                 a_in_main_thread = &a;
50573                 if (pthread_join (thread, &thread_retval))
50574                   return 0;
50575                 return (a_in_other_thread == a_in_main_thread);
50576   ;
50577   return 0;
50578 }
50579 _ACEOF
50580 if ac_fn_c_try_run "$LINENO"; then :
50581   gcc_cv_have_tls=yes
50582 else
50583   gcc_cv_have_tls=no
50584 fi
50585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50586   conftest.$ac_objext conftest.beam conftest.$ac_ext
50587 fi
50588
50589           CFLAGS="$chktls_save_CFLAGS"
50590         fi
50591       fi
50592 else
50593   gcc_cv_have_tls=no
50594 fi
50595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50596   conftest.$ac_objext conftest.beam conftest.$ac_ext
50597 fi
50598
50599 fi
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50601 $as_echo "$gcc_cv_have_tls" >&6; }
50602   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50603
50604 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50605
50606   fi
50607
50608
50609
50610
50611
50612           am_save_CPPFLAGS="$CPPFLAGS"
50613
50614   for element in $INCICONV; do
50615     haveit=
50616     for x in $CPPFLAGS; do
50617
50618   acl_save_prefix="$prefix"
50619   prefix="$acl_final_prefix"
50620   acl_save_exec_prefix="$exec_prefix"
50621   exec_prefix="$acl_final_exec_prefix"
50622   eval x=\"$x\"
50623   exec_prefix="$acl_save_exec_prefix"
50624   prefix="$acl_save_prefix"
50625
50626       if test "X$x" = "X$element"; then
50627         haveit=yes
50628         break
50629       fi
50630     done
50631     if test -z "$haveit"; then
50632       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50633     fi
50634   done
50635
50636
50637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50638 $as_echo_n "checking for iconv... " >&6; }
50639 if test "${am_cv_func_iconv+set}" = set; then :
50640   $as_echo_n "(cached) " >&6
50641 else
50642
50643     am_cv_func_iconv="no, consider installing GNU libiconv"
50644     am_cv_lib_iconv=no
50645     if test x$gcc_no_link = xyes; then
50646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50647 fi
50648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50649 /* end confdefs.h.  */
50650 #include <stdlib.h>
50651 #include <iconv.h>
50652 int
50653 main ()
50654 {
50655 iconv_t cd = iconv_open("","");
50656        iconv(cd,NULL,NULL,NULL,NULL);
50657        iconv_close(cd);
50658   ;
50659   return 0;
50660 }
50661 _ACEOF
50662 if ac_fn_c_try_link "$LINENO"; then :
50663   am_cv_func_iconv=yes
50664 fi
50665 rm -f core conftest.err conftest.$ac_objext \
50666     conftest$ac_exeext conftest.$ac_ext
50667     if test "$am_cv_func_iconv" != yes; then
50668       am_save_LIBS="$LIBS"
50669       LIBS="$LIBS $LIBICONV"
50670       if test x$gcc_no_link = xyes; then
50671   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50672 fi
50673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50674 /* end confdefs.h.  */
50675 #include <stdlib.h>
50676 #include <iconv.h>
50677 int
50678 main ()
50679 {
50680 iconv_t cd = iconv_open("","");
50681          iconv(cd,NULL,NULL,NULL,NULL);
50682          iconv_close(cd);
50683   ;
50684   return 0;
50685 }
50686 _ACEOF
50687 if ac_fn_c_try_link "$LINENO"; then :
50688   am_cv_lib_iconv=yes
50689         am_cv_func_iconv=yes
50690 fi
50691 rm -f core conftest.err conftest.$ac_objext \
50692     conftest$ac_exeext conftest.$ac_ext
50693       LIBS="$am_save_LIBS"
50694     fi
50695
50696 fi
50697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50698 $as_echo "$am_cv_func_iconv" >&6; }
50699   if test "$am_cv_func_iconv" = yes; then
50700
50701 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50702
50703   fi
50704   if test "$am_cv_lib_iconv" = yes; then
50705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50706 $as_echo_n "checking how to link with libiconv... " >&6; }
50707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50708 $as_echo "$LIBICONV" >&6; }
50709   else
50710             CPPFLAGS="$am_save_CPPFLAGS"
50711     LIBICONV=
50712     LTLIBICONV=
50713   fi
50714
50715
50716
50717   if test "$am_cv_func_iconv" = yes; then
50718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50719 $as_echo_n "checking for iconv declaration... " >&6; }
50720     if test "${am_cv_proto_iconv+set}" = set; then :
50721   $as_echo_n "(cached) " >&6
50722 else
50723
50724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h.  */
50726
50727 #include <stdlib.h>
50728 #include <iconv.h>
50729 extern
50730 #ifdef __cplusplus
50731 "C"
50732 #endif
50733 #if defined(__STDC__) || defined(__cplusplus)
50734 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50735 #else
50736 size_t iconv();
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742
50743   ;
50744   return 0;
50745 }
50746 _ACEOF
50747 if ac_fn_c_try_compile "$LINENO"; then :
50748   am_cv_proto_iconv_arg1=""
50749 else
50750   am_cv_proto_iconv_arg1="const"
50751 fi
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753       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);"
50754 fi
50755
50756     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50758          }$am_cv_proto_iconv" >&5
50759 $as_echo "${ac_t:-
50760          }$am_cv_proto_iconv" >&6; }
50761
50762 cat >>confdefs.h <<_ACEOF
50763 #define ICONV_CONST $am_cv_proto_iconv_arg1
50764 _ACEOF
50765
50766   fi
50767
50768     ;;
50769   *-mingw32*)
50770
50771   # If we're not using GNU ld, then there's no point in even trying these
50772   # tests.  Check for that first.  We should have already tested for gld
50773   # by now (in libtool), but require it now just to be safe...
50774   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50775   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50776
50777
50778
50779   # The name set by libtool depends on the version of libtool.  Shame on us
50780   # for depending on an impl detail, but c'est la vie.  Older versions used
50781   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50782   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50783   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50784   # set (hence we're using an older libtool), then set it.
50785   if test x${with_gnu_ld+set} != xset; then
50786     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50787       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50788       with_gnu_ld=no
50789     else
50790       with_gnu_ld=$ac_cv_prog_gnu_ld
50791     fi
50792   fi
50793
50794   # Start by getting the version number.  I think the libtool test already
50795   # does some of this, but throws away the result.
50796   glibcxx_ld_is_gold=no
50797   if test x"$with_gnu_ld" = x"yes"; then
50798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50799 $as_echo_n "checking for ld version... " >&6; }
50800
50801     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50802       glibcxx_ld_is_gold=yes
50803     fi
50804     ldver=`$LD --version 2>/dev/null |
50805            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'`
50806
50807     glibcxx_gnu_ld_version=`echo $ldver | \
50808            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50810 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50811   fi
50812
50813   # Set --gc-sections.
50814   glibcxx_have_gc_sections=no
50815   if test "$glibcxx_ld_is_gold" = "yes"; then
50816     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50817       glibcxx_have_gc_sections=yes
50818     fi
50819   else
50820     glibcxx_gcsections_min_ld=21602
50821     if test x"$with_gnu_ld" = x"yes" &&
50822         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50823       glibcxx_have_gc_sections=yes
50824     fi
50825   fi
50826   if test "$glibcxx_have_gc_sections" = "yes"; then
50827     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50828     # NB: This flag only works reliably after 2.16.1. Configure tests
50829     # for this are difficult, so hard wire a value that should work.
50830
50831     ac_test_CFLAGS="${CFLAGS+set}"
50832     ac_save_CFLAGS="$CFLAGS"
50833     CFLAGS='-Wl,--gc-sections'
50834
50835     # Check for -Wl,--gc-sections
50836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50837 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50838     if test x$gcc_no_link = xyes; then
50839   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50840 fi
50841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50842 /* end confdefs.h.  */
50843  int one(void) { return 1; }
50844      int two(void) { return 2; }
50845
50846 int
50847 main ()
50848 {
50849  two();
50850   ;
50851   return 0;
50852 }
50853 _ACEOF
50854 if ac_fn_c_try_link "$LINENO"; then :
50855   ac_gcsections=yes
50856 else
50857   ac_gcsections=no
50858 fi
50859 rm -f core conftest.err conftest.$ac_objext \
50860     conftest$ac_exeext conftest.$ac_ext
50861     if test "$ac_gcsections" = "yes"; then
50862       rm -f conftest.c
50863       touch conftest.c
50864       if $CC -c conftest.c; then
50865         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50866            grep "Warning: gc-sections option ignored" > /dev/null; then
50867           ac_gcsections=no
50868         fi
50869       fi
50870       rm -f conftest.c conftest.o conftest
50871     fi
50872     if test "$ac_gcsections" = "yes"; then
50873       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50874     fi
50875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50876 $as_echo "$ac_gcsections" >&6; }
50877
50878     if test "$ac_test_CFLAGS" = set; then
50879       CFLAGS="$ac_save_CFLAGS"
50880     else
50881       # this is the suspicious part
50882       CFLAGS=''
50883     fi
50884   fi
50885
50886   # Set -z,relro.
50887   # Note this is only for shared objects.
50888   ac_ld_relro=no
50889   if test x"$with_gnu_ld" = x"yes"; then
50890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50891 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50892     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50893     if test -n "$cxx_z_relo"; then
50894       OPT_LDFLAGS="-Wl,-z,relro"
50895       ac_ld_relro=yes
50896     fi
50897     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50898 $as_echo "$ac_ld_relro" >&6; }
50899   fi
50900
50901   # Set linker optimization flags.
50902   if test x"$with_gnu_ld" = x"yes"; then
50903     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50904   fi
50905
50906
50907
50908
50909
50910   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50911   ac_save_CXXFLAGS="$CXXFLAGS"
50912   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50913
50914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50915 $as_echo_n "checking for sin in -lm... " >&6; }
50916 if test "${ac_cv_lib_m_sin+set}" = set; then :
50917   $as_echo_n "(cached) " >&6
50918 else
50919   ac_check_lib_save_LIBS=$LIBS
50920 LIBS="-lm  $LIBS"
50921 if test x$gcc_no_link = xyes; then
50922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50923 fi
50924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h.  */
50926
50927 /* Override any GCC internal prototype to avoid an error.
50928    Use char because int might match the return type of a GCC
50929    builtin and then its argument prototype would still apply.  */
50930 #ifdef __cplusplus
50931 extern "C"
50932 #endif
50933 char sin ();
50934 int
50935 main ()
50936 {
50937 return sin ();
50938   ;
50939   return 0;
50940 }
50941 _ACEOF
50942 if ac_fn_c_try_link "$LINENO"; then :
50943   ac_cv_lib_m_sin=yes
50944 else
50945   ac_cv_lib_m_sin=no
50946 fi
50947 rm -f core conftest.err conftest.$ac_objext \
50948     conftest$ac_exeext conftest.$ac_ext
50949 LIBS=$ac_check_lib_save_LIBS
50950 fi
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50952 $as_echo "$ac_cv_lib_m_sin" >&6; }
50953 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50954   libm="-lm"
50955 fi
50956
50957   ac_save_LIBS="$LIBS"
50958   LIBS="$LIBS $libm"
50959
50960
50961
50962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50963 $as_echo_n "checking for isinf declaration... " >&6; }
50964   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50965     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50966   $as_echo_n "(cached) " >&6
50967 else
50968
50969
50970       ac_ext=cpp
50971 ac_cpp='$CXXCPP $CPPFLAGS'
50972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50975
50976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50977 /* end confdefs.h.  */
50978 #include <math.h>
50979                       #ifdef HAVE_IEEEFP_H
50980                       #include <ieeefp.h>
50981                       #endif
50982
50983 int
50984 main ()
50985 {
50986  isinf(0);
50987   ;
50988   return 0;
50989 }
50990 _ACEOF
50991 if ac_fn_cxx_try_compile "$LINENO"; then :
50992   glibcxx_cv_func_isinf_use=yes
50993 else
50994   glibcxx_cv_func_isinf_use=no
50995 fi
50996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50997       ac_ext=c
50998 ac_cpp='$CPP $CPPFLAGS'
50999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51002
51003
51004 fi
51005
51006   fi
51007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51008 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51009
51010   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51011     for ac_func in isinf
51012 do :
51013   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51014 if test "x$ac_cv_func_isinf" = x""yes; then :
51015   cat >>confdefs.h <<_ACEOF
51016 #define HAVE_ISINF 1
51017 _ACEOF
51018
51019 fi
51020 done
51021
51022   else
51023
51024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51025 $as_echo_n "checking for _isinf declaration... " >&6; }
51026   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51027     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51028   $as_echo_n "(cached) " >&6
51029 else
51030
51031
51032       ac_ext=cpp
51033 ac_cpp='$CXXCPP $CPPFLAGS'
51034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51037
51038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51039 /* end confdefs.h.  */
51040 #include <math.h>
51041                       #ifdef HAVE_IEEEFP_H
51042                       #include <ieeefp.h>
51043                       #endif
51044
51045 int
51046 main ()
51047 {
51048  _isinf(0);
51049   ;
51050   return 0;
51051 }
51052 _ACEOF
51053 if ac_fn_cxx_try_compile "$LINENO"; then :
51054   glibcxx_cv_func__isinf_use=yes
51055 else
51056   glibcxx_cv_func__isinf_use=no
51057 fi
51058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51059       ac_ext=c
51060 ac_cpp='$CPP $CPPFLAGS'
51061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51064
51065
51066 fi
51067
51068   fi
51069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51070 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51071
51072     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51073       for ac_func in _isinf
51074 do :
51075   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51076 if test "x$ac_cv_func__isinf" = x""yes; then :
51077   cat >>confdefs.h <<_ACEOF
51078 #define HAVE__ISINF 1
51079 _ACEOF
51080
51081 fi
51082 done
51083
51084     fi
51085   fi
51086
51087
51088
51089
51090
51091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51092 $as_echo_n "checking for isnan declaration... " >&6; }
51093   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51094     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51095   $as_echo_n "(cached) " >&6
51096 else
51097
51098
51099       ac_ext=cpp
51100 ac_cpp='$CXXCPP $CPPFLAGS'
51101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51104
51105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51106 /* end confdefs.h.  */
51107 #include <math.h>
51108                       #ifdef HAVE_IEEEFP_H
51109                       #include <ieeefp.h>
51110                       #endif
51111
51112 int
51113 main ()
51114 {
51115  isnan(0);
51116   ;
51117   return 0;
51118 }
51119 _ACEOF
51120 if ac_fn_cxx_try_compile "$LINENO"; then :
51121   glibcxx_cv_func_isnan_use=yes
51122 else
51123   glibcxx_cv_func_isnan_use=no
51124 fi
51125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51126       ac_ext=c
51127 ac_cpp='$CPP $CPPFLAGS'
51128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51131
51132
51133 fi
51134
51135   fi
51136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51137 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51138
51139   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51140     for ac_func in isnan
51141 do :
51142   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51143 if test "x$ac_cv_func_isnan" = x""yes; then :
51144   cat >>confdefs.h <<_ACEOF
51145 #define HAVE_ISNAN 1
51146 _ACEOF
51147
51148 fi
51149 done
51150
51151   else
51152
51153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51154 $as_echo_n "checking for _isnan declaration... " >&6; }
51155   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51156     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51157   $as_echo_n "(cached) " >&6
51158 else
51159
51160
51161       ac_ext=cpp
51162 ac_cpp='$CXXCPP $CPPFLAGS'
51163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51166
51167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51168 /* end confdefs.h.  */
51169 #include <math.h>
51170                       #ifdef HAVE_IEEEFP_H
51171                       #include <ieeefp.h>
51172                       #endif
51173
51174 int
51175 main ()
51176 {
51177  _isnan(0);
51178   ;
51179   return 0;
51180 }
51181 _ACEOF
51182 if ac_fn_cxx_try_compile "$LINENO"; then :
51183   glibcxx_cv_func__isnan_use=yes
51184 else
51185   glibcxx_cv_func__isnan_use=no
51186 fi
51187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51188       ac_ext=c
51189 ac_cpp='$CPP $CPPFLAGS'
51190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51193
51194
51195 fi
51196
51197   fi
51198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51199 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51200
51201     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51202       for ac_func in _isnan
51203 do :
51204   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51205 if test "x$ac_cv_func__isnan" = x""yes; then :
51206   cat >>confdefs.h <<_ACEOF
51207 #define HAVE__ISNAN 1
51208 _ACEOF
51209
51210 fi
51211 done
51212
51213     fi
51214   fi
51215
51216
51217
51218
51219
51220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51221 $as_echo_n "checking for finite declaration... " >&6; }
51222   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51223     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51224   $as_echo_n "(cached) " >&6
51225 else
51226
51227
51228       ac_ext=cpp
51229 ac_cpp='$CXXCPP $CPPFLAGS'
51230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51233
51234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51235 /* end confdefs.h.  */
51236 #include <math.h>
51237                       #ifdef HAVE_IEEEFP_H
51238                       #include <ieeefp.h>
51239                       #endif
51240
51241 int
51242 main ()
51243 {
51244  finite(0);
51245   ;
51246   return 0;
51247 }
51248 _ACEOF
51249 if ac_fn_cxx_try_compile "$LINENO"; then :
51250   glibcxx_cv_func_finite_use=yes
51251 else
51252   glibcxx_cv_func_finite_use=no
51253 fi
51254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51255       ac_ext=c
51256 ac_cpp='$CPP $CPPFLAGS'
51257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51260
51261
51262 fi
51263
51264   fi
51265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51266 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51267
51268   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51269     for ac_func in finite
51270 do :
51271   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51272 if test "x$ac_cv_func_finite" = x""yes; then :
51273   cat >>confdefs.h <<_ACEOF
51274 #define HAVE_FINITE 1
51275 _ACEOF
51276
51277 fi
51278 done
51279
51280   else
51281
51282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51283 $as_echo_n "checking for _finite declaration... " >&6; }
51284   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51285     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51286   $as_echo_n "(cached) " >&6
51287 else
51288
51289
51290       ac_ext=cpp
51291 ac_cpp='$CXXCPP $CPPFLAGS'
51292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51295
51296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51297 /* end confdefs.h.  */
51298 #include <math.h>
51299                       #ifdef HAVE_IEEEFP_H
51300                       #include <ieeefp.h>
51301                       #endif
51302
51303 int
51304 main ()
51305 {
51306  _finite(0);
51307   ;
51308   return 0;
51309 }
51310 _ACEOF
51311 if ac_fn_cxx_try_compile "$LINENO"; then :
51312   glibcxx_cv_func__finite_use=yes
51313 else
51314   glibcxx_cv_func__finite_use=no
51315 fi
51316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51317       ac_ext=c
51318 ac_cpp='$CPP $CPPFLAGS'
51319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51322
51323
51324 fi
51325
51326   fi
51327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51328 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51329
51330     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51331       for ac_func in _finite
51332 do :
51333   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51334 if test "x$ac_cv_func__finite" = x""yes; then :
51335   cat >>confdefs.h <<_ACEOF
51336 #define HAVE__FINITE 1
51337 _ACEOF
51338
51339 fi
51340 done
51341
51342     fi
51343   fi
51344
51345
51346
51347
51348
51349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51350 $as_echo_n "checking for sincos declaration... " >&6; }
51351   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51352     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51353   $as_echo_n "(cached) " >&6
51354 else
51355
51356
51357       ac_ext=cpp
51358 ac_cpp='$CXXCPP $CPPFLAGS'
51359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51362
51363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51364 /* end confdefs.h.  */
51365 #include <math.h>
51366 int
51367 main ()
51368 {
51369  sincos(0, 0, 0);
51370   ;
51371   return 0;
51372 }
51373 _ACEOF
51374 if ac_fn_cxx_try_compile "$LINENO"; then :
51375   glibcxx_cv_func_sincos_use=yes
51376 else
51377   glibcxx_cv_func_sincos_use=no
51378 fi
51379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51380       ac_ext=c
51381 ac_cpp='$CPP $CPPFLAGS'
51382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51385
51386
51387 fi
51388
51389   fi
51390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51391 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51392
51393   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51394     for ac_func in sincos
51395 do :
51396   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51397 if test "x$ac_cv_func_sincos" = x""yes; then :
51398   cat >>confdefs.h <<_ACEOF
51399 #define HAVE_SINCOS 1
51400 _ACEOF
51401
51402 fi
51403 done
51404
51405   else
51406
51407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51408 $as_echo_n "checking for _sincos declaration... " >&6; }
51409   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51410     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51411   $as_echo_n "(cached) " >&6
51412 else
51413
51414
51415       ac_ext=cpp
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51420
51421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h.  */
51423 #include <math.h>
51424 int
51425 main ()
51426 {
51427  _sincos(0, 0, 0);
51428   ;
51429   return 0;
51430 }
51431 _ACEOF
51432 if ac_fn_cxx_try_compile "$LINENO"; then :
51433   glibcxx_cv_func__sincos_use=yes
51434 else
51435   glibcxx_cv_func__sincos_use=no
51436 fi
51437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51438       ac_ext=c
51439 ac_cpp='$CPP $CPPFLAGS'
51440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51443
51444
51445 fi
51446
51447   fi
51448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51449 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51450
51451     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51452       for ac_func in _sincos
51453 do :
51454   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51455 if test "x$ac_cv_func__sincos" = x""yes; then :
51456   cat >>confdefs.h <<_ACEOF
51457 #define HAVE__SINCOS 1
51458 _ACEOF
51459
51460 fi
51461 done
51462
51463     fi
51464   fi
51465
51466
51467
51468
51469
51470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51471 $as_echo_n "checking for fpclass declaration... " >&6; }
51472   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51473     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51474   $as_echo_n "(cached) " >&6
51475 else
51476
51477
51478       ac_ext=cpp
51479 ac_cpp='$CXXCPP $CPPFLAGS'
51480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51483
51484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51485 /* end confdefs.h.  */
51486 #include <math.h>
51487                       #ifdef HAVE_IEEEFP_H
51488                       #include <ieeefp.h>
51489                       #endif
51490
51491 int
51492 main ()
51493 {
51494  fpclass(0);
51495   ;
51496   return 0;
51497 }
51498 _ACEOF
51499 if ac_fn_cxx_try_compile "$LINENO"; then :
51500   glibcxx_cv_func_fpclass_use=yes
51501 else
51502   glibcxx_cv_func_fpclass_use=no
51503 fi
51504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51505       ac_ext=c
51506 ac_cpp='$CPP $CPPFLAGS'
51507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51510
51511
51512 fi
51513
51514   fi
51515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51516 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51517
51518   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51519     for ac_func in fpclass
51520 do :
51521   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51522 if test "x$ac_cv_func_fpclass" = x""yes; then :
51523   cat >>confdefs.h <<_ACEOF
51524 #define HAVE_FPCLASS 1
51525 _ACEOF
51526
51527 fi
51528 done
51529
51530   else
51531
51532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51533 $as_echo_n "checking for _fpclass declaration... " >&6; }
51534   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51535     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51536   $as_echo_n "(cached) " >&6
51537 else
51538
51539
51540       ac_ext=cpp
51541 ac_cpp='$CXXCPP $CPPFLAGS'
51542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51545
51546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51547 /* end confdefs.h.  */
51548 #include <math.h>
51549                       #ifdef HAVE_IEEEFP_H
51550                       #include <ieeefp.h>
51551                       #endif
51552
51553 int
51554 main ()
51555 {
51556  _fpclass(0);
51557   ;
51558   return 0;
51559 }
51560 _ACEOF
51561 if ac_fn_cxx_try_compile "$LINENO"; then :
51562   glibcxx_cv_func__fpclass_use=yes
51563 else
51564   glibcxx_cv_func__fpclass_use=no
51565 fi
51566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51567       ac_ext=c
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51572
51573
51574 fi
51575
51576   fi
51577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51578 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51579
51580     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51581       for ac_func in _fpclass
51582 do :
51583   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51584 if test "x$ac_cv_func__fpclass" = x""yes; then :
51585   cat >>confdefs.h <<_ACEOF
51586 #define HAVE__FPCLASS 1
51587 _ACEOF
51588
51589 fi
51590 done
51591
51592     fi
51593   fi
51594
51595
51596
51597
51598
51599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51600 $as_echo_n "checking for qfpclass declaration... " >&6; }
51601   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51602     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51603   $as_echo_n "(cached) " >&6
51604 else
51605
51606
51607       ac_ext=cpp
51608 ac_cpp='$CXXCPP $CPPFLAGS'
51609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51612
51613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51614 /* end confdefs.h.  */
51615 #include <math.h>
51616                       #ifdef HAVE_IEEEFP_H
51617                       #include <ieeefp.h>
51618                       #endif
51619
51620 int
51621 main ()
51622 {
51623  qfpclass(0);
51624   ;
51625   return 0;
51626 }
51627 _ACEOF
51628 if ac_fn_cxx_try_compile "$LINENO"; then :
51629   glibcxx_cv_func_qfpclass_use=yes
51630 else
51631   glibcxx_cv_func_qfpclass_use=no
51632 fi
51633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51634       ac_ext=c
51635 ac_cpp='$CPP $CPPFLAGS'
51636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51639
51640
51641 fi
51642
51643   fi
51644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51645 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51646
51647   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51648     for ac_func in qfpclass
51649 do :
51650   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51651 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51652   cat >>confdefs.h <<_ACEOF
51653 #define HAVE_QFPCLASS 1
51654 _ACEOF
51655
51656 fi
51657 done
51658
51659   else
51660
51661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51662 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51663   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51664     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51665   $as_echo_n "(cached) " >&6
51666 else
51667
51668
51669       ac_ext=cpp
51670 ac_cpp='$CXXCPP $CPPFLAGS'
51671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674
51675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51676 /* end confdefs.h.  */
51677 #include <math.h>
51678                       #ifdef HAVE_IEEEFP_H
51679                       #include <ieeefp.h>
51680                       #endif
51681
51682 int
51683 main ()
51684 {
51685  _qfpclass(0);
51686   ;
51687   return 0;
51688 }
51689 _ACEOF
51690 if ac_fn_cxx_try_compile "$LINENO"; then :
51691   glibcxx_cv_func__qfpclass_use=yes
51692 else
51693   glibcxx_cv_func__qfpclass_use=no
51694 fi
51695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51696       ac_ext=c
51697 ac_cpp='$CPP $CPPFLAGS'
51698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701
51702
51703 fi
51704
51705   fi
51706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51707 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51708
51709     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51710       for ac_func in _qfpclass
51711 do :
51712   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51713 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51714   cat >>confdefs.h <<_ACEOF
51715 #define HAVE__QFPCLASS 1
51716 _ACEOF
51717
51718 fi
51719 done
51720
51721     fi
51722   fi
51723
51724
51725
51726
51727
51728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51729 $as_echo_n "checking for hypot declaration... " >&6; }
51730   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51731     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51732   $as_echo_n "(cached) " >&6
51733 else
51734
51735
51736       ac_ext=cpp
51737 ac_cpp='$CXXCPP $CPPFLAGS'
51738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51741
51742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51743 /* end confdefs.h.  */
51744 #include <math.h>
51745 int
51746 main ()
51747 {
51748  hypot(0, 0);
51749   ;
51750   return 0;
51751 }
51752 _ACEOF
51753 if ac_fn_cxx_try_compile "$LINENO"; then :
51754   glibcxx_cv_func_hypot_use=yes
51755 else
51756   glibcxx_cv_func_hypot_use=no
51757 fi
51758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51759       ac_ext=c
51760 ac_cpp='$CPP $CPPFLAGS'
51761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51764
51765
51766 fi
51767
51768   fi
51769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51770 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51771
51772   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51773     for ac_func in hypot
51774 do :
51775   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51776 if test "x$ac_cv_func_hypot" = x""yes; then :
51777   cat >>confdefs.h <<_ACEOF
51778 #define HAVE_HYPOT 1
51779 _ACEOF
51780
51781 fi
51782 done
51783
51784   else
51785
51786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51787 $as_echo_n "checking for _hypot declaration... " >&6; }
51788   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51789     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51790   $as_echo_n "(cached) " >&6
51791 else
51792
51793
51794       ac_ext=cpp
51795 ac_cpp='$CXXCPP $CPPFLAGS'
51796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799
51800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801 /* end confdefs.h.  */
51802 #include <math.h>
51803 int
51804 main ()
51805 {
51806  _hypot(0, 0);
51807   ;
51808   return 0;
51809 }
51810 _ACEOF
51811 if ac_fn_cxx_try_compile "$LINENO"; then :
51812   glibcxx_cv_func__hypot_use=yes
51813 else
51814   glibcxx_cv_func__hypot_use=no
51815 fi
51816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51817       ac_ext=c
51818 ac_cpp='$CPP $CPPFLAGS'
51819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822
51823
51824 fi
51825
51826   fi
51827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51828 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51829
51830     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51831       for ac_func in _hypot
51832 do :
51833   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51834 if test "x$ac_cv_func__hypot" = x""yes; then :
51835   cat >>confdefs.h <<_ACEOF
51836 #define HAVE__HYPOT 1
51837 _ACEOF
51838
51839 fi
51840 done
51841
51842     fi
51843   fi
51844
51845
51846
51847
51848
51849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51850 $as_echo_n "checking for float trig functions... " >&6; }
51851   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51852   $as_echo_n "(cached) " >&6
51853 else
51854
51855
51856     ac_ext=cpp
51857 ac_cpp='$CXXCPP $CPPFLAGS'
51858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51861
51862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51863 /* end confdefs.h.  */
51864 #include <math.h>
51865 int
51866 main ()
51867 {
51868 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51869   ;
51870   return 0;
51871 }
51872 _ACEOF
51873 if ac_fn_cxx_try_compile "$LINENO"; then :
51874   glibcxx_cv_func_float_trig_use=yes
51875 else
51876   glibcxx_cv_func_float_trig_use=no
51877 fi
51878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51879     ac_ext=c
51880 ac_cpp='$CPP $CPPFLAGS'
51881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51884
51885 fi
51886
51887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51888 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51889   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51890     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51891 do :
51892   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51894 eval as_val=\$$as_ac_var
51895    if test "x$as_val" = x""yes; then :
51896   cat >>confdefs.h <<_ACEOF
51897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51898 _ACEOF
51899
51900 fi
51901 done
51902
51903   else
51904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51905 $as_echo_n "checking for _float trig functions... " >&6; }
51906     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51907   $as_echo_n "(cached) " >&6
51908 else
51909
51910
51911       ac_ext=cpp
51912 ac_cpp='$CXXCPP $CPPFLAGS'
51913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51916
51917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51918 /* end confdefs.h.  */
51919 #include <math.h>
51920 int
51921 main ()
51922 {
51923 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51924   ;
51925   return 0;
51926 }
51927 _ACEOF
51928 if ac_fn_cxx_try_compile "$LINENO"; then :
51929   glibcxx_cv_func__float_trig_use=yes
51930 else
51931   glibcxx_cv_func__float_trig_use=no
51932 fi
51933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51934       ac_ext=c
51935 ac_cpp='$CPP $CPPFLAGS'
51936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51939
51940 fi
51941
51942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51943 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51944     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51945       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51946 do :
51947   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51949 eval as_val=\$$as_ac_var
51950    if test "x$as_val" = x""yes; then :
51951   cat >>confdefs.h <<_ACEOF
51952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51953 _ACEOF
51954
51955 fi
51956 done
51957
51958     fi
51959   fi
51960
51961
51962
51963
51964
51965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51966 $as_echo_n "checking for float round functions... " >&6; }
51967   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51968   $as_echo_n "(cached) " >&6
51969 else
51970
51971
51972     ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51977
51978     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h.  */
51980 #include <math.h>
51981 int
51982 main ()
51983 {
51984 ceilf (0); floorf (0);
51985   ;
51986   return 0;
51987 }
51988 _ACEOF
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990   glibcxx_cv_func_float_round_use=yes
51991 else
51992   glibcxx_cv_func_float_round_use=no
51993 fi
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995     ac_ext=c
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52000
52001 fi
52002
52003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52004 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52005   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52006     for ac_func in ceilf floorf
52007 do :
52008   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52010 eval as_val=\$$as_ac_var
52011    if test "x$as_val" = x""yes; then :
52012   cat >>confdefs.h <<_ACEOF
52013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52014 _ACEOF
52015
52016 fi
52017 done
52018
52019   else
52020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52021 $as_echo_n "checking for _float round functions... " >&6; }
52022     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52023   $as_echo_n "(cached) " >&6
52024 else
52025
52026
52027       ac_ext=cpp
52028 ac_cpp='$CXXCPP $CPPFLAGS'
52029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52032
52033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52034 /* end confdefs.h.  */
52035 #include <math.h>
52036 int
52037 main ()
52038 {
52039 _ceilf (0); _floorf (0);
52040   ;
52041   return 0;
52042 }
52043 _ACEOF
52044 if ac_fn_cxx_try_compile "$LINENO"; then :
52045   glibcxx_cv_func__float_round_use=yes
52046 else
52047   glibcxx_cv_func__float_round_use=no
52048 fi
52049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52050       ac_ext=c
52051 ac_cpp='$CPP $CPPFLAGS'
52052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52055
52056 fi
52057
52058     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52059 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52060     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52061       for ac_func in _ceilf _floorf
52062 do :
52063   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52065 eval as_val=\$$as_ac_var
52066    if test "x$as_val" = x""yes; then :
52067   cat >>confdefs.h <<_ACEOF
52068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52069 _ACEOF
52070
52071 fi
52072 done
52073
52074     fi
52075   fi
52076
52077
52078
52079
52080
52081
52082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52083 $as_echo_n "checking for expf declaration... " >&6; }
52084   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52085     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52086   $as_echo_n "(cached) " >&6
52087 else
52088
52089
52090       ac_ext=cpp
52091 ac_cpp='$CXXCPP $CPPFLAGS'
52092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52095
52096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52097 /* end confdefs.h.  */
52098 #include <math.h>
52099                       #ifdef HAVE_IEEEFP_H
52100                       #include <ieeefp.h>
52101                       #endif
52102
52103 int
52104 main ()
52105 {
52106  expf(0);
52107   ;
52108   return 0;
52109 }
52110 _ACEOF
52111 if ac_fn_cxx_try_compile "$LINENO"; then :
52112   glibcxx_cv_func_expf_use=yes
52113 else
52114   glibcxx_cv_func_expf_use=no
52115 fi
52116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52117       ac_ext=c
52118 ac_cpp='$CPP $CPPFLAGS'
52119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52122
52123
52124 fi
52125
52126   fi
52127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52128 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52129
52130   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52131     for ac_func in expf
52132 do :
52133   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52134 if test "x$ac_cv_func_expf" = x""yes; then :
52135   cat >>confdefs.h <<_ACEOF
52136 #define HAVE_EXPF 1
52137 _ACEOF
52138
52139 fi
52140 done
52141
52142   else
52143
52144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52145 $as_echo_n "checking for _expf declaration... " >&6; }
52146   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52147     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52148   $as_echo_n "(cached) " >&6
52149 else
52150
52151
52152       ac_ext=cpp
52153 ac_cpp='$CXXCPP $CPPFLAGS'
52154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52157
52158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h.  */
52160 #include <math.h>
52161                       #ifdef HAVE_IEEEFP_H
52162                       #include <ieeefp.h>
52163                       #endif
52164
52165 int
52166 main ()
52167 {
52168  _expf(0);
52169   ;
52170   return 0;
52171 }
52172 _ACEOF
52173 if ac_fn_cxx_try_compile "$LINENO"; then :
52174   glibcxx_cv_func__expf_use=yes
52175 else
52176   glibcxx_cv_func__expf_use=no
52177 fi
52178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52179       ac_ext=c
52180 ac_cpp='$CPP $CPPFLAGS'
52181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52184
52185
52186 fi
52187
52188   fi
52189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52190 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52191
52192     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52193       for ac_func in _expf
52194 do :
52195   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52196 if test "x$ac_cv_func__expf" = x""yes; then :
52197   cat >>confdefs.h <<_ACEOF
52198 #define HAVE__EXPF 1
52199 _ACEOF
52200
52201 fi
52202 done
52203
52204     fi
52205   fi
52206
52207
52208
52209
52210
52211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52212 $as_echo_n "checking for isnanf declaration... " >&6; }
52213   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52214     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52215   $as_echo_n "(cached) " >&6
52216 else
52217
52218
52219       ac_ext=cpp
52220 ac_cpp='$CXXCPP $CPPFLAGS'
52221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52224
52225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52226 /* end confdefs.h.  */
52227 #include <math.h>
52228                       #ifdef HAVE_IEEEFP_H
52229                       #include <ieeefp.h>
52230                       #endif
52231
52232 int
52233 main ()
52234 {
52235  isnanf(0);
52236   ;
52237   return 0;
52238 }
52239 _ACEOF
52240 if ac_fn_cxx_try_compile "$LINENO"; then :
52241   glibcxx_cv_func_isnanf_use=yes
52242 else
52243   glibcxx_cv_func_isnanf_use=no
52244 fi
52245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52246       ac_ext=c
52247 ac_cpp='$CPP $CPPFLAGS'
52248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52251
52252
52253 fi
52254
52255   fi
52256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52257 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52258
52259   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52260     for ac_func in isnanf
52261 do :
52262   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52263 if test "x$ac_cv_func_isnanf" = x""yes; then :
52264   cat >>confdefs.h <<_ACEOF
52265 #define HAVE_ISNANF 1
52266 _ACEOF
52267
52268 fi
52269 done
52270
52271   else
52272
52273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52274 $as_echo_n "checking for _isnanf declaration... " >&6; }
52275   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52276     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52277   $as_echo_n "(cached) " >&6
52278 else
52279
52280
52281       ac_ext=cpp
52282 ac_cpp='$CXXCPP $CPPFLAGS'
52283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52286
52287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52288 /* end confdefs.h.  */
52289 #include <math.h>
52290                       #ifdef HAVE_IEEEFP_H
52291                       #include <ieeefp.h>
52292                       #endif
52293
52294 int
52295 main ()
52296 {
52297  _isnanf(0);
52298   ;
52299   return 0;
52300 }
52301 _ACEOF
52302 if ac_fn_cxx_try_compile "$LINENO"; then :
52303   glibcxx_cv_func__isnanf_use=yes
52304 else
52305   glibcxx_cv_func__isnanf_use=no
52306 fi
52307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52308       ac_ext=c
52309 ac_cpp='$CPP $CPPFLAGS'
52310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52313
52314
52315 fi
52316
52317   fi
52318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52319 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52320
52321     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52322       for ac_func in _isnanf
52323 do :
52324   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52325 if test "x$ac_cv_func__isnanf" = x""yes; then :
52326   cat >>confdefs.h <<_ACEOF
52327 #define HAVE__ISNANF 1
52328 _ACEOF
52329
52330 fi
52331 done
52332
52333     fi
52334   fi
52335
52336
52337
52338
52339
52340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52341 $as_echo_n "checking for isinff declaration... " >&6; }
52342   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52343     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52344   $as_echo_n "(cached) " >&6
52345 else
52346
52347
52348       ac_ext=cpp
52349 ac_cpp='$CXXCPP $CPPFLAGS'
52350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52353
52354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h.  */
52356 #include <math.h>
52357                       #ifdef HAVE_IEEEFP_H
52358                       #include <ieeefp.h>
52359                       #endif
52360
52361 int
52362 main ()
52363 {
52364  isinff(0);
52365   ;
52366   return 0;
52367 }
52368 _ACEOF
52369 if ac_fn_cxx_try_compile "$LINENO"; then :
52370   glibcxx_cv_func_isinff_use=yes
52371 else
52372   glibcxx_cv_func_isinff_use=no
52373 fi
52374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52375       ac_ext=c
52376 ac_cpp='$CPP $CPPFLAGS'
52377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52380
52381
52382 fi
52383
52384   fi
52385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52386 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52387
52388   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52389     for ac_func in isinff
52390 do :
52391   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52392 if test "x$ac_cv_func_isinff" = x""yes; then :
52393   cat >>confdefs.h <<_ACEOF
52394 #define HAVE_ISINFF 1
52395 _ACEOF
52396
52397 fi
52398 done
52399
52400   else
52401
52402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52403 $as_echo_n "checking for _isinff declaration... " >&6; }
52404   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52405     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52406   $as_echo_n "(cached) " >&6
52407 else
52408
52409
52410       ac_ext=cpp
52411 ac_cpp='$CXXCPP $CPPFLAGS'
52412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52415
52416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52417 /* end confdefs.h.  */
52418 #include <math.h>
52419                       #ifdef HAVE_IEEEFP_H
52420                       #include <ieeefp.h>
52421                       #endif
52422
52423 int
52424 main ()
52425 {
52426  _isinff(0);
52427   ;
52428   return 0;
52429 }
52430 _ACEOF
52431 if ac_fn_cxx_try_compile "$LINENO"; then :
52432   glibcxx_cv_func__isinff_use=yes
52433 else
52434   glibcxx_cv_func__isinff_use=no
52435 fi
52436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52437       ac_ext=c
52438 ac_cpp='$CPP $CPPFLAGS'
52439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52442
52443
52444 fi
52445
52446   fi
52447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52448 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52449
52450     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52451       for ac_func in _isinff
52452 do :
52453   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52454 if test "x$ac_cv_func__isinff" = x""yes; then :
52455   cat >>confdefs.h <<_ACEOF
52456 #define HAVE__ISINFF 1
52457 _ACEOF
52458
52459 fi
52460 done
52461
52462     fi
52463   fi
52464
52465
52466
52467
52468
52469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52470 $as_echo_n "checking for atan2f declaration... " >&6; }
52471   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52472     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52473   $as_echo_n "(cached) " >&6
52474 else
52475
52476
52477       ac_ext=cpp
52478 ac_cpp='$CXXCPP $CPPFLAGS'
52479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52482
52483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52484 /* end confdefs.h.  */
52485 #include <math.h>
52486 int
52487 main ()
52488 {
52489  atan2f(0, 0);
52490   ;
52491   return 0;
52492 }
52493 _ACEOF
52494 if ac_fn_cxx_try_compile "$LINENO"; then :
52495   glibcxx_cv_func_atan2f_use=yes
52496 else
52497   glibcxx_cv_func_atan2f_use=no
52498 fi
52499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52500       ac_ext=c
52501 ac_cpp='$CPP $CPPFLAGS'
52502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52505
52506
52507 fi
52508
52509   fi
52510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52511 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52512
52513   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52514     for ac_func in atan2f
52515 do :
52516   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52517 if test "x$ac_cv_func_atan2f" = x""yes; then :
52518   cat >>confdefs.h <<_ACEOF
52519 #define HAVE_ATAN2F 1
52520 _ACEOF
52521
52522 fi
52523 done
52524
52525   else
52526
52527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52528 $as_echo_n "checking for _atan2f declaration... " >&6; }
52529   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52530     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52531   $as_echo_n "(cached) " >&6
52532 else
52533
52534
52535       ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52540
52541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h.  */
52543 #include <math.h>
52544 int
52545 main ()
52546 {
52547  _atan2f(0, 0);
52548   ;
52549   return 0;
52550 }
52551 _ACEOF
52552 if ac_fn_cxx_try_compile "$LINENO"; then :
52553   glibcxx_cv_func__atan2f_use=yes
52554 else
52555   glibcxx_cv_func__atan2f_use=no
52556 fi
52557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52558       ac_ext=c
52559 ac_cpp='$CPP $CPPFLAGS'
52560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52563
52564
52565 fi
52566
52567   fi
52568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52569 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52570
52571     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52572       for ac_func in _atan2f
52573 do :
52574   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52575 if test "x$ac_cv_func__atan2f" = x""yes; then :
52576   cat >>confdefs.h <<_ACEOF
52577 #define HAVE__ATAN2F 1
52578 _ACEOF
52579
52580 fi
52581 done
52582
52583     fi
52584   fi
52585
52586
52587
52588
52589
52590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52591 $as_echo_n "checking for fabsf declaration... " >&6; }
52592   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52593     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52594   $as_echo_n "(cached) " >&6
52595 else
52596
52597
52598       ac_ext=cpp
52599 ac_cpp='$CXXCPP $CPPFLAGS'
52600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603
52604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605 /* end confdefs.h.  */
52606 #include <math.h>
52607                       #ifdef HAVE_IEEEFP_H
52608                       #include <ieeefp.h>
52609                       #endif
52610
52611 int
52612 main ()
52613 {
52614  fabsf(0);
52615   ;
52616   return 0;
52617 }
52618 _ACEOF
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620   glibcxx_cv_func_fabsf_use=yes
52621 else
52622   glibcxx_cv_func_fabsf_use=no
52623 fi
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52625       ac_ext=c
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52630
52631
52632 fi
52633
52634   fi
52635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52636 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52637
52638   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52639     for ac_func in fabsf
52640 do :
52641   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52642 if test "x$ac_cv_func_fabsf" = x""yes; then :
52643   cat >>confdefs.h <<_ACEOF
52644 #define HAVE_FABSF 1
52645 _ACEOF
52646
52647 fi
52648 done
52649
52650   else
52651
52652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52653 $as_echo_n "checking for _fabsf declaration... " >&6; }
52654   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52655     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52656   $as_echo_n "(cached) " >&6
52657 else
52658
52659
52660       ac_ext=cpp
52661 ac_cpp='$CXXCPP $CPPFLAGS'
52662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52665
52666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52667 /* end confdefs.h.  */
52668 #include <math.h>
52669                       #ifdef HAVE_IEEEFP_H
52670                       #include <ieeefp.h>
52671                       #endif
52672
52673 int
52674 main ()
52675 {
52676  _fabsf(0);
52677   ;
52678   return 0;
52679 }
52680 _ACEOF
52681 if ac_fn_cxx_try_compile "$LINENO"; then :
52682   glibcxx_cv_func__fabsf_use=yes
52683 else
52684   glibcxx_cv_func__fabsf_use=no
52685 fi
52686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52687       ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52692
52693
52694 fi
52695
52696   fi
52697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52698 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52699
52700     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52701       for ac_func in _fabsf
52702 do :
52703   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52704 if test "x$ac_cv_func__fabsf" = x""yes; then :
52705   cat >>confdefs.h <<_ACEOF
52706 #define HAVE__FABSF 1
52707 _ACEOF
52708
52709 fi
52710 done
52711
52712     fi
52713   fi
52714
52715
52716
52717
52718
52719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52720 $as_echo_n "checking for fmodf declaration... " >&6; }
52721   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52722     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52723   $as_echo_n "(cached) " >&6
52724 else
52725
52726
52727       ac_ext=cpp
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52732
52733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734 /* end confdefs.h.  */
52735 #include <math.h>
52736 int
52737 main ()
52738 {
52739  fmodf(0, 0);
52740   ;
52741   return 0;
52742 }
52743 _ACEOF
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745   glibcxx_cv_func_fmodf_use=yes
52746 else
52747   glibcxx_cv_func_fmodf_use=no
52748 fi
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52750       ac_ext=c
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52755
52756
52757 fi
52758
52759   fi
52760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52761 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52762
52763   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52764     for ac_func in fmodf
52765 do :
52766   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52767 if test "x$ac_cv_func_fmodf" = x""yes; then :
52768   cat >>confdefs.h <<_ACEOF
52769 #define HAVE_FMODF 1
52770 _ACEOF
52771
52772 fi
52773 done
52774
52775   else
52776
52777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52778 $as_echo_n "checking for _fmodf declaration... " >&6; }
52779   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52780     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52781   $as_echo_n "(cached) " >&6
52782 else
52783
52784
52785       ac_ext=cpp
52786 ac_cpp='$CXXCPP $CPPFLAGS'
52787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52790
52791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792 /* end confdefs.h.  */
52793 #include <math.h>
52794 int
52795 main ()
52796 {
52797  _fmodf(0, 0);
52798   ;
52799   return 0;
52800 }
52801 _ACEOF
52802 if ac_fn_cxx_try_compile "$LINENO"; then :
52803   glibcxx_cv_func__fmodf_use=yes
52804 else
52805   glibcxx_cv_func__fmodf_use=no
52806 fi
52807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52808       ac_ext=c
52809 ac_cpp='$CPP $CPPFLAGS'
52810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52813
52814
52815 fi
52816
52817   fi
52818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52819 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52820
52821     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52822       for ac_func in _fmodf
52823 do :
52824   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52825 if test "x$ac_cv_func__fmodf" = x""yes; then :
52826   cat >>confdefs.h <<_ACEOF
52827 #define HAVE__FMODF 1
52828 _ACEOF
52829
52830 fi
52831 done
52832
52833     fi
52834   fi
52835
52836
52837
52838
52839
52840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52841 $as_echo_n "checking for frexpf declaration... " >&6; }
52842   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52843     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52844   $as_echo_n "(cached) " >&6
52845 else
52846
52847
52848       ac_ext=cpp
52849 ac_cpp='$CXXCPP $CPPFLAGS'
52850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52853
52854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52855 /* end confdefs.h.  */
52856 #include <math.h>
52857 int
52858 main ()
52859 {
52860  frexpf(0, 0);
52861   ;
52862   return 0;
52863 }
52864 _ACEOF
52865 if ac_fn_cxx_try_compile "$LINENO"; then :
52866   glibcxx_cv_func_frexpf_use=yes
52867 else
52868   glibcxx_cv_func_frexpf_use=no
52869 fi
52870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52871       ac_ext=c
52872 ac_cpp='$CPP $CPPFLAGS'
52873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52876
52877
52878 fi
52879
52880   fi
52881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52882 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52883
52884   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52885     for ac_func in frexpf
52886 do :
52887   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52888 if test "x$ac_cv_func_frexpf" = x""yes; then :
52889   cat >>confdefs.h <<_ACEOF
52890 #define HAVE_FREXPF 1
52891 _ACEOF
52892
52893 fi
52894 done
52895
52896   else
52897
52898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52899 $as_echo_n "checking for _frexpf declaration... " >&6; }
52900   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52901     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52902   $as_echo_n "(cached) " >&6
52903 else
52904
52905
52906       ac_ext=cpp
52907 ac_cpp='$CXXCPP $CPPFLAGS'
52908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52911
52912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52913 /* end confdefs.h.  */
52914 #include <math.h>
52915 int
52916 main ()
52917 {
52918  _frexpf(0, 0);
52919   ;
52920   return 0;
52921 }
52922 _ACEOF
52923 if ac_fn_cxx_try_compile "$LINENO"; then :
52924   glibcxx_cv_func__frexpf_use=yes
52925 else
52926   glibcxx_cv_func__frexpf_use=no
52927 fi
52928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52929       ac_ext=c
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52934
52935
52936 fi
52937
52938   fi
52939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52940 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52941
52942     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52943       for ac_func in _frexpf
52944 do :
52945   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52946 if test "x$ac_cv_func__frexpf" = x""yes; then :
52947   cat >>confdefs.h <<_ACEOF
52948 #define HAVE__FREXPF 1
52949 _ACEOF
52950
52951 fi
52952 done
52953
52954     fi
52955   fi
52956
52957
52958
52959
52960
52961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52962 $as_echo_n "checking for hypotf declaration... " >&6; }
52963   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52964     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52965   $as_echo_n "(cached) " >&6
52966 else
52967
52968
52969       ac_ext=cpp
52970 ac_cpp='$CXXCPP $CPPFLAGS'
52971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52974
52975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52976 /* end confdefs.h.  */
52977 #include <math.h>
52978 int
52979 main ()
52980 {
52981  hypotf(0, 0);
52982   ;
52983   return 0;
52984 }
52985 _ACEOF
52986 if ac_fn_cxx_try_compile "$LINENO"; then :
52987   glibcxx_cv_func_hypotf_use=yes
52988 else
52989   glibcxx_cv_func_hypotf_use=no
52990 fi
52991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52992       ac_ext=c
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52997
52998
52999 fi
53000
53001   fi
53002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53003 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53004
53005   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53006     for ac_func in hypotf
53007 do :
53008   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53009 if test "x$ac_cv_func_hypotf" = x""yes; then :
53010   cat >>confdefs.h <<_ACEOF
53011 #define HAVE_HYPOTF 1
53012 _ACEOF
53013
53014 fi
53015 done
53016
53017   else
53018
53019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53020 $as_echo_n "checking for _hypotf declaration... " >&6; }
53021   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53022     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53023   $as_echo_n "(cached) " >&6
53024 else
53025
53026
53027       ac_ext=cpp
53028 ac_cpp='$CXXCPP $CPPFLAGS'
53029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53032
53033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53034 /* end confdefs.h.  */
53035 #include <math.h>
53036 int
53037 main ()
53038 {
53039  _hypotf(0, 0);
53040   ;
53041   return 0;
53042 }
53043 _ACEOF
53044 if ac_fn_cxx_try_compile "$LINENO"; then :
53045   glibcxx_cv_func__hypotf_use=yes
53046 else
53047   glibcxx_cv_func__hypotf_use=no
53048 fi
53049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53050       ac_ext=c
53051 ac_cpp='$CPP $CPPFLAGS'
53052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53055
53056
53057 fi
53058
53059   fi
53060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53061 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53062
53063     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53064       for ac_func in _hypotf
53065 do :
53066   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53067 if test "x$ac_cv_func__hypotf" = x""yes; then :
53068   cat >>confdefs.h <<_ACEOF
53069 #define HAVE__HYPOTF 1
53070 _ACEOF
53071
53072 fi
53073 done
53074
53075     fi
53076   fi
53077
53078
53079
53080
53081
53082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53083 $as_echo_n "checking for ldexpf declaration... " >&6; }
53084   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53085     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53086   $as_echo_n "(cached) " >&6
53087 else
53088
53089
53090       ac_ext=cpp
53091 ac_cpp='$CXXCPP $CPPFLAGS'
53092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53095
53096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53097 /* end confdefs.h.  */
53098 #include <math.h>
53099 int
53100 main ()
53101 {
53102  ldexpf(0, 0);
53103   ;
53104   return 0;
53105 }
53106 _ACEOF
53107 if ac_fn_cxx_try_compile "$LINENO"; then :
53108   glibcxx_cv_func_ldexpf_use=yes
53109 else
53110   glibcxx_cv_func_ldexpf_use=no
53111 fi
53112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53113       ac_ext=c
53114 ac_cpp='$CPP $CPPFLAGS'
53115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53118
53119
53120 fi
53121
53122   fi
53123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53124 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53125
53126   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53127     for ac_func in ldexpf
53128 do :
53129   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53130 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53131   cat >>confdefs.h <<_ACEOF
53132 #define HAVE_LDEXPF 1
53133 _ACEOF
53134
53135 fi
53136 done
53137
53138   else
53139
53140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53141 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53142   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53143     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53144   $as_echo_n "(cached) " >&6
53145 else
53146
53147
53148       ac_ext=cpp
53149 ac_cpp='$CXXCPP $CPPFLAGS'
53150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53153
53154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53155 /* end confdefs.h.  */
53156 #include <math.h>
53157 int
53158 main ()
53159 {
53160  _ldexpf(0, 0);
53161   ;
53162   return 0;
53163 }
53164 _ACEOF
53165 if ac_fn_cxx_try_compile "$LINENO"; then :
53166   glibcxx_cv_func__ldexpf_use=yes
53167 else
53168   glibcxx_cv_func__ldexpf_use=no
53169 fi
53170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53171       ac_ext=c
53172 ac_cpp='$CPP $CPPFLAGS'
53173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53176
53177
53178 fi
53179
53180   fi
53181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53182 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53183
53184     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53185       for ac_func in _ldexpf
53186 do :
53187   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53188 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53189   cat >>confdefs.h <<_ACEOF
53190 #define HAVE__LDEXPF 1
53191 _ACEOF
53192
53193 fi
53194 done
53195
53196     fi
53197   fi
53198
53199
53200
53201
53202
53203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53204 $as_echo_n "checking for logf declaration... " >&6; }
53205   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53206     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53207   $as_echo_n "(cached) " >&6
53208 else
53209
53210
53211       ac_ext=cpp
53212 ac_cpp='$CXXCPP $CPPFLAGS'
53213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53216
53217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53218 /* end confdefs.h.  */
53219 #include <math.h>
53220                       #ifdef HAVE_IEEEFP_H
53221                       #include <ieeefp.h>
53222                       #endif
53223
53224 int
53225 main ()
53226 {
53227  logf(0);
53228   ;
53229   return 0;
53230 }
53231 _ACEOF
53232 if ac_fn_cxx_try_compile "$LINENO"; then :
53233   glibcxx_cv_func_logf_use=yes
53234 else
53235   glibcxx_cv_func_logf_use=no
53236 fi
53237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53238       ac_ext=c
53239 ac_cpp='$CPP $CPPFLAGS'
53240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53243
53244
53245 fi
53246
53247   fi
53248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53249 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53250
53251   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53252     for ac_func in logf
53253 do :
53254   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53255 if test "x$ac_cv_func_logf" = x""yes; then :
53256   cat >>confdefs.h <<_ACEOF
53257 #define HAVE_LOGF 1
53258 _ACEOF
53259
53260 fi
53261 done
53262
53263   else
53264
53265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53266 $as_echo_n "checking for _logf declaration... " >&6; }
53267   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53268     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53269   $as_echo_n "(cached) " >&6
53270 else
53271
53272
53273       ac_ext=cpp
53274 ac_cpp='$CXXCPP $CPPFLAGS'
53275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53278
53279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53280 /* end confdefs.h.  */
53281 #include <math.h>
53282                       #ifdef HAVE_IEEEFP_H
53283                       #include <ieeefp.h>
53284                       #endif
53285
53286 int
53287 main ()
53288 {
53289  _logf(0);
53290   ;
53291   return 0;
53292 }
53293 _ACEOF
53294 if ac_fn_cxx_try_compile "$LINENO"; then :
53295   glibcxx_cv_func__logf_use=yes
53296 else
53297   glibcxx_cv_func__logf_use=no
53298 fi
53299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53300       ac_ext=c
53301 ac_cpp='$CPP $CPPFLAGS'
53302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53305
53306
53307 fi
53308
53309   fi
53310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53311 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53312
53313     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53314       for ac_func in _logf
53315 do :
53316   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53317 if test "x$ac_cv_func__logf" = x""yes; then :
53318   cat >>confdefs.h <<_ACEOF
53319 #define HAVE__LOGF 1
53320 _ACEOF
53321
53322 fi
53323 done
53324
53325     fi
53326   fi
53327
53328
53329
53330
53331
53332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53333 $as_echo_n "checking for log10f declaration... " >&6; }
53334   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53335     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53336   $as_echo_n "(cached) " >&6
53337 else
53338
53339
53340       ac_ext=cpp
53341 ac_cpp='$CXXCPP $CPPFLAGS'
53342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53345
53346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53347 /* end confdefs.h.  */
53348 #include <math.h>
53349                       #ifdef HAVE_IEEEFP_H
53350                       #include <ieeefp.h>
53351                       #endif
53352
53353 int
53354 main ()
53355 {
53356  log10f(0);
53357   ;
53358   return 0;
53359 }
53360 _ACEOF
53361 if ac_fn_cxx_try_compile "$LINENO"; then :
53362   glibcxx_cv_func_log10f_use=yes
53363 else
53364   glibcxx_cv_func_log10f_use=no
53365 fi
53366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53367       ac_ext=c
53368 ac_cpp='$CPP $CPPFLAGS'
53369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53372
53373
53374 fi
53375
53376   fi
53377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53378 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53379
53380   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53381     for ac_func in log10f
53382 do :
53383   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53384 if test "x$ac_cv_func_log10f" = x""yes; then :
53385   cat >>confdefs.h <<_ACEOF
53386 #define HAVE_LOG10F 1
53387 _ACEOF
53388
53389 fi
53390 done
53391
53392   else
53393
53394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53395 $as_echo_n "checking for _log10f declaration... " >&6; }
53396   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53397     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53398   $as_echo_n "(cached) " >&6
53399 else
53400
53401
53402       ac_ext=cpp
53403 ac_cpp='$CXXCPP $CPPFLAGS'
53404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53407
53408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53409 /* end confdefs.h.  */
53410 #include <math.h>
53411                       #ifdef HAVE_IEEEFP_H
53412                       #include <ieeefp.h>
53413                       #endif
53414
53415 int
53416 main ()
53417 {
53418  _log10f(0);
53419   ;
53420   return 0;
53421 }
53422 _ACEOF
53423 if ac_fn_cxx_try_compile "$LINENO"; then :
53424   glibcxx_cv_func__log10f_use=yes
53425 else
53426   glibcxx_cv_func__log10f_use=no
53427 fi
53428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53429       ac_ext=c
53430 ac_cpp='$CPP $CPPFLAGS'
53431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53434
53435
53436 fi
53437
53438   fi
53439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53440 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53441
53442     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53443       for ac_func in _log10f
53444 do :
53445   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53446 if test "x$ac_cv_func__log10f" = x""yes; then :
53447   cat >>confdefs.h <<_ACEOF
53448 #define HAVE__LOG10F 1
53449 _ACEOF
53450
53451 fi
53452 done
53453
53454     fi
53455   fi
53456
53457
53458
53459
53460
53461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53462 $as_echo_n "checking for modff declaration... " >&6; }
53463   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53464     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53465   $as_echo_n "(cached) " >&6
53466 else
53467
53468
53469       ac_ext=cpp
53470 ac_cpp='$CXXCPP $CPPFLAGS'
53471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53474
53475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53476 /* end confdefs.h.  */
53477 #include <math.h>
53478 int
53479 main ()
53480 {
53481  modff(0, 0);
53482   ;
53483   return 0;
53484 }
53485 _ACEOF
53486 if ac_fn_cxx_try_compile "$LINENO"; then :
53487   glibcxx_cv_func_modff_use=yes
53488 else
53489   glibcxx_cv_func_modff_use=no
53490 fi
53491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53492       ac_ext=c
53493 ac_cpp='$CPP $CPPFLAGS'
53494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53497
53498
53499 fi
53500
53501   fi
53502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53503 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53504
53505   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53506     for ac_func in modff
53507 do :
53508   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53509 if test "x$ac_cv_func_modff" = x""yes; then :
53510   cat >>confdefs.h <<_ACEOF
53511 #define HAVE_MODFF 1
53512 _ACEOF
53513
53514 fi
53515 done
53516
53517   else
53518
53519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53520 $as_echo_n "checking for _modff declaration... " >&6; }
53521   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53522     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53523   $as_echo_n "(cached) " >&6
53524 else
53525
53526
53527       ac_ext=cpp
53528 ac_cpp='$CXXCPP $CPPFLAGS'
53529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53532
53533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53534 /* end confdefs.h.  */
53535 #include <math.h>
53536 int
53537 main ()
53538 {
53539  _modff(0, 0);
53540   ;
53541   return 0;
53542 }
53543 _ACEOF
53544 if ac_fn_cxx_try_compile "$LINENO"; then :
53545   glibcxx_cv_func__modff_use=yes
53546 else
53547   glibcxx_cv_func__modff_use=no
53548 fi
53549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53550       ac_ext=c
53551 ac_cpp='$CPP $CPPFLAGS'
53552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53555
53556
53557 fi
53558
53559   fi
53560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53561 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53562
53563     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53564       for ac_func in _modff
53565 do :
53566   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53567 if test "x$ac_cv_func__modff" = x""yes; then :
53568   cat >>confdefs.h <<_ACEOF
53569 #define HAVE__MODFF 1
53570 _ACEOF
53571
53572 fi
53573 done
53574
53575     fi
53576   fi
53577
53578
53579
53580
53581
53582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53583 $as_echo_n "checking for modf declaration... " >&6; }
53584   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53585     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53586   $as_echo_n "(cached) " >&6
53587 else
53588
53589
53590       ac_ext=cpp
53591 ac_cpp='$CXXCPP $CPPFLAGS'
53592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53595
53596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53597 /* end confdefs.h.  */
53598 #include <math.h>
53599 int
53600 main ()
53601 {
53602  modf(0, 0);
53603   ;
53604   return 0;
53605 }
53606 _ACEOF
53607 if ac_fn_cxx_try_compile "$LINENO"; then :
53608   glibcxx_cv_func_modf_use=yes
53609 else
53610   glibcxx_cv_func_modf_use=no
53611 fi
53612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53613       ac_ext=c
53614 ac_cpp='$CPP $CPPFLAGS'
53615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53618
53619
53620 fi
53621
53622   fi
53623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53624 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53625
53626   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53627     for ac_func in modf
53628 do :
53629   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53630 if test "x$ac_cv_func_modf" = x""yes; then :
53631   cat >>confdefs.h <<_ACEOF
53632 #define HAVE_MODF 1
53633 _ACEOF
53634
53635 fi
53636 done
53637
53638   else
53639
53640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53641 $as_echo_n "checking for _modf declaration... " >&6; }
53642   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53643     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53644   $as_echo_n "(cached) " >&6
53645 else
53646
53647
53648       ac_ext=cpp
53649 ac_cpp='$CXXCPP $CPPFLAGS'
53650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53653
53654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53655 /* end confdefs.h.  */
53656 #include <math.h>
53657 int
53658 main ()
53659 {
53660  _modf(0, 0);
53661   ;
53662   return 0;
53663 }
53664 _ACEOF
53665 if ac_fn_cxx_try_compile "$LINENO"; then :
53666   glibcxx_cv_func__modf_use=yes
53667 else
53668   glibcxx_cv_func__modf_use=no
53669 fi
53670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53671       ac_ext=c
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676
53677
53678 fi
53679
53680   fi
53681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53682 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53683
53684     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53685       for ac_func in _modf
53686 do :
53687   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53688 if test "x$ac_cv_func__modf" = x""yes; then :
53689   cat >>confdefs.h <<_ACEOF
53690 #define HAVE__MODF 1
53691 _ACEOF
53692
53693 fi
53694 done
53695
53696     fi
53697   fi
53698
53699
53700
53701
53702
53703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53704 $as_echo_n "checking for powf declaration... " >&6; }
53705   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53706     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53707   $as_echo_n "(cached) " >&6
53708 else
53709
53710
53711       ac_ext=cpp
53712 ac_cpp='$CXXCPP $CPPFLAGS'
53713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53716
53717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53718 /* end confdefs.h.  */
53719 #include <math.h>
53720 int
53721 main ()
53722 {
53723  powf(0, 0);
53724   ;
53725   return 0;
53726 }
53727 _ACEOF
53728 if ac_fn_cxx_try_compile "$LINENO"; then :
53729   glibcxx_cv_func_powf_use=yes
53730 else
53731   glibcxx_cv_func_powf_use=no
53732 fi
53733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53734       ac_ext=c
53735 ac_cpp='$CPP $CPPFLAGS'
53736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53739
53740
53741 fi
53742
53743   fi
53744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53745 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53746
53747   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53748     for ac_func in powf
53749 do :
53750   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53751 if test "x$ac_cv_func_powf" = x""yes; then :
53752   cat >>confdefs.h <<_ACEOF
53753 #define HAVE_POWF 1
53754 _ACEOF
53755
53756 fi
53757 done
53758
53759   else
53760
53761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53762 $as_echo_n "checking for _powf declaration... " >&6; }
53763   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53764     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53765   $as_echo_n "(cached) " >&6
53766 else
53767
53768
53769       ac_ext=cpp
53770 ac_cpp='$CXXCPP $CPPFLAGS'
53771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53774
53775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53776 /* end confdefs.h.  */
53777 #include <math.h>
53778 int
53779 main ()
53780 {
53781  _powf(0, 0);
53782   ;
53783   return 0;
53784 }
53785 _ACEOF
53786 if ac_fn_cxx_try_compile "$LINENO"; then :
53787   glibcxx_cv_func__powf_use=yes
53788 else
53789   glibcxx_cv_func__powf_use=no
53790 fi
53791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53792       ac_ext=c
53793 ac_cpp='$CPP $CPPFLAGS'
53794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53797
53798
53799 fi
53800
53801   fi
53802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53803 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53804
53805     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53806       for ac_func in _powf
53807 do :
53808   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53809 if test "x$ac_cv_func__powf" = x""yes; then :
53810   cat >>confdefs.h <<_ACEOF
53811 #define HAVE__POWF 1
53812 _ACEOF
53813
53814 fi
53815 done
53816
53817     fi
53818   fi
53819
53820
53821
53822
53823
53824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53825 $as_echo_n "checking for sqrtf declaration... " >&6; }
53826   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53827     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53828   $as_echo_n "(cached) " >&6
53829 else
53830
53831
53832       ac_ext=cpp
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53837
53838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h.  */
53840 #include <math.h>
53841                       #ifdef HAVE_IEEEFP_H
53842                       #include <ieeefp.h>
53843                       #endif
53844
53845 int
53846 main ()
53847 {
53848  sqrtf(0);
53849   ;
53850   return 0;
53851 }
53852 _ACEOF
53853 if ac_fn_cxx_try_compile "$LINENO"; then :
53854   glibcxx_cv_func_sqrtf_use=yes
53855 else
53856   glibcxx_cv_func_sqrtf_use=no
53857 fi
53858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53859       ac_ext=c
53860 ac_cpp='$CPP $CPPFLAGS'
53861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53864
53865
53866 fi
53867
53868   fi
53869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53870 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53871
53872   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53873     for ac_func in sqrtf
53874 do :
53875   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53876 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53877   cat >>confdefs.h <<_ACEOF
53878 #define HAVE_SQRTF 1
53879 _ACEOF
53880
53881 fi
53882 done
53883
53884   else
53885
53886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53887 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53888   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53889     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53890   $as_echo_n "(cached) " >&6
53891 else
53892
53893
53894       ac_ext=cpp
53895 ac_cpp='$CXXCPP $CPPFLAGS'
53896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53899
53900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53901 /* end confdefs.h.  */
53902 #include <math.h>
53903                       #ifdef HAVE_IEEEFP_H
53904                       #include <ieeefp.h>
53905                       #endif
53906
53907 int
53908 main ()
53909 {
53910  _sqrtf(0);
53911   ;
53912   return 0;
53913 }
53914 _ACEOF
53915 if ac_fn_cxx_try_compile "$LINENO"; then :
53916   glibcxx_cv_func__sqrtf_use=yes
53917 else
53918   glibcxx_cv_func__sqrtf_use=no
53919 fi
53920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53921       ac_ext=c
53922 ac_cpp='$CPP $CPPFLAGS'
53923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926
53927
53928 fi
53929
53930   fi
53931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53932 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53933
53934     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53935       for ac_func in _sqrtf
53936 do :
53937   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53938 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53939   cat >>confdefs.h <<_ACEOF
53940 #define HAVE__SQRTF 1
53941 _ACEOF
53942
53943 fi
53944 done
53945
53946     fi
53947   fi
53948
53949
53950
53951
53952
53953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53954 $as_echo_n "checking for sincosf declaration... " >&6; }
53955   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53956     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53957   $as_echo_n "(cached) " >&6
53958 else
53959
53960
53961       ac_ext=cpp
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53966
53967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53968 /* end confdefs.h.  */
53969 #include <math.h>
53970 int
53971 main ()
53972 {
53973  sincosf(0, 0, 0);
53974   ;
53975   return 0;
53976 }
53977 _ACEOF
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979   glibcxx_cv_func_sincosf_use=yes
53980 else
53981   glibcxx_cv_func_sincosf_use=no
53982 fi
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53984       ac_ext=c
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53989
53990
53991 fi
53992
53993   fi
53994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53995 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53996
53997   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53998     for ac_func in sincosf
53999 do :
54000   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54001 if test "x$ac_cv_func_sincosf" = x""yes; then :
54002   cat >>confdefs.h <<_ACEOF
54003 #define HAVE_SINCOSF 1
54004 _ACEOF
54005
54006 fi
54007 done
54008
54009   else
54010
54011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54012 $as_echo_n "checking for _sincosf declaration... " >&6; }
54013   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54014     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54015   $as_echo_n "(cached) " >&6
54016 else
54017
54018
54019       ac_ext=cpp
54020 ac_cpp='$CXXCPP $CPPFLAGS'
54021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54024
54025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54026 /* end confdefs.h.  */
54027 #include <math.h>
54028 int
54029 main ()
54030 {
54031  _sincosf(0, 0, 0);
54032   ;
54033   return 0;
54034 }
54035 _ACEOF
54036 if ac_fn_cxx_try_compile "$LINENO"; then :
54037   glibcxx_cv_func__sincosf_use=yes
54038 else
54039   glibcxx_cv_func__sincosf_use=no
54040 fi
54041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54042       ac_ext=c
54043 ac_cpp='$CPP $CPPFLAGS'
54044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54047
54048
54049 fi
54050
54051   fi
54052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54053 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54054
54055     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54056       for ac_func in _sincosf
54057 do :
54058   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54059 if test "x$ac_cv_func__sincosf" = x""yes; then :
54060   cat >>confdefs.h <<_ACEOF
54061 #define HAVE__SINCOSF 1
54062 _ACEOF
54063
54064 fi
54065 done
54066
54067     fi
54068   fi
54069
54070
54071
54072
54073
54074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54075 $as_echo_n "checking for finitef declaration... " >&6; }
54076   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54077     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54078   $as_echo_n "(cached) " >&6
54079 else
54080
54081
54082       ac_ext=cpp
54083 ac_cpp='$CXXCPP $CPPFLAGS'
54084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54087
54088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54089 /* end confdefs.h.  */
54090 #include <math.h>
54091                       #ifdef HAVE_IEEEFP_H
54092                       #include <ieeefp.h>
54093                       #endif
54094
54095 int
54096 main ()
54097 {
54098  finitef(0);
54099   ;
54100   return 0;
54101 }
54102 _ACEOF
54103 if ac_fn_cxx_try_compile "$LINENO"; then :
54104   glibcxx_cv_func_finitef_use=yes
54105 else
54106   glibcxx_cv_func_finitef_use=no
54107 fi
54108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54109       ac_ext=c
54110 ac_cpp='$CPP $CPPFLAGS'
54111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54114
54115
54116 fi
54117
54118   fi
54119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54120 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54121
54122   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54123     for ac_func in finitef
54124 do :
54125   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54126 if test "x$ac_cv_func_finitef" = x""yes; then :
54127   cat >>confdefs.h <<_ACEOF
54128 #define HAVE_FINITEF 1
54129 _ACEOF
54130
54131 fi
54132 done
54133
54134   else
54135
54136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54137 $as_echo_n "checking for _finitef declaration... " >&6; }
54138   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54139     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54140   $as_echo_n "(cached) " >&6
54141 else
54142
54143
54144       ac_ext=cpp
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54149
54150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54151 /* end confdefs.h.  */
54152 #include <math.h>
54153                       #ifdef HAVE_IEEEFP_H
54154                       #include <ieeefp.h>
54155                       #endif
54156
54157 int
54158 main ()
54159 {
54160  _finitef(0);
54161   ;
54162   return 0;
54163 }
54164 _ACEOF
54165 if ac_fn_cxx_try_compile "$LINENO"; then :
54166   glibcxx_cv_func__finitef_use=yes
54167 else
54168   glibcxx_cv_func__finitef_use=no
54169 fi
54170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54171       ac_ext=c
54172 ac_cpp='$CPP $CPPFLAGS'
54173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54176
54177
54178 fi
54179
54180   fi
54181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54182 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54183
54184     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54185       for ac_func in _finitef
54186 do :
54187   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54188 if test "x$ac_cv_func__finitef" = x""yes; then :
54189   cat >>confdefs.h <<_ACEOF
54190 #define HAVE__FINITEF 1
54191 _ACEOF
54192
54193 fi
54194 done
54195
54196     fi
54197   fi
54198
54199
54200
54201
54202
54203     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54204 $as_echo_n "checking for long double trig functions... " >&6; }
54205   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54206   $as_echo_n "(cached) " >&6
54207 else
54208
54209
54210     ac_ext=cpp
54211 ac_cpp='$CXXCPP $CPPFLAGS'
54212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54215
54216     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54217 /* end confdefs.h.  */
54218 #include <math.h>
54219 int
54220 main ()
54221 {
54222 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54223   ;
54224   return 0;
54225 }
54226 _ACEOF
54227 if ac_fn_cxx_try_compile "$LINENO"; then :
54228   glibcxx_cv_func_long_double_trig_use=yes
54229 else
54230   glibcxx_cv_func_long_double_trig_use=no
54231 fi
54232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54233     ac_ext=c
54234 ac_cpp='$CPP $CPPFLAGS'
54235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54238
54239 fi
54240
54241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54242 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54243   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54244     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54245 do :
54246   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54248 eval as_val=\$$as_ac_var
54249    if test "x$as_val" = x""yes; then :
54250   cat >>confdefs.h <<_ACEOF
54251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54252 _ACEOF
54253
54254 fi
54255 done
54256
54257   else
54258     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54259 $as_echo_n "checking for _long double trig functions... " >&6; }
54260     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54261   $as_echo_n "(cached) " >&6
54262 else
54263
54264
54265       ac_ext=cpp
54266 ac_cpp='$CXXCPP $CPPFLAGS'
54267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54270
54271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54272 /* end confdefs.h.  */
54273 #include <math.h>
54274 int
54275 main ()
54276 {
54277 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54278   ;
54279   return 0;
54280 }
54281 _ACEOF
54282 if ac_fn_cxx_try_compile "$LINENO"; then :
54283   glibcxx_cv_func__long_double_trig_use=yes
54284 else
54285   glibcxx_cv_func__long_double_trig_use=no
54286 fi
54287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54288       ac_ext=c
54289 ac_cpp='$CPP $CPPFLAGS'
54290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54293
54294 fi
54295
54296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54297 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54298     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54299       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54300 do :
54301   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54303 eval as_val=\$$as_ac_var
54304    if test "x$as_val" = x""yes; then :
54305   cat >>confdefs.h <<_ACEOF
54306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54307 _ACEOF
54308
54309 fi
54310 done
54311
54312     fi
54313   fi
54314
54315
54316
54317
54318
54319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54320 $as_echo_n "checking for long double round functions... " >&6; }
54321   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54322   $as_echo_n "(cached) " >&6
54323 else
54324
54325
54326     ac_ext=cpp
54327 ac_cpp='$CXXCPP $CPPFLAGS'
54328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54331
54332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54333 /* end confdefs.h.  */
54334 #include <math.h>
54335 int
54336 main ()
54337 {
54338 ceill (0); floorl (0);
54339   ;
54340   return 0;
54341 }
54342 _ACEOF
54343 if ac_fn_cxx_try_compile "$LINENO"; then :
54344   glibcxx_cv_func_long_double_round_use=yes
54345 else
54346   glibcxx_cv_func_long_double_round_use=no
54347 fi
54348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54349     ac_ext=c
54350 ac_cpp='$CPP $CPPFLAGS'
54351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54354
54355 fi
54356
54357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54358 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54359   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54360     for ac_func in ceill floorl
54361 do :
54362   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54364 eval as_val=\$$as_ac_var
54365    if test "x$as_val" = x""yes; then :
54366   cat >>confdefs.h <<_ACEOF
54367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54368 _ACEOF
54369
54370 fi
54371 done
54372
54373   else
54374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54375 $as_echo_n "checking for _long double round functions... " >&6; }
54376     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54377   $as_echo_n "(cached) " >&6
54378 else
54379
54380
54381       ac_ext=cpp
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386
54387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54388 /* end confdefs.h.  */
54389 #include <math.h>
54390 int
54391 main ()
54392 {
54393 _ceill (0); _floorl (0);
54394   ;
54395   return 0;
54396 }
54397 _ACEOF
54398 if ac_fn_cxx_try_compile "$LINENO"; then :
54399   glibcxx_cv_func__long_double_round_use=yes
54400 else
54401   glibcxx_cv_func__long_double_round_use=no
54402 fi
54403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54404       ac_ext=c
54405 ac_cpp='$CPP $CPPFLAGS'
54406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54409
54410 fi
54411
54412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54413 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54414     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54415       for ac_func in _ceill _floorl
54416 do :
54417   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54419 eval as_val=\$$as_ac_var
54420    if test "x$as_val" = x""yes; then :
54421   cat >>confdefs.h <<_ACEOF
54422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54423 _ACEOF
54424
54425 fi
54426 done
54427
54428     fi
54429   fi
54430
54431
54432
54433
54434
54435
54436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54437 $as_echo_n "checking for isnanl declaration... " >&6; }
54438   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54439     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54440   $as_echo_n "(cached) " >&6
54441 else
54442
54443
54444       ac_ext=cpp
54445 ac_cpp='$CXXCPP $CPPFLAGS'
54446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54449
54450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54451 /* end confdefs.h.  */
54452 #include <math.h>
54453                       #ifdef HAVE_IEEEFP_H
54454                       #include <ieeefp.h>
54455                       #endif
54456
54457 int
54458 main ()
54459 {
54460  isnanl(0);
54461   ;
54462   return 0;
54463 }
54464 _ACEOF
54465 if ac_fn_cxx_try_compile "$LINENO"; then :
54466   glibcxx_cv_func_isnanl_use=yes
54467 else
54468   glibcxx_cv_func_isnanl_use=no
54469 fi
54470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54471       ac_ext=c
54472 ac_cpp='$CPP $CPPFLAGS'
54473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54476
54477
54478 fi
54479
54480   fi
54481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54482 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54483
54484   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54485     for ac_func in isnanl
54486 do :
54487   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54488 if test "x$ac_cv_func_isnanl" = x""yes; then :
54489   cat >>confdefs.h <<_ACEOF
54490 #define HAVE_ISNANL 1
54491 _ACEOF
54492
54493 fi
54494 done
54495
54496   else
54497
54498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54499 $as_echo_n "checking for _isnanl declaration... " >&6; }
54500   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54501     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54502   $as_echo_n "(cached) " >&6
54503 else
54504
54505
54506       ac_ext=cpp
54507 ac_cpp='$CXXCPP $CPPFLAGS'
54508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54511
54512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54513 /* end confdefs.h.  */
54514 #include <math.h>
54515                       #ifdef HAVE_IEEEFP_H
54516                       #include <ieeefp.h>
54517                       #endif
54518
54519 int
54520 main ()
54521 {
54522  _isnanl(0);
54523   ;
54524   return 0;
54525 }
54526 _ACEOF
54527 if ac_fn_cxx_try_compile "$LINENO"; then :
54528   glibcxx_cv_func__isnanl_use=yes
54529 else
54530   glibcxx_cv_func__isnanl_use=no
54531 fi
54532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54533       ac_ext=c
54534 ac_cpp='$CPP $CPPFLAGS'
54535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54538
54539
54540 fi
54541
54542   fi
54543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54544 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54545
54546     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54547       for ac_func in _isnanl
54548 do :
54549   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54550 if test "x$ac_cv_func__isnanl" = x""yes; then :
54551   cat >>confdefs.h <<_ACEOF
54552 #define HAVE__ISNANL 1
54553 _ACEOF
54554
54555 fi
54556 done
54557
54558     fi
54559   fi
54560
54561
54562
54563
54564
54565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54566 $as_echo_n "checking for isinfl declaration... " >&6; }
54567   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54568     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54569   $as_echo_n "(cached) " >&6
54570 else
54571
54572
54573       ac_ext=cpp
54574 ac_cpp='$CXXCPP $CPPFLAGS'
54575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54578
54579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54580 /* end confdefs.h.  */
54581 #include <math.h>
54582                       #ifdef HAVE_IEEEFP_H
54583                       #include <ieeefp.h>
54584                       #endif
54585
54586 int
54587 main ()
54588 {
54589  isinfl(0);
54590   ;
54591   return 0;
54592 }
54593 _ACEOF
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595   glibcxx_cv_func_isinfl_use=yes
54596 else
54597   glibcxx_cv_func_isinfl_use=no
54598 fi
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54600       ac_ext=c
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54605
54606
54607 fi
54608
54609   fi
54610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54611 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54612
54613   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54614     for ac_func in isinfl
54615 do :
54616   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54617 if test "x$ac_cv_func_isinfl" = x""yes; then :
54618   cat >>confdefs.h <<_ACEOF
54619 #define HAVE_ISINFL 1
54620 _ACEOF
54621
54622 fi
54623 done
54624
54625   else
54626
54627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54628 $as_echo_n "checking for _isinfl declaration... " >&6; }
54629   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54630     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54631   $as_echo_n "(cached) " >&6
54632 else
54633
54634
54635       ac_ext=cpp
54636 ac_cpp='$CXXCPP $CPPFLAGS'
54637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640
54641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h.  */
54643 #include <math.h>
54644                       #ifdef HAVE_IEEEFP_H
54645                       #include <ieeefp.h>
54646                       #endif
54647
54648 int
54649 main ()
54650 {
54651  _isinfl(0);
54652   ;
54653   return 0;
54654 }
54655 _ACEOF
54656 if ac_fn_cxx_try_compile "$LINENO"; then :
54657   glibcxx_cv_func__isinfl_use=yes
54658 else
54659   glibcxx_cv_func__isinfl_use=no
54660 fi
54661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54662       ac_ext=c
54663 ac_cpp='$CPP $CPPFLAGS'
54664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54667
54668
54669 fi
54670
54671   fi
54672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54673 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54674
54675     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54676       for ac_func in _isinfl
54677 do :
54678   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54679 if test "x$ac_cv_func__isinfl" = x""yes; then :
54680   cat >>confdefs.h <<_ACEOF
54681 #define HAVE__ISINFL 1
54682 _ACEOF
54683
54684 fi
54685 done
54686
54687     fi
54688   fi
54689
54690
54691
54692
54693
54694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54695 $as_echo_n "checking for atan2l declaration... " >&6; }
54696   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54697     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54698   $as_echo_n "(cached) " >&6
54699 else
54700
54701
54702       ac_ext=cpp
54703 ac_cpp='$CXXCPP $CPPFLAGS'
54704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54707
54708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54709 /* end confdefs.h.  */
54710 #include <math.h>
54711 int
54712 main ()
54713 {
54714  atan2l(0, 0);
54715   ;
54716   return 0;
54717 }
54718 _ACEOF
54719 if ac_fn_cxx_try_compile "$LINENO"; then :
54720   glibcxx_cv_func_atan2l_use=yes
54721 else
54722   glibcxx_cv_func_atan2l_use=no
54723 fi
54724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54725       ac_ext=c
54726 ac_cpp='$CPP $CPPFLAGS'
54727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54730
54731
54732 fi
54733
54734   fi
54735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54736 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54737
54738   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54739     for ac_func in atan2l
54740 do :
54741   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54742 if test "x$ac_cv_func_atan2l" = x""yes; then :
54743   cat >>confdefs.h <<_ACEOF
54744 #define HAVE_ATAN2L 1
54745 _ACEOF
54746
54747 fi
54748 done
54749
54750   else
54751
54752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54753 $as_echo_n "checking for _atan2l declaration... " >&6; }
54754   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54755     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54756   $as_echo_n "(cached) " >&6
54757 else
54758
54759
54760       ac_ext=cpp
54761 ac_cpp='$CXXCPP $CPPFLAGS'
54762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54765
54766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54767 /* end confdefs.h.  */
54768 #include <math.h>
54769 int
54770 main ()
54771 {
54772  _atan2l(0, 0);
54773   ;
54774   return 0;
54775 }
54776 _ACEOF
54777 if ac_fn_cxx_try_compile "$LINENO"; then :
54778   glibcxx_cv_func__atan2l_use=yes
54779 else
54780   glibcxx_cv_func__atan2l_use=no
54781 fi
54782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54783       ac_ext=c
54784 ac_cpp='$CPP $CPPFLAGS'
54785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54788
54789
54790 fi
54791
54792   fi
54793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54794 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54795
54796     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54797       for ac_func in _atan2l
54798 do :
54799   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54800 if test "x$ac_cv_func__atan2l" = x""yes; then :
54801   cat >>confdefs.h <<_ACEOF
54802 #define HAVE__ATAN2L 1
54803 _ACEOF
54804
54805 fi
54806 done
54807
54808     fi
54809   fi
54810
54811
54812
54813
54814
54815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54816 $as_echo_n "checking for expl declaration... " >&6; }
54817   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54818     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54819   $as_echo_n "(cached) " >&6
54820 else
54821
54822
54823       ac_ext=cpp
54824 ac_cpp='$CXXCPP $CPPFLAGS'
54825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54828
54829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54830 /* end confdefs.h.  */
54831 #include <math.h>
54832                       #ifdef HAVE_IEEEFP_H
54833                       #include <ieeefp.h>
54834                       #endif
54835
54836 int
54837 main ()
54838 {
54839  expl(0);
54840   ;
54841   return 0;
54842 }
54843 _ACEOF
54844 if ac_fn_cxx_try_compile "$LINENO"; then :
54845   glibcxx_cv_func_expl_use=yes
54846 else
54847   glibcxx_cv_func_expl_use=no
54848 fi
54849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54850       ac_ext=c
54851 ac_cpp='$CPP $CPPFLAGS'
54852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54855
54856
54857 fi
54858
54859   fi
54860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54861 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54862
54863   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54864     for ac_func in expl
54865 do :
54866   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54867 if test "x$ac_cv_func_expl" = x""yes; then :
54868   cat >>confdefs.h <<_ACEOF
54869 #define HAVE_EXPL 1
54870 _ACEOF
54871
54872 fi
54873 done
54874
54875   else
54876
54877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54878 $as_echo_n "checking for _expl declaration... " >&6; }
54879   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54880     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54881   $as_echo_n "(cached) " >&6
54882 else
54883
54884
54885       ac_ext=cpp
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54890
54891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h.  */
54893 #include <math.h>
54894                       #ifdef HAVE_IEEEFP_H
54895                       #include <ieeefp.h>
54896                       #endif
54897
54898 int
54899 main ()
54900 {
54901  _expl(0);
54902   ;
54903   return 0;
54904 }
54905 _ACEOF
54906 if ac_fn_cxx_try_compile "$LINENO"; then :
54907   glibcxx_cv_func__expl_use=yes
54908 else
54909   glibcxx_cv_func__expl_use=no
54910 fi
54911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54912       ac_ext=c
54913 ac_cpp='$CPP $CPPFLAGS'
54914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54917
54918
54919 fi
54920
54921   fi
54922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54923 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54924
54925     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54926       for ac_func in _expl
54927 do :
54928   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54929 if test "x$ac_cv_func__expl" = x""yes; then :
54930   cat >>confdefs.h <<_ACEOF
54931 #define HAVE__EXPL 1
54932 _ACEOF
54933
54934 fi
54935 done
54936
54937     fi
54938   fi
54939
54940
54941
54942
54943
54944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54945 $as_echo_n "checking for fabsl declaration... " >&6; }
54946   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54947     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54948   $as_echo_n "(cached) " >&6
54949 else
54950
54951
54952       ac_ext=cpp
54953 ac_cpp='$CXXCPP $CPPFLAGS'
54954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54957
54958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54959 /* end confdefs.h.  */
54960 #include <math.h>
54961                       #ifdef HAVE_IEEEFP_H
54962                       #include <ieeefp.h>
54963                       #endif
54964
54965 int
54966 main ()
54967 {
54968  fabsl(0);
54969   ;
54970   return 0;
54971 }
54972 _ACEOF
54973 if ac_fn_cxx_try_compile "$LINENO"; then :
54974   glibcxx_cv_func_fabsl_use=yes
54975 else
54976   glibcxx_cv_func_fabsl_use=no
54977 fi
54978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54979       ac_ext=c
54980 ac_cpp='$CPP $CPPFLAGS'
54981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54984
54985
54986 fi
54987
54988   fi
54989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54990 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54991
54992   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54993     for ac_func in fabsl
54994 do :
54995   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54996 if test "x$ac_cv_func_fabsl" = x""yes; then :
54997   cat >>confdefs.h <<_ACEOF
54998 #define HAVE_FABSL 1
54999 _ACEOF
55000
55001 fi
55002 done
55003
55004   else
55005
55006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55007 $as_echo_n "checking for _fabsl declaration... " >&6; }
55008   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55009     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55010   $as_echo_n "(cached) " >&6
55011 else
55012
55013
55014       ac_ext=cpp
55015 ac_cpp='$CXXCPP $CPPFLAGS'
55016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55019
55020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55021 /* end confdefs.h.  */
55022 #include <math.h>
55023                       #ifdef HAVE_IEEEFP_H
55024                       #include <ieeefp.h>
55025                       #endif
55026
55027 int
55028 main ()
55029 {
55030  _fabsl(0);
55031   ;
55032   return 0;
55033 }
55034 _ACEOF
55035 if ac_fn_cxx_try_compile "$LINENO"; then :
55036   glibcxx_cv_func__fabsl_use=yes
55037 else
55038   glibcxx_cv_func__fabsl_use=no
55039 fi
55040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55041       ac_ext=c
55042 ac_cpp='$CPP $CPPFLAGS'
55043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55046
55047
55048 fi
55049
55050   fi
55051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55052 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55053
55054     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55055       for ac_func in _fabsl
55056 do :
55057   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55058 if test "x$ac_cv_func__fabsl" = x""yes; then :
55059   cat >>confdefs.h <<_ACEOF
55060 #define HAVE__FABSL 1
55061 _ACEOF
55062
55063 fi
55064 done
55065
55066     fi
55067   fi
55068
55069
55070
55071
55072
55073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55074 $as_echo_n "checking for fmodl declaration... " >&6; }
55075   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55076     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55077   $as_echo_n "(cached) " >&6
55078 else
55079
55080
55081       ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55086
55087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h.  */
55089 #include <math.h>
55090 int
55091 main ()
55092 {
55093  fmodl(0, 0);
55094   ;
55095   return 0;
55096 }
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099   glibcxx_cv_func_fmodl_use=yes
55100 else
55101   glibcxx_cv_func_fmodl_use=no
55102 fi
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104       ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55109
55110
55111 fi
55112
55113   fi
55114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55115 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55116
55117   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55118     for ac_func in fmodl
55119 do :
55120   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55121 if test "x$ac_cv_func_fmodl" = x""yes; then :
55122   cat >>confdefs.h <<_ACEOF
55123 #define HAVE_FMODL 1
55124 _ACEOF
55125
55126 fi
55127 done
55128
55129   else
55130
55131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55132 $as_echo_n "checking for _fmodl declaration... " >&6; }
55133   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55134     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55135   $as_echo_n "(cached) " >&6
55136 else
55137
55138
55139       ac_ext=cpp
55140 ac_cpp='$CXXCPP $CPPFLAGS'
55141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55144
55145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55146 /* end confdefs.h.  */
55147 #include <math.h>
55148 int
55149 main ()
55150 {
55151  _fmodl(0, 0);
55152   ;
55153   return 0;
55154 }
55155 _ACEOF
55156 if ac_fn_cxx_try_compile "$LINENO"; then :
55157   glibcxx_cv_func__fmodl_use=yes
55158 else
55159   glibcxx_cv_func__fmodl_use=no
55160 fi
55161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55162       ac_ext=c
55163 ac_cpp='$CPP $CPPFLAGS'
55164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55167
55168
55169 fi
55170
55171   fi
55172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55173 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55174
55175     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55176       for ac_func in _fmodl
55177 do :
55178   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55179 if test "x$ac_cv_func__fmodl" = x""yes; then :
55180   cat >>confdefs.h <<_ACEOF
55181 #define HAVE__FMODL 1
55182 _ACEOF
55183
55184 fi
55185 done
55186
55187     fi
55188   fi
55189
55190
55191
55192
55193
55194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55195 $as_echo_n "checking for frexpl declaration... " >&6; }
55196   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55197     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55198   $as_echo_n "(cached) " >&6
55199 else
55200
55201
55202       ac_ext=cpp
55203 ac_cpp='$CXXCPP $CPPFLAGS'
55204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55207
55208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55209 /* end confdefs.h.  */
55210 #include <math.h>
55211 int
55212 main ()
55213 {
55214  frexpl(0, 0);
55215   ;
55216   return 0;
55217 }
55218 _ACEOF
55219 if ac_fn_cxx_try_compile "$LINENO"; then :
55220   glibcxx_cv_func_frexpl_use=yes
55221 else
55222   glibcxx_cv_func_frexpl_use=no
55223 fi
55224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55225       ac_ext=c
55226 ac_cpp='$CPP $CPPFLAGS'
55227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55230
55231
55232 fi
55233
55234   fi
55235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55236 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55237
55238   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55239     for ac_func in frexpl
55240 do :
55241   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55242 if test "x$ac_cv_func_frexpl" = x""yes; then :
55243   cat >>confdefs.h <<_ACEOF
55244 #define HAVE_FREXPL 1
55245 _ACEOF
55246
55247 fi
55248 done
55249
55250   else
55251
55252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55253 $as_echo_n "checking for _frexpl declaration... " >&6; }
55254   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55255     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55256   $as_echo_n "(cached) " >&6
55257 else
55258
55259
55260       ac_ext=cpp
55261 ac_cpp='$CXXCPP $CPPFLAGS'
55262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55265
55266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55267 /* end confdefs.h.  */
55268 #include <math.h>
55269 int
55270 main ()
55271 {
55272  _frexpl(0, 0);
55273   ;
55274   return 0;
55275 }
55276 _ACEOF
55277 if ac_fn_cxx_try_compile "$LINENO"; then :
55278   glibcxx_cv_func__frexpl_use=yes
55279 else
55280   glibcxx_cv_func__frexpl_use=no
55281 fi
55282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55283       ac_ext=c
55284 ac_cpp='$CPP $CPPFLAGS'
55285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55288
55289
55290 fi
55291
55292   fi
55293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55294 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55295
55296     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55297       for ac_func in _frexpl
55298 do :
55299   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55300 if test "x$ac_cv_func__frexpl" = x""yes; then :
55301   cat >>confdefs.h <<_ACEOF
55302 #define HAVE__FREXPL 1
55303 _ACEOF
55304
55305 fi
55306 done
55307
55308     fi
55309   fi
55310
55311
55312
55313
55314
55315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55316 $as_echo_n "checking for hypotl declaration... " >&6; }
55317   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55318     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55319   $as_echo_n "(cached) " >&6
55320 else
55321
55322
55323       ac_ext=cpp
55324 ac_cpp='$CXXCPP $CPPFLAGS'
55325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55328
55329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55330 /* end confdefs.h.  */
55331 #include <math.h>
55332 int
55333 main ()
55334 {
55335  hypotl(0, 0);
55336   ;
55337   return 0;
55338 }
55339 _ACEOF
55340 if ac_fn_cxx_try_compile "$LINENO"; then :
55341   glibcxx_cv_func_hypotl_use=yes
55342 else
55343   glibcxx_cv_func_hypotl_use=no
55344 fi
55345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55346       ac_ext=c
55347 ac_cpp='$CPP $CPPFLAGS'
55348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55351
55352
55353 fi
55354
55355   fi
55356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55357 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55358
55359   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55360     for ac_func in hypotl
55361 do :
55362   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55363 if test "x$ac_cv_func_hypotl" = x""yes; then :
55364   cat >>confdefs.h <<_ACEOF
55365 #define HAVE_HYPOTL 1
55366 _ACEOF
55367
55368 fi
55369 done
55370
55371   else
55372
55373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55374 $as_echo_n "checking for _hypotl declaration... " >&6; }
55375   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55376     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55377   $as_echo_n "(cached) " >&6
55378 else
55379
55380
55381       ac_ext=cpp
55382 ac_cpp='$CXXCPP $CPPFLAGS'
55383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55386
55387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55388 /* end confdefs.h.  */
55389 #include <math.h>
55390 int
55391 main ()
55392 {
55393  _hypotl(0, 0);
55394   ;
55395   return 0;
55396 }
55397 _ACEOF
55398 if ac_fn_cxx_try_compile "$LINENO"; then :
55399   glibcxx_cv_func__hypotl_use=yes
55400 else
55401   glibcxx_cv_func__hypotl_use=no
55402 fi
55403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55404       ac_ext=c
55405 ac_cpp='$CPP $CPPFLAGS'
55406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409
55410
55411 fi
55412
55413   fi
55414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55415 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55416
55417     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55418       for ac_func in _hypotl
55419 do :
55420   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55421 if test "x$ac_cv_func__hypotl" = x""yes; then :
55422   cat >>confdefs.h <<_ACEOF
55423 #define HAVE__HYPOTL 1
55424 _ACEOF
55425
55426 fi
55427 done
55428
55429     fi
55430   fi
55431
55432
55433
55434
55435
55436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55437 $as_echo_n "checking for ldexpl declaration... " >&6; }
55438   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55439     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55440   $as_echo_n "(cached) " >&6
55441 else
55442
55443
55444       ac_ext=cpp
55445 ac_cpp='$CXXCPP $CPPFLAGS'
55446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55449
55450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55451 /* end confdefs.h.  */
55452 #include <math.h>
55453 int
55454 main ()
55455 {
55456  ldexpl(0, 0);
55457   ;
55458   return 0;
55459 }
55460 _ACEOF
55461 if ac_fn_cxx_try_compile "$LINENO"; then :
55462   glibcxx_cv_func_ldexpl_use=yes
55463 else
55464   glibcxx_cv_func_ldexpl_use=no
55465 fi
55466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55467       ac_ext=c
55468 ac_cpp='$CPP $CPPFLAGS'
55469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55472
55473
55474 fi
55475
55476   fi
55477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55478 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55479
55480   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55481     for ac_func in ldexpl
55482 do :
55483   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55484 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55485   cat >>confdefs.h <<_ACEOF
55486 #define HAVE_LDEXPL 1
55487 _ACEOF
55488
55489 fi
55490 done
55491
55492   else
55493
55494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55495 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55496   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55497     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55498   $as_echo_n "(cached) " >&6
55499 else
55500
55501
55502       ac_ext=cpp
55503 ac_cpp='$CXXCPP $CPPFLAGS'
55504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55507
55508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55509 /* end confdefs.h.  */
55510 #include <math.h>
55511 int
55512 main ()
55513 {
55514  _ldexpl(0, 0);
55515   ;
55516   return 0;
55517 }
55518 _ACEOF
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520   glibcxx_cv_func__ldexpl_use=yes
55521 else
55522   glibcxx_cv_func__ldexpl_use=no
55523 fi
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55525       ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55530
55531
55532 fi
55533
55534   fi
55535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55536 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55537
55538     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55539       for ac_func in _ldexpl
55540 do :
55541   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55542 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55543   cat >>confdefs.h <<_ACEOF
55544 #define HAVE__LDEXPL 1
55545 _ACEOF
55546
55547 fi
55548 done
55549
55550     fi
55551   fi
55552
55553
55554
55555
55556
55557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55558 $as_echo_n "checking for logl declaration... " >&6; }
55559   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55560     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55561   $as_echo_n "(cached) " >&6
55562 else
55563
55564
55565       ac_ext=cpp
55566 ac_cpp='$CXXCPP $CPPFLAGS'
55567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55570
55571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55572 /* end confdefs.h.  */
55573 #include <math.h>
55574                       #ifdef HAVE_IEEEFP_H
55575                       #include <ieeefp.h>
55576                       #endif
55577
55578 int
55579 main ()
55580 {
55581  logl(0);
55582   ;
55583   return 0;
55584 }
55585 _ACEOF
55586 if ac_fn_cxx_try_compile "$LINENO"; then :
55587   glibcxx_cv_func_logl_use=yes
55588 else
55589   glibcxx_cv_func_logl_use=no
55590 fi
55591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55592       ac_ext=c
55593 ac_cpp='$CPP $CPPFLAGS'
55594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55597
55598
55599 fi
55600
55601   fi
55602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55603 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55604
55605   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55606     for ac_func in logl
55607 do :
55608   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55609 if test "x$ac_cv_func_logl" = x""yes; then :
55610   cat >>confdefs.h <<_ACEOF
55611 #define HAVE_LOGL 1
55612 _ACEOF
55613
55614 fi
55615 done
55616
55617   else
55618
55619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55620 $as_echo_n "checking for _logl declaration... " >&6; }
55621   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55622     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55623   $as_echo_n "(cached) " >&6
55624 else
55625
55626
55627       ac_ext=cpp
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55632
55633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55634 /* end confdefs.h.  */
55635 #include <math.h>
55636                       #ifdef HAVE_IEEEFP_H
55637                       #include <ieeefp.h>
55638                       #endif
55639
55640 int
55641 main ()
55642 {
55643  _logl(0);
55644   ;
55645   return 0;
55646 }
55647 _ACEOF
55648 if ac_fn_cxx_try_compile "$LINENO"; then :
55649   glibcxx_cv_func__logl_use=yes
55650 else
55651   glibcxx_cv_func__logl_use=no
55652 fi
55653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55654       ac_ext=c
55655 ac_cpp='$CPP $CPPFLAGS'
55656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55659
55660
55661 fi
55662
55663   fi
55664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55665 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55666
55667     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55668       for ac_func in _logl
55669 do :
55670   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55671 if test "x$ac_cv_func__logl" = x""yes; then :
55672   cat >>confdefs.h <<_ACEOF
55673 #define HAVE__LOGL 1
55674 _ACEOF
55675
55676 fi
55677 done
55678
55679     fi
55680   fi
55681
55682
55683
55684
55685
55686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55687 $as_echo_n "checking for log10l declaration... " >&6; }
55688   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55689     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55690   $as_echo_n "(cached) " >&6
55691 else
55692
55693
55694       ac_ext=cpp
55695 ac_cpp='$CXXCPP $CPPFLAGS'
55696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55699
55700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55701 /* end confdefs.h.  */
55702 #include <math.h>
55703                       #ifdef HAVE_IEEEFP_H
55704                       #include <ieeefp.h>
55705                       #endif
55706
55707 int
55708 main ()
55709 {
55710  log10l(0);
55711   ;
55712   return 0;
55713 }
55714 _ACEOF
55715 if ac_fn_cxx_try_compile "$LINENO"; then :
55716   glibcxx_cv_func_log10l_use=yes
55717 else
55718   glibcxx_cv_func_log10l_use=no
55719 fi
55720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55721       ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55726
55727
55728 fi
55729
55730   fi
55731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55732 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55733
55734   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55735     for ac_func in log10l
55736 do :
55737   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55738 if test "x$ac_cv_func_log10l" = x""yes; then :
55739   cat >>confdefs.h <<_ACEOF
55740 #define HAVE_LOG10L 1
55741 _ACEOF
55742
55743 fi
55744 done
55745
55746   else
55747
55748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55749 $as_echo_n "checking for _log10l declaration... " >&6; }
55750   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55751     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55752   $as_echo_n "(cached) " >&6
55753 else
55754
55755
55756       ac_ext=cpp
55757 ac_cpp='$CXXCPP $CPPFLAGS'
55758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55761
55762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55763 /* end confdefs.h.  */
55764 #include <math.h>
55765                       #ifdef HAVE_IEEEFP_H
55766                       #include <ieeefp.h>
55767                       #endif
55768
55769 int
55770 main ()
55771 {
55772  _log10l(0);
55773   ;
55774   return 0;
55775 }
55776 _ACEOF
55777 if ac_fn_cxx_try_compile "$LINENO"; then :
55778   glibcxx_cv_func__log10l_use=yes
55779 else
55780   glibcxx_cv_func__log10l_use=no
55781 fi
55782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55783       ac_ext=c
55784 ac_cpp='$CPP $CPPFLAGS'
55785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55788
55789
55790 fi
55791
55792   fi
55793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55794 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55795
55796     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55797       for ac_func in _log10l
55798 do :
55799   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55800 if test "x$ac_cv_func__log10l" = x""yes; then :
55801   cat >>confdefs.h <<_ACEOF
55802 #define HAVE__LOG10L 1
55803 _ACEOF
55804
55805 fi
55806 done
55807
55808     fi
55809   fi
55810
55811
55812
55813
55814
55815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55816 $as_echo_n "checking for modfl declaration... " >&6; }
55817   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55818     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55819   $as_echo_n "(cached) " >&6
55820 else
55821
55822
55823       ac_ext=cpp
55824 ac_cpp='$CXXCPP $CPPFLAGS'
55825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55828
55829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55830 /* end confdefs.h.  */
55831 #include <math.h>
55832 int
55833 main ()
55834 {
55835  modfl(0, 0);
55836   ;
55837   return 0;
55838 }
55839 _ACEOF
55840 if ac_fn_cxx_try_compile "$LINENO"; then :
55841   glibcxx_cv_func_modfl_use=yes
55842 else
55843   glibcxx_cv_func_modfl_use=no
55844 fi
55845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55846       ac_ext=c
55847 ac_cpp='$CPP $CPPFLAGS'
55848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55851
55852
55853 fi
55854
55855   fi
55856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55857 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55858
55859   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55860     for ac_func in modfl
55861 do :
55862   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55863 if test "x$ac_cv_func_modfl" = x""yes; then :
55864   cat >>confdefs.h <<_ACEOF
55865 #define HAVE_MODFL 1
55866 _ACEOF
55867
55868 fi
55869 done
55870
55871   else
55872
55873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55874 $as_echo_n "checking for _modfl declaration... " >&6; }
55875   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55876     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55877   $as_echo_n "(cached) " >&6
55878 else
55879
55880
55881       ac_ext=cpp
55882 ac_cpp='$CXXCPP $CPPFLAGS'
55883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55886
55887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55888 /* end confdefs.h.  */
55889 #include <math.h>
55890 int
55891 main ()
55892 {
55893  _modfl(0, 0);
55894   ;
55895   return 0;
55896 }
55897 _ACEOF
55898 if ac_fn_cxx_try_compile "$LINENO"; then :
55899   glibcxx_cv_func__modfl_use=yes
55900 else
55901   glibcxx_cv_func__modfl_use=no
55902 fi
55903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55904       ac_ext=c
55905 ac_cpp='$CPP $CPPFLAGS'
55906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55909
55910
55911 fi
55912
55913   fi
55914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55915 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55916
55917     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55918       for ac_func in _modfl
55919 do :
55920   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55921 if test "x$ac_cv_func__modfl" = x""yes; then :
55922   cat >>confdefs.h <<_ACEOF
55923 #define HAVE__MODFL 1
55924 _ACEOF
55925
55926 fi
55927 done
55928
55929     fi
55930   fi
55931
55932
55933
55934
55935
55936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55937 $as_echo_n "checking for powl declaration... " >&6; }
55938   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55939     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55940   $as_echo_n "(cached) " >&6
55941 else
55942
55943
55944       ac_ext=cpp
55945 ac_cpp='$CXXCPP $CPPFLAGS'
55946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55949
55950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55951 /* end confdefs.h.  */
55952 #include <math.h>
55953 int
55954 main ()
55955 {
55956  powl(0, 0);
55957   ;
55958   return 0;
55959 }
55960 _ACEOF
55961 if ac_fn_cxx_try_compile "$LINENO"; then :
55962   glibcxx_cv_func_powl_use=yes
55963 else
55964   glibcxx_cv_func_powl_use=no
55965 fi
55966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55967       ac_ext=c
55968 ac_cpp='$CPP $CPPFLAGS'
55969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55972
55973
55974 fi
55975
55976   fi
55977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55978 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55979
55980   if test x$glibcxx_cv_func_powl_use = x"yes"; then
55981     for ac_func in powl
55982 do :
55983   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55984 if test "x$ac_cv_func_powl" = x""yes; then :
55985   cat >>confdefs.h <<_ACEOF
55986 #define HAVE_POWL 1
55987 _ACEOF
55988
55989 fi
55990 done
55991
55992   else
55993
55994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55995 $as_echo_n "checking for _powl declaration... " >&6; }
55996   if test x${glibcxx_cv_func__powl_use+set} != xset; then
55997     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55998   $as_echo_n "(cached) " >&6
55999 else
56000
56001
56002       ac_ext=cpp
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56007
56008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h.  */
56010 #include <math.h>
56011 int
56012 main ()
56013 {
56014  _powl(0, 0);
56015   ;
56016   return 0;
56017 }
56018 _ACEOF
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020   glibcxx_cv_func__powl_use=yes
56021 else
56022   glibcxx_cv_func__powl_use=no
56023 fi
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56025       ac_ext=c
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56030
56031
56032 fi
56033
56034   fi
56035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56036 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56037
56038     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56039       for ac_func in _powl
56040 do :
56041   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56042 if test "x$ac_cv_func__powl" = x""yes; then :
56043   cat >>confdefs.h <<_ACEOF
56044 #define HAVE__POWL 1
56045 _ACEOF
56046
56047 fi
56048 done
56049
56050     fi
56051   fi
56052
56053
56054
56055
56056
56057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56058 $as_echo_n "checking for sqrtl declaration... " >&6; }
56059   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56060     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56061   $as_echo_n "(cached) " >&6
56062 else
56063
56064
56065       ac_ext=cpp
56066 ac_cpp='$CXXCPP $CPPFLAGS'
56067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56070
56071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56072 /* end confdefs.h.  */
56073 #include <math.h>
56074                       #ifdef HAVE_IEEEFP_H
56075                       #include <ieeefp.h>
56076                       #endif
56077
56078 int
56079 main ()
56080 {
56081  sqrtl(0);
56082   ;
56083   return 0;
56084 }
56085 _ACEOF
56086 if ac_fn_cxx_try_compile "$LINENO"; then :
56087   glibcxx_cv_func_sqrtl_use=yes
56088 else
56089   glibcxx_cv_func_sqrtl_use=no
56090 fi
56091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56092       ac_ext=c
56093 ac_cpp='$CPP $CPPFLAGS'
56094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56097
56098
56099 fi
56100
56101   fi
56102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56103 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56104
56105   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56106     for ac_func in sqrtl
56107 do :
56108   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56109 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56110   cat >>confdefs.h <<_ACEOF
56111 #define HAVE_SQRTL 1
56112 _ACEOF
56113
56114 fi
56115 done
56116
56117   else
56118
56119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56120 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56121   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56122     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56123   $as_echo_n "(cached) " >&6
56124 else
56125
56126
56127       ac_ext=cpp
56128 ac_cpp='$CXXCPP $CPPFLAGS'
56129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56132
56133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56134 /* end confdefs.h.  */
56135 #include <math.h>
56136                       #ifdef HAVE_IEEEFP_H
56137                       #include <ieeefp.h>
56138                       #endif
56139
56140 int
56141 main ()
56142 {
56143  _sqrtl(0);
56144   ;
56145   return 0;
56146 }
56147 _ACEOF
56148 if ac_fn_cxx_try_compile "$LINENO"; then :
56149   glibcxx_cv_func__sqrtl_use=yes
56150 else
56151   glibcxx_cv_func__sqrtl_use=no
56152 fi
56153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56154       ac_ext=c
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56159
56160
56161 fi
56162
56163   fi
56164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56165 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56166
56167     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56168       for ac_func in _sqrtl
56169 do :
56170   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56171 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56172   cat >>confdefs.h <<_ACEOF
56173 #define HAVE__SQRTL 1
56174 _ACEOF
56175
56176 fi
56177 done
56178
56179     fi
56180   fi
56181
56182
56183
56184
56185
56186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56187 $as_echo_n "checking for sincosl declaration... " >&6; }
56188   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56189     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56190   $as_echo_n "(cached) " >&6
56191 else
56192
56193
56194       ac_ext=cpp
56195 ac_cpp='$CXXCPP $CPPFLAGS'
56196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56199
56200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56201 /* end confdefs.h.  */
56202 #include <math.h>
56203 int
56204 main ()
56205 {
56206  sincosl(0, 0, 0);
56207   ;
56208   return 0;
56209 }
56210 _ACEOF
56211 if ac_fn_cxx_try_compile "$LINENO"; then :
56212   glibcxx_cv_func_sincosl_use=yes
56213 else
56214   glibcxx_cv_func_sincosl_use=no
56215 fi
56216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56217       ac_ext=c
56218 ac_cpp='$CPP $CPPFLAGS'
56219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56222
56223
56224 fi
56225
56226   fi
56227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56228 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56229
56230   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56231     for ac_func in sincosl
56232 do :
56233   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56234 if test "x$ac_cv_func_sincosl" = x""yes; then :
56235   cat >>confdefs.h <<_ACEOF
56236 #define HAVE_SINCOSL 1
56237 _ACEOF
56238
56239 fi
56240 done
56241
56242   else
56243
56244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56245 $as_echo_n "checking for _sincosl declaration... " >&6; }
56246   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56247     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56248   $as_echo_n "(cached) " >&6
56249 else
56250
56251
56252       ac_ext=cpp
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56257
56258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h.  */
56260 #include <math.h>
56261 int
56262 main ()
56263 {
56264  _sincosl(0, 0, 0);
56265   ;
56266   return 0;
56267 }
56268 _ACEOF
56269 if ac_fn_cxx_try_compile "$LINENO"; then :
56270   glibcxx_cv_func__sincosl_use=yes
56271 else
56272   glibcxx_cv_func__sincosl_use=no
56273 fi
56274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56275       ac_ext=c
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280
56281
56282 fi
56283
56284   fi
56285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56286 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56287
56288     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56289       for ac_func in _sincosl
56290 do :
56291   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56292 if test "x$ac_cv_func__sincosl" = x""yes; then :
56293   cat >>confdefs.h <<_ACEOF
56294 #define HAVE__SINCOSL 1
56295 _ACEOF
56296
56297 fi
56298 done
56299
56300     fi
56301   fi
56302
56303
56304
56305
56306
56307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56308 $as_echo_n "checking for finitel declaration... " >&6; }
56309   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56310     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56311   $as_echo_n "(cached) " >&6
56312 else
56313
56314
56315       ac_ext=cpp
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56320
56321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h.  */
56323 #include <math.h>
56324                       #ifdef HAVE_IEEEFP_H
56325                       #include <ieeefp.h>
56326                       #endif
56327
56328 int
56329 main ()
56330 {
56331  finitel(0);
56332   ;
56333   return 0;
56334 }
56335 _ACEOF
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337   glibcxx_cv_func_finitel_use=yes
56338 else
56339   glibcxx_cv_func_finitel_use=no
56340 fi
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342       ac_ext=c
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56347
56348
56349 fi
56350
56351   fi
56352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56353 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56354
56355   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56356     for ac_func in finitel
56357 do :
56358   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56359 if test "x$ac_cv_func_finitel" = x""yes; then :
56360   cat >>confdefs.h <<_ACEOF
56361 #define HAVE_FINITEL 1
56362 _ACEOF
56363
56364 fi
56365 done
56366
56367   else
56368
56369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56370 $as_echo_n "checking for _finitel declaration... " >&6; }
56371   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56372     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56373   $as_echo_n "(cached) " >&6
56374 else
56375
56376
56377       ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56382
56383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h.  */
56385 #include <math.h>
56386                       #ifdef HAVE_IEEEFP_H
56387                       #include <ieeefp.h>
56388                       #endif
56389
56390 int
56391 main ()
56392 {
56393  _finitel(0);
56394   ;
56395   return 0;
56396 }
56397 _ACEOF
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399   glibcxx_cv_func__finitel_use=yes
56400 else
56401   glibcxx_cv_func__finitel_use=no
56402 fi
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56404       ac_ext=c
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56409
56410
56411 fi
56412
56413   fi
56414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56415 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56416
56417     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56418       for ac_func in _finitel
56419 do :
56420   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56421 if test "x$ac_cv_func__finitel" = x""yes; then :
56422   cat >>confdefs.h <<_ACEOF
56423 #define HAVE__FINITEL 1
56424 _ACEOF
56425
56426 fi
56427 done
56428
56429     fi
56430   fi
56431
56432
56433
56434
56435   LIBS="$ac_save_LIBS"
56436   CXXFLAGS="$ac_save_CXXFLAGS"
56437
56438
56439   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56440   ac_save_CXXFLAGS="$CXXFLAGS"
56441   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56442
56443
56444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56445 $as_echo_n "checking for strtold declaration... " >&6; }
56446   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56447     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56448   $as_echo_n "(cached) " >&6
56449 else
56450
56451
56452       ac_ext=cpp
56453 ac_cpp='$CXXCPP $CPPFLAGS'
56454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56457
56458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56459 /* end confdefs.h.  */
56460 #include <stdlib.h>
56461 int
56462 main ()
56463 {
56464  strtold(0, 0);
56465   ;
56466   return 0;
56467 }
56468 _ACEOF
56469 if ac_fn_cxx_try_compile "$LINENO"; then :
56470   glibcxx_cv_func_strtold_use=yes
56471 else
56472   glibcxx_cv_func_strtold_use=no
56473 fi
56474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56475       ac_ext=c
56476 ac_cpp='$CPP $CPPFLAGS'
56477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56480
56481
56482 fi
56483
56484   fi
56485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56486 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56487   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56488     for ac_func in strtold
56489 do :
56490   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56491 if test "x$ac_cv_func_strtold" = x""yes; then :
56492   cat >>confdefs.h <<_ACEOF
56493 #define HAVE_STRTOLD 1
56494 _ACEOF
56495
56496 fi
56497 done
56498
56499   fi
56500
56501
56502
56503
56504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56505 $as_echo_n "checking for strtof declaration... " >&6; }
56506   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56507     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56508   $as_echo_n "(cached) " >&6
56509 else
56510
56511
56512       ac_ext=cpp
56513 ac_cpp='$CXXCPP $CPPFLAGS'
56514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56517
56518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56519 /* end confdefs.h.  */
56520 #include <stdlib.h>
56521 int
56522 main ()
56523 {
56524  strtof(0, 0);
56525   ;
56526   return 0;
56527 }
56528 _ACEOF
56529 if ac_fn_cxx_try_compile "$LINENO"; then :
56530   glibcxx_cv_func_strtof_use=yes
56531 else
56532   glibcxx_cv_func_strtof_use=no
56533 fi
56534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56535       ac_ext=c
56536 ac_cpp='$CPP $CPPFLAGS'
56537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56540
56541
56542 fi
56543
56544   fi
56545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56546 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56547   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56548     for ac_func in strtof
56549 do :
56550   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56551 if test "x$ac_cv_func_strtof" = x""yes; then :
56552   cat >>confdefs.h <<_ACEOF
56553 #define HAVE_STRTOF 1
56554 _ACEOF
56555
56556 fi
56557 done
56558
56559   fi
56560
56561
56562
56563
56564   CXXFLAGS="$ac_save_CXXFLAGS"
56565
56566     ;;
56567   *-netbsd*)
56568     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56569
56570
56571   # If we're not using GNU ld, then there's no point in even trying these
56572   # tests.  Check for that first.  We should have already tested for gld
56573   # by now (in libtool), but require it now just to be safe...
56574   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56575   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56576
56577
56578
56579   # The name set by libtool depends on the version of libtool.  Shame on us
56580   # for depending on an impl detail, but c'est la vie.  Older versions used
56581   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56582   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56583   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56584   # set (hence we're using an older libtool), then set it.
56585   if test x${with_gnu_ld+set} != xset; then
56586     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56587       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56588       with_gnu_ld=no
56589     else
56590       with_gnu_ld=$ac_cv_prog_gnu_ld
56591     fi
56592   fi
56593
56594   # Start by getting the version number.  I think the libtool test already
56595   # does some of this, but throws away the result.
56596   glibcxx_ld_is_gold=no
56597   if test x"$with_gnu_ld" = x"yes"; then
56598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56599 $as_echo_n "checking for ld version... " >&6; }
56600
56601     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56602       glibcxx_ld_is_gold=yes
56603     fi
56604     ldver=`$LD --version 2>/dev/null |
56605            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'`
56606
56607     glibcxx_gnu_ld_version=`echo $ldver | \
56608            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56610 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56611   fi
56612
56613   # Set --gc-sections.
56614   glibcxx_have_gc_sections=no
56615   if test "$glibcxx_ld_is_gold" = "yes"; then
56616     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56617       glibcxx_have_gc_sections=yes
56618     fi
56619   else
56620     glibcxx_gcsections_min_ld=21602
56621     if test x"$with_gnu_ld" = x"yes" &&
56622         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56623       glibcxx_have_gc_sections=yes
56624     fi
56625   fi
56626   if test "$glibcxx_have_gc_sections" = "yes"; then
56627     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56628     # NB: This flag only works reliably after 2.16.1. Configure tests
56629     # for this are difficult, so hard wire a value that should work.
56630
56631     ac_test_CFLAGS="${CFLAGS+set}"
56632     ac_save_CFLAGS="$CFLAGS"
56633     CFLAGS='-Wl,--gc-sections'
56634
56635     # Check for -Wl,--gc-sections
56636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56637 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56638     if test x$gcc_no_link = xyes; then
56639   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56640 fi
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h.  */
56643  int one(void) { return 1; }
56644      int two(void) { return 2; }
56645
56646 int
56647 main ()
56648 {
56649  two();
56650   ;
56651   return 0;
56652 }
56653 _ACEOF
56654 if ac_fn_c_try_link "$LINENO"; then :
56655   ac_gcsections=yes
56656 else
56657   ac_gcsections=no
56658 fi
56659 rm -f core conftest.err conftest.$ac_objext \
56660     conftest$ac_exeext conftest.$ac_ext
56661     if test "$ac_gcsections" = "yes"; then
56662       rm -f conftest.c
56663       touch conftest.c
56664       if $CC -c conftest.c; then
56665         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56666            grep "Warning: gc-sections option ignored" > /dev/null; then
56667           ac_gcsections=no
56668         fi
56669       fi
56670       rm -f conftest.c conftest.o conftest
56671     fi
56672     if test "$ac_gcsections" = "yes"; then
56673       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56674     fi
56675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56676 $as_echo "$ac_gcsections" >&6; }
56677
56678     if test "$ac_test_CFLAGS" = set; then
56679       CFLAGS="$ac_save_CFLAGS"
56680     else
56681       # this is the suspicious part
56682       CFLAGS=''
56683     fi
56684   fi
56685
56686   # Set -z,relro.
56687   # Note this is only for shared objects.
56688   ac_ld_relro=no
56689   if test x"$with_gnu_ld" = x"yes"; then
56690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56691 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56692     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56693     if test -n "$cxx_z_relo"; then
56694       OPT_LDFLAGS="-Wl,-z,relro"
56695       ac_ld_relro=yes
56696     fi
56697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56698 $as_echo "$ac_ld_relro" >&6; }
56699   fi
56700
56701   # Set linker optimization flags.
56702   if test x"$with_gnu_ld" = x"yes"; then
56703     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56704   fi
56705
56706
56707
56708
56709     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56710
56711     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56712
56713     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56714
56715     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56716
56717     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56718
56719     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56720
56721     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56722
56723     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56724
56725     if test x"long_double_math_on_this_cpu" = x"yes"; then
56726       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56727
56728       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56729
56730       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56731
56732     fi
56733     ;;
56734   *-netware)
56735     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56736
56737
56738   # If we're not using GNU ld, then there's no point in even trying these
56739   # tests.  Check for that first.  We should have already tested for gld
56740   # by now (in libtool), but require it now just to be safe...
56741   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56742   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56743
56744
56745
56746   # The name set by libtool depends on the version of libtool.  Shame on us
56747   # for depending on an impl detail, but c'est la vie.  Older versions used
56748   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56749   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56750   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56751   # set (hence we're using an older libtool), then set it.
56752   if test x${with_gnu_ld+set} != xset; then
56753     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56754       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56755       with_gnu_ld=no
56756     else
56757       with_gnu_ld=$ac_cv_prog_gnu_ld
56758     fi
56759   fi
56760
56761   # Start by getting the version number.  I think the libtool test already
56762   # does some of this, but throws away the result.
56763   glibcxx_ld_is_gold=no
56764   if test x"$with_gnu_ld" = x"yes"; then
56765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56766 $as_echo_n "checking for ld version... " >&6; }
56767
56768     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56769       glibcxx_ld_is_gold=yes
56770     fi
56771     ldver=`$LD --version 2>/dev/null |
56772            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'`
56773
56774     glibcxx_gnu_ld_version=`echo $ldver | \
56775            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56777 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56778   fi
56779
56780   # Set --gc-sections.
56781   glibcxx_have_gc_sections=no
56782   if test "$glibcxx_ld_is_gold" = "yes"; then
56783     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56784       glibcxx_have_gc_sections=yes
56785     fi
56786   else
56787     glibcxx_gcsections_min_ld=21602
56788     if test x"$with_gnu_ld" = x"yes" &&
56789         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56790       glibcxx_have_gc_sections=yes
56791     fi
56792   fi
56793   if test "$glibcxx_have_gc_sections" = "yes"; then
56794     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56795     # NB: This flag only works reliably after 2.16.1. Configure tests
56796     # for this are difficult, so hard wire a value that should work.
56797
56798     ac_test_CFLAGS="${CFLAGS+set}"
56799     ac_save_CFLAGS="$CFLAGS"
56800     CFLAGS='-Wl,--gc-sections'
56801
56802     # Check for -Wl,--gc-sections
56803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56804 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56805     if test x$gcc_no_link = xyes; then
56806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56807 fi
56808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56809 /* end confdefs.h.  */
56810  int one(void) { return 1; }
56811      int two(void) { return 2; }
56812
56813 int
56814 main ()
56815 {
56816  two();
56817   ;
56818   return 0;
56819 }
56820 _ACEOF
56821 if ac_fn_c_try_link "$LINENO"; then :
56822   ac_gcsections=yes
56823 else
56824   ac_gcsections=no
56825 fi
56826 rm -f core conftest.err conftest.$ac_objext \
56827     conftest$ac_exeext conftest.$ac_ext
56828     if test "$ac_gcsections" = "yes"; then
56829       rm -f conftest.c
56830       touch conftest.c
56831       if $CC -c conftest.c; then
56832         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56833            grep "Warning: gc-sections option ignored" > /dev/null; then
56834           ac_gcsections=no
56835         fi
56836       fi
56837       rm -f conftest.c conftest.o conftest
56838     fi
56839     if test "$ac_gcsections" = "yes"; then
56840       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56841     fi
56842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56843 $as_echo "$ac_gcsections" >&6; }
56844
56845     if test "$ac_test_CFLAGS" = set; then
56846       CFLAGS="$ac_save_CFLAGS"
56847     else
56848       # this is the suspicious part
56849       CFLAGS=''
56850     fi
56851   fi
56852
56853   # Set -z,relro.
56854   # Note this is only for shared objects.
56855   ac_ld_relro=no
56856   if test x"$with_gnu_ld" = x"yes"; then
56857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56858 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56859     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56860     if test -n "$cxx_z_relo"; then
56861       OPT_LDFLAGS="-Wl,-z,relro"
56862       ac_ld_relro=yes
56863     fi
56864     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56865 $as_echo "$ac_ld_relro" >&6; }
56866   fi
56867
56868   # Set linker optimization flags.
56869   if test x"$with_gnu_ld" = x"yes"; then
56870     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56871   fi
56872
56873
56874
56875
56876     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56877
56878     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56879
56880     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56881
56882     ;;
56883   *-qnx6.1* | *-qnx6.2*)
56884     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56885
56886
56887   # If we're not using GNU ld, then there's no point in even trying these
56888   # tests.  Check for that first.  We should have already tested for gld
56889   # by now (in libtool), but require it now just to be safe...
56890   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56891   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56892
56893
56894
56895   # The name set by libtool depends on the version of libtool.  Shame on us
56896   # for depending on an impl detail, but c'est la vie.  Older versions used
56897   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56898   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56899   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56900   # set (hence we're using an older libtool), then set it.
56901   if test x${with_gnu_ld+set} != xset; then
56902     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56903       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56904       with_gnu_ld=no
56905     else
56906       with_gnu_ld=$ac_cv_prog_gnu_ld
56907     fi
56908   fi
56909
56910   # Start by getting the version number.  I think the libtool test already
56911   # does some of this, but throws away the result.
56912   glibcxx_ld_is_gold=no
56913   if test x"$with_gnu_ld" = x"yes"; then
56914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56915 $as_echo_n "checking for ld version... " >&6; }
56916
56917     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56918       glibcxx_ld_is_gold=yes
56919     fi
56920     ldver=`$LD --version 2>/dev/null |
56921            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'`
56922
56923     glibcxx_gnu_ld_version=`echo $ldver | \
56924            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56926 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56927   fi
56928
56929   # Set --gc-sections.
56930   glibcxx_have_gc_sections=no
56931   if test "$glibcxx_ld_is_gold" = "yes"; then
56932     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56933       glibcxx_have_gc_sections=yes
56934     fi
56935   else
56936     glibcxx_gcsections_min_ld=21602
56937     if test x"$with_gnu_ld" = x"yes" &&
56938         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56939       glibcxx_have_gc_sections=yes
56940     fi
56941   fi
56942   if test "$glibcxx_have_gc_sections" = "yes"; then
56943     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56944     # NB: This flag only works reliably after 2.16.1. Configure tests
56945     # for this are difficult, so hard wire a value that should work.
56946
56947     ac_test_CFLAGS="${CFLAGS+set}"
56948     ac_save_CFLAGS="$CFLAGS"
56949     CFLAGS='-Wl,--gc-sections'
56950
56951     # Check for -Wl,--gc-sections
56952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56953 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56954     if test x$gcc_no_link = xyes; then
56955   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56956 fi
56957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56958 /* end confdefs.h.  */
56959  int one(void) { return 1; }
56960      int two(void) { return 2; }
56961
56962 int
56963 main ()
56964 {
56965  two();
56966   ;
56967   return 0;
56968 }
56969 _ACEOF
56970 if ac_fn_c_try_link "$LINENO"; then :
56971   ac_gcsections=yes
56972 else
56973   ac_gcsections=no
56974 fi
56975 rm -f core conftest.err conftest.$ac_objext \
56976     conftest$ac_exeext conftest.$ac_ext
56977     if test "$ac_gcsections" = "yes"; then
56978       rm -f conftest.c
56979       touch conftest.c
56980       if $CC -c conftest.c; then
56981         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56982            grep "Warning: gc-sections option ignored" > /dev/null; then
56983           ac_gcsections=no
56984         fi
56985       fi
56986       rm -f conftest.c conftest.o conftest
56987     fi
56988     if test "$ac_gcsections" = "yes"; then
56989       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56990     fi
56991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56992 $as_echo "$ac_gcsections" >&6; }
56993
56994     if test "$ac_test_CFLAGS" = set; then
56995       CFLAGS="$ac_save_CFLAGS"
56996     else
56997       # this is the suspicious part
56998       CFLAGS=''
56999     fi
57000   fi
57001
57002   # Set -z,relro.
57003   # Note this is only for shared objects.
57004   ac_ld_relro=no
57005   if test x"$with_gnu_ld" = x"yes"; then
57006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57008     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57009     if test -n "$cxx_z_relo"; then
57010       OPT_LDFLAGS="-Wl,-z,relro"
57011       ac_ld_relro=yes
57012     fi
57013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57014 $as_echo "$ac_ld_relro" >&6; }
57015   fi
57016
57017   # Set linker optimization flags.
57018   if test x"$with_gnu_ld" = x"yes"; then
57019     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57020   fi
57021
57022
57023
57024
57025     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57026
57027     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57028
57029     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57030
57031     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57032
57033     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57034
57035     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57036
57037     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57038
57039     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57040
57041     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57042
57043     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57044
57045     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57046
57047     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57048
57049     ;;
57050   *-solaris*)
57051     case "$target" in
57052       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57053
57054   # If we're not using GNU ld, then there's no point in even trying these
57055   # tests.  Check for that first.  We should have already tested for gld
57056   # by now (in libtool), but require it now just to be safe...
57057   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57058   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57059
57060
57061
57062   # The name set by libtool depends on the version of libtool.  Shame on us
57063   # for depending on an impl detail, but c'est la vie.  Older versions used
57064   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57065   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57066   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57067   # set (hence we're using an older libtool), then set it.
57068   if test x${with_gnu_ld+set} != xset; then
57069     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57070       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57071       with_gnu_ld=no
57072     else
57073       with_gnu_ld=$ac_cv_prog_gnu_ld
57074     fi
57075   fi
57076
57077   # Start by getting the version number.  I think the libtool test already
57078   # does some of this, but throws away the result.
57079   glibcxx_ld_is_gold=no
57080   if test x"$with_gnu_ld" = x"yes"; then
57081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57082 $as_echo_n "checking for ld version... " >&6; }
57083
57084     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57085       glibcxx_ld_is_gold=yes
57086     fi
57087     ldver=`$LD --version 2>/dev/null |
57088            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'`
57089
57090     glibcxx_gnu_ld_version=`echo $ldver | \
57091            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57092     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57093 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57094   fi
57095
57096   # Set --gc-sections.
57097   glibcxx_have_gc_sections=no
57098   if test "$glibcxx_ld_is_gold" = "yes"; then
57099     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57100       glibcxx_have_gc_sections=yes
57101     fi
57102   else
57103     glibcxx_gcsections_min_ld=21602
57104     if test x"$with_gnu_ld" = x"yes" &&
57105         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57106       glibcxx_have_gc_sections=yes
57107     fi
57108   fi
57109   if test "$glibcxx_have_gc_sections" = "yes"; then
57110     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57111     # NB: This flag only works reliably after 2.16.1. Configure tests
57112     # for this are difficult, so hard wire a value that should work.
57113
57114     ac_test_CFLAGS="${CFLAGS+set}"
57115     ac_save_CFLAGS="$CFLAGS"
57116     CFLAGS='-Wl,--gc-sections'
57117
57118     # Check for -Wl,--gc-sections
57119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57120 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57121     if test x$gcc_no_link = xyes; then
57122   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57123 fi
57124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57125 /* end confdefs.h.  */
57126  int one(void) { return 1; }
57127      int two(void) { return 2; }
57128
57129 int
57130 main ()
57131 {
57132  two();
57133   ;
57134   return 0;
57135 }
57136 _ACEOF
57137 if ac_fn_c_try_link "$LINENO"; then :
57138   ac_gcsections=yes
57139 else
57140   ac_gcsections=no
57141 fi
57142 rm -f core conftest.err conftest.$ac_objext \
57143     conftest$ac_exeext conftest.$ac_ext
57144     if test "$ac_gcsections" = "yes"; then
57145       rm -f conftest.c
57146       touch conftest.c
57147       if $CC -c conftest.c; then
57148         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57149            grep "Warning: gc-sections option ignored" > /dev/null; then
57150           ac_gcsections=no
57151         fi
57152       fi
57153       rm -f conftest.c conftest.o conftest
57154     fi
57155     if test "$ac_gcsections" = "yes"; then
57156       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57157     fi
57158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57159 $as_echo "$ac_gcsections" >&6; }
57160
57161     if test "$ac_test_CFLAGS" = set; then
57162       CFLAGS="$ac_save_CFLAGS"
57163     else
57164       # this is the suspicious part
57165       CFLAGS=''
57166     fi
57167   fi
57168
57169   # Set -z,relro.
57170   # Note this is only for shared objects.
57171   ac_ld_relro=no
57172   if test x"$with_gnu_ld" = x"yes"; then
57173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57174 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57175     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57176     if test -n "$cxx_z_relo"; then
57177       OPT_LDFLAGS="-Wl,-z,relro"
57178       ac_ld_relro=yes
57179     fi
57180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57181 $as_echo "$ac_ld_relro" >&6; }
57182   fi
57183
57184   # Set linker optimization flags.
57185   if test x"$with_gnu_ld" = x"yes"; then
57186     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57187   fi
57188
57189
57190
57191
57192          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57193
57194          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57195
57196          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57197
57198          # All of the dependencies for wide character support are here, so
57199          # turn it on.
57200          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57201
57202         ;;
57203     esac
57204     case "$target" in
57205       *-*-solaris2.10)
57206       # These two C99 functions are present only in Solaris >= 10
57207       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57208
57209       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57210
57211      ;;
57212     esac
57213     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57214
57215     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57216
57217     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57218
57219     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57220
57221     ;;
57222   *-tpf)
57223     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57224
57225
57226   # If we're not using GNU ld, then there's no point in even trying these
57227   # tests.  Check for that first.  We should have already tested for gld
57228   # by now (in libtool), but require it now just to be safe...
57229   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57230   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57231
57232
57233
57234   # The name set by libtool depends on the version of libtool.  Shame on us
57235   # for depending on an impl detail, but c'est la vie.  Older versions used
57236   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57237   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57238   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57239   # set (hence we're using an older libtool), then set it.
57240   if test x${with_gnu_ld+set} != xset; then
57241     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57242       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57243       with_gnu_ld=no
57244     else
57245       with_gnu_ld=$ac_cv_prog_gnu_ld
57246     fi
57247   fi
57248
57249   # Start by getting the version number.  I think the libtool test already
57250   # does some of this, but throws away the result.
57251   glibcxx_ld_is_gold=no
57252   if test x"$with_gnu_ld" = x"yes"; then
57253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57254 $as_echo_n "checking for ld version... " >&6; }
57255
57256     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57257       glibcxx_ld_is_gold=yes
57258     fi
57259     ldver=`$LD --version 2>/dev/null |
57260            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'`
57261
57262     glibcxx_gnu_ld_version=`echo $ldver | \
57263            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57264     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57265 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57266   fi
57267
57268   # Set --gc-sections.
57269   glibcxx_have_gc_sections=no
57270   if test "$glibcxx_ld_is_gold" = "yes"; then
57271     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57272       glibcxx_have_gc_sections=yes
57273     fi
57274   else
57275     glibcxx_gcsections_min_ld=21602
57276     if test x"$with_gnu_ld" = x"yes" &&
57277         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57278       glibcxx_have_gc_sections=yes
57279     fi
57280   fi
57281   if test "$glibcxx_have_gc_sections" = "yes"; then
57282     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57283     # NB: This flag only works reliably after 2.16.1. Configure tests
57284     # for this are difficult, so hard wire a value that should work.
57285
57286     ac_test_CFLAGS="${CFLAGS+set}"
57287     ac_save_CFLAGS="$CFLAGS"
57288     CFLAGS='-Wl,--gc-sections'
57289
57290     # Check for -Wl,--gc-sections
57291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57292 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57293     if test x$gcc_no_link = xyes; then
57294   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57295 fi
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h.  */
57298  int one(void) { return 1; }
57299      int two(void) { return 2; }
57300
57301 int
57302 main ()
57303 {
57304  two();
57305   ;
57306   return 0;
57307 }
57308 _ACEOF
57309 if ac_fn_c_try_link "$LINENO"; then :
57310   ac_gcsections=yes
57311 else
57312   ac_gcsections=no
57313 fi
57314 rm -f core conftest.err conftest.$ac_objext \
57315     conftest$ac_exeext conftest.$ac_ext
57316     if test "$ac_gcsections" = "yes"; then
57317       rm -f conftest.c
57318       touch conftest.c
57319       if $CC -c conftest.c; then
57320         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57321            grep "Warning: gc-sections option ignored" > /dev/null; then
57322           ac_gcsections=no
57323         fi
57324       fi
57325       rm -f conftest.c conftest.o conftest
57326     fi
57327     if test "$ac_gcsections" = "yes"; then
57328       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57329     fi
57330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57331 $as_echo "$ac_gcsections" >&6; }
57332
57333     if test "$ac_test_CFLAGS" = set; then
57334       CFLAGS="$ac_save_CFLAGS"
57335     else
57336       # this is the suspicious part
57337       CFLAGS=''
57338     fi
57339   fi
57340
57341   # Set -z,relro.
57342   # Note this is only for shared objects.
57343   ac_ld_relro=no
57344   if test x"$with_gnu_ld" = x"yes"; then
57345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57346 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57347     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57348     if test -n "$cxx_z_relo"; then
57349       OPT_LDFLAGS="-Wl,-z,relro"
57350       ac_ld_relro=yes
57351     fi
57352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57353 $as_echo "$ac_ld_relro" >&6; }
57354   fi
57355
57356   # Set linker optimization flags.
57357   if test x"$with_gnu_ld" = x"yes"; then
57358     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57359   fi
57360
57361
57362
57363
57364     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57365
57366     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57367
57368     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57369
57370     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57371
57372     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57373
57374     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57375
57376     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57377
57378     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57379
57380     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57381
57382     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57383
57384     if test x"long_double_math_on_this_cpu" = x"yes"; then
57385       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57386
57387       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57388
57389       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57390
57391       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57392
57393     fi
57394     ;;
57395   *-vxworks)
57396     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57397
57398     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57399
57400     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57401
57402     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57403
57404     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57405
57406     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57407
57408     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57409
57410     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57411
57412     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57413
57414     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57415
57416     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57417
57418     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57419
57420     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57421
57422     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57423
57424     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57425
57426     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57427
57428     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57429
57430     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57431
57432     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57433
57434     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57435
57436     ;;
57437   *)
57438     as_fn_error "No support for this host/target combination." "$LINENO" 5
57439    ;;
57440 esac
57441
57442   fi
57443
57444   # At some point, we should differentiate between architectures
57445   # like x86, which have long double versions, and alpha/powerpc/etc.,
57446   # which don't. For the time being, punt.
57447   if test x"long_double_math_on_this_cpu" = x"yes"; then
57448     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57449
57450     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57451
57452     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57453
57454     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57455
57456     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57457
57458     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57459
57460     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57461
57462     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57463
57464     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57465
57466     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57467
57468     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57469
57470     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57471
57472     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57473
57474     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57475
57476     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57477
57478     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57479
57480     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57481
57482     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57483
57484     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57485
57486     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57487
57488     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57489
57490     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57491
57492     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57493
57494   fi
57495 fi
57496
57497 # Check for _Unwind_GetIPInfo.
57498
57499
57500 # Check whether --with-system-libunwind was given.
57501 if test "${with_system_libunwind+set}" = set; then :
57502   withval=$with_system_libunwind;
57503 fi
57504
57505   # If system-libunwind was not specifically set, pick a default setting.
57506   if test x$with_system_libunwind = x; then
57507     case ${target} in
57508       ia64-*-hpux*) with_system_libunwind=yes ;;
57509       *) with_system_libunwind=no ;;
57510     esac
57511   fi
57512   # Based on system-libunwind and target, do we have ipinfo?
57513   if  test x$with_system_libunwind = xyes; then
57514     case ${target} in
57515       ia64-*-*) have_unwind_getipinfo=no ;;
57516       *) have_unwind_getipinfo=yes ;;
57517     esac
57518   else
57519     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57520
57521     case ${target} in
57522       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57523       *) have_unwind_getipinfo=yes ;;
57524     esac
57525
57526   fi
57527
57528   if test x$have_unwind_getipinfo = xyes; then
57529
57530 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57531
57532   fi
57533
57534
57535
57536  # Check whether --enable-linux-futex was given.
57537 if test "${enable_linux_futex+set}" = set; then :
57538   enableval=$enable_linux_futex;
57539       case "$enableval" in
57540        yes|no|default) ;;
57541        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57542                           esac
57543
57544 else
57545   enable_linux_futex=default
57546 fi
57547
57548
57549 case "$target" in
57550   *-linux*)
57551     case "$enable_linux_futex" in
57552       default)
57553         # If headers don't have gettid/futex syscalls definition, then
57554         # default to no, otherwise there will be compile time failures.
57555         # Otherwise, default to yes.  If we don't detect we are
57556         # compiled/linked against NPTL and not cross-compiling, check
57557         # if programs are run by default against NPTL and if not, issue
57558         # a warning.
57559         enable_linux_futex=no
57560         if test x$gcc_no_link = xyes; then
57561   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57562 fi
57563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57564 /* end confdefs.h.  */
57565 #include <sys/syscall.h>
57566            int lk;
57567 int
57568 main ()
57569 {
57570 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57571   ;
57572   return 0;
57573 }
57574 _ACEOF
57575 if ac_fn_c_try_link "$LINENO"; then :
57576   save_LIBS="$LIBS"
57577            LIBS="-lpthread $LIBS"
57578            if test x$gcc_no_link = xyes; then
57579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57580 fi
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h.  */
57583 #ifndef _GNU_SOURCE
57584              #define _GNU_SOURCE 1
57585              #endif
57586              #include <pthread.h>
57587              pthread_t th; void *status;
57588 int
57589 main ()
57590 {
57591 pthread_tryjoin_np (th, &status);
57592   ;
57593   return 0;
57594 }
57595 _ACEOF
57596 if ac_fn_c_try_link "$LINENO"; then :
57597   enable_linux_futex=yes
57598 else
57599   if test x$cross_compiling = xno; then
57600                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57601                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57602                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57603 If so, please configure with --disable-linux-futex" >&5
57604 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57605 If so, please configure with --disable-linux-futex" >&2;}
57606                fi
57607              fi
57608              enable_linux_futex=yes
57609 fi
57610 rm -f core conftest.err conftest.$ac_objext \
57611     conftest$ac_exeext conftest.$ac_ext
57612            LIBS="$save_LIBS"
57613 fi
57614 rm -f core conftest.err conftest.$ac_objext \
57615     conftest$ac_exeext conftest.$ac_ext
57616         ;;
57617       yes)
57618         if test x$gcc_no_link = xyes; then
57619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57620 fi
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h.  */
57623 #include <sys/syscall.h>
57624            int lk;
57625 int
57626 main ()
57627 {
57628 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57629   ;
57630   return 0;
57631 }
57632 _ACEOF
57633 if ac_fn_c_try_link "$LINENO"; then :
57634
57635 else
57636   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57637 fi
57638 rm -f core conftest.err conftest.$ac_objext \
57639     conftest$ac_exeext conftest.$ac_ext
57640         ;;
57641     esac
57642     ;;
57643   *)
57644     enable_linux_futex=no
57645     ;;
57646 esac
57647 if test x$enable_linux_futex = xyes; then
57648
57649 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57650
57651 fi
57652
57653
57654
57655
57656 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57657
57658 acx_cv_header_stdint=stddef.h
57659 acx_cv_header_stdint_kind="(already complete)"
57660 for i in stdint.h $inttype_headers; do
57661   unset ac_cv_type_uintptr_t
57662   unset ac_cv_type_uintmax_t
57663   unset ac_cv_type_int_least32_t
57664   unset ac_cv_type_int_fast32_t
57665   unset ac_cv_type_uint64_t
57666   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57667   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57668 #include <$i>
57669 "
57670 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57671   acx_cv_header_stdint=$i
57672 else
57673   continue
57674 fi
57675
57676   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57677 #include <$i>
57678 "
57679 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57680
57681 else
57682   acx_cv_header_stdint_kind="(mostly complete)"
57683 fi
57684
57685   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57686 #include <$i>
57687 "
57688 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57689
57690 else
57691   acx_cv_header_stdint_kind="(mostly complete)"
57692 fi
57693
57694   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57695 #include <$i>
57696 "
57697 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57698
57699 else
57700   acx_cv_header_stdint_kind="(mostly complete)"
57701 fi
57702
57703   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57704 #include <$i>
57705 "
57706 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57707
57708 else
57709   acx_cv_header_stdint_kind="(lacks uint64_t)"
57710 fi
57711
57712   break
57713 done
57714 if test "$acx_cv_header_stdint" = stddef.h; then
57715   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57716   for i in stdint.h $inttype_headers; do
57717     unset ac_cv_type_uintptr_t
57718     unset ac_cv_type_uint32_t
57719     unset ac_cv_type_uint64_t
57720     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57721     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57722 #include <$i>
57723 "
57724 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57725   acx_cv_header_stdint=$i
57726 else
57727   continue
57728 fi
57729
57730     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57731 #include <$i>
57732 "
57733 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57734
57735 fi
57736
57737     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57738 #include <$i>
57739 "
57740 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57741
57742 fi
57743
57744     break
57745   done
57746 fi
57747 if test "$acx_cv_header_stdint" = stddef.h; then
57748   acx_cv_header_stdint_kind="(u_intXX_t style)"
57749   for i in sys/types.h $inttype_headers; do
57750     unset ac_cv_type_u_int32_t
57751     unset ac_cv_type_u_int64_t
57752     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57753     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57754 #include <$i>
57755 "
57756 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57757   acx_cv_header_stdint=$i
57758 else
57759   continue
57760 fi
57761
57762     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57763 #include <$i>
57764 "
57765 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57766
57767 fi
57768
57769     break
57770   done
57771 fi
57772 if test "$acx_cv_header_stdint" = stddef.h; then
57773   acx_cv_header_stdint_kind="(using manual detection)"
57774 fi
57775
57776 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57777 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57778 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57779 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57780 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57781
57782 # ----------------- Summarize what we found so far
57783
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57785 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57786
57787 case `$as_basename -- include/gstdint.h ||
57788 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57789          Xinclude/gstdint.h : 'X\(//\)$' \| \
57790          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57791 $as_echo X/include/gstdint.h |
57792     sed '/^.*\/\([^/][^/]*\)\/*$/{
57793             s//\1/
57794             q
57795           }
57796           /^X\/\(\/\/\)$/{
57797             s//\1/
57798             q
57799           }
57800           /^X\/\(\/\).*/{
57801             s//\1/
57802             q
57803           }
57804           s/.*/./; q'` in
57805   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57806 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57807   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57808 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57809   *) ;;
57810 esac
57811
57812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57813 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57814
57815 # ----------------- done included file, check C basic types --------
57816
57817 # Lacking an uintptr_t?  Test size of void *
57818 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57819   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57822 # This bug is HP SR number 8606223364.
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57824 $as_echo_n "checking size of void *... " >&6; }
57825 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57826   $as_echo_n "(cached) " >&6
57827 else
57828   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57829
57830 else
57831   if test "$ac_cv_type_void_p" = yes; then
57832      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57834 { as_fn_set_status 77
57835 as_fn_error "cannot compute sizeof (void *)
57836 See \`config.log' for more details." "$LINENO" 5; }; }
57837    else
57838      ac_cv_sizeof_void_p=0
57839    fi
57840 fi
57841
57842 fi
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57844 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57845
57846
57847
57848 cat >>confdefs.h <<_ACEOF
57849 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57850 _ACEOF
57851
57852  ;;
57853 esac
57854
57855 # Lacking an uint64_t?  Test size of long
57856 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57857   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57860 # This bug is HP SR number 8606223364.
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57862 $as_echo_n "checking size of long... " >&6; }
57863 if test "${ac_cv_sizeof_long+set}" = set; then :
57864   $as_echo_n "(cached) " >&6
57865 else
57866   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57867
57868 else
57869   if test "$ac_cv_type_long" = yes; then
57870      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57872 { as_fn_set_status 77
57873 as_fn_error "cannot compute sizeof (long)
57874 See \`config.log' for more details." "$LINENO" 5; }; }
57875    else
57876      ac_cv_sizeof_long=0
57877    fi
57878 fi
57879
57880 fi
57881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57882 $as_echo "$ac_cv_sizeof_long" >&6; }
57883
57884
57885
57886 cat >>confdefs.h <<_ACEOF
57887 #define SIZEOF_LONG $ac_cv_sizeof_long
57888 _ACEOF
57889
57890  ;;
57891 esac
57892
57893 if test $acx_cv_header_stdint = stddef.h; then
57894   # Lacking a good header?  Test size of everything and deduce all types.
57895   # The cast to long int works around a bug in the HP C Compiler
57896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57898 # This bug is HP SR number 8606223364.
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57900 $as_echo_n "checking size of int... " >&6; }
57901 if test "${ac_cv_sizeof_int+set}" = set; then :
57902   $as_echo_n "(cached) " >&6
57903 else
57904   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57905
57906 else
57907   if test "$ac_cv_type_int" = yes; then
57908      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57910 { as_fn_set_status 77
57911 as_fn_error "cannot compute sizeof (int)
57912 See \`config.log' for more details." "$LINENO" 5; }; }
57913    else
57914      ac_cv_sizeof_int=0
57915    fi
57916 fi
57917
57918 fi
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57920 $as_echo "$ac_cv_sizeof_int" >&6; }
57921
57922
57923
57924 cat >>confdefs.h <<_ACEOF
57925 #define SIZEOF_INT $ac_cv_sizeof_int
57926 _ACEOF
57927
57928
57929   # The cast to long int works around a bug in the HP C Compiler
57930 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57931 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57932 # This bug is HP SR number 8606223364.
57933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57934 $as_echo_n "checking size of short... " >&6; }
57935 if test "${ac_cv_sizeof_short+set}" = set; then :
57936   $as_echo_n "(cached) " >&6
57937 else
57938   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57939
57940 else
57941   if test "$ac_cv_type_short" = yes; then
57942      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57944 { as_fn_set_status 77
57945 as_fn_error "cannot compute sizeof (short)
57946 See \`config.log' for more details." "$LINENO" 5; }; }
57947    else
57948      ac_cv_sizeof_short=0
57949    fi
57950 fi
57951
57952 fi
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57954 $as_echo "$ac_cv_sizeof_short" >&6; }
57955
57956
57957
57958 cat >>confdefs.h <<_ACEOF
57959 #define SIZEOF_SHORT $ac_cv_sizeof_short
57960 _ACEOF
57961
57962
57963   # The cast to long int works around a bug in the HP C Compiler
57964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57966 # This bug is HP SR number 8606223364.
57967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57968 $as_echo_n "checking size of char... " >&6; }
57969 if test "${ac_cv_sizeof_char+set}" = set; then :
57970   $as_echo_n "(cached) " >&6
57971 else
57972   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
57973
57974 else
57975   if test "$ac_cv_type_char" = yes; then
57976      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57978 { as_fn_set_status 77
57979 as_fn_error "cannot compute sizeof (char)
57980 See \`config.log' for more details." "$LINENO" 5; }; }
57981    else
57982      ac_cv_sizeof_char=0
57983    fi
57984 fi
57985
57986 fi
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57988 $as_echo "$ac_cv_sizeof_char" >&6; }
57989
57990
57991
57992 cat >>confdefs.h <<_ACEOF
57993 #define SIZEOF_CHAR $ac_cv_sizeof_char
57994 _ACEOF
57995
57996
57997
57998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57999 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58000   case "$ac_cv_sizeof_char" in
58001     1) acx_cv_type_int8_t=char ;;
58002     *) { as_fn_set_status please report a bug
58003 as_fn_error "no 8-bit type" "$LINENO" 5; }
58004   esac
58005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58006 $as_echo "$acx_cv_type_int8_t" >&6; }
58007
58008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58009 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58010   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58011     2:*) acx_cv_type_int16_t=int ;;
58012     *:2) acx_cv_type_int16_t=short ;;
58013     *) { as_fn_set_status please report a bug
58014 as_fn_error "no 16-bit type" "$LINENO" 5; }
58015   esac
58016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58017 $as_echo "$acx_cv_type_int16_t" >&6; }
58018
58019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58020 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58021   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58022     4:*) acx_cv_type_int32_t=int ;;
58023     *:4) acx_cv_type_int32_t=long ;;
58024     *) { as_fn_set_status please report a bug
58025 as_fn_error "no 32-bit type" "$LINENO" 5; }
58026   esac
58027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58028 $as_echo "$acx_cv_type_int32_t" >&6; }
58029 fi
58030
58031 # These tests are here to make the output prettier
58032
58033 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58034   case "$ac_cv_sizeof_long" in
58035     8) acx_cv_type_int64_t=long ;;
58036   esac
58037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58038 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58040 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58041 fi
58042
58043 # Now we can use the above types
58044
58045 if test "$ac_cv_type_uintptr_t" != yes; then
58046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58047 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58048   case $ac_cv_sizeof_void_p in
58049     2) acx_cv_type_intptr_t=int16_t ;;
58050     4) acx_cv_type_intptr_t=int32_t ;;
58051     8) acx_cv_type_intptr_t=int64_t ;;
58052     *) { as_fn_set_status please report a bug
58053 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58054   esac
58055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58056 $as_echo "$acx_cv_type_intptr_t" >&6; }
58057 fi
58058
58059 # ----------------- done all checks, emit header -------------
58060 ac_config_commands="$ac_config_commands include/gstdint.h"
58061
58062
58063
58064
58065 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58066
58067
58068  # Check whether --enable-symvers was given.
58069 if test "${enable_symvers+set}" = set; then :
58070   enableval=$enable_symvers;
58071       case "$enableval" in
58072        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58073        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58074                           esac
58075
58076 else
58077   enable_symvers=yes
58078 fi
58079
58080
58081
58082 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58083 # don't know enough about $LD to do tricks...
58084
58085
58086 # Turn a 'yes' into a suitable default.
58087 if test x$enable_symvers = xyes ; then
58088   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58089     enable_symvers=no
58090   else
58091     if test $with_gnu_ld = yes ; then
58092       case ${target_os} in
58093         hpux*)
58094           enable_symvers=no ;;
58095         *)
58096           enable_symvers=gnu ;;
58097       esac
58098     else
58099       case ${target_os} in
58100         darwin*)
58101           enable_symvers=darwin ;;
58102         *)
58103           enable_symvers=no ;;
58104       esac
58105     fi
58106   fi
58107 fi
58108
58109 # Check to see if 'darwin' or 'darwin-export' can win.
58110 if test x$enable_symvers = xdarwin-export ; then
58111     enable_symvers=darwin
58112 fi
58113
58114 # Check to see if 'gnu' can win.
58115 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58116   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58118 $as_echo_n "checking for shared libgcc... " >&6; }
58119   ac_save_CFLAGS="$CFLAGS"
58120   CFLAGS=' -lgcc_s'
58121   if test x$gcc_no_link = xyes; then
58122   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58123 fi
58124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58125 /* end confdefs.h.  */
58126
58127 int
58128 main ()
58129 {
58130 return 0;
58131   ;
58132   return 0;
58133 }
58134 _ACEOF
58135 if ac_fn_c_try_link "$LINENO"; then :
58136   glibcxx_shared_libgcc=yes
58137 else
58138   glibcxx_shared_libgcc=no
58139 fi
58140 rm -f core conftest.err conftest.$ac_objext \
58141     conftest$ac_exeext conftest.$ac_ext
58142   CFLAGS="$ac_save_CFLAGS"
58143   if test $glibcxx_shared_libgcc = no; then
58144     cat > conftest.c <<EOF
58145 int main (void) { return 0; }
58146 EOF
58147     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58148                              -shared -shared-libgcc -o conftest.so \
58149                              conftest.c -v 2>&1 >/dev/null \
58150                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58151     rm -f conftest.c conftest.so
58152     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58153       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58154       if test x$gcc_no_link = xyes; then
58155   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58156 fi
58157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58158 /* end confdefs.h.  */
58159
58160 int
58161 main ()
58162 {
58163 return 0;
58164   ;
58165   return 0;
58166 }
58167 _ACEOF
58168 if ac_fn_c_try_link "$LINENO"; then :
58169   glibcxx_shared_libgcc=yes
58170 fi
58171 rm -f core conftest.err conftest.$ac_objext \
58172     conftest$ac_exeext conftest.$ac_ext
58173       CFLAGS="$ac_save_CFLAGS"
58174     fi
58175   fi
58176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58177 $as_echo "$glibcxx_shared_libgcc" >&6; }
58178
58179   # For GNU ld, we need at least this version.  The format is described in
58180   # GLIBCXX_CHECK_LINKER_FEATURES above.
58181   glibcxx_min_gnu_ld_version=21400
58182
58183   # If no shared libgcc, can't win.
58184   if test $glibcxx_shared_libgcc != yes; then
58185       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58186 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58187       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58188 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58189       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58190 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58191       enable_symvers=no
58192   elif test $with_gnu_ld != yes ; then
58193     # just fail for now
58194     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58195 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58196     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58197 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58198     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58199 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58200     enable_symvers=no
58201   elif test $glibcxx_ld_is_gold = yes ; then
58202     : All versions of gold support symbol versioning.
58203   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58204     # The right tools, the right setup, but too old.  Fallbacks?
58205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58206 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58207     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58208 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58209     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58210 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58212 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58213     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58214 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58215     enable_symvers=no
58216   fi
58217 fi
58218
58219 # Everything parsed; figure out what file to use.
58220 case $enable_symvers in
58221   no)
58222     SYMVER_FILE=config/abi/pre/none.ver
58223     ;;
58224   gnu)
58225     SYMVER_FILE=config/abi/pre/gnu.ver
58226
58227 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58228
58229     ;;
58230   gnu-versioned-namespace)
58231     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58232
58233 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58234
58235     ;;
58236   darwin)
58237     SYMVER_FILE=config/abi/pre/gnu.ver
58238
58239 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58240
58241     ;;
58242 esac
58243
58244 if test x$enable_symvers != xno ; then
58245
58246 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58247
58248 fi
58249
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58251 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58252 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58253   $as_echo_n "(cached) " >&6
58254 else
58255
58256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58257 /* end confdefs.h.  */
58258 void foo (void); __asm (".symver foo, bar@SYMVER");
58259 int
58260 main ()
58261 {
58262
58263   ;
58264   return 0;
58265 }
58266 _ACEOF
58267 if ac_fn_c_try_compile "$LINENO"; then :
58268   glibcxx_cv_have_as_symver_directive=yes
58269 else
58270   glibcxx_cv_have_as_symver_directive=no
58271 fi
58272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58273 fi
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58275 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58276 if test $glibcxx_cv_have_as_symver_directive = yes; then
58277
58278 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58279
58280 fi
58281
58282
58283
58284
58285
58286
58287
58288 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58289 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58290
58291 # Now, set up compatibility support, if any.
58292 # In addition, need this to deal with std::size_t mangling in
58293 # src/compatibility.cc.  In a perfect world, could use
58294 # typeid(std::size_t).name()[0] to do direct substitution.
58295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58296 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58297 ac_save_CFLAGS="$CFLAGS"
58298 CFLAGS="-Werror"
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h.  */
58301
58302 int
58303 main ()
58304 {
58305 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58306   ;
58307   return 0;
58308 }
58309 _ACEOF
58310 if ac_fn_c_try_compile "$LINENO"; then :
58311   glibcxx_size_t_is_i=yes
58312 else
58313   glibcxx_size_t_is_i=no
58314 fi
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58316 CFLAGS=$ac_save_CFLAGS
58317 if test "$glibcxx_size_t_is_i" = yes; then
58318
58319 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58320
58321 fi
58322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58323 $as_echo "$glibcxx_size_t_is_i" >&6; }
58324
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58326 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58327 ac_save_CFLAGS="$CFLAGS"
58328 CFLAGS="-Werror"
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h.  */
58331
58332 int
58333 main ()
58334 {
58335 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58336   ;
58337   return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_c_try_compile "$LINENO"; then :
58341   glibcxx_ptrdiff_t_is_i=yes
58342 else
58343   glibcxx_ptrdiff_t_is_i=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 CFLAGS=$ac_save_CFLAGS
58347 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58348
58349 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58350
58351 fi
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58353 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58354
58355
58356  # Check whether --enable-visibility was given.
58357 if test "${enable_visibility+set}" = set; then :
58358   enableval=$enable_visibility;
58359       case "$enableval" in
58360        yes|no) ;;
58361        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58362       esac
58363
58364 else
58365   enable_visibility=yes
58366 fi
58367
58368
58369
58370 if test x$enable_visibility = xyes ; then
58371       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58372 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58373 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58374   $as_echo_n "(cached) " >&6
58375 else
58376
58377   save_CFLAGS="$CFLAGS"
58378   CFLAGS="$CFLAGS -Werror"
58379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58380 /* end confdefs.h.  */
58381 void __attribute__((visibility("hidden"))) foo(void) { }
58382 int
58383 main ()
58384 {
58385
58386   ;
58387   return 0;
58388 }
58389 _ACEOF
58390 if ac_fn_c_try_compile "$LINENO"; then :
58391   glibcxx_cv_have_attribute_visibility=yes
58392 else
58393   glibcxx_cv_have_attribute_visibility=no
58394 fi
58395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396   CFLAGS="$save_CFLAGS"
58397 fi
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58399 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58400   if test $glibcxx_cv_have_attribute_visibility = no; then
58401     enable_visibility=no
58402   fi
58403 fi
58404
58405
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58407 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58408
58409
58410 ac_ldbl_compat=no
58411 case "$target" in
58412   powerpc*-*-linux* | \
58413   powerpc*-*-gnu* | \
58414   sparc*-*-linux* | \
58415   s390*-*-linux* | \
58416   alpha*-*-linux*)
58417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58418 /* end confdefs.h.  */
58419
58420 int
58421 main ()
58422 {
58423
58424 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58425 #error no need for long double compatibility
58426 #endif
58427
58428   ;
58429   return 0;
58430 }
58431 _ACEOF
58432 if ac_fn_c_try_compile "$LINENO"; then :
58433   ac_ldbl_compat=yes
58434 else
58435   ac_ldbl_compat=no
58436 fi
58437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58438   if test "$ac_ldbl_compat" = yes; then
58439
58440 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58441
58442     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58443   fi
58444 esac
58445
58446
58447 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58448
58449   if $GLIBCXX_IS_NATIVE ; then
58450     # Do checks for resource limit functions.
58451
58452   setrlimit_have_headers=yes
58453   for ac_header in unistd.h sys/time.h sys/resource.h
58454 do :
58455   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58456 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58457 eval as_val=\$$as_ac_Header
58458    if test "x$as_val" = x""yes; then :
58459   cat >>confdefs.h <<_ACEOF
58460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58461 _ACEOF
58462
58463 else
58464   setrlimit_have_headers=no
58465 fi
58466
58467 done
58468
58469   # If don't have the headers, then we can't run the tests now, and we
58470   # won't be seeing any of these during testsuite compilation.
58471   if test $setrlimit_have_headers = yes; then
58472     # Can't do these in a loop, else the resulting syntax is wrong.
58473
58474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58475 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58477 /* end confdefs.h.  */
58478 #include <unistd.h>
58479      #include <sys/time.h>
58480      #include <sys/resource.h>
58481
58482 int
58483 main ()
58484 {
58485  int f = RLIMIT_DATA ;
58486   ;
58487   return 0;
58488 }
58489 _ACEOF
58490 if ac_fn_c_try_compile "$LINENO"; then :
58491   glibcxx_mresult=1
58492 else
58493   glibcxx_mresult=0
58494 fi
58495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58496
58497 cat >>confdefs.h <<_ACEOF
58498 #define HAVE_LIMIT_DATA $glibcxx_mresult
58499 _ACEOF
58500
58501   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58503 $as_echo "$res" >&6; }
58504
58505
58506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58507 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h.  */
58510 #include <unistd.h>
58511      #include <sys/time.h>
58512      #include <sys/resource.h>
58513
58514 int
58515 main ()
58516 {
58517  int f = RLIMIT_RSS ;
58518   ;
58519   return 0;
58520 }
58521 _ACEOF
58522 if ac_fn_c_try_compile "$LINENO"; then :
58523   glibcxx_mresult=1
58524 else
58525   glibcxx_mresult=0
58526 fi
58527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58528
58529 cat >>confdefs.h <<_ACEOF
58530 #define HAVE_LIMIT_RSS $glibcxx_mresult
58531 _ACEOF
58532
58533   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58535 $as_echo "$res" >&6; }
58536
58537
58538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58539 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58541 /* end confdefs.h.  */
58542 #include <unistd.h>
58543      #include <sys/time.h>
58544      #include <sys/resource.h>
58545
58546 int
58547 main ()
58548 {
58549  int f = RLIMIT_VMEM ;
58550   ;
58551   return 0;
58552 }
58553 _ACEOF
58554 if ac_fn_c_try_compile "$LINENO"; then :
58555   glibcxx_mresult=1
58556 else
58557   glibcxx_mresult=0
58558 fi
58559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58560
58561 cat >>confdefs.h <<_ACEOF
58562 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58563 _ACEOF
58564
58565   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58567 $as_echo "$res" >&6; }
58568
58569
58570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58571 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h.  */
58574 #include <unistd.h>
58575      #include <sys/time.h>
58576      #include <sys/resource.h>
58577
58578 int
58579 main ()
58580 {
58581  int f = RLIMIT_AS ;
58582   ;
58583   return 0;
58584 }
58585 _ACEOF
58586 if ac_fn_c_try_compile "$LINENO"; then :
58587   glibcxx_mresult=1
58588 else
58589   glibcxx_mresult=0
58590 fi
58591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58592
58593 cat >>confdefs.h <<_ACEOF
58594 #define HAVE_LIMIT_AS $glibcxx_mresult
58595 _ACEOF
58596
58597   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58599 $as_echo "$res" >&6; }
58600
58601
58602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58603 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58605 /* end confdefs.h.  */
58606 #include <unistd.h>
58607      #include <sys/time.h>
58608      #include <sys/resource.h>
58609
58610 int
58611 main ()
58612 {
58613  int f = RLIMIT_FSIZE ;
58614   ;
58615   return 0;
58616 }
58617 _ACEOF
58618 if ac_fn_c_try_compile "$LINENO"; then :
58619   glibcxx_mresult=1
58620 else
58621   glibcxx_mresult=0
58622 fi
58623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58624
58625 cat >>confdefs.h <<_ACEOF
58626 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58627 _ACEOF
58628
58629   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58631 $as_echo "$res" >&6; }
58632
58633
58634     # Check for rlimit, setrlimit.
58635     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58636   $as_echo_n "(cached) " >&6
58637 else
58638
58639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h.  */
58641 #include <unistd.h>
58642          #include <sys/time.h>
58643          #include <sys/resource.h>
58644
58645 int
58646 main ()
58647 {
58648 struct rlimit r;
58649          setrlimit(0, &r);
58650   ;
58651   return 0;
58652 }
58653 _ACEOF
58654 if ac_fn_c_try_compile "$LINENO"; then :
58655   glibcxx_cv_setrlimit=yes
58656 else
58657   glibcxx_cv_setrlimit=no
58658 fi
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58660
58661 fi
58662
58663   fi
58664
58665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58666 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58667   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58668     ac_res_limits=yes
58669
58670 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58671
58672   else
58673     ac_res_limits=no
58674   fi
58675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58676 $as_echo "$ac_res_limits" >&6; }
58677
58678
58679     # Look for setenv, so that extended locale tests can be performed.
58680
58681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58682 $as_echo_n "checking for setenv declaration... " >&6; }
58683   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58684     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58685   $as_echo_n "(cached) " >&6
58686 else
58687
58688
58689       ac_ext=cpp
58690 ac_cpp='$CXXCPP $CPPFLAGS'
58691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58694
58695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58696 /* end confdefs.h.  */
58697 #include <stdlib.h>
58698 int
58699 main ()
58700 {
58701  setenv(0, 0, 0);
58702   ;
58703   return 0;
58704 }
58705 _ACEOF
58706 if ac_fn_cxx_try_compile "$LINENO"; then :
58707   glibcxx_cv_func_setenv_use=yes
58708 else
58709   glibcxx_cv_func_setenv_use=no
58710 fi
58711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58712       ac_ext=c
58713 ac_cpp='$CPP $CPPFLAGS'
58714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58717
58718
58719 fi
58720
58721   fi
58722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58723 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58724   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58725     for ac_func in setenv
58726 do :
58727   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58728 if test "x$ac_cv_func_setenv" = x""yes; then :
58729   cat >>confdefs.h <<_ACEOF
58730 #define HAVE_SETENV 1
58731 _ACEOF
58732
58733 fi
58734 done
58735
58736   fi
58737
58738   fi
58739
58740   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58741      test $enable_symvers != no; then
58742     case "$host" in
58743       *-*-cygwin*)
58744         enable_abi_check=no ;;
58745       *)
58746         enable_abi_check=yes ;;
58747     esac
58748   else
58749     # Only build this as native, since automake does not understand
58750     # CXX_FOR_BUILD.
58751     enable_abi_check=no
58752   fi
58753
58754   # Export file names for ABI checking.
58755   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58756
58757
58758
58759 # Propagate the target-specific source directories through the build chain.
58760 ATOMICITY_SRCDIR=config/${atomicity_dir}
58761 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58762 ATOMIC_FLAGS=${atomic_flags}
58763 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58764 OS_INC_SRCDIR=config/${os_include_dir}
58765 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58766 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58767
58768
58769
58770
58771
58772
58773
58774
58775
58776 # Determine cross-compile flags and AM_CONDITIONALs.
58777 #AC_SUBST(GLIBCXX_IS_NATIVE)
58778 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58779     if test $is_hosted = yes; then
58780   GLIBCXX_HOSTED_TRUE=
58781   GLIBCXX_HOSTED_FALSE='#'
58782 else
58783   GLIBCXX_HOSTED_TRUE='#'
58784   GLIBCXX_HOSTED_FALSE=
58785 fi
58786
58787
58788     if test $enable_libstdcxx_pch = yes; then
58789   GLIBCXX_BUILD_PCH_TRUE=
58790   GLIBCXX_BUILD_PCH_FALSE='#'
58791 else
58792   GLIBCXX_BUILD_PCH_TRUE='#'
58793   GLIBCXX_BUILD_PCH_FALSE=
58794 fi
58795
58796
58797     if test $enable_cheaders = c; then
58798   GLIBCXX_C_HEADERS_C_TRUE=
58799   GLIBCXX_C_HEADERS_C_FALSE='#'
58800 else
58801   GLIBCXX_C_HEADERS_C_TRUE='#'
58802   GLIBCXX_C_HEADERS_C_FALSE=
58803 fi
58804
58805
58806     if test $enable_cheaders = c_std; then
58807   GLIBCXX_C_HEADERS_C_STD_TRUE=
58808   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58809 else
58810   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58811   GLIBCXX_C_HEADERS_C_STD_FALSE=
58812 fi
58813
58814
58815     if test $enable_cheaders = c_global; then
58816   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58817   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58818 else
58819   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58820   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58821 fi
58822
58823
58824     if test $c_compatibility = yes; then
58825   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58826   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58827 else
58828   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58829   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58830 fi
58831
58832
58833     if test $c_extra = yes; then
58834   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58835   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58836 else
58837   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58838   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58839 fi
58840
58841
58842     if test $enable_libstdcxx_debug = yes; then
58843   GLIBCXX_BUILD_DEBUG_TRUE=
58844   GLIBCXX_BUILD_DEBUG_FALSE='#'
58845 else
58846   GLIBCXX_BUILD_DEBUG_TRUE='#'
58847   GLIBCXX_BUILD_DEBUG_FALSE=
58848 fi
58849
58850
58851     if test $enable_parallel = yes; then
58852   ENABLE_PARALLEL_TRUE=
58853   ENABLE_PARALLEL_FALSE='#'
58854 else
58855   ENABLE_PARALLEL_TRUE='#'
58856   ENABLE_PARALLEL_FALSE=
58857 fi
58858
58859
58860     if test $enable_symvers != no; then
58861   ENABLE_SYMVERS_TRUE=
58862   ENABLE_SYMVERS_FALSE='#'
58863 else
58864   ENABLE_SYMVERS_TRUE='#'
58865   ENABLE_SYMVERS_FALSE=
58866 fi
58867
58868
58869     if test $enable_symvers = gnu; then
58870   ENABLE_SYMVERS_GNU_TRUE=
58871   ENABLE_SYMVERS_GNU_FALSE='#'
58872 else
58873   ENABLE_SYMVERS_GNU_TRUE='#'
58874   ENABLE_SYMVERS_GNU_FALSE=
58875 fi
58876
58877
58878     if test $enable_symvers = gnu-versioned-namespace; then
58879   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58880   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58881 else
58882   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58883   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58884 fi
58885
58886
58887     if test $enable_symvers = darwin; then
58888   ENABLE_SYMVERS_DARWIN_TRUE=
58889   ENABLE_SYMVERS_DARWIN_FALSE='#'
58890 else
58891   ENABLE_SYMVERS_DARWIN_TRUE='#'
58892   ENABLE_SYMVERS_DARWIN_FALSE=
58893 fi
58894
58895
58896     if test $enable_visibility = yes; then
58897   ENABLE_VISIBILITY_TRUE=
58898   ENABLE_VISIBILITY_FALSE='#'
58899 else
58900   ENABLE_VISIBILITY_TRUE='#'
58901   ENABLE_VISIBILITY_FALSE=
58902 fi
58903
58904
58905     if test $ac_ldbl_compat = yes; then
58906   GLIBCXX_LDBL_COMPAT_TRUE=
58907   GLIBCXX_LDBL_COMPAT_FALSE='#'
58908 else
58909   GLIBCXX_LDBL_COMPAT_TRUE='#'
58910   GLIBCXX_LDBL_COMPAT_FALSE=
58911 fi
58912
58913
58914
58915
58916 cat >confcache <<\_ACEOF
58917 # This file is a shell script that caches the results of configure
58918 # tests run on this system so they can be shared between configure
58919 # scripts and configure runs, see configure's option --config-cache.
58920 # It is not useful on other systems.  If it contains results you don't
58921 # want to keep, you may remove or edit it.
58922 #
58923 # config.status only pays attention to the cache file if you give it
58924 # the --recheck option to rerun configure.
58925 #
58926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58928 # following values.
58929
58930 _ACEOF
58931
58932 # The following way of writing the cache mishandles newlines in values,
58933 # but we know of no workaround that is simple, portable, and efficient.
58934 # So, we kill variables containing newlines.
58935 # Ultrix sh set writes to stderr and can't be redirected directly,
58936 # and sets the high bit in the cache file unless we assign to the vars.
58937 (
58938   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58939     eval ac_val=\$$ac_var
58940     case $ac_val in #(
58941     *${as_nl}*)
58942       case $ac_var in #(
58943       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58945       esac
58946       case $ac_var in #(
58947       _ | IFS | as_nl) ;; #(
58948       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58949       *) { eval $ac_var=; unset $ac_var;} ;;
58950       esac ;;
58951     esac
58952   done
58953
58954   (set) 2>&1 |
58955     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58956     *${as_nl}ac_space=\ *)
58957       # `set' does not quote correctly, so add quotes: double-quote
58958       # substitution turns \\\\ into \\, and sed turns \\ into \.
58959       sed -n \
58960         "s/'/'\\\\''/g;
58961           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58962       ;; #(
58963     *)
58964       # `set' quotes correctly as required by POSIX, so do not add quotes.
58965       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58966       ;;
58967     esac |
58968     sort
58969 ) |
58970   sed '
58971      /^ac_cv_env_/b end
58972      t clear
58973      :clear
58974      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58975      t end
58976      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58977      :end' >>confcache
58978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58979   if test -w "$cache_file"; then
58980     test "x$cache_file" != "x/dev/null" &&
58981       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58982 $as_echo "$as_me: updating cache $cache_file" >&6;}
58983     cat confcache >$cache_file
58984   else
58985     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58986 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58987   fi
58988 fi
58989 rm -f confcache
58990
58991 if test ${multilib} = yes; then
58992   multilib_arg="--enable-multilib"
58993 else
58994   multilib_arg=
58995 fi
58996
58997 # Export all the install information.
58998
58999   glibcxx_toolexecdir=no
59000   glibcxx_toolexeclibdir=no
59001   glibcxx_prefixdir=$prefix
59002
59003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59004 $as_echo_n "checking for gxx-include-dir... " >&6; }
59005
59006 # Check whether --with-gxx-include-dir was given.
59007 if test "${with_gxx_include_dir+set}" = set; then :
59008   withval=$with_gxx_include_dir; case "$withval" in
59009       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59010       no)  gxx_include_dir=no ;;
59011       *)   gxx_include_dir=$withval ;;
59012      esac
59013 else
59014   gxx_include_dir=no
59015 fi
59016
59017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59018 $as_echo "$gxx_include_dir" >&6; }
59019
59020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59021 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59022   # Check whether --enable-version-specific-runtime-libs was given.
59023 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59024   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59025       yes) version_specific_libs=yes ;;
59026       no)  version_specific_libs=no ;;
59027       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59028      esac
59029 else
59030   version_specific_libs=no
59031 fi
59032
59033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59034 $as_echo "$version_specific_libs" >&6; }
59035
59036   # Default case for install directory for include files.
59037   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59038     gxx_include_dir='include/c++/${gcc_version}'
59039     if test -n "$with_cross_host" &&
59040        test x"$with_cross_host" != x"no"; then
59041       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59042     else
59043       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59044     fi
59045   fi
59046
59047   # Version-specific runtime libs processing.
59048   if test $version_specific_libs = yes; then
59049     # Need the gcc compiler version to know where to install libraries
59050     # and header files if --enable-version-specific-runtime-libs option
59051     # is selected.  FIXME: these variables are misnamed, there are
59052     # no executables installed in _toolexecdir or _toolexeclibdir.
59053     if test x"$gxx_include_dir" = x"no"; then
59054       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59055     fi
59056     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59057     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59058   fi
59059
59060   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59061   # Install a library built with a cross compiler in tooldir, not libdir.
59062   if test x"$glibcxx_toolexecdir" = x"no"; then
59063     if test -n "$with_cross_host" &&
59064        test x"$with_cross_host" != x"no"; then
59065       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59066       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59067     else
59068       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59069       glibcxx_toolexeclibdir='${libdir}'
59070     fi
59071     multi_os_directory=`$CXX -print-multi-os-directory`
59072     case $multi_os_directory in
59073       .) ;; # Avoid trailing /.
59074       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59075     esac
59076   fi
59077
59078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59079 $as_echo_n "checking for install location... " >&6; }
59080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59081 $as_echo "$gxx_include_dir" >&6; }
59082
59083
59084
59085
59086
59087
59088
59089 # Export all the include and flag information to Makefiles.
59090
59091   # Used for every C++ compile we perform.
59092   GLIBCXX_INCLUDES="\
59093 -I$glibcxx_builddir/include/$host_alias \
59094 -I$glibcxx_builddir/include \
59095 -I$glibcxx_srcdir/libsupc++"
59096
59097   # For Canadian crosses, pick this up too.
59098   if test $CANADIAN = yes; then
59099     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59100   fi
59101
59102   # Stuff in the actual top level.  Currently only used by libsupc++ to
59103   # get unwind* headers from the gcc dir.
59104   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59105   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59106
59107   # Now, export this to all the little Makefiles....
59108
59109
59110
59111
59112   # Optimization flags that are probably a good idea for thrill-seekers. Just
59113   # uncomment the lines below and make, everything else is ready to go...
59114   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59115   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59116
59117
59118   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59119
59120
59121
59122 if test "$enable_shared" = yes; then
59123   LIBSUPCXX_PICFLAGS="-prefer-pic"
59124 else
59125   LIBSUPCXX_PICFLAGS=
59126 fi
59127
59128
59129 ac_config_files="$ac_config_files Makefile"
59130
59131 ac_config_files="$ac_config_files scripts/testsuite_flags"
59132
59133
59134 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59135 # that multilib installs will end up installed in the correct place.
59136 # The testsuite needs it for multilib-aware ABI baseline files.
59137 # To work around this not being passed down from config-ml.in ->
59138 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59139 # append it here.  Only modify Makefiles that have just been created.
59140 #
59141 # Also, get rid of this simulated-VPATH thing that automake does.
59142 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59143
59144
59145 ac_config_commands="$ac_config_commands generate-headers"
59146
59147
59148 cat >confcache <<\_ACEOF
59149 # This file is a shell script that caches the results of configure
59150 # tests run on this system so they can be shared between configure
59151 # scripts and configure runs, see configure's option --config-cache.
59152 # It is not useful on other systems.  If it contains results you don't
59153 # want to keep, you may remove or edit it.
59154 #
59155 # config.status only pays attention to the cache file if you give it
59156 # the --recheck option to rerun configure.
59157 #
59158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59160 # following values.
59161
59162 _ACEOF
59163
59164 # The following way of writing the cache mishandles newlines in values,
59165 # but we know of no workaround that is simple, portable, and efficient.
59166 # So, we kill variables containing newlines.
59167 # Ultrix sh set writes to stderr and can't be redirected directly,
59168 # and sets the high bit in the cache file unless we assign to the vars.
59169 (
59170   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59171     eval ac_val=\$$ac_var
59172     case $ac_val in #(
59173     *${as_nl}*)
59174       case $ac_var in #(
59175       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59177       esac
59178       case $ac_var in #(
59179       _ | IFS | as_nl) ;; #(
59180       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59181       *) { eval $ac_var=; unset $ac_var;} ;;
59182       esac ;;
59183     esac
59184   done
59185
59186   (set) 2>&1 |
59187     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59188     *${as_nl}ac_space=\ *)
59189       # `set' does not quote correctly, so add quotes: double-quote
59190       # substitution turns \\\\ into \\, and sed turns \\ into \.
59191       sed -n \
59192         "s/'/'\\\\''/g;
59193           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59194       ;; #(
59195     *)
59196       # `set' quotes correctly as required by POSIX, so do not add quotes.
59197       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59198       ;;
59199     esac |
59200     sort
59201 ) |
59202   sed '
59203      /^ac_cv_env_/b end
59204      t clear
59205      :clear
59206      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59207      t end
59208      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59209      :end' >>confcache
59210 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59211   if test -w "$cache_file"; then
59212     test "x$cache_file" != "x/dev/null" &&
59213       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59214 $as_echo "$as_me: updating cache $cache_file" >&6;}
59215     cat confcache >$cache_file
59216   else
59217     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59219   fi
59220 fi
59221 rm -f confcache
59222
59223 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59224 # Let make expand exec_prefix.
59225 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59226
59227 DEFS=-DHAVE_CONFIG_H
59228
59229 ac_libobjs=
59230 ac_ltlibobjs=
59231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59232   # 1. Remove the extension, and $U if already installed.
59233   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59234   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59235   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59236   #    will be set to the directory where LIBOBJS objects are built.
59237   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59238   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59239 done
59240 LIBOBJS=$ac_libobjs
59241
59242 LTLIBOBJS=$ac_ltlibobjs
59243
59244
59245  if test -n "$EXEEXT"; then
59246   am__EXEEXT_TRUE=
59247   am__EXEEXT_FALSE='#'
59248 else
59249   am__EXEEXT_TRUE='#'
59250   am__EXEEXT_FALSE=
59251 fi
59252
59253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59254   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59256 fi
59257 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59258   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59260 fi
59261 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59262   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59264 fi
59265 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59266   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59268 fi
59269 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59270   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59272 fi
59273 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59274   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59276 fi
59277 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59278   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59280 fi
59281 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59282   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59284 fi
59285 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59286   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59288 fi
59289 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59290   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59292 fi
59293 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59294   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59296 fi
59297 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59298   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59300 fi
59301 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59302   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59304 fi
59305 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59306   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59308 fi
59309 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59310   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59312 fi
59313 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59314   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59316 fi
59317
59318 : ${CONFIG_STATUS=./config.status}
59319 ac_write_fail=0
59320 ac_clean_files_save=$ac_clean_files
59321 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59322 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59323 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59324 as_write_fail=0
59325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59326 #! $SHELL
59327 # Generated by $as_me.
59328 # Run this file to recreate the current configuration.
59329 # Compiler output produced by configure, useful for debugging
59330 # configure, is in config.log if it exists.
59331
59332 debug=false
59333 ac_cs_recheck=false
59334 ac_cs_silent=false
59335
59336 SHELL=\${CONFIG_SHELL-$SHELL}
59337 export SHELL
59338 _ASEOF
59339 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59340 ## -------------------- ##
59341 ## M4sh Initialization. ##
59342 ## -------------------- ##
59343
59344 # Be more Bourne compatible
59345 DUALCASE=1; export DUALCASE # for MKS sh
59346 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59347   emulate sh
59348   NULLCMD=:
59349   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59350   # is contrary to our usage.  Disable this feature.
59351   alias -g '${1+"$@"}'='"$@"'
59352   setopt NO_GLOB_SUBST
59353 else
59354   case `(set -o) 2>/dev/null` in #(
59355   *posix*) :
59356     set -o posix ;; #(
59357   *) :
59358      ;;
59359 esac
59360 fi
59361
59362
59363 as_nl='
59364 '
59365 export as_nl
59366 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59367 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59368 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59370 # Prefer a ksh shell builtin over an external printf program on Solaris,
59371 # but without wasting forks for bash or zsh.
59372 if test -z "$BASH_VERSION$ZSH_VERSION" \
59373     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59374   as_echo='print -r --'
59375   as_echo_n='print -rn --'
59376 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59377   as_echo='printf %s\n'
59378   as_echo_n='printf %s'
59379 else
59380   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59381     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59382     as_echo_n='/usr/ucb/echo -n'
59383   else
59384     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59385     as_echo_n_body='eval
59386       arg=$1;
59387       case $arg in #(
59388       *"$as_nl"*)
59389         expr "X$arg" : "X\\(.*\\)$as_nl";
59390         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59391       esac;
59392       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59393     '
59394     export as_echo_n_body
59395     as_echo_n='sh -c $as_echo_n_body as_echo'
59396   fi
59397   export as_echo_body
59398   as_echo='sh -c $as_echo_body as_echo'
59399 fi
59400
59401 # The user is always right.
59402 if test "${PATH_SEPARATOR+set}" != set; then
59403   PATH_SEPARATOR=:
59404   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59405     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59406       PATH_SEPARATOR=';'
59407   }
59408 fi
59409
59410
59411 # IFS
59412 # We need space, tab and new line, in precisely that order.  Quoting is
59413 # there to prevent editors from complaining about space-tab.
59414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59415 # splitting by setting IFS to empty value.)
59416 IFS=" ""        $as_nl"
59417
59418 # Find who we are.  Look in the path if we contain no directory separator.
59419 case $0 in #((
59420   *[\\/]* ) as_myself=$0 ;;
59421   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59422 for as_dir in $PATH
59423 do
59424   IFS=$as_save_IFS
59425   test -z "$as_dir" && as_dir=.
59426     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59427   done
59428 IFS=$as_save_IFS
59429
59430      ;;
59431 esac
59432 # We did not find ourselves, most probably we were run as `sh COMMAND'
59433 # in which case we are not to be found in the path.
59434 if test "x$as_myself" = x; then
59435   as_myself=$0
59436 fi
59437 if test ! -f "$as_myself"; then
59438   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59439   exit 1
59440 fi
59441
59442 # Unset variables that we do not need and which cause bugs (e.g. in
59443 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59444 # suppresses any "Segmentation fault" message there.  '((' could
59445 # trigger a bug in pdksh 5.2.14.
59446 for as_var in BASH_ENV ENV MAIL MAILPATH
59447 do eval test x\${$as_var+set} = xset \
59448   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59449 done
59450 PS1='$ '
59451 PS2='> '
59452 PS4='+ '
59453
59454 # NLS nuisances.
59455 LC_ALL=C
59456 export LC_ALL
59457 LANGUAGE=C
59458 export LANGUAGE
59459
59460 # CDPATH.
59461 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59462
59463
59464 # as_fn_error ERROR [LINENO LOG_FD]
59465 # ---------------------------------
59466 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59467 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59468 # script with status $?, using 1 if that was 0.
59469 as_fn_error ()
59470 {
59471   as_status=$?; test $as_status -eq 0 && as_status=1
59472   if test "$3"; then
59473     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59474     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59475   fi
59476   $as_echo "$as_me: error: $1" >&2
59477   as_fn_exit $as_status
59478 } # as_fn_error
59479
59480
59481 # as_fn_set_status STATUS
59482 # -----------------------
59483 # Set $? to STATUS, without forking.
59484 as_fn_set_status ()
59485 {
59486   return $1
59487 } # as_fn_set_status
59488
59489 # as_fn_exit STATUS
59490 # -----------------
59491 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59492 as_fn_exit ()
59493 {
59494   set +e
59495   as_fn_set_status $1
59496   exit $1
59497 } # as_fn_exit
59498
59499 # as_fn_unset VAR
59500 # ---------------
59501 # Portably unset VAR.
59502 as_fn_unset ()
59503 {
59504   { eval $1=; unset $1;}
59505 }
59506 as_unset=as_fn_unset
59507 # as_fn_append VAR VALUE
59508 # ----------------------
59509 # Append the text in VALUE to the end of the definition contained in VAR. Take
59510 # advantage of any shell optimizations that allow amortized linear growth over
59511 # repeated appends, instead of the typical quadratic growth present in naive
59512 # implementations.
59513 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59514   eval 'as_fn_append ()
59515   {
59516     eval $1+=\$2
59517   }'
59518 else
59519   as_fn_append ()
59520   {
59521     eval $1=\$$1\$2
59522   }
59523 fi # as_fn_append
59524
59525 # as_fn_arith ARG...
59526 # ------------------
59527 # Perform arithmetic evaluation on the ARGs, and store the result in the
59528 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59529 # must be portable across $(()) and expr.
59530 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59531   eval 'as_fn_arith ()
59532   {
59533     as_val=$(( $* ))
59534   }'
59535 else
59536   as_fn_arith ()
59537   {
59538     as_val=`expr "$@" || test $? -eq 1`
59539   }
59540 fi # as_fn_arith
59541
59542
59543 if expr a : '\(a\)' >/dev/null 2>&1 &&
59544    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59545   as_expr=expr
59546 else
59547   as_expr=false
59548 fi
59549
59550 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59551   as_basename=basename
59552 else
59553   as_basename=false
59554 fi
59555
59556 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59557   as_dirname=dirname
59558 else
59559   as_dirname=false
59560 fi
59561
59562 as_me=`$as_basename -- "$0" ||
59563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59564          X"$0" : 'X\(//\)$' \| \
59565          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59566 $as_echo X/"$0" |
59567     sed '/^.*\/\([^/][^/]*\)\/*$/{
59568             s//\1/
59569             q
59570           }
59571           /^X\/\(\/\/\)$/{
59572             s//\1/
59573             q
59574           }
59575           /^X\/\(\/\).*/{
59576             s//\1/
59577             q
59578           }
59579           s/.*/./; q'`
59580
59581 # Avoid depending upon Character Ranges.
59582 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59583 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59584 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59585 as_cr_digits='0123456789'
59586 as_cr_alnum=$as_cr_Letters$as_cr_digits
59587
59588 ECHO_C= ECHO_N= ECHO_T=
59589 case `echo -n x` in #(((((
59590 -n*)
59591   case `echo 'xy\c'` in
59592   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59593   xy)  ECHO_C='\c';;
59594   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59595        ECHO_T=' ';;
59596   esac;;
59597 *)
59598   ECHO_N='-n';;
59599 esac
59600
59601 rm -f conf$$ conf$$.exe conf$$.file
59602 if test -d conf$$.dir; then
59603   rm -f conf$$.dir/conf$$.file
59604 else
59605   rm -f conf$$.dir
59606   mkdir conf$$.dir 2>/dev/null
59607 fi
59608 if (echo >conf$$.file) 2>/dev/null; then
59609   if ln -s conf$$.file conf$$ 2>/dev/null; then
59610     as_ln_s='ln -s'
59611     # ... but there are two gotchas:
59612     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59613     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59614     # In both cases, we have to default to `cp -p'.
59615     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59616       as_ln_s='cp -p'
59617   elif ln conf$$.file conf$$ 2>/dev/null; then
59618     as_ln_s=ln
59619   else
59620     as_ln_s='cp -p'
59621   fi
59622 else
59623   as_ln_s='cp -p'
59624 fi
59625 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59626 rmdir conf$$.dir 2>/dev/null
59627
59628
59629 # as_fn_mkdir_p
59630 # -------------
59631 # Create "$as_dir" as a directory, including parents if necessary.
59632 as_fn_mkdir_p ()
59633 {
59634
59635   case $as_dir in #(
59636   -*) as_dir=./$as_dir;;
59637   esac
59638   test -d "$as_dir" || eval $as_mkdir_p || {
59639     as_dirs=
59640     while :; do
59641       case $as_dir in #(
59642       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59643       *) as_qdir=$as_dir;;
59644       esac
59645       as_dirs="'$as_qdir' $as_dirs"
59646       as_dir=`$as_dirname -- "$as_dir" ||
59647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59648          X"$as_dir" : 'X\(//\)[^/]' \| \
59649          X"$as_dir" : 'X\(//\)$' \| \
59650          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59651 $as_echo X"$as_dir" |
59652     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59653             s//\1/
59654             q
59655           }
59656           /^X\(\/\/\)[^/].*/{
59657             s//\1/
59658             q
59659           }
59660           /^X\(\/\/\)$/{
59661             s//\1/
59662             q
59663           }
59664           /^X\(\/\).*/{
59665             s//\1/
59666             q
59667           }
59668           s/.*/./; q'`
59669       test -d "$as_dir" && break
59670     done
59671     test -z "$as_dirs" || eval "mkdir $as_dirs"
59672   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59673
59674
59675 } # as_fn_mkdir_p
59676 if mkdir -p . 2>/dev/null; then
59677   as_mkdir_p='mkdir -p "$as_dir"'
59678 else
59679   test -d ./-p && rmdir ./-p
59680   as_mkdir_p=false
59681 fi
59682
59683 if test -x / >/dev/null 2>&1; then
59684   as_test_x='test -x'
59685 else
59686   if ls -dL / >/dev/null 2>&1; then
59687     as_ls_L_option=L
59688   else
59689     as_ls_L_option=
59690   fi
59691   as_test_x='
59692     eval sh -c '\''
59693       if test -d "$1"; then
59694         test -d "$1/.";
59695       else
59696         case $1 in #(
59697         -*)set "./$1";;
59698         esac;
59699         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59700         ???[sx]*):;;*)false;;esac;fi
59701     '\'' sh
59702   '
59703 fi
59704 as_executable_p=$as_test_x
59705
59706 # Sed expression to map a string onto a valid CPP name.
59707 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59708
59709 # Sed expression to map a string onto a valid variable name.
59710 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59711
59712
59713 exec 6>&1
59714 ## ----------------------------------- ##
59715 ## Main body of $CONFIG_STATUS script. ##
59716 ## ----------------------------------- ##
59717 _ASEOF
59718 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59719
59720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59721 # Save the log message, to keep $0 and so on meaningful, and to
59722 # report actual input values of CONFIG_FILES etc. instead of their
59723 # values after options handling.
59724 ac_log="
59725 This file was extended by package-unused $as_me version-unused, which was
59726 generated by GNU Autoconf 2.64.  Invocation command line was
59727
59728   CONFIG_FILES    = $CONFIG_FILES
59729   CONFIG_HEADERS  = $CONFIG_HEADERS
59730   CONFIG_LINKS    = $CONFIG_LINKS
59731   CONFIG_COMMANDS = $CONFIG_COMMANDS
59732   $ $0 $@
59733
59734 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59735 "
59736
59737 _ACEOF
59738
59739 case $ac_config_files in *"
59740 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59741 esac
59742
59743 case $ac_config_headers in *"
59744 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59745 esac
59746
59747
59748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59749 # Files that config.status was made for.
59750 config_files="$ac_config_files"
59751 config_headers="$ac_config_headers"
59752 config_commands="$ac_config_commands"
59753
59754 _ACEOF
59755
59756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59757 ac_cs_usage="\
59758 \`$as_me' instantiates files and other configuration actions
59759 from templates according to the current configuration.  Unless the files
59760 and actions are specified as TAGs, all are instantiated by default.
59761
59762 Usage: $0 [OPTION]... [TAG]...
59763
59764   -h, --help       print this help, then exit
59765   -V, --version    print version number and configuration settings, then exit
59766   -q, --quiet, --silent
59767                    do not print progress messages
59768   -d, --debug      don't remove temporary files
59769       --recheck    update $as_me by reconfiguring in the same conditions
59770       --file=FILE[:TEMPLATE]
59771                    instantiate the configuration file FILE
59772       --header=FILE[:TEMPLATE]
59773                    instantiate the configuration header FILE
59774
59775 Configuration files:
59776 $config_files
59777
59778 Configuration headers:
59779 $config_headers
59780
59781 Configuration commands:
59782 $config_commands
59783
59784 Report bugs to the package provider."
59785
59786 _ACEOF
59787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59788 ac_cs_version="\\
59789 package-unused config.status version-unused
59790 configured by $0, generated by GNU Autoconf 2.64,
59791   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59792
59793 Copyright (C) 2009 Free Software Foundation, Inc.
59794 This config.status script is free software; the Free Software Foundation
59795 gives unlimited permission to copy, distribute and modify it."
59796
59797 ac_pwd='$ac_pwd'
59798 srcdir='$srcdir'
59799 INSTALL='$INSTALL'
59800 MKDIR_P='$MKDIR_P'
59801 AWK='$AWK'
59802 test -n "\$AWK" || AWK=awk
59803 _ACEOF
59804
59805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59806 # The default lists apply if the user does not specify any file.
59807 ac_need_defaults=:
59808 while test $# != 0
59809 do
59810   case $1 in
59811   --*=*)
59812     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59813     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59814     ac_shift=:
59815     ;;
59816   *)
59817     ac_option=$1
59818     ac_optarg=$2
59819     ac_shift=shift
59820     ;;
59821   esac
59822
59823   case $ac_option in
59824   # Handling of the options.
59825   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59826     ac_cs_recheck=: ;;
59827   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59828     $as_echo "$ac_cs_version"; exit ;;
59829   --debug | --debu | --deb | --de | --d | -d )
59830     debug=: ;;
59831   --file | --fil | --fi | --f )
59832     $ac_shift
59833     case $ac_optarg in
59834     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59835     esac
59836     as_fn_append CONFIG_FILES " '$ac_optarg'"
59837     ac_need_defaults=false;;
59838   --header | --heade | --head | --hea )
59839     $ac_shift
59840     case $ac_optarg in
59841     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59842     esac
59843     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59844     ac_need_defaults=false;;
59845   --he | --h)
59846     # Conflict between --help and --header
59847     as_fn_error "ambiguous option: \`$1'
59848 Try \`$0 --help' for more information.";;
59849   --help | --hel | -h )
59850     $as_echo "$ac_cs_usage"; exit ;;
59851   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59852   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59853     ac_cs_silent=: ;;
59854
59855   # This is an error.
59856   -*) as_fn_error "unrecognized option: \`$1'
59857 Try \`$0 --help' for more information." ;;
59858
59859   *) as_fn_append ac_config_targets " $1"
59860      ac_need_defaults=false ;;
59861
59862   esac
59863   shift
59864 done
59865
59866 ac_configure_extra_args=
59867
59868 if $ac_cs_silent; then
59869   exec 6>/dev/null
59870   ac_configure_extra_args="$ac_configure_extra_args --silent"
59871 fi
59872
59873 _ACEOF
59874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59875 if \$ac_cs_recheck; then
59876   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59877   shift
59878   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59879   CONFIG_SHELL='$SHELL'
59880   export CONFIG_SHELL
59881   exec "\$@"
59882 fi
59883
59884 _ACEOF
59885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59886 exec 5>>config.log
59887 {
59888   echo
59889   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59890 ## Running $as_me. ##
59891 _ASBOX
59892   $as_echo "$ac_log"
59893 } >&5
59894
59895 _ACEOF
59896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59897 #
59898 # INIT-COMMANDS
59899 #
59900
59901 srcdir="$srcdir"
59902 host="$host"
59903 target="$target"
59904 with_multisubdir="$with_multisubdir"
59905 with_multisrctop="$with_multisrctop"
59906 with_target_subdir="$with_target_subdir"
59907 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59908 multi_basedir="$multi_basedir"
59909 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59910 CC="$CC"
59911 CXX="$CXX"
59912 GFORTRAN="$GFORTRAN"
59913 GCJ="$GCJ"
59914
59915
59916 # The HP-UX ksh and POSIX shell print the target directory to stdout
59917 # if CDPATH is set.
59918 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59919
59920 sed_quote_subst='$sed_quote_subst'
59921 double_quote_subst='$double_quote_subst'
59922 delay_variable_subst='$delay_variable_subst'
59923 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59924 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59925 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59926 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59927 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59928 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59929 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59930 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59931 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59932 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59933 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59934 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59935 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59936 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59937 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59938 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59939 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59940 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59941 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59942 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59943 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59944 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59945 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59946 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59947 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59948 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59949 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59950 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59951 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59952 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59953 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59954 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59955 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59956 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59957 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59958 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59959 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59960 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59961 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59962 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59963 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59964 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59965 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59966 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59967 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59968 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59969 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59970 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59971 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"`'
59972 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59973 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59974 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59975 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59976 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59977 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59978 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59979 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59980 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59981 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
59982 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
59983 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
59984 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
59985 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
59986 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
59987 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59988 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
59989 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
59990 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
59991 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
59992 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
59993 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
59994 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59995 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
59996 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59997 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
59998 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59999 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60000 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60001 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60002 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60003 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60004 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60005 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60006 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60007 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60008 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60009 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60010 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60011 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60012 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60013 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60014 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60015 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60016 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60017 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60018 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60019 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60020 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60021 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60022 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60023 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60024 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60025 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60026 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60027 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60028 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60029 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60030 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60031 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60032 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60033 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60034 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60035 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60036 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60037 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60038 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60039 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60040 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60041 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60042 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60043 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60044 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60045 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60046 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60047 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60048 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60049 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60050 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60051 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60052 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60053 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60054 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60055 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60056 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60057 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60058 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60059 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60060 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60061 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60062 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60063 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60064 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60065 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60066 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60067 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60068 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60069 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60070 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60071 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60072 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60073 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60074 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60075 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60076 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60077 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60078 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60079 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60080 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60081 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60082 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60083 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60084 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60085 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60086 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60087 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60088 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60089 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60090 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60091 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60092 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60093 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60094 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60095 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60096 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60097 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60098
60099 LTCC='$LTCC'
60100 LTCFLAGS='$LTCFLAGS'
60101 compiler='$compiler_DEFAULT'
60102
60103 # A function that is used when there is no print builtin or printf.
60104 func_fallback_echo ()
60105 {
60106   eval 'cat <<_LTECHO_EOF
60107 \$1
60108 _LTECHO_EOF'
60109 }
60110
60111 # Quote evaled strings.
60112 for var in SHELL \
60113 ECHO \
60114 SED \
60115 GREP \
60116 EGREP \
60117 FGREP \
60118 LD \
60119 NM \
60120 LN_S \
60121 lt_SP2NL \
60122 lt_NL2SP \
60123 reload_flag \
60124 OBJDUMP \
60125 deplibs_check_method \
60126 file_magic_cmd \
60127 AR \
60128 AR_FLAGS \
60129 STRIP \
60130 RANLIB \
60131 CC \
60132 CFLAGS \
60133 compiler \
60134 lt_cv_sys_global_symbol_pipe \
60135 lt_cv_sys_global_symbol_to_cdecl \
60136 lt_cv_sys_global_symbol_to_c_name_address \
60137 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60138 lt_prog_compiler_no_builtin_flag \
60139 lt_prog_compiler_wl \
60140 lt_prog_compiler_pic \
60141 lt_prog_compiler_static \
60142 lt_cv_prog_compiler_c_o \
60143 need_locks \
60144 DSYMUTIL \
60145 NMEDIT \
60146 LIPO \
60147 OTOOL \
60148 OTOOL64 \
60149 shrext_cmds \
60150 export_dynamic_flag_spec \
60151 whole_archive_flag_spec \
60152 compiler_needs_object \
60153 with_gnu_ld \
60154 allow_undefined_flag \
60155 no_undefined_flag \
60156 hardcode_libdir_flag_spec \
60157 hardcode_libdir_flag_spec_ld \
60158 hardcode_libdir_separator \
60159 fix_srcfile_path \
60160 exclude_expsyms \
60161 include_expsyms \
60162 file_list_spec \
60163 variables_saved_for_relink \
60164 libname_spec \
60165 library_names_spec \
60166 soname_spec \
60167 install_override_mode \
60168 finish_eval \
60169 old_striplib \
60170 striplib \
60171 compiler_lib_search_dirs \
60172 predep_objects \
60173 postdep_objects \
60174 predeps \
60175 postdeps \
60176 compiler_lib_search_path \
60177 LD_CXX \
60178 reload_flag_CXX \
60179 compiler_CXX \
60180 lt_prog_compiler_no_builtin_flag_CXX \
60181 lt_prog_compiler_wl_CXX \
60182 lt_prog_compiler_pic_CXX \
60183 lt_prog_compiler_static_CXX \
60184 lt_cv_prog_compiler_c_o_CXX \
60185 export_dynamic_flag_spec_CXX \
60186 whole_archive_flag_spec_CXX \
60187 compiler_needs_object_CXX \
60188 with_gnu_ld_CXX \
60189 allow_undefined_flag_CXX \
60190 no_undefined_flag_CXX \
60191 hardcode_libdir_flag_spec_CXX \
60192 hardcode_libdir_flag_spec_ld_CXX \
60193 hardcode_libdir_separator_CXX \
60194 fix_srcfile_path_CXX \
60195 exclude_expsyms_CXX \
60196 include_expsyms_CXX \
60197 file_list_spec_CXX \
60198 compiler_lib_search_dirs_CXX \
60199 predep_objects_CXX \
60200 postdep_objects_CXX \
60201 predeps_CXX \
60202 postdeps_CXX \
60203 compiler_lib_search_path_CXX; do
60204     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60205     *[\\\\\\\`\\"\\\$]*)
60206       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60207       ;;
60208     *)
60209       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60210       ;;
60211     esac
60212 done
60213
60214 # Double-quote double-evaled strings.
60215 for var in reload_cmds \
60216 old_postinstall_cmds \
60217 old_postuninstall_cmds \
60218 old_archive_cmds \
60219 extract_expsyms_cmds \
60220 old_archive_from_new_cmds \
60221 old_archive_from_expsyms_cmds \
60222 archive_cmds \
60223 archive_expsym_cmds \
60224 module_cmds \
60225 module_expsym_cmds \
60226 export_symbols_cmds \
60227 prelink_cmds \
60228 postinstall_cmds \
60229 postuninstall_cmds \
60230 finish_cmds \
60231 sys_lib_search_path_spec \
60232 sys_lib_dlsearch_path_spec \
60233 reload_cmds_CXX \
60234 old_archive_cmds_CXX \
60235 old_archive_from_new_cmds_CXX \
60236 old_archive_from_expsyms_cmds_CXX \
60237 archive_cmds_CXX \
60238 archive_expsym_cmds_CXX \
60239 module_cmds_CXX \
60240 module_expsym_cmds_CXX \
60241 export_symbols_cmds_CXX \
60242 prelink_cmds_CXX; do
60243     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60244     *[\\\\\\\`\\"\\\$]*)
60245       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60246       ;;
60247     *)
60248       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60249       ;;
60250     esac
60251 done
60252
60253 ac_aux_dir='$ac_aux_dir'
60254 xsi_shell='$xsi_shell'
60255 lt_shell_append='$lt_shell_append'
60256
60257 # See if we are running on zsh, and set the options which allow our
60258 # commands through without removal of \ escapes INIT.
60259 if test -n "\${ZSH_VERSION+set}" ; then
60260    setopt NO_GLOB_SUBST
60261 fi
60262
60263
60264     PACKAGE='$PACKAGE'
60265     VERSION='$VERSION'
60266     TIMESTAMP='$TIMESTAMP'
60267     RM='$RM'
60268     ofile='$ofile'
60269
60270
60271
60272
60273
60274
60275 GCC="$GCC"
60276 CC="$CC"
60277 acx_cv_header_stdint="$acx_cv_header_stdint"
60278 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60279 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60280 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60281 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60282 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60283 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60284 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60285 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60286 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60287 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60288 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60289 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60290 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60291
60292
60293 _ACEOF
60294
60295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60296
60297 # Handling of arguments.
60298 for ac_config_target in $ac_config_targets
60299 do
60300   case $ac_config_target in
60301     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60302     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60303     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60304     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60305     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60306     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60307     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60308     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60309     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60310     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60311     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60312     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60313     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60314     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60315
60316   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60317   esac
60318 done
60319
60320
60321 # If the user did not use the arguments to specify the items to instantiate,
60322 # then the envvar interface is used.  Set only those that are not.
60323 # We use the long form for the default assignment because of an extremely
60324 # bizarre bug on SunOS 4.1.3.
60325 if $ac_need_defaults; then
60326   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60327   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60328   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60329 fi
60330
60331 # Have a temporary directory for convenience.  Make it in the build tree
60332 # simply because there is no reason against having it here, and in addition,
60333 # creating and moving files from /tmp can sometimes cause problems.
60334 # Hook for its removal unless debugging.
60335 # Note that there is a small window in which the directory will not be cleaned:
60336 # after its creation but before its name has been assigned to `$tmp'.
60337 $debug ||
60338 {
60339   tmp=
60340   trap 'exit_status=$?
60341   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60342 ' 0
60343   trap 'as_fn_exit 1' 1 2 13 15
60344 }
60345 # Create a (secure) tmp directory for tmp files.
60346
60347 {
60348   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60349   test -n "$tmp" && test -d "$tmp"
60350 }  ||
60351 {
60352   tmp=./conf$$-$RANDOM
60353   (umask 077 && mkdir "$tmp")
60354 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60355
60356 # Set up the scripts for CONFIG_FILES section.
60357 # No need to generate them if there are no CONFIG_FILES.
60358 # This happens for instance with `./config.status config.h'.
60359 if test -n "$CONFIG_FILES"; then
60360
60361
60362 ac_cr=`echo X | tr X '\015'`
60363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60364 # But we know of no other shell where ac_cr would be empty at this
60365 # point, so we can use a bashism as a fallback.
60366 if test "x$ac_cr" = x; then
60367   eval ac_cr=\$\'\\r\'
60368 fi
60369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60371   ac_cs_awk_cr='\r'
60372 else
60373   ac_cs_awk_cr=$ac_cr
60374 fi
60375
60376 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60377 _ACEOF
60378
60379
60380 {
60381   echo "cat >conf$$subs.awk <<_ACEOF" &&
60382   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60383   echo "_ACEOF"
60384 } >conf$$subs.sh ||
60385   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60387 ac_delim='%!_!# '
60388 for ac_last_try in false false false false false :; do
60389   . ./conf$$subs.sh ||
60390     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60391
60392   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60393   if test $ac_delim_n = $ac_delim_num; then
60394     break
60395   elif $ac_last_try; then
60396     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60397   else
60398     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60399   fi
60400 done
60401 rm -f conf$$subs.sh
60402
60403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60404 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60405 _ACEOF
60406 sed -n '
60407 h
60408 s/^/S["/; s/!.*/"]=/
60409 p
60410 g
60411 s/^[^!]*!//
60412 :repl
60413 t repl
60414 s/'"$ac_delim"'$//
60415 t delim
60416 :nl
60417 h
60418 s/\(.\{148\}\).*/\1/
60419 t more1
60420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60421 p
60422 n
60423 b repl
60424 :more1
60425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60426 p
60427 g
60428 s/.\{148\}//
60429 t nl
60430 :delim
60431 h
60432 s/\(.\{148\}\).*/\1/
60433 t more2
60434 s/["\\]/\\&/g; s/^/"/; s/$/"/
60435 p
60436 b
60437 :more2
60438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60439 p
60440 g
60441 s/.\{148\}//
60442 t delim
60443 ' <conf$$subs.awk | sed '
60444 /^[^""]/{
60445   N
60446   s/\n//
60447 }
60448 ' >>$CONFIG_STATUS || ac_write_fail=1
60449 rm -f conf$$subs.awk
60450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60451 _ACAWK
60452 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60453   for (key in S) S_is_set[key] = 1
60454   FS = "\a"
60455
60456 }
60457 {
60458   line = $ 0
60459   nfields = split(line, field, "@")
60460   substed = 0
60461   len = length(field[1])
60462   for (i = 2; i < nfields; i++) {
60463     key = field[i]
60464     keylen = length(key)
60465     if (S_is_set[key]) {
60466       value = S[key]
60467       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60468       len += length(value) + length(field[++i])
60469       substed = 1
60470     } else
60471       len += 1 + keylen
60472   }
60473
60474   print line
60475 }
60476
60477 _ACAWK
60478 _ACEOF
60479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60481   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60482 else
60483   cat
60484 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60485   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60486 _ACEOF
60487
60488 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60489 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60490 # trailing colons and then remove the whole line if VPATH becomes empty
60491 # (actually we leave an empty line to preserve line numbers).
60492 if test "x$srcdir" = x.; then
60493   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60494 s/:*\$(srcdir):*/:/
60495 s/:*\${srcdir}:*/:/
60496 s/:*@srcdir@:*/:/
60497 s/^\([^=]*=[     ]*\):*/\1/
60498 s/:*$//
60499 s/^[^=]*=[       ]*$//
60500 }'
60501 fi
60502
60503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60504 fi # test -n "$CONFIG_FILES"
60505
60506 # Set up the scripts for CONFIG_HEADERS section.
60507 # No need to generate them if there are no CONFIG_HEADERS.
60508 # This happens for instance with `./config.status Makefile'.
60509 if test -n "$CONFIG_HEADERS"; then
60510 cat >"$tmp/defines.awk" <<\_ACAWK ||
60511 BEGIN {
60512 _ACEOF
60513
60514 # Transform confdefs.h into an awk script `defines.awk', embedded as
60515 # here-document in config.status, that substitutes the proper values into
60516 # config.h.in to produce config.h.
60517
60518 # Create a delimiter string that does not exist in confdefs.h, to ease
60519 # handling of long lines.
60520 ac_delim='%!_!# '
60521 for ac_last_try in false false :; do
60522   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60523   if test -z "$ac_t"; then
60524     break
60525   elif $ac_last_try; then
60526     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60527   else
60528     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60529   fi
60530 done
60531
60532 # For the awk script, D is an array of macro values keyed by name,
60533 # likewise P contains macro parameters if any.  Preserve backslash
60534 # newline sequences.
60535
60536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60537 sed -n '
60538 s/.\{148\}/&'"$ac_delim"'/g
60539 t rset
60540 :rset
60541 s/^[     ]*#[    ]*define[       ][      ]*/ /
60542 t def
60543 d
60544 :def
60545 s/\\$//
60546 t bsnl
60547 s/["\\]/\\&/g
60548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60549 D["\1"]=" \3"/p
60550 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60551 d
60552 :bsnl
60553 s/["\\]/\\&/g
60554 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60555 D["\1"]=" \3\\\\\\n"\\/p
60556 t cont
60557 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60558 t cont
60559 d
60560 :cont
60561 n
60562 s/.\{148\}/&'"$ac_delim"'/g
60563 t clear
60564 :clear
60565 s/\\$//
60566 t bsnlc
60567 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60568 d
60569 :bsnlc
60570 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60571 b cont
60572 ' <confdefs.h | sed '
60573 s/'"$ac_delim"'/"\\\
60574 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60575
60576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60577   for (key in D) D_is_set[key] = 1
60578   FS = "\a"
60579 }
60580 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60581   line = \$ 0
60582   split(line, arg, " ")
60583   if (arg[1] == "#") {
60584     defundef = arg[2]
60585     mac1 = arg[3]
60586   } else {
60587     defundef = substr(arg[1], 2)
60588     mac1 = arg[2]
60589   }
60590   split(mac1, mac2, "(") #)
60591   macro = mac2[1]
60592   prefix = substr(line, 1, index(line, defundef) - 1)
60593   if (D_is_set[macro]) {
60594     # Preserve the white space surrounding the "#".
60595     print prefix "define", macro P[macro] D[macro]
60596     next
60597   } else {
60598     # Replace #undef with comments.  This is necessary, for example,
60599     # in the case of _POSIX_SOURCE, which is predefined and required
60600     # on some systems where configure will not decide to define it.
60601     if (defundef == "undef") {
60602       print "/*", prefix defundef, macro, "*/"
60603       next
60604     }
60605   }
60606 }
60607 { print }
60608 _ACAWK
60609 _ACEOF
60610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60611   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60612 fi # test -n "$CONFIG_HEADERS"
60613
60614
60615 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60616 shift
60617 for ac_tag
60618 do
60619   case $ac_tag in
60620   :[FHLC]) ac_mode=$ac_tag; continue;;
60621   esac
60622   case $ac_mode$ac_tag in
60623   :[FHL]*:*);;
60624   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60625   :[FH]-) ac_tag=-:-;;
60626   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60627   esac
60628   ac_save_IFS=$IFS
60629   IFS=:
60630   set x $ac_tag
60631   IFS=$ac_save_IFS
60632   shift
60633   ac_file=$1
60634   shift
60635
60636   case $ac_mode in
60637   :L) ac_source=$1;;
60638   :[FH])
60639     ac_file_inputs=
60640     for ac_f
60641     do
60642       case $ac_f in
60643       -) ac_f="$tmp/stdin";;
60644       *) # Look for the file first in the build tree, then in the source tree
60645          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60646          # because $ac_f cannot contain `:'.
60647          test -f "$ac_f" ||
60648            case $ac_f in
60649            [\\/$]*) false;;
60650            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60651            esac ||
60652            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60653       esac
60654       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60655       as_fn_append ac_file_inputs " '$ac_f'"
60656     done
60657
60658     # Let's still pretend it is `configure' which instantiates (i.e., don't
60659     # use $as_me), people would be surprised to read:
60660     #    /* config.h.  Generated by config.status.  */
60661     configure_input='Generated from '`
60662           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60663         `' by configure.'
60664     if test x"$ac_file" != x-; then
60665       configure_input="$ac_file.  $configure_input"
60666       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60667 $as_echo "$as_me: creating $ac_file" >&6;}
60668     fi
60669     # Neutralize special characters interpreted by sed in replacement strings.
60670     case $configure_input in #(
60671     *\&* | *\|* | *\\* )
60672        ac_sed_conf_input=`$as_echo "$configure_input" |
60673        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60674     *) ac_sed_conf_input=$configure_input;;
60675     esac
60676
60677     case $ac_tag in
60678     *:-:* | *:-) cat >"$tmp/stdin" \
60679       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60680     esac
60681     ;;
60682   esac
60683
60684   ac_dir=`$as_dirname -- "$ac_file" ||
60685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60686          X"$ac_file" : 'X\(//\)[^/]' \| \
60687          X"$ac_file" : 'X\(//\)$' \| \
60688          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60689 $as_echo X"$ac_file" |
60690     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60691             s//\1/
60692             q
60693           }
60694           /^X\(\/\/\)[^/].*/{
60695             s//\1/
60696             q
60697           }
60698           /^X\(\/\/\)$/{
60699             s//\1/
60700             q
60701           }
60702           /^X\(\/\).*/{
60703             s//\1/
60704             q
60705           }
60706           s/.*/./; q'`
60707   as_dir="$ac_dir"; as_fn_mkdir_p
60708   ac_builddir=.
60709
60710 case "$ac_dir" in
60711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60712 *)
60713   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60714   # A ".." for each directory in $ac_dir_suffix.
60715   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60716   case $ac_top_builddir_sub in
60717   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60718   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60719   esac ;;
60720 esac
60721 ac_abs_top_builddir=$ac_pwd
60722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60723 # for backward compatibility:
60724 ac_top_builddir=$ac_top_build_prefix
60725
60726 case $srcdir in
60727   .)  # We are building in place.
60728     ac_srcdir=.
60729     ac_top_srcdir=$ac_top_builddir_sub
60730     ac_abs_top_srcdir=$ac_pwd ;;
60731   [\\/]* | ?:[\\/]* )  # Absolute name.
60732     ac_srcdir=$srcdir$ac_dir_suffix;
60733     ac_top_srcdir=$srcdir
60734     ac_abs_top_srcdir=$srcdir ;;
60735   *) # Relative name.
60736     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60737     ac_top_srcdir=$ac_top_build_prefix$srcdir
60738     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60739 esac
60740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60741
60742
60743   case $ac_mode in
60744   :F)
60745   #
60746   # CONFIG_FILE
60747   #
60748
60749   case $INSTALL in
60750   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60751   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60752   esac
60753   ac_MKDIR_P=$MKDIR_P
60754   case $MKDIR_P in
60755   [\\/$]* | ?:[\\/]* ) ;;
60756   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60757   esac
60758 _ACEOF
60759
60760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60761 # If the template does not know about datarootdir, expand it.
60762 # FIXME: This hack should be removed a few years after 2.60.
60763 ac_datarootdir_hack=; ac_datarootdir_seen=
60764 ac_sed_dataroot='
60765 /datarootdir/ {
60766   p
60767   q
60768 }
60769 /@datadir@/p
60770 /@docdir@/p
60771 /@infodir@/p
60772 /@localedir@/p
60773 /@mandir@/p'
60774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60775 *datarootdir*) ac_datarootdir_seen=yes;;
60776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60777   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60779 _ACEOF
60780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60781   ac_datarootdir_hack='
60782   s&@datadir@&$datadir&g
60783   s&@docdir@&$docdir&g
60784   s&@infodir@&$infodir&g
60785   s&@localedir@&$localedir&g
60786   s&@mandir@&$mandir&g
60787   s&\\\${datarootdir}&$datarootdir&g' ;;
60788 esac
60789 _ACEOF
60790
60791 # Neutralize VPATH when `$srcdir' = `.'.
60792 # Shell code in configure.ac might set extrasub.
60793 # FIXME: do we really want to maintain this feature?
60794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60795 ac_sed_extra="$ac_vpsub
60796 $extrasub
60797 _ACEOF
60798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60799 :t
60800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60801 s|@configure_input@|$ac_sed_conf_input|;t t
60802 s&@top_builddir@&$ac_top_builddir_sub&;t t
60803 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60804 s&@srcdir@&$ac_srcdir&;t t
60805 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60806 s&@top_srcdir@&$ac_top_srcdir&;t t
60807 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60808 s&@builddir@&$ac_builddir&;t t
60809 s&@abs_builddir@&$ac_abs_builddir&;t t
60810 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60811 s&@INSTALL@&$ac_INSTALL&;t t
60812 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60813 $ac_datarootdir_hack
60814 "
60815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60816   || as_fn_error "could not create $ac_file" "$LINENO" 5
60817
60818 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60819   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60820   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60821   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60822 which seems to be undefined.  Please make sure it is defined." >&5
60823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60824 which seems to be undefined.  Please make sure it is defined." >&2;}
60825
60826   rm -f "$tmp/stdin"
60827   case $ac_file in
60828   -) cat "$tmp/out" && rm -f "$tmp/out";;
60829   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60830   esac \
60831   || as_fn_error "could not create $ac_file" "$LINENO" 5
60832  ;;
60833   :H)
60834   #
60835   # CONFIG_HEADER
60836   #
60837   if test x"$ac_file" != x-; then
60838     {
60839       $as_echo "/* $configure_input  */" \
60840       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60841     } >"$tmp/config.h" \
60842       || as_fn_error "could not create $ac_file" "$LINENO" 5
60843     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60844       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60845 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60846     else
60847       rm -f "$ac_file"
60848       mv "$tmp/config.h" "$ac_file" \
60849         || as_fn_error "could not create $ac_file" "$LINENO" 5
60850     fi
60851   else
60852     $as_echo "/* $configure_input  */" \
60853       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60854       || as_fn_error "could not create -" "$LINENO" 5
60855   fi
60856 # Compute "$ac_file"'s index in $config_headers.
60857 _am_arg="$ac_file"
60858 _am_stamp_count=1
60859 for _am_header in $config_headers :; do
60860   case $_am_header in
60861     $_am_arg | $_am_arg:* )
60862       break ;;
60863     * )
60864       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60865   esac
60866 done
60867 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60868 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60869          X"$_am_arg" : 'X\(//\)[^/]' \| \
60870          X"$_am_arg" : 'X\(//\)$' \| \
60871          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60872 $as_echo X"$_am_arg" |
60873     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60874             s//\1/
60875             q
60876           }
60877           /^X\(\/\/\)[^/].*/{
60878             s//\1/
60879             q
60880           }
60881           /^X\(\/\/\)$/{
60882             s//\1/
60883             q
60884           }
60885           /^X\(\/\).*/{
60886             s//\1/
60887             q
60888           }
60889           s/.*/./; q'`/stamp-h$_am_stamp_count
60890  ;;
60891
60892   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60893 $as_echo "$as_me: executing $ac_file commands" >&6;}
60894  ;;
60895   esac
60896
60897
60898   case $ac_file$ac_mode in
60899     "default-1":C)
60900 # Only add multilib support code if we just rebuilt the top-level
60901 # Makefile.
60902 case " $CONFIG_FILES " in
60903  *" Makefile "*)
60904    ac_file=Makefile . ${multi_basedir}/config-ml.in
60905    ;;
60906 esac ;;
60907     "libtool":C)
60908
60909     # See if we are running on zsh, and set the options which allow our
60910     # commands through without removal of \ escapes.
60911     if test -n "${ZSH_VERSION+set}" ; then
60912       setopt NO_GLOB_SUBST
60913     fi
60914
60915     cfgfile="${ofile}T"
60916     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60917     $RM "$cfgfile"
60918
60919     cat <<_LT_EOF >> "$cfgfile"
60920 #! $SHELL
60921
60922 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60923 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60924 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60925 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60926 #
60927 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60928 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60929 #   Written by Gordon Matzigkeit, 1996
60930 #
60931 #   This file is part of GNU Libtool.
60932 #
60933 # GNU Libtool is free software; you can redistribute it and/or
60934 # modify it under the terms of the GNU General Public License as
60935 # published by the Free Software Foundation; either version 2 of
60936 # the License, or (at your option) any later version.
60937 #
60938 # As a special exception to the GNU General Public License,
60939 # if you distribute this file as part of a program or library that
60940 # is built using GNU Libtool, you may include this file under the
60941 # same distribution terms that you use for the rest of that program.
60942 #
60943 # GNU Libtool is distributed in the hope that it will be useful,
60944 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60945 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60946 # GNU General Public License for more details.
60947 #
60948 # You should have received a copy of the GNU General Public License
60949 # along with GNU Libtool; see the file COPYING.  If not, a copy
60950 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60951 # obtained by writing to the Free Software Foundation, Inc.,
60952 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60953
60954
60955 # The names of the tagged configurations supported by this script.
60956 available_tags="CXX "
60957
60958 # ### BEGIN LIBTOOL CONFIG
60959
60960 # Which release of libtool.m4 was used?
60961 macro_version=$macro_version
60962 macro_revision=$macro_revision
60963
60964 # Whether or not to build shared libraries.
60965 build_libtool_libs=$enable_shared
60966
60967 # Whether or not to build static libraries.
60968 build_old_libs=$enable_static
60969
60970 # What type of objects to build.
60971 pic_mode=$pic_mode
60972
60973 # Whether or not to optimize for fast installation.
60974 fast_install=$enable_fast_install
60975
60976 # Shell to use when invoking shell scripts.
60977 SHELL=$lt_SHELL
60978
60979 # An echo program that protects backslashes.
60980 ECHO=$lt_ECHO
60981
60982 # The host system.
60983 host_alias=$host_alias
60984 host=$host
60985 host_os=$host_os
60986
60987 # The build system.
60988 build_alias=$build_alias
60989 build=$build
60990 build_os=$build_os
60991
60992 # A sed program that does not truncate output.
60993 SED=$lt_SED
60994
60995 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60996 Xsed="\$SED -e 1s/^X//"
60997
60998 # A grep program that handles long lines.
60999 GREP=$lt_GREP
61000
61001 # An ERE matcher.
61002 EGREP=$lt_EGREP
61003
61004 # A literal string matcher.
61005 FGREP=$lt_FGREP
61006
61007 # A BSD- or MS-compatible name lister.
61008 NM=$lt_NM
61009
61010 # Whether we need soft or hard links.
61011 LN_S=$lt_LN_S
61012
61013 # What is the maximum length of a command?
61014 max_cmd_len=$max_cmd_len
61015
61016 # Object file suffix (normally "o").
61017 objext=$ac_objext
61018
61019 # Executable file suffix (normally "").
61020 exeext=$exeext
61021
61022 # whether the shell understands "unset".
61023 lt_unset=$lt_unset
61024
61025 # turn spaces into newlines.
61026 SP2NL=$lt_lt_SP2NL
61027
61028 # turn newlines into spaces.
61029 NL2SP=$lt_lt_NL2SP
61030
61031 # An object symbol dumper.
61032 OBJDUMP=$lt_OBJDUMP
61033
61034 # Method to check whether dependent libraries are shared objects.
61035 deplibs_check_method=$lt_deplibs_check_method
61036
61037 # Command to use when deplibs_check_method == "file_magic".
61038 file_magic_cmd=$lt_file_magic_cmd
61039
61040 # The archiver.
61041 AR=$lt_AR
61042 AR_FLAGS=$lt_AR_FLAGS
61043
61044 # A symbol stripping program.
61045 STRIP=$lt_STRIP
61046
61047 # Commands used to install an old-style archive.
61048 RANLIB=$lt_RANLIB
61049 old_postinstall_cmds=$lt_old_postinstall_cmds
61050 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61051
61052 # Whether to use a lock for old archive extraction.
61053 lock_old_archive_extraction=$lock_old_archive_extraction
61054
61055 # A C compiler.
61056 LTCC=$lt_CC
61057
61058 # LTCC compiler flags.
61059 LTCFLAGS=$lt_CFLAGS
61060
61061 # Take the output of nm and produce a listing of raw symbols and C names.
61062 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61063
61064 # Transform the output of nm in a proper C declaration.
61065 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61066
61067 # Transform the output of nm in a C name address pair.
61068 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61069
61070 # Transform the output of nm in a C name address pair when lib prefix is needed.
61071 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61072
61073 # The name of the directory that contains temporary libtool files.
61074 objdir=$objdir
61075
61076 # Used to examine libraries when file_magic_cmd begins with "file".
61077 MAGIC_CMD=$MAGIC_CMD
61078
61079 # Must we lock files when doing compilation?
61080 need_locks=$lt_need_locks
61081
61082 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61083 DSYMUTIL=$lt_DSYMUTIL
61084
61085 # Tool to change global to local symbols on Mac OS X.
61086 NMEDIT=$lt_NMEDIT
61087
61088 # Tool to manipulate fat objects and archives on Mac OS X.
61089 LIPO=$lt_LIPO
61090
61091 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61092 OTOOL=$lt_OTOOL
61093
61094 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61095 OTOOL64=$lt_OTOOL64
61096
61097 # Old archive suffix (normally "a").
61098 libext=$libext
61099
61100 # Shared library suffix (normally ".so").
61101 shrext_cmds=$lt_shrext_cmds
61102
61103 # The commands to extract the exported symbol list from a shared archive.
61104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61105
61106 # Variables whose values should be saved in libtool wrapper scripts and
61107 # restored at link time.
61108 variables_saved_for_relink=$lt_variables_saved_for_relink
61109
61110 # Do we need the "lib" prefix for modules?
61111 need_lib_prefix=$need_lib_prefix
61112
61113 # Do we need a version for libraries?
61114 need_version=$need_version
61115
61116 # Library versioning type.
61117 version_type=$version_type
61118
61119 # Shared library runtime path variable.
61120 runpath_var=$runpath_var
61121
61122 # Shared library path variable.
61123 shlibpath_var=$shlibpath_var
61124
61125 # Is shlibpath searched before the hard-coded library search path?
61126 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61127
61128 # Format of library name prefix.
61129 libname_spec=$lt_libname_spec
61130
61131 # List of archive names.  First name is the real one, the rest are links.
61132 # The last name is the one that the linker finds with -lNAME
61133 library_names_spec=$lt_library_names_spec
61134
61135 # The coded name of the library, if different from the real name.
61136 soname_spec=$lt_soname_spec
61137
61138 # Permission mode override for installation of shared libraries.
61139 install_override_mode=$lt_install_override_mode
61140
61141 # Command to use after installation of a shared archive.
61142 postinstall_cmds=$lt_postinstall_cmds
61143
61144 # Command to use after uninstallation of a shared archive.
61145 postuninstall_cmds=$lt_postuninstall_cmds
61146
61147 # Commands used to finish a libtool library installation in a directory.
61148 finish_cmds=$lt_finish_cmds
61149
61150 # As "finish_cmds", except a single script fragment to be evaled but
61151 # not shown.
61152 finish_eval=$lt_finish_eval
61153
61154 # Whether we should hardcode library paths into libraries.
61155 hardcode_into_libs=$hardcode_into_libs
61156
61157 # Compile-time system search path for libraries.
61158 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61159
61160 # Run-time system search path for libraries.
61161 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61162
61163 # Whether dlopen is supported.
61164 dlopen_support=$enable_dlopen
61165
61166 # Whether dlopen of programs is supported.
61167 dlopen_self=$enable_dlopen_self
61168
61169 # Whether dlopen of statically linked programs is supported.
61170 dlopen_self_static=$enable_dlopen_self_static
61171
61172 # Commands to strip libraries.
61173 old_striplib=$lt_old_striplib
61174 striplib=$lt_striplib
61175
61176
61177 # The linker used to build libraries.
61178 LD=$lt_LD
61179
61180 # How to create reloadable object files.
61181 reload_flag=$lt_reload_flag
61182 reload_cmds=$lt_reload_cmds
61183
61184 # Commands used to build an old-style archive.
61185 old_archive_cmds=$lt_old_archive_cmds
61186
61187 # A language specific compiler.
61188 CC=$lt_compiler
61189
61190 # Is the compiler the GNU compiler?
61191 with_gcc=$GCC
61192
61193 # Compiler flag to turn off builtin functions.
61194 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61195
61196 # How to pass a linker flag through the compiler.
61197 wl=$lt_lt_prog_compiler_wl
61198
61199 # Additional compiler flags for building library objects.
61200 pic_flag=$lt_lt_prog_compiler_pic
61201
61202 # Compiler flag to prevent dynamic linking.
61203 link_static_flag=$lt_lt_prog_compiler_static
61204
61205 # Does compiler simultaneously support -c and -o options?
61206 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61207
61208 # Whether or not to add -lc for building shared libraries.
61209 build_libtool_need_lc=$archive_cmds_need_lc
61210
61211 # Whether or not to disallow shared libs when runtime libs are static.
61212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61213
61214 # Compiler flag to allow reflexive dlopens.
61215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61216
61217 # Compiler flag to generate shared objects directly from archives.
61218 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61219
61220 # Whether the compiler copes with passing no objects directly.
61221 compiler_needs_object=$lt_compiler_needs_object
61222
61223 # Create an old-style archive from a shared archive.
61224 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61225
61226 # Create a temporary old-style archive to link instead of a shared archive.
61227 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61228
61229 # Commands used to build a shared archive.
61230 archive_cmds=$lt_archive_cmds
61231 archive_expsym_cmds=$lt_archive_expsym_cmds
61232
61233 # Commands used to build a loadable module if different from building
61234 # a shared archive.
61235 module_cmds=$lt_module_cmds
61236 module_expsym_cmds=$lt_module_expsym_cmds
61237
61238 # Whether we are building with GNU ld or not.
61239 with_gnu_ld=$lt_with_gnu_ld
61240
61241 # Flag that allows shared libraries with undefined symbols to be built.
61242 allow_undefined_flag=$lt_allow_undefined_flag
61243
61244 # Flag that enforces no undefined symbols.
61245 no_undefined_flag=$lt_no_undefined_flag
61246
61247 # Flag to hardcode \$libdir into a binary during linking.
61248 # This must work even if \$libdir does not exist
61249 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61250
61251 # If ld is used when linking, flag to hardcode \$libdir into a binary
61252 # during linking.  This must work even if \$libdir does not exist.
61253 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61254
61255 # Whether we need a single "-rpath" flag with a separated argument.
61256 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61257
61258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61259 # DIR into the resulting binary.
61260 hardcode_direct=$hardcode_direct
61261
61262 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61263 # DIR into the resulting binary and the resulting library dependency is
61264 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61265 # library is relocated.
61266 hardcode_direct_absolute=$hardcode_direct_absolute
61267
61268 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61269 # into the resulting binary.
61270 hardcode_minus_L=$hardcode_minus_L
61271
61272 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61273 # into the resulting binary.
61274 hardcode_shlibpath_var=$hardcode_shlibpath_var
61275
61276 # Set to "yes" if building a shared library automatically hardcodes DIR
61277 # into the library and all subsequent libraries and executables linked
61278 # against it.
61279 hardcode_automatic=$hardcode_automatic
61280
61281 # Set to yes if linker adds runtime paths of dependent libraries
61282 # to runtime path list.
61283 inherit_rpath=$inherit_rpath
61284
61285 # Whether libtool must link a program against all its dependency libraries.
61286 link_all_deplibs=$link_all_deplibs
61287
61288 # Fix the shell variable \$srcfile for the compiler.
61289 fix_srcfile_path=$lt_fix_srcfile_path
61290
61291 # Set to "yes" if exported symbols are required.
61292 always_export_symbols=$always_export_symbols
61293
61294 # The commands to list exported symbols.
61295 export_symbols_cmds=$lt_export_symbols_cmds
61296
61297 # Symbols that should not be listed in the preloaded symbols.
61298 exclude_expsyms=$lt_exclude_expsyms
61299
61300 # Symbols that must always be exported.
61301 include_expsyms=$lt_include_expsyms
61302
61303 # Commands necessary for linking programs (against libraries) with templates.
61304 prelink_cmds=$lt_prelink_cmds
61305
61306 # Specify filename containing input files.
61307 file_list_spec=$lt_file_list_spec
61308
61309 # How to hardcode a shared library path into an executable.
61310 hardcode_action=$hardcode_action
61311
61312 # The directories searched by this compiler when creating a shared library.
61313 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61314
61315 # Dependencies to place before and after the objects being linked to
61316 # create a shared library.
61317 predep_objects=$lt_predep_objects
61318 postdep_objects=$lt_postdep_objects
61319 predeps=$lt_predeps
61320 postdeps=$lt_postdeps
61321
61322 # The library search path used internally by the compiler when linking
61323 # a shared library.
61324 compiler_lib_search_path=$lt_compiler_lib_search_path
61325
61326 # ### END LIBTOOL CONFIG
61327
61328 _LT_EOF
61329
61330   case $host_os in
61331   aix3*)
61332     cat <<\_LT_EOF >> "$cfgfile"
61333 # AIX sometimes has problems with the GCC collect2 program.  For some
61334 # reason, if we set the COLLECT_NAMES environment variable, the problems
61335 # vanish in a puff of smoke.
61336 if test "X${COLLECT_NAMES+set}" != Xset; then
61337   COLLECT_NAMES=
61338   export COLLECT_NAMES
61339 fi
61340 _LT_EOF
61341     ;;
61342   esac
61343
61344
61345 ltmain="$ac_aux_dir/ltmain.sh"
61346
61347
61348   # We use sed instead of cat because bash on DJGPP gets confused if
61349   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61350   # text mode, it properly converts lines to CR/LF.  This bash problem
61351   # is reportedly fixed, but why not run on old versions too?
61352   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61353     || (rm -f "$cfgfile"; exit 1)
61354
61355   case $xsi_shell in
61356   yes)
61357     cat << \_LT_EOF >> "$cfgfile"
61358
61359 # func_dirname file append nondir_replacement
61360 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61361 # otherwise set result to NONDIR_REPLACEMENT.
61362 func_dirname ()
61363 {
61364   case ${1} in
61365     */*) func_dirname_result="${1%/*}${2}" ;;
61366     *  ) func_dirname_result="${3}" ;;
61367   esac
61368 }
61369
61370 # func_basename file
61371 func_basename ()
61372 {
61373   func_basename_result="${1##*/}"
61374 }
61375
61376 # func_dirname_and_basename file append nondir_replacement
61377 # perform func_basename and func_dirname in a single function
61378 # call:
61379 #   dirname:  Compute the dirname of FILE.  If nonempty,
61380 #             add APPEND to the result, otherwise set result
61381 #             to NONDIR_REPLACEMENT.
61382 #             value returned in "$func_dirname_result"
61383 #   basename: Compute filename of FILE.
61384 #             value retuned in "$func_basename_result"
61385 # Implementation must be kept synchronized with func_dirname
61386 # and func_basename. For efficiency, we do not delegate to
61387 # those functions but instead duplicate the functionality here.
61388 func_dirname_and_basename ()
61389 {
61390   case ${1} in
61391     */*) func_dirname_result="${1%/*}${2}" ;;
61392     *  ) func_dirname_result="${3}" ;;
61393   esac
61394   func_basename_result="${1##*/}"
61395 }
61396
61397 # func_stripname prefix suffix name
61398 # strip PREFIX and SUFFIX off of NAME.
61399 # PREFIX and SUFFIX must not contain globbing or regex special
61400 # characters, hashes, percent signs, but SUFFIX may contain a leading
61401 # dot (in which case that matches only a dot).
61402 func_stripname ()
61403 {
61404   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61405   # positional parameters, so assign one to ordinary parameter first.
61406   func_stripname_result=${3}
61407   func_stripname_result=${func_stripname_result#"${1}"}
61408   func_stripname_result=${func_stripname_result%"${2}"}
61409 }
61410
61411 # func_opt_split
61412 func_opt_split ()
61413 {
61414   func_opt_split_opt=${1%%=*}
61415   func_opt_split_arg=${1#*=}
61416 }
61417
61418 # func_lo2o object
61419 func_lo2o ()
61420 {
61421   case ${1} in
61422     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61423     *)    func_lo2o_result=${1} ;;
61424   esac
61425 }
61426
61427 # func_xform libobj-or-source
61428 func_xform ()
61429 {
61430   func_xform_result=${1%.*}.lo
61431 }
61432
61433 # func_arith arithmetic-term...
61434 func_arith ()
61435 {
61436   func_arith_result=$(( $* ))
61437 }
61438
61439 # func_len string
61440 # STRING may not start with a hyphen.
61441 func_len ()
61442 {
61443   func_len_result=${#1}
61444 }
61445
61446 _LT_EOF
61447     ;;
61448   *) # Bourne compatible functions.
61449     cat << \_LT_EOF >> "$cfgfile"
61450
61451 # func_dirname file append nondir_replacement
61452 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61453 # otherwise set result to NONDIR_REPLACEMENT.
61454 func_dirname ()
61455 {
61456   # Extract subdirectory from the argument.
61457   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61458   if test "X$func_dirname_result" = "X${1}"; then
61459     func_dirname_result="${3}"
61460   else
61461     func_dirname_result="$func_dirname_result${2}"
61462   fi
61463 }
61464
61465 # func_basename file
61466 func_basename ()
61467 {
61468   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61469 }
61470
61471
61472 # func_stripname prefix suffix name
61473 # strip PREFIX and SUFFIX off of NAME.
61474 # PREFIX and SUFFIX must not contain globbing or regex special
61475 # characters, hashes, percent signs, but SUFFIX may contain a leading
61476 # dot (in which case that matches only a dot).
61477 # func_strip_suffix prefix name
61478 func_stripname ()
61479 {
61480   case ${2} in
61481     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61482     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61483   esac
61484 }
61485
61486 # sed scripts:
61487 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61488 my_sed_long_arg='1s/^-[^=]*=//'
61489
61490 # func_opt_split
61491 func_opt_split ()
61492 {
61493   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61494   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61495 }
61496
61497 # func_lo2o object
61498 func_lo2o ()
61499 {
61500   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61501 }
61502
61503 # func_xform libobj-or-source
61504 func_xform ()
61505 {
61506   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61507 }
61508
61509 # func_arith arithmetic-term...
61510 func_arith ()
61511 {
61512   func_arith_result=`expr "$@"`
61513 }
61514
61515 # func_len string
61516 # STRING may not start with a hyphen.
61517 func_len ()
61518 {
61519   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61520 }
61521
61522 _LT_EOF
61523 esac
61524
61525 case $lt_shell_append in
61526   yes)
61527     cat << \_LT_EOF >> "$cfgfile"
61528
61529 # func_append var value
61530 # Append VALUE to the end of shell variable VAR.
61531 func_append ()
61532 {
61533   eval "$1+=\$2"
61534 }
61535 _LT_EOF
61536     ;;
61537   *)
61538     cat << \_LT_EOF >> "$cfgfile"
61539
61540 # func_append var value
61541 # Append VALUE to the end of shell variable VAR.
61542 func_append ()
61543 {
61544   eval "$1=\$$1\$2"
61545 }
61546
61547 _LT_EOF
61548     ;;
61549   esac
61550
61551
61552   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61553     || (rm -f "$cfgfile"; exit 1)
61554
61555   mv -f "$cfgfile" "$ofile" ||
61556     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61557   chmod +x "$ofile"
61558
61559
61560     cat <<_LT_EOF >> "$ofile"
61561
61562 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61563
61564 # The linker used to build libraries.
61565 LD=$lt_LD_CXX
61566
61567 # How to create reloadable object files.
61568 reload_flag=$lt_reload_flag_CXX
61569 reload_cmds=$lt_reload_cmds_CXX
61570
61571 # Commands used to build an old-style archive.
61572 old_archive_cmds=$lt_old_archive_cmds_CXX
61573
61574 # A language specific compiler.
61575 CC=$lt_compiler_CXX
61576
61577 # Is the compiler the GNU compiler?
61578 with_gcc=$GCC_CXX
61579
61580 # Compiler flag to turn off builtin functions.
61581 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61582
61583 # How to pass a linker flag through the compiler.
61584 wl=$lt_lt_prog_compiler_wl_CXX
61585
61586 # Additional compiler flags for building library objects.
61587 pic_flag=$lt_lt_prog_compiler_pic_CXX
61588
61589 # Compiler flag to prevent dynamic linking.
61590 link_static_flag=$lt_lt_prog_compiler_static_CXX
61591
61592 # Does compiler simultaneously support -c and -o options?
61593 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61594
61595 # Whether or not to add -lc for building shared libraries.
61596 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61597
61598 # Whether or not to disallow shared libs when runtime libs are static.
61599 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61600
61601 # Compiler flag to allow reflexive dlopens.
61602 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61603
61604 # Compiler flag to generate shared objects directly from archives.
61605 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61606
61607 # Whether the compiler copes with passing no objects directly.
61608 compiler_needs_object=$lt_compiler_needs_object_CXX
61609
61610 # Create an old-style archive from a shared archive.
61611 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61612
61613 # Create a temporary old-style archive to link instead of a shared archive.
61614 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61615
61616 # Commands used to build a shared archive.
61617 archive_cmds=$lt_archive_cmds_CXX
61618 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61619
61620 # Commands used to build a loadable module if different from building
61621 # a shared archive.
61622 module_cmds=$lt_module_cmds_CXX
61623 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61624
61625 # Whether we are building with GNU ld or not.
61626 with_gnu_ld=$lt_with_gnu_ld_CXX
61627
61628 # Flag that allows shared libraries with undefined symbols to be built.
61629 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61630
61631 # Flag that enforces no undefined symbols.
61632 no_undefined_flag=$lt_no_undefined_flag_CXX
61633
61634 # Flag to hardcode \$libdir into a binary during linking.
61635 # This must work even if \$libdir does not exist
61636 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61637
61638 # If ld is used when linking, flag to hardcode \$libdir into a binary
61639 # during linking.  This must work even if \$libdir does not exist.
61640 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61641
61642 # Whether we need a single "-rpath" flag with a separated argument.
61643 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61644
61645 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61646 # DIR into the resulting binary.
61647 hardcode_direct=$hardcode_direct_CXX
61648
61649 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61650 # DIR into the resulting binary and the resulting library dependency is
61651 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61652 # library is relocated.
61653 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61654
61655 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61656 # into the resulting binary.
61657 hardcode_minus_L=$hardcode_minus_L_CXX
61658
61659 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61660 # into the resulting binary.
61661 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61662
61663 # Set to "yes" if building a shared library automatically hardcodes DIR
61664 # into the library and all subsequent libraries and executables linked
61665 # against it.
61666 hardcode_automatic=$hardcode_automatic_CXX
61667
61668 # Set to yes if linker adds runtime paths of dependent libraries
61669 # to runtime path list.
61670 inherit_rpath=$inherit_rpath_CXX
61671
61672 # Whether libtool must link a program against all its dependency libraries.
61673 link_all_deplibs=$link_all_deplibs_CXX
61674
61675 # Fix the shell variable \$srcfile for the compiler.
61676 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61677
61678 # Set to "yes" if exported symbols are required.
61679 always_export_symbols=$always_export_symbols_CXX
61680
61681 # The commands to list exported symbols.
61682 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61683
61684 # Symbols that should not be listed in the preloaded symbols.
61685 exclude_expsyms=$lt_exclude_expsyms_CXX
61686
61687 # Symbols that must always be exported.
61688 include_expsyms=$lt_include_expsyms_CXX
61689
61690 # Commands necessary for linking programs (against libraries) with templates.
61691 prelink_cmds=$lt_prelink_cmds_CXX
61692
61693 # Specify filename containing input files.
61694 file_list_spec=$lt_file_list_spec_CXX
61695
61696 # How to hardcode a shared library path into an executable.
61697 hardcode_action=$hardcode_action_CXX
61698
61699 # The directories searched by this compiler when creating a shared library.
61700 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61701
61702 # Dependencies to place before and after the objects being linked to
61703 # create a shared library.
61704 predep_objects=$lt_predep_objects_CXX
61705 postdep_objects=$lt_postdep_objects_CXX
61706 predeps=$lt_predeps_CXX
61707 postdeps=$lt_postdeps_CXX
61708
61709 # The library search path used internally by the compiler when linking
61710 # a shared library.
61711 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61712
61713 # ### END LIBTOOL TAG CONFIG: CXX
61714 _LT_EOF
61715
61716  ;;
61717     "include/gstdint.h":C)
61718 if test "$GCC" = yes; then
61719   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61720 else
61721   echo "/* generated for $CC */" > tmp-stdint.h
61722 fi
61723
61724 sed 's/^ *//' >> tmp-stdint.h <<EOF
61725
61726   #ifndef GCC_GENERATED_STDINT_H
61727   #define GCC_GENERATED_STDINT_H 1
61728
61729   #include <sys/types.h>
61730 EOF
61731
61732 if test "$acx_cv_header_stdint" != stdint.h; then
61733   echo "#include <stddef.h>" >> tmp-stdint.h
61734 fi
61735 if test "$acx_cv_header_stdint" != stddef.h; then
61736   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61737 fi
61738
61739 sed 's/^ *//' >> tmp-stdint.h <<EOF
61740   /* glibc uses these symbols as guards to prevent redefinitions.  */
61741   #ifdef __int8_t_defined
61742   #define _INT8_T
61743   #define _INT16_T
61744   #define _INT32_T
61745   #endif
61746   #ifdef __uint32_t_defined
61747   #define _UINT32_T
61748   #endif
61749
61750 EOF
61751
61752 # ----------------- done header, emit basic int types -------------
61753 if test "$acx_cv_header_stdint" = stddef.h; then
61754   sed 's/^ *//' >> tmp-stdint.h <<EOF
61755
61756     #ifndef _UINT8_T
61757     #define _UINT8_T
61758     #ifndef __uint8_t_defined
61759     #define __uint8_t_defined
61760     #ifndef uint8_t
61761     typedef unsigned $acx_cv_type_int8_t uint8_t;
61762     #endif
61763     #endif
61764     #endif
61765
61766     #ifndef _UINT16_T
61767     #define _UINT16_T
61768     #ifndef __uint16_t_defined
61769     #define __uint16_t_defined
61770     #ifndef uint16_t
61771     typedef unsigned $acx_cv_type_int16_t uint16_t;
61772     #endif
61773     #endif
61774     #endif
61775
61776     #ifndef _UINT32_T
61777     #define _UINT32_T
61778     #ifndef __uint32_t_defined
61779     #define __uint32_t_defined
61780     #ifndef uint32_t
61781     typedef unsigned $acx_cv_type_int32_t uint32_t;
61782     #endif
61783     #endif
61784     #endif
61785
61786     #ifndef _INT8_T
61787     #define _INT8_T
61788     #ifndef __int8_t_defined
61789     #define __int8_t_defined
61790     #ifndef int8_t
61791     typedef $acx_cv_type_int8_t int8_t;
61792     #endif
61793     #endif
61794     #endif
61795
61796     #ifndef _INT16_T
61797     #define _INT16_T
61798     #ifndef __int16_t_defined
61799     #define __int16_t_defined
61800     #ifndef int16_t
61801     typedef $acx_cv_type_int16_t int16_t;
61802     #endif
61803     #endif
61804     #endif
61805
61806     #ifndef _INT32_T
61807     #define _INT32_T
61808     #ifndef __int32_t_defined
61809     #define __int32_t_defined
61810     #ifndef int32_t
61811     typedef $acx_cv_type_int32_t int32_t;
61812     #endif
61813     #endif
61814     #endif
61815 EOF
61816 elif test "$ac_cv_type_u_int32_t" = yes; then
61817   sed 's/^ *//' >> tmp-stdint.h <<EOF
61818
61819     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61820     #ifndef _INT8_T
61821     #define _INT8_T
61822     #endif
61823     #ifndef _INT16_T
61824     #define _INT16_T
61825     #endif
61826     #ifndef _INT32_T
61827     #define _INT32_T
61828     #endif
61829
61830     #ifndef _UINT8_T
61831     #define _UINT8_T
61832     #ifndef __uint8_t_defined
61833     #define __uint8_t_defined
61834     #ifndef uint8_t
61835     typedef u_int8_t uint8_t;
61836     #endif
61837     #endif
61838     #endif
61839
61840     #ifndef _UINT16_T
61841     #define _UINT16_T
61842     #ifndef __uint16_t_defined
61843     #define __uint16_t_defined
61844     #ifndef uint16_t
61845     typedef u_int16_t uint16_t;
61846     #endif
61847     #endif
61848     #endif
61849
61850     #ifndef _UINT32_T
61851     #define _UINT32_T
61852     #ifndef __uint32_t_defined
61853     #define __uint32_t_defined
61854     #ifndef uint32_t
61855     typedef u_int32_t uint32_t;
61856     #endif
61857     #endif
61858     #endif
61859 EOF
61860 else
61861   sed 's/^ *//' >> tmp-stdint.h <<EOF
61862
61863     /* Some systems have guard macros to prevent redefinitions, define them.  */
61864     #ifndef _INT8_T
61865     #define _INT8_T
61866     #endif
61867     #ifndef _INT16_T
61868     #define _INT16_T
61869     #endif
61870     #ifndef _INT32_T
61871     #define _INT32_T
61872     #endif
61873     #ifndef _UINT8_T
61874     #define _UINT8_T
61875     #endif
61876     #ifndef _UINT16_T
61877     #define _UINT16_T
61878     #endif
61879     #ifndef _UINT32_T
61880     #define _UINT32_T
61881     #endif
61882 EOF
61883 fi
61884
61885 # ------------- done basic int types, emit int64_t types ------------
61886 if test "$ac_cv_type_uint64_t" = yes; then
61887   sed 's/^ *//' >> tmp-stdint.h <<EOF
61888
61889     /* system headers have good uint64_t and int64_t */
61890     #ifndef _INT64_T
61891     #define _INT64_T
61892     #endif
61893     #ifndef _UINT64_T
61894     #define _UINT64_T
61895     #endif
61896 EOF
61897 elif test "$ac_cv_type_u_int64_t" = yes; then
61898   sed 's/^ *//' >> tmp-stdint.h <<EOF
61899
61900     /* system headers have an u_int64_t (and int64_t) */
61901     #ifndef _INT64_T
61902     #define _INT64_T
61903     #endif
61904     #ifndef _UINT64_T
61905     #define _UINT64_T
61906     #ifndef __uint64_t_defined
61907     #define __uint64_t_defined
61908     #ifndef uint64_t
61909     typedef u_int64_t uint64_t;
61910     #endif
61911     #endif
61912     #endif
61913 EOF
61914 elif test -n "$acx_cv_type_int64_t"; then
61915   sed 's/^ *//' >> tmp-stdint.h <<EOF
61916
61917     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61918     #ifndef _INT64_T
61919     #define _INT64_T
61920     #ifndef int64_t
61921     typedef $acx_cv_type_int64_t int64_t;
61922     #endif
61923     #endif
61924     #ifndef _UINT64_T
61925     #define _UINT64_T
61926     #ifndef __uint64_t_defined
61927     #define __uint64_t_defined
61928     #ifndef uint64_t
61929     typedef unsigned $acx_cv_type_int64_t uint64_t;
61930     #endif
61931     #endif
61932     #endif
61933 EOF
61934 else
61935   sed 's/^ *//' >> tmp-stdint.h <<EOF
61936
61937     /* some common heuristics for int64_t, using compiler-specific tests */
61938     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61939     #ifndef _INT64_T
61940     #define _INT64_T
61941     #ifndef __int64_t_defined
61942     #ifndef int64_t
61943     typedef long long int64_t;
61944     #endif
61945     #endif
61946     #endif
61947     #ifndef _UINT64_T
61948     #define _UINT64_T
61949     #ifndef uint64_t
61950     typedef unsigned long long uint64_t;
61951     #endif
61952     #endif
61953
61954     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61955     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61956        does not implement __extension__.  But that compiler doesn't define
61957        __GNUC_MINOR__.  */
61958     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61959     # define __extension__
61960     # endif
61961
61962     # ifndef _INT64_T
61963     # define _INT64_T
61964     # ifndef int64_t
61965     __extension__ typedef long long int64_t;
61966     # endif
61967     # endif
61968     # ifndef _UINT64_T
61969     # define _UINT64_T
61970     # ifndef uint64_t
61971     __extension__ typedef unsigned long long uint64_t;
61972     # endif
61973     # endif
61974
61975     #elif !defined __STRICT_ANSI__
61976     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61977
61978     #  ifndef _INT64_T
61979     #  define _INT64_T
61980     #  ifndef int64_t
61981     typedef __int64 int64_t;
61982     #  endif
61983     #  endif
61984     #  ifndef _UINT64_T
61985     #  define _UINT64_T
61986     #  ifndef uint64_t
61987     typedef unsigned __int64 uint64_t;
61988     #  endif
61989     #  endif
61990     # endif /* compiler */
61991
61992     #endif /* ANSI version */
61993 EOF
61994 fi
61995
61996 # ------------- done int64_t types, emit intptr types ------------
61997 if test "$ac_cv_type_uintptr_t" != yes; then
61998   sed 's/^ *//' >> tmp-stdint.h <<EOF
61999
62000     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62001     #ifndef __uintptr_t_defined
62002     #ifndef uintptr_t
62003     typedef u$acx_cv_type_intptr_t uintptr_t;
62004     #endif
62005     #endif
62006     #ifndef __intptr_t_defined
62007     #ifndef intptr_t
62008     typedef $acx_cv_type_intptr_t  intptr_t;
62009     #endif
62010     #endif
62011 EOF
62012 fi
62013
62014 # ------------- done intptr types, emit int_least types ------------
62015 if test "$ac_cv_type_int_least32_t" != yes; then
62016   sed 's/^ *//' >> tmp-stdint.h <<EOF
62017
62018     /* Define int_least types */
62019     typedef int8_t     int_least8_t;
62020     typedef int16_t    int_least16_t;
62021     typedef int32_t    int_least32_t;
62022     #ifdef _INT64_T
62023     typedef int64_t    int_least64_t;
62024     #endif
62025
62026     typedef uint8_t    uint_least8_t;
62027     typedef uint16_t   uint_least16_t;
62028     typedef uint32_t   uint_least32_t;
62029     #ifdef _UINT64_T
62030     typedef uint64_t   uint_least64_t;
62031     #endif
62032 EOF
62033 fi
62034
62035 # ------------- done intptr types, emit int_fast types ------------
62036 if test "$ac_cv_type_int_fast32_t" != yes; then
62037       sed 's/^ *//' >> tmp-stdint.h <<EOF
62038
62039     /* Define int_fast types.  short is often slow */
62040     typedef int8_t       int_fast8_t;
62041     typedef int          int_fast16_t;
62042     typedef int32_t      int_fast32_t;
62043     #ifdef _INT64_T
62044     typedef int64_t      int_fast64_t;
62045     #endif
62046
62047     typedef uint8_t      uint_fast8_t;
62048     typedef unsigned int uint_fast16_t;
62049     typedef uint32_t     uint_fast32_t;
62050     #ifdef _UINT64_T
62051     typedef uint64_t     uint_fast64_t;
62052     #endif
62053 EOF
62054 fi
62055
62056 if test "$ac_cv_type_uintmax_t" != yes; then
62057   sed 's/^ *//' >> tmp-stdint.h <<EOF
62058
62059     /* Define intmax based on what we found */
62060     #ifndef intmax_t
62061     #ifdef _INT64_T
62062     typedef int64_t       intmax_t;
62063     #else
62064     typedef long          intmax_t;
62065     #endif
62066     #endif
62067     #ifndef uintmax_t
62068     #ifdef _UINT64_T
62069     typedef uint64_t      uintmax_t;
62070     #else
62071     typedef unsigned long uintmax_t;
62072     #endif
62073     #endif
62074 EOF
62075 fi
62076
62077 sed 's/^ *//' >> tmp-stdint.h <<EOF
62078
62079   #endif /* GCC_GENERATED_STDINT_H */
62080 EOF
62081
62082 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62083   rm -f tmp-stdint.h
62084 else
62085   mv -f tmp-stdint.h include/gstdint.h
62086 fi
62087
62088  ;;
62089     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62090     "include/Makefile":F) cat > vpsed$$ << \_EOF
62091 s!`test -f '$<' || echo '$(srcdir)/'`!!
62092 _EOF
62093    sed -f vpsed$$ $ac_file > tmp$$
62094    mv tmp$$ $ac_file
62095    rm vpsed$$
62096    echo 'MULTISUBDIR =' >> $ac_file
62097    ml_norecursion=yes
62098    . ${multi_basedir}/config-ml.in
62099    { ml_norecursion=; unset ml_norecursion;}
62100  ;;
62101     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62102 s!`test -f '$<' || echo '$(srcdir)/'`!!
62103 _EOF
62104    sed -f vpsed$$ $ac_file > tmp$$
62105    mv tmp$$ $ac_file
62106    rm vpsed$$
62107    echo 'MULTISUBDIR =' >> $ac_file
62108    ml_norecursion=yes
62109    . ${multi_basedir}/config-ml.in
62110    { ml_norecursion=; unset ml_norecursion;}
62111  ;;
62112     "python/Makefile":F) cat > vpsed$$ << \_EOF
62113 s!`test -f '$<' || echo '$(srcdir)/'`!!
62114 _EOF
62115    sed -f vpsed$$ $ac_file > tmp$$
62116    mv tmp$$ $ac_file
62117    rm vpsed$$
62118    echo 'MULTISUBDIR =' >> $ac_file
62119    ml_norecursion=yes
62120    . ${multi_basedir}/config-ml.in
62121    { ml_norecursion=; unset ml_norecursion;}
62122  ;;
62123     "src/Makefile":F) cat > vpsed$$ << \_EOF
62124 s!`test -f '$<' || echo '$(srcdir)/'`!!
62125 _EOF
62126    sed -f vpsed$$ $ac_file > tmp$$
62127    mv tmp$$ $ac_file
62128    rm vpsed$$
62129    echo 'MULTISUBDIR =' >> $ac_file
62130    ml_norecursion=yes
62131    . ${multi_basedir}/config-ml.in
62132    { ml_norecursion=; unset ml_norecursion;}
62133  ;;
62134     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62135 s!`test -f '$<' || echo '$(srcdir)/'`!!
62136 _EOF
62137    sed -f vpsed$$ $ac_file > tmp$$
62138    mv tmp$$ $ac_file
62139    rm vpsed$$
62140    echo 'MULTISUBDIR =' >> $ac_file
62141    ml_norecursion=yes
62142    . ${multi_basedir}/config-ml.in
62143    { ml_norecursion=; unset ml_norecursion;}
62144  ;;
62145     "po/Makefile":F) cat > vpsed$$ << \_EOF
62146 s!`test -f '$<' || echo '$(srcdir)/'`!!
62147 _EOF
62148    sed -f vpsed$$ $ac_file > tmp$$
62149    mv tmp$$ $ac_file
62150    rm vpsed$$
62151    echo 'MULTISUBDIR =' >> $ac_file
62152    ml_norecursion=yes
62153    . ${multi_basedir}/config-ml.in
62154    { ml_norecursion=; unset ml_norecursion;}
62155  ;;
62156     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62157 s!`test -f '$<' || echo '$(srcdir)/'`!!
62158 _EOF
62159    sed -f vpsed$$ $ac_file > tmp$$
62160    mv tmp$$ $ac_file
62161    rm vpsed$$
62162    echo 'MULTISUBDIR =' >> $ac_file
62163    ml_norecursion=yes
62164    . ${multi_basedir}/config-ml.in
62165    { ml_norecursion=; unset ml_norecursion;}
62166  ;;
62167     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62168
62169   esac
62170 done # for ac_tag
62171
62172
62173 as_fn_exit 0
62174 _ACEOF
62175 ac_clean_files=$ac_clean_files_save
62176
62177 test $ac_write_fail = 0 ||
62178   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62179
62180
62181 # configure is writing to config.log, and then calls config.status.
62182 # config.status does its own redirection, appending to config.log.
62183 # Unfortunately, on DOS this fails, as config.log is still kept open
62184 # by configure, so config.status won't be able to write to it; its
62185 # output is simply discarded.  So we exec the FD to /dev/null,
62186 # effectively closing config.log, so it can be properly (re)opened and
62187 # appended to by config.status.  When coming back to configure, we
62188 # need to make the FD available again.
62189 if test "$no_create" != yes; then
62190   ac_cs_success=:
62191   ac_config_status_args=
62192   test "$silent" = yes &&
62193     ac_config_status_args="$ac_config_status_args --quiet"
62194   exec 5>/dev/null
62195   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62196   exec 5>>config.log
62197   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62198   # would make configure fail if this is the last instruction.
62199   $ac_cs_success || as_fn_exit $?
62200 fi
62201 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62202   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62203 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62204 fi
62205