OSDN Git Service

2010-03-30 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_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 #  -Wall:  turns on all automake warnings...
3022 #  -Wno-portability:  ...except this one, since GNU make is now required.
3023 am__api_version='1.11'
3024
3025 # Find a good install program.  We prefer a C program (faster),
3026 # so one script is as good as another.  But avoid the broken or
3027 # incompatible versions:
3028 # SysV /etc/install, /usr/sbin/install
3029 # SunOS /usr/etc/install
3030 # IRIX /sbin/install
3031 # AIX /bin/install
3032 # AmigaOS /C/install, which installs bootblocks on floppy discs
3033 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3034 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3035 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3036 # OS/2's system install, which has a completely different semantic
3037 # ./install, which can be erroneously created by make from ./install.sh.
3038 # Reject install programs that cannot install multiple files.
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3040 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3041 if test -z "$INSTALL"; then
3042 if test "${ac_cv_path_install+set}" = set; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3047 do
3048   IFS=$as_save_IFS
3049   test -z "$as_dir" && as_dir=.
3050     # Account for people who put trailing slashes in PATH elements.
3051 case $as_dir/ in #((
3052   ./ | .// | /[cC]/* | \
3053   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3054   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3055   /usr/ucb/* ) ;;
3056   *)
3057     # OSF1 and SCO ODT 3.0 have their own names for install.
3058     # Don't use installbsd from OSF since it installs stuff as root
3059     # by default.
3060     for ac_prog in ginstall scoinst install; do
3061       for ac_exec_ext in '' $ac_executable_extensions; do
3062         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3063           if test $ac_prog = install &&
3064             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3065             # AIX install.  It has an incompatible calling convention.
3066             :
3067           elif test $ac_prog = install &&
3068             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3069             # program-specific install script used by HP pwplus--don't use.
3070             :
3071           else
3072             rm -rf conftest.one conftest.two conftest.dir
3073             echo one > conftest.one
3074             echo two > conftest.two
3075             mkdir conftest.dir
3076             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3077               test -s conftest.one && test -s conftest.two &&
3078               test -s conftest.dir/conftest.one &&
3079               test -s conftest.dir/conftest.two
3080             then
3081               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3082               break 3
3083             fi
3084           fi
3085         fi
3086       done
3087     done
3088     ;;
3089 esac
3090
3091   done
3092 IFS=$as_save_IFS
3093
3094 rm -rf conftest.one conftest.two conftest.dir
3095
3096 fi
3097   if test "${ac_cv_path_install+set}" = set; then
3098     INSTALL=$ac_cv_path_install
3099   else
3100     # As a last resort, use the slow shell script.  Don't cache a
3101     # value for INSTALL within a source directory, because that will
3102     # break other packages using the cache if that directory is
3103     # removed, or if the value is a relative name.
3104     INSTALL=$ac_install_sh
3105   fi
3106 fi
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3108 $as_echo "$INSTALL" >&6; }
3109
3110 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3111 # It thinks the first close brace ends the variable substitution.
3112 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3113
3114 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3115
3116 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3117
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3119 $as_echo_n "checking whether build environment is sane... " >&6; }
3120 # Just in case
3121 sleep 1
3122 echo timestamp > conftest.file
3123 # Reject unsafe characters in $srcdir or the absolute working directory
3124 # name.  Accept space and tab only in the latter.
3125 am_lf='
3126 '
3127 case `pwd` in
3128   *[\\\"\#\$\&\'\`$am_lf]*)
3129     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3130 esac
3131 case $srcdir in
3132   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3133     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3134 esac
3135
3136 # Do `set' in a subshell so we don't clobber the current shell's
3137 # arguments.  Must try -L first in case configure is actually a
3138 # symlink; some systems play weird games with the mod time of symlinks
3139 # (eg FreeBSD returns the mod time of the symlink's containing
3140 # directory).
3141 if (
3142    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3143    if test "$*" = "X"; then
3144       # -L didn't work.
3145       set X `ls -t "$srcdir/configure" conftest.file`
3146    fi
3147    rm -f conftest.file
3148    if test "$*" != "X $srcdir/configure conftest.file" \
3149       && test "$*" != "X conftest.file $srcdir/configure"; then
3150
3151       # If neither matched, then we have a broken ls.  This can happen
3152       # if, for instance, CONFIG_SHELL is bash and it inherits a
3153       # broken ls alias from the environment.  This has actually
3154       # happened.  Such a system could not be considered "sane".
3155       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3156 alias in your environment" "$LINENO" 5
3157    fi
3158
3159    test "$2" = conftest.file
3160    )
3161 then
3162    # Ok.
3163    :
3164 else
3165    as_fn_error "newly created file is older than distributed files!
3166 Check your system clock" "$LINENO" 5
3167 fi
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3169 $as_echo "yes" >&6; }
3170 test "$program_prefix" != NONE &&
3171   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3172 # Use a double $ so make ignores it.
3173 test "$program_suffix" != NONE &&
3174   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3175 # Double any \ or $.
3176 # By default was `s,x,x', remove it if useless.
3177 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3178 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3179
3180 # expand $ac_aux_dir to an absolute path
3181 am_aux_dir=`cd $ac_aux_dir && pwd`
3182
3183 if test x"${MISSING+set}" != xset; then
3184   case $am_aux_dir in
3185   *\ * | *\     *)
3186     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3187   *)
3188     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3189   esac
3190 fi
3191 # Use eval to expand $SHELL
3192 if eval "$MISSING --run true"; then
3193   am_missing_run="$MISSING --run "
3194 else
3195   am_missing_run=
3196   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3197 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3198 fi
3199
3200 if test x"${install_sh}" != xset; then
3201   case $am_aux_dir in
3202   *\ * | *\     *)
3203     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3204   *)
3205     install_sh="\${SHELL} $am_aux_dir/install-sh"
3206   esac
3207 fi
3208
3209 # Installed binaries are usually stripped using `strip' when the user
3210 # run `make install-strip'.  However `strip' might not be the right
3211 # tool to use in cross-compilation environments, therefore Automake
3212 # will honor the `STRIP' environment variable to overrule this program.
3213 if test "$cross_compiling" != no; then
3214   if test -n "$ac_tool_prefix"; then
3215   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3216 set dummy ${ac_tool_prefix}strip; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if test "${ac_cv_prog_STRIP+set}" = set; then :
3220   $as_echo_n "(cached) " >&6
3221 else
3222   if test -n "$STRIP"; then
3223   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3227 do
3228   IFS=$as_save_IFS
3229   test -z "$as_dir" && as_dir=.
3230     for ac_exec_ext in '' $ac_executable_extensions; do
3231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234     break 2
3235   fi
3236 done
3237   done
3238 IFS=$as_save_IFS
3239
3240 fi
3241 fi
3242 STRIP=$ac_cv_prog_STRIP
3243 if test -n "$STRIP"; then
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3245 $as_echo "$STRIP" >&6; }
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 fi
3250
3251
3252 fi
3253 if test -z "$ac_cv_prog_STRIP"; then
3254   ac_ct_STRIP=$STRIP
3255   # Extract the first word of "strip", so it can be a program name with args.
3256 set dummy strip; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3260   $as_echo_n "(cached) " >&6
3261 else
3262   if test -n "$ac_ct_STRIP"; then
3263   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268   IFS=$as_save_IFS
3269   test -z "$as_dir" && as_dir=.
3270     for ac_exec_ext in '' $ac_executable_extensions; do
3271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3272     ac_cv_prog_ac_ct_STRIP="strip"
3273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274     break 2
3275   fi
3276 done
3277   done
3278 IFS=$as_save_IFS
3279
3280 fi
3281 fi
3282 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3283 if test -n "$ac_ct_STRIP"; then
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3285 $as_echo "$ac_ct_STRIP" >&6; }
3286 else
3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 fi
3290
3291   if test "x$ac_ct_STRIP" = x; then
3292     STRIP=":"
3293   else
3294     case $cross_compiling:$ac_tool_warned in
3295 yes:)
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3298 ac_tool_warned=yes ;;
3299 esac
3300     STRIP=$ac_ct_STRIP
3301   fi
3302 else
3303   STRIP="$ac_cv_prog_STRIP"
3304 fi
3305
3306 fi
3307 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3308
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3310 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3311 if test -z "$MKDIR_P"; then
3312   if test "${ac_cv_path_mkdir+set}" = set; then :
3313   $as_echo_n "(cached) " >&6
3314 else
3315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3317 do
3318   IFS=$as_save_IFS
3319   test -z "$as_dir" && as_dir=.
3320     for ac_prog in mkdir gmkdir; do
3321          for ac_exec_ext in '' $ac_executable_extensions; do
3322            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3323            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3324              'mkdir (GNU coreutils) '* | \
3325              'mkdir (coreutils) '* | \
3326              'mkdir (fileutils) '4.1*)
3327                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3328                break 3;;
3329            esac
3330          done
3331        done
3332   done
3333 IFS=$as_save_IFS
3334
3335 fi
3336
3337   if test "${ac_cv_path_mkdir+set}" = set; then
3338     MKDIR_P="$ac_cv_path_mkdir -p"
3339   else
3340     # As a last resort, use the slow shell script.  Don't cache a
3341     # value for MKDIR_P within a source directory, because that will
3342     # break other packages using the cache if that directory is
3343     # removed, or if the value is a relative name.
3344     test -d ./--version && rmdir ./--version
3345     MKDIR_P="$ac_install_sh -d"
3346   fi
3347 fi
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3349 $as_echo "$MKDIR_P" >&6; }
3350
3351 mkdir_p="$MKDIR_P"
3352 case $mkdir_p in
3353   [\\/$]* | ?:[\\/]*) ;;
3354   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3355 esac
3356
3357 for ac_prog in gawk mawk nawk awk
3358 do
3359   # Extract the first word of "$ac_prog", so it can be a program name with args.
3360 set dummy $ac_prog; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if test "${ac_cv_prog_AWK+set}" = set; then :
3364   $as_echo_n "(cached) " >&6
3365 else
3366   if test -n "$AWK"; then
3367   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3371 do
3372   IFS=$as_save_IFS
3373   test -z "$as_dir" && as_dir=.
3374     for ac_exec_ext in '' $ac_executable_extensions; do
3375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3376     ac_cv_prog_AWK="$ac_prog"
3377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378     break 2
3379   fi
3380 done
3381   done
3382 IFS=$as_save_IFS
3383
3384 fi
3385 fi
3386 AWK=$ac_cv_prog_AWK
3387 if test -n "$AWK"; then
3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3389 $as_echo "$AWK" >&6; }
3390 else
3391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3393 fi
3394
3395
3396   test -n "$AWK" && break
3397 done
3398
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3401 set x ${MAKE-make}
3402 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3403 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3404   $as_echo_n "(cached) " >&6
3405 else
3406   cat >conftest.make <<\_ACEOF
3407 SHELL = /bin/sh
3408 all:
3409         @echo '@@@%%%=$(MAKE)=@@@%%%'
3410 _ACEOF
3411 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3413   *@@@%%%=?*=@@@%%%*)
3414     eval ac_cv_prog_make_${ac_make}_set=yes;;
3415   *)
3416     eval ac_cv_prog_make_${ac_make}_set=no;;
3417 esac
3418 rm -f conftest.make
3419 fi
3420 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422 $as_echo "yes" >&6; }
3423   SET_MAKE=
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427   SET_MAKE="MAKE=${MAKE-make}"
3428 fi
3429
3430 rm -rf .tst 2>/dev/null
3431 mkdir .tst 2>/dev/null
3432 if test -d .tst; then
3433   am__leading_dot=.
3434 else
3435   am__leading_dot=_
3436 fi
3437 rmdir .tst 2>/dev/null
3438
3439 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3440   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3441   # is not polluted with repeated "-I."
3442   am__isrc=' -I$(srcdir)'
3443   # test to see if srcdir already configured
3444   if test -f $srcdir/config.status; then
3445     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3446   fi
3447 fi
3448
3449 # test whether we have cygpath
3450 if test -z "$CYGPATH_W"; then
3451   if (cygpath --version) >/dev/null 2>/dev/null; then
3452     CYGPATH_W='cygpath -w'
3453   else
3454     CYGPATH_W=echo
3455   fi
3456 fi
3457
3458
3459 # Define the identity of the package.
3460  PACKAGE='libstdc++'
3461  VERSION='version-unused'
3462
3463
3464 # Some tools Automake needs.
3465
3466 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3467
3468
3469 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3470
3471
3472 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3473
3474
3475 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3476
3477
3478 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3479
3480 # We need awk for the "check" target.  The system "awk" is bad on
3481 # some platforms.
3482 # Always define AMTAR for backward compatibility.
3483
3484 AMTAR=${AMTAR-"${am_missing_run}tar"}
3485
3486 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3487
3488
3489
3490
3491
3492
3493
3494
3495 # -fno-builtin must be present here so that a non-conflicting form of
3496 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3497
3498 save_CXXFLAGS="$CXXFLAGS"
3499 CXXFLAGS="$CXXFLAGS -fno-builtin"
3500 ac_ext=c
3501 ac_cpp='$CPP $CPPFLAGS'
3502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3505 if test -n "$ac_tool_prefix"; then
3506   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3507 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_CC+set}" = set; then :
3511   $as_echo_n "(cached) " >&6
3512 else
3513   if test -n "$CC"; then
3514   ac_cv_prog_CC="$CC" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521     for ac_exec_ext in '' $ac_executable_extensions; do
3522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525     break 2
3526   fi
3527 done
3528   done
3529 IFS=$as_save_IFS
3530
3531 fi
3532 fi
3533 CC=$ac_cv_prog_CC
3534 if test -n "$CC"; then
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3536 $as_echo "$CC" >&6; }
3537 else
3538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3540 fi
3541
3542
3543 fi
3544 if test -z "$ac_cv_prog_CC"; then
3545   ac_ct_CC=$CC
3546   # Extract the first word of "gcc", so it can be a program name with args.
3547 set dummy gcc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   if test -n "$ac_ct_CC"; then
3554   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3558 do
3559   IFS=$as_save_IFS
3560   test -z "$as_dir" && as_dir=.
3561     for ac_exec_ext in '' $ac_executable_extensions; do
3562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563     ac_cv_prog_ac_ct_CC="gcc"
3564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565     break 2
3566   fi
3567 done
3568   done
3569 IFS=$as_save_IFS
3570
3571 fi
3572 fi
3573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3574 if test -n "$ac_ct_CC"; then
3575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3576 $as_echo "$ac_ct_CC" >&6; }
3577 else
3578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 fi
3581
3582   if test "x$ac_ct_CC" = x; then
3583     CC=""
3584   else
3585     case $cross_compiling:$ac_tool_warned in
3586 yes:)
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3589 ac_tool_warned=yes ;;
3590 esac
3591     CC=$ac_ct_CC
3592   fi
3593 else
3594   CC="$ac_cv_prog_CC"
3595 fi
3596
3597 if test -z "$CC"; then
3598           if test -n "$ac_tool_prefix"; then
3599     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3600 set dummy ${ac_tool_prefix}cc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_CC+set}" = set; then :
3604   $as_echo_n "(cached) " >&6
3605 else
3606   if test -n "$CC"; then
3607   ac_cv_prog_CC="$CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3611 do
3612   IFS=$as_save_IFS
3613   test -z "$as_dir" && as_dir=.
3614     for ac_exec_ext in '' $ac_executable_extensions; do
3615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616     ac_cv_prog_CC="${ac_tool_prefix}cc"
3617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618     break 2
3619   fi
3620 done
3621   done
3622 IFS=$as_save_IFS
3623
3624 fi
3625 fi
3626 CC=$ac_cv_prog_CC
3627 if test -n "$CC"; then
3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3630 else
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3633 fi
3634
3635
3636   fi
3637 fi
3638 if test -z "$CC"; then
3639   # Extract the first word of "cc", so it can be a program name with args.
3640 set dummy cc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644   $as_echo_n "(cached) " >&6
3645 else
3646   if test -n "$CC"; then
3647   ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649   ac_prog_rejected=no
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 for as_dir in $PATH
3652 do
3653   IFS=$as_save_IFS
3654   test -z "$as_dir" && as_dir=.
3655     for ac_exec_ext in '' $ac_executable_extensions; do
3656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3657     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3658        ac_prog_rejected=yes
3659        continue
3660      fi
3661     ac_cv_prog_CC="cc"
3662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663     break 2
3664   fi
3665 done
3666   done
3667 IFS=$as_save_IFS
3668
3669 if test $ac_prog_rejected = yes; then
3670   # We found a bogon in the path, so make sure we never use it.
3671   set dummy $ac_cv_prog_CC
3672   shift
3673   if test $# != 0; then
3674     # We chose a different compiler from the bogus one.
3675     # However, it has the same basename, so the bogon will be chosen
3676     # first if we set CC to just the basename; use the full file name.
3677     shift
3678     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3679   fi
3680 fi
3681 fi
3682 fi
3683 CC=$ac_cv_prog_CC
3684 if test -n "$CC"; then
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3687 else
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3690 fi
3691
3692
3693 fi
3694 if test -z "$CC"; then
3695   if test -n "$ac_tool_prefix"; then
3696   for ac_prog in cl.exe
3697   do
3698     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_CC+set}" = set; then :
3703   $as_echo_n "(cached) " >&6
3704 else
3705   if test -n "$CC"; then
3706   ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711   IFS=$as_save_IFS
3712   test -z "$as_dir" && as_dir=.
3713     for ac_exec_ext in '' $ac_executable_extensions; do
3714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717     break 2
3718   fi
3719 done
3720   done
3721 IFS=$as_save_IFS
3722
3723 fi
3724 fi
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3732 fi
3733
3734
3735     test -n "$CC" && break
3736   done
3737 fi
3738 if test -z "$CC"; then
3739   ac_ct_CC=$CC
3740   for ac_prog in cl.exe
3741 do
3742   # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy $ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3747   $as_echo_n "(cached) " >&6
3748 else
3749   if test -n "$ac_ct_CC"; then
3750   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755   IFS=$as_save_IFS
3756   test -z "$as_dir" && as_dir=.
3757     for ac_exec_ext in '' $ac_executable_extensions; do
3758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759     ac_cv_prog_ac_ct_CC="$ac_prog"
3760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761     break 2
3762   fi
3763 done
3764   done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3770 if test -n "$ac_ct_CC"; then
3771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3772 $as_echo "$ac_ct_CC" >&6; }
3773 else
3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779   test -n "$ac_ct_CC" && break
3780 done
3781
3782   if test "x$ac_ct_CC" = x; then
3783     CC=""
3784   else
3785     case $cross_compiling:$ac_tool_warned in
3786 yes:)
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3790 esac
3791     CC=$ac_ct_CC
3792   fi
3793 fi
3794
3795 fi
3796
3797
3798 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 as_fn_error "no acceptable C compiler found in \$PATH
3801 See \`config.log' for more details." "$LINENO" 5; }
3802
3803 # Provide some information about the compiler.
3804 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3805 set X $ac_compile
3806 ac_compiler=$2
3807 for ac_option in --version -v -V -qversion; do
3808   { { ac_try="$ac_compiler $ac_option >&5"
3809 case "(($ac_try" in
3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811   *) ac_try_echo=$ac_try;;
3812 esac
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3816   ac_status=$?
3817   if test -s conftest.err; then
3818     sed '10a\
3819 ... rest of stderr output deleted ...
3820          10q' conftest.err >conftest.er1
3821     cat conftest.er1 >&5
3822     rm -f conftest.er1 conftest.err
3823   fi
3824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825   test $ac_status = 0; }
3826 done
3827
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h.  */
3830
3831 int
3832 main ()
3833 {
3834
3835   ;
3836   return 0;
3837 }
3838 _ACEOF
3839 # FIXME: Cleanup?
3840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3841   (eval $ac_link) 2>&5
3842   ac_status=$?
3843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844   test $ac_status = 0; }; then :
3845   gcc_no_link=no
3846 else
3847   gcc_no_link=yes
3848 fi
3849 if test x$gcc_no_link = xyes; then
3850   # Setting cross_compile will disable run tests; it will
3851   # also disable AC_CHECK_FILE but that's generally
3852   # correct if we can't link.
3853   cross_compiling=yes
3854   EXEEXT=
3855 else
3856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h.  */
3858
3859 int
3860 main ()
3861 {
3862
3863   ;
3864   return 0;
3865 }
3866 _ACEOF
3867 ac_clean_files_save=$ac_clean_files
3868 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3869 # Try to create an executable without -o first, disregard a.out.
3870 # It will help us diagnose broken compilers, and finding out an intuition
3871 # of exeext.
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3873 $as_echo_n "checking for C compiler default output file name... " >&6; }
3874 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3875
3876 # The possible output files:
3877 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3878
3879 ac_rmfiles=
3880 for ac_file in $ac_files
3881 do
3882   case $ac_file in
3883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3885   esac
3886 done
3887 rm -f $ac_rmfiles
3888
3889 if { { ac_try="$ac_link_default"
3890 case "(($ac_try" in
3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892   *) ac_try_echo=$ac_try;;
3893 esac
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896   (eval "$ac_link_default") 2>&5
3897   ac_status=$?
3898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899   test $ac_status = 0; }; then :
3900   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3901 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3902 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3903 # so that the user can short-circuit this test for compilers unknown to
3904 # Autoconf.
3905 for ac_file in $ac_files ''
3906 do
3907   test -f "$ac_file" || continue
3908   case $ac_file in
3909     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3910         ;;
3911     [ab].out )
3912         # We found the default executable, but exeext='' is most
3913         # certainly right.
3914         break;;
3915     *.* )
3916         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3917         then :; else
3918            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3919         fi
3920         # We set ac_cv_exeext here because the later test for it is not
3921         # safe: cross compilers may not add the suffix if given an `-o'
3922         # argument, so we may need to know it at that point already.
3923         # Even if this section looks crufty: it has the advantage of
3924         # actually working.
3925         break;;
3926     * )
3927         break;;
3928   esac
3929 done
3930 test "$ac_cv_exeext" = no && ac_cv_exeext=
3931
3932 else
3933   ac_file=''
3934 fi
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3936 $as_echo "$ac_file" >&6; }
3937 if test -z "$ac_file"; then :
3938   $as_echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3940
3941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943 { as_fn_set_status 77
3944 as_fn_error "C compiler cannot create executables
3945 See \`config.log' for more details." "$LINENO" 5; }; }
3946 fi
3947 ac_exeext=$ac_cv_exeext
3948
3949 # Check that the compiler produces executables we can run.  If not, either
3950 # the compiler is broken, or we cross compile.
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3952 $as_echo_n "checking whether the C compiler works... " >&6; }
3953 # If not cross compiling, check that we can run a simple program.
3954 if test "$cross_compiling" != yes; then
3955   if { ac_try='./$ac_file'
3956   { { case "(($ac_try" in
3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958   *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962   (eval "$ac_try") 2>&5
3963   ac_status=$?
3964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965   test $ac_status = 0; }; }; then
3966     cross_compiling=no
3967   else
3968     if test "$cross_compiling" = maybe; then
3969         cross_compiling=yes
3970     else
3971         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error "cannot run C compiled programs.
3974 If you meant to cross compile, use \`--host'.
3975 See \`config.log' for more details." "$LINENO" 5; }
3976     fi
3977   fi
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3980 $as_echo "yes" >&6; }
3981
3982 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3983 ac_clean_files=$ac_clean_files_save
3984 # Check that the compiler produces executables we can run.  If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3989 $as_echo "$cross_compiling" >&6; }
3990
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3992 $as_echo_n "checking for suffix of executables... " >&6; }
3993 if { { ac_try="$ac_link"
3994 case "(($ac_try" in
3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996   *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000   (eval "$ac_link") 2>&5
4001   ac_status=$?
4002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003   test $ac_status = 0; }; then :
4004   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4005 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4006 # work properly (i.e., refer to `conftest.exe'), while it won't with
4007 # `rm'.
4008 for ac_file in conftest.exe conftest conftest.*; do
4009   test -f "$ac_file" || continue
4010   case $ac_file in
4011     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4013           break;;
4014     * ) break;;
4015   esac
4016 done
4017 else
4018   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error "cannot compute suffix of executables: cannot compile and link
4021 See \`config.log' for more details." "$LINENO" 5; }
4022 fi
4023 rm -f conftest$ac_cv_exeext
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4025 $as_echo "$ac_cv_exeext" >&6; }
4026
4027 rm -f conftest.$ac_ext
4028 EXEEXT=$ac_cv_exeext
4029 ac_exeext=$EXEEXT
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if test "${ac_cv_objext+set}" = set; then :
4034   $as_echo_n "(cached) " >&6
4035 else
4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h.  */
4038
4039 int
4040 main ()
4041 {
4042
4043   ;
4044   return 0;
4045 }
4046 _ACEOF
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try="$ac_compile"
4049 case "(($ac_try" in
4050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051   *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055   (eval "$ac_compile") 2>&5
4056   ac_status=$?
4057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058   test $ac_status = 0; }; then :
4059   for ac_file in conftest.o conftest.obj conftest.*; do
4060   test -f "$ac_file" || continue;
4061   case $ac_file in
4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4064        break;;
4065   esac
4066 done
4067 else
4068   $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4070
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error "cannot compute suffix of object files: cannot compile
4074 See \`config.log' for more details." "$LINENO" 5; }
4075 fi
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4077 fi
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4081 ac_objext=$OBJEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4085   $as_echo_n "(cached) " >&6
4086 else
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089
4090 int
4091 main ()
4092 {
4093 #ifndef __GNUC__
4094        choke me
4095 #endif
4096
4097   ;
4098   return 0;
4099 }
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102   ac_compiler_gnu=yes
4103 else
4104   ac_compiler_gnu=no
4105 fi
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4108
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4113   GCC=yes
4114 else
4115   GCC=
4116 fi
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if test "${ac_cv_prog_cc_g+set}" = set; then :
4122   $as_echo_n "(cached) " >&6
4123 else
4124   ac_save_c_werror_flag=$ac_c_werror_flag
4125    ac_c_werror_flag=yes
4126    ac_cv_prog_cc_g=no
4127    CFLAGS="-g"
4128    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130
4131 int
4132 main ()
4133 {
4134
4135   ;
4136   return 0;
4137 }
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140   ac_cv_prog_cc_g=yes
4141 else
4142   CFLAGS=""
4143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h.  */
4145
4146 int
4147 main ()
4148 {
4149
4150   ;
4151   return 0;
4152 }
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155
4156 else
4157   ac_c_werror_flag=$ac_save_c_werror_flag
4158          CFLAGS="-g"
4159          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h.  */
4161
4162 int
4163 main ()
4164 {
4165
4166   ;
4167   return 0;
4168 }
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171   ac_cv_prog_cc_g=yes
4172 fi
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 fi
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178    ac_c_werror_flag=$ac_save_c_werror_flag
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183   CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185   if test "$GCC" = yes; then
4186     CFLAGS="-g -O2"
4187   else
4188     CFLAGS="-g"
4189   fi
4190 else
4191   if test "$GCC" = yes; then
4192     CFLAGS="-O2"
4193   else
4194     CFLAGS=
4195   fi
4196 fi
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4200   $as_echo_n "(cached) " >&6
4201 else
4202   ac_cv_prog_cc_c89=no
4203 ac_save_CC=$CC
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h.  */
4206 #include <stdarg.h>
4207 #include <stdio.h>
4208 #include <sys/types.h>
4209 #include <sys/stat.h>
4210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4211 struct buf { int x; };
4212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4213 static char *e (p, i)
4214      char **p;
4215      int i;
4216 {
4217   return p[i];
4218 }
4219 static char *f (char * (*g) (char **, int), char **p, ...)
4220 {
4221   char *s;
4222   va_list v;
4223   va_start (v,p);
4224   s = g (p, va_arg (v,int));
4225   va_end (v);
4226   return s;
4227 }
4228
4229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4230    function prototypes and stuff, but not '\xHH' hex character constants.
4231    These don't provoke an error unfortunately, instead are silently treated
4232    as 'x'.  The following induces an error, until -std is added to get
4233    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4234    array size at least.  It's necessary to write '\x00'==0 to get something
4235    that's true only with -std.  */
4236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237
4238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4239    inside strings and character constants.  */
4240 #define FOO(x) 'x'
4241 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242
4243 int test (int i, double x);
4244 struct s1 {int (*f) (int a);};
4245 struct s2 {int (*f) (double a);};
4246 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4247 int argc;
4248 char **argv;
4249 int
4250 main ()
4251 {
4252 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4253   ;
4254   return 0;
4255 }
4256 _ACEOF
4257 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4258         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 do
4260   CC="$ac_save_CC $ac_arg"
4261   if ac_fn_c_try_compile "$LINENO"; then :
4262   ac_cv_prog_cc_c89=$ac_arg
4263 fi
4264 rm -f core conftest.err conftest.$ac_objext
4265   test "x$ac_cv_prog_cc_c89" != "xno" && break
4266 done
4267 rm -f conftest.$ac_ext
4268 CC=$ac_save_CC
4269
4270 fi
4271 # AC_CACHE_VAL
4272 case "x$ac_cv_prog_cc_c89" in
4273   x)
4274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 $as_echo "none needed" >&6; } ;;
4276   xno)
4277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4278 $as_echo "unsupported" >&6; } ;;
4279   *)
4280     CC="$CC $ac_cv_prog_cc_c89"
4281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4282 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4283 esac
4284 if test "x$ac_cv_prog_cc_c89" != xno; then :
4285
4286 fi
4287
4288 ac_ext=c
4289 ac_cpp='$CPP $CPPFLAGS'
4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4293
4294 ac_ext=cpp
4295 ac_cpp='$CXXCPP $CPPFLAGS'
4296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4299 if test -z "$CXX"; then
4300   if test -n "$CCC"; then
4301     CXX=$CCC
4302   else
4303     if test -n "$ac_tool_prefix"; then
4304   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305   do
4306     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if test "${ac_cv_prog_CXX+set}" = set; then :
4311   $as_echo_n "(cached) " >&6
4312 else
4313   if test -n "$CXX"; then
4314   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321     for ac_exec_ext in '' $ac_executable_extensions; do
4322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325     break 2
4326   fi
4327 done
4328   done
4329 IFS=$as_save_IFS
4330
4331 fi
4332 fi
4333 CXX=$ac_cv_prog_CXX
4334 if test -n "$CXX"; then
4335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4336 $as_echo "$CXX" >&6; }
4337 else
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 fi
4341
4342
4343     test -n "$CXX" && break
4344   done
4345 fi
4346 if test -z "$CXX"; then
4347   ac_ct_CXX=$CXX
4348   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 do
4350   # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   if test -n "$ac_ct_CXX"; then
4358   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363   IFS=$as_save_IFS
4364   test -z "$as_dir" && as_dir=.
4365     for ac_exec_ext in '' $ac_executable_extensions; do
4366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367     ac_cv_prog_ac_ct_CXX="$ac_prog"
4368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369     break 2
4370   fi
4371 done
4372   done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4378 if test -n "$ac_ct_CXX"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4380 $as_echo "$ac_ct_CXX" >&6; }
4381 else
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387   test -n "$ac_ct_CXX" && break
4388 done
4389
4390   if test "x$ac_ct_CXX" = x; then
4391     CXX="g++"
4392   else
4393     case $cross_compiling:$ac_tool_warned in
4394 yes:)
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4398 esac
4399     CXX=$ac_ct_CXX
4400   fi
4401 fi
4402
4403   fi
4404 fi
4405 # Provide some information about the compiler.
4406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4407 set X $ac_compile
4408 ac_compiler=$2
4409 for ac_option in --version -v -V -qversion; do
4410   { { ac_try="$ac_compiler $ac_option >&5"
4411 case "(($ac_try" in
4412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413   *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4418   ac_status=$?
4419   if test -s conftest.err; then
4420     sed '10a\
4421 ... rest of stderr output deleted ...
4422          10q' conftest.err >conftest.er1
4423     cat conftest.er1 >&5
4424     rm -f conftest.er1 conftest.err
4425   fi
4426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427   test $ac_status = 0; }
4428 done
4429
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4431 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4432 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4433   $as_echo_n "(cached) " >&6
4434 else
4435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h.  */
4437
4438 int
4439 main ()
4440 {
4441 #ifndef __GNUC__
4442        choke me
4443 #endif
4444
4445   ;
4446   return 0;
4447 }
4448 _ACEOF
4449 if ac_fn_cxx_try_compile "$LINENO"; then :
4450   ac_compiler_gnu=yes
4451 else
4452   ac_compiler_gnu=no
4453 fi
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4456
4457 fi
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4459 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4460 if test $ac_compiler_gnu = yes; then
4461   GXX=yes
4462 else
4463   GXX=
4464 fi
4465 ac_test_CXXFLAGS=${CXXFLAGS+set}
4466 ac_save_CXXFLAGS=$CXXFLAGS
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4468 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4469 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4473    ac_cxx_werror_flag=yes
4474    ac_cv_prog_cxx_g=no
4475    CXXFLAGS="-g"
4476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h.  */
4478
4479 int
4480 main ()
4481 {
4482
4483   ;
4484   return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488   ac_cv_prog_cxx_g=yes
4489 else
4490   CXXFLAGS=""
4491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h.  */
4493
4494 int
4495 main ()
4496 {
4497
4498   ;
4499   return 0;
4500 }
4501 _ACEOF
4502 if ac_fn_cxx_try_compile "$LINENO"; then :
4503
4504 else
4505   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4506          CXXFLAGS="-g"
4507          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h.  */
4509
4510 int
4511 main ()
4512 {
4513
4514   ;
4515   return 0;
4516 }
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519   ac_cv_prog_cxx_g=yes
4520 fi
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 fi
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 fi
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4529 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4530 if test "$ac_test_CXXFLAGS" = set; then
4531   CXXFLAGS=$ac_save_CXXFLAGS
4532 elif test $ac_cv_prog_cxx_g = yes; then
4533   if test "$GXX" = yes; then
4534     CXXFLAGS="-g -O2"
4535   else
4536     CXXFLAGS="-g"
4537   fi
4538 else
4539   if test "$GXX" = yes; then
4540     CXXFLAGS="-O2"
4541   else
4542     CXXFLAGS=
4543   fi
4544 fi
4545 ac_ext=c
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550
4551 CXXFLAGS="$save_CXXFLAGS"
4552
4553 # Runs configure.host, and assorted other critical bits.  Sets
4554 # up critical shell variables.
4555
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4562 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4563 # On Suns, sometimes $CPP names a directory.
4564 if test -n "$CPP" && test -d "$CPP"; then
4565   CPP=
4566 fi
4567 if test -z "$CPP"; then
4568   if test "${ac_cv_prog_CPP+set}" = set; then :
4569   $as_echo_n "(cached) " >&6
4570 else
4571       # Double quotes because CPP needs to be expanded
4572     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4573     do
4574       ac_preproc_ok=false
4575 for ac_c_preproc_warn_flag in '' yes
4576 do
4577   # Use a header file that comes with gcc, so configuring glibc
4578   # with a fresh cross-compiler works.
4579   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4580   # <limits.h> exists even on freestanding compilers.
4581   # On the NeXT, cc -E runs the code through the compiler's parser,
4582   # not just through cpp. "Syntax error" is here to catch this case.
4583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h.  */
4585 #ifdef __STDC__
4586 # include <limits.h>
4587 #else
4588 # include <assert.h>
4589 #endif
4590                      Syntax error
4591 _ACEOF
4592 if ac_fn_c_try_cpp "$LINENO"; then :
4593
4594 else
4595   # Broken: fails on valid input.
4596 continue
4597 fi
4598 rm -f conftest.err conftest.$ac_ext
4599
4600   # OK, works on sane cases.  Now check whether nonexistent headers
4601   # can be detected and how.
4602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h.  */
4604 #include <ac_nonexistent.h>
4605 _ACEOF
4606 if ac_fn_c_try_cpp "$LINENO"; then :
4607   # Broken: success on invalid input.
4608 continue
4609 else
4610   # Passes both tests.
4611 ac_preproc_ok=:
4612 break
4613 fi
4614 rm -f conftest.err conftest.$ac_ext
4615
4616 done
4617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4618 rm -f conftest.err conftest.$ac_ext
4619 if $ac_preproc_ok; then :
4620   break
4621 fi
4622
4623     done
4624     ac_cv_prog_CPP=$CPP
4625
4626 fi
4627   CPP=$ac_cv_prog_CPP
4628 else
4629   ac_cv_prog_CPP=$CPP
4630 fi
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4632 $as_echo "$CPP" >&6; }
4633 ac_preproc_ok=false
4634 for ac_c_preproc_warn_flag in '' yes
4635 do
4636   # Use a header file that comes with gcc, so configuring glibc
4637   # with a fresh cross-compiler works.
4638   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4639   # <limits.h> exists even on freestanding compilers.
4640   # On the NeXT, cc -E runs the code through the compiler's parser,
4641   # not just through cpp. "Syntax error" is here to catch this case.
4642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h.  */
4644 #ifdef __STDC__
4645 # include <limits.h>
4646 #else
4647 # include <assert.h>
4648 #endif
4649                      Syntax error
4650 _ACEOF
4651 if ac_fn_c_try_cpp "$LINENO"; then :
4652
4653 else
4654   # Broken: fails on valid input.
4655 continue
4656 fi
4657 rm -f conftest.err conftest.$ac_ext
4658
4659   # OK, works on sane cases.  Now check whether nonexistent headers
4660   # can be detected and how.
4661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h.  */
4663 #include <ac_nonexistent.h>
4664 _ACEOF
4665 if ac_fn_c_try_cpp "$LINENO"; then :
4666   # Broken: success on invalid input.
4667 continue
4668 else
4669   # Passes both tests.
4670 ac_preproc_ok=:
4671 break
4672 fi
4673 rm -f conftest.err conftest.$ac_ext
4674
4675 done
4676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4677 rm -f conftest.err conftest.$ac_ext
4678 if $ac_preproc_ok; then :
4679
4680 else
4681   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4683 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4684 See \`config.log' for more details." "$LINENO" 5; }
4685 fi
4686
4687 ac_ext=c
4688 ac_cpp='$CPP $CPPFLAGS'
4689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4692
4693
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4695 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4696 if test "${ac_cv_path_GREP+set}" = set; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   if test -z "$GREP"; then
4700   ac_path_GREP_found=false
4701   # Loop through the user's path and test for each of PROGNAME-LIST
4702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4704 do
4705   IFS=$as_save_IFS
4706   test -z "$as_dir" && as_dir=.
4707     for ac_prog in grep ggrep; do
4708     for ac_exec_ext in '' $ac_executable_extensions; do
4709       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4710       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4711 # Check for GNU ac_path_GREP and select it if it is found.
4712   # Check for GNU $ac_path_GREP
4713 case `"$ac_path_GREP" --version 2>&1` in
4714 *GNU*)
4715   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4716 *)
4717   ac_count=0
4718   $as_echo_n 0123456789 >"conftest.in"
4719   while :
4720   do
4721     cat "conftest.in" "conftest.in" >"conftest.tmp"
4722     mv "conftest.tmp" "conftest.in"
4723     cp "conftest.in" "conftest.nl"
4724     $as_echo 'GREP' >> "conftest.nl"
4725     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727     as_fn_arith $ac_count + 1 && ac_count=$as_val
4728     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4729       # Best one so far, save it but keep looking for a better one
4730       ac_cv_path_GREP="$ac_path_GREP"
4731       ac_path_GREP_max=$ac_count
4732     fi
4733     # 10*(2^10) chars as input seems more than enough
4734     test $ac_count -gt 10 && break
4735   done
4736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4737 esac
4738
4739       $ac_path_GREP_found && break 3
4740     done
4741   done
4742   done
4743 IFS=$as_save_IFS
4744   if test -z "$ac_cv_path_GREP"; then
4745     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746   fi
4747 else
4748   ac_cv_path_GREP=$GREP
4749 fi
4750
4751 fi
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4753 $as_echo "$ac_cv_path_GREP" >&6; }
4754  GREP="$ac_cv_path_GREP"
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4758 $as_echo_n "checking for egrep... " >&6; }
4759 if test "${ac_cv_path_EGREP+set}" = set; then :
4760   $as_echo_n "(cached) " >&6
4761 else
4762   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4763    then ac_cv_path_EGREP="$GREP -E"
4764    else
4765      if test -z "$EGREP"; then
4766   ac_path_EGREP_found=false
4767   # Loop through the user's path and test for each of PROGNAME-LIST
4768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4770 do
4771   IFS=$as_save_IFS
4772   test -z "$as_dir" && as_dir=.
4773     for ac_prog in egrep; do
4774     for ac_exec_ext in '' $ac_executable_extensions; do
4775       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4776       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4777 # Check for GNU ac_path_EGREP and select it if it is found.
4778   # Check for GNU $ac_path_EGREP
4779 case `"$ac_path_EGREP" --version 2>&1` in
4780 *GNU*)
4781   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4782 *)
4783   ac_count=0
4784   $as_echo_n 0123456789 >"conftest.in"
4785   while :
4786   do
4787     cat "conftest.in" "conftest.in" >"conftest.tmp"
4788     mv "conftest.tmp" "conftest.in"
4789     cp "conftest.in" "conftest.nl"
4790     $as_echo 'EGREP' >> "conftest.nl"
4791     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4793     as_fn_arith $ac_count + 1 && ac_count=$as_val
4794     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4795       # Best one so far, save it but keep looking for a better one
4796       ac_cv_path_EGREP="$ac_path_EGREP"
4797       ac_path_EGREP_max=$ac_count
4798     fi
4799     # 10*(2^10) chars as input seems more than enough
4800     test $ac_count -gt 10 && break
4801   done
4802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4803 esac
4804
4805       $ac_path_EGREP_found && break 3
4806     done
4807   done
4808   done
4809 IFS=$as_save_IFS
4810   if test -z "$ac_cv_path_EGREP"; then
4811     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4812   fi
4813 else
4814   ac_cv_path_EGREP=$EGREP
4815 fi
4816
4817    fi
4818 fi
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4820 $as_echo "$ac_cv_path_EGREP" >&6; }
4821  EGREP="$ac_cv_path_EGREP"
4822
4823
4824
4825   # Keep these sync'd with the list in Makefile.am.  The first provides an
4826   # expandable list at autoconf time; the second provides an expandable list
4827   # (i.e., shell variable) at configure time.
4828
4829   SUBDIRS='include libsupc++ python src doc po testsuite'
4830
4831   # These need to be absolute paths, yet at the same time need to
4832   # canonicalize only relative paths, because then amd will not unmount
4833   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4834   glibcxx_builddir=`${PWDCMD-pwd}`
4835   case $srcdir in
4836     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4837     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4838   esac
4839   toplevel_srcdir=${glibcxx_srcdir}/..
4840
4841
4842
4843
4844   # We use these options to decide which functions to include.  They are
4845   # set from the top level.
4846
4847 # Check whether --with-target-subdir was given.
4848 if test "${with_target_subdir+set}" = set; then :
4849   withval=$with_target_subdir;
4850 fi
4851
4852
4853
4854 # Check whether --with-cross-host was given.
4855 if test "${with_cross_host+set}" = set; then :
4856   withval=$with_cross_host;
4857 fi
4858
4859
4860
4861 # Check whether --with-newlib was given.
4862 if test "${with_newlib+set}" = set; then :
4863   withval=$with_newlib;
4864 fi
4865
4866
4867   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4868   # available).  Uncomment the next line to force a particular method.
4869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4870 $as_echo_n "checking whether ln -s works... " >&6; }
4871 LN_S=$as_ln_s
4872 if test "$LN_S" = "ln -s"; then
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 else
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4877 $as_echo "no, using $LN_S" >&6; }
4878 fi
4879
4880   #LN_S='cp -p'
4881
4882   if test -n "$ac_tool_prefix"; then
4883   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}as; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if test "${ac_cv_prog_AS+set}" = set; then :
4888   $as_echo_n "(cached) " >&6
4889 else
4890   if test -n "$AS"; then
4891   ac_cv_prog_AS="$AS" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4895 do
4896   IFS=$as_save_IFS
4897   test -z "$as_dir" && as_dir=.
4898     for ac_exec_ext in '' $ac_executable_extensions; do
4899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4900     ac_cv_prog_AS="${ac_tool_prefix}as"
4901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902     break 2
4903   fi
4904 done
4905   done
4906 IFS=$as_save_IFS
4907
4908 fi
4909 fi
4910 AS=$ac_cv_prog_AS
4911 if test -n "$AS"; then
4912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4913 $as_echo "$AS" >&6; }
4914 else
4915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4917 fi
4918
4919
4920 fi
4921 if test -z "$ac_cv_prog_AS"; then
4922   ac_ct_AS=$AS
4923   # Extract the first word of "as", so it can be a program name with args.
4924 set dummy as; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4928   $as_echo_n "(cached) " >&6
4929 else
4930   if test -n "$ac_ct_AS"; then
4931   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4935 do
4936   IFS=$as_save_IFS
4937   test -z "$as_dir" && as_dir=.
4938     for ac_exec_ext in '' $ac_executable_extensions; do
4939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940     ac_cv_prog_ac_ct_AS="as"
4941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942     break 2
4943   fi
4944 done
4945   done
4946 IFS=$as_save_IFS
4947
4948 fi
4949 fi
4950 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4953 $as_echo "$ac_ct_AS" >&6; }
4954 else
4955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 fi
4958
4959   if test "x$ac_ct_AS" = x; then
4960     AS=""
4961   else
4962     case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968     AS=$ac_ct_AS
4969   fi
4970 else
4971   AS="$ac_cv_prog_AS"
4972 fi
4973
4974   if test -n "$ac_tool_prefix"; then
4975   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}ar; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_AR+set}" = set; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   if test -n "$AR"; then
4983   ac_cv_prog_AR="$AR" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4987 do
4988   IFS=$as_save_IFS
4989   test -z "$as_dir" && as_dir=.
4990     for ac_exec_ext in '' $ac_executable_extensions; do
4991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992     ac_cv_prog_AR="${ac_tool_prefix}ar"
4993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994     break 2
4995   fi
4996 done
4997   done
4998 IFS=$as_save_IFS
4999
5000 fi
5001 fi
5002 AR=$ac_cv_prog_AR
5003 if test -n "$AR"; then
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5005 $as_echo "$AR" >&6; }
5006 else
5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 fi
5010
5011
5012 fi
5013 if test -z "$ac_cv_prog_AR"; then
5014   ac_ct_AR=$AR
5015   # Extract the first word of "ar", so it can be a program name with args.
5016 set dummy ar; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5020   $as_echo_n "(cached) " >&6
5021 else
5022   if test -n "$ac_ct_AR"; then
5023   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5027 do
5028   IFS=$as_save_IFS
5029   test -z "$as_dir" && as_dir=.
5030     for ac_exec_ext in '' $ac_executable_extensions; do
5031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032     ac_cv_prog_ac_ct_AR="ar"
5033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034     break 2
5035   fi
5036 done
5037   done
5038 IFS=$as_save_IFS
5039
5040 fi
5041 fi
5042 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5043 if test -n "$ac_ct_AR"; then
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5045 $as_echo "$ac_ct_AR" >&6; }
5046 else
5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5049 fi
5050
5051   if test "x$ac_ct_AR" = x; then
5052     AR=""
5053   else
5054     case $cross_compiling:$ac_tool_warned in
5055 yes:)
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned=yes ;;
5059 esac
5060     AR=$ac_ct_AR
5061   fi
5062 else
5063   AR="$ac_cv_prog_AR"
5064 fi
5065
5066   if test -n "$ac_tool_prefix"; then
5067   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5072   $as_echo_n "(cached) " >&6
5073 else
5074   if test -n "$RANLIB"; then
5075   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5079 do
5080   IFS=$as_save_IFS
5081   test -z "$as_dir" && as_dir=.
5082     for ac_exec_ext in '' $ac_executable_extensions; do
5083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086     break 2
5087   fi
5088 done
5089   done
5090 IFS=$as_save_IFS
5091
5092 fi
5093 fi
5094 RANLIB=$ac_cv_prog_RANLIB
5095 if test -n "$RANLIB"; then
5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5097 $as_echo "$RANLIB" >&6; }
5098 else
5099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5101 fi
5102
5103
5104 fi
5105 if test -z "$ac_cv_prog_RANLIB"; then
5106   ac_ct_RANLIB=$RANLIB
5107   # Extract the first word of "ranlib", so it can be a program name with args.
5108 set dummy ranlib; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5112   $as_echo_n "(cached) " >&6
5113 else
5114   if test -n "$ac_ct_RANLIB"; then
5115   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5119 do
5120   IFS=$as_save_IFS
5121   test -z "$as_dir" && as_dir=.
5122     for ac_exec_ext in '' $ac_executable_extensions; do
5123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124     ac_cv_prog_ac_ct_RANLIB="ranlib"
5125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126     break 2
5127   fi
5128 done
5129   done
5130 IFS=$as_save_IFS
5131
5132 fi
5133 fi
5134 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5135 if test -n "$ac_ct_RANLIB"; then
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5137 $as_echo "$ac_ct_RANLIB" >&6; }
5138 else
5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 fi
5142
5143   if test "x$ac_ct_RANLIB" = x; then
5144     RANLIB="ranlib-not-found-in-path-error"
5145   else
5146     case $cross_compiling:$ac_tool_warned in
5147 yes:)
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned=yes ;;
5151 esac
5152     RANLIB=$ac_ct_RANLIB
5153   fi
5154 else
5155   RANLIB="$ac_cv_prog_RANLIB"
5156 fi
5157
5158
5159
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5161 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5162     # Check whether --enable-maintainer-mode was given.
5163 if test "${enable_maintainer_mode+set}" = set; then :
5164   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5165 else
5166   USE_MAINTAINER_MODE=no
5167 fi
5168
5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5170 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5171    if test $USE_MAINTAINER_MODE = yes; then
5172   MAINTAINER_MODE_TRUE=
5173   MAINTAINER_MODE_FALSE='#'
5174 else
5175   MAINTAINER_MODE_TRUE='#'
5176   MAINTAINER_MODE_FALSE=
5177 fi
5178
5179   MAINT=$MAINTAINER_MODE_TRUE
5180
5181
5182
5183   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5184   # which are themselves conditionally expanded.
5185   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5186   ## other macros from doing the same.  This should be automated.)  -pme
5187
5188   # Check for uClibc since Linux platforms use different configuration
5189   # directories depending on the C library in use.
5190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h.  */
5192
5193   #include <stdio.h>
5194   #if __UCLIBC__
5195     _using_uclibc
5196   #endif
5197
5198 _ACEOF
5199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5200   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5201   uclibc=yes
5202 else
5203   uclibc=no
5204 fi
5205 rm -f conftest*
5206
5207
5208   # Find platform-specific directories containing configuration info.
5209   # Also possibly modify flags used elsewhere, as needed by the platform.
5210
5211   . $glibcxx_srcdir/configure.host
5212   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5213 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5215 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5216
5217
5218
5219 if test "x${with_newlib}" != "xyes"; then
5220   enable_dlopen=yes
5221
5222
5223
5224 fi
5225 case `pwd` in
5226   *\ * | *\     *)
5227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5228 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5229 esac
5230
5231
5232
5233 macro_version='2.2.7a'
5234 macro_revision='1.3134'
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248 ltmain="$ac_aux_dir/ltmain.sh"
5249
5250 # Backslashify metacharacters that are still active within
5251 # double-quoted strings.
5252 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5253
5254 # Same as above, but do not quote variable references.
5255 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5256
5257 # Sed substitution to delay expansion of an escaped shell variable in a
5258 # double_quote_subst'ed string.
5259 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5260
5261 # Sed substitution to delay expansion of an escaped single quote.
5262 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5263
5264 # Sed substitution to avoid accidental globbing in evaled expressions
5265 no_glob_subst='s/\*/\\\*/g'
5266
5267 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5268 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5270
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5272 $as_echo_n "checking how to print strings... " >&6; }
5273 # Test print first, because it will be a builtin if present.
5274 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5275    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5276   ECHO='print -r --'
5277 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5278   ECHO='printf %s\n'
5279 else
5280   # Use this function as a fallback that always works.
5281   func_fallback_echo ()
5282   {
5283     eval 'cat <<_LTECHO_EOF
5284 $1
5285 _LTECHO_EOF'
5286   }
5287   ECHO='func_fallback_echo'
5288 fi
5289
5290 # func_echo_all arg...
5291 # Invoke $ECHO with all args, space-separated.
5292 func_echo_all ()
5293 {
5294     $ECHO ""
5295 }
5296
5297 case "$ECHO" in
5298   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5299 $as_echo "printf" >&6; } ;;
5300   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5301 $as_echo "print -r" >&6; } ;;
5302   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5303 $as_echo "cat" >&6; } ;;
5304 esac
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5320 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5321 if test "${ac_cv_path_SED+set}" = set; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5325      for ac_i in 1 2 3 4 5 6 7; do
5326        ac_script="$ac_script$as_nl$ac_script"
5327      done
5328      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5329      { ac_script=; unset ac_script;}
5330      if test -z "$SED"; then
5331   ac_path_SED_found=false
5332   # Loop through the user's path and test for each of PROGNAME-LIST
5333   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5335 do
5336   IFS=$as_save_IFS
5337   test -z "$as_dir" && as_dir=.
5338     for ac_prog in sed gsed; do
5339     for ac_exec_ext in '' $ac_executable_extensions; do
5340       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5341       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5342 # Check for GNU ac_path_SED and select it if it is found.
5343   # Check for GNU $ac_path_SED
5344 case `"$ac_path_SED" --version 2>&1` in
5345 *GNU*)
5346   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5347 *)
5348   ac_count=0
5349   $as_echo_n 0123456789 >"conftest.in"
5350   while :
5351   do
5352     cat "conftest.in" "conftest.in" >"conftest.tmp"
5353     mv "conftest.tmp" "conftest.in"
5354     cp "conftest.in" "conftest.nl"
5355     $as_echo '' >> "conftest.nl"
5356     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5357     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5358     as_fn_arith $ac_count + 1 && ac_count=$as_val
5359     if test $ac_count -gt ${ac_path_SED_max-0}; then
5360       # Best one so far, save it but keep looking for a better one
5361       ac_cv_path_SED="$ac_path_SED"
5362       ac_path_SED_max=$ac_count
5363     fi
5364     # 10*(2^10) chars as input seems more than enough
5365     test $ac_count -gt 10 && break
5366   done
5367   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5368 esac
5369
5370       $ac_path_SED_found && break 3
5371     done
5372   done
5373   done
5374 IFS=$as_save_IFS
5375   if test -z "$ac_cv_path_SED"; then
5376     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5377   fi
5378 else
5379   ac_cv_path_SED=$SED
5380 fi
5381
5382 fi
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5384 $as_echo "$ac_cv_path_SED" >&6; }
5385  SED="$ac_cv_path_SED"
5386   rm -f conftest.sed
5387
5388 test -z "$SED" && SED=sed
5389 Xsed="$SED -e 1s/^X//"
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5402 $as_echo_n "checking for fgrep... " >&6; }
5403 if test "${ac_cv_path_FGREP+set}" = set; then :
5404   $as_echo_n "(cached) " >&6
5405 else
5406   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5407    then ac_cv_path_FGREP="$GREP -F"
5408    else
5409      if test -z "$FGREP"; then
5410   ac_path_FGREP_found=false
5411   # Loop through the user's path and test for each of PROGNAME-LIST
5412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_prog in fgrep; do
5418     for ac_exec_ext in '' $ac_executable_extensions; do
5419       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5420       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5421 # Check for GNU ac_path_FGREP and select it if it is found.
5422   # Check for GNU $ac_path_FGREP
5423 case `"$ac_path_FGREP" --version 2>&1` in
5424 *GNU*)
5425   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5426 *)
5427   ac_count=0
5428   $as_echo_n 0123456789 >"conftest.in"
5429   while :
5430   do
5431     cat "conftest.in" "conftest.in" >"conftest.tmp"
5432     mv "conftest.tmp" "conftest.in"
5433     cp "conftest.in" "conftest.nl"
5434     $as_echo 'FGREP' >> "conftest.nl"
5435     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437     as_fn_arith $ac_count + 1 && ac_count=$as_val
5438     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5439       # Best one so far, save it but keep looking for a better one
5440       ac_cv_path_FGREP="$ac_path_FGREP"
5441       ac_path_FGREP_max=$ac_count
5442     fi
5443     # 10*(2^10) chars as input seems more than enough
5444     test $ac_count -gt 10 && break
5445   done
5446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449       $ac_path_FGREP_found && break 3
5450     done
5451   done
5452   done
5453 IFS=$as_save_IFS
5454   if test -z "$ac_cv_path_FGREP"; then
5455     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5456   fi
5457 else
5458   ac_cv_path_FGREP=$FGREP
5459 fi
5460
5461    fi
5462 fi
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5464 $as_echo "$ac_cv_path_FGREP" >&6; }
5465  FGREP="$ac_cv_path_FGREP"
5466
5467
5468 test -z "$GREP" && GREP=grep
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488 # Check whether --with-gnu-ld was given.
5489 if test "${with_gnu_ld+set}" = set; then :
5490   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5491 else
5492   with_gnu_ld=no
5493 fi
5494
5495 ac_prog=ld
5496 if test "$GCC" = yes; then
5497   # Check if gcc -print-prog-name=ld gives a path.
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5499 $as_echo_n "checking for ld used by $CC... " >&6; }
5500   case $host in
5501   *-*-mingw*)
5502     # gcc leaves a trailing carriage return which upsets mingw
5503     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5504   *)
5505     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5506   esac
5507   case $ac_prog in
5508     # Accept absolute paths.
5509     [\\/]* | ?:[\\/]*)
5510       re_direlt='/[^/][^/]*/\.\./'
5511       # Canonicalize the pathname of ld
5512       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5513       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5514         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5515       done
5516       test -z "$LD" && LD="$ac_prog"
5517       ;;
5518   "")
5519     # If it fails, then pretend we aren't using GCC.
5520     ac_prog=ld
5521     ;;
5522   *)
5523     # If it is relative, then search for the first ld in PATH.
5524     with_gnu_ld=unknown
5525     ;;
5526   esac
5527 elif test "$with_gnu_ld" = yes; then
5528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5529 $as_echo_n "checking for GNU ld... " >&6; }
5530 else
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5532 $as_echo_n "checking for non-GNU ld... " >&6; }
5533 fi
5534 if test "${lt_cv_path_LD+set}" = set; then :
5535   $as_echo_n "(cached) " >&6
5536 else
5537   if test -z "$LD"; then
5538   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5539   for ac_dir in $PATH; do
5540     IFS="$lt_save_ifs"
5541     test -z "$ac_dir" && ac_dir=.
5542     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5543       lt_cv_path_LD="$ac_dir/$ac_prog"
5544       # Check to see if the program is GNU ld.  I'd rather use --version,
5545       # but apparently some variants of GNU ld only accept -v.
5546       # Break only if it was the GNU/non-GNU ld that we prefer.
5547       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5548       *GNU* | *'with BFD'*)
5549         test "$with_gnu_ld" != no && break
5550         ;;
5551       *)
5552         test "$with_gnu_ld" != yes && break
5553         ;;
5554       esac
5555     fi
5556   done
5557   IFS="$lt_save_ifs"
5558 else
5559   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5560 fi
5561 fi
5562
5563 LD="$lt_cv_path_LD"
5564 if test -n "$LD"; then
5565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5566 $as_echo "$LD" >&6; }
5567 else
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 fi
5571 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5573 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5574 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5575   $as_echo_n "(cached) " >&6
5576 else
5577   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5578 case `$LD -v 2>&1 </dev/null` in
5579 *GNU* | *'with BFD'*)
5580   lt_cv_prog_gnu_ld=yes
5581   ;;
5582 *)
5583   lt_cv_prog_gnu_ld=no
5584   ;;
5585 esac
5586 fi
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5588 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5589 with_gnu_ld=$lt_cv_prog_gnu_ld
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5600 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5601 if test "${lt_cv_path_NM+set}" = set; then :
5602   $as_echo_n "(cached) " >&6
5603 else
5604   if test -n "$NM"; then
5605   # Let the user override the test.
5606   lt_cv_path_NM="$NM"
5607 else
5608   lt_nm_to_check="${ac_tool_prefix}nm"
5609   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5610     lt_nm_to_check="$lt_nm_to_check nm"
5611   fi
5612   for lt_tmp_nm in $lt_nm_to_check; do
5613     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5614     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5615       IFS="$lt_save_ifs"
5616       test -z "$ac_dir" && ac_dir=.
5617       tmp_nm="$ac_dir/$lt_tmp_nm"
5618       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5619         # Check to see if the nm accepts a BSD-compat flag.
5620         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5621         #   nm: unknown option "B" ignored
5622         # Tru64's nm complains that /dev/null is an invalid object file
5623         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5624         */dev/null* | *'Invalid file or object type'*)
5625           lt_cv_path_NM="$tmp_nm -B"
5626           break
5627           ;;
5628         *)
5629           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5630           */dev/null*)
5631             lt_cv_path_NM="$tmp_nm -p"
5632             break
5633             ;;
5634           *)
5635             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5636             continue # so that we can try to find one that supports BSD flags
5637             ;;
5638           esac
5639           ;;
5640         esac
5641       fi
5642     done
5643     IFS="$lt_save_ifs"
5644   done
5645   : ${lt_cv_path_NM=no}
5646 fi
5647 fi
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5649 $as_echo "$lt_cv_path_NM" >&6; }
5650 if test "$lt_cv_path_NM" != "no"; then
5651   NM="$lt_cv_path_NM"
5652 else
5653   # Didn't find any BSD compatible name lister, look for dumpbin.
5654   if test -n "$DUMPBIN"; then :
5655     # Let the user override the test.
5656   else
5657     if test -n "$ac_tool_prefix"; then
5658   for ac_prog in dumpbin "link -dump"
5659   do
5660     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   if test -n "$DUMPBIN"; then
5668   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5672 do
5673   IFS=$as_save_IFS
5674   test -z "$as_dir" && as_dir=.
5675     for ac_exec_ext in '' $ac_executable_extensions; do
5676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679     break 2
5680   fi
5681 done
5682   done
5683 IFS=$as_save_IFS
5684
5685 fi
5686 fi
5687 DUMPBIN=$ac_cv_prog_DUMPBIN
5688 if test -n "$DUMPBIN"; then
5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5690 $as_echo "$DUMPBIN" >&6; }
5691 else
5692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5694 fi
5695
5696
5697     test -n "$DUMPBIN" && break
5698   done
5699 fi
5700 if test -z "$DUMPBIN"; then
5701   ac_ct_DUMPBIN=$DUMPBIN
5702   for ac_prog in dumpbin "link -dump"
5703 do
5704   # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   if test -n "$ac_ct_DUMPBIN"; then
5712   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5716 do
5717   IFS=$as_save_IFS
5718   test -z "$as_dir" && as_dir=.
5719     for ac_exec_ext in '' $ac_executable_extensions; do
5720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723     break 2
5724   fi
5725 done
5726   done
5727 IFS=$as_save_IFS
5728
5729 fi
5730 fi
5731 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5732 if test -n "$ac_ct_DUMPBIN"; then
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5734 $as_echo "$ac_ct_DUMPBIN" >&6; }
5735 else
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5738 fi
5739
5740
5741   test -n "$ac_ct_DUMPBIN" && break
5742 done
5743
5744   if test "x$ac_ct_DUMPBIN" = x; then
5745     DUMPBIN=":"
5746   else
5747     case $cross_compiling:$ac_tool_warned in
5748 yes:)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5751 ac_tool_warned=yes ;;
5752 esac
5753     DUMPBIN=$ac_ct_DUMPBIN
5754   fi
5755 fi
5756
5757     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5758     *COFF*)
5759       DUMPBIN="$DUMPBIN -symbols"
5760       ;;
5761     *)
5762       DUMPBIN=:
5763       ;;
5764     esac
5765   fi
5766
5767   if test "$DUMPBIN" != ":"; then
5768     NM="$DUMPBIN"
5769   fi
5770 fi
5771 test -z "$NM" && NM=nm
5772
5773
5774
5775
5776
5777
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5779 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5780 if test "${lt_cv_nm_interface+set}" = set; then :
5781   $as_echo_n "(cached) " >&6
5782 else
5783   lt_cv_nm_interface="BSD nm"
5784   echo "int some_variable = 0;" > conftest.$ac_ext
5785   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5786   (eval "$ac_compile" 2>conftest.err)
5787   cat conftest.err >&5
5788   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5789   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5790   cat conftest.err >&5
5791   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5792   cat conftest.out >&5
5793   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5794     lt_cv_nm_interface="MS dumpbin"
5795   fi
5796   rm -f conftest*
5797 fi
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5799 $as_echo "$lt_cv_nm_interface" >&6; }
5800
5801 # find the maximum length of command line arguments
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5803 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5804 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5805   $as_echo_n "(cached) " >&6
5806 else
5807     i=0
5808   teststring="ABCD"
5809
5810   case $build_os in
5811   msdosdjgpp*)
5812     # On DJGPP, this test can blow up pretty badly due to problems in libc
5813     # (any single argument exceeding 2000 bytes causes a buffer overrun
5814     # during glob expansion).  Even if it were fixed, the result of this
5815     # check would be larger than it should be.
5816     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5817     ;;
5818
5819   gnu*)
5820     # Under GNU Hurd, this test is not required because there is
5821     # no limit to the length of command line arguments.
5822     # Libtool will interpret -1 as no limit whatsoever
5823     lt_cv_sys_max_cmd_len=-1;
5824     ;;
5825
5826   cygwin* | mingw* | cegcc*)
5827     # On Win9x/ME, this test blows up -- it succeeds, but takes
5828     # about 5 minutes as the teststring grows exponentially.
5829     # Worse, since 9x/ME are not pre-emptively multitasking,
5830     # you end up with a "frozen" computer, even though with patience
5831     # the test eventually succeeds (with a max line length of 256k).
5832     # Instead, let's just punt: use the minimum linelength reported by
5833     # all of the supported platforms: 8192 (on NT/2K/XP).
5834     lt_cv_sys_max_cmd_len=8192;
5835     ;;
5836
5837   mint*)
5838     # On MiNT this can take a long time and run out of memory.
5839     lt_cv_sys_max_cmd_len=8192;
5840     ;;
5841
5842   amigaos*)
5843     # On AmigaOS with pdksh, this test takes hours, literally.
5844     # So we just punt and use a minimum line length of 8192.
5845     lt_cv_sys_max_cmd_len=8192;
5846     ;;
5847
5848   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5849     # This has been around since 386BSD, at least.  Likely further.
5850     if test -x /sbin/sysctl; then
5851       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5852     elif test -x /usr/sbin/sysctl; then
5853       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5854     else
5855       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5856     fi
5857     # And add a safety zone
5858     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5859     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5860     ;;
5861
5862   interix*)
5863     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5864     lt_cv_sys_max_cmd_len=196608
5865     ;;
5866
5867   osf*)
5868     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5869     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5870     # nice to cause kernel panics so lets avoid the loop below.
5871     # First set a reasonable default.
5872     lt_cv_sys_max_cmd_len=16384
5873     #
5874     if test -x /sbin/sysconfig; then
5875       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5876         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5877       esac
5878     fi
5879     ;;
5880   sco3.2v5*)
5881     lt_cv_sys_max_cmd_len=102400
5882     ;;
5883   sysv5* | sco5v6* | sysv4.2uw2*)
5884     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5885     if test -n "$kargmax"; then
5886       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5887     else
5888       lt_cv_sys_max_cmd_len=32768
5889     fi
5890     ;;
5891   *)
5892     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5893     if test -n "$lt_cv_sys_max_cmd_len"; then
5894       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5895       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5896     else
5897       # Make teststring a little bigger before we do anything with it.
5898       # a 1K string should be a reasonable start.
5899       for i in 1 2 3 4 5 6 7 8 ; do
5900         teststring=$teststring$teststring
5901       done
5902       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5903       # If test is not a shell built-in, we'll probably end up computing a
5904       # maximum length that is only half of the actual maximum length, but
5905       # we can't tell.
5906       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5907                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5908               test $i != 17 # 1/2 MB should be enough
5909       do
5910         i=`expr $i + 1`
5911         teststring=$teststring$teststring
5912       done
5913       # Only check the string length outside the loop.
5914       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5915       teststring=
5916       # Add a significant safety factor because C++ compilers can tack on
5917       # massive amounts of additional arguments before passing them to the
5918       # linker.  It appears as though 1/2 is a usable value.
5919       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5920     fi
5921     ;;
5922   esac
5923
5924 fi
5925
5926 if test -n $lt_cv_sys_max_cmd_len ; then
5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5928 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5929 else
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5931 $as_echo "none" >&6; }
5932 fi
5933 max_cmd_len=$lt_cv_sys_max_cmd_len
5934
5935
5936
5937
5938
5939
5940 : ${CP="cp -f"}
5941 : ${MV="mv -f"}
5942 : ${RM="rm -f"}
5943
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5945 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5946 # Try some XSI features
5947 xsi_shell=no
5948 ( _lt_dummy="a/b/c"
5949   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5950       = c,a/b,, \
5951     && eval 'test $(( 1 + 1 )) -eq 2 \
5952     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5953   && xsi_shell=yes
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5955 $as_echo "$xsi_shell" >&6; }
5956
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5959 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5960 lt_shell_append=no
5961 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5962     >/dev/null 2>&1 \
5963   && lt_shell_append=yes
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5965 $as_echo "$lt_shell_append" >&6; }
5966
5967
5968 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5969   lt_unset=unset
5970 else
5971   lt_unset=false
5972 fi
5973
5974
5975
5976
5977
5978 # test EBCDIC or ASCII
5979 case `echo X|tr X '\101'` in
5980  A) # ASCII based system
5981     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5982   lt_SP2NL='tr \040 \012'
5983   lt_NL2SP='tr \015\012 \040\040'
5984   ;;
5985  *) # EBCDIC based system
5986   lt_SP2NL='tr \100 \n'
5987   lt_NL2SP='tr \r\n \100\100'
5988   ;;
5989 esac
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6000 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6001 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6002   $as_echo_n "(cached) " >&6
6003 else
6004   lt_cv_ld_reload_flag='-r'
6005 fi
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6007 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6008 reload_flag=$lt_cv_ld_reload_flag
6009 case $reload_flag in
6010 "" | " "*) ;;
6011 *) reload_flag=" $reload_flag" ;;
6012 esac
6013 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6014 case $host_os in
6015   darwin*)
6016     if test "$GCC" = yes; then
6017       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6018     else
6019       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6020     fi
6021     ;;
6022 esac
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032 if test -n "$ac_tool_prefix"; then
6033   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6034 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6038   $as_echo_n "(cached) " >&6
6039 else
6040   if test -n "$OBJDUMP"; then
6041   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6045 do
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052     break 2
6053   fi
6054 done
6055   done
6056 IFS=$as_save_IFS
6057
6058 fi
6059 fi
6060 OBJDUMP=$ac_cv_prog_OBJDUMP
6061 if test -n "$OBJDUMP"; then
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6063 $as_echo "$OBJDUMP" >&6; }
6064 else
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6067 fi
6068
6069
6070 fi
6071 if test -z "$ac_cv_prog_OBJDUMP"; then
6072   ac_ct_OBJDUMP=$OBJDUMP
6073   # Extract the first word of "objdump", so it can be a program name with args.
6074 set dummy objdump; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6078   $as_echo_n "(cached) " >&6
6079 else
6080   if test -n "$ac_ct_OBJDUMP"; then
6081   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6085 do
6086   IFS=$as_save_IFS
6087   test -z "$as_dir" && as_dir=.
6088     for ac_exec_ext in '' $ac_executable_extensions; do
6089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092     break 2
6093   fi
6094 done
6095   done
6096 IFS=$as_save_IFS
6097
6098 fi
6099 fi
6100 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6101 if test -n "$ac_ct_OBJDUMP"; then
6102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6103 $as_echo "$ac_ct_OBJDUMP" >&6; }
6104 else
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6107 fi
6108
6109   if test "x$ac_ct_OBJDUMP" = x; then
6110     OBJDUMP="false"
6111   else
6112     case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118     OBJDUMP=$ac_ct_OBJDUMP
6119   fi
6120 else
6121   OBJDUMP="$ac_cv_prog_OBJDUMP"
6122 fi
6123
6124 test -z "$OBJDUMP" && OBJDUMP=objdump
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6135 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6136 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6137   $as_echo_n "(cached) " >&6
6138 else
6139   lt_cv_file_magic_cmd='$MAGIC_CMD'
6140 lt_cv_file_magic_test_file=
6141 lt_cv_deplibs_check_method='unknown'
6142 # Need to set the preceding variable on all platforms that support
6143 # interlibrary dependencies.
6144 # 'none' -- dependencies not supported.
6145 # `unknown' -- same as none, but documents that we really don't know.
6146 # 'pass_all' -- all dependencies passed with no checks.
6147 # 'test_compile' -- check by making test program.
6148 # 'file_magic [[regex]]' -- check by looking for files in library path
6149 # which responds to the $file_magic_cmd with a given extended regex.
6150 # If you have `file' or equivalent on your system and you're not sure
6151 # whether `pass_all' will *always* work, you probably want this one.
6152
6153 case $host_os in
6154 aix[4-9]*)
6155   lt_cv_deplibs_check_method=pass_all
6156   ;;
6157
6158 beos*)
6159   lt_cv_deplibs_check_method=pass_all
6160   ;;
6161
6162 bsdi[45]*)
6163   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6164   lt_cv_file_magic_cmd='/usr/bin/file -L'
6165   lt_cv_file_magic_test_file=/shlib/libc.so
6166   ;;
6167
6168 cygwin*)
6169   # func_win32_libid is a shell function defined in ltmain.sh
6170   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6171   lt_cv_file_magic_cmd='func_win32_libid'
6172   ;;
6173
6174 mingw* | pw32*)
6175   # Base MSYS/MinGW do not provide the 'file' command needed by
6176   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6177   # unless we find 'file', for example because we are cross-compiling.
6178   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6179   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6180     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6181     lt_cv_file_magic_cmd='func_win32_libid'
6182   else
6183     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6184     lt_cv_file_magic_cmd='$OBJDUMP -f'
6185   fi
6186   ;;
6187
6188 cegcc*)
6189   # use the weaker test based on 'objdump'. See mingw*.
6190   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6191   lt_cv_file_magic_cmd='$OBJDUMP -f'
6192   ;;
6193
6194 darwin* | rhapsody*)
6195   lt_cv_deplibs_check_method=pass_all
6196   ;;
6197
6198 freebsd* | dragonfly*)
6199   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6200     case $host_cpu in
6201     i*86 )
6202       # Not sure whether the presence of OpenBSD here was a mistake.
6203       # Let's accept both of them until this is cleared up.
6204       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6205       lt_cv_file_magic_cmd=/usr/bin/file
6206       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6207       ;;
6208     esac
6209   else
6210     lt_cv_deplibs_check_method=pass_all
6211   fi
6212   ;;
6213
6214 gnu*)
6215   lt_cv_deplibs_check_method=pass_all
6216   ;;
6217
6218 haiku*)
6219   lt_cv_deplibs_check_method=pass_all
6220   ;;
6221
6222 hpux10.20* | hpux11*)
6223   lt_cv_file_magic_cmd=/usr/bin/file
6224   case $host_cpu in
6225   ia64*)
6226     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6227     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6228     ;;
6229   hppa*64*)
6230     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]'
6231     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6232     ;;
6233   *)
6234     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6235     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6236     ;;
6237   esac
6238   ;;
6239
6240 interix[3-9]*)
6241   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6242   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6243   ;;
6244
6245 irix5* | irix6* | nonstopux*)
6246   case $LD in
6247   *-32|*"-32 ") libmagic=32-bit;;
6248   *-n32|*"-n32 ") libmagic=N32;;
6249   *-64|*"-64 ") libmagic=64-bit;;
6250   *) libmagic=never-match;;
6251   esac
6252   lt_cv_deplibs_check_method=pass_all
6253   ;;
6254
6255 # This must be Linux ELF.
6256 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6257   lt_cv_deplibs_check_method=pass_all
6258   ;;
6259
6260 netbsd*)
6261   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6262     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6263   else
6264     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6265   fi
6266   ;;
6267
6268 newos6*)
6269   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6270   lt_cv_file_magic_cmd=/usr/bin/file
6271   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6272   ;;
6273
6274 *nto* | *qnx*)
6275   lt_cv_deplibs_check_method=pass_all
6276   ;;
6277
6278 openbsd*)
6279   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6280     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6281   else
6282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6283   fi
6284   ;;
6285
6286 osf3* | osf4* | osf5*)
6287   lt_cv_deplibs_check_method=pass_all
6288   ;;
6289
6290 rdos*)
6291   lt_cv_deplibs_check_method=pass_all
6292   ;;
6293
6294 solaris*)
6295   lt_cv_deplibs_check_method=pass_all
6296   ;;
6297
6298 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6299   lt_cv_deplibs_check_method=pass_all
6300   ;;
6301
6302 sysv4 | sysv4.3*)
6303   case $host_vendor in
6304   motorola)
6305     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]'
6306     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6307     ;;
6308   ncr)
6309     lt_cv_deplibs_check_method=pass_all
6310     ;;
6311   sequent)
6312     lt_cv_file_magic_cmd='/bin/file'
6313     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6314     ;;
6315   sni)
6316     lt_cv_file_magic_cmd='/bin/file'
6317     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6318     lt_cv_file_magic_test_file=/lib/libc.so
6319     ;;
6320   siemens)
6321     lt_cv_deplibs_check_method=pass_all
6322     ;;
6323   pc)
6324     lt_cv_deplibs_check_method=pass_all
6325     ;;
6326   esac
6327   ;;
6328
6329 tpf*)
6330   lt_cv_deplibs_check_method=pass_all
6331   ;;
6332 esac
6333
6334 fi
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6336 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6337 file_magic_cmd=$lt_cv_file_magic_cmd
6338 deplibs_check_method=$lt_cv_deplibs_check_method
6339 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352 if test -n "$ac_tool_prefix"; then
6353   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6354 set dummy ${ac_tool_prefix}ar; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if test "${ac_cv_prog_AR+set}" = set; then :
6358   $as_echo_n "(cached) " >&6
6359 else
6360   if test -n "$AR"; then
6361   ac_cv_prog_AR="$AR" # Let the user override the test.
6362 else
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH
6365 do
6366   IFS=$as_save_IFS
6367   test -z "$as_dir" && as_dir=.
6368     for ac_exec_ext in '' $ac_executable_extensions; do
6369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370     ac_cv_prog_AR="${ac_tool_prefix}ar"
6371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372     break 2
6373   fi
6374 done
6375   done
6376 IFS=$as_save_IFS
6377
6378 fi
6379 fi
6380 AR=$ac_cv_prog_AR
6381 if test -n "$AR"; then
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6383 $as_echo "$AR" >&6; }
6384 else
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6387 fi
6388
6389
6390 fi
6391 if test -z "$ac_cv_prog_AR"; then
6392   ac_ct_AR=$AR
6393   # Extract the first word of "ar", so it can be a program name with args.
6394 set dummy ar; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   if test -n "$ac_ct_AR"; then
6401   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6405 do
6406   IFS=$as_save_IFS
6407   test -z "$as_dir" && as_dir=.
6408     for ac_exec_ext in '' $ac_executable_extensions; do
6409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410     ac_cv_prog_ac_ct_AR="ar"
6411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412     break 2
6413   fi
6414 done
6415   done
6416 IFS=$as_save_IFS
6417
6418 fi
6419 fi
6420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6421 if test -n "$ac_ct_AR"; then
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6423 $as_echo "$ac_ct_AR" >&6; }
6424 else
6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6427 fi
6428
6429   if test "x$ac_ct_AR" = x; then
6430     AR="false"
6431   else
6432     case $cross_compiling:$ac_tool_warned in
6433 yes:)
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436 ac_tool_warned=yes ;;
6437 esac
6438     AR=$ac_ct_AR
6439   fi
6440 else
6441   AR="$ac_cv_prog_AR"
6442 fi
6443
6444 test -z "$AR" && AR=ar
6445 test -z "$AR_FLAGS" && AR_FLAGS=cru
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457 if test -n "$ac_tool_prefix"; then
6458   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6459 set dummy ${ac_tool_prefix}strip; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if test "${ac_cv_prog_STRIP+set}" = set; then :
6463   $as_echo_n "(cached) " >&6
6464 else
6465   if test -n "$STRIP"; then
6466   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6467 else
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $PATH
6470 do
6471   IFS=$as_save_IFS
6472   test -z "$as_dir" && as_dir=.
6473     for ac_exec_ext in '' $ac_executable_extensions; do
6474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477     break 2
6478   fi
6479 done
6480   done
6481 IFS=$as_save_IFS
6482
6483 fi
6484 fi
6485 STRIP=$ac_cv_prog_STRIP
6486 if test -n "$STRIP"; then
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6488 $as_echo "$STRIP" >&6; }
6489 else
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6492 fi
6493
6494
6495 fi
6496 if test -z "$ac_cv_prog_STRIP"; then
6497   ac_ct_STRIP=$STRIP
6498   # Extract the first word of "strip", so it can be a program name with args.
6499 set dummy strip; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6503   $as_echo_n "(cached) " >&6
6504 else
6505   if test -n "$ac_ct_STRIP"; then
6506   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6510 do
6511   IFS=$as_save_IFS
6512   test -z "$as_dir" && as_dir=.
6513     for ac_exec_ext in '' $ac_executable_extensions; do
6514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515     ac_cv_prog_ac_ct_STRIP="strip"
6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517     break 2
6518   fi
6519 done
6520   done
6521 IFS=$as_save_IFS
6522
6523 fi
6524 fi
6525 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6526 if test -n "$ac_ct_STRIP"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6528 $as_echo "$ac_ct_STRIP" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6532 fi
6533
6534   if test "x$ac_ct_STRIP" = x; then
6535     STRIP=":"
6536   else
6537     case $cross_compiling:$ac_tool_warned in
6538 yes:)
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6541 ac_tool_warned=yes ;;
6542 esac
6543     STRIP=$ac_ct_STRIP
6544   fi
6545 else
6546   STRIP="$ac_cv_prog_STRIP"
6547 fi
6548
6549 test -z "$STRIP" && STRIP=:
6550
6551
6552
6553
6554
6555
6556 if test -n "$ac_tool_prefix"; then
6557   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6562   $as_echo_n "(cached) " >&6
6563 else
6564   if test -n "$RANLIB"; then
6565   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6569 do
6570   IFS=$as_save_IFS
6571   test -z "$as_dir" && as_dir=.
6572     for ac_exec_ext in '' $ac_executable_extensions; do
6573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576     break 2
6577   fi
6578 done
6579   done
6580 IFS=$as_save_IFS
6581
6582 fi
6583 fi
6584 RANLIB=$ac_cv_prog_RANLIB
6585 if test -n "$RANLIB"; then
6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6587 $as_echo "$RANLIB" >&6; }
6588 else
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6591 fi
6592
6593
6594 fi
6595 if test -z "$ac_cv_prog_RANLIB"; then
6596   ac_ct_RANLIB=$RANLIB
6597   # Extract the first word of "ranlib", so it can be a program name with args.
6598 set dummy ranlib; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6602   $as_echo_n "(cached) " >&6
6603 else
6604   if test -n "$ac_ct_RANLIB"; then
6605   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6609 do
6610   IFS=$as_save_IFS
6611   test -z "$as_dir" && as_dir=.
6612     for ac_exec_ext in '' $ac_executable_extensions; do
6613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6614     ac_cv_prog_ac_ct_RANLIB="ranlib"
6615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616     break 2
6617   fi
6618 done
6619   done
6620 IFS=$as_save_IFS
6621
6622 fi
6623 fi
6624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6625 if test -n "$ac_ct_RANLIB"; then
6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6627 $as_echo "$ac_ct_RANLIB" >&6; }
6628 else
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6631 fi
6632
6633   if test "x$ac_ct_RANLIB" = x; then
6634     RANLIB=":"
6635   else
6636     case $cross_compiling:$ac_tool_warned in
6637 yes:)
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6640 ac_tool_warned=yes ;;
6641 esac
6642     RANLIB=$ac_ct_RANLIB
6643   fi
6644 else
6645   RANLIB="$ac_cv_prog_RANLIB"
6646 fi
6647
6648 test -z "$RANLIB" && RANLIB=:
6649
6650
6651
6652
6653
6654
6655 # Determine commands to create old-style static archives.
6656 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6657 old_postinstall_cmds='chmod 644 $oldlib'
6658 old_postuninstall_cmds=
6659
6660 if test -n "$RANLIB"; then
6661   case $host_os in
6662   openbsd*)
6663     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6664     ;;
6665   *)
6666     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6667     ;;
6668   esac
6669   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6670 fi
6671
6672 case $host_os in
6673   darwin*)
6674     lock_old_archive_extraction=yes ;;
6675   *)
6676     lock_old_archive_extraction=no ;;
6677 esac
6678
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 # If no C compiler was specified, use CC.
6718 LTCC=${LTCC-"$CC"}
6719
6720 # If no C compiler flags were specified, use CFLAGS.
6721 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6722
6723 # Allow CC to be a program name with arguments.
6724 compiler=$CC
6725
6726
6727 # Check for command to grab the raw symbol name followed by C symbol from nm.
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6729 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6730 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6731   $as_echo_n "(cached) " >&6
6732 else
6733
6734 # These are sane defaults that work on at least a few old systems.
6735 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6736
6737 # Character class describing NM global symbol codes.
6738 symcode='[BCDEGRST]'
6739
6740 # Regexp to match symbols that can be accessed directly from C.
6741 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6742
6743 # Define system-specific variables.
6744 case $host_os in
6745 aix*)
6746   symcode='[BCDT]'
6747   ;;
6748 cygwin* | mingw* | pw32* | cegcc*)
6749   symcode='[ABCDGISTW]'
6750   ;;
6751 hpux*)
6752   if test "$host_cpu" = ia64; then
6753     symcode='[ABCDEGRST]'
6754   fi
6755   ;;
6756 irix* | nonstopux*)
6757   symcode='[BCDEGRST]'
6758   ;;
6759 osf*)
6760   symcode='[BCDEGQRST]'
6761   ;;
6762 solaris*)
6763   symcode='[BDRT]'
6764   ;;
6765 sco3.2v5*)
6766   symcode='[DT]'
6767   ;;
6768 sysv4.2uw2*)
6769   symcode='[DT]'
6770   ;;
6771 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6772   symcode='[ABDT]'
6773   ;;
6774 sysv4)
6775   symcode='[DFNSTU]'
6776   ;;
6777 esac
6778
6779 # If we're using GNU nm, then use its standard symbol codes.
6780 case `$NM -V 2>&1` in
6781 *GNU* | *'with BFD'*)
6782   symcode='[ABCDGIRSTW]' ;;
6783 esac
6784
6785 # Transform an extracted symbol line into a proper C declaration.
6786 # Some systems (esp. on ia64) link data and code symbols differently,
6787 # so use this general approach.
6788 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6789
6790 # Transform an extracted symbol line into symbol name and symbol address
6791 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6792 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'"
6793
6794 # Handle CRLF in mingw tool chain
6795 opt_cr=
6796 case $build_os in
6797 mingw*)
6798   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6799   ;;
6800 esac
6801
6802 # Try without a prefix underscore, then with it.
6803 for ac_symprfx in "" "_"; do
6804
6805   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6806   symxfrm="\\1 $ac_symprfx\\2 \\2"
6807
6808   # Write the raw and C identifiers.
6809   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6810     # Fake it for dumpbin and say T for any non-static function
6811     # and D for any global variable.
6812     # Also find C++ and __fastcall symbols from MSVC++,
6813     # which start with @ or ?.
6814     lt_cv_sys_global_symbol_pipe="$AWK '"\
6815 "     {last_section=section; section=\$ 3};"\
6816 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6817 "     \$ 0!~/External *\|/{next};"\
6818 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6819 "     {if(hide[section]) next};"\
6820 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6821 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6822 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6823 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6824 "     ' prfx=^$ac_symprfx"
6825   else
6826     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6827   fi
6828
6829   # Check to see that the pipe works correctly.
6830   pipe_works=no
6831
6832   rm -f conftest*
6833   cat > conftest.$ac_ext <<_LT_EOF
6834 #ifdef __cplusplus
6835 extern "C" {
6836 #endif
6837 char nm_test_var;
6838 void nm_test_func(void);
6839 void nm_test_func(void){}
6840 #ifdef __cplusplus
6841 }
6842 #endif
6843 int main(){nm_test_var='a';nm_test_func();return(0);}
6844 _LT_EOF
6845
6846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847   (eval $ac_compile) 2>&5
6848   ac_status=$?
6849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850   test $ac_status = 0; }; then
6851     # Now try to grab the symbols.
6852     nlist=conftest.nm
6853     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6854   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6855   ac_status=$?
6856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6857   test $ac_status = 0; } && test -s "$nlist"; then
6858       # Try sorting and uniquifying the output.
6859       if sort "$nlist" | uniq > "$nlist"T; then
6860         mv -f "$nlist"T "$nlist"
6861       else
6862         rm -f "$nlist"T
6863       fi
6864
6865       # Make sure that we snagged all the symbols we need.
6866       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6867         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6868           cat <<_LT_EOF > conftest.$ac_ext
6869 #ifdef __cplusplus
6870 extern "C" {
6871 #endif
6872
6873 _LT_EOF
6874           # Now generate the symbol file.
6875           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6876
6877           cat <<_LT_EOF >> conftest.$ac_ext
6878
6879 /* The mapping between symbol names and symbols.  */
6880 const struct {
6881   const char *name;
6882   void       *address;
6883 }
6884 lt__PROGRAM__LTX_preloaded_symbols[] =
6885 {
6886   { "@PROGRAM@", (void *) 0 },
6887 _LT_EOF
6888           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6889           cat <<\_LT_EOF >> conftest.$ac_ext
6890   {0, (void *) 0}
6891 };
6892
6893 /* This works around a problem in FreeBSD linker */
6894 #ifdef FREEBSD_WORKAROUND
6895 static const void *lt_preloaded_setup() {
6896   return lt__PROGRAM__LTX_preloaded_symbols;
6897 }
6898 #endif
6899
6900 #ifdef __cplusplus
6901 }
6902 #endif
6903 _LT_EOF
6904           # Now try linking the two files.
6905           mv conftest.$ac_objext conftstm.$ac_objext
6906           lt_save_LIBS="$LIBS"
6907           lt_save_CFLAGS="$CFLAGS"
6908           LIBS="conftstm.$ac_objext"
6909           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6910           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6911   (eval $ac_link) 2>&5
6912   ac_status=$?
6913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6915             pipe_works=yes
6916           fi
6917           LIBS="$lt_save_LIBS"
6918           CFLAGS="$lt_save_CFLAGS"
6919         else
6920           echo "cannot find nm_test_func in $nlist" >&5
6921         fi
6922       else
6923         echo "cannot find nm_test_var in $nlist" >&5
6924       fi
6925     else
6926       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6927     fi
6928   else
6929     echo "$progname: failed program was:" >&5
6930     cat conftest.$ac_ext >&5
6931   fi
6932   rm -rf conftest* conftst*
6933
6934   # Do not use the global_symbol_pipe unless it works.
6935   if test "$pipe_works" = yes; then
6936     break
6937   else
6938     lt_cv_sys_global_symbol_pipe=
6939   fi
6940 done
6941
6942 fi
6943
6944 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6945   lt_cv_sys_global_symbol_to_cdecl=
6946 fi
6947 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6949 $as_echo "failed" >&6; }
6950 else
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6952 $as_echo "ok" >&6; }
6953 fi
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976 # Check whether --enable-libtool-lock was given.
6977 if test "${enable_libtool_lock+set}" = set; then :
6978   enableval=$enable_libtool_lock;
6979 fi
6980
6981 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6982
6983 # Some flags need to be propagated to the compiler or linker for good
6984 # libtool support.
6985 case $host in
6986 ia64-*-hpux*)
6987   # Find out which ABI we are using.
6988   echo 'int i;' > conftest.$ac_ext
6989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6990   (eval $ac_compile) 2>&5
6991   ac_status=$?
6992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993   test $ac_status = 0; }; then
6994     case `/usr/bin/file conftest.$ac_objext` in
6995       *ELF-32*)
6996         HPUX_IA64_MODE="32"
6997         ;;
6998       *ELF-64*)
6999         HPUX_IA64_MODE="64"
7000         ;;
7001     esac
7002   fi
7003   rm -rf conftest*
7004   ;;
7005 *-*-irix6*)
7006   # Find out which ABI we are using.
7007   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7008   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7009   (eval $ac_compile) 2>&5
7010   ac_status=$?
7011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012   test $ac_status = 0; }; then
7013     if test "$lt_cv_prog_gnu_ld" = yes; then
7014       case `/usr/bin/file conftest.$ac_objext` in
7015         *32-bit*)
7016           LD="${LD-ld} -melf32bsmip"
7017           ;;
7018         *N32*)
7019           LD="${LD-ld} -melf32bmipn32"
7020           ;;
7021         *64-bit*)
7022           LD="${LD-ld} -melf64bmip"
7023         ;;
7024       esac
7025     else
7026       case `/usr/bin/file conftest.$ac_objext` in
7027         *32-bit*)
7028           LD="${LD-ld} -32"
7029           ;;
7030         *N32*)
7031           LD="${LD-ld} -n32"
7032           ;;
7033         *64-bit*)
7034           LD="${LD-ld} -64"
7035           ;;
7036       esac
7037     fi
7038   fi
7039   rm -rf conftest*
7040   ;;
7041
7042 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7043 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7044   # Find out which ABI we are using.
7045   echo 'int i;' > conftest.$ac_ext
7046   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7047   (eval $ac_compile) 2>&5
7048   ac_status=$?
7049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7050   test $ac_status = 0; }; then
7051     case `/usr/bin/file conftest.o` in
7052       *32-bit*)
7053         case $host in
7054           x86_64-*kfreebsd*-gnu)
7055             LD="${LD-ld} -m elf_i386_fbsd"
7056             ;;
7057           x86_64-*linux*)
7058             LD="${LD-ld} -m elf_i386"
7059             ;;
7060           ppc64-*linux*|powerpc64-*linux*)
7061             LD="${LD-ld} -m elf32ppclinux"
7062             ;;
7063           s390x-*linux*)
7064             LD="${LD-ld} -m elf_s390"
7065             ;;
7066           sparc64-*linux*)
7067             LD="${LD-ld} -m elf32_sparc"
7068             ;;
7069         esac
7070         ;;
7071       *64-bit*)
7072         case $host in
7073           x86_64-*kfreebsd*-gnu)
7074             LD="${LD-ld} -m elf_x86_64_fbsd"
7075             ;;
7076           x86_64-*linux*)
7077             LD="${LD-ld} -m elf_x86_64"
7078             ;;
7079           ppc*-*linux*|powerpc*-*linux*)
7080             LD="${LD-ld} -m elf64ppc"
7081             ;;
7082           s390*-*linux*|s390*-*tpf*)
7083             LD="${LD-ld} -m elf64_s390"
7084             ;;
7085           sparc*-*linux*)
7086             LD="${LD-ld} -m elf64_sparc"
7087             ;;
7088         esac
7089         ;;
7090     esac
7091   fi
7092   rm -rf conftest*
7093   ;;
7094
7095 *-*-sco3.2v5*)
7096   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7097   SAVE_CFLAGS="$CFLAGS"
7098   CFLAGS="$CFLAGS -belf"
7099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7100 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7101 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7102   $as_echo_n "(cached) " >&6
7103 else
7104   ac_ext=c
7105 ac_cpp='$CPP $CPPFLAGS'
7106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7109
7110      if test x$gcc_no_link = xyes; then
7111   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7112 fi
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h.  */
7115
7116 int
7117 main ()
7118 {
7119
7120   ;
7121   return 0;
7122 }
7123 _ACEOF
7124 if ac_fn_c_try_link "$LINENO"; then :
7125   lt_cv_cc_needs_belf=yes
7126 else
7127   lt_cv_cc_needs_belf=no
7128 fi
7129 rm -f core conftest.err conftest.$ac_objext \
7130     conftest$ac_exeext conftest.$ac_ext
7131      ac_ext=c
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136
7137 fi
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7139 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7140   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7141     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7142     CFLAGS="$SAVE_CFLAGS"
7143   fi
7144   ;;
7145 sparc*-*solaris*)
7146   # Find out which ABI we are using.
7147   echo 'int i;' > conftest.$ac_ext
7148   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7149   (eval $ac_compile) 2>&5
7150   ac_status=$?
7151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7152   test $ac_status = 0; }; then
7153     case `/usr/bin/file conftest.o` in
7154     *64-bit*)
7155       case $lt_cv_prog_gnu_ld in
7156       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7157       *)
7158         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7159           LD="${LD-ld} -64"
7160         fi
7161         ;;
7162       esac
7163       ;;
7164     esac
7165   fi
7166   rm -rf conftest*
7167   ;;
7168 esac
7169
7170 need_locks="$enable_libtool_lock"
7171
7172
7173   case $host_os in
7174     rhapsody* | darwin*)
7175     if test -n "$ac_tool_prefix"; then
7176   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   if test -n "$DSYMUTIL"; then
7184   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7185 else
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 for as_dir in $PATH
7188 do
7189   IFS=$as_save_IFS
7190   test -z "$as_dir" && as_dir=.
7191     for ac_exec_ext in '' $ac_executable_extensions; do
7192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7193     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195     break 2
7196   fi
7197 done
7198   done
7199 IFS=$as_save_IFS
7200
7201 fi
7202 fi
7203 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7204 if test -n "$DSYMUTIL"; then
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7206 $as_echo "$DSYMUTIL" >&6; }
7207 else
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7210 fi
7211
7212
7213 fi
7214 if test -z "$ac_cv_prog_DSYMUTIL"; then
7215   ac_ct_DSYMUTIL=$DSYMUTIL
7216   # Extract the first word of "dsymutil", so it can be a program name with args.
7217 set dummy dsymutil; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7221   $as_echo_n "(cached) " >&6
7222 else
7223   if test -n "$ac_ct_DSYMUTIL"; then
7224   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7228 do
7229   IFS=$as_save_IFS
7230   test -z "$as_dir" && as_dir=.
7231     for ac_exec_ext in '' $ac_executable_extensions; do
7232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7233     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235     break 2
7236   fi
7237 done
7238   done
7239 IFS=$as_save_IFS
7240
7241 fi
7242 fi
7243 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7244 if test -n "$ac_ct_DSYMUTIL"; then
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7246 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7247 else
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7250 fi
7251
7252   if test "x$ac_ct_DSYMUTIL" = x; then
7253     DSYMUTIL=":"
7254   else
7255     case $cross_compiling:$ac_tool_warned in
7256 yes:)
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7259 ac_tool_warned=yes ;;
7260 esac
7261     DSYMUTIL=$ac_ct_DSYMUTIL
7262   fi
7263 else
7264   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7265 fi
7266
7267     if test -n "$ac_tool_prefix"; then
7268   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if test -n "$NMEDIT"; then
7276   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281   IFS=$as_save_IFS
7282   test -z "$as_dir" && as_dir=.
7283     for ac_exec_ext in '' $ac_executable_extensions; do
7284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287     break 2
7288   fi
7289 done
7290   done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 NMEDIT=$ac_cv_prog_NMEDIT
7296 if test -n "$NMEDIT"; then
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7298 $as_echo "$NMEDIT" >&6; }
7299 else
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304
7305 fi
7306 if test -z "$ac_cv_prog_NMEDIT"; then
7307   ac_ct_NMEDIT=$NMEDIT
7308   # Extract the first word of "nmedit", so it can be a program name with args.
7309 set dummy nmedit; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   if test -n "$ac_ct_NMEDIT"; then
7316   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7320 do
7321   IFS=$as_save_IFS
7322   test -z "$as_dir" && as_dir=.
7323     for ac_exec_ext in '' $ac_executable_extensions; do
7324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327     break 2
7328   fi
7329 done
7330   done
7331 IFS=$as_save_IFS
7332
7333 fi
7334 fi
7335 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7336 if test -n "$ac_ct_NMEDIT"; then
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7338 $as_echo "$ac_ct_NMEDIT" >&6; }
7339 else
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7342 fi
7343
7344   if test "x$ac_ct_NMEDIT" = x; then
7345     NMEDIT=":"
7346   else
7347     case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353     NMEDIT=$ac_ct_NMEDIT
7354   fi
7355 else
7356   NMEDIT="$ac_cv_prog_NMEDIT"
7357 fi
7358
7359     if test -n "$ac_tool_prefix"; then
7360   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_LIPO+set}" = set; then :
7365   $as_echo_n "(cached) " >&6
7366 else
7367   if test -n "$LIPO"; then
7368   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373   IFS=$as_save_IFS
7374   test -z "$as_dir" && as_dir=.
7375     for ac_exec_ext in '' $ac_executable_extensions; do
7376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379     break 2
7380   fi
7381 done
7382   done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 LIPO=$ac_cv_prog_LIPO
7388 if test -n "$LIPO"; then
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7390 $as_echo "$LIPO" >&6; }
7391 else
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396
7397 fi
7398 if test -z "$ac_cv_prog_LIPO"; then
7399   ac_ct_LIPO=$LIPO
7400   # Extract the first word of "lipo", so it can be a program name with args.
7401 set dummy lipo; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7405   $as_echo_n "(cached) " >&6
7406 else
7407   if test -n "$ac_ct_LIPO"; then
7408   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413   IFS=$as_save_IFS
7414   test -z "$as_dir" && as_dir=.
7415     for ac_exec_ext in '' $ac_executable_extensions; do
7416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417     ac_cv_prog_ac_ct_LIPO="lipo"
7418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419     break 2
7420   fi
7421 done
7422   done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7428 if test -n "$ac_ct_LIPO"; then
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7430 $as_echo "$ac_ct_LIPO" >&6; }
7431 else
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436   if test "x$ac_ct_LIPO" = x; then
7437     LIPO=":"
7438   else
7439     case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445     LIPO=$ac_ct_LIPO
7446   fi
7447 else
7448   LIPO="$ac_cv_prog_LIPO"
7449 fi
7450
7451     if test -n "$ac_tool_prefix"; then
7452   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}otool; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7457   $as_echo_n "(cached) " >&6
7458 else
7459   if test -n "$OTOOL"; then
7460   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465   IFS=$as_save_IFS
7466   test -z "$as_dir" && as_dir=.
7467     for ac_exec_ext in '' $ac_executable_extensions; do
7468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471     break 2
7472   fi
7473 done
7474   done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 OTOOL=$ac_cv_prog_OTOOL
7480 if test -n "$OTOOL"; then
7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7482 $as_echo "$OTOOL" >&6; }
7483 else
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488
7489 fi
7490 if test -z "$ac_cv_prog_OTOOL"; then
7491   ac_ct_OTOOL=$OTOOL
7492   # Extract the first word of "otool", so it can be a program name with args.
7493 set dummy otool; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7497   $as_echo_n "(cached) " >&6
7498 else
7499   if test -n "$ac_ct_OTOOL"; then
7500   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7504 do
7505   IFS=$as_save_IFS
7506   test -z "$as_dir" && as_dir=.
7507     for ac_exec_ext in '' $ac_executable_extensions; do
7508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509     ac_cv_prog_ac_ct_OTOOL="otool"
7510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511     break 2
7512   fi
7513 done
7514   done
7515 IFS=$as_save_IFS
7516
7517 fi
7518 fi
7519 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7520 if test -n "$ac_ct_OTOOL"; then
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7522 $as_echo "$ac_ct_OTOOL" >&6; }
7523 else
7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 fi
7527
7528   if test "x$ac_ct_OTOOL" = x; then
7529     OTOOL=":"
7530   else
7531     case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537     OTOOL=$ac_ct_OTOOL
7538   fi
7539 else
7540   OTOOL="$ac_cv_prog_OTOOL"
7541 fi
7542
7543     if test -n "$ac_tool_prefix"; then
7544   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7549   $as_echo_n "(cached) " >&6
7550 else
7551   if test -n "$OTOOL64"; then
7552   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557   IFS=$as_save_IFS
7558   test -z "$as_dir" && as_dir=.
7559     for ac_exec_ext in '' $ac_executable_extensions; do
7560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563     break 2
7564   fi
7565 done
7566   done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 OTOOL64=$ac_cv_prog_OTOOL64
7572 if test -n "$OTOOL64"; then
7573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7574 $as_echo "$OTOOL64" >&6; }
7575 else
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580
7581 fi
7582 if test -z "$ac_cv_prog_OTOOL64"; then
7583   ac_ct_OTOOL64=$OTOOL64
7584   # Extract the first word of "otool64", so it can be a program name with args.
7585 set dummy otool64; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7589   $as_echo_n "(cached) " >&6
7590 else
7591   if test -n "$ac_ct_OTOOL64"; then
7592   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597   IFS=$as_save_IFS
7598   test -z "$as_dir" && as_dir=.
7599     for ac_exec_ext in '' $ac_executable_extensions; do
7600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601     ac_cv_prog_ac_ct_OTOOL64="otool64"
7602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603     break 2
7604   fi
7605 done
7606   done
7607 IFS=$as_save_IFS
7608
7609 fi
7610 fi
7611 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7612 if test -n "$ac_ct_OTOOL64"; then
7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7614 $as_echo "$ac_ct_OTOOL64" >&6; }
7615 else
7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7618 fi
7619
7620   if test "x$ac_ct_OTOOL64" = x; then
7621     OTOOL64=":"
7622   else
7623     case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629     OTOOL64=$ac_ct_OTOOL64
7630   fi
7631 else
7632   OTOOL64="$ac_cv_prog_OTOOL64"
7633 fi
7634
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7662 $as_echo_n "checking for -single_module linker flag... " >&6; }
7663 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7664   $as_echo_n "(cached) " >&6
7665 else
7666   lt_cv_apple_cc_single_mod=no
7667       if test -z "${LT_MULTI_MODULE}"; then
7668         # By default we will add the -single_module flag. You can override
7669         # by either setting the environment variable LT_MULTI_MODULE
7670         # non-empty at configure time, or by adding -multi_module to the
7671         # link flags.
7672         rm -rf libconftest.dylib*
7673         echo "int foo(void){return 1;}" > conftest.c
7674         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7675 -dynamiclib -Wl,-single_module conftest.c" >&5
7676         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7677           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7678         _lt_result=$?
7679         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7680           lt_cv_apple_cc_single_mod=yes
7681         else
7682           cat conftest.err >&5
7683         fi
7684         rm -rf libconftest.dylib*
7685         rm -f conftest.*
7686       fi
7687 fi
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7689 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7691 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7692 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7693   $as_echo_n "(cached) " >&6
7694 else
7695   lt_cv_ld_exported_symbols_list=no
7696       save_LDFLAGS=$LDFLAGS
7697       echo "_main" > conftest.sym
7698       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7699       if test x$gcc_no_link = xyes; then
7700   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7701 fi
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h.  */
7704
7705 int
7706 main ()
7707 {
7708
7709   ;
7710   return 0;
7711 }
7712 _ACEOF
7713 if ac_fn_c_try_link "$LINENO"; then :
7714   lt_cv_ld_exported_symbols_list=yes
7715 else
7716   lt_cv_ld_exported_symbols_list=no
7717 fi
7718 rm -f core conftest.err conftest.$ac_objext \
7719     conftest$ac_exeext conftest.$ac_ext
7720         LDFLAGS="$save_LDFLAGS"
7721
7722 fi
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7724 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7726 $as_echo_n "checking for -force_load linker flag... " >&6; }
7727 if test "${lt_cv_ld_force_load+set}" = set; then :
7728   $as_echo_n "(cached) " >&6
7729 else
7730   lt_cv_ld_force_load=no
7731       cat > conftest.c << _LT_EOF
7732 int forced_loaded() { return 2;}
7733 _LT_EOF
7734       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7735       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7736       echo "$AR cru libconftest.a conftest.o" >&5
7737       $AR cru libconftest.a conftest.o 2>&5
7738       cat > conftest.c << _LT_EOF
7739 int main() { return 0;}
7740 _LT_EOF
7741       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7742       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7743       _lt_result=$?
7744       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7745         lt_cv_ld_force_load=yes
7746       else
7747         cat conftest.err >&5
7748       fi
7749         rm -f conftest.err libconftest.a conftest conftest.c
7750         rm -rf conftest.dSYM
7751
7752 fi
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7754 $as_echo "$lt_cv_ld_force_load" >&6; }
7755     case $host_os in
7756     rhapsody* | darwin1.[012])
7757       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7758     darwin1.*)
7759       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7760     darwin*) # darwin 5.x on
7761       # if running on 10.5 or later, the deployment target defaults
7762       # to the OS version, if on x86, and 10.4, the deployment
7763       # target defaults to 10.4. Don't you love it?
7764       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7765         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7766           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7767         10.[012]*)
7768           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7769         10.*)
7770           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7771       esac
7772     ;;
7773   esac
7774     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7775       _lt_dar_single_mod='$single_module'
7776     fi
7777     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7778       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7779     else
7780       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7781     fi
7782     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7783       _lt_dsymutil='~$DSYMUTIL $lib || :'
7784     else
7785       _lt_dsymutil=
7786     fi
7787     ;;
7788   esac
7789
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7791 $as_echo_n "checking for ANSI C header files... " >&6; }
7792 if test "${ac_cv_header_stdc+set}" = set; then :
7793   $as_echo_n "(cached) " >&6
7794 else
7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h.  */
7797 #include <stdlib.h>
7798 #include <stdarg.h>
7799 #include <string.h>
7800 #include <float.h>
7801
7802 int
7803 main ()
7804 {
7805
7806   ;
7807   return 0;
7808 }
7809 _ACEOF
7810 if ac_fn_c_try_compile "$LINENO"; then :
7811   ac_cv_header_stdc=yes
7812 else
7813   ac_cv_header_stdc=no
7814 fi
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7816
7817 if test $ac_cv_header_stdc = yes; then
7818   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h.  */
7821 #include <string.h>
7822
7823 _ACEOF
7824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7825   $EGREP "memchr" >/dev/null 2>&1; then :
7826
7827 else
7828   ac_cv_header_stdc=no
7829 fi
7830 rm -f conftest*
7831
7832 fi
7833
7834 if test $ac_cv_header_stdc = yes; then
7835   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h.  */
7838 #include <stdlib.h>
7839
7840 _ACEOF
7841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7842   $EGREP "free" >/dev/null 2>&1; then :
7843
7844 else
7845   ac_cv_header_stdc=no
7846 fi
7847 rm -f conftest*
7848
7849 fi
7850
7851 if test $ac_cv_header_stdc = yes; then
7852   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7853   if test "$cross_compiling" = yes; then :
7854   :
7855 else
7856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h.  */
7858 #include <ctype.h>
7859 #include <stdlib.h>
7860 #if ((' ' & 0x0FF) == 0x020)
7861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7863 #else
7864 # define ISLOWER(c) \
7865                    (('a' <= (c) && (c) <= 'i') \
7866                      || ('j' <= (c) && (c) <= 'r') \
7867                      || ('s' <= (c) && (c) <= 'z'))
7868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7869 #endif
7870
7871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7872 int
7873 main ()
7874 {
7875   int i;
7876   for (i = 0; i < 256; i++)
7877     if (XOR (islower (i), ISLOWER (i))
7878         || toupper (i) != TOUPPER (i))
7879       return 2;
7880   return 0;
7881 }
7882 _ACEOF
7883 if ac_fn_c_try_run "$LINENO"; then :
7884
7885 else
7886   ac_cv_header_stdc=no
7887 fi
7888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7889   conftest.$ac_objext conftest.beam conftest.$ac_ext
7890 fi
7891
7892 fi
7893 fi
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7895 $as_echo "$ac_cv_header_stdc" >&6; }
7896 if test $ac_cv_header_stdc = yes; then
7897
7898 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7899
7900 fi
7901
7902 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7903 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7904                   inttypes.h stdint.h unistd.h
7905 do :
7906   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7908 "
7909 eval as_val=\$$as_ac_Header
7910    if test "x$as_val" = x""yes; then :
7911   cat >>confdefs.h <<_ACEOF
7912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7913 _ACEOF
7914
7915 fi
7916
7917 done
7918
7919
7920 for ac_header in dlfcn.h
7921 do :
7922   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7923 "
7924 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7925   cat >>confdefs.h <<_ACEOF
7926 #define HAVE_DLFCN_H 1
7927 _ACEOF
7928
7929 fi
7930
7931 done
7932
7933
7934
7935
7936
7937
7938 # Set options
7939
7940
7941
7942
7943   enable_win32_dll=no
7944
7945
7946             # Check whether --enable-shared was given.
7947 if test "${enable_shared+set}" = set; then :
7948   enableval=$enable_shared; p=${PACKAGE-default}
7949     case $enableval in
7950     yes) enable_shared=yes ;;
7951     no) enable_shared=no ;;
7952     *)
7953       enable_shared=no
7954       # Look at the argument we got.  We use all the common list separators.
7955       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7956       for pkg in $enableval; do
7957         IFS="$lt_save_ifs"
7958         if test "X$pkg" = "X$p"; then
7959           enable_shared=yes
7960         fi
7961       done
7962       IFS="$lt_save_ifs"
7963       ;;
7964     esac
7965 else
7966   enable_shared=yes
7967 fi
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977   # Check whether --enable-static was given.
7978 if test "${enable_static+set}" = set; then :
7979   enableval=$enable_static; p=${PACKAGE-default}
7980     case $enableval in
7981     yes) enable_static=yes ;;
7982     no) enable_static=no ;;
7983     *)
7984      enable_static=no
7985       # Look at the argument we got.  We use all the common list separators.
7986       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7987       for pkg in $enableval; do
7988         IFS="$lt_save_ifs"
7989         if test "X$pkg" = "X$p"; then
7990           enable_static=yes
7991         fi
7992       done
7993       IFS="$lt_save_ifs"
7994       ;;
7995     esac
7996 else
7997   enable_static=yes
7998 fi
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009 # Check whether --with-pic was given.
8010 if test "${with_pic+set}" = set; then :
8011   withval=$with_pic; pic_mode="$withval"
8012 else
8013   pic_mode=default
8014 fi
8015
8016
8017 test -z "$pic_mode" && pic_mode=default
8018
8019
8020
8021
8022
8023
8024
8025   # Check whether --enable-fast-install was given.
8026 if test "${enable_fast_install+set}" = set; then :
8027   enableval=$enable_fast_install; p=${PACKAGE-default}
8028     case $enableval in
8029     yes) enable_fast_install=yes ;;
8030     no) enable_fast_install=no ;;
8031     *)
8032       enable_fast_install=no
8033       # Look at the argument we got.  We use all the common list separators.
8034       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035       for pkg in $enableval; do
8036         IFS="$lt_save_ifs"
8037         if test "X$pkg" = "X$p"; then
8038           enable_fast_install=yes
8039         fi
8040       done
8041       IFS="$lt_save_ifs"
8042       ;;
8043     esac
8044 else
8045   enable_fast_install=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058 # This can be used to rebuild libtool when needed
8059 LIBTOOL_DEPS="$ltmain"
8060
8061 # Always use our own libtool.
8062 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8063
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 test -z "$LN_S" && LN_S="ln -s"
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104 if test -n "${ZSH_VERSION+set}" ; then
8105    setopt NO_GLOB_SUBST
8106 fi
8107
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8109 $as_echo_n "checking for objdir... " >&6; }
8110 if test "${lt_cv_objdir+set}" = set; then :
8111   $as_echo_n "(cached) " >&6
8112 else
8113   rm -f .libs 2>/dev/null
8114 mkdir .libs 2>/dev/null
8115 if test -d .libs; then
8116   lt_cv_objdir=.libs
8117 else
8118   # MS-DOS does not allow filenames that begin with a dot.
8119   lt_cv_objdir=_libs
8120 fi
8121 rmdir .libs 2>/dev/null
8122 fi
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8124 $as_echo "$lt_cv_objdir" >&6; }
8125 objdir=$lt_cv_objdir
8126
8127
8128
8129
8130
8131 cat >>confdefs.h <<_ACEOF
8132 #define LT_OBJDIR "$lt_cv_objdir/"
8133 _ACEOF
8134
8135
8136
8137
8138 case $host_os in
8139 aix3*)
8140   # AIX sometimes has problems with the GCC collect2 program.  For some
8141   # reason, if we set the COLLECT_NAMES environment variable, the problems
8142   # vanish in a puff of smoke.
8143   if test "X${COLLECT_NAMES+set}" != Xset; then
8144     COLLECT_NAMES=
8145     export COLLECT_NAMES
8146   fi
8147   ;;
8148 esac
8149
8150 # Global variables:
8151 ofile=libtool
8152 can_build_shared=yes
8153
8154 # All known linkers require a `.a' archive for static linking (except MSVC,
8155 # which needs '.lib').
8156 libext=a
8157
8158 with_gnu_ld="$lt_cv_prog_gnu_ld"
8159
8160 old_CC="$CC"
8161 old_CFLAGS="$CFLAGS"
8162
8163 # Set sane defaults for various variables
8164 test -z "$CC" && CC=cc
8165 test -z "$LTCC" && LTCC=$CC
8166 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8167 test -z "$LD" && LD=ld
8168 test -z "$ac_objext" && ac_objext=o
8169
8170 for cc_temp in $compiler""; do
8171   case $cc_temp in
8172     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8173     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8174     \-*) ;;
8175     *) break;;
8176   esac
8177 done
8178 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8179
8180
8181 # Only perform the check for file, if the check method requires it
8182 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8183 case $deplibs_check_method in
8184 file_magic*)
8185   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8187 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8188 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8189   $as_echo_n "(cached) " >&6
8190 else
8191   case $MAGIC_CMD in
8192 [\\/*] |  ?:[\\/]*)
8193   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8194   ;;
8195 *)
8196   lt_save_MAGIC_CMD="$MAGIC_CMD"
8197   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8198   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8199   for ac_dir in $ac_dummy; do
8200     IFS="$lt_save_ifs"
8201     test -z "$ac_dir" && ac_dir=.
8202     if test -f $ac_dir/${ac_tool_prefix}file; then
8203       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8204       if test -n "$file_magic_test_file"; then
8205         case $deplibs_check_method in
8206         "file_magic "*)
8207           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8208           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8209           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8210             $EGREP "$file_magic_regex" > /dev/null; then
8211             :
8212           else
8213             cat <<_LT_EOF 1>&2
8214
8215 *** Warning: the command libtool uses to detect shared libraries,
8216 *** $file_magic_cmd, produces output that libtool cannot recognize.
8217 *** The result is that libtool may fail to recognize shared libraries
8218 *** as such.  This will affect the creation of libtool libraries that
8219 *** depend on shared libraries, but programs linked with such libtool
8220 *** libraries will work regardless of this problem.  Nevertheless, you
8221 *** may want to report the problem to your system manager and/or to
8222 *** bug-libtool@gnu.org
8223
8224 _LT_EOF
8225           fi ;;
8226         esac
8227       fi
8228       break
8229     fi
8230   done
8231   IFS="$lt_save_ifs"
8232   MAGIC_CMD="$lt_save_MAGIC_CMD"
8233   ;;
8234 esac
8235 fi
8236
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if test -n "$MAGIC_CMD"; then
8239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8240 $as_echo "$MAGIC_CMD" >&6; }
8241 else
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8244 fi
8245
8246
8247
8248
8249
8250 if test -z "$lt_cv_path_MAGIC_CMD"; then
8251   if test -n "$ac_tool_prefix"; then
8252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8253 $as_echo_n "checking for file... " >&6; }
8254 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8255   $as_echo_n "(cached) " >&6
8256 else
8257   case $MAGIC_CMD in
8258 [\\/*] |  ?:[\\/]*)
8259   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8260   ;;
8261 *)
8262   lt_save_MAGIC_CMD="$MAGIC_CMD"
8263   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8264   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8265   for ac_dir in $ac_dummy; do
8266     IFS="$lt_save_ifs"
8267     test -z "$ac_dir" && ac_dir=.
8268     if test -f $ac_dir/file; then
8269       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8270       if test -n "$file_magic_test_file"; then
8271         case $deplibs_check_method in
8272         "file_magic "*)
8273           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8274           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8275           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8276             $EGREP "$file_magic_regex" > /dev/null; then
8277             :
8278           else
8279             cat <<_LT_EOF 1>&2
8280
8281 *** Warning: the command libtool uses to detect shared libraries,
8282 *** $file_magic_cmd, produces output that libtool cannot recognize.
8283 *** The result is that libtool may fail to recognize shared libraries
8284 *** as such.  This will affect the creation of libtool libraries that
8285 *** depend on shared libraries, but programs linked with such libtool
8286 *** libraries will work regardless of this problem.  Nevertheless, you
8287 *** may want to report the problem to your system manager and/or to
8288 *** bug-libtool@gnu.org
8289
8290 _LT_EOF
8291           fi ;;
8292         esac
8293       fi
8294       break
8295     fi
8296   done
8297   IFS="$lt_save_ifs"
8298   MAGIC_CMD="$lt_save_MAGIC_CMD"
8299   ;;
8300 esac
8301 fi
8302
8303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8304 if test -n "$MAGIC_CMD"; then
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8306 $as_echo "$MAGIC_CMD" >&6; }
8307 else
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 fi
8311
8312
8313   else
8314     MAGIC_CMD=:
8315   fi
8316 fi
8317
8318   fi
8319   ;;
8320 esac
8321
8322 # Use C for the default configuration in the libtool script
8323
8324 lt_save_CC="$CC"
8325 ac_ext=c
8326 ac_cpp='$CPP $CPPFLAGS'
8327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8330
8331
8332 # Source file extension for C test sources.
8333 ac_ext=c
8334
8335 # Object file extension for compiled C test sources.
8336 objext=o
8337 objext=$objext
8338
8339 # Code to be used in simple compile tests
8340 lt_simple_compile_test_code="int some_variable = 0;"
8341
8342 # Code to be used in simple link tests
8343 lt_simple_link_test_code='int main(){return(0);}'
8344
8345
8346
8347
8348
8349
8350
8351 # If no C compiler was specified, use CC.
8352 LTCC=${LTCC-"$CC"}
8353
8354 # If no C compiler flags were specified, use CFLAGS.
8355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8356
8357 # Allow CC to be a program name with arguments.
8358 compiler=$CC
8359
8360 # Save the default compiler, since it gets overwritten when the other
8361 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8362 compiler_DEFAULT=$CC
8363
8364 # save warnings/boilerplate of simple test code
8365 ac_outfile=conftest.$ac_objext
8366 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8367 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8368 _lt_compiler_boilerplate=`cat conftest.err`
8369 $RM conftest*
8370
8371 ac_outfile=conftest.$ac_objext
8372 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8373 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8374 _lt_linker_boilerplate=`cat conftest.err`
8375 $RM -r conftest*
8376
8377
8378 ## CAVEAT EMPTOR:
8379 ## There is no encapsulation within the following macros, do not change
8380 ## the running order or otherwise move them around unless you know exactly
8381 ## what you are doing...
8382 if test -n "$compiler"; then
8383
8384 lt_prog_compiler_no_builtin_flag=
8385
8386 if test "$GCC" = yes; then
8387   case $cc_basename in
8388   nvcc*)
8389     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8390   *)
8391     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8392   esac
8393
8394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8395 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8396 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8397   $as_echo_n "(cached) " >&6
8398 else
8399   lt_cv_prog_compiler_rtti_exceptions=no
8400    ac_outfile=conftest.$ac_objext
8401    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8402    lt_compiler_flag="-fno-rtti -fno-exceptions"
8403    # Insert the option either (1) after the last *FLAGS variable, or
8404    # (2) before a word containing "conftest.", or (3) at the end.
8405    # Note that $ac_compile itself does not contain backslashes and begins
8406    # with a dollar sign (not a hyphen), so the echo should work correctly.
8407    # The option is referenced via a variable to avoid confusing sed.
8408    lt_compile=`echo "$ac_compile" | $SED \
8409    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8410    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8411    -e 's:$: $lt_compiler_flag:'`
8412    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8413    (eval "$lt_compile" 2>conftest.err)
8414    ac_status=$?
8415    cat conftest.err >&5
8416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417    if (exit $ac_status) && test -s "$ac_outfile"; then
8418      # The compiler can only warn and ignore the option if not recognized
8419      # So say no if there are warnings other than the usual output.
8420      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8421      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8422      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8423        lt_cv_prog_compiler_rtti_exceptions=yes
8424      fi
8425    fi
8426    $RM conftest*
8427
8428 fi
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8430 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8431
8432 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8433     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8434 else
8435     :
8436 fi
8437
8438 fi
8439
8440
8441
8442
8443
8444
8445   lt_prog_compiler_wl=
8446 lt_prog_compiler_pic=
8447 lt_prog_compiler_static=
8448
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8450 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8451
8452   if test "$GCC" = yes; then
8453     lt_prog_compiler_wl='-Wl,'
8454     lt_prog_compiler_static='-static'
8455
8456     case $host_os in
8457       aix*)
8458       # All AIX code is PIC.
8459       if test "$host_cpu" = ia64; then
8460         # AIX 5 now supports IA64 processor
8461         lt_prog_compiler_static='-Bstatic'
8462       fi
8463       ;;
8464
8465     amigaos*)
8466       case $host_cpu in
8467       powerpc)
8468             # see comment about AmigaOS4 .so support
8469             lt_prog_compiler_pic='-fPIC'
8470         ;;
8471       m68k)
8472             # FIXME: we need at least 68020 code to build shared libraries, but
8473             # adding the `-m68020' flag to GCC prevents building anything better,
8474             # like `-m68040'.
8475             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8476         ;;
8477       esac
8478       ;;
8479
8480     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8481       # PIC is the default for these OSes.
8482       ;;
8483
8484     mingw* | cygwin* | pw32* | os2* | cegcc*)
8485       # This hack is so that the source file can tell whether it is being
8486       # built for inclusion in a dll (and should export symbols for example).
8487       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8488       # (--disable-auto-import) libraries
8489       lt_prog_compiler_pic='-DDLL_EXPORT'
8490       ;;
8491
8492     darwin* | rhapsody*)
8493       # PIC is the default on this platform
8494       # Common symbols not allowed in MH_DYLIB files
8495       lt_prog_compiler_pic='-fno-common'
8496       ;;
8497
8498     haiku*)
8499       # PIC is the default for Haiku.
8500       # The "-static" flag exists, but is broken.
8501       lt_prog_compiler_static=
8502       ;;
8503
8504     hpux*)
8505       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8506       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8507       # sets the default TLS model and affects inlining.
8508       case $host_cpu in
8509       hppa*64*)
8510         # +Z the default
8511         ;;
8512       *)
8513         lt_prog_compiler_pic='-fPIC'
8514         ;;
8515       esac
8516       ;;
8517
8518     interix[3-9]*)
8519       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8520       # Instead, we relocate shared libraries at runtime.
8521       ;;
8522
8523     msdosdjgpp*)
8524       # Just because we use GCC doesn't mean we suddenly get shared libraries
8525       # on systems that don't support them.
8526       lt_prog_compiler_can_build_shared=no
8527       enable_shared=no
8528       ;;
8529
8530     *nto* | *qnx*)
8531       # QNX uses GNU C++, but need to define -shared option too, otherwise
8532       # it will coredump.
8533       lt_prog_compiler_pic='-fPIC -shared'
8534       ;;
8535
8536     sysv4*MP*)
8537       if test -d /usr/nec; then
8538         lt_prog_compiler_pic=-Kconform_pic
8539       fi
8540       ;;
8541
8542     *)
8543       lt_prog_compiler_pic='-fPIC'
8544       ;;
8545     esac
8546
8547     case $cc_basename in
8548     nvcc*) # Cuda Compiler Driver 2.2
8549       lt_prog_compiler_wl='-Xlinker '
8550       lt_prog_compiler_pic='-Xcompiler -fPIC'
8551       ;;
8552     esac
8553   else
8554     # PORTME Check for flag to pass linker flags through the system compiler.
8555     case $host_os in
8556     aix*)
8557       lt_prog_compiler_wl='-Wl,'
8558       if test "$host_cpu" = ia64; then
8559         # AIX 5 now supports IA64 processor
8560         lt_prog_compiler_static='-Bstatic'
8561       else
8562         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8563       fi
8564       ;;
8565
8566     mingw* | cygwin* | pw32* | os2* | cegcc*)
8567       # This hack is so that the source file can tell whether it is being
8568       # built for inclusion in a dll (and should export symbols for example).
8569       lt_prog_compiler_pic='-DDLL_EXPORT'
8570       ;;
8571
8572     hpux9* | hpux10* | hpux11*)
8573       lt_prog_compiler_wl='-Wl,'
8574       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8575       # not for PA HP-UX.
8576       case $host_cpu in
8577       hppa*64*|ia64*)
8578         # +Z the default
8579         ;;
8580       *)
8581         lt_prog_compiler_pic='+Z'
8582         ;;
8583       esac
8584       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8585       lt_prog_compiler_static='${wl}-a ${wl}archive'
8586       ;;
8587
8588     irix5* | irix6* | nonstopux*)
8589       lt_prog_compiler_wl='-Wl,'
8590       # PIC (with -KPIC) is the default.
8591       lt_prog_compiler_static='-non_shared'
8592       ;;
8593
8594     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8595       case $cc_basename in
8596       # old Intel for x86_64 which still supported -KPIC.
8597       ecc*)
8598         lt_prog_compiler_wl='-Wl,'
8599         lt_prog_compiler_pic='-KPIC'
8600         lt_prog_compiler_static='-static'
8601         ;;
8602       # icc used to be incompatible with GCC.
8603       # ICC 10 doesn't accept -KPIC any more.
8604       icc* | ifort*)
8605         lt_prog_compiler_wl='-Wl,'
8606         lt_prog_compiler_pic='-fPIC'
8607         lt_prog_compiler_static='-static'
8608         ;;
8609       # Lahey Fortran 8.1.
8610       lf95*)
8611         lt_prog_compiler_wl='-Wl,'
8612         lt_prog_compiler_pic='--shared'
8613         lt_prog_compiler_static='--static'
8614         ;;
8615       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616         # Portland Group compilers (*not* the Pentium gcc compiler,
8617         # which looks to be a dead project)
8618         lt_prog_compiler_wl='-Wl,'
8619         lt_prog_compiler_pic='-fpic'
8620         lt_prog_compiler_static='-Bstatic'
8621         ;;
8622       ccc*)
8623         lt_prog_compiler_wl='-Wl,'
8624         # All Alpha code is PIC.
8625         lt_prog_compiler_static='-non_shared'
8626         ;;
8627       xl* | bgxl* | bgf* | mpixl*)
8628         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629         lt_prog_compiler_wl='-Wl,'
8630         lt_prog_compiler_pic='-qpic'
8631         lt_prog_compiler_static='-qstaticlink'
8632         ;;
8633       *)
8634         case `$CC -V 2>&1 | sed 5q` in
8635         *Sun\ F* | *Sun*Fortran*)
8636           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637           lt_prog_compiler_pic='-KPIC'
8638           lt_prog_compiler_static='-Bstatic'
8639           lt_prog_compiler_wl=''
8640           ;;
8641         *Sun\ C*)
8642           # Sun C 5.9
8643           lt_prog_compiler_pic='-KPIC'
8644           lt_prog_compiler_static='-Bstatic'
8645           lt_prog_compiler_wl='-Wl,'
8646           ;;
8647         esac
8648         ;;
8649       esac
8650       ;;
8651
8652     newsos6)
8653       lt_prog_compiler_pic='-KPIC'
8654       lt_prog_compiler_static='-Bstatic'
8655       ;;
8656
8657     *nto* | *qnx*)
8658       # QNX uses GNU C++, but need to define -shared option too, otherwise
8659       # it will coredump.
8660       lt_prog_compiler_pic='-fPIC -shared'
8661       ;;
8662
8663     osf3* | osf4* | osf5*)
8664       lt_prog_compiler_wl='-Wl,'
8665       # All OSF/1 code is PIC.
8666       lt_prog_compiler_static='-non_shared'
8667       ;;
8668
8669     rdos*)
8670       lt_prog_compiler_static='-non_shared'
8671       ;;
8672
8673     solaris*)
8674       lt_prog_compiler_pic='-KPIC'
8675       lt_prog_compiler_static='-Bstatic'
8676       case $cc_basename in
8677       f77* | f90* | f95*)
8678         lt_prog_compiler_wl='-Qoption ld ';;
8679       *)
8680         lt_prog_compiler_wl='-Wl,';;
8681       esac
8682       ;;
8683
8684     sunos4*)
8685       lt_prog_compiler_wl='-Qoption ld '
8686       lt_prog_compiler_pic='-PIC'
8687       lt_prog_compiler_static='-Bstatic'
8688       ;;
8689
8690     sysv4 | sysv4.2uw2* | sysv4.3*)
8691       lt_prog_compiler_wl='-Wl,'
8692       lt_prog_compiler_pic='-KPIC'
8693       lt_prog_compiler_static='-Bstatic'
8694       ;;
8695
8696     sysv4*MP*)
8697       if test -d /usr/nec ;then
8698         lt_prog_compiler_pic='-Kconform_pic'
8699         lt_prog_compiler_static='-Bstatic'
8700       fi
8701       ;;
8702
8703     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8704       lt_prog_compiler_wl='-Wl,'
8705       lt_prog_compiler_pic='-KPIC'
8706       lt_prog_compiler_static='-Bstatic'
8707       ;;
8708
8709     unicos*)
8710       lt_prog_compiler_wl='-Wl,'
8711       lt_prog_compiler_can_build_shared=no
8712       ;;
8713
8714     uts4*)
8715       lt_prog_compiler_pic='-pic'
8716       lt_prog_compiler_static='-Bstatic'
8717       ;;
8718
8719     *)
8720       lt_prog_compiler_can_build_shared=no
8721       ;;
8722     esac
8723   fi
8724
8725 case $host_os in
8726   # For platforms which do not support PIC, -DPIC is meaningless:
8727   *djgpp*)
8728     lt_prog_compiler_pic=
8729     ;;
8730   *)
8731     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8732     ;;
8733 esac
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8735 $as_echo "$lt_prog_compiler_pic" >&6; }
8736
8737
8738
8739
8740
8741
8742 #
8743 # Check to make sure the PIC flag actually works.
8744 #
8745 if test -n "$lt_prog_compiler_pic"; then
8746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8747 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8748 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8749   $as_echo_n "(cached) " >&6
8750 else
8751   lt_cv_prog_compiler_pic_works=no
8752    ac_outfile=conftest.$ac_objext
8753    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8754    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8755    # Insert the option either (1) after the last *FLAGS variable, or
8756    # (2) before a word containing "conftest.", or (3) at the end.
8757    # Note that $ac_compile itself does not contain backslashes and begins
8758    # with a dollar sign (not a hyphen), so the echo should work correctly.
8759    # The option is referenced via a variable to avoid confusing sed.
8760    lt_compile=`echo "$ac_compile" | $SED \
8761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8763    -e 's:$: $lt_compiler_flag:'`
8764    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8765    (eval "$lt_compile" 2>conftest.err)
8766    ac_status=$?
8767    cat conftest.err >&5
8768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769    if (exit $ac_status) && test -s "$ac_outfile"; then
8770      # The compiler can only warn and ignore the option if not recognized
8771      # So say no if there are warnings other than the usual output.
8772      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8773      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8774      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8775        lt_cv_prog_compiler_pic_works=yes
8776      fi
8777    fi
8778    $RM conftest*
8779
8780 fi
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8782 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8783
8784 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8785     case $lt_prog_compiler_pic in
8786      "" | " "*) ;;
8787      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8788      esac
8789 else
8790     lt_prog_compiler_pic=
8791      lt_prog_compiler_can_build_shared=no
8792 fi
8793
8794 fi
8795
8796
8797
8798
8799
8800
8801 #
8802 # Check to make sure the static flag actually works.
8803 #
8804 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8807 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8808   $as_echo_n "(cached) " >&6
8809 else
8810   lt_cv_prog_compiler_static_works=no
8811    save_LDFLAGS="$LDFLAGS"
8812    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8813    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8814    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8815      # The linker can only warn and ignore the option if not recognized
8816      # So say no if there are warnings
8817      if test -s conftest.err; then
8818        # Append any errors to the config.log.
8819        cat conftest.err 1>&5
8820        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8821        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8822        if diff conftest.exp conftest.er2 >/dev/null; then
8823          lt_cv_prog_compiler_static_works=yes
8824        fi
8825      else
8826        lt_cv_prog_compiler_static_works=yes
8827      fi
8828    fi
8829    $RM -r conftest*
8830    LDFLAGS="$save_LDFLAGS"
8831
8832 fi
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8834 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8835
8836 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8837     :
8838 else
8839     lt_prog_compiler_static=
8840 fi
8841
8842
8843
8844
8845
8846
8847
8848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8850 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8851   $as_echo_n "(cached) " >&6
8852 else
8853   lt_cv_prog_compiler_c_o=no
8854    $RM -r conftest 2>/dev/null
8855    mkdir conftest
8856    cd conftest
8857    mkdir out
8858    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8859
8860    lt_compiler_flag="-o out/conftest2.$ac_objext"
8861    # Insert the option either (1) after the last *FLAGS variable, or
8862    # (2) before a word containing "conftest.", or (3) at the end.
8863    # Note that $ac_compile itself does not contain backslashes and begins
8864    # with a dollar sign (not a hyphen), so the echo should work correctly.
8865    lt_compile=`echo "$ac_compile" | $SED \
8866    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8867    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8868    -e 's:$: $lt_compiler_flag:'`
8869    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8870    (eval "$lt_compile" 2>out/conftest.err)
8871    ac_status=$?
8872    cat out/conftest.err >&5
8873    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8875    then
8876      # The compiler can only warn and ignore the option if not recognized
8877      # So say no if there are warnings
8878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8879      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8880      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8881        lt_cv_prog_compiler_c_o=yes
8882      fi
8883    fi
8884    chmod u+w . 2>&5
8885    $RM conftest*
8886    # SGI C++ compiler will create directory out/ii_files/ for
8887    # template instantiation
8888    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8889    $RM out/* && rmdir out
8890    cd ..
8891    $RM -r conftest
8892    $RM conftest*
8893
8894 fi
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8896 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8897
8898
8899
8900
8901
8902
8903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906   $as_echo_n "(cached) " >&6
8907 else
8908   lt_cv_prog_compiler_c_o=no
8909    $RM -r conftest 2>/dev/null
8910    mkdir conftest
8911    cd conftest
8912    mkdir out
8913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914
8915    lt_compiler_flag="-o out/conftest2.$ac_objext"
8916    # Insert the option either (1) after the last *FLAGS variable, or
8917    # (2) before a word containing "conftest.", or (3) at the end.
8918    # Note that $ac_compile itself does not contain backslashes and begins
8919    # with a dollar sign (not a hyphen), so the echo should work correctly.
8920    lt_compile=`echo "$ac_compile" | $SED \
8921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923    -e 's:$: $lt_compiler_flag:'`
8924    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925    (eval "$lt_compile" 2>out/conftest.err)
8926    ac_status=$?
8927    cat out/conftest.err >&5
8928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930    then
8931      # The compiler can only warn and ignore the option if not recognized
8932      # So say no if there are warnings
8933      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936        lt_cv_prog_compiler_c_o=yes
8937      fi
8938    fi
8939    chmod u+w . 2>&5
8940    $RM conftest*
8941    # SGI C++ compiler will create directory out/ii_files/ for
8942    # template instantiation
8943    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944    $RM out/* && rmdir out
8945    cd ..
8946    $RM -r conftest
8947    $RM conftest*
8948
8949 fi
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952
8953
8954
8955
8956 hard_links="nottested"
8957 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8958   # do not overwrite the value of need_locks provided by the user
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8960 $as_echo_n "checking if we can lock with hard links... " >&6; }
8961   hard_links=yes
8962   $RM conftest*
8963   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8964   touch conftest.a
8965   ln conftest.a conftest.b 2>&5 || hard_links=no
8966   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8968 $as_echo "$hard_links" >&6; }
8969   if test "$hard_links" = no; then
8970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8972     need_locks=warn
8973   fi
8974 else
8975   need_locks=no
8976 fi
8977
8978
8979
8980
8981
8982
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8984 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8985
8986   runpath_var=
8987   allow_undefined_flag=
8988   always_export_symbols=no
8989   archive_cmds=
8990   archive_expsym_cmds=
8991   compiler_needs_object=no
8992   enable_shared_with_static_runtimes=no
8993   export_dynamic_flag_spec=
8994   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8995   hardcode_automatic=no
8996   hardcode_direct=no
8997   hardcode_direct_absolute=no
8998   hardcode_libdir_flag_spec=
8999   hardcode_libdir_flag_spec_ld=
9000   hardcode_libdir_separator=
9001   hardcode_minus_L=no
9002   hardcode_shlibpath_var=unsupported
9003   inherit_rpath=no
9004   link_all_deplibs=unknown
9005   module_cmds=
9006   module_expsym_cmds=
9007   old_archive_from_new_cmds=
9008   old_archive_from_expsyms_cmds=
9009   thread_safe_flag_spec=
9010   whole_archive_flag_spec=
9011   # include_expsyms should be a list of space-separated symbols to be *always*
9012   # included in the symbol list
9013   include_expsyms=
9014   # exclude_expsyms can be an extended regexp of symbols to exclude
9015   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9016   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9017   # as well as any symbol that contains `d'.
9018   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9019   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9020   # platforms (ab)use it in PIC code, but their linkers get confused if
9021   # the symbol is explicitly referenced.  Since portable code cannot
9022   # rely on this symbol name, it's probably fine to never include it in
9023   # preloaded symbol tables.
9024   # Exclude shared library initialization/finalization symbols.
9025   extract_expsyms_cmds=
9026
9027   case $host_os in
9028   cygwin* | mingw* | pw32* | cegcc*)
9029     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9030     # When not using gcc, we currently assume that we are using
9031     # Microsoft Visual C++.
9032     if test "$GCC" != yes; then
9033       with_gnu_ld=no
9034     fi
9035     ;;
9036   interix*)
9037     # we just hope/assume this is gcc and not c89 (= MSVC++)
9038     with_gnu_ld=yes
9039     ;;
9040   openbsd*)
9041     with_gnu_ld=no
9042     ;;
9043   esac
9044
9045   ld_shlibs=yes
9046
9047   # On some targets, GNU ld is compatible enough with the native linker
9048   # that we're better off using the native interface for both.
9049   lt_use_gnu_ld_interface=no
9050   if test "$with_gnu_ld" = yes; then
9051     case $host_os in
9052       aix*)
9053         # The AIX port of GNU ld has always aspired to compatibility
9054         # with the native linker.  However, as the warning in the GNU ld
9055         # block says, versions before 2.19.5* couldn't really create working
9056         # shared libraries, regardless of the interface used.
9057         case `$LD -v 2>&1` in
9058           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9059           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9060           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9061           *)
9062             lt_use_gnu_ld_interface=yes
9063             ;;
9064         esac
9065         ;;
9066       *)
9067         lt_use_gnu_ld_interface=yes
9068         ;;
9069     esac
9070   fi
9071
9072   if test "$lt_use_gnu_ld_interface" = yes; then
9073     # If archive_cmds runs LD, not CC, wlarc should be empty
9074     wlarc='${wl}'
9075
9076     # Set some defaults for GNU ld with shared library support. These
9077     # are reset later if shared libraries are not supported. Putting them
9078     # here allows them to be overridden if necessary.
9079     runpath_var=LD_RUN_PATH
9080     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081     export_dynamic_flag_spec='${wl}--export-dynamic'
9082     # ancient GNU ld didn't support --whole-archive et. al.
9083     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9084       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9085     else
9086       whole_archive_flag_spec=
9087     fi
9088     supports_anon_versioning=no
9089     case `$LD -v 2>&1` in
9090       *GNU\ gold*) supports_anon_versioning=yes ;;
9091       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9092       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9093       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9094       *\ 2.11.*) ;; # other 2.11 versions
9095       *) supports_anon_versioning=yes ;;
9096     esac
9097
9098     # See if GNU ld supports shared libraries.
9099     case $host_os in
9100     aix[3-9]*)
9101       # On AIX/PPC, the GNU linker is very broken
9102       if test "$host_cpu" != ia64; then
9103         ld_shlibs=no
9104         cat <<_LT_EOF 1>&2
9105
9106 *** Warning: the GNU linker, at least up to release 2.19, is reported
9107 *** to be unable to reliably create shared libraries on AIX.
9108 *** Therefore, libtool is disabling shared libraries support.  If you
9109 *** really care for shared libraries, you may want to install binutils
9110 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9111 *** You will then need to restart the configuration process.
9112
9113 _LT_EOF
9114       fi
9115       ;;
9116
9117     amigaos*)
9118       case $host_cpu in
9119       powerpc)
9120             # see comment about AmigaOS4 .so support
9121             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122             archive_expsym_cmds=''
9123         ;;
9124       m68k)
9125             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)'
9126             hardcode_libdir_flag_spec='-L$libdir'
9127             hardcode_minus_L=yes
9128         ;;
9129       esac
9130       ;;
9131
9132     beos*)
9133       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9134         allow_undefined_flag=unsupported
9135         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9136         # support --undefined.  This deserves some investigation.  FIXME
9137         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138       else
9139         ld_shlibs=no
9140       fi
9141       ;;
9142
9143     cygwin* | mingw* | pw32* | cegcc*)
9144       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9145       # as there is no search path for DLLs.
9146       hardcode_libdir_flag_spec='-L$libdir'
9147       export_dynamic_flag_spec='${wl}--export-all-symbols'
9148       allow_undefined_flag=unsupported
9149       always_export_symbols=no
9150       enable_shared_with_static_runtimes=yes
9151       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9152
9153       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9154         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9155         # If the export-symbols file already is a .def file (1st line
9156         # is EXPORTS), use it as is; otherwise, prepend...
9157         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9158           cp $export_symbols $output_objdir/$soname.def;
9159         else
9160           echo EXPORTS > $output_objdir/$soname.def;
9161           cat $export_symbols >> $output_objdir/$soname.def;
9162         fi~
9163         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     haiku*)
9170       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171       link_all_deplibs=yes
9172       ;;
9173
9174     interix[3-9]*)
9175       hardcode_direct=no
9176       hardcode_shlibpath_var=no
9177       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9178       export_dynamic_flag_spec='${wl}-E'
9179       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9180       # Instead, shared libraries are loaded at an image base (0x10000000 by
9181       # default) and relocated if they conflict, which is a slow very memory
9182       # consuming and fragmenting process.  To avoid this, we pick a random,
9183       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9184       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9185       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9186       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'
9187       ;;
9188
9189     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9190       tmp_diet=no
9191       if test "$host_os" = linux-dietlibc; then
9192         case $cc_basename in
9193           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9194         esac
9195       fi
9196       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9197          && test "$tmp_diet" = no
9198       then
9199         tmp_addflag=
9200         tmp_sharedflag='-shared'
9201         case $cc_basename,$host_cpu in
9202         pgcc*)                          # Portland Group C compiler
9203           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'
9204           tmp_addflag=' $pic_flag'
9205           ;;
9206         pgf77* | pgf90* | pgf95* | pgfortran*)
9207                                         # Portland Group f77 and f90 compilers
9208           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'
9209           tmp_addflag=' $pic_flag -Mnomain' ;;
9210         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9211           tmp_addflag=' -i_dynamic' ;;
9212         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9213           tmp_addflag=' -i_dynamic -nofor_main' ;;
9214         ifc* | ifort*)                  # Intel Fortran compiler
9215           tmp_addflag=' -nofor_main' ;;
9216         lf95*)                          # Lahey Fortran 8.1
9217           whole_archive_flag_spec=
9218           tmp_sharedflag='--shared' ;;
9219         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9220           tmp_sharedflag='-qmkshrobj'
9221           tmp_addflag= ;;
9222         nvcc*)  # Cuda Compiler Driver 2.2
9223           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'
9224           compiler_needs_object=yes
9225           ;;
9226         esac
9227         case `$CC -V 2>&1 | sed 5q` in
9228         *Sun\ C*)                       # Sun C 5.9
9229           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'
9230           compiler_needs_object=yes
9231           tmp_sharedflag='-G' ;;
9232         *Sun\ F*)                       # Sun Fortran 8.3
9233           tmp_sharedflag='-G' ;;
9234         esac
9235         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236
9237         if test "x$supports_anon_versioning" = xyes; then
9238           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9239             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9240             echo "local: *; };" >> $output_objdir/$libname.ver~
9241             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9242         fi
9243
9244         case $cc_basename in
9245         xlf* | bgf* | bgxlf* | mpixlf*)
9246           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9247           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9248           hardcode_libdir_flag_spec=
9249           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9250           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9251           if test "x$supports_anon_versioning" = xyes; then
9252             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9253               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9254               echo "local: *; };" >> $output_objdir/$libname.ver~
9255               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9256           fi
9257           ;;
9258         esac
9259       else
9260         ld_shlibs=no
9261       fi
9262       ;;
9263
9264     netbsd*)
9265       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9266         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9267         wlarc=
9268       else
9269         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9271       fi
9272       ;;
9273
9274     solaris*)
9275       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9276         ld_shlibs=no
9277         cat <<_LT_EOF 1>&2
9278
9279 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9280 *** create shared libraries on Solaris systems.  Therefore, libtool
9281 *** is disabling shared libraries support.  We urge you to upgrade GNU
9282 *** binutils to release 2.9.1 or newer.  Another option is to modify
9283 *** your PATH or compiler configuration so that the native linker is
9284 *** used, and then restart.
9285
9286 _LT_EOF
9287       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9288         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9290       else
9291         ld_shlibs=no
9292       fi
9293       ;;
9294
9295     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9296       case `$LD -v 2>&1` in
9297         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9298         ld_shlibs=no
9299         cat <<_LT_EOF 1>&2
9300
9301 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9302 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9303 *** is disabling shared libraries support.  We urge you to upgrade GNU
9304 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9305 *** your PATH or compiler configuration so that the native linker is
9306 *** used, and then restart.
9307
9308 _LT_EOF
9309         ;;
9310         *)
9311           # For security reasons, it is highly recommended that you always
9312           # use absolute paths for naming shared libraries, and exclude the
9313           # DT_RUNPATH tag from executables and libraries.  But doing so
9314           # requires that you compile everything twice, which is a pain.
9315           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9316             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9317             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9318             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319           else
9320             ld_shlibs=no
9321           fi
9322         ;;
9323       esac
9324       ;;
9325
9326     sunos4*)
9327       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9328       wlarc=
9329       hardcode_direct=yes
9330       hardcode_shlibpath_var=no
9331       ;;
9332
9333     *)
9334       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9335         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9336         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9337       else
9338         ld_shlibs=no
9339       fi
9340       ;;
9341     esac
9342
9343     if test "$ld_shlibs" = no; then
9344       runpath_var=
9345       hardcode_libdir_flag_spec=
9346       export_dynamic_flag_spec=
9347       whole_archive_flag_spec=
9348     fi
9349   else
9350     # PORTME fill in a description of your system's linker (not GNU ld)
9351     case $host_os in
9352     aix3*)
9353       allow_undefined_flag=unsupported
9354       always_export_symbols=yes
9355       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'
9356       # Note: this linker hardcodes the directories in LIBPATH if there
9357       # are no directories specified by -L.
9358       hardcode_minus_L=yes
9359       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9360         # Neither direct hardcoding nor static linking is supported with a
9361         # broken collect2.
9362         hardcode_direct=unsupported
9363       fi
9364       ;;
9365
9366     aix[4-9]*)
9367       if test "$host_cpu" = ia64; then
9368         # On IA64, the linker does run time linking by default, so we don't
9369         # have to do anything special.
9370         aix_use_runtimelinking=no
9371         exp_sym_flag='-Bexport'
9372         no_entry_flag=""
9373       else
9374         # If we're using GNU nm, then we don't want the "-C" option.
9375         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9376         # Also, AIX nm treats weak defined symbols like other global
9377         # defined symbols, whereas GNU nm marks them as "W".
9378         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9379           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'
9380         else
9381           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'
9382         fi
9383         aix_use_runtimelinking=no
9384
9385         # Test if we are trying to use run time linking or normal
9386         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9387         # need to do runtime linking.
9388         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9389           for ld_flag in $LDFLAGS; do
9390           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9391             aix_use_runtimelinking=yes
9392             break
9393           fi
9394           done
9395           ;;
9396         esac
9397
9398         exp_sym_flag='-bexport'
9399         no_entry_flag='-bnoentry'
9400       fi
9401
9402       # When large executables or shared objects are built, AIX ld can
9403       # have problems creating the table of contents.  If linking a library
9404       # or program results in "error TOC overflow" add -mminimal-toc to
9405       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9406       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9407
9408       archive_cmds=''
9409       hardcode_direct=yes
9410       hardcode_direct_absolute=yes
9411       hardcode_libdir_separator=':'
9412       link_all_deplibs=yes
9413       file_list_spec='${wl}-f,'
9414
9415       if test "$GCC" = yes; then
9416         case $host_os in aix4.[012]|aix4.[012].*)
9417         # We only want to do this on AIX 4.2 and lower, the check
9418         # below for broken collect2 doesn't work under 4.3+
9419           collect2name=`${CC} -print-prog-name=collect2`
9420           if test -f "$collect2name" &&
9421            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9422           then
9423           # We have reworked collect2
9424           :
9425           else
9426           # We have old collect2
9427           hardcode_direct=unsupported
9428           # It fails to find uninstalled libraries when the uninstalled
9429           # path is not listed in the libpath.  Setting hardcode_minus_L
9430           # to unsupported forces relinking
9431           hardcode_minus_L=yes
9432           hardcode_libdir_flag_spec='-L$libdir'
9433           hardcode_libdir_separator=
9434           fi
9435           ;;
9436         esac
9437         shared_flag='-shared'
9438         if test "$aix_use_runtimelinking" = yes; then
9439           shared_flag="$shared_flag "'${wl}-G'
9440         fi
9441       else
9442         # not using gcc
9443         if test "$host_cpu" = ia64; then
9444         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9445         # chokes on -Wl,-G. The following line is correct:
9446           shared_flag='-G'
9447         else
9448           if test "$aix_use_runtimelinking" = yes; then
9449             shared_flag='${wl}-G'
9450           else
9451             shared_flag='${wl}-bM:SRE'
9452           fi
9453         fi
9454       fi
9455
9456       export_dynamic_flag_spec='${wl}-bexpall'
9457       # It seems that -bexpall does not export symbols beginning with
9458       # underscore (_), so it is better to generate a list of symbols to export.
9459       always_export_symbols=yes
9460       if test "$aix_use_runtimelinking" = yes; then
9461         # Warning - without using the other runtime loading flags (-brtl),
9462         # -berok will link without error, but may produce a broken library.
9463         allow_undefined_flag='-berok'
9464         # Determine the default libpath from the value encoded in an
9465         # empty executable.
9466         if test x$gcc_no_link = xyes; then
9467   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9468 fi
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h.  */
9471
9472 int
9473 main ()
9474 {
9475
9476   ;
9477   return 0;
9478 }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481
9482 lt_aix_libpath_sed='
9483     /Import File Strings/,/^$/ {
9484         /^0/ {
9485             s/^0  *\(.*\)$/\1/
9486             p
9487         }
9488     }'
9489 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9490 # Check for a 64-bit object if we didn't find anything.
9491 if test -z "$aix_libpath"; then
9492   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9493 fi
9494 fi
9495 rm -f core conftest.err conftest.$ac_objext \
9496     conftest$ac_exeext conftest.$ac_ext
9497 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9498
9499         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9500         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"
9501       else
9502         if test "$host_cpu" = ia64; then
9503           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9504           allow_undefined_flag="-z nodefs"
9505           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"
9506         else
9507          # Determine the default libpath from the value encoded in an
9508          # empty executable.
9509          if test x$gcc_no_link = xyes; then
9510   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9511 fi
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h.  */
9514
9515 int
9516 main ()
9517 {
9518
9519   ;
9520   return 0;
9521 }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524
9525 lt_aix_libpath_sed='
9526     /Import File Strings/,/^$/ {
9527         /^0/ {
9528             s/^0  *\(.*\)$/\1/
9529             p
9530         }
9531     }'
9532 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9533 # Check for a 64-bit object if we didn't find anything.
9534 if test -z "$aix_libpath"; then
9535   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 fi
9537 fi
9538 rm -f core conftest.err conftest.$ac_objext \
9539     conftest$ac_exeext conftest.$ac_ext
9540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9541
9542          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9543           # Warning - without using the other run time loading flags,
9544           # -berok will link without error, but may produce a broken library.
9545           no_undefined_flag=' ${wl}-bernotok'
9546           allow_undefined_flag=' ${wl}-berok'
9547           if test "$with_gnu_ld" = yes; then
9548             # We only use this code for GNU lds that support --whole-archive.
9549             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9550           else
9551             # Exported symbols can be pulled into shared objects from archives
9552             whole_archive_flag_spec='$convenience'
9553           fi
9554           archive_cmds_need_lc=yes
9555           # This is similar to how AIX traditionally builds its shared libraries.
9556           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'
9557         fi
9558       fi
9559       ;;
9560
9561     amigaos*)
9562       case $host_cpu in
9563       powerpc)
9564             # see comment about AmigaOS4 .so support
9565             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9566             archive_expsym_cmds=''
9567         ;;
9568       m68k)
9569             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)'
9570             hardcode_libdir_flag_spec='-L$libdir'
9571             hardcode_minus_L=yes
9572         ;;
9573       esac
9574       ;;
9575
9576     bsdi[45]*)
9577       export_dynamic_flag_spec=-rdynamic
9578       ;;
9579
9580     cygwin* | mingw* | pw32* | cegcc*)
9581       # When not using gcc, we currently assume that we are using
9582       # Microsoft Visual C++.
9583       # hardcode_libdir_flag_spec is actually meaningless, as there is
9584       # no search path for DLLs.
9585       hardcode_libdir_flag_spec=' '
9586       allow_undefined_flag=unsupported
9587       # Tell ltmain to make .lib files, not .a files.
9588       libext=lib
9589       # Tell ltmain to make .dll files, not .so files.
9590       shrext_cmds=".dll"
9591       # FIXME: Setting linknames here is a bad hack.
9592       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9593       # The linker will automatically build a .lib file if we build a DLL.
9594       old_archive_from_new_cmds='true'
9595       # FIXME: Should let the user specify the lib program.
9596       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9597       fix_srcfile_path='`cygpath -w "$srcfile"`'
9598       enable_shared_with_static_runtimes=yes
9599       ;;
9600
9601     darwin* | rhapsody*)
9602
9603
9604   archive_cmds_need_lc=no
9605   hardcode_direct=no
9606   hardcode_automatic=yes
9607   hardcode_shlibpath_var=unsupported
9608   if test "$lt_cv_ld_force_load" = "yes"; then
9609     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\"`'
9610   else
9611     whole_archive_flag_spec=''
9612   fi
9613   link_all_deplibs=yes
9614   allow_undefined_flag="$_lt_dar_allow_undefined"
9615   case $cc_basename in
9616      ifort*) _lt_dar_can_shared=yes ;;
9617      *) _lt_dar_can_shared=$GCC ;;
9618   esac
9619   if test "$_lt_dar_can_shared" = "yes"; then
9620     output_verbose_link_cmd=func_echo_all
9621     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9622     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9623     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}"
9624     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}"
9625
9626   else
9627   ld_shlibs=no
9628   fi
9629
9630       ;;
9631
9632     dgux*)
9633       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9634       hardcode_libdir_flag_spec='-L$libdir'
9635       hardcode_shlibpath_var=no
9636       ;;
9637
9638     freebsd1*)
9639       ld_shlibs=no
9640       ;;
9641
9642     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9643     # support.  Future versions do this automatically, but an explicit c++rt0.o
9644     # does not break anything, and helps significantly (at the cost of a little
9645     # extra space).
9646     freebsd2.2*)
9647       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9648       hardcode_libdir_flag_spec='-R$libdir'
9649       hardcode_direct=yes
9650       hardcode_shlibpath_var=no
9651       ;;
9652
9653     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9654     freebsd2*)
9655       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9656       hardcode_direct=yes
9657       hardcode_minus_L=yes
9658       hardcode_shlibpath_var=no
9659       ;;
9660
9661     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9662     freebsd* | dragonfly*)
9663       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9664       hardcode_libdir_flag_spec='-R$libdir'
9665       hardcode_direct=yes
9666       hardcode_shlibpath_var=no
9667       ;;
9668
9669     hpux9*)
9670       if test "$GCC" = yes; then
9671         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'
9672       else
9673         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'
9674       fi
9675       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9676       hardcode_libdir_separator=:
9677       hardcode_direct=yes
9678
9679       # hardcode_minus_L: Not really in the search PATH,
9680       # but as the default location of the library.
9681       hardcode_minus_L=yes
9682       export_dynamic_flag_spec='${wl}-E'
9683       ;;
9684
9685     hpux10*)
9686       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9687         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9688       else
9689         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9690       fi
9691       if test "$with_gnu_ld" = no; then
9692         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9693         hardcode_libdir_flag_spec_ld='+b $libdir'
9694         hardcode_libdir_separator=:
9695         hardcode_direct=yes
9696         hardcode_direct_absolute=yes
9697         export_dynamic_flag_spec='${wl}-E'
9698         # hardcode_minus_L: Not really in the search PATH,
9699         # but as the default location of the library.
9700         hardcode_minus_L=yes
9701       fi
9702       ;;
9703
9704     hpux11*)
9705       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706         case $host_cpu in
9707         hppa*64*)
9708           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9709           ;;
9710         ia64*)
9711           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9712           ;;
9713         *)
9714           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715           ;;
9716         esac
9717       else
9718         case $host_cpu in
9719         hppa*64*)
9720           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9721           ;;
9722         ia64*)
9723           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9724           ;;
9725         *)
9726
9727           # Older versions of the 11.00 compiler do not understand -b yet
9728           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9729           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9730 $as_echo_n "checking if $CC understands -b... " >&6; }
9731 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9732   $as_echo_n "(cached) " >&6
9733 else
9734   lt_cv_prog_compiler__b=no
9735    save_LDFLAGS="$LDFLAGS"
9736    LDFLAGS="$LDFLAGS -b"
9737    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9738    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9739      # The linker can only warn and ignore the option if not recognized
9740      # So say no if there are warnings
9741      if test -s conftest.err; then
9742        # Append any errors to the config.log.
9743        cat conftest.err 1>&5
9744        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9745        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9746        if diff conftest.exp conftest.er2 >/dev/null; then
9747          lt_cv_prog_compiler__b=yes
9748        fi
9749      else
9750        lt_cv_prog_compiler__b=yes
9751      fi
9752    fi
9753    $RM -r conftest*
9754    LDFLAGS="$save_LDFLAGS"
9755
9756 fi
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9758 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9759
9760 if test x"$lt_cv_prog_compiler__b" = xyes; then
9761     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9762 else
9763     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9764 fi
9765
9766           ;;
9767         esac
9768       fi
9769       if test "$with_gnu_ld" = no; then
9770         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9771         hardcode_libdir_separator=:
9772
9773         case $host_cpu in
9774         hppa*64*|ia64*)
9775           hardcode_direct=no
9776           hardcode_shlibpath_var=no
9777           ;;
9778         *)
9779           hardcode_direct=yes
9780           hardcode_direct_absolute=yes
9781           export_dynamic_flag_spec='${wl}-E'
9782
9783           # hardcode_minus_L: Not really in the search PATH,
9784           # but as the default location of the library.
9785           hardcode_minus_L=yes
9786           ;;
9787         esac
9788       fi
9789       ;;
9790
9791     irix5* | irix6* | nonstopux*)
9792       if test "$GCC" = yes; then
9793         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'
9794         # Try to use the -exported_symbol ld option, if it does not
9795         # work, assume that -exports_file does not work either and
9796         # implicitly export all symbols.
9797         save_LDFLAGS="$LDFLAGS"
9798         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9799         if test x$gcc_no_link = xyes; then
9800   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9801 fi
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h.  */
9804 int foo(void) {}
9805 _ACEOF
9806 if ac_fn_c_try_link "$LINENO"; then :
9807   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'
9808
9809 fi
9810 rm -f core conftest.err conftest.$ac_objext \
9811     conftest$ac_exeext conftest.$ac_ext
9812         LDFLAGS="$save_LDFLAGS"
9813       else
9814         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'
9815         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'
9816       fi
9817       archive_cmds_need_lc='no'
9818       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9819       hardcode_libdir_separator=:
9820       inherit_rpath=yes
9821       link_all_deplibs=yes
9822       ;;
9823
9824     netbsd*)
9825       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9826         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9827       else
9828         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9829       fi
9830       hardcode_libdir_flag_spec='-R$libdir'
9831       hardcode_direct=yes
9832       hardcode_shlibpath_var=no
9833       ;;
9834
9835     newsos6)
9836       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837       hardcode_direct=yes
9838       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9839       hardcode_libdir_separator=:
9840       hardcode_shlibpath_var=no
9841       ;;
9842
9843     *nto* | *qnx*)
9844       ;;
9845
9846     openbsd*)
9847       if test -f /usr/libexec/ld.so; then
9848         hardcode_direct=yes
9849         hardcode_shlibpath_var=no
9850         hardcode_direct_absolute=yes
9851         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9852           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9853           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9854           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9855           export_dynamic_flag_spec='${wl}-E'
9856         else
9857           case $host_os in
9858            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9859              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9860              hardcode_libdir_flag_spec='-R$libdir'
9861              ;;
9862            *)
9863              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9865              ;;
9866           esac
9867         fi
9868       else
9869         ld_shlibs=no
9870       fi
9871       ;;
9872
9873     os2*)
9874       hardcode_libdir_flag_spec='-L$libdir'
9875       hardcode_minus_L=yes
9876       allow_undefined_flag=unsupported
9877       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'
9878       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9879       ;;
9880
9881     osf3*)
9882       if test "$GCC" = yes; then
9883         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9884         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'
9885       else
9886         allow_undefined_flag=' -expect_unresolved \*'
9887         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'
9888       fi
9889       archive_cmds_need_lc='no'
9890       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891       hardcode_libdir_separator=:
9892       ;;
9893
9894     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9895       if test "$GCC" = yes; then
9896         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897         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'
9898         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899       else
9900         allow_undefined_flag=' -expect_unresolved \*'
9901         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'
9902         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~
9903         $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'
9904
9905         # Both c and cxx compiler support -rpath directly
9906         hardcode_libdir_flag_spec='-rpath $libdir'
9907       fi
9908       archive_cmds_need_lc='no'
9909       hardcode_libdir_separator=:
9910       ;;
9911
9912     solaris*)
9913       no_undefined_flag=' -z defs'
9914       if test "$GCC" = yes; then
9915         wlarc='${wl}'
9916         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9917         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9918           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9919       else
9920         case `$CC -V 2>&1` in
9921         *"Compilers 5.0"*)
9922           wlarc=''
9923           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9925           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9926           ;;
9927         *)
9928           wlarc='${wl}'
9929           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9930           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9932           ;;
9933         esac
9934       fi
9935       hardcode_libdir_flag_spec='-R$libdir'
9936       hardcode_shlibpath_var=no
9937       case $host_os in
9938       solaris2.[0-5] | solaris2.[0-5].*) ;;
9939       *)
9940         # The compiler driver will combine and reorder linker options,
9941         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9942         # but is careful enough not to reorder.
9943         # Supported since Solaris 2.6 (maybe 2.5.1?)
9944         if test "$GCC" = yes; then
9945           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9946         else
9947           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9948         fi
9949         ;;
9950       esac
9951       link_all_deplibs=yes
9952       ;;
9953
9954     sunos4*)
9955       if test "x$host_vendor" = xsequent; then
9956         # Use $CC to link under sequent, because it throws in some extra .o
9957         # files that make .init and .fini sections work.
9958         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959       else
9960         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9961       fi
9962       hardcode_libdir_flag_spec='-L$libdir'
9963       hardcode_direct=yes
9964       hardcode_minus_L=yes
9965       hardcode_shlibpath_var=no
9966       ;;
9967
9968     sysv4)
9969       case $host_vendor in
9970         sni)
9971           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972           hardcode_direct=yes # is this really true???
9973         ;;
9974         siemens)
9975           ## LD is ld it makes a PLAMLIB
9976           ## CC just makes a GrossModule.
9977           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9978           reload_cmds='$CC -r -o $output$reload_objs'
9979           hardcode_direct=no
9980         ;;
9981         motorola)
9982           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9983           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9984         ;;
9985       esac
9986       runpath_var='LD_RUN_PATH'
9987       hardcode_shlibpath_var=no
9988       ;;
9989
9990     sysv4.3*)
9991       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992       hardcode_shlibpath_var=no
9993       export_dynamic_flag_spec='-Bexport'
9994       ;;
9995
9996     sysv4*MP*)
9997       if test -d /usr/nec; then
9998         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999         hardcode_shlibpath_var=no
10000         runpath_var=LD_RUN_PATH
10001         hardcode_runpath_var=yes
10002         ld_shlibs=yes
10003       fi
10004       ;;
10005
10006     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10007       no_undefined_flag='${wl}-z,text'
10008       archive_cmds_need_lc=no
10009       hardcode_shlibpath_var=no
10010       runpath_var='LD_RUN_PATH'
10011
10012       if test "$GCC" = yes; then
10013         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10014         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015       else
10016         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018       fi
10019       ;;
10020
10021     sysv5* | sco3.2v5* | sco5v6*)
10022       # Note: We can NOT use -z defs as we might desire, because we do not
10023       # link with -lc, and that would cause any symbols used from libc to
10024       # always be unresolved, which means just about no library would
10025       # ever link correctly.  If we're not using GNU ld we use -z text
10026       # though, which does catch some bad symbols but isn't as heavy-handed
10027       # as -z defs.
10028       no_undefined_flag='${wl}-z,text'
10029       allow_undefined_flag='${wl}-z,nodefs'
10030       archive_cmds_need_lc=no
10031       hardcode_shlibpath_var=no
10032       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10033       hardcode_libdir_separator=':'
10034       link_all_deplibs=yes
10035       export_dynamic_flag_spec='${wl}-Bexport'
10036       runpath_var='LD_RUN_PATH'
10037
10038       if test "$GCC" = yes; then
10039         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041       else
10042         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044       fi
10045       ;;
10046
10047     uts4*)
10048       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049       hardcode_libdir_flag_spec='-L$libdir'
10050       hardcode_shlibpath_var=no
10051       ;;
10052
10053     *)
10054       ld_shlibs=no
10055       ;;
10056     esac
10057
10058     if test x$host_vendor = xsni; then
10059       case $host in
10060       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10061         export_dynamic_flag_spec='${wl}-Blargedynsym'
10062         ;;
10063       esac
10064     fi
10065   fi
10066
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10068 $as_echo "$ld_shlibs" >&6; }
10069 test "$ld_shlibs" = no && can_build_shared=no
10070
10071 with_gnu_ld=$with_gnu_ld
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087 #
10088 # Do we need to explicitly link libc?
10089 #
10090 case "x$archive_cmds_need_lc" in
10091 x|xyes)
10092   # Assume -lc should be added
10093   archive_cmds_need_lc=yes
10094
10095   if test "$enable_shared" = yes && test "$GCC" = yes; then
10096     case $archive_cmds in
10097     *'~'*)
10098       # FIXME: we may have to deal with multi-command sequences.
10099       ;;
10100     '$CC '*)
10101       # Test whether the compiler implicitly links with -lc since on some
10102       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10103       # to ld, don't add -lc before -lgcc.
10104       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10106 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10107   $as_echo_n "(cached) " >&6
10108 else
10109   $RM conftest*
10110         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10111
10112         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10113   (eval $ac_compile) 2>&5
10114   ac_status=$?
10115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10116   test $ac_status = 0; } 2>conftest.err; then
10117           soname=conftest
10118           lib=conftest
10119           libobjs=conftest.$ac_objext
10120           deplibs=
10121           wl=$lt_prog_compiler_wl
10122           pic_flag=$lt_prog_compiler_pic
10123           compiler_flags=-v
10124           linker_flags=-v
10125           verstring=
10126           output_objdir=.
10127           libname=conftest
10128           lt_save_allow_undefined_flag=$allow_undefined_flag
10129           allow_undefined_flag=
10130           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10131   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10132   ac_status=$?
10133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10134   test $ac_status = 0; }
10135           then
10136             lt_cv_archive_cmds_need_lc=no
10137           else
10138             lt_cv_archive_cmds_need_lc=yes
10139           fi
10140           allow_undefined_flag=$lt_save_allow_undefined_flag
10141         else
10142           cat conftest.err 1>&5
10143         fi
10144         $RM conftest*
10145
10146 fi
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10148 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10149       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10150       ;;
10151     esac
10152   fi
10153   ;;
10154 esac
10155
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10313 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10314
10315 if test "$GCC" = yes; then
10316   case $host_os in
10317     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10318     *) lt_awk_arg="/^libraries:/" ;;
10319   esac
10320   case $host_os in
10321     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10322     *) lt_sed_strip_eq="s,=/,/,g" ;;
10323   esac
10324   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10325   case $lt_search_path_spec in
10326   *\;*)
10327     # if the path contains ";" then we assume it to be the separator
10328     # otherwise default to the standard path separator (i.e. ":") - it is
10329     # assumed that no part of a normal pathname contains ";" but that should
10330     # okay in the real world where ";" in dirpaths is itself problematic.
10331     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10332     ;;
10333   *)
10334     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10335     ;;
10336   esac
10337   # Ok, now we have the path, separated by spaces, we can step through it
10338   # and add multilib dir if necessary.
10339   lt_tmp_lt_search_path_spec=
10340   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10341   for lt_sys_path in $lt_search_path_spec; do
10342     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10343       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10344     else
10345       test -d "$lt_sys_path" && \
10346         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10347     fi
10348   done
10349   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10350 BEGIN {RS=" "; FS="/|\n";} {
10351   lt_foo="";
10352   lt_count=0;
10353   for (lt_i = NF; lt_i > 0; lt_i--) {
10354     if ($lt_i != "" && $lt_i != ".") {
10355       if ($lt_i == "..") {
10356         lt_count++;
10357       } else {
10358         if (lt_count == 0) {
10359           lt_foo="/" $lt_i lt_foo;
10360         } else {
10361           lt_count--;
10362         }
10363       }
10364     }
10365   }
10366   if (lt_foo != "") { lt_freq[lt_foo]++; }
10367   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10368 }'`
10369   # AWK program above erroneously prepends '/' to C:/dos/paths
10370   # for these hosts.
10371   case $host_os in
10372     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10373       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10374   esac
10375   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10376 else
10377   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10378 fi
10379 library_names_spec=
10380 libname_spec='lib$name'
10381 soname_spec=
10382 shrext_cmds=".so"
10383 postinstall_cmds=
10384 postuninstall_cmds=
10385 finish_cmds=
10386 finish_eval=
10387 shlibpath_var=
10388 shlibpath_overrides_runpath=unknown
10389 version_type=none
10390 dynamic_linker="$host_os ld.so"
10391 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10392 need_lib_prefix=unknown
10393 hardcode_into_libs=no
10394
10395 # when you set need_version to no, make sure it does not cause -set_version
10396 # flags to be left without arguments
10397 need_version=unknown
10398
10399 case $host_os in
10400 aix3*)
10401   version_type=linux
10402   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10403   shlibpath_var=LIBPATH
10404
10405   # AIX 3 has no versioning support, so we append a major version to the name.
10406   soname_spec='${libname}${release}${shared_ext}$major'
10407   ;;
10408
10409 aix[4-9]*)
10410   version_type=linux
10411   need_lib_prefix=no
10412   need_version=no
10413   hardcode_into_libs=yes
10414   if test "$host_cpu" = ia64; then
10415     # AIX 5 supports IA64
10416     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10417     shlibpath_var=LD_LIBRARY_PATH
10418   else
10419     # With GCC up to 2.95.x, collect2 would create an import file
10420     # for dependence libraries.  The import file would start with
10421     # the line `#! .'.  This would cause the generated library to
10422     # depend on `.', always an invalid library.  This was fixed in
10423     # development snapshots of GCC prior to 3.0.
10424     case $host_os in
10425       aix4 | aix4.[01] | aix4.[01].*)
10426       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10427            echo ' yes '
10428            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10429         :
10430       else
10431         can_build_shared=no
10432       fi
10433       ;;
10434     esac
10435     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10436     # soname into executable. Probably we can add versioning support to
10437     # collect2, so additional links can be useful in future.
10438     if test "$aix_use_runtimelinking" = yes; then
10439       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10440       # instead of lib<name>.a to let people know that these are not
10441       # typical AIX shared libraries.
10442       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443     else
10444       # We preserve .a as extension for shared libraries through AIX4.2
10445       # and later when we are not doing run time linking.
10446       library_names_spec='${libname}${release}.a $libname.a'
10447       soname_spec='${libname}${release}${shared_ext}$major'
10448     fi
10449     shlibpath_var=LIBPATH
10450   fi
10451   ;;
10452
10453 amigaos*)
10454   case $host_cpu in
10455   powerpc)
10456     # Since July 2007 AmigaOS4 officially supports .so libraries.
10457     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10459     ;;
10460   m68k)
10461     library_names_spec='$libname.ixlibrary $libname.a'
10462     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10463     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'
10464     ;;
10465   esac
10466   ;;
10467
10468 beos*)
10469   library_names_spec='${libname}${shared_ext}'
10470   dynamic_linker="$host_os ld.so"
10471   shlibpath_var=LIBRARY_PATH
10472   ;;
10473
10474 bsdi[45]*)
10475   version_type=linux
10476   need_version=no
10477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478   soname_spec='${libname}${release}${shared_ext}$major'
10479   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10480   shlibpath_var=LD_LIBRARY_PATH
10481   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10482   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10483   # the default ld.so.conf also contains /usr/contrib/lib and
10484   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10485   # libtool to hard-code these into programs
10486   ;;
10487
10488 cygwin* | mingw* | pw32* | cegcc*)
10489   version_type=windows
10490   shrext_cmds=".dll"
10491   need_version=no
10492   need_lib_prefix=no
10493
10494   case $GCC,$host_os in
10495   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10496     library_names_spec='$libname.dll.a'
10497     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10498     postinstall_cmds='base_file=`basename \${file}`~
10499       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10500       dldir=$destdir/`dirname \$dlpath`~
10501       test -d \$dldir || mkdir -p \$dldir~
10502       $install_prog $dir/$dlname \$dldir/$dlname~
10503       chmod a+x \$dldir/$dlname~
10504       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10505         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10506       fi'
10507     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10508       dlpath=$dir/\$dldll~
10509        $RM \$dlpath'
10510     shlibpath_overrides_runpath=yes
10511
10512     case $host_os in
10513     cygwin*)
10514       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10515       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10516
10517       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10518       ;;
10519     mingw* | cegcc*)
10520       # MinGW DLLs use traditional 'lib' prefix
10521       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10522       ;;
10523     pw32*)
10524       # pw32 DLLs use 'pw' prefix rather than 'lib'
10525       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10526       ;;
10527     esac
10528     ;;
10529
10530   *)
10531     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10532     ;;
10533   esac
10534   dynamic_linker='Win32 ld.exe'
10535   # FIXME: first we should search . and the directory the executable is in
10536   shlibpath_var=PATH
10537   ;;
10538
10539 darwin* | rhapsody*)
10540   dynamic_linker="$host_os dyld"
10541   version_type=darwin
10542   need_lib_prefix=no
10543   need_version=no
10544   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10545   soname_spec='${libname}${release}${major}$shared_ext'
10546   shlibpath_overrides_runpath=yes
10547   shlibpath_var=DYLD_LIBRARY_PATH
10548   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10549
10550   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10551   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10552   ;;
10553
10554 dgux*)
10555   version_type=linux
10556   need_lib_prefix=no
10557   need_version=no
10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10559   soname_spec='${libname}${release}${shared_ext}$major'
10560   shlibpath_var=LD_LIBRARY_PATH
10561   ;;
10562
10563 freebsd1*)
10564   dynamic_linker=no
10565   ;;
10566
10567 freebsd* | dragonfly*)
10568   # DragonFly does not have aout.  When/if they implement a new
10569   # versioning mechanism, adjust this.
10570   if test -x /usr/bin/objformat; then
10571     objformat=`/usr/bin/objformat`
10572   else
10573     case $host_os in
10574     freebsd[123]*) objformat=aout ;;
10575     *) objformat=elf ;;
10576     esac
10577   fi
10578   version_type=freebsd-$objformat
10579   case $version_type in
10580     freebsd-elf*)
10581       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10582       need_version=no
10583       need_lib_prefix=no
10584       ;;
10585     freebsd-*)
10586       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10587       need_version=yes
10588       ;;
10589   esac
10590   shlibpath_var=LD_LIBRARY_PATH
10591   case $host_os in
10592   freebsd2*)
10593     shlibpath_overrides_runpath=yes
10594     ;;
10595   freebsd3.[01]* | freebsdelf3.[01]*)
10596     shlibpath_overrides_runpath=yes
10597     hardcode_into_libs=yes
10598     ;;
10599   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10600   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10601     shlibpath_overrides_runpath=no
10602     hardcode_into_libs=yes
10603     ;;
10604   *) # from 4.6 on, and DragonFly
10605     shlibpath_overrides_runpath=yes
10606     hardcode_into_libs=yes
10607     ;;
10608   esac
10609   ;;
10610
10611 gnu*)
10612   version_type=linux
10613   need_lib_prefix=no
10614   need_version=no
10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10616   soname_spec='${libname}${release}${shared_ext}$major'
10617   shlibpath_var=LD_LIBRARY_PATH
10618   hardcode_into_libs=yes
10619   ;;
10620
10621 haiku*)
10622   version_type=linux
10623   need_lib_prefix=no
10624   need_version=no
10625   dynamic_linker="$host_os runtime_loader"
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LIBRARY_PATH
10629   shlibpath_overrides_runpath=yes
10630   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10631   hardcode_into_libs=yes
10632   ;;
10633
10634 hpux9* | hpux10* | hpux11*)
10635   # Give a soname corresponding to the major version so that dld.sl refuses to
10636   # link against other versions.
10637   version_type=sunos
10638   need_lib_prefix=no
10639   need_version=no
10640   case $host_cpu in
10641   ia64*)
10642     shrext_cmds='.so'
10643     hardcode_into_libs=yes
10644     dynamic_linker="$host_os dld.so"
10645     shlibpath_var=LD_LIBRARY_PATH
10646     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648     soname_spec='${libname}${release}${shared_ext}$major'
10649     if test "X$HPUX_IA64_MODE" = X32; then
10650       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651     else
10652       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653     fi
10654     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10655     ;;
10656   hppa*64*)
10657     shrext_cmds='.sl'
10658     hardcode_into_libs=yes
10659     dynamic_linker="$host_os dld.sl"
10660     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10661     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663     soname_spec='${libname}${release}${shared_ext}$major'
10664     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10665     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10666     ;;
10667   *)
10668     shrext_cmds='.sl'
10669     dynamic_linker="$host_os dld.sl"
10670     shlibpath_var=SHLIB_PATH
10671     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673     soname_spec='${libname}${release}${shared_ext}$major'
10674     ;;
10675   esac
10676   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10677   postinstall_cmds='chmod 555 $lib'
10678   # or fails outright, so override atomically:
10679   install_override_mode=555
10680   ;;
10681
10682 interix[3-9]*)
10683   version_type=linux
10684   need_lib_prefix=no
10685   need_version=no
10686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10687   soname_spec='${libname}${release}${shared_ext}$major'
10688   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   shlibpath_overrides_runpath=no
10691   hardcode_into_libs=yes
10692   ;;
10693
10694 irix5* | irix6* | nonstopux*)
10695   case $host_os in
10696     nonstopux*) version_type=nonstopux ;;
10697     *)
10698         if test "$lt_cv_prog_gnu_ld" = yes; then
10699                 version_type=linux
10700         else
10701                 version_type=irix
10702         fi ;;
10703   esac
10704   need_lib_prefix=no
10705   need_version=no
10706   soname_spec='${libname}${release}${shared_ext}$major'
10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10708   case $host_os in
10709   irix5* | nonstopux*)
10710     libsuff= shlibsuff=
10711     ;;
10712   *)
10713     case $LD in # libtool.m4 will add one of these switches to LD
10714     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10715       libsuff= shlibsuff= libmagic=32-bit;;
10716     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10717       libsuff=32 shlibsuff=N32 libmagic=N32;;
10718     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10719       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10720     *) libsuff= shlibsuff= libmagic=never-match;;
10721     esac
10722     ;;
10723   esac
10724   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10725   shlibpath_overrides_runpath=no
10726   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10727   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10728   hardcode_into_libs=yes
10729   ;;
10730
10731 # No shared lib support for Linux oldld, aout, or coff.
10732 linux*oldld* | linux*aout* | linux*coff*)
10733   dynamic_linker=no
10734   ;;
10735
10736 # This must be Linux ELF.
10737 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10738   version_type=linux
10739   need_lib_prefix=no
10740   need_version=no
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742   soname_spec='${libname}${release}${shared_ext}$major'
10743   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10744   shlibpath_var=LD_LIBRARY_PATH
10745   shlibpath_overrides_runpath=no
10746
10747   # Some binutils ld are patched to set DT_RUNPATH
10748   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10749   $as_echo_n "(cached) " >&6
10750 else
10751   lt_cv_shlibpath_overrides_runpath=no
10752     save_LDFLAGS=$LDFLAGS
10753     save_libdir=$libdir
10754     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10755          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10756     if test x$gcc_no_link = xyes; then
10757   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10758 fi
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h.  */
10761
10762 int
10763 main ()
10764 {
10765
10766   ;
10767   return 0;
10768 }
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10772   lt_cv_shlibpath_overrides_runpath=yes
10773 fi
10774 fi
10775 rm -f core conftest.err conftest.$ac_objext \
10776     conftest$ac_exeext conftest.$ac_ext
10777     LDFLAGS=$save_LDFLAGS
10778     libdir=$save_libdir
10779
10780 fi
10781
10782   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10783
10784   # This implies no fast_install, which is unacceptable.
10785   # Some rework will be needed to allow for fast_install
10786   # before this can be enabled.
10787   hardcode_into_libs=yes
10788
10789   # Append ld.so.conf contents to the search path
10790   if test -f /etc/ld.so.conf; then
10791     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' ' '`
10792     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10793   fi
10794
10795   # We used to test for /lib/ld.so.1 and disable shared libraries on
10796   # powerpc, because MkLinux only supported shared libraries with the
10797   # GNU dynamic linker.  Since this was broken with cross compilers,
10798   # most powerpc-linux boxes support dynamic linking these days and
10799   # people can always --disable-shared, the test was removed, and we
10800   # assume the GNU/Linux dynamic linker is in use.
10801   dynamic_linker='GNU/Linux ld.so'
10802   ;;
10803
10804 netbsd*)
10805   version_type=sunos
10806   need_lib_prefix=no
10807   need_version=no
10808   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10811     dynamic_linker='NetBSD (a.out) ld.so'
10812   else
10813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10814     soname_spec='${libname}${release}${shared_ext}$major'
10815     dynamic_linker='NetBSD ld.elf_so'
10816   fi
10817   shlibpath_var=LD_LIBRARY_PATH
10818   shlibpath_overrides_runpath=yes
10819   hardcode_into_libs=yes
10820   ;;
10821
10822 newsos6)
10823   version_type=linux
10824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825   shlibpath_var=LD_LIBRARY_PATH
10826   shlibpath_overrides_runpath=yes
10827   ;;
10828
10829 *nto* | *qnx*)
10830   version_type=qnx
10831   need_lib_prefix=no
10832   need_version=no
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834   soname_spec='${libname}${release}${shared_ext}$major'
10835   shlibpath_var=LD_LIBRARY_PATH
10836   shlibpath_overrides_runpath=no
10837   hardcode_into_libs=yes
10838   dynamic_linker='ldqnx.so'
10839   ;;
10840
10841 openbsd*)
10842   version_type=sunos
10843   sys_lib_dlsearch_path_spec="/usr/lib"
10844   need_lib_prefix=no
10845   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10846   case $host_os in
10847     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10848     *)                          need_version=no  ;;
10849   esac
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10854     case $host_os in
10855       openbsd2.[89] | openbsd2.[89].*)
10856         shlibpath_overrides_runpath=no
10857         ;;
10858       *)
10859         shlibpath_overrides_runpath=yes
10860         ;;
10861       esac
10862   else
10863     shlibpath_overrides_runpath=yes
10864   fi
10865   ;;
10866
10867 os2*)
10868   libname_spec='$name'
10869   shrext_cmds=".dll"
10870   need_lib_prefix=no
10871   library_names_spec='$libname${shared_ext} $libname.a'
10872   dynamic_linker='OS/2 ld.exe'
10873   shlibpath_var=LIBPATH
10874   ;;
10875
10876 osf3* | osf4* | osf5*)
10877   version_type=osf
10878   need_lib_prefix=no
10879   need_version=no
10880   soname_spec='${libname}${release}${shared_ext}$major'
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882   shlibpath_var=LD_LIBRARY_PATH
10883   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10884   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10885   ;;
10886
10887 rdos*)
10888   dynamic_linker=no
10889   ;;
10890
10891 solaris*)
10892   version_type=linux
10893   need_lib_prefix=no
10894   need_version=no
10895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896   soname_spec='${libname}${release}${shared_ext}$major'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=yes
10899   hardcode_into_libs=yes
10900   # ldd complains unless libraries are executable
10901   postinstall_cmds='chmod +x $lib'
10902   ;;
10903
10904 sunos4*)
10905   version_type=sunos
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   shlibpath_overrides_runpath=yes
10910   if test "$with_gnu_ld" = yes; then
10911     need_lib_prefix=no
10912   fi
10913   need_version=yes
10914   ;;
10915
10916 sysv4 | sysv4.3*)
10917   version_type=linux
10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   shlibpath_var=LD_LIBRARY_PATH
10921   case $host_vendor in
10922     sni)
10923       shlibpath_overrides_runpath=no
10924       need_lib_prefix=no
10925       runpath_var=LD_RUN_PATH
10926       ;;
10927     siemens)
10928       need_lib_prefix=no
10929       ;;
10930     motorola)
10931       need_lib_prefix=no
10932       need_version=no
10933       shlibpath_overrides_runpath=no
10934       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10935       ;;
10936   esac
10937   ;;
10938
10939 sysv4*MP*)
10940   if test -d /usr/nec ;then
10941     version_type=linux
10942     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10943     soname_spec='$libname${shared_ext}.$major'
10944     shlibpath_var=LD_LIBRARY_PATH
10945   fi
10946   ;;
10947
10948 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10949   version_type=freebsd-elf
10950   need_lib_prefix=no
10951   need_version=no
10952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10953   soname_spec='${libname}${release}${shared_ext}$major'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   shlibpath_overrides_runpath=yes
10956   hardcode_into_libs=yes
10957   if test "$with_gnu_ld" = yes; then
10958     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10959   else
10960     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10961     case $host_os in
10962       sco3.2v5*)
10963         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10964         ;;
10965     esac
10966   fi
10967   sys_lib_dlsearch_path_spec='/usr/lib'
10968   ;;
10969
10970 tpf*)
10971   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10972   version_type=linux
10973   need_lib_prefix=no
10974   need_version=no
10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976   shlibpath_var=LD_LIBRARY_PATH
10977   shlibpath_overrides_runpath=no
10978   hardcode_into_libs=yes
10979   ;;
10980
10981 uts4*)
10982   version_type=linux
10983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984   soname_spec='${libname}${release}${shared_ext}$major'
10985   shlibpath_var=LD_LIBRARY_PATH
10986   ;;
10987
10988 *)
10989   dynamic_linker=no
10990   ;;
10991 esac
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10993 $as_echo "$dynamic_linker" >&6; }
10994 test "$dynamic_linker" = no && can_build_shared=no
10995
10996 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10997 if test "$GCC" = yes; then
10998   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10999 fi
11000
11001 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11002   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11003 fi
11004 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11005   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11006 fi
11007
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11100 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11101 hardcode_action=
11102 if test -n "$hardcode_libdir_flag_spec" ||
11103    test -n "$runpath_var" ||
11104    test "X$hardcode_automatic" = "Xyes" ; then
11105
11106   # We can hardcode non-existent directories.
11107   if test "$hardcode_direct" != no &&
11108      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11109      # have to relink, otherwise we might link with an installed library
11110      # when we should be linking with a yet-to-be-installed one
11111      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11112      test "$hardcode_minus_L" != no; then
11113     # Linking always hardcodes the temporary library directory.
11114     hardcode_action=relink
11115   else
11116     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11117     hardcode_action=immediate
11118   fi
11119 else
11120   # We cannot hardcode anything, or else we can only hardcode existing
11121   # directories.
11122   hardcode_action=unsupported
11123 fi
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11125 $as_echo "$hardcode_action" >&6; }
11126
11127 if test "$hardcode_action" = relink ||
11128    test "$inherit_rpath" = yes; then
11129   # Fast installation is not supported
11130   enable_fast_install=no
11131 elif test "$shlibpath_overrides_runpath" = yes ||
11132      test "$enable_shared" = no; then
11133   # Fast installation is not necessary
11134   enable_fast_install=needless
11135 fi
11136
11137
11138
11139
11140
11141
11142   if test "x$enable_dlopen" != xyes; then
11143   enable_dlopen=unknown
11144   enable_dlopen_self=unknown
11145   enable_dlopen_self_static=unknown
11146 else
11147   lt_cv_dlopen=no
11148   lt_cv_dlopen_libs=
11149
11150   case $host_os in
11151   beos*)
11152     lt_cv_dlopen="load_add_on"
11153     lt_cv_dlopen_libs=
11154     lt_cv_dlopen_self=yes
11155     ;;
11156
11157   mingw* | pw32* | cegcc*)
11158     lt_cv_dlopen="LoadLibrary"
11159     lt_cv_dlopen_libs=
11160     ;;
11161
11162   cygwin*)
11163     lt_cv_dlopen="dlopen"
11164     lt_cv_dlopen_libs=
11165     ;;
11166
11167   darwin*)
11168   # if libdl is installed we need to link against it
11169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11171 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11172   $as_echo_n "(cached) " >&6
11173 else
11174   ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-ldl  $LIBS"
11176 if test x$gcc_no_link = xyes; then
11177   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11178 fi
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h.  */
11181
11182 /* Override any GCC internal prototype to avoid an error.
11183    Use char because int might match the return type of a GCC
11184    builtin and then its argument prototype would still apply.  */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char dlopen ();
11189 int
11190 main ()
11191 {
11192 return dlopen ();
11193   ;
11194   return 0;
11195 }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198   ac_cv_lib_dl_dlopen=yes
11199 else
11200   ac_cv_lib_dl_dlopen=no
11201 fi
11202 rm -f core conftest.err conftest.$ac_objext \
11203     conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11208 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11209   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11210 else
11211
11212     lt_cv_dlopen="dyld"
11213     lt_cv_dlopen_libs=
11214     lt_cv_dlopen_self=yes
11215
11216 fi
11217
11218     ;;
11219
11220   *)
11221     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11222 if test "x$ac_cv_func_shl_load" = x""yes; then :
11223   lt_cv_dlopen="shl_load"
11224 else
11225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11226 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11227 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11228   $as_echo_n "(cached) " >&6
11229 else
11230   ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldld  $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11234 fi
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h.  */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239    Use char because int might match the return type of a GCC
11240    builtin and then its argument prototype would still apply.  */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char shl_load ();
11245 int
11246 main ()
11247 {
11248 return shl_load ();
11249   ;
11250   return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254   ac_cv_lib_dld_shl_load=yes
11255 else
11256   ac_cv_lib_dld_shl_load=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259     conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11263 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11264 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11265   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11266 else
11267   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11268 if test "x$ac_cv_func_dlopen" = x""yes; then :
11269   lt_cv_dlopen="dlopen"
11270 else
11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11272 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11273 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11274   $as_echo_n "(cached) " >&6
11275 else
11276   ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-ldl  $LIBS"
11278 if test x$gcc_no_link = xyes; then
11279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11280 fi
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h.  */
11283
11284 /* Override any GCC internal prototype to avoid an error.
11285    Use char because int might match the return type of a GCC
11286    builtin and then its argument prototype would still apply.  */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char dlopen ();
11291 int
11292 main ()
11293 {
11294 return dlopen ();
11295   ;
11296   return 0;
11297 }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300   ac_cv_lib_dl_dlopen=yes
11301 else
11302   ac_cv_lib_dl_dlopen=no
11303 fi
11304 rm -f core conftest.err conftest.$ac_objext \
11305     conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11307 fi
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11309 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11310 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11311   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11312 else
11313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11314 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11315 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11316   $as_echo_n "(cached) " >&6
11317 else
11318   ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lsvld  $LIBS"
11320 if test x$gcc_no_link = xyes; then
11321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11322 fi
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h.  */
11325
11326 /* Override any GCC internal prototype to avoid an error.
11327    Use char because int might match the return type of a GCC
11328    builtin and then its argument prototype would still apply.  */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char dlopen ();
11333 int
11334 main ()
11335 {
11336 return dlopen ();
11337   ;
11338   return 0;
11339 }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342   ac_cv_lib_svld_dlopen=yes
11343 else
11344   ac_cv_lib_svld_dlopen=no
11345 fi
11346 rm -f core conftest.err conftest.$ac_objext \
11347     conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11349 fi
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11351 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11352 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11353   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11354 else
11355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11356 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11357 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11358   $as_echo_n "(cached) " >&6
11359 else
11360   ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-ldld  $LIBS"
11362 if test x$gcc_no_link = xyes; then
11363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11364 fi
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h.  */
11367
11368 /* Override any GCC internal prototype to avoid an error.
11369    Use char because int might match the return type of a GCC
11370    builtin and then its argument prototype would still apply.  */
11371 #ifdef __cplusplus
11372 extern "C"
11373 #endif
11374 char dld_link ();
11375 int
11376 main ()
11377 {
11378 return dld_link ();
11379   ;
11380   return 0;
11381 }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"; then :
11384   ac_cv_lib_dld_dld_link=yes
11385 else
11386   ac_cv_lib_dld_dld_link=no
11387 fi
11388 rm -f core conftest.err conftest.$ac_objext \
11389     conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_lib_save_LIBS
11391 fi
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11393 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11394 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11395   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11396 fi
11397
11398
11399 fi
11400
11401
11402 fi
11403
11404
11405 fi
11406
11407
11408 fi
11409
11410
11411 fi
11412
11413     ;;
11414   esac
11415
11416   if test "x$lt_cv_dlopen" != xno; then
11417     enable_dlopen=yes
11418   else
11419     enable_dlopen=no
11420   fi
11421
11422   case $lt_cv_dlopen in
11423   dlopen)
11424     save_CPPFLAGS="$CPPFLAGS"
11425     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11426
11427     save_LDFLAGS="$LDFLAGS"
11428     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11429
11430     save_LIBS="$LIBS"
11431     LIBS="$lt_cv_dlopen_libs $LIBS"
11432
11433     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11434 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11435 if test "${lt_cv_dlopen_self+set}" = set; then :
11436   $as_echo_n "(cached) " >&6
11437 else
11438           if test "$cross_compiling" = yes; then :
11439   lt_cv_dlopen_self=cross
11440 else
11441   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11442   lt_status=$lt_dlunknown
11443   cat > conftest.$ac_ext <<_LT_EOF
11444 #line 11444 "configure"
11445 #include "confdefs.h"
11446
11447 #if HAVE_DLFCN_H
11448 #include <dlfcn.h>
11449 #endif
11450
11451 #include <stdio.h>
11452
11453 #ifdef RTLD_GLOBAL
11454 #  define LT_DLGLOBAL           RTLD_GLOBAL
11455 #else
11456 #  ifdef DL_GLOBAL
11457 #    define LT_DLGLOBAL         DL_GLOBAL
11458 #  else
11459 #    define LT_DLGLOBAL         0
11460 #  endif
11461 #endif
11462
11463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11464    find out it does not work in some platform. */
11465 #ifndef LT_DLLAZY_OR_NOW
11466 #  ifdef RTLD_LAZY
11467 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11468 #  else
11469 #    ifdef DL_LAZY
11470 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11471 #    else
11472 #      ifdef RTLD_NOW
11473 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11474 #      else
11475 #        ifdef DL_NOW
11476 #          define LT_DLLAZY_OR_NOW      DL_NOW
11477 #        else
11478 #          define LT_DLLAZY_OR_NOW      0
11479 #        endif
11480 #      endif
11481 #    endif
11482 #  endif
11483 #endif
11484
11485 /* When -fvisbility=hidden is used, assume the code has been annotated
11486    correspondingly for the symbols needed.  */
11487 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11488 void fnord () __attribute__((visibility("default")));
11489 #endif
11490
11491 void fnord () { int i=42; }
11492 int main ()
11493 {
11494   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11495   int status = $lt_dlunknown;
11496
11497   if (self)
11498     {
11499       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11500       else
11501         {
11502           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11503           else puts (dlerror ());
11504         }
11505       /* dlclose (self); */
11506     }
11507   else
11508     puts (dlerror ());
11509
11510   return status;
11511 }
11512 _LT_EOF
11513   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11514   (eval $ac_link) 2>&5
11515   ac_status=$?
11516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11517   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11518     (./conftest; exit; ) >&5 2>/dev/null
11519     lt_status=$?
11520     case x$lt_status in
11521       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11522       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11523       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11524     esac
11525   else :
11526     # compilation failed
11527     lt_cv_dlopen_self=no
11528   fi
11529 fi
11530 rm -fr conftest*
11531
11532
11533 fi
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11535 $as_echo "$lt_cv_dlopen_self" >&6; }
11536
11537     if test "x$lt_cv_dlopen_self" = xyes; then
11538       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11539       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11540 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11541 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11542   $as_echo_n "(cached) " >&6
11543 else
11544           if test "$cross_compiling" = yes; then :
11545   lt_cv_dlopen_self_static=cross
11546 else
11547   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11548   lt_status=$lt_dlunknown
11549   cat > conftest.$ac_ext <<_LT_EOF
11550 #line 11550 "configure"
11551 #include "confdefs.h"
11552
11553 #if HAVE_DLFCN_H
11554 #include <dlfcn.h>
11555 #endif
11556
11557 #include <stdio.h>
11558
11559 #ifdef RTLD_GLOBAL
11560 #  define LT_DLGLOBAL           RTLD_GLOBAL
11561 #else
11562 #  ifdef DL_GLOBAL
11563 #    define LT_DLGLOBAL         DL_GLOBAL
11564 #  else
11565 #    define LT_DLGLOBAL         0
11566 #  endif
11567 #endif
11568
11569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11570    find out it does not work in some platform. */
11571 #ifndef LT_DLLAZY_OR_NOW
11572 #  ifdef RTLD_LAZY
11573 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11574 #  else
11575 #    ifdef DL_LAZY
11576 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11577 #    else
11578 #      ifdef RTLD_NOW
11579 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11580 #      else
11581 #        ifdef DL_NOW
11582 #          define LT_DLLAZY_OR_NOW      DL_NOW
11583 #        else
11584 #          define LT_DLLAZY_OR_NOW      0
11585 #        endif
11586 #      endif
11587 #    endif
11588 #  endif
11589 #endif
11590
11591 /* When -fvisbility=hidden is used, assume the code has been annotated
11592    correspondingly for the symbols needed.  */
11593 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11594 void fnord () __attribute__((visibility("default")));
11595 #endif
11596
11597 void fnord () { int i=42; }
11598 int main ()
11599 {
11600   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11601   int status = $lt_dlunknown;
11602
11603   if (self)
11604     {
11605       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11606       else
11607         {
11608           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11609           else puts (dlerror ());
11610         }
11611       /* dlclose (self); */
11612     }
11613   else
11614     puts (dlerror ());
11615
11616   return status;
11617 }
11618 _LT_EOF
11619   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11620   (eval $ac_link) 2>&5
11621   ac_status=$?
11622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11623   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11624     (./conftest; exit; ) >&5 2>/dev/null
11625     lt_status=$?
11626     case x$lt_status in
11627       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11628       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11629       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11630     esac
11631   else :
11632     # compilation failed
11633     lt_cv_dlopen_self_static=no
11634   fi
11635 fi
11636 rm -fr conftest*
11637
11638
11639 fi
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11641 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11642     fi
11643
11644     CPPFLAGS="$save_CPPFLAGS"
11645     LDFLAGS="$save_LDFLAGS"
11646     LIBS="$save_LIBS"
11647     ;;
11648   esac
11649
11650   case $lt_cv_dlopen_self in
11651   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11652   *) enable_dlopen_self=unknown ;;
11653   esac
11654
11655   case $lt_cv_dlopen_self_static in
11656   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11657   *) enable_dlopen_self_static=unknown ;;
11658   esac
11659 fi
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677 striplib=
11678 old_striplib=
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11680 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11681 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11682   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11683   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11685 $as_echo "yes" >&6; }
11686 else
11687 # FIXME - insert some real tests, host_os isn't really good enough
11688   case $host_os in
11689   darwin*)
11690     if test -n "$STRIP" ; then
11691       striplib="$STRIP -x"
11692       old_striplib="$STRIP -S"
11693       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11694 $as_echo "yes" >&6; }
11695     else
11696       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11698     fi
11699     ;;
11700   *)
11701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11702 $as_echo "no" >&6; }
11703     ;;
11704   esac
11705 fi
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718   # Report which library types will actually be built
11719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11720 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11722 $as_echo "$can_build_shared" >&6; }
11723
11724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11725 $as_echo_n "checking whether to build shared libraries... " >&6; }
11726   test "$can_build_shared" = "no" && enable_shared=no
11727
11728   # On AIX, shared libraries and static libraries use the same namespace, and
11729   # are all built from PIC.
11730   case $host_os in
11731   aix3*)
11732     test "$enable_shared" = yes && enable_static=no
11733     if test -n "$RANLIB"; then
11734       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11735       postinstall_cmds='$RANLIB $lib'
11736     fi
11737     ;;
11738
11739   aix[4-9]*)
11740     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11741       test "$enable_shared" = yes && enable_static=no
11742     fi
11743     ;;
11744   esac
11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11746 $as_echo "$enable_shared" >&6; }
11747
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11749 $as_echo_n "checking whether to build static libraries... " >&6; }
11750   # Make sure either enable_shared or enable_static is yes.
11751   test "$enable_shared" = yes || enable_static=yes
11752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11753 $as_echo "$enable_static" >&6; }
11754
11755
11756
11757
11758 fi
11759 ac_ext=c
11760 ac_cpp='$CPP $CPPFLAGS'
11761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11764
11765 CC="$lt_save_CC"
11766
11767       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11768     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11769     (test "X$CXX" != "Xg++"))) ; then
11770   ac_ext=cpp
11771 ac_cpp='$CXXCPP $CPPFLAGS'
11772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11776 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11777 if test -z "$CXXCPP"; then
11778   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11779   $as_echo_n "(cached) " >&6
11780 else
11781       # Double quotes because CXXCPP needs to be expanded
11782     for CXXCPP in "$CXX -E" "/lib/cpp"
11783     do
11784       ac_preproc_ok=false
11785 for ac_cxx_preproc_warn_flag in '' yes
11786 do
11787   # Use a header file that comes with gcc, so configuring glibc
11788   # with a fresh cross-compiler works.
11789   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11790   # <limits.h> exists even on freestanding compilers.
11791   # On the NeXT, cc -E runs the code through the compiler's parser,
11792   # not just through cpp. "Syntax error" is here to catch this case.
11793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h.  */
11795 #ifdef __STDC__
11796 # include <limits.h>
11797 #else
11798 # include <assert.h>
11799 #endif
11800                      Syntax error
11801 _ACEOF
11802 if ac_fn_cxx_try_cpp "$LINENO"; then :
11803
11804 else
11805   # Broken: fails on valid input.
11806 continue
11807 fi
11808 rm -f conftest.err conftest.$ac_ext
11809
11810   # OK, works on sane cases.  Now check whether nonexistent headers
11811   # can be detected and how.
11812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h.  */
11814 #include <ac_nonexistent.h>
11815 _ACEOF
11816 if ac_fn_cxx_try_cpp "$LINENO"; then :
11817   # Broken: success on invalid input.
11818 continue
11819 else
11820   # Passes both tests.
11821 ac_preproc_ok=:
11822 break
11823 fi
11824 rm -f conftest.err conftest.$ac_ext
11825
11826 done
11827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11828 rm -f conftest.err conftest.$ac_ext
11829 if $ac_preproc_ok; then :
11830   break
11831 fi
11832
11833     done
11834     ac_cv_prog_CXXCPP=$CXXCPP
11835
11836 fi
11837   CXXCPP=$ac_cv_prog_CXXCPP
11838 else
11839   ac_cv_prog_CXXCPP=$CXXCPP
11840 fi
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11842 $as_echo "$CXXCPP" >&6; }
11843 ac_preproc_ok=false
11844 for ac_cxx_preproc_warn_flag in '' yes
11845 do
11846   # Use a header file that comes with gcc, so configuring glibc
11847   # with a fresh cross-compiler works.
11848   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11849   # <limits.h> exists even on freestanding compilers.
11850   # On the NeXT, cc -E runs the code through the compiler's parser,
11851   # not just through cpp. "Syntax error" is here to catch this case.
11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h.  */
11854 #ifdef __STDC__
11855 # include <limits.h>
11856 #else
11857 # include <assert.h>
11858 #endif
11859                      Syntax error
11860 _ACEOF
11861 if ac_fn_cxx_try_cpp "$LINENO"; then :
11862
11863 else
11864   # Broken: fails on valid input.
11865 continue
11866 fi
11867 rm -f conftest.err conftest.$ac_ext
11868
11869   # OK, works on sane cases.  Now check whether nonexistent headers
11870   # can be detected and how.
11871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h.  */
11873 #include <ac_nonexistent.h>
11874 _ACEOF
11875 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876   # Broken: success on invalid input.
11877 continue
11878 else
11879   # Passes both tests.
11880 ac_preproc_ok=:
11881 break
11882 fi
11883 rm -f conftest.err conftest.$ac_ext
11884
11885 done
11886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11887 rm -f conftest.err conftest.$ac_ext
11888 if $ac_preproc_ok; then :
11889
11890 else
11891   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11893 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11894 See \`config.log' for more details." "$LINENO" 5; }
11895 fi
11896
11897 ac_ext=c
11898 ac_cpp='$CPP $CPPFLAGS'
11899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11902
11903 else
11904   _lt_caught_CXX_error=yes
11905 fi
11906
11907 ac_ext=cpp
11908 ac_cpp='$CXXCPP $CPPFLAGS'
11909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11912
11913 archive_cmds_need_lc_CXX=no
11914 allow_undefined_flag_CXX=
11915 always_export_symbols_CXX=no
11916 archive_expsym_cmds_CXX=
11917 compiler_needs_object_CXX=no
11918 export_dynamic_flag_spec_CXX=
11919 hardcode_direct_CXX=no
11920 hardcode_direct_absolute_CXX=no
11921 hardcode_libdir_flag_spec_CXX=
11922 hardcode_libdir_flag_spec_ld_CXX=
11923 hardcode_libdir_separator_CXX=
11924 hardcode_minus_L_CXX=no
11925 hardcode_shlibpath_var_CXX=unsupported
11926 hardcode_automatic_CXX=no
11927 inherit_rpath_CXX=no
11928 module_cmds_CXX=
11929 module_expsym_cmds_CXX=
11930 link_all_deplibs_CXX=unknown
11931 old_archive_cmds_CXX=$old_archive_cmds
11932 reload_flag_CXX=$reload_flag
11933 reload_cmds_CXX=$reload_cmds
11934 no_undefined_flag_CXX=
11935 whole_archive_flag_spec_CXX=
11936 enable_shared_with_static_runtimes_CXX=no
11937
11938 # Source file extension for C++ test sources.
11939 ac_ext=cpp
11940
11941 # Object file extension for compiled C++ test sources.
11942 objext=o
11943 objext_CXX=$objext
11944
11945 # No sense in running all these tests if we already determined that
11946 # the CXX compiler isn't working.  Some variables (like enable_shared)
11947 # are currently assumed to apply to all compilers on this platform,
11948 # and will be corrupted by setting them based on a non-working compiler.
11949 if test "$_lt_caught_CXX_error" != yes; then
11950   # Code to be used in simple compile tests
11951   lt_simple_compile_test_code="int some_variable = 0;"
11952
11953   # Code to be used in simple link tests
11954   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11955
11956   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11957
11958
11959
11960
11961
11962
11963 # If no C compiler was specified, use CC.
11964 LTCC=${LTCC-"$CC"}
11965
11966 # If no C compiler flags were specified, use CFLAGS.
11967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11968
11969 # Allow CC to be a program name with arguments.
11970 compiler=$CC
11971
11972
11973   # save warnings/boilerplate of simple test code
11974   ac_outfile=conftest.$ac_objext
11975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11977 _lt_compiler_boilerplate=`cat conftest.err`
11978 $RM conftest*
11979
11980   ac_outfile=conftest.$ac_objext
11981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11983 _lt_linker_boilerplate=`cat conftest.err`
11984 $RM -r conftest*
11985
11986
11987   # Allow CC to be a program name with arguments.
11988   lt_save_CC=$CC
11989   lt_save_LD=$LD
11990   lt_save_GCC=$GCC
11991   GCC=$GXX
11992   lt_save_with_gnu_ld=$with_gnu_ld
11993   lt_save_path_LD=$lt_cv_path_LD
11994   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11995     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11996   else
11997     $as_unset lt_cv_prog_gnu_ld
11998   fi
11999   if test -n "${lt_cv_path_LDCXX+set}"; then
12000     lt_cv_path_LD=$lt_cv_path_LDCXX
12001   else
12002     $as_unset lt_cv_path_LD
12003   fi
12004   test -z "${LDCXX+set}" || LD=$LDCXX
12005   CC=${CXX-"c++"}
12006   compiler=$CC
12007   compiler_CXX=$CC
12008   for cc_temp in $compiler""; do
12009   case $cc_temp in
12010     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12011     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12012     \-*) ;;
12013     *) break;;
12014   esac
12015 done
12016 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12017
12018
12019   if test -n "$compiler"; then
12020     # We don't want -fno-exception when compiling C++ code, so set the
12021     # no_builtin_flag separately
12022     if test "$GXX" = yes; then
12023       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12024     else
12025       lt_prog_compiler_no_builtin_flag_CXX=
12026     fi
12027
12028     if test "$GXX" = yes; then
12029       # Set up default GNU C++ configuration
12030
12031
12032
12033 # Check whether --with-gnu-ld was given.
12034 if test "${with_gnu_ld+set}" = set; then :
12035   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12036 else
12037   with_gnu_ld=no
12038 fi
12039
12040 ac_prog=ld
12041 if test "$GCC" = yes; then
12042   # Check if gcc -print-prog-name=ld gives a path.
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12044 $as_echo_n "checking for ld used by $CC... " >&6; }
12045   case $host in
12046   *-*-mingw*)
12047     # gcc leaves a trailing carriage return which upsets mingw
12048     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12049   *)
12050     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12051   esac
12052   case $ac_prog in
12053     # Accept absolute paths.
12054     [\\/]* | ?:[\\/]*)
12055       re_direlt='/[^/][^/]*/\.\./'
12056       # Canonicalize the pathname of ld
12057       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12058       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12059         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12060       done
12061       test -z "$LD" && LD="$ac_prog"
12062       ;;
12063   "")
12064     # If it fails, then pretend we aren't using GCC.
12065     ac_prog=ld
12066     ;;
12067   *)
12068     # If it is relative, then search for the first ld in PATH.
12069     with_gnu_ld=unknown
12070     ;;
12071   esac
12072 elif test "$with_gnu_ld" = yes; then
12073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12074 $as_echo_n "checking for GNU ld... " >&6; }
12075 else
12076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12077 $as_echo_n "checking for non-GNU ld... " >&6; }
12078 fi
12079 if test "${lt_cv_path_LD+set}" = set; then :
12080   $as_echo_n "(cached) " >&6
12081 else
12082   if test -z "$LD"; then
12083   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12084   for ac_dir in $PATH; do
12085     IFS="$lt_save_ifs"
12086     test -z "$ac_dir" && ac_dir=.
12087     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12088       lt_cv_path_LD="$ac_dir/$ac_prog"
12089       # Check to see if the program is GNU ld.  I'd rather use --version,
12090       # but apparently some variants of GNU ld only accept -v.
12091       # Break only if it was the GNU/non-GNU ld that we prefer.
12092       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12093       *GNU* | *'with BFD'*)
12094         test "$with_gnu_ld" != no && break
12095         ;;
12096       *)
12097         test "$with_gnu_ld" != yes && break
12098         ;;
12099       esac
12100     fi
12101   done
12102   IFS="$lt_save_ifs"
12103 else
12104   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12105 fi
12106 fi
12107
12108 LD="$lt_cv_path_LD"
12109 if test -n "$LD"; then
12110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12111 $as_echo "$LD" >&6; }
12112 else
12113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114 $as_echo "no" >&6; }
12115 fi
12116 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12118 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12119 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12120   $as_echo_n "(cached) " >&6
12121 else
12122   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12123 case `$LD -v 2>&1 </dev/null` in
12124 *GNU* | *'with BFD'*)
12125   lt_cv_prog_gnu_ld=yes
12126   ;;
12127 *)
12128   lt_cv_prog_gnu_ld=no
12129   ;;
12130 esac
12131 fi
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12133 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12134 with_gnu_ld=$lt_cv_prog_gnu_ld
12135
12136
12137
12138
12139
12140
12141
12142       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12143       # archiving commands below assume that GNU ld is being used.
12144       if test "$with_gnu_ld" = yes; then
12145         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12146         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'
12147
12148         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12149         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12150
12151         # If archive_cmds runs LD, not CC, wlarc should be empty
12152         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12153         #     investigate it a little bit more. (MM)
12154         wlarc='${wl}'
12155
12156         # ancient GNU ld didn't support --whole-archive et. al.
12157         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12158           $GREP 'no-whole-archive' > /dev/null; then
12159           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12160         else
12161           whole_archive_flag_spec_CXX=
12162         fi
12163       else
12164         with_gnu_ld=no
12165         wlarc=
12166
12167         # A generic and very simple default shared library creation
12168         # command for GNU C++ for the case where it uses the native
12169         # linker, instead of GNU ld.  If possible, this setting should
12170         # overridden to take advantage of the native linker features on
12171         # the platform it is being used on.
12172         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12173       fi
12174
12175       # Commands to make compiler produce verbose output that lists
12176       # what "hidden" libraries, object files and flags are used when
12177       # linking a shared library.
12178       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12179
12180     else
12181       GXX=no
12182       with_gnu_ld=no
12183       wlarc=
12184     fi
12185
12186     # PORTME: fill in a description of your system's C++ link characteristics
12187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12188 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12189     ld_shlibs_CXX=yes
12190     case $host_os in
12191       aix3*)
12192         # FIXME: insert proper C++ library support
12193         ld_shlibs_CXX=no
12194         ;;
12195       aix[4-9]*)
12196         if test "$host_cpu" = ia64; then
12197           # On IA64, the linker does run time linking by default, so we don't
12198           # have to do anything special.
12199           aix_use_runtimelinking=no
12200           exp_sym_flag='-Bexport'
12201           no_entry_flag=""
12202         else
12203           aix_use_runtimelinking=no
12204
12205           # Test if we are trying to use run time linking or normal
12206           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12207           # need to do runtime linking.
12208           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12209             for ld_flag in $LDFLAGS; do
12210               case $ld_flag in
12211               *-brtl*)
12212                 aix_use_runtimelinking=yes
12213                 break
12214                 ;;
12215               esac
12216             done
12217             ;;
12218           esac
12219
12220           exp_sym_flag='-bexport'
12221           no_entry_flag='-bnoentry'
12222         fi
12223
12224         # When large executables or shared objects are built, AIX ld can
12225         # have problems creating the table of contents.  If linking a library
12226         # or program results in "error TOC overflow" add -mminimal-toc to
12227         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12228         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12229
12230         archive_cmds_CXX=''
12231         hardcode_direct_CXX=yes
12232         hardcode_direct_absolute_CXX=yes
12233         hardcode_libdir_separator_CXX=':'
12234         link_all_deplibs_CXX=yes
12235         file_list_spec_CXX='${wl}-f,'
12236
12237         if test "$GXX" = yes; then
12238           case $host_os in aix4.[012]|aix4.[012].*)
12239           # We only want to do this on AIX 4.2 and lower, the check
12240           # below for broken collect2 doesn't work under 4.3+
12241           collect2name=`${CC} -print-prog-name=collect2`
12242           if test -f "$collect2name" &&
12243              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12244           then
12245             # We have reworked collect2
12246             :
12247           else
12248             # We have old collect2
12249             hardcode_direct_CXX=unsupported
12250             # It fails to find uninstalled libraries when the uninstalled
12251             # path is not listed in the libpath.  Setting hardcode_minus_L
12252             # to unsupported forces relinking
12253             hardcode_minus_L_CXX=yes
12254             hardcode_libdir_flag_spec_CXX='-L$libdir'
12255             hardcode_libdir_separator_CXX=
12256           fi
12257           esac
12258           shared_flag='-shared'
12259           if test "$aix_use_runtimelinking" = yes; then
12260             shared_flag="$shared_flag "'${wl}-G'
12261           fi
12262         else
12263           # not using gcc
12264           if test "$host_cpu" = ia64; then
12265           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12266           # chokes on -Wl,-G. The following line is correct:
12267           shared_flag='-G'
12268           else
12269             if test "$aix_use_runtimelinking" = yes; then
12270               shared_flag='${wl}-G'
12271             else
12272               shared_flag='${wl}-bM:SRE'
12273             fi
12274           fi
12275         fi
12276
12277         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12278         # It seems that -bexpall does not export symbols beginning with
12279         # underscore (_), so it is better to generate a list of symbols to
12280         # export.
12281         always_export_symbols_CXX=yes
12282         if test "$aix_use_runtimelinking" = yes; then
12283           # Warning - without using the other runtime loading flags (-brtl),
12284           # -berok will link without error, but may produce a broken library.
12285           allow_undefined_flag_CXX='-berok'
12286           # Determine the default libpath from the value encoded in an empty
12287           # executable.
12288           if test x$gcc_no_link = xyes; then
12289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12290 fi
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h.  */
12293
12294 int
12295 main ()
12296 {
12297
12298   ;
12299   return 0;
12300 }
12301 _ACEOF
12302 if ac_fn_cxx_try_link "$LINENO"; then :
12303
12304 lt_aix_libpath_sed='
12305     /Import File Strings/,/^$/ {
12306         /^0/ {
12307             s/^0  *\(.*\)$/\1/
12308             p
12309         }
12310     }'
12311 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12312 # Check for a 64-bit object if we didn't find anything.
12313 if test -z "$aix_libpath"; then
12314   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12315 fi
12316 fi
12317 rm -f core conftest.err conftest.$ac_objext \
12318     conftest$ac_exeext conftest.$ac_ext
12319 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12320
12321           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12322
12323           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"
12324         else
12325           if test "$host_cpu" = ia64; then
12326             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12327             allow_undefined_flag_CXX="-z nodefs"
12328             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"
12329           else
12330             # Determine the default libpath from the value encoded in an
12331             # empty executable.
12332             if test x$gcc_no_link = xyes; then
12333   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12334 fi
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h.  */
12337
12338 int
12339 main ()
12340 {
12341
12342   ;
12343   return 0;
12344 }
12345 _ACEOF
12346 if ac_fn_cxx_try_link "$LINENO"; then :
12347
12348 lt_aix_libpath_sed='
12349     /Import File Strings/,/^$/ {
12350         /^0/ {
12351             s/^0  *\(.*\)$/\1/
12352             p
12353         }
12354     }'
12355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12356 # Check for a 64-bit object if we didn't find anything.
12357 if test -z "$aix_libpath"; then
12358   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 fi
12360 fi
12361 rm -f core conftest.err conftest.$ac_objext \
12362     conftest$ac_exeext conftest.$ac_ext
12363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12364
12365             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12366             # Warning - without using the other run time loading flags,
12367             # -berok will link without error, but may produce a broken library.
12368             no_undefined_flag_CXX=' ${wl}-bernotok'
12369             allow_undefined_flag_CXX=' ${wl}-berok'
12370             if test "$with_gnu_ld" = yes; then
12371               # We only use this code for GNU lds that support --whole-archive.
12372               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12373             else
12374               # Exported symbols can be pulled into shared objects from archives
12375               whole_archive_flag_spec_CXX='$convenience'
12376             fi
12377             archive_cmds_need_lc_CXX=yes
12378             # This is similar to how AIX traditionally builds its shared
12379             # libraries.
12380             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'
12381           fi
12382         fi
12383         ;;
12384
12385       beos*)
12386         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12387           allow_undefined_flag_CXX=unsupported
12388           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12389           # support --undefined.  This deserves some investigation.  FIXME
12390           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12391         else
12392           ld_shlibs_CXX=no
12393         fi
12394         ;;
12395
12396       chorus*)
12397         case $cc_basename in
12398           *)
12399           # FIXME: insert proper C++ library support
12400           ld_shlibs_CXX=no
12401           ;;
12402         esac
12403         ;;
12404
12405       cygwin* | mingw* | pw32* | cegcc*)
12406         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12407         # as there is no search path for DLLs.
12408         hardcode_libdir_flag_spec_CXX='-L$libdir'
12409         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12410         allow_undefined_flag_CXX=unsupported
12411         always_export_symbols_CXX=no
12412         enable_shared_with_static_runtimes_CXX=yes
12413
12414         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12415           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'
12416           # If the export-symbols file already is a .def file (1st line
12417           # is EXPORTS), use it as is; otherwise, prepend...
12418           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12419             cp $export_symbols $output_objdir/$soname.def;
12420           else
12421             echo EXPORTS > $output_objdir/$soname.def;
12422             cat $export_symbols >> $output_objdir/$soname.def;
12423           fi~
12424           $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'
12425         else
12426           ld_shlibs_CXX=no
12427         fi
12428         ;;
12429       darwin* | rhapsody*)
12430
12431
12432   archive_cmds_need_lc_CXX=no
12433   hardcode_direct_CXX=no
12434   hardcode_automatic_CXX=yes
12435   hardcode_shlibpath_var_CXX=unsupported
12436   if test "$lt_cv_ld_force_load" = "yes"; then
12437     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\"`'
12438   else
12439     whole_archive_flag_spec_CXX=''
12440   fi
12441   link_all_deplibs_CXX=yes
12442   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12443   case $cc_basename in
12444      ifort*) _lt_dar_can_shared=yes ;;
12445      *) _lt_dar_can_shared=$GCC ;;
12446   esac
12447   if test "$_lt_dar_can_shared" = "yes"; then
12448     output_verbose_link_cmd=func_echo_all
12449     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}"
12450     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12451     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}"
12452     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}"
12453        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12454       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}"
12455       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}"
12456     fi
12457
12458   else
12459   ld_shlibs_CXX=no
12460   fi
12461
12462         ;;
12463
12464       dgux*)
12465         case $cc_basename in
12466           ec++*)
12467             # FIXME: insert proper C++ library support
12468             ld_shlibs_CXX=no
12469             ;;
12470           ghcx*)
12471             # Green Hills C++ Compiler
12472             # FIXME: insert proper C++ library support
12473             ld_shlibs_CXX=no
12474             ;;
12475           *)
12476             # FIXME: insert proper C++ library support
12477             ld_shlibs_CXX=no
12478             ;;
12479         esac
12480         ;;
12481
12482       freebsd[12]*)
12483         # C++ shared libraries reported to be fairly broken before
12484         # switch to ELF
12485         ld_shlibs_CXX=no
12486         ;;
12487
12488       freebsd-elf*)
12489         archive_cmds_need_lc_CXX=no
12490         ;;
12491
12492       freebsd* | dragonfly*)
12493         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12494         # conventions
12495         ld_shlibs_CXX=yes
12496         ;;
12497
12498       gnu*)
12499         ;;
12500
12501       haiku*)
12502         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12503         link_all_deplibs_CXX=yes
12504         ;;
12505
12506       hpux9*)
12507         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12508         hardcode_libdir_separator_CXX=:
12509         export_dynamic_flag_spec_CXX='${wl}-E'
12510         hardcode_direct_CXX=yes
12511         hardcode_minus_L_CXX=yes # Not in the search PATH,
12512                                              # but as the default
12513                                              # location of the library.
12514
12515         case $cc_basename in
12516           CC*)
12517             # FIXME: insert proper C++ library support
12518             ld_shlibs_CXX=no
12519             ;;
12520           aCC*)
12521             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'
12522             # Commands to make compiler produce verbose output that lists
12523             # what "hidden" libraries, object files and flags are used when
12524             # linking a shared library.
12525             #
12526             # There doesn't appear to be a way to prevent this compiler from
12527             # explicitly linking system object files so we need to strip them
12528             # from the output so that they don't get included in the library
12529             # dependencies.
12530             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"'
12531             ;;
12532           *)
12533             if test "$GXX" = yes; then
12534               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'
12535             else
12536               # FIXME: insert proper C++ library support
12537               ld_shlibs_CXX=no
12538             fi
12539             ;;
12540         esac
12541         ;;
12542
12543       hpux10*|hpux11*)
12544         if test $with_gnu_ld = no; then
12545           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12546           hardcode_libdir_separator_CXX=:
12547
12548           case $host_cpu in
12549             hppa*64*|ia64*)
12550               ;;
12551             *)
12552               export_dynamic_flag_spec_CXX='${wl}-E'
12553               ;;
12554           esac
12555         fi
12556         case $host_cpu in
12557           hppa*64*|ia64*)
12558             hardcode_direct_CXX=no
12559             hardcode_shlibpath_var_CXX=no
12560             ;;
12561           *)
12562             hardcode_direct_CXX=yes
12563             hardcode_direct_absolute_CXX=yes
12564             hardcode_minus_L_CXX=yes # Not in the search PATH,
12565                                                  # but as the default
12566                                                  # location of the library.
12567             ;;
12568         esac
12569
12570         case $cc_basename in
12571           CC*)
12572             # FIXME: insert proper C++ library support
12573             ld_shlibs_CXX=no
12574             ;;
12575           aCC*)
12576             case $host_cpu in
12577               hppa*64*)
12578                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12579                 ;;
12580               ia64*)
12581                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12582                 ;;
12583               *)
12584                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585                 ;;
12586             esac
12587             # Commands to make compiler produce verbose output that lists
12588             # what "hidden" libraries, object files and flags are used when
12589             # linking a shared library.
12590             #
12591             # There doesn't appear to be a way to prevent this compiler from
12592             # explicitly linking system object files so we need to strip them
12593             # from the output so that they don't get included in the library
12594             # dependencies.
12595             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"'
12596             ;;
12597           *)
12598             if test "$GXX" = yes; then
12599               if test $with_gnu_ld = no; then
12600                 case $host_cpu in
12601                   hppa*64*)
12602                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12603                     ;;
12604                   ia64*)
12605                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606                     ;;
12607                   *)
12608                     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'
12609                     ;;
12610                 esac
12611               fi
12612             else
12613               # FIXME: insert proper C++ library support
12614               ld_shlibs_CXX=no
12615             fi
12616             ;;
12617         esac
12618         ;;
12619
12620       interix[3-9]*)
12621         hardcode_direct_CXX=no
12622         hardcode_shlibpath_var_CXX=no
12623         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12624         export_dynamic_flag_spec_CXX='${wl}-E'
12625         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12626         # Instead, shared libraries are loaded at an image base (0x10000000 by
12627         # default) and relocated if they conflict, which is a slow very memory
12628         # consuming and fragmenting process.  To avoid this, we pick a random,
12629         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12630         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12631         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'
12632         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'
12633         ;;
12634       irix5* | irix6*)
12635         case $cc_basename in
12636           CC*)
12637             # SGI C++
12638             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'
12639
12640             # Archives containing C++ object files must be created using
12641             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12642             # necessary to make sure instantiated templates are included
12643             # in the archive.
12644             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12645             ;;
12646           *)
12647             if test "$GXX" = yes; then
12648               if test "$with_gnu_ld" = no; then
12649                 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'
12650               else
12651                 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'
12652               fi
12653             fi
12654             link_all_deplibs_CXX=yes
12655             ;;
12656         esac
12657         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12658         hardcode_libdir_separator_CXX=:
12659         inherit_rpath_CXX=yes
12660         ;;
12661
12662       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12663         case $cc_basename in
12664           KCC*)
12665             # Kuck and Associates, Inc. (KAI) C++ Compiler
12666
12667             # KCC will only create a shared library if the output file
12668             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12669             # to its proper name (with version) after linking.
12670             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'
12671             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'
12672             # Commands to make compiler produce verbose output that lists
12673             # what "hidden" libraries, object files and flags are used when
12674             # linking a shared library.
12675             #
12676             # There doesn't appear to be a way to prevent this compiler from
12677             # explicitly linking system object files so we need to strip them
12678             # from the output so that they don't get included in the library
12679             # dependencies.
12680             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"'
12681
12682             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12683             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12684
12685             # Archives containing C++ object files must be created using
12686             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12687             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12688             ;;
12689           icpc* | ecpc* )
12690             # Intel C++
12691             with_gnu_ld=yes
12692             # version 8.0 and above of icpc choke on multiply defined symbols
12693             # if we add $predep_objects and $postdep_objects, however 7.1 and
12694             # earlier do not add the objects themselves.
12695             case `$CC -V 2>&1` in
12696               *"Version 7."*)
12697                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12698                 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'
12699                 ;;
12700               *)  # Version 8.0 or newer
12701                 tmp_idyn=
12702                 case $host_cpu in
12703                   ia64*) tmp_idyn=' -i_dynamic';;
12704                 esac
12705                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12706                 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'
12707                 ;;
12708             esac
12709             archive_cmds_need_lc_CXX=no
12710             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12711             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12712             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12713             ;;
12714           pgCC* | pgcpp*)
12715             # Portland Group C++ compiler
12716             case `$CC -V` in
12717             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12718               prelink_cmds_CXX='tpldir=Template.dir~
12719                 rm -rf $tpldir~
12720                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12721                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12722               old_archive_cmds_CXX='tpldir=Template.dir~
12723                 rm -rf $tpldir~
12724                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12725                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12726                 $RANLIB $oldlib'
12727               archive_cmds_CXX='tpldir=Template.dir~
12728                 rm -rf $tpldir~
12729                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12730                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12731               archive_expsym_cmds_CXX='tpldir=Template.dir~
12732                 rm -rf $tpldir~
12733                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12734                 $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'
12735               ;;
12736             *) # Version 6 and above use weak symbols
12737               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12738               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'
12739               ;;
12740             esac
12741
12742             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12743             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12744             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'
12745             ;;
12746           cxx*)
12747             # Compaq C++
12748             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12749             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'
12750
12751             runpath_var=LD_RUN_PATH
12752             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12753             hardcode_libdir_separator_CXX=:
12754
12755             # Commands to make compiler produce verbose output that lists
12756             # what "hidden" libraries, object files and flags are used when
12757             # linking a shared library.
12758             #
12759             # There doesn't appear to be a way to prevent this compiler from
12760             # explicitly linking system object files so we need to strip them
12761             # from the output so that they don't get included in the library
12762             # dependencies.
12763             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'
12764             ;;
12765           xl* | mpixl* | bgxl*)
12766             # IBM XL 8.0 on PPC, with GNU ld
12767             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12768             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770             if test "x$supports_anon_versioning" = xyes; then
12771               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12772                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12773                 echo "local: *; };" >> $output_objdir/$libname.ver~
12774                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12775             fi
12776             ;;
12777           *)
12778             case `$CC -V 2>&1 | sed 5q` in
12779             *Sun\ C*)
12780               # Sun C++ 5.9
12781               no_undefined_flag_CXX=' -zdefs'
12782               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12783               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'
12784               hardcode_libdir_flag_spec_CXX='-R$libdir'
12785               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'
12786               compiler_needs_object_CXX=yes
12787
12788               # Not sure whether something based on
12789               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12790               # would be better.
12791               output_verbose_link_cmd='func_echo_all'
12792
12793               # Archives containing C++ object files must be created using
12794               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12795               # necessary to make sure instantiated templates are included
12796               # in the archive.
12797               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12798               ;;
12799             esac
12800             ;;
12801         esac
12802         ;;
12803
12804       lynxos*)
12805         # FIXME: insert proper C++ library support
12806         ld_shlibs_CXX=no
12807         ;;
12808
12809       m88k*)
12810         # FIXME: insert proper C++ library support
12811         ld_shlibs_CXX=no
12812         ;;
12813
12814       mvs*)
12815         case $cc_basename in
12816           cxx*)
12817             # FIXME: insert proper C++ library support
12818             ld_shlibs_CXX=no
12819             ;;
12820           *)
12821             # FIXME: insert proper C++ library support
12822             ld_shlibs_CXX=no
12823             ;;
12824         esac
12825         ;;
12826
12827       netbsd*)
12828         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12829           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12830           wlarc=
12831           hardcode_libdir_flag_spec_CXX='-R$libdir'
12832           hardcode_direct_CXX=yes
12833           hardcode_shlibpath_var_CXX=no
12834         fi
12835         # Workaround some broken pre-1.5 toolchains
12836         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12837         ;;
12838
12839       *nto* | *qnx*)
12840         ld_shlibs_CXX=yes
12841         ;;
12842
12843       openbsd2*)
12844         # C++ shared libraries are fairly broken
12845         ld_shlibs_CXX=no
12846         ;;
12847
12848       openbsd*)
12849         if test -f /usr/libexec/ld.so; then
12850           hardcode_direct_CXX=yes
12851           hardcode_shlibpath_var_CXX=no
12852           hardcode_direct_absolute_CXX=yes
12853           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12854           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12855           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12856             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12857             export_dynamic_flag_spec_CXX='${wl}-E'
12858             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12859           fi
12860           output_verbose_link_cmd=func_echo_all
12861         else
12862           ld_shlibs_CXX=no
12863         fi
12864         ;;
12865
12866       osf3* | osf4* | osf5*)
12867         case $cc_basename in
12868           KCC*)
12869             # Kuck and Associates, Inc. (KAI) C++ Compiler
12870
12871             # KCC will only create a shared library if the output file
12872             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12873             # to its proper name (with version) after linking.
12874             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'
12875
12876             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877             hardcode_libdir_separator_CXX=:
12878
12879             # Archives containing C++ object files must be created using
12880             # the KAI C++ compiler.
12881             case $host in
12882               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12883               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12884             esac
12885             ;;
12886           RCC*)
12887             # Rational C++ 2.4.1
12888             # FIXME: insert proper C++ library support
12889             ld_shlibs_CXX=no
12890             ;;
12891           cxx*)
12892             case $host in
12893               osf3*)
12894                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12895                 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'
12896                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12897                 ;;
12898               *)
12899                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12900                 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'
12901                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12902                   echo "-hidden">> $lib.exp~
12903                   $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~
12904                   $RM $lib.exp'
12905                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906                 ;;
12907             esac
12908
12909             hardcode_libdir_separator_CXX=:
12910
12911             # Commands to make compiler produce verbose output that lists
12912             # what "hidden" libraries, object files and flags are used when
12913             # linking a shared library.
12914             #
12915             # There doesn't appear to be a way to prevent this compiler from
12916             # explicitly linking system object files so we need to strip them
12917             # from the output so that they don't get included in the library
12918             # dependencies.
12919             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"'
12920             ;;
12921           *)
12922             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12923               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12924               case $host in
12925                 osf3*)
12926                   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'
12927                   ;;
12928                 *)
12929                   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'
12930                   ;;
12931               esac
12932
12933               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934               hardcode_libdir_separator_CXX=:
12935
12936               # Commands to make compiler produce verbose output that lists
12937               # what "hidden" libraries, object files and flags are used when
12938               # linking a shared library.
12939               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12940
12941             else
12942               # FIXME: insert proper C++ library support
12943               ld_shlibs_CXX=no
12944             fi
12945             ;;
12946         esac
12947         ;;
12948
12949       psos*)
12950         # FIXME: insert proper C++ library support
12951         ld_shlibs_CXX=no
12952         ;;
12953
12954       sunos4*)
12955         case $cc_basename in
12956           CC*)
12957             # Sun C++ 4.x
12958             # FIXME: insert proper C++ library support
12959             ld_shlibs_CXX=no
12960             ;;
12961           lcc*)
12962             # Lucid
12963             # FIXME: insert proper C++ library support
12964             ld_shlibs_CXX=no
12965             ;;
12966           *)
12967             # FIXME: insert proper C++ library support
12968             ld_shlibs_CXX=no
12969             ;;
12970         esac
12971         ;;
12972
12973       solaris*)
12974         case $cc_basename in
12975           CC*)
12976             # Sun C++ 4.2, 5.x and Centerline C++
12977             archive_cmds_need_lc_CXX=yes
12978             no_undefined_flag_CXX=' -zdefs'
12979             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12980             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12981               $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'
12982
12983             hardcode_libdir_flag_spec_CXX='-R$libdir'
12984             hardcode_shlibpath_var_CXX=no
12985             case $host_os in
12986               solaris2.[0-5] | solaris2.[0-5].*) ;;
12987               *)
12988                 # The compiler driver will combine and reorder linker options,
12989                 # but understands `-z linker_flag'.
12990                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12991                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12992                 ;;
12993             esac
12994             link_all_deplibs_CXX=yes
12995
12996             output_verbose_link_cmd='func_echo_all'
12997
12998             # Archives containing C++ object files must be created using
12999             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13000             # necessary to make sure instantiated templates are included
13001             # in the archive.
13002             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13003             ;;
13004           gcx*)
13005             # Green Hills C++ Compiler
13006             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13007
13008             # The C++ compiler must be used to create the archive.
13009             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13010             ;;
13011           *)
13012             # GNU C++ compiler with Solaris linker
13013             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13014               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13015               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13016                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13017                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13018                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13019
13020                 # Commands to make compiler produce verbose output that lists
13021                 # what "hidden" libraries, object files and flags are used when
13022                 # linking a shared library.
13023                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13024               else
13025                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13026                 # platform.
13027                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13028                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13029                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13030
13031                 # Commands to make compiler produce verbose output that lists
13032                 # what "hidden" libraries, object files and flags are used when
13033                 # linking a shared library.
13034                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13035               fi
13036
13037               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13038               case $host_os in
13039                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13040                 *)
13041                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13042                   ;;
13043               esac
13044             fi
13045             ;;
13046         esac
13047         ;;
13048
13049     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13050       no_undefined_flag_CXX='${wl}-z,text'
13051       archive_cmds_need_lc_CXX=no
13052       hardcode_shlibpath_var_CXX=no
13053       runpath_var='LD_RUN_PATH'
13054
13055       case $cc_basename in
13056         CC*)
13057           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13058           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059           ;;
13060         *)
13061           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063           ;;
13064       esac
13065       ;;
13066
13067       sysv5* | sco3.2v5* | sco5v6*)
13068         # Note: We can NOT use -z defs as we might desire, because we do not
13069         # link with -lc, and that would cause any symbols used from libc to
13070         # always be unresolved, which means just about no library would
13071         # ever link correctly.  If we're not using GNU ld we use -z text
13072         # though, which does catch some bad symbols but isn't as heavy-handed
13073         # as -z defs.
13074         no_undefined_flag_CXX='${wl}-z,text'
13075         allow_undefined_flag_CXX='${wl}-z,nodefs'
13076         archive_cmds_need_lc_CXX=no
13077         hardcode_shlibpath_var_CXX=no
13078         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13079         hardcode_libdir_separator_CXX=':'
13080         link_all_deplibs_CXX=yes
13081         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13082         runpath_var='LD_RUN_PATH'
13083
13084         case $cc_basename in
13085           CC*)
13086             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13089               '"$old_archive_cmds_CXX"
13090             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13091               '"$reload_cmds_CXX"
13092             ;;
13093           *)
13094             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13095             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096             ;;
13097         esac
13098       ;;
13099
13100       tandem*)
13101         case $cc_basename in
13102           NCC*)
13103             # NonStop-UX NCC 3.20
13104             # FIXME: insert proper C++ library support
13105             ld_shlibs_CXX=no
13106             ;;
13107           *)
13108             # FIXME: insert proper C++ library support
13109             ld_shlibs_CXX=no
13110             ;;
13111         esac
13112         ;;
13113
13114       vxworks*)
13115         # FIXME: insert proper C++ library support
13116         ld_shlibs_CXX=no
13117         ;;
13118
13119       *)
13120         # FIXME: insert proper C++ library support
13121         ld_shlibs_CXX=no
13122         ;;
13123     esac
13124
13125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13126 $as_echo "$ld_shlibs_CXX" >&6; }
13127     test "$ld_shlibs_CXX" = no && can_build_shared=no
13128
13129     GCC_CXX="$GXX"
13130     LD_CXX="$LD"
13131
13132     ## CAVEAT EMPTOR:
13133     ## There is no encapsulation within the following macros, do not change
13134     ## the running order or otherwise move them around unless you know exactly
13135     ## what you are doing...
13136     # Dependencies to place before and after the object being linked:
13137 predep_objects_CXX=
13138 postdep_objects_CXX=
13139 predeps_CXX=
13140 postdeps_CXX=
13141 compiler_lib_search_path_CXX=
13142
13143 cat > conftest.$ac_ext <<_LT_EOF
13144 class Foo
13145 {
13146 public:
13147   Foo (void) { a = 0; }
13148 private:
13149   int a;
13150 };
13151 _LT_EOF
13152
13153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13154   (eval $ac_compile) 2>&5
13155   ac_status=$?
13156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13157   test $ac_status = 0; }; then
13158   # Parse the compiler output and extract the necessary
13159   # objects, libraries and library flags.
13160
13161   # Sentinel used to keep track of whether or not we are before
13162   # the conftest object file.
13163   pre_test_object_deps_done=no
13164
13165   for p in `eval "$output_verbose_link_cmd"`; do
13166     case $p in
13167
13168     -L* | -R* | -l*)
13169        # Some compilers place space between "-{L,R}" and the path.
13170        # Remove the space.
13171        if test $p = "-L" ||
13172           test $p = "-R"; then
13173          prev=$p
13174          continue
13175        else
13176          prev=
13177        fi
13178
13179        if test "$pre_test_object_deps_done" = no; then
13180          case $p in
13181          -L* | -R*)
13182            # Internal compiler library paths should come after those
13183            # provided the user.  The postdeps already come after the
13184            # user supplied libs so there is no need to process them.
13185            if test -z "$compiler_lib_search_path_CXX"; then
13186              compiler_lib_search_path_CXX="${prev}${p}"
13187            else
13188              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13189            fi
13190            ;;
13191          # The "-l" case would never come before the object being
13192          # linked, so don't bother handling this case.
13193          esac
13194        else
13195          if test -z "$postdeps_CXX"; then
13196            postdeps_CXX="${prev}${p}"
13197          else
13198            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13199          fi
13200        fi
13201        ;;
13202
13203     *.$objext)
13204        # This assumes that the test object file only shows up
13205        # once in the compiler output.
13206        if test "$p" = "conftest.$objext"; then
13207          pre_test_object_deps_done=yes
13208          continue
13209        fi
13210
13211        if test "$pre_test_object_deps_done" = no; then
13212          if test -z "$predep_objects_CXX"; then
13213            predep_objects_CXX="$p"
13214          else
13215            predep_objects_CXX="$predep_objects_CXX $p"
13216          fi
13217        else
13218          if test -z "$postdep_objects_CXX"; then
13219            postdep_objects_CXX="$p"
13220          else
13221            postdep_objects_CXX="$postdep_objects_CXX $p"
13222          fi
13223        fi
13224        ;;
13225
13226     *) ;; # Ignore the rest.
13227
13228     esac
13229   done
13230
13231   # Clean up.
13232   rm -f a.out a.exe
13233 else
13234   echo "libtool.m4: error: problem compiling CXX test program"
13235 fi
13236
13237 $RM -f confest.$objext
13238
13239 # PORTME: override above test on systems where it is broken
13240 case $host_os in
13241 interix[3-9]*)
13242   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13243   # hack all around it, let's just trust "g++" to DTRT.
13244   predep_objects_CXX=
13245   postdep_objects_CXX=
13246   postdeps_CXX=
13247   ;;
13248
13249 linux*)
13250   case `$CC -V 2>&1 | sed 5q` in
13251   *Sun\ C*)
13252     # Sun C++ 5.9
13253
13254     # The more standards-conforming stlport4 library is
13255     # incompatible with the Cstd library. Avoid specifying
13256     # it if it's in CXXFLAGS. Ignore libCrun as
13257     # -library=stlport4 depends on it.
13258     case " $CXX $CXXFLAGS " in
13259     *" -library=stlport4 "*)
13260       solaris_use_stlport4=yes
13261       ;;
13262     esac
13263
13264     if test "$solaris_use_stlport4" != yes; then
13265       postdeps_CXX='-library=Cstd -library=Crun'
13266     fi
13267     ;;
13268   esac
13269   ;;
13270
13271 solaris*)
13272   case $cc_basename in
13273   CC*)
13274     # The more standards-conforming stlport4 library is
13275     # incompatible with the Cstd library. Avoid specifying
13276     # it if it's in CXXFLAGS. Ignore libCrun as
13277     # -library=stlport4 depends on it.
13278     case " $CXX $CXXFLAGS " in
13279     *" -library=stlport4 "*)
13280       solaris_use_stlport4=yes
13281       ;;
13282     esac
13283
13284     # Adding this requires a known-good setup of shared libraries for
13285     # Sun compiler versions before 5.6, else PIC objects from an old
13286     # archive will be linked into the output, leading to subtle bugs.
13287     if test "$solaris_use_stlport4" != yes; then
13288       postdeps_CXX='-library=Cstd -library=Crun'
13289     fi
13290     ;;
13291   esac
13292   ;;
13293 esac
13294
13295
13296 case " $postdeps_CXX " in
13297 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13298 esac
13299  compiler_lib_search_dirs_CXX=
13300 if test -n "${compiler_lib_search_path_CXX}"; then
13301  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13302 fi
13303
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     lt_prog_compiler_wl_CXX=
13335 lt_prog_compiler_pic_CXX=
13336 lt_prog_compiler_static_CXX=
13337
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13339 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13340
13341   # C++ specific cases for pic, static, wl, etc.
13342   if test "$GXX" = yes; then
13343     lt_prog_compiler_wl_CXX='-Wl,'
13344     lt_prog_compiler_static_CXX='-static'
13345
13346     case $host_os in
13347     aix*)
13348       # All AIX code is PIC.
13349       if test "$host_cpu" = ia64; then
13350         # AIX 5 now supports IA64 processor
13351         lt_prog_compiler_static_CXX='-Bstatic'
13352       fi
13353       ;;
13354
13355     amigaos*)
13356       case $host_cpu in
13357       powerpc)
13358             # see comment about AmigaOS4 .so support
13359             lt_prog_compiler_pic_CXX='-fPIC'
13360         ;;
13361       m68k)
13362             # FIXME: we need at least 68020 code to build shared libraries, but
13363             # adding the `-m68020' flag to GCC prevents building anything better,
13364             # like `-m68040'.
13365             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13366         ;;
13367       esac
13368       ;;
13369
13370     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13371       # PIC is the default for these OSes.
13372       ;;
13373     mingw* | cygwin* | os2* | pw32* | cegcc*)
13374       # This hack is so that the source file can tell whether it is being
13375       # built for inclusion in a dll (and should export symbols for example).
13376       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13377       # (--disable-auto-import) libraries
13378       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13379       ;;
13380     darwin* | rhapsody*)
13381       # PIC is the default on this platform
13382       # Common symbols not allowed in MH_DYLIB files
13383       lt_prog_compiler_pic_CXX='-fno-common'
13384       ;;
13385     *djgpp*)
13386       # DJGPP does not support shared libraries at all
13387       lt_prog_compiler_pic_CXX=
13388       ;;
13389     haiku*)
13390       # PIC is the default for Haiku.
13391       # The "-static" flag exists, but is broken.
13392       lt_prog_compiler_static_CXX=
13393       ;;
13394     interix[3-9]*)
13395       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13396       # Instead, we relocate shared libraries at runtime.
13397       ;;
13398     sysv4*MP*)
13399       if test -d /usr/nec; then
13400         lt_prog_compiler_pic_CXX=-Kconform_pic
13401       fi
13402       ;;
13403     hpux*)
13404       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13405       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13406       # sets the default TLS model and affects inlining.
13407       case $host_cpu in
13408       hppa*64*)
13409         ;;
13410       *)
13411         lt_prog_compiler_pic_CXX='-fPIC'
13412         ;;
13413       esac
13414       ;;
13415     *qnx* | *nto*)
13416       # QNX uses GNU C++, but need to define -shared option too, otherwise
13417       # it will coredump.
13418       lt_prog_compiler_pic_CXX='-fPIC -shared'
13419       ;;
13420     *)
13421       lt_prog_compiler_pic_CXX='-fPIC'
13422       ;;
13423     esac
13424   else
13425     case $host_os in
13426       aix[4-9]*)
13427         # All AIX code is PIC.
13428         if test "$host_cpu" = ia64; then
13429           # AIX 5 now supports IA64 processor
13430           lt_prog_compiler_static_CXX='-Bstatic'
13431         else
13432           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13433         fi
13434         ;;
13435       chorus*)
13436         case $cc_basename in
13437         cxch68*)
13438           # Green Hills C++ Compiler
13439           # _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"
13440           ;;
13441         esac
13442         ;;
13443       dgux*)
13444         case $cc_basename in
13445           ec++*)
13446             lt_prog_compiler_pic_CXX='-KPIC'
13447             ;;
13448           ghcx*)
13449             # Green Hills C++ Compiler
13450             lt_prog_compiler_pic_CXX='-pic'
13451             ;;
13452           *)
13453             ;;
13454         esac
13455         ;;
13456       freebsd* | dragonfly*)
13457         # FreeBSD uses GNU C++
13458         ;;
13459       hpux9* | hpux10* | hpux11*)
13460         case $cc_basename in
13461           CC*)
13462             lt_prog_compiler_wl_CXX='-Wl,'
13463             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13464             if test "$host_cpu" != ia64; then
13465               lt_prog_compiler_pic_CXX='+Z'
13466             fi
13467             ;;
13468           aCC*)
13469             lt_prog_compiler_wl_CXX='-Wl,'
13470             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13471             case $host_cpu in
13472             hppa*64*|ia64*)
13473               # +Z the default
13474               ;;
13475             *)
13476               lt_prog_compiler_pic_CXX='+Z'
13477               ;;
13478             esac
13479             ;;
13480           *)
13481             ;;
13482         esac
13483         ;;
13484       interix*)
13485         # This is c89, which is MS Visual C++ (no shared libs)
13486         # Anyone wants to do a port?
13487         ;;
13488       irix5* | irix6* | nonstopux*)
13489         case $cc_basename in
13490           CC*)
13491             lt_prog_compiler_wl_CXX='-Wl,'
13492             lt_prog_compiler_static_CXX='-non_shared'
13493             # CC pic flag -KPIC is the default.
13494             ;;
13495           *)
13496             ;;
13497         esac
13498         ;;
13499       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13500         case $cc_basename in
13501           KCC*)
13502             # KAI C++ Compiler
13503             lt_prog_compiler_wl_CXX='--backend -Wl,'
13504             lt_prog_compiler_pic_CXX='-fPIC'
13505             ;;
13506           ecpc* )
13507             # old Intel C++ for x86_64 which still supported -KPIC.
13508             lt_prog_compiler_wl_CXX='-Wl,'
13509             lt_prog_compiler_pic_CXX='-KPIC'
13510             lt_prog_compiler_static_CXX='-static'
13511             ;;
13512           icpc* )
13513             # Intel C++, used to be incompatible with GCC.
13514             # ICC 10 doesn't accept -KPIC any more.
13515             lt_prog_compiler_wl_CXX='-Wl,'
13516             lt_prog_compiler_pic_CXX='-fPIC'
13517             lt_prog_compiler_static_CXX='-static'
13518             ;;
13519           pgCC* | pgcpp*)
13520             # Portland Group C++ compiler
13521             lt_prog_compiler_wl_CXX='-Wl,'
13522             lt_prog_compiler_pic_CXX='-fpic'
13523             lt_prog_compiler_static_CXX='-Bstatic'
13524             ;;
13525           cxx*)
13526             # Compaq C++
13527             # Make sure the PIC flag is empty.  It appears that all Alpha
13528             # Linux and Compaq Tru64 Unix objects are PIC.
13529             lt_prog_compiler_pic_CXX=
13530             lt_prog_compiler_static_CXX='-non_shared'
13531             ;;
13532           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13533             # IBM XL 8.0, 9.0 on PPC and BlueGene
13534             lt_prog_compiler_wl_CXX='-Wl,'
13535             lt_prog_compiler_pic_CXX='-qpic'
13536             lt_prog_compiler_static_CXX='-qstaticlink'
13537             ;;
13538           *)
13539             case `$CC -V 2>&1 | sed 5q` in
13540             *Sun\ C*)
13541               # Sun C++ 5.9
13542               lt_prog_compiler_pic_CXX='-KPIC'
13543               lt_prog_compiler_static_CXX='-Bstatic'
13544               lt_prog_compiler_wl_CXX='-Qoption ld '
13545               ;;
13546             esac
13547             ;;
13548         esac
13549         ;;
13550       lynxos*)
13551         ;;
13552       m88k*)
13553         ;;
13554       mvs*)
13555         case $cc_basename in
13556           cxx*)
13557             lt_prog_compiler_pic_CXX='-W c,exportall'
13558             ;;
13559           *)
13560             ;;
13561         esac
13562         ;;
13563       netbsd*)
13564         ;;
13565       *qnx* | *nto*)
13566         # QNX uses GNU C++, but need to define -shared option too, otherwise
13567         # it will coredump.
13568         lt_prog_compiler_pic_CXX='-fPIC -shared'
13569         ;;
13570       osf3* | osf4* | osf5*)
13571         case $cc_basename in
13572           KCC*)
13573             lt_prog_compiler_wl_CXX='--backend -Wl,'
13574             ;;
13575           RCC*)
13576             # Rational C++ 2.4.1
13577             lt_prog_compiler_pic_CXX='-pic'
13578             ;;
13579           cxx*)
13580             # Digital/Compaq C++
13581             lt_prog_compiler_wl_CXX='-Wl,'
13582             # Make sure the PIC flag is empty.  It appears that all Alpha
13583             # Linux and Compaq Tru64 Unix objects are PIC.
13584             lt_prog_compiler_pic_CXX=
13585             lt_prog_compiler_static_CXX='-non_shared'
13586             ;;
13587           *)
13588             ;;
13589         esac
13590         ;;
13591       psos*)
13592         ;;
13593       solaris*)
13594         case $cc_basename in
13595           CC*)
13596             # Sun C++ 4.2, 5.x and Centerline C++
13597             lt_prog_compiler_pic_CXX='-KPIC'
13598             lt_prog_compiler_static_CXX='-Bstatic'
13599             lt_prog_compiler_wl_CXX='-Qoption ld '
13600             ;;
13601           gcx*)
13602             # Green Hills C++ Compiler
13603             lt_prog_compiler_pic_CXX='-PIC'
13604             ;;
13605           *)
13606             ;;
13607         esac
13608         ;;
13609       sunos4*)
13610         case $cc_basename in
13611           CC*)
13612             # Sun C++ 4.x
13613             lt_prog_compiler_pic_CXX='-pic'
13614             lt_prog_compiler_static_CXX='-Bstatic'
13615             ;;
13616           lcc*)
13617             # Lucid
13618             lt_prog_compiler_pic_CXX='-pic'
13619             ;;
13620           *)
13621             ;;
13622         esac
13623         ;;
13624       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13625         case $cc_basename in
13626           CC*)
13627             lt_prog_compiler_wl_CXX='-Wl,'
13628             lt_prog_compiler_pic_CXX='-KPIC'
13629             lt_prog_compiler_static_CXX='-Bstatic'
13630             ;;
13631         esac
13632         ;;
13633       tandem*)
13634         case $cc_basename in
13635           NCC*)
13636             # NonStop-UX NCC 3.20
13637             lt_prog_compiler_pic_CXX='-KPIC'
13638             ;;
13639           *)
13640             ;;
13641         esac
13642         ;;
13643       vxworks*)
13644         ;;
13645       *)
13646         lt_prog_compiler_can_build_shared_CXX=no
13647         ;;
13648     esac
13649   fi
13650
13651 case $host_os in
13652   # For platforms which do not support PIC, -DPIC is meaningless:
13653   *djgpp*)
13654     lt_prog_compiler_pic_CXX=
13655     ;;
13656   *)
13657     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13658     ;;
13659 esac
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13661 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13662
13663
13664
13665 #
13666 # Check to make sure the PIC flag actually works.
13667 #
13668 if test -n "$lt_prog_compiler_pic_CXX"; then
13669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13670 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13671 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13672   $as_echo_n "(cached) " >&6
13673 else
13674   lt_cv_prog_compiler_pic_works_CXX=no
13675    ac_outfile=conftest.$ac_objext
13676    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13677    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13678    # Insert the option either (1) after the last *FLAGS variable, or
13679    # (2) before a word containing "conftest.", or (3) at the end.
13680    # Note that $ac_compile itself does not contain backslashes and begins
13681    # with a dollar sign (not a hyphen), so the echo should work correctly.
13682    # The option is referenced via a variable to avoid confusing sed.
13683    lt_compile=`echo "$ac_compile" | $SED \
13684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13686    -e 's:$: $lt_compiler_flag:'`
13687    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13688    (eval "$lt_compile" 2>conftest.err)
13689    ac_status=$?
13690    cat conftest.err >&5
13691    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692    if (exit $ac_status) && test -s "$ac_outfile"; then
13693      # The compiler can only warn and ignore the option if not recognized
13694      # So say no if there are warnings other than the usual output.
13695      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13696      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13697      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13698        lt_cv_prog_compiler_pic_works_CXX=yes
13699      fi
13700    fi
13701    $RM conftest*
13702
13703 fi
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13705 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13706
13707 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13708     case $lt_prog_compiler_pic_CXX in
13709      "" | " "*) ;;
13710      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13711      esac
13712 else
13713     lt_prog_compiler_pic_CXX=
13714      lt_prog_compiler_can_build_shared_CXX=no
13715 fi
13716
13717 fi
13718
13719
13720
13721 #
13722 # Check to make sure the static flag actually works.
13723 #
13724 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13726 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13727 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13728   $as_echo_n "(cached) " >&6
13729 else
13730   lt_cv_prog_compiler_static_works_CXX=no
13731    save_LDFLAGS="$LDFLAGS"
13732    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13733    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13734    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13735      # The linker can only warn and ignore the option if not recognized
13736      # So say no if there are warnings
13737      if test -s conftest.err; then
13738        # Append any errors to the config.log.
13739        cat conftest.err 1>&5
13740        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13741        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13742        if diff conftest.exp conftest.er2 >/dev/null; then
13743          lt_cv_prog_compiler_static_works_CXX=yes
13744        fi
13745      else
13746        lt_cv_prog_compiler_static_works_CXX=yes
13747      fi
13748    fi
13749    $RM -r conftest*
13750    LDFLAGS="$save_LDFLAGS"
13751
13752 fi
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13754 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13755
13756 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13757     :
13758 else
13759     lt_prog_compiler_static_CXX=
13760 fi
13761
13762
13763
13764
13765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13766 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13767 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13768   $as_echo_n "(cached) " >&6
13769 else
13770   lt_cv_prog_compiler_c_o_CXX=no
13771    $RM -r conftest 2>/dev/null
13772    mkdir conftest
13773    cd conftest
13774    mkdir out
13775    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13776
13777    lt_compiler_flag="-o out/conftest2.$ac_objext"
13778    # Insert the option either (1) after the last *FLAGS variable, or
13779    # (2) before a word containing "conftest.", or (3) at the end.
13780    # Note that $ac_compile itself does not contain backslashes and begins
13781    # with a dollar sign (not a hyphen), so the echo should work correctly.
13782    lt_compile=`echo "$ac_compile" | $SED \
13783    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785    -e 's:$: $lt_compiler_flag:'`
13786    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13787    (eval "$lt_compile" 2>out/conftest.err)
13788    ac_status=$?
13789    cat out/conftest.err >&5
13790    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13792    then
13793      # The compiler can only warn and ignore the option if not recognized
13794      # So say no if there are warnings
13795      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13796      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13797      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13798        lt_cv_prog_compiler_c_o_CXX=yes
13799      fi
13800    fi
13801    chmod u+w . 2>&5
13802    $RM conftest*
13803    # SGI C++ compiler will create directory out/ii_files/ for
13804    # template instantiation
13805    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13806    $RM out/* && rmdir out
13807    cd ..
13808    $RM -r conftest
13809    $RM conftest*
13810
13811 fi
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13813 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13814
13815
13816
13817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13818 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13819 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13820   $as_echo_n "(cached) " >&6
13821 else
13822   lt_cv_prog_compiler_c_o_CXX=no
13823    $RM -r conftest 2>/dev/null
13824    mkdir conftest
13825    cd conftest
13826    mkdir out
13827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13828
13829    lt_compiler_flag="-o out/conftest2.$ac_objext"
13830    # Insert the option either (1) after the last *FLAGS variable, or
13831    # (2) before a word containing "conftest.", or (3) at the end.
13832    # Note that $ac_compile itself does not contain backslashes and begins
13833    # with a dollar sign (not a hyphen), so the echo should work correctly.
13834    lt_compile=`echo "$ac_compile" | $SED \
13835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13837    -e 's:$: $lt_compiler_flag:'`
13838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13839    (eval "$lt_compile" 2>out/conftest.err)
13840    ac_status=$?
13841    cat out/conftest.err >&5
13842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13844    then
13845      # The compiler can only warn and ignore the option if not recognized
13846      # So say no if there are warnings
13847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13850        lt_cv_prog_compiler_c_o_CXX=yes
13851      fi
13852    fi
13853    chmod u+w . 2>&5
13854    $RM conftest*
13855    # SGI C++ compiler will create directory out/ii_files/ for
13856    # template instantiation
13857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13858    $RM out/* && rmdir out
13859    cd ..
13860    $RM -r conftest
13861    $RM conftest*
13862
13863 fi
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13865 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13866
13867
13868
13869
13870 hard_links="nottested"
13871 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13872   # do not overwrite the value of need_locks provided by the user
13873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13874 $as_echo_n "checking if we can lock with hard links... " >&6; }
13875   hard_links=yes
13876   $RM conftest*
13877   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13878   touch conftest.a
13879   ln conftest.a conftest.b 2>&5 || hard_links=no
13880   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13882 $as_echo "$hard_links" >&6; }
13883   if test "$hard_links" = no; then
13884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13885 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13886     need_locks=warn
13887   fi
13888 else
13889   need_locks=no
13890 fi
13891
13892
13893
13894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13896
13897   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13898   case $host_os in
13899   aix[4-9]*)
13900     # If we're using GNU nm, then we don't want the "-C" option.
13901     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13902     # Also, AIX nm treats weak defined symbols like other global defined
13903     # symbols, whereas GNU nm marks them as "W".
13904     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13905       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'
13906     else
13907       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'
13908     fi
13909     ;;
13910   pw32*)
13911     export_symbols_cmds_CXX="$ltdll_cmds"
13912   ;;
13913   cygwin* | mingw* | cegcc*)
13914     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'
13915   ;;
13916   *)
13917     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13918   ;;
13919   esac
13920   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13921
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13923 $as_echo "$ld_shlibs_CXX" >&6; }
13924 test "$ld_shlibs_CXX" = no && can_build_shared=no
13925
13926 with_gnu_ld_CXX=$with_gnu_ld
13927
13928
13929
13930
13931
13932
13933 #
13934 # Do we need to explicitly link libc?
13935 #
13936 case "x$archive_cmds_need_lc_CXX" in
13937 x|xyes)
13938   # Assume -lc should be added
13939   archive_cmds_need_lc_CXX=yes
13940
13941   if test "$enable_shared" = yes && test "$GCC" = yes; then
13942     case $archive_cmds_CXX in
13943     *'~'*)
13944       # FIXME: we may have to deal with multi-command sequences.
13945       ;;
13946     '$CC '*)
13947       # Test whether the compiler implicitly links with -lc since on some
13948       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13949       # to ld, don't add -lc before -lgcc.
13950       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13951 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13952 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13953   $as_echo_n "(cached) " >&6
13954 else
13955   $RM conftest*
13956         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13957
13958         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13959   (eval $ac_compile) 2>&5
13960   ac_status=$?
13961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13962   test $ac_status = 0; } 2>conftest.err; then
13963           soname=conftest
13964           lib=conftest
13965           libobjs=conftest.$ac_objext
13966           deplibs=
13967           wl=$lt_prog_compiler_wl_CXX
13968           pic_flag=$lt_prog_compiler_pic_CXX
13969           compiler_flags=-v
13970           linker_flags=-v
13971           verstring=
13972           output_objdir=.
13973           libname=conftest
13974           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13975           allow_undefined_flag_CXX=
13976           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13977   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13978   ac_status=$?
13979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980   test $ac_status = 0; }
13981           then
13982             lt_cv_archive_cmds_need_lc_CXX=no
13983           else
13984             lt_cv_archive_cmds_need_lc_CXX=yes
13985           fi
13986           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13987         else
13988           cat conftest.err 1>&5
13989         fi
13990         $RM conftest*
13991
13992 fi
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13994 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13995       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13996       ;;
13997     esac
13998   fi
13999   ;;
14000 esac
14001
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14066 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14067
14068 library_names_spec=
14069 libname_spec='lib$name'
14070 soname_spec=
14071 shrext_cmds=".so"
14072 postinstall_cmds=
14073 postuninstall_cmds=
14074 finish_cmds=
14075 finish_eval=
14076 shlibpath_var=
14077 shlibpath_overrides_runpath=unknown
14078 version_type=none
14079 dynamic_linker="$host_os ld.so"
14080 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14081 need_lib_prefix=unknown
14082 hardcode_into_libs=no
14083
14084 # when you set need_version to no, make sure it does not cause -set_version
14085 # flags to be left without arguments
14086 need_version=unknown
14087
14088 case $host_os in
14089 aix3*)
14090   version_type=linux
14091   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14092   shlibpath_var=LIBPATH
14093
14094   # AIX 3 has no versioning support, so we append a major version to the name.
14095   soname_spec='${libname}${release}${shared_ext}$major'
14096   ;;
14097
14098 aix[4-9]*)
14099   version_type=linux
14100   need_lib_prefix=no
14101   need_version=no
14102   hardcode_into_libs=yes
14103   if test "$host_cpu" = ia64; then
14104     # AIX 5 supports IA64
14105     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14106     shlibpath_var=LD_LIBRARY_PATH
14107   else
14108     # With GCC up to 2.95.x, collect2 would create an import file
14109     # for dependence libraries.  The import file would start with
14110     # the line `#! .'.  This would cause the generated library to
14111     # depend on `.', always an invalid library.  This was fixed in
14112     # development snapshots of GCC prior to 3.0.
14113     case $host_os in
14114       aix4 | aix4.[01] | aix4.[01].*)
14115       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14116            echo ' yes '
14117            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14118         :
14119       else
14120         can_build_shared=no
14121       fi
14122       ;;
14123     esac
14124     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14125     # soname into executable. Probably we can add versioning support to
14126     # collect2, so additional links can be useful in future.
14127     if test "$aix_use_runtimelinking" = yes; then
14128       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14129       # instead of lib<name>.a to let people know that these are not
14130       # typical AIX shared libraries.
14131       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14132     else
14133       # We preserve .a as extension for shared libraries through AIX4.2
14134       # and later when we are not doing run time linking.
14135       library_names_spec='${libname}${release}.a $libname.a'
14136       soname_spec='${libname}${release}${shared_ext}$major'
14137     fi
14138     shlibpath_var=LIBPATH
14139   fi
14140   ;;
14141
14142 amigaos*)
14143   case $host_cpu in
14144   powerpc)
14145     # Since July 2007 AmigaOS4 officially supports .so libraries.
14146     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148     ;;
14149   m68k)
14150     library_names_spec='$libname.ixlibrary $libname.a'
14151     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14152     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'
14153     ;;
14154   esac
14155   ;;
14156
14157 beos*)
14158   library_names_spec='${libname}${shared_ext}'
14159   dynamic_linker="$host_os ld.so"
14160   shlibpath_var=LIBRARY_PATH
14161   ;;
14162
14163 bsdi[45]*)
14164   version_type=linux
14165   need_version=no
14166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167   soname_spec='${libname}${release}${shared_ext}$major'
14168   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14169   shlibpath_var=LD_LIBRARY_PATH
14170   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14171   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14172   # the default ld.so.conf also contains /usr/contrib/lib and
14173   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14174   # libtool to hard-code these into programs
14175   ;;
14176
14177 cygwin* | mingw* | pw32* | cegcc*)
14178   version_type=windows
14179   shrext_cmds=".dll"
14180   need_version=no
14181   need_lib_prefix=no
14182
14183   case $GCC,$host_os in
14184   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14185     library_names_spec='$libname.dll.a'
14186     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14187     postinstall_cmds='base_file=`basename \${file}`~
14188       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14189       dldir=$destdir/`dirname \$dlpath`~
14190       test -d \$dldir || mkdir -p \$dldir~
14191       $install_prog $dir/$dlname \$dldir/$dlname~
14192       chmod a+x \$dldir/$dlname~
14193       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14194         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14195       fi'
14196     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14197       dlpath=$dir/\$dldll~
14198        $RM \$dlpath'
14199     shlibpath_overrides_runpath=yes
14200
14201     case $host_os in
14202     cygwin*)
14203       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14204       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14205
14206       ;;
14207     mingw* | cegcc*)
14208       # MinGW DLLs use traditional 'lib' prefix
14209       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14210       ;;
14211     pw32*)
14212       # pw32 DLLs use 'pw' prefix rather than 'lib'
14213       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14214       ;;
14215     esac
14216     ;;
14217
14218   *)
14219     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14220     ;;
14221   esac
14222   dynamic_linker='Win32 ld.exe'
14223   # FIXME: first we should search . and the directory the executable is in
14224   shlibpath_var=PATH
14225   ;;
14226
14227 darwin* | rhapsody*)
14228   dynamic_linker="$host_os dyld"
14229   version_type=darwin
14230   need_lib_prefix=no
14231   need_version=no
14232   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14233   soname_spec='${libname}${release}${major}$shared_ext'
14234   shlibpath_overrides_runpath=yes
14235   shlibpath_var=DYLD_LIBRARY_PATH
14236   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14237
14238   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14239   ;;
14240
14241 dgux*)
14242   version_type=linux
14243   need_lib_prefix=no
14244   need_version=no
14245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14246   soname_spec='${libname}${release}${shared_ext}$major'
14247   shlibpath_var=LD_LIBRARY_PATH
14248   ;;
14249
14250 freebsd1*)
14251   dynamic_linker=no
14252   ;;
14253
14254 freebsd* | dragonfly*)
14255   # DragonFly does not have aout.  When/if they implement a new
14256   # versioning mechanism, adjust this.
14257   if test -x /usr/bin/objformat; then
14258     objformat=`/usr/bin/objformat`
14259   else
14260     case $host_os in
14261     freebsd[123]*) objformat=aout ;;
14262     *) objformat=elf ;;
14263     esac
14264   fi
14265   version_type=freebsd-$objformat
14266   case $version_type in
14267     freebsd-elf*)
14268       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14269       need_version=no
14270       need_lib_prefix=no
14271       ;;
14272     freebsd-*)
14273       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14274       need_version=yes
14275       ;;
14276   esac
14277   shlibpath_var=LD_LIBRARY_PATH
14278   case $host_os in
14279   freebsd2*)
14280     shlibpath_overrides_runpath=yes
14281     ;;
14282   freebsd3.[01]* | freebsdelf3.[01]*)
14283     shlibpath_overrides_runpath=yes
14284     hardcode_into_libs=yes
14285     ;;
14286   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14287   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14288     shlibpath_overrides_runpath=no
14289     hardcode_into_libs=yes
14290     ;;
14291   *) # from 4.6 on, and DragonFly
14292     shlibpath_overrides_runpath=yes
14293     hardcode_into_libs=yes
14294     ;;
14295   esac
14296   ;;
14297
14298 gnu*)
14299   version_type=linux
14300   need_lib_prefix=no
14301   need_version=no
14302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14303   soname_spec='${libname}${release}${shared_ext}$major'
14304   shlibpath_var=LD_LIBRARY_PATH
14305   hardcode_into_libs=yes
14306   ;;
14307
14308 haiku*)
14309   version_type=linux
14310   need_lib_prefix=no
14311   need_version=no
14312   dynamic_linker="$host_os runtime_loader"
14313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14314   soname_spec='${libname}${release}${shared_ext}$major'
14315   shlibpath_var=LIBRARY_PATH
14316   shlibpath_overrides_runpath=yes
14317   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14318   hardcode_into_libs=yes
14319   ;;
14320
14321 hpux9* | hpux10* | hpux11*)
14322   # Give a soname corresponding to the major version so that dld.sl refuses to
14323   # link against other versions.
14324   version_type=sunos
14325   need_lib_prefix=no
14326   need_version=no
14327   case $host_cpu in
14328   ia64*)
14329     shrext_cmds='.so'
14330     hardcode_into_libs=yes
14331     dynamic_linker="$host_os dld.so"
14332     shlibpath_var=LD_LIBRARY_PATH
14333     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335     soname_spec='${libname}${release}${shared_ext}$major'
14336     if test "X$HPUX_IA64_MODE" = X32; then
14337       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14338     else
14339       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14340     fi
14341     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14342     ;;
14343   hppa*64*)
14344     shrext_cmds='.sl'
14345     hardcode_into_libs=yes
14346     dynamic_linker="$host_os dld.sl"
14347     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14348     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14350     soname_spec='${libname}${release}${shared_ext}$major'
14351     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14352     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14353     ;;
14354   *)
14355     shrext_cmds='.sl'
14356     dynamic_linker="$host_os dld.sl"
14357     shlibpath_var=SHLIB_PATH
14358     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360     soname_spec='${libname}${release}${shared_ext}$major'
14361     ;;
14362   esac
14363   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14364   postinstall_cmds='chmod 555 $lib'
14365   # or fails outright, so override atomically:
14366   install_override_mode=555
14367   ;;
14368
14369 interix[3-9]*)
14370   version_type=linux
14371   need_lib_prefix=no
14372   need_version=no
14373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14374   soname_spec='${libname}${release}${shared_ext}$major'
14375   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14376   shlibpath_var=LD_LIBRARY_PATH
14377   shlibpath_overrides_runpath=no
14378   hardcode_into_libs=yes
14379   ;;
14380
14381 irix5* | irix6* | nonstopux*)
14382   case $host_os in
14383     nonstopux*) version_type=nonstopux ;;
14384     *)
14385         if test "$lt_cv_prog_gnu_ld" = yes; then
14386                 version_type=linux
14387         else
14388                 version_type=irix
14389         fi ;;
14390   esac
14391   need_lib_prefix=no
14392   need_version=no
14393   soname_spec='${libname}${release}${shared_ext}$major'
14394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14395   case $host_os in
14396   irix5* | nonstopux*)
14397     libsuff= shlibsuff=
14398     ;;
14399   *)
14400     case $LD in # libtool.m4 will add one of these switches to LD
14401     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14402       libsuff= shlibsuff= libmagic=32-bit;;
14403     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14404       libsuff=32 shlibsuff=N32 libmagic=N32;;
14405     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14406       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14407     *) libsuff= shlibsuff= libmagic=never-match;;
14408     esac
14409     ;;
14410   esac
14411   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14412   shlibpath_overrides_runpath=no
14413   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14414   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14415   hardcode_into_libs=yes
14416   ;;
14417
14418 # No shared lib support for Linux oldld, aout, or coff.
14419 linux*oldld* | linux*aout* | linux*coff*)
14420   dynamic_linker=no
14421   ;;
14422
14423 # This must be Linux ELF.
14424 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14425   version_type=linux
14426   need_lib_prefix=no
14427   need_version=no
14428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429   soname_spec='${libname}${release}${shared_ext}$major'
14430   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14431   shlibpath_var=LD_LIBRARY_PATH
14432   shlibpath_overrides_runpath=no
14433
14434   # Some binutils ld are patched to set DT_RUNPATH
14435   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14436   $as_echo_n "(cached) " >&6
14437 else
14438   lt_cv_shlibpath_overrides_runpath=no
14439     save_LDFLAGS=$LDFLAGS
14440     save_libdir=$libdir
14441     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14442          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14443     if test x$gcc_no_link = xyes; then
14444   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14445 fi
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h.  */
14448
14449 int
14450 main ()
14451 {
14452
14453   ;
14454   return 0;
14455 }
14456 _ACEOF
14457 if ac_fn_cxx_try_link "$LINENO"; then :
14458   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14459   lt_cv_shlibpath_overrides_runpath=yes
14460 fi
14461 fi
14462 rm -f core conftest.err conftest.$ac_objext \
14463     conftest$ac_exeext conftest.$ac_ext
14464     LDFLAGS=$save_LDFLAGS
14465     libdir=$save_libdir
14466
14467 fi
14468
14469   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14470
14471   # This implies no fast_install, which is unacceptable.
14472   # Some rework will be needed to allow for fast_install
14473   # before this can be enabled.
14474   hardcode_into_libs=yes
14475
14476   # Append ld.so.conf contents to the search path
14477   if test -f /etc/ld.so.conf; then
14478     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' ' '`
14479     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14480   fi
14481
14482   # We used to test for /lib/ld.so.1 and disable shared libraries on
14483   # powerpc, because MkLinux only supported shared libraries with the
14484   # GNU dynamic linker.  Since this was broken with cross compilers,
14485   # most powerpc-linux boxes support dynamic linking these days and
14486   # people can always --disable-shared, the test was removed, and we
14487   # assume the GNU/Linux dynamic linker is in use.
14488   dynamic_linker='GNU/Linux ld.so'
14489   ;;
14490
14491 netbsd*)
14492   version_type=sunos
14493   need_lib_prefix=no
14494   need_version=no
14495   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14497     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14498     dynamic_linker='NetBSD (a.out) ld.so'
14499   else
14500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14501     soname_spec='${libname}${release}${shared_ext}$major'
14502     dynamic_linker='NetBSD ld.elf_so'
14503   fi
14504   shlibpath_var=LD_LIBRARY_PATH
14505   shlibpath_overrides_runpath=yes
14506   hardcode_into_libs=yes
14507   ;;
14508
14509 newsos6)
14510   version_type=linux
14511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512   shlibpath_var=LD_LIBRARY_PATH
14513   shlibpath_overrides_runpath=yes
14514   ;;
14515
14516 *nto* | *qnx*)
14517   version_type=qnx
14518   need_lib_prefix=no
14519   need_version=no
14520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14521   soname_spec='${libname}${release}${shared_ext}$major'
14522   shlibpath_var=LD_LIBRARY_PATH
14523   shlibpath_overrides_runpath=no
14524   hardcode_into_libs=yes
14525   dynamic_linker='ldqnx.so'
14526   ;;
14527
14528 openbsd*)
14529   version_type=sunos
14530   sys_lib_dlsearch_path_spec="/usr/lib"
14531   need_lib_prefix=no
14532   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14533   case $host_os in
14534     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14535     *)                          need_version=no  ;;
14536   esac
14537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14538   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14539   shlibpath_var=LD_LIBRARY_PATH
14540   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14541     case $host_os in
14542       openbsd2.[89] | openbsd2.[89].*)
14543         shlibpath_overrides_runpath=no
14544         ;;
14545       *)
14546         shlibpath_overrides_runpath=yes
14547         ;;
14548       esac
14549   else
14550     shlibpath_overrides_runpath=yes
14551   fi
14552   ;;
14553
14554 os2*)
14555   libname_spec='$name'
14556   shrext_cmds=".dll"
14557   need_lib_prefix=no
14558   library_names_spec='$libname${shared_ext} $libname.a'
14559   dynamic_linker='OS/2 ld.exe'
14560   shlibpath_var=LIBPATH
14561   ;;
14562
14563 osf3* | osf4* | osf5*)
14564   version_type=osf
14565   need_lib_prefix=no
14566   need_version=no
14567   soname_spec='${libname}${release}${shared_ext}$major'
14568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14569   shlibpath_var=LD_LIBRARY_PATH
14570   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14571   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14572   ;;
14573
14574 rdos*)
14575   dynamic_linker=no
14576   ;;
14577
14578 solaris*)
14579   version_type=linux
14580   need_lib_prefix=no
14581   need_version=no
14582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14583   soname_spec='${libname}${release}${shared_ext}$major'
14584   shlibpath_var=LD_LIBRARY_PATH
14585   shlibpath_overrides_runpath=yes
14586   hardcode_into_libs=yes
14587   # ldd complains unless libraries are executable
14588   postinstall_cmds='chmod +x $lib'
14589   ;;
14590
14591 sunos4*)
14592   version_type=sunos
14593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14594   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14595   shlibpath_var=LD_LIBRARY_PATH
14596   shlibpath_overrides_runpath=yes
14597   if test "$with_gnu_ld" = yes; then
14598     need_lib_prefix=no
14599   fi
14600   need_version=yes
14601   ;;
14602
14603 sysv4 | sysv4.3*)
14604   version_type=linux
14605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14606   soname_spec='${libname}${release}${shared_ext}$major'
14607   shlibpath_var=LD_LIBRARY_PATH
14608   case $host_vendor in
14609     sni)
14610       shlibpath_overrides_runpath=no
14611       need_lib_prefix=no
14612       runpath_var=LD_RUN_PATH
14613       ;;
14614     siemens)
14615       need_lib_prefix=no
14616       ;;
14617     motorola)
14618       need_lib_prefix=no
14619       need_version=no
14620       shlibpath_overrides_runpath=no
14621       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14622       ;;
14623   esac
14624   ;;
14625
14626 sysv4*MP*)
14627   if test -d /usr/nec ;then
14628     version_type=linux
14629     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14630     soname_spec='$libname${shared_ext}.$major'
14631     shlibpath_var=LD_LIBRARY_PATH
14632   fi
14633   ;;
14634
14635 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14636   version_type=freebsd-elf
14637   need_lib_prefix=no
14638   need_version=no
14639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14640   soname_spec='${libname}${release}${shared_ext}$major'
14641   shlibpath_var=LD_LIBRARY_PATH
14642   shlibpath_overrides_runpath=yes
14643   hardcode_into_libs=yes
14644   if test "$with_gnu_ld" = yes; then
14645     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14646   else
14647     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14648     case $host_os in
14649       sco3.2v5*)
14650         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14651         ;;
14652     esac
14653   fi
14654   sys_lib_dlsearch_path_spec='/usr/lib'
14655   ;;
14656
14657 tpf*)
14658   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14659   version_type=linux
14660   need_lib_prefix=no
14661   need_version=no
14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14663   shlibpath_var=LD_LIBRARY_PATH
14664   shlibpath_overrides_runpath=no
14665   hardcode_into_libs=yes
14666   ;;
14667
14668 uts4*)
14669   version_type=linux
14670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671   soname_spec='${libname}${release}${shared_ext}$major'
14672   shlibpath_var=LD_LIBRARY_PATH
14673   ;;
14674
14675 *)
14676   dynamic_linker=no
14677   ;;
14678 esac
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14680 $as_echo "$dynamic_linker" >&6; }
14681 test "$dynamic_linker" = no && can_build_shared=no
14682
14683 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14684 if test "$GCC" = yes; then
14685   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14686 fi
14687
14688 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14689   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14690 fi
14691 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14692   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14693 fi
14694
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14733 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14734 hardcode_action_CXX=
14735 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14736    test -n "$runpath_var_CXX" ||
14737    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14738
14739   # We can hardcode non-existent directories.
14740   if test "$hardcode_direct_CXX" != no &&
14741      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14742      # have to relink, otherwise we might link with an installed library
14743      # when we should be linking with a yet-to-be-installed one
14744      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14745      test "$hardcode_minus_L_CXX" != no; then
14746     # Linking always hardcodes the temporary library directory.
14747     hardcode_action_CXX=relink
14748   else
14749     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14750     hardcode_action_CXX=immediate
14751   fi
14752 else
14753   # We cannot hardcode anything, or else we can only hardcode existing
14754   # directories.
14755   hardcode_action_CXX=unsupported
14756 fi
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14758 $as_echo "$hardcode_action_CXX" >&6; }
14759
14760 if test "$hardcode_action_CXX" = relink ||
14761    test "$inherit_rpath_CXX" = yes; then
14762   # Fast installation is not supported
14763   enable_fast_install=no
14764 elif test "$shlibpath_overrides_runpath" = yes ||
14765      test "$enable_shared" = no; then
14766   # Fast installation is not necessary
14767   enable_fast_install=needless
14768 fi
14769
14770
14771
14772
14773
14774
14775
14776   fi # test -n "$compiler"
14777
14778   CC=$lt_save_CC
14779   LDCXX=$LD
14780   LD=$lt_save_LD
14781   GCC=$lt_save_GCC
14782   with_gnu_ld=$lt_save_with_gnu_ld
14783   lt_cv_path_LDCXX=$lt_cv_path_LD
14784   lt_cv_path_LD=$lt_save_path_LD
14785   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14786   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14787 fi # test "$_lt_caught_CXX_error" != yes
14788
14789 ac_ext=c
14790 ac_cpp='$CPP $CPPFLAGS'
14791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807         ac_config_commands="$ac_config_commands libtool"
14808
14809
14810
14811
14812 # Only expand once:
14813
14814
14815
14816
14817
14818 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14819 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14820
14821 # Possibly disable most of the library.
14822 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14823 ## than just ignoring the results.  Faster /and/ more correct, win win.
14824
14825   # Check whether --enable-hosted-libstdcxx was given.
14826 if test "${enable_hosted_libstdcxx+set}" = set; then :
14827   enableval=$enable_hosted_libstdcxx;
14828 else
14829   case "$host" in
14830         arm*-*-symbianelf*)
14831             enable_hosted_libstdcxx=no
14832             ;;
14833         *)
14834             enable_hosted_libstdcxx=yes
14835             ;;
14836      esac
14837 fi
14838
14839   if test "$enable_hosted_libstdcxx" = no; then
14840     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14841 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14842     is_hosted=no
14843     hosted_define=0
14844     enable_abi_check=no
14845     enable_libstdcxx_pch=no
14846   else
14847     is_hosted=yes
14848     hosted_define=1
14849   fi
14850
14851
14852 cat >>confdefs.h <<_ACEOF
14853 #define _GLIBCXX_HOSTED $hosted_define
14854 _ACEOF
14855
14856
14857
14858 # Enable compiler support that doesn't require linking.
14859
14860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14861 $as_echo_n "checking for exception model to use... " >&6; }
14862
14863   ac_ext=cpp
14864 ac_cpp='$CXXCPP $CPPFLAGS'
14865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14868
14869    # Check whether --enable-sjlj-exceptions was given.
14870 if test "${enable_sjlj_exceptions+set}" = set; then :
14871   enableval=$enable_sjlj_exceptions;
14872       case "$enableval" in
14873        yes|no|auto) ;;
14874        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14875                           esac
14876
14877 else
14878   enable_sjlj_exceptions=auto
14879 fi
14880
14881
14882
14883   if test $enable_sjlj_exceptions = auto; then
14884     # Botheration.  Now we've got to detect the exception model.  Link tests
14885     # against libgcc.a are problematic since we've not been given proper -L
14886     # bits for single-tree newlib and libgloss.
14887     #
14888     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14889     cat > conftest.$ac_ext << EOF
14890 #line 14890 "configure"
14891 struct S { ~S(); };
14892 void bar();
14893 void foo()
14894 {
14895   S s;
14896   bar();
14897 }
14898 EOF
14899     old_CXXFLAGS="$CXXFLAGS"
14900     CXXFLAGS=-S
14901     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14902   (eval $ac_compile) 2>&5
14903   ac_status=$?
14904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14905   test $ac_status = 0; }; then
14906       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14907         enable_sjlj_exceptions=yes
14908       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14909         enable_sjlj_exceptions=no
14910       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14911         enable_sjlj_exceptions=no
14912       fi
14913     fi
14914     CXXFLAGS="$old_CXXFLAGS"
14915     rm -f conftest*
14916   fi
14917
14918   # This is a tad weird, for hysterical raisins.  We have to map
14919   # enable/disable to two different models.
14920   case $enable_sjlj_exceptions in
14921     yes)
14922
14923 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14924
14925       ac_exception_model_name=sjlj
14926       ;;
14927     no)
14928       ac_exception_model_name="call frame"
14929       ;;
14930     *)
14931       as_fn_error "unable to detect exception model" "$LINENO" 5
14932       ;;
14933   esac
14934  ac_ext=c
14935 ac_cpp='$CPP $CPPFLAGS'
14936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14939
14940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14941 $as_echo "$ac_exception_model_name" >&6; }
14942
14943
14944    # Check whether --enable-libstdcxx-pch was given.
14945 if test "${enable_libstdcxx_pch+set}" = set; then :
14946   enableval=$enable_libstdcxx_pch;
14947       case "$enableval" in
14948        yes|no) ;;
14949        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14950       esac
14951
14952 else
14953   enable_libstdcxx_pch=$is_hosted
14954 fi
14955
14956
14957   if test $enable_libstdcxx_pch = yes; then
14958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14959 $as_echo_n "checking for compiler with PCH support... " >&6; }
14960 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14961   $as_echo_n "(cached) " >&6
14962 else
14963   ac_save_CXXFLAGS="$CXXFLAGS"
14964        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14965
14966        ac_ext=cpp
14967 ac_cpp='$CXXCPP $CPPFLAGS'
14968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14971
14972        echo '#include <math.h>' > conftest.h
14973        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14974                           -o conftest.h.gch 1>&5 2>&1 &&
14975                 echo '#error "pch failed"' > conftest.h &&
14976           echo '#include "conftest.h"' > conftest.cc &&
14977                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14978        then
14979          glibcxx_cv_prog_CXX_pch=yes
14980        else
14981          glibcxx_cv_prog_CXX_pch=no
14982        fi
14983        rm -f conftest*
14984        CXXFLAGS=$ac_save_CXXFLAGS
14985        ac_ext=c
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990
14991
14992 fi
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
14994 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
14995     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14996   fi
14997
14998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
14999 $as_echo_n "checking for enabled PCH... " >&6; }
15000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15001 $as_echo "$enable_libstdcxx_pch" >&6; }
15002
15003
15004   if test $enable_libstdcxx_pch = yes; then
15005     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15006   else
15007     glibcxx_PCHFLAGS=""
15008   fi
15009
15010
15011
15012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15013 $as_echo_n "checking for thread model used by GCC... " >&6; }
15014   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15016 $as_echo "$target_thread_file" >&6; }
15017
15018   if test $target_thread_file != single; then
15019
15020 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15021
15022   fi
15023
15024   glibcxx_thread_h=gthr-$target_thread_file.h
15025
15026     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15027   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15028     enable_thread=yes
15029   else
15030    enable_thread=no
15031   fi
15032
15033
15034
15035
15036
15037   ac_ext=cpp
15038 ac_cpp='$CXXCPP $CPPFLAGS'
15039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15042
15043   old_CXXFLAGS="$CXXFLAGS"
15044
15045   # Do link tests if possible, instead asm tests, limited to some platforms
15046   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15047   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15048   atomic_builtins_link_tests=no
15049   if test x$gcc_no_link != xyes; then
15050     # Can do link tests. Limit to some tested platforms
15051     case "$host" in
15052       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15053         atomic_builtins_link_tests=yes
15054         ;;
15055     esac
15056   fi
15057
15058   if test x$atomic_builtins_link_tests = xyes; then
15059
15060   # Do link tests.
15061
15062   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15063
15064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15065 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15066   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15067   $as_echo_n "(cached) " >&6
15068 else
15069
15070     if test x$gcc_no_link = xyes; then
15071   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15072 fi
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h.  */
15075
15076 int
15077 main ()
15078 {
15079 typedef bool atomic_type;
15080        atomic_type c1;
15081        atomic_type c2;
15082        const atomic_type c3(0);
15083        __sync_fetch_and_add(&c1, c2);
15084        __sync_val_compare_and_swap(&c1, c3, c2);
15085        __sync_lock_test_and_set(&c1, c3);
15086        __sync_lock_release(&c1);
15087        __sync_synchronize();
15088   ;
15089   return 0;
15090 }
15091 _ACEOF
15092 if ac_fn_cxx_try_link "$LINENO"; then :
15093   glibcxx_cv_atomic_bool=yes
15094 else
15095   glibcxx_cv_atomic_bool=no
15096 fi
15097 rm -f core conftest.err conftest.$ac_objext \
15098     conftest$ac_exeext conftest.$ac_ext
15099
15100 fi
15101
15102   if test $glibcxx_cv_atomic_bool = yes; then
15103
15104 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15105
15106   fi
15107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15108 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15109
15110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15111 $as_echo_n "checking for atomic builtins for short... " >&6; }
15112   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15113   $as_echo_n "(cached) " >&6
15114 else
15115
15116     if test x$gcc_no_link = xyes; then
15117   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15118 fi
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h.  */
15121
15122 int
15123 main ()
15124 {
15125 typedef short atomic_type;
15126        atomic_type c1;
15127        atomic_type c2;
15128        const atomic_type c3(0);
15129        __sync_fetch_and_add(&c1, c2);
15130        __sync_val_compare_and_swap(&c1, c3, c2);
15131        __sync_lock_test_and_set(&c1, c3);
15132        __sync_lock_release(&c1);
15133        __sync_synchronize();
15134   ;
15135   return 0;
15136 }
15137 _ACEOF
15138 if ac_fn_cxx_try_link "$LINENO"; then :
15139   glibcxx_cv_atomic_short=yes
15140 else
15141   glibcxx_cv_atomic_short=no
15142 fi
15143 rm -f core conftest.err conftest.$ac_objext \
15144     conftest$ac_exeext conftest.$ac_ext
15145
15146 fi
15147
15148   if test $glibcxx_cv_atomic_short = yes; then
15149
15150 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15151
15152   fi
15153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15154 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15155
15156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15157 $as_echo_n "checking for atomic builtins for int... " >&6; }
15158   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15159   $as_echo_n "(cached) " >&6
15160 else
15161
15162     if test x$gcc_no_link = xyes; then
15163   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15164 fi
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h.  */
15167
15168 int
15169 main ()
15170 {
15171 typedef int atomic_type;
15172        atomic_type c1;
15173        atomic_type c2;
15174        const atomic_type c3(0);
15175        __sync_fetch_and_add(&c1, c2);
15176        __sync_val_compare_and_swap(&c1, c3, c2);
15177        __sync_lock_test_and_set(&c1, c3);
15178        __sync_lock_release(&c1);
15179        __sync_synchronize();
15180   ;
15181   return 0;
15182 }
15183 _ACEOF
15184 if ac_fn_cxx_try_link "$LINENO"; then :
15185   glibcxx_cv_atomic_int=yes
15186 else
15187   glibcxx_cv_atomic_int=no
15188 fi
15189 rm -f core conftest.err conftest.$ac_objext \
15190     conftest$ac_exeext conftest.$ac_ext
15191
15192 fi
15193
15194   if test $glibcxx_cv_atomic_int = yes; then
15195
15196 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15197
15198   fi
15199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15200 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15201
15202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15203 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15204   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15205   $as_echo_n "(cached) " >&6
15206 else
15207
15208     if test x$gcc_no_link = xyes; then
15209   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15210 fi
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h.  */
15213
15214 int
15215 main ()
15216 {
15217 typedef long long atomic_type;
15218        atomic_type c1;
15219        atomic_type c2;
15220        const atomic_type c3(0);
15221        __sync_fetch_and_add(&c1, c2);
15222        __sync_val_compare_and_swap(&c1, c3, c2);
15223        __sync_lock_test_and_set(&c1, c3);
15224        __sync_lock_release(&c1);
15225        __sync_synchronize();
15226   ;
15227   return 0;
15228 }
15229 _ACEOF
15230 if ac_fn_cxx_try_link "$LINENO"; then :
15231   glibcxx_cv_atomic_long_long=yes
15232 else
15233   glibcxx_cv_atomic_long_long=no
15234 fi
15235 rm -f core conftest.err conftest.$ac_objext \
15236     conftest$ac_exeext conftest.$ac_ext
15237
15238 fi
15239
15240   if test $glibcxx_cv_atomic_long_long = yes; then
15241
15242 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15243
15244   fi
15245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15246 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15247
15248   else
15249
15250   # Do asm tests.
15251
15252   # Compile unoptimized.
15253   CXXFLAGS='-O0 -S'
15254
15255   # Fake what AC_TRY_COMPILE does.
15256
15257     cat > conftest.$ac_ext << EOF
15258 #line 15258 "configure"
15259 int main()
15260 {
15261   typedef bool atomic_type;
15262   atomic_type c1;
15263   atomic_type c2;
15264   const atomic_type c3(0);
15265   __sync_fetch_and_add(&c1, c2);
15266   __sync_val_compare_and_swap(&c1, c3, c2);
15267   __sync_lock_test_and_set(&c1, c3);
15268   __sync_lock_release(&c1);
15269   __sync_synchronize();
15270   return 0;
15271 }
15272 EOF
15273
15274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15275 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15276     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15277   (eval $ac_compile) 2>&5
15278   ac_status=$?
15279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15280   test $ac_status = 0; }; then
15281       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15282         glibcxx_cv_atomic_bool=no
15283       else
15284
15285 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15286
15287         glibcxx_cv_atomic_bool=yes
15288       fi
15289     fi
15290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15291 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15292     rm -f conftest*
15293
15294     cat > conftest.$ac_ext << EOF
15295 #line 15295 "configure"
15296 int main()
15297 {
15298   typedef short atomic_type;
15299   atomic_type c1;
15300   atomic_type c2;
15301   const atomic_type c3(0);
15302   __sync_fetch_and_add(&c1, c2);
15303   __sync_val_compare_and_swap(&c1, c3, c2);
15304   __sync_lock_test_and_set(&c1, c3);
15305   __sync_lock_release(&c1);
15306   __sync_synchronize();
15307   return 0;
15308 }
15309 EOF
15310
15311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15312 $as_echo_n "checking for atomic builtins for short... " >&6; }
15313     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15314   (eval $ac_compile) 2>&5
15315   ac_status=$?
15316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15317   test $ac_status = 0; }; then
15318       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15319         glibcxx_cv_atomic_short=no
15320       else
15321
15322 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15323
15324         glibcxx_cv_atomic_short=yes
15325       fi
15326     fi
15327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15328 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15329     rm -f conftest*
15330
15331     cat > conftest.$ac_ext << EOF
15332 #line 15332 "configure"
15333 int main()
15334 {
15335   // NB: _Atomic_word not necessarily int.
15336   typedef int atomic_type;
15337   atomic_type c1;
15338   atomic_type c2;
15339   const atomic_type c3(0);
15340   __sync_fetch_and_add(&c1, c2);
15341   __sync_val_compare_and_swap(&c1, c3, c2);
15342   __sync_lock_test_and_set(&c1, c3);
15343   __sync_lock_release(&c1);
15344   __sync_synchronize();
15345   return 0;
15346 }
15347 EOF
15348
15349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15350 $as_echo_n "checking for atomic builtins for int... " >&6; }
15351     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15352   (eval $ac_compile) 2>&5
15353   ac_status=$?
15354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15355   test $ac_status = 0; }; then
15356       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15357         glibcxx_cv_atomic_int=no
15358       else
15359
15360 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15361
15362         glibcxx_cv_atomic_int=yes
15363       fi
15364     fi
15365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15366 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15367     rm -f conftest*
15368
15369     cat > conftest.$ac_ext << EOF
15370 #line 15370 "configure"
15371 int main()
15372 {
15373   typedef long long atomic_type;
15374   atomic_type c1;
15375   atomic_type c2;
15376   const atomic_type c3(0);
15377   __sync_fetch_and_add(&c1, c2);
15378   __sync_val_compare_and_swap(&c1, c3, c2);
15379   __sync_lock_test_and_set(&c1, c3);
15380   __sync_lock_release(&c1);
15381   __sync_synchronize();
15382   return 0;
15383 }
15384 EOF
15385
15386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15387 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15388     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15389   (eval $ac_compile) 2>&5
15390   ac_status=$?
15391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15392   test $ac_status = 0; }; then
15393       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15394         glibcxx_cv_atomic_long_long=no
15395       else
15396
15397 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15398
15399         glibcxx_cv_atomic_long_long=yes
15400       fi
15401     fi
15402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15403 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15404     rm -f conftest*
15405
15406   fi
15407
15408   CXXFLAGS="$old_CXXFLAGS"
15409   ac_ext=c
15410 ac_cpp='$CPP $CPPFLAGS'
15411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414
15415
15416   # Set atomicity_dir to builtins if either of above tests pass.
15417   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15418     atomicity_dir=cpu/generic/atomicity_builtins
15419   fi
15420
15421   # If still generic, set to mutex.
15422   if test $atomicity_dir = "cpu/generic" ; then
15423     atomicity_dir=cpu/generic/atomicity_mutex
15424     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15425 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15426       if test "x$target_thread_file" = xsingle; then
15427         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15428 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15429         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15430 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15431       else
15432         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15433 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15434         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15435 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15436       fi
15437   fi
15438
15439
15440
15441
15442   # Fake what AC_TRY_COMPILE does, without linking as this is
15443   # unnecessary for this test.
15444
15445     cat > conftest.$ac_ext << EOF
15446 #line 15446 "configure"
15447 int main()
15448 {
15449   _Decimal32 d1;
15450   _Decimal64 d2;
15451   _Decimal128 d3;
15452   return 0;
15453 }
15454 EOF
15455
15456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15457 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15458     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15459   (eval $ac_compile) 2>&5
15460   ac_status=$?
15461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15462   test $ac_status = 0; }; then
15463
15464 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15465
15466       enable_dfp=yes
15467     else
15468       enable_dfp=no
15469     fi
15470     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15471 $as_echo "$enable_dfp" >&6; }
15472     rm -f conftest*
15473
15474
15475 # Checks for compiler support that doesn't require linking.
15476
15477   # All these tests are for C++; save the language and the compiler flags.
15478   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15479   # found in GLIBCXX_CONFIGURE.
15480
15481   ac_ext=cpp
15482 ac_cpp='$CXXCPP $CPPFLAGS'
15483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15486
15487   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15488   ac_save_CXXFLAGS="$CXXFLAGS"
15489
15490   # Check for maintainer-mode bits.
15491   if test x"$USE_MAINTAINER_MODE" = xno; then
15492     WERROR=''
15493   else
15494     WERROR='-Werror'
15495   fi
15496
15497   # Check for -ffunction-sections -fdata-sections
15498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15499 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15500   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h.  */
15503 int foo; void bar() { };
15504 int
15505 main ()
15506 {
15507
15508   ;
15509   return 0;
15510 }
15511 _ACEOF
15512 if ac_fn_cxx_try_compile "$LINENO"; then :
15513   ac_fdsections=yes
15514 else
15515   ac_fdsections=no
15516 fi
15517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15518   if test "$ac_test_CXXFLAGS" = set; then
15519     CXXFLAGS="$ac_save_CXXFLAGS"
15520   else
15521     # this is the suspicious part
15522     CXXFLAGS=''
15523   fi
15524   if test x"$ac_fdsections" = x"yes"; then
15525     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15526   fi
15527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15528 $as_echo "$ac_fdsections" >&6; }
15529
15530   ac_ext=c
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535
15536
15537
15538
15539
15540 # Enable all the variable C++ runtime options that don't require linking.
15541
15542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15543 $as_echo_n "checking for underlying I/O to use... " >&6; }
15544    # Check whether --enable-cstdio was given.
15545 if test "${enable_cstdio+set}" = set; then :
15546   enableval=$enable_cstdio;
15547       case "$enableval" in
15548        stdio) ;;
15549        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15550                           esac
15551
15552 else
15553   enable_cstdio=stdio
15554 fi
15555
15556
15557
15558   # Now that libio has been removed, you can have any color you want as long
15559   # as it's black.  This is one big no-op until other packages are added, but
15560   # showing the framework never hurts.
15561   case ${enable_cstdio} in
15562     stdio)
15563       CSTDIO_H=config/io/c_io_stdio.h
15564       BASIC_FILE_H=config/io/basic_file_stdio.h
15565       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15566       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15567 $as_echo "stdio" >&6; }
15568       ;;
15569   esac
15570
15571
15572
15573
15574
15575
15576    # Check whether --enable-clocale was given.
15577 if test "${enable_clocale+set}" = set; then :
15578   enableval=$enable_clocale;
15579       case "$enableval" in
15580        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15581        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15582                           esac
15583
15584 else
15585   enable_clocale=auto
15586 fi
15587
15588
15589
15590   # Deal with gettext issues.  Default to not using it (=no) until we detect
15591   # support for it later.  Let the user turn it off via --e/d, but let that
15592   # default to on for easier handling.
15593   USE_NLS=no
15594   # Check whether --enable-nls was given.
15595 if test "${enable_nls+set}" = set; then :
15596   enableval=$enable_nls;
15597 else
15598   enable_nls=yes
15599 fi
15600
15601
15602   # Either a known packaage, or "auto"
15603   if test $enable_clocale = no || test $enable_clocale = yes; then
15604      enable_clocale=auto
15605   fi
15606   enable_clocale_flag=$enable_clocale
15607
15608   # Probe for locale model to use if none specified.
15609   # Default to "generic".
15610   if test $enable_clocale_flag = auto; then
15611     case ${target_os} in
15612       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15613         enable_clocale_flag=gnu
15614         ;;
15615       darwin* | freebsd*)
15616         enable_clocale_flag=darwin
15617         ;;
15618       *)
15619         enable_clocale_flag=generic
15620         ;;
15621     esac
15622   fi
15623
15624   # Sanity check model, and test for special functionality.
15625   if test $enable_clocale_flag = gnu; then
15626     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h.  */
15628
15629     #include <features.h>
15630     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15631       _GLIBCXX_ok
15632     #endif
15633
15634 _ACEOF
15635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15636   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15637   enable_clocale_flag=gnu
15638 else
15639   enable_clocale_flag=generic
15640 fi
15641 rm -f conftest*
15642
15643
15644     if test $enable_clocale = auto; then
15645       # Test for bugs early in glibc-2.2.x series
15646       if test "$cross_compiling" = yes; then :
15647   enable_clocale_flag=generic
15648 else
15649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h.  */
15651
15652       #define _GNU_SOURCE 1
15653       #include <locale.h>
15654       #include <string.h>
15655       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15656       extern __typeof(newlocale) __newlocale;
15657       extern __typeof(duplocale) __duplocale;
15658       extern __typeof(strcoll_l) __strcoll_l;
15659       #endif
15660       int main()
15661       {
15662         const char __one[] = "Äuglein Augmen";
15663         const char __two[] = "Äuglein";
15664         int i;
15665         int j;
15666         __locale_t        loc;
15667         __locale_t        loc_dup;
15668         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15669         loc_dup = __duplocale(loc);
15670         i = __strcoll_l(__one, __two, loc);
15671         j = __strcoll_l(__one, __two, loc_dup);
15672         return 0;
15673       }
15674
15675 _ACEOF
15676 if ac_fn_c_try_run "$LINENO"; then :
15677   enable_clocale_flag=gnu
15678 else
15679   enable_clocale_flag=generic
15680 fi
15681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15682   conftest.$ac_objext conftest.beam conftest.$ac_ext
15683 fi
15684
15685     fi
15686
15687     # Set it to scream when it hurts.
15688     ac_save_CFLAGS="$CFLAGS"
15689     CFLAGS="-Wimplicit-function-declaration -Werror"
15690
15691     # Use strxfrm_l if available.
15692     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h.  */
15694 #define _GNU_SOURCE 1
15695                     #include <string.h>
15696                     #include <locale.h>
15697 int
15698 main ()
15699 {
15700 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15701   ;
15702   return 0;
15703 }
15704 _ACEOF
15705 if ac_fn_c_try_compile "$LINENO"; then :
15706
15707 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15708
15709 fi
15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711
15712     # Use strerror_l if available.
15713     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h.  */
15715 #define _GNU_SOURCE 1
15716                     #include <string.h>
15717                     #include <locale.h>
15718 int
15719 main ()
15720 {
15721 __locale_t loc; strerror_l(5, loc);
15722   ;
15723   return 0;
15724 }
15725 _ACEOF
15726 if ac_fn_c_try_compile "$LINENO"; then :
15727
15728 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15729
15730 fi
15731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15732
15733     CFLAGS="$ac_save_CFLAGS"
15734   fi
15735
15736   # Perhaps use strerror_r if available, and strerror_l isn't.
15737   ac_save_CFLAGS="$CFLAGS"
15738   CFLAGS="-Wimplicit-function-declaration -Werror"
15739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h.  */
15741 #define _GNU_SOURCE 1
15742                   #include <string.h>
15743                   #include <locale.h>
15744 int
15745 main ()
15746 {
15747 char s[128]; strerror_r(5, s, 128);
15748   ;
15749   return 0;
15750 }
15751 _ACEOF
15752 if ac_fn_c_try_compile "$LINENO"; then :
15753
15754 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15755
15756 fi
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758   CFLAGS="$ac_save_CFLAGS"
15759
15760   # Set configure bits for specified locale package
15761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15762 $as_echo_n "checking for C locale to use... " >&6; }
15763   case ${enable_clocale_flag} in
15764     generic)
15765       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15766 $as_echo "generic" >&6; }
15767
15768       CLOCALE_H=config/locale/generic/c_locale.h
15769       CLOCALE_CC=config/locale/generic/c_locale.cc
15770       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15771       CCOLLATE_CC=config/locale/generic/collate_members.cc
15772       CCTYPE_CC=config/locale/generic/ctype_members.cc
15773       CMESSAGES_H=config/locale/generic/messages_members.h
15774       CMESSAGES_CC=config/locale/generic/messages_members.cc
15775       CMONEY_CC=config/locale/generic/monetary_members.cc
15776       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15777       CTIME_H=config/locale/generic/time_members.h
15778       CTIME_CC=config/locale/generic/time_members.cc
15779       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15780       ;;
15781     darwin)
15782       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15783 $as_echo "darwin or freebsd" >&6; }
15784
15785       CLOCALE_H=config/locale/generic/c_locale.h
15786       CLOCALE_CC=config/locale/generic/c_locale.cc
15787       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15788       CCOLLATE_CC=config/locale/generic/collate_members.cc
15789       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15790       CMESSAGES_H=config/locale/generic/messages_members.h
15791       CMESSAGES_CC=config/locale/generic/messages_members.cc
15792       CMONEY_CC=config/locale/generic/monetary_members.cc
15793       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15794       CTIME_H=config/locale/generic/time_members.h
15795       CTIME_CC=config/locale/generic/time_members.cc
15796       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15797       ;;
15798
15799     gnu)
15800       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15801 $as_echo "gnu" >&6; }
15802
15803       # Declare intention to use gettext, and add support for specific
15804       # languages.
15805       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15806       ALL_LINGUAS="de fr"
15807
15808       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15809       # Extract the first word of "msgfmt", so it can be a program name with args.
15810 set dummy msgfmt; ac_word=$2
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15812 $as_echo_n "checking for $ac_word... " >&6; }
15813 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15814   $as_echo_n "(cached) " >&6
15815 else
15816   if test -n "$check_msgfmt"; then
15817   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15818 else
15819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15820 for as_dir in $PATH
15821 do
15822   IFS=$as_save_IFS
15823   test -z "$as_dir" && as_dir=.
15824     for ac_exec_ext in '' $ac_executable_extensions; do
15825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15826     ac_cv_prog_check_msgfmt="yes"
15827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15828     break 2
15829   fi
15830 done
15831   done
15832 IFS=$as_save_IFS
15833
15834   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15835 fi
15836 fi
15837 check_msgfmt=$ac_cv_prog_check_msgfmt
15838 if test -n "$check_msgfmt"; then
15839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15840 $as_echo "$check_msgfmt" >&6; }
15841 else
15842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15843 $as_echo "no" >&6; }
15844 fi
15845
15846
15847       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15848         USE_NLS=yes
15849       fi
15850       # Export the build objects.
15851       for ling in $ALL_LINGUAS; do \
15852         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15853         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15854       done
15855
15856
15857
15858       CLOCALE_H=config/locale/gnu/c_locale.h
15859       CLOCALE_CC=config/locale/gnu/c_locale.cc
15860       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15861       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15862       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15863       CMESSAGES_H=config/locale/gnu/messages_members.h
15864       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15865       CMONEY_CC=config/locale/gnu/monetary_members.cc
15866       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15867       CTIME_H=config/locale/gnu/time_members.h
15868       CTIME_CC=config/locale/gnu/time_members.cc
15869       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15870       ;;
15871     ieee_1003.1-2001)
15872       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15873 $as_echo "IEEE 1003.1" >&6; }
15874
15875       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15876       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15877       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15878       CCOLLATE_CC=config/locale/generic/collate_members.cc
15879       CCTYPE_CC=config/locale/generic/ctype_members.cc
15880       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15881       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15882       CMONEY_CC=config/locale/generic/monetary_members.cc
15883       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15884       CTIME_H=config/locale/generic/time_members.h
15885       CTIME_CC=config/locale/generic/time_members.cc
15886       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15887       ;;
15888   esac
15889
15890   # This is where the testsuite looks for locale catalogs, using the
15891   # -DLOCALEDIR define during testsuite compilation.
15892   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15893
15894
15895   # A standalone libintl (e.g., GNU libintl) may be in use.
15896   if test $USE_NLS = yes; then
15897     for ac_header in libintl.h
15898 do :
15899   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15900 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15901   cat >>confdefs.h <<_ACEOF
15902 #define HAVE_LIBINTL_H 1
15903 _ACEOF
15904
15905 else
15906   USE_NLS=no
15907 fi
15908
15909 done
15910
15911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15912 $as_echo_n "checking for library containing gettext... " >&6; }
15913 if test "${ac_cv_search_gettext+set}" = set; then :
15914   $as_echo_n "(cached) " >&6
15915 else
15916   ac_func_search_save_LIBS=$LIBS
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h.  */
15919
15920 /* Override any GCC internal prototype to avoid an error.
15921    Use char because int might match the return type of a GCC
15922    builtin and then its argument prototype would still apply.  */
15923 #ifdef __cplusplus
15924 extern "C"
15925 #endif
15926 char gettext ();
15927 int
15928 main ()
15929 {
15930 return gettext ();
15931   ;
15932   return 0;
15933 }
15934 _ACEOF
15935 for ac_lib in '' intl; do
15936   if test -z "$ac_lib"; then
15937     ac_res="none required"
15938   else
15939     ac_res=-l$ac_lib
15940     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15941   fi
15942   if test x$gcc_no_link = xyes; then
15943   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15944 fi
15945 if ac_fn_c_try_link "$LINENO"; then :
15946   ac_cv_search_gettext=$ac_res
15947 fi
15948 rm -f core conftest.err conftest.$ac_objext \
15949     conftest$ac_exeext
15950   if test "${ac_cv_search_gettext+set}" = set; then :
15951   break
15952 fi
15953 done
15954 if test "${ac_cv_search_gettext+set}" = set; then :
15955
15956 else
15957   ac_cv_search_gettext=no
15958 fi
15959 rm conftest.$ac_ext
15960 LIBS=$ac_func_search_save_LIBS
15961 fi
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15963 $as_echo "$ac_cv_search_gettext" >&6; }
15964 ac_res=$ac_cv_search_gettext
15965 if test "$ac_res" != no; then :
15966   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15967
15968 else
15969   USE_NLS=no
15970 fi
15971
15972   fi
15973   if test $USE_NLS = yes; then
15974
15975 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15976
15977   fi
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15995 $as_echo_n "checking for std::allocator base class... " >&6; }
15996    # Check whether --enable-libstdcxx-allocator was given.
15997 if test "${enable_libstdcxx_allocator+set}" = set; then :
15998   enableval=$enable_libstdcxx_allocator;
15999       case "$enableval" in
16000        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16001        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16002                           esac
16003
16004 else
16005   enable_libstdcxx_allocator=auto
16006 fi
16007
16008
16009
16010   # If they didn't use this option switch, or if they specified --enable
16011   # with no specific model, we'll have to look for one.  If they
16012   # specified --disable (???), do likewise.
16013   if test $enable_libstdcxx_allocator = no ||
16014      test $enable_libstdcxx_allocator = yes;
16015   then
16016      enable_libstdcxx_allocator=auto
16017   fi
16018
16019   # Either a known package, or "auto". Auto implies the default choice
16020   # for a particular platform.
16021   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16022
16023   # Probe for host-specific support if no specific model is specified.
16024   # Default to "new".
16025   if test $enable_libstdcxx_allocator_flag = auto; then
16026     case ${target_os} in
16027       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16028         enable_libstdcxx_allocator_flag=new
16029         ;;
16030       *)
16031         enable_libstdcxx_allocator_flag=new
16032         ;;
16033     esac
16034   fi
16035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16036 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16037
16038
16039   # Set configure bits for specified locale package
16040   case ${enable_libstdcxx_allocator_flag} in
16041     bitmap)
16042       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16043       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16044       ;;
16045     malloc)
16046       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16047       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16048       ;;
16049     mt)
16050       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16051       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16052       ;;
16053     new)
16054       ALLOCATOR_H=config/allocator/new_allocator_base.h
16055       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16056       ;;
16057     pool)
16058       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16059       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16060       ;;
16061   esac
16062
16063
16064
16065
16066
16067    # Check whether --enable-cheaders was given.
16068 if test "${enable_cheaders+set}" = set; then :
16069   enableval=$enable_cheaders;
16070       case "$enableval" in
16071        c|c_std|c_global) ;;
16072        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16073                           esac
16074
16075 else
16076   enable_cheaders=$c_model
16077 fi
16078
16079
16080   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16081 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16082
16083   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16084
16085   # Allow overrides to configure.host here.
16086   if test $enable_cheaders = c_global; then
16087      c_compatibility=yes
16088   fi
16089
16090   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16091      c_extra=yes
16092   fi
16093
16094
16095
16096
16097
16098
16099
16100
16101    # Check whether --enable-long-long was given.
16102 if test "${enable_long_long+set}" = set; then :
16103   enableval=$enable_long_long;
16104       case "$enableval" in
16105        yes|no) ;;
16106        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16107       esac
16108
16109 else
16110   enable_long_long=yes
16111 fi
16112
16113
16114   if test $enable_long_long = yes; then
16115
16116 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16117
16118   fi
16119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16120 $as_echo_n "checking for enabled long long specializations... " >&6; }
16121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16122 $as_echo "$enable_long_long" >&6; }
16123
16124
16125    # Check whether --enable-wchar_t was given.
16126 if test "${enable_wchar_t+set}" = set; then :
16127   enableval=$enable_wchar_t;
16128       case "$enableval" in
16129        yes|no) ;;
16130        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16131       esac
16132
16133 else
16134   enable_wchar_t=yes
16135 fi
16136
16137
16138
16139   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16140   for ac_header in wchar.h
16141 do :
16142   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16143 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16144   cat >>confdefs.h <<_ACEOF
16145 #define HAVE_WCHAR_H 1
16146 _ACEOF
16147  ac_has_wchar_h=yes
16148 else
16149   ac_has_wchar_h=no
16150 fi
16151
16152 done
16153
16154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16155 $as_echo_n "checking for mbstate_t... " >&6; }
16156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h.  */
16158 #include <wchar.h>
16159 int
16160 main ()
16161 {
16162 mbstate_t teststate;
16163   ;
16164   return 0;
16165 }
16166 _ACEOF
16167 if ac_fn_c_try_compile "$LINENO"; then :
16168   have_mbstate_t=yes
16169 else
16170   have_mbstate_t=no
16171 fi
16172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16174 $as_echo "$have_mbstate_t" >&6; }
16175   if test x"$have_mbstate_t" = xyes; then
16176
16177 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16178
16179   fi
16180
16181   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16182   # ac_has_wchar_h.
16183   for ac_header in wctype.h
16184 do :
16185   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16186 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16187   cat >>confdefs.h <<_ACEOF
16188 #define HAVE_WCTYPE_H 1
16189 _ACEOF
16190  ac_has_wctype_h=yes
16191 else
16192   ac_has_wctype_h=no
16193 fi
16194
16195 done
16196
16197
16198   if test x"$enable_wchar_t" = x"yes"; then
16199
16200
16201     ac_ext=cpp
16202 ac_cpp='$CXXCPP $CPPFLAGS'
16203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16206
16207
16208     if test x"$ac_has_wchar_h" = xyes &&
16209        test x"$ac_has_wctype_h" = xyes; then
16210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h.  */
16212 #include <wchar.h>
16213                       #include <stddef.h>
16214                       wint_t i;
16215                       long l = WEOF;
16216                       long j = WCHAR_MIN;
16217                       long k = WCHAR_MAX;
16218                       namespace test
16219                       {
16220                         using ::btowc;
16221                         using ::fgetwc;
16222                         using ::fgetws;
16223                         using ::fputwc;
16224                         using ::fputws;
16225                         using ::fwide;
16226                         using ::fwprintf;
16227                         using ::fwscanf;
16228                         using ::getwc;
16229                         using ::getwchar;
16230                         using ::mbrlen;
16231                         using ::mbrtowc;
16232                         using ::mbsinit;
16233                         using ::mbsrtowcs;
16234                         using ::putwc;
16235                         using ::putwchar;
16236                         using ::swprintf;
16237                         using ::swscanf;
16238                         using ::ungetwc;
16239                         using ::vfwprintf;
16240                         using ::vswprintf;
16241                         using ::vwprintf;
16242                         using ::wcrtomb;
16243                         using ::wcscat;
16244                         using ::wcschr;
16245                         using ::wcscmp;
16246                         using ::wcscoll;
16247                         using ::wcscpy;
16248                         using ::wcscspn;
16249                         using ::wcsftime;
16250                         using ::wcslen;
16251                         using ::wcsncat;
16252                         using ::wcsncmp;
16253                         using ::wcsncpy;
16254                         using ::wcspbrk;
16255                         using ::wcsrchr;
16256                         using ::wcsrtombs;
16257                         using ::wcsspn;
16258                         using ::wcsstr;
16259                         using ::wcstod;
16260                         using ::wcstok;
16261                         using ::wcstol;
16262                         using ::wcstoul;
16263                         using ::wcsxfrm;
16264                         using ::wctob;
16265                         using ::wmemchr;
16266                         using ::wmemcmp;
16267                         using ::wmemcpy;
16268                         using ::wmemmove;
16269                         using ::wmemset;
16270                         using ::wprintf;
16271                         using ::wscanf;
16272                       }
16273
16274 int
16275 main ()
16276 {
16277
16278   ;
16279   return 0;
16280 }
16281 _ACEOF
16282 if ac_fn_cxx_try_compile "$LINENO"; then :
16283
16284 else
16285   enable_wchar_t=no
16286 fi
16287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16288     else
16289       enable_wchar_t=no
16290     fi
16291
16292     ac_ext=c
16293 ac_cpp='$CPP $CPPFLAGS'
16294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16297
16298   fi
16299
16300   if test x"$enable_wchar_t" = x"yes"; then
16301
16302 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16303
16304   fi
16305
16306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16307 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16309 $as_echo "$enable_wchar_t" >&6; }
16310
16311
16312
16313    # Check whether --enable-c99 was given.
16314 if test "${enable_c99+set}" = set; then :
16315   enableval=$enable_c99;
16316       case "$enableval" in
16317        yes|no) ;;
16318        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16319       esac
16320
16321 else
16322   enable_c99=yes
16323 fi
16324
16325
16326
16327   if test x"$enable_c99" = x"yes"; then
16328
16329
16330   ac_ext=cpp
16331 ac_cpp='$CXXCPP $CPPFLAGS'
16332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16335
16336
16337   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16338   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16339   # spuriously enabled.
16340   # Long term, -std=c++0x could be even better, could manage to explicitely
16341   # request C99 facilities to the underlying C headers.
16342   ac_save_CXXFLAGS="$CXXFLAGS"
16343   CXXFLAGS="$CXXFLAGS -std=c++98"
16344   ac_save_LIBS="$LIBS"
16345   ac_save_gcc_no_link="$gcc_no_link"
16346
16347   if test x$gcc_no_link != xyes; then
16348     # Use -fno-exceptions to that the C driver can link these tests without
16349     # hitting undefined references to personality routines.
16350     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16351     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16352 $as_echo_n "checking for sin in -lm... " >&6; }
16353 if test "${ac_cv_lib_m_sin+set}" = set; then :
16354   $as_echo_n "(cached) " >&6
16355 else
16356   ac_check_lib_save_LIBS=$LIBS
16357 LIBS="-lm  $LIBS"
16358 if test x$gcc_no_link = xyes; then
16359   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16360 fi
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h.  */
16363
16364 /* Override any GCC internal prototype to avoid an error.
16365    Use char because int might match the return type of a GCC
16366    builtin and then its argument prototype would still apply.  */
16367 #ifdef __cplusplus
16368 extern "C"
16369 #endif
16370 char sin ();
16371 int
16372 main ()
16373 {
16374 return sin ();
16375   ;
16376   return 0;
16377 }
16378 _ACEOF
16379 if ac_fn_cxx_try_link "$LINENO"; then :
16380   ac_cv_lib_m_sin=yes
16381 else
16382   ac_cv_lib_m_sin=no
16383 fi
16384 rm -f core conftest.err conftest.$ac_objext \
16385     conftest$ac_exeext conftest.$ac_ext
16386 LIBS=$ac_check_lib_save_LIBS
16387 fi
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16389 $as_echo "$ac_cv_lib_m_sin" >&6; }
16390 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16391
16392       LIBS="$LIBS -lm"
16393
16394 else
16395
16396       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16397       gcc_no_link=yes
16398
16399 fi
16400
16401   fi
16402
16403   # Check for the existence of <math.h> functions used if C99 is enabled.
16404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16405 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16406   if test "${glibcxx_cv_c99_math+set}" = set; then :
16407   $as_echo_n "(cached) " >&6
16408 else
16409
16410   if test x$gcc_no_link = xyes; then
16411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h.  */
16413 #include <math.h>
16414       volatile double d1, d2;
16415       volatile int i;
16416 int
16417 main ()
16418 {
16419 i = fpclassify(d1);
16420       i = isfinite(d1);
16421       i = isinf(d1);
16422       i = isnan(d1);
16423       i = isnormal(d1);
16424       i = signbit(d1);
16425       i = isgreater(d1, d2);
16426       i = isgreaterequal(d1, d2);
16427       i = isless(d1, d2);
16428       i = islessequal(d1, d2);
16429       i = islessgreater(d1, d2);
16430       i = islessgreater(d1, d2);
16431       i = isunordered(d1, d2);
16432
16433   ;
16434   return 0;
16435 }
16436 _ACEOF
16437 if ac_fn_cxx_try_compile "$LINENO"; then :
16438   glibcxx_cv_c99_math=yes
16439 else
16440   glibcxx_cv_c99_math=no
16441 fi
16442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16443 else
16444   if test x$gcc_no_link = xyes; then
16445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16446 fi
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h.  */
16449 #include <math.h>
16450       volatile double d1, d2;
16451       volatile int i;
16452 int
16453 main ()
16454 {
16455 i = fpclassify(d1);
16456       i = isfinite(d1);
16457       i = isinf(d1);
16458       i = isnan(d1);
16459       i = isnormal(d1);
16460       i = signbit(d1);
16461       i = isgreater(d1, d2);
16462       i = isgreaterequal(d1, d2);
16463       i = isless(d1, d2);
16464       i = islessequal(d1, d2);
16465       i = islessgreater(d1, d2);
16466       i = islessgreater(d1, d2);
16467       i = isunordered(d1, d2);
16468
16469   ;
16470   return 0;
16471 }
16472 _ACEOF
16473 if ac_fn_cxx_try_link "$LINENO"; then :
16474   glibcxx_cv_c99_math=yes
16475 else
16476   glibcxx_cv_c99_math=no
16477 fi
16478 rm -f core conftest.err conftest.$ac_objext \
16479     conftest$ac_exeext conftest.$ac_ext
16480 fi
16481
16482 fi
16483
16484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16485 $as_echo "$glibcxx_cv_c99_math" >&6; }
16486   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16487
16488 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16489
16490   fi
16491
16492   # Check for the existence of <complex.h> complex math functions.
16493   # This is necessary even though libstdc++ uses the builtin versions
16494   # of these functions, because if the builtin cannot be used, a reference
16495   # to the library function is emitted.
16496   for ac_header in tgmath.h
16497 do :
16498   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16499 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16500   cat >>confdefs.h <<_ACEOF
16501 #define HAVE_TGMATH_H 1
16502 _ACEOF
16503  ac_has_tgmath_h=yes
16504 else
16505   ac_has_tgmath_h=no
16506 fi
16507
16508 done
16509
16510   for ac_header in complex.h
16511 do :
16512   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16513 if test "x$ac_cv_header_complex_h" = x""yes; then :
16514   cat >>confdefs.h <<_ACEOF
16515 #define HAVE_COMPLEX_H 1
16516 _ACEOF
16517  ac_has_complex_h=yes
16518 else
16519   ac_has_complex_h=no
16520 fi
16521
16522 done
16523
16524   glibcxx_cv_c99_complex=no;
16525   if test x"$ac_has_complex_h" = x"yes"; then
16526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16527 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16528     if test x$gcc_no_link = xyes; then
16529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h.  */
16531 #include <complex.h>
16532         typedef __complex__ float float_type;
16533         typedef __complex__ double double_type;
16534         typedef __complex__ long double ld_type;
16535         volatile float_type tmpf;
16536         volatile double_type tmpd;
16537         volatile ld_type tmpld;
16538         volatile float f;
16539         volatile double d;
16540         volatile long double ld;
16541 int
16542 main ()
16543 {
16544 f = cabsf(tmpf);
16545         f = cargf(tmpf);
16546         tmpf = ccosf(tmpf);
16547         tmpf = ccoshf(tmpf);
16548         tmpf = cexpf(tmpf);
16549         tmpf = clogf(tmpf);
16550         tmpf = csinf(tmpf);
16551         tmpf = csinhf(tmpf);
16552         tmpf = csqrtf(tmpf);
16553         tmpf = ctanf(tmpf);
16554         tmpf = ctanhf(tmpf);
16555         tmpf = cpowf(tmpf, tmpf);
16556         tmpf = cprojf(tmpf);
16557         d = cabs(tmpd);
16558         d = carg(tmpd);
16559         tmpd = ccos(tmpd);
16560         tmpd = ccosh(tmpd);
16561         tmpd = cexp(tmpd);
16562         tmpd = clog(tmpd);
16563         tmpd = csin(tmpd);
16564         tmpd = csinh(tmpd);
16565         tmpd = csqrt(tmpd);
16566         tmpd = ctan(tmpd);
16567         tmpd = ctanh(tmpd);
16568         tmpd = cpow(tmpd, tmpd);
16569         tmpd = cproj(tmpd);
16570         ld = cabsl(tmpld);
16571         ld = cargl(tmpld);
16572         tmpld = ccosl(tmpld);
16573         tmpld = ccoshl(tmpld);
16574         tmpld = cexpl(tmpld);
16575         tmpld = clogl(tmpld);
16576         tmpld = csinl(tmpld);
16577         tmpld = csinhl(tmpld);
16578         tmpld = csqrtl(tmpld);
16579         tmpld = ctanl(tmpld);
16580         tmpld = ctanhl(tmpld);
16581         tmpld = cpowl(tmpld, tmpld);
16582         tmpld = cprojl(tmpld);
16583
16584   ;
16585   return 0;
16586 }
16587 _ACEOF
16588 if ac_fn_cxx_try_compile "$LINENO"; then :
16589   glibcxx_cv_c99_complex=yes
16590 else
16591   glibcxx_cv_c99_complex=no
16592 fi
16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 else
16595   if test x$gcc_no_link = xyes; then
16596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16597 fi
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h.  */
16600 #include <complex.h>
16601         typedef __complex__ float float_type;
16602         typedef __complex__ double double_type;
16603         typedef __complex__ long double ld_type;
16604         volatile float_type tmpf;
16605         volatile double_type tmpd;
16606         volatile ld_type tmpld;
16607         volatile float f;
16608         volatile double d;
16609         volatile long double ld;
16610 int
16611 main ()
16612 {
16613 f = cabsf(tmpf);
16614         f = cargf(tmpf);
16615         tmpf = ccosf(tmpf);
16616         tmpf = ccoshf(tmpf);
16617         tmpf = cexpf(tmpf);
16618         tmpf = clogf(tmpf);
16619         tmpf = csinf(tmpf);
16620         tmpf = csinhf(tmpf);
16621         tmpf = csqrtf(tmpf);
16622         tmpf = ctanf(tmpf);
16623         tmpf = ctanhf(tmpf);
16624         tmpf = cpowf(tmpf, tmpf);
16625         tmpf = cprojf(tmpf);
16626         d = cabs(tmpd);
16627         d = carg(tmpd);
16628         tmpd = ccos(tmpd);
16629         tmpd = ccosh(tmpd);
16630         tmpd = cexp(tmpd);
16631         tmpd = clog(tmpd);
16632         tmpd = csin(tmpd);
16633         tmpd = csinh(tmpd);
16634         tmpd = csqrt(tmpd);
16635         tmpd = ctan(tmpd);
16636         tmpd = ctanh(tmpd);
16637         tmpd = cpow(tmpd, tmpd);
16638         tmpd = cproj(tmpd);
16639         ld = cabsl(tmpld);
16640         ld = cargl(tmpld);
16641         tmpld = ccosl(tmpld);
16642         tmpld = ccoshl(tmpld);
16643         tmpld = cexpl(tmpld);
16644         tmpld = clogl(tmpld);
16645         tmpld = csinl(tmpld);
16646         tmpld = csinhl(tmpld);
16647         tmpld = csqrtl(tmpld);
16648         tmpld = ctanl(tmpld);
16649         tmpld = ctanhl(tmpld);
16650         tmpld = cpowl(tmpld, tmpld);
16651         tmpld = cprojl(tmpld);
16652
16653   ;
16654   return 0;
16655 }
16656 _ACEOF
16657 if ac_fn_cxx_try_link "$LINENO"; then :
16658   glibcxx_cv_c99_complex=yes
16659 else
16660   glibcxx_cv_c99_complex=no
16661 fi
16662 rm -f core conftest.err conftest.$ac_objext \
16663     conftest$ac_exeext conftest.$ac_ext
16664 fi
16665   fi
16666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16667 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16668   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16669
16670 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16671
16672   fi
16673
16674   # Check for the existence in <stdio.h> of vscanf, et. al.
16675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16676 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16677   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16678   $as_echo_n "(cached) " >&6
16679 else
16680
16681   if test x$gcc_no_link = xyes; then
16682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h.  */
16684 #include <stdio.h>
16685       #include <stdarg.h>
16686       void foo(char* fmt, ...)
16687       {
16688         va_list args; va_start(args, fmt);
16689         vfscanf(stderr, "%i", args);
16690         vscanf("%i", args);
16691         vsnprintf(fmt, 0, "%i", args);
16692         vsscanf(fmt, "%i", args);
16693       }
16694 int
16695 main ()
16696 {
16697 snprintf("12", 0, "%i");
16698   ;
16699   return 0;
16700 }
16701 _ACEOF
16702 if ac_fn_cxx_try_compile "$LINENO"; then :
16703   glibcxx_cv_c99_stdio=yes
16704 else
16705   glibcxx_cv_c99_stdio=no
16706 fi
16707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16708 else
16709   if test x$gcc_no_link = xyes; then
16710   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16711 fi
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h.  */
16714 #include <stdio.h>
16715       #include <stdarg.h>
16716       void foo(char* fmt, ...)
16717       {
16718         va_list args; va_start(args, fmt);
16719         vfscanf(stderr, "%i", args);
16720         vscanf("%i", args);
16721         vsnprintf(fmt, 0, "%i", args);
16722         vsscanf(fmt, "%i", args);
16723       }
16724 int
16725 main ()
16726 {
16727 snprintf("12", 0, "%i");
16728   ;
16729   return 0;
16730 }
16731 _ACEOF
16732 if ac_fn_cxx_try_link "$LINENO"; then :
16733   glibcxx_cv_c99_stdio=yes
16734 else
16735   glibcxx_cv_c99_stdio=no
16736 fi
16737 rm -f core conftest.err conftest.$ac_objext \
16738     conftest$ac_exeext conftest.$ac_ext
16739 fi
16740
16741 fi
16742
16743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16744 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16745
16746   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16748 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16749   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16750   $as_echo_n "(cached) " >&6
16751 else
16752
16753   if test x$gcc_no_link = xyes; then
16754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h.  */
16756 #include <stdlib.h>
16757       volatile float f;
16758       volatile long double ld;
16759       volatile unsigned long long ll;
16760       lldiv_t mydivt;
16761 int
16762 main ()
16763 {
16764 char* tmp;
16765       f = strtof("gnu", &tmp);
16766       ld = strtold("gnu", &tmp);
16767       ll = strtoll("gnu", &tmp, 10);
16768       ll = strtoull("gnu", &tmp, 10);
16769       ll = llabs(10);
16770       mydivt = lldiv(10,1);
16771       ll = mydivt.quot;
16772       ll = mydivt.rem;
16773       ll = atoll("10");
16774       _Exit(0);
16775
16776   ;
16777   return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_cxx_try_compile "$LINENO"; then :
16781   glibcxx_cv_c99_stdlib=yes
16782 else
16783   glibcxx_cv_c99_stdlib=no
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16786 else
16787   if test x$gcc_no_link = xyes; then
16788   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16789 fi
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h.  */
16792 #include <stdlib.h>
16793       volatile float f;
16794       volatile long double ld;
16795       volatile unsigned long long ll;
16796       lldiv_t mydivt;
16797 int
16798 main ()
16799 {
16800 char* tmp;
16801       f = strtof("gnu", &tmp);
16802       ld = strtold("gnu", &tmp);
16803       ll = strtoll("gnu", &tmp, 10);
16804       ll = strtoull("gnu", &tmp, 10);
16805       ll = llabs(10);
16806       mydivt = lldiv(10,1);
16807       ll = mydivt.quot;
16808       ll = mydivt.rem;
16809       ll = atoll("10");
16810       _Exit(0);
16811
16812   ;
16813   return 0;
16814 }
16815 _ACEOF
16816 if ac_fn_cxx_try_link "$LINENO"; then :
16817   glibcxx_cv_c99_stdlib=yes
16818 else
16819   glibcxx_cv_c99_stdlib=no
16820 fi
16821 rm -f core conftest.err conftest.$ac_objext \
16822     conftest$ac_exeext conftest.$ac_ext
16823 fi
16824
16825 fi
16826
16827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16828 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16829
16830   # Check for the existence in <wchar.h> of wcstold, etc.
16831   glibcxx_cv_c99_wchar=no;
16832   if test x"$ac_has_wchar_h" = xyes &&
16833      test x"$ac_has_wctype_h" = xyes; then
16834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16835 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16836     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h.  */
16838 #include <wchar.h>
16839                     namespace test
16840                     {
16841                       using ::wcstold;
16842                       using ::wcstoll;
16843                       using ::wcstoull;
16844                     }
16845
16846 int
16847 main ()
16848 {
16849
16850   ;
16851   return 0;
16852 }
16853 _ACEOF
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16855   glibcxx_cv_c99_wchar=yes
16856 else
16857   glibcxx_cv_c99_wchar=no
16858 fi
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860
16861     # Checks for wide character functions that may not be present.
16862     # Injection of these is wrapped with guard macros.
16863     # NB: only put functions here, instead of immediately above, if
16864     # absolutely necessary.
16865     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h.  */
16867 #include <wchar.h>
16868                     namespace test { using ::vfwscanf; }
16869 int
16870 main ()
16871 {
16872
16873   ;
16874   return 0;
16875 }
16876 _ACEOF
16877 if ac_fn_cxx_try_compile "$LINENO"; then :
16878
16879 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16880
16881 fi
16882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16883
16884     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h.  */
16886 #include <wchar.h>
16887                     namespace test { using ::vswscanf; }
16888 int
16889 main ()
16890 {
16891
16892   ;
16893   return 0;
16894 }
16895 _ACEOF
16896 if ac_fn_cxx_try_compile "$LINENO"; then :
16897
16898 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16899
16900 fi
16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16902
16903     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h.  */
16905 #include <wchar.h>
16906                     namespace test { using ::vwscanf; }
16907 int
16908 main ()
16909 {
16910
16911   ;
16912   return 0;
16913 }
16914 _ACEOF
16915 if ac_fn_cxx_try_compile "$LINENO"; then :
16916
16917 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16918
16919 fi
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921
16922     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h.  */
16924 #include <wchar.h>
16925                     namespace test { using ::wcstof; }
16926 int
16927 main ()
16928 {
16929
16930   ;
16931   return 0;
16932 }
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935
16936 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16937
16938 fi
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940
16941     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16942 /* end confdefs.h.  */
16943 #include <wctype.h>
16944 int
16945 main ()
16946 {
16947  wint_t t; int i = iswblank(t);
16948   ;
16949   return 0;
16950 }
16951 _ACEOF
16952 if ac_fn_cxx_try_compile "$LINENO"; then :
16953
16954 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16955
16956 fi
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958
16959     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16960 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16961   fi
16962
16963   # Option parsed, now set things appropriately.
16964   if test x"$glibcxx_cv_c99_math" = x"no" ||
16965      test x"$glibcxx_cv_c99_complex" = x"no" ||
16966      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16967      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16968      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16969     enable_c99=no;
16970   else
16971
16972 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16973
16974   fi
16975
16976   gcc_no_link="$ac_save_gcc_no_link"
16977   LIBS="$ac_save_LIBS"
16978   CXXFLAGS="$ac_save_CXXFLAGS"
16979   ac_ext=c
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16984
16985   fi
16986
16987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16988 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16990 $as_echo "$enable_c99" >&6; }
16991
16992
16993    # Check whether --enable-concept-checks was given.
16994 if test "${enable_concept_checks+set}" = set; then :
16995   enableval=$enable_concept_checks;
16996       case "$enableval" in
16997        yes|no) ;;
16998        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16999       esac
17000
17001 else
17002   enable_concept_checks=no
17003 fi
17004
17005
17006   if test $enable_concept_checks = yes; then
17007
17008 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17009
17010   fi
17011
17012
17013    # Check whether --enable-libstdcxx-debug-flags was given.
17014 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17015   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17016       xno | x)    enable_libstdcxx_debug_flags= ;;
17017       x-*)        ;;
17018       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17019      esac
17020 else
17021   enable_libstdcxx_debug_flags="-g3 -O0"
17022 fi
17023
17024
17025
17026   # Option parsed, now set things appropriately
17027   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17028
17029
17030   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17031 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17032
17033
17034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17035 $as_echo_n "checking for additional debug build... " >&6; }
17036    # Check whether --enable-libstdcxx-debug was given.
17037 if test "${enable_libstdcxx_debug+set}" = set; then :
17038   enableval=$enable_libstdcxx_debug;
17039       case "$enableval" in
17040        yes|no) ;;
17041        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17042       esac
17043
17044 else
17045   enable_libstdcxx_debug=no
17046 fi
17047
17048
17049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17050 $as_echo "$enable_libstdcxx_debug" >&6; }
17051
17052
17053
17054
17055   enable_parallel=no;
17056
17057   # See if configured libgomp/omp.h exists. (libgomp may be in
17058   # noconfigdirs but not explicitly disabled.)
17059   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17060     enable_parallel=yes;
17061   else
17062     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17063 $as_echo "$as_me: target-libgomp not built" >&6;}
17064   fi
17065
17066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17067 $as_echo_n "checking for parallel mode support... " >&6; }
17068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17069 $as_echo "$enable_parallel" >&6; }
17070
17071
17072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17073 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17074    # Check whether --enable-cxx-flags was given.
17075 if test "${enable_cxx_flags+set}" = set; then :
17076   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17077       xno | x)   enable_cxx_flags= ;;
17078       x-*)       ;;
17079       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17080      esac
17081 else
17082   enable_cxx_flags=
17083 fi
17084
17085
17086
17087   # Run through flags (either default or command-line) and set anything
17088   # extra (e.g., #defines) that must accompany particular g++ options.
17089   if test -n "$enable_cxx_flags"; then
17090     for f in $enable_cxx_flags; do
17091       case "$f" in
17092         -fhonor-std)  ;;
17093         -*)  ;;
17094         *)   # and we're trying to pass /what/ exactly?
17095              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17096       esac
17097     done
17098   fi
17099
17100   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17102 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17103
17104
17105
17106    # Check whether --enable-fully-dynamic-string was given.
17107 if test "${enable_fully_dynamic_string+set}" = set; then :
17108   enableval=$enable_fully_dynamic_string;
17109       case "$enableval" in
17110        yes|no) ;;
17111        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17112       esac
17113
17114 else
17115   enable_fully_dynamic_string=no
17116 fi
17117
17118
17119   if test $enable_fully_dynamic_string = yes; then
17120
17121 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17122
17123   fi
17124
17125
17126 # Checks for operating systems support that doesn't require linking.
17127
17128
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17130 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17131 if test "${glibcxx_cv_system_error1+set}" = set; then :
17132   $as_echo_n "(cached) " >&6
17133 else
17134
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h.  */
17137 #include <errno.h>
17138 int
17139 main ()
17140 {
17141 int i = EOWNERDEAD;
17142   ;
17143   return 0;
17144 }
17145 _ACEOF
17146 if ac_fn_c_try_compile "$LINENO"; then :
17147   glibcxx_cv_system_error1=yes
17148 else
17149   glibcxx_cv_system_error1=no
17150 fi
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152
17153 fi
17154
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17156 $as_echo "$glibcxx_cv_system_error1" >&6; }
17157 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17158
17159 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17160
17161 fi
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17163 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17164 if test "${glibcxx_cv_system_error2+set}" = set; then :
17165   $as_echo_n "(cached) " >&6
17166 else
17167
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h.  */
17170 #include <errno.h>
17171 int
17172 main ()
17173 {
17174 int i = ENOTRECOVERABLE;
17175   ;
17176   return 0;
17177 }
17178 _ACEOF
17179 if ac_fn_c_try_compile "$LINENO"; then :
17180   glibcxx_cv_system_error2=yes
17181 else
17182   glibcxx_cv_system_error2=no
17183 fi
17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17185
17186 fi
17187
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17189 $as_echo "$glibcxx_cv_system_error2" >&6; }
17190 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17191
17192 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17193
17194 fi
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17196 $as_echo_n "checking for ENOLINK... " >&6; }
17197 if test "${glibcxx_cv_system_error3+set}" = set; then :
17198   $as_echo_n "(cached) " >&6
17199 else
17200
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h.  */
17203 #include <errno.h>
17204 int
17205 main ()
17206 {
17207 int i = ENOLINK;
17208   ;
17209   return 0;
17210 }
17211 _ACEOF
17212 if ac_fn_c_try_compile "$LINENO"; then :
17213   glibcxx_cv_system_error3=yes
17214 else
17215   glibcxx_cv_system_error3=no
17216 fi
17217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17218
17219 fi
17220
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17222 $as_echo "$glibcxx_cv_system_error3" >&6; }
17223 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17224
17225 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17226
17227 fi
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17229 $as_echo_n "checking for EPROTO... " >&6; }
17230 if test "${glibcxx_cv_system_error4+set}" = set; then :
17231   $as_echo_n "(cached) " >&6
17232 else
17233
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h.  */
17236 #include <errno.h>
17237 int
17238 main ()
17239 {
17240 int i = EPROTO;
17241   ;
17242   return 0;
17243 }
17244 _ACEOF
17245 if ac_fn_c_try_compile "$LINENO"; then :
17246   glibcxx_cv_system_error4=yes
17247 else
17248   glibcxx_cv_system_error4=no
17249 fi
17250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17251
17252 fi
17253
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17255 $as_echo "$glibcxx_cv_system_error4" >&6; }
17256 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17257
17258 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17259
17260 fi
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17262 $as_echo_n "checking for ENODATA... " >&6; }
17263 if test "${glibcxx_cv_system_error5+set}" = set; then :
17264   $as_echo_n "(cached) " >&6
17265 else
17266
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h.  */
17269 #include <errno.h>
17270 int
17271 main ()
17272 {
17273 int i = ENODATA;
17274   ;
17275   return 0;
17276 }
17277 _ACEOF
17278 if ac_fn_c_try_compile "$LINENO"; then :
17279   glibcxx_cv_system_error5=yes
17280 else
17281   glibcxx_cv_system_error5=no
17282 fi
17283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284
17285 fi
17286
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17288 $as_echo "$glibcxx_cv_system_error5" >&6; }
17289 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17290
17291 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17292
17293 fi
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17295 $as_echo_n "checking for ENOSR... " >&6; }
17296 if test "${glibcxx_cv_system_error6+set}" = set; then :
17297   $as_echo_n "(cached) " >&6
17298 else
17299
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h.  */
17302 #include <errno.h>
17303 int
17304 main ()
17305 {
17306 int i = ENOSR;
17307   ;
17308   return 0;
17309 }
17310 _ACEOF
17311 if ac_fn_c_try_compile "$LINENO"; then :
17312   glibcxx_cv_system_error6=yes
17313 else
17314   glibcxx_cv_system_error6=no
17315 fi
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17317
17318 fi
17319
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17321 $as_echo "$glibcxx_cv_system_error6" >&6; }
17322 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17323
17324 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17325
17326 fi
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17328 $as_echo_n "checking for ENOSTR... " >&6; }
17329 if test "${glibcxx_cv_system_error7+set}" = set; then :
17330   $as_echo_n "(cached) " >&6
17331 else
17332
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h.  */
17335 #include <errno.h>
17336 int
17337 main ()
17338 {
17339 int i = ENOSTR;
17340   ;
17341   return 0;
17342 }
17343 _ACEOF
17344 if ac_fn_c_try_compile "$LINENO"; then :
17345   glibcxx_cv_system_error7=yes
17346 else
17347   glibcxx_cv_system_error7=no
17348 fi
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17354 $as_echo "$glibcxx_cv_system_error7" >&6; }
17355 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17356
17357 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17358
17359 fi
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17361 $as_echo_n "checking for ETIME... " >&6; }
17362 if test "${glibcxx_cv_system_error8+set}" = set; then :
17363   $as_echo_n "(cached) " >&6
17364 else
17365
17366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h.  */
17368 #include <errno.h>
17369 int
17370 main ()
17371 {
17372 int i = ETIME;
17373   ;
17374   return 0;
17375 }
17376 _ACEOF
17377 if ac_fn_c_try_compile "$LINENO"; then :
17378   glibcxx_cv_system_error8=yes
17379 else
17380   glibcxx_cv_system_error8=no
17381 fi
17382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17383
17384 fi
17385
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17387 $as_echo "$glibcxx_cv_system_error8" >&6; }
17388 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17389
17390 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17391
17392 fi
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17394 $as_echo_n "checking for EBADMSG... " >&6; }
17395 if test "${glibcxx_cv_system_error9+set}" = set; then :
17396   $as_echo_n "(cached) " >&6
17397 else
17398
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h.  */
17401 #include <errno.h>
17402 int
17403 main ()
17404 {
17405 int i = EBADMSG;
17406   ;
17407   return 0;
17408 }
17409 _ACEOF
17410 if ac_fn_c_try_compile "$LINENO"; then :
17411   glibcxx_cv_system_error9=yes
17412 else
17413   glibcxx_cv_system_error9=no
17414 fi
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416
17417 fi
17418
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17420 $as_echo "$glibcxx_cv_system_error9" >&6; }
17421 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17422
17423 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17424
17425 fi
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17427 $as_echo_n "checking for ECANCELED... " >&6; }
17428 if test "${glibcxx_cv_system_error10+set}" = set; then :
17429   $as_echo_n "(cached) " >&6
17430 else
17431
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h.  */
17434 #include <errno.h>
17435 int
17436 main ()
17437 {
17438 int i = ECANCELED;
17439   ;
17440   return 0;
17441 }
17442 _ACEOF
17443 if ac_fn_c_try_compile "$LINENO"; then :
17444   glibcxx_cv_system_error10=yes
17445 else
17446   glibcxx_cv_system_error10=no
17447 fi
17448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449
17450 fi
17451
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17453 $as_echo "$glibcxx_cv_system_error10" >&6; }
17454 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17455
17456 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17457
17458 fi
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17460 $as_echo_n "checking for EOVERFLOW... " >&6; }
17461 if test "${glibcxx_cv_system_error11+set}" = set; then :
17462   $as_echo_n "(cached) " >&6
17463 else
17464
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h.  */
17467 #include <errno.h>
17468 int
17469 main ()
17470 {
17471 int i = EOVERFLOW;
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 if ac_fn_c_try_compile "$LINENO"; then :
17477   glibcxx_cv_system_error11=yes
17478 else
17479   glibcxx_cv_system_error11=no
17480 fi
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482
17483 fi
17484
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17486 $as_echo "$glibcxx_cv_system_error11" >&6; }
17487 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17488
17489 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17490
17491 fi
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17493 $as_echo_n "checking for ENOTSUP... " >&6; }
17494 if test "${glibcxx_cv_system_error12+set}" = set; then :
17495   $as_echo_n "(cached) " >&6
17496 else
17497
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h.  */
17500 #include <errno.h>
17501 int
17502 main ()
17503 {
17504 int i = ENOTSUP;
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510   glibcxx_cv_system_error12=yes
17511 else
17512   glibcxx_cv_system_error12=no
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515
17516 fi
17517
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17519 $as_echo "$glibcxx_cv_system_error12" >&6; }
17520 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17521
17522 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17523
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17526 $as_echo_n "checking for EIDRM... " >&6; }
17527 if test "${glibcxx_cv_system_error13+set}" = set; then :
17528   $as_echo_n "(cached) " >&6
17529 else
17530
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h.  */
17533 #include <errno.h>
17534 int
17535 main ()
17536 {
17537 int i = EIDRM;
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543   glibcxx_cv_system_error13=yes
17544 else
17545   glibcxx_cv_system_error13=no
17546 fi
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548
17549 fi
17550
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17552 $as_echo "$glibcxx_cv_system_error13" >&6; }
17553 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17554
17555 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17556
17557 fi
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17559 $as_echo_n "checking for ETXTBSY... " >&6; }
17560 if test "${glibcxx_cv_system_error14+set}" = set; then :
17561   $as_echo_n "(cached) " >&6
17562 else
17563
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h.  */
17566 #include <errno.h>
17567 int
17568 main ()
17569 {
17570 int i = ETXTBSY;
17571   ;
17572   return 0;
17573 }
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576   glibcxx_cv_system_error14=yes
17577 else
17578   glibcxx_cv_system_error14=no
17579 fi
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581
17582 fi
17583
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17585 $as_echo "$glibcxx_cv_system_error14" >&6; }
17586 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17587
17588 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17589
17590 fi
17591
17592
17593
17594 # For the streamoff typedef.
17595
17596
17597
17598   ac_ext=cpp
17599 ac_cpp='$CXXCPP $CPPFLAGS'
17600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17603
17604
17605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17606 $as_echo_n "checking for int64_t... " >&6; }
17607   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17608   $as_echo_n "(cached) " >&6
17609 else
17610
17611     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h.  */
17613 #include <stdint.h>
17614 int
17615 main ()
17616 {
17617 int64_t var;
17618   ;
17619   return 0;
17620 }
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623   glibcxx_cv_INT64_T=yes
17624 else
17625   glibcxx_cv_INT64_T=no
17626 fi
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628
17629 fi
17630
17631
17632   if test $glibcxx_cv_INT64_T = yes; then
17633
17634 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17635
17636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17637 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17638
17639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17640 $as_echo_n "checking for int64_t as long... " >&6; }
17641     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17642   $as_echo_n "(cached) " >&6
17643 else
17644
17645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h.  */
17647 #include <stdint.h>
17648         template<typename, typename> struct same { enum { value = -1 }; };
17649         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17650         int array[same<int64_t, long>::value];
17651 int
17652 main ()
17653 {
17654
17655   ;
17656   return 0;
17657 }
17658 _ACEOF
17659 if ac_fn_cxx_try_compile "$LINENO"; then :
17660   glibcxx_cv_int64_t_long=yes
17661 else
17662   glibcxx_cv_int64_t_long=no
17663 fi
17664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665
17666 fi
17667
17668
17669     if test $glibcxx_cv_int64_t_long = yes; then
17670
17671 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17672
17673       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17674 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17675     fi
17676
17677     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17678 $as_echo_n "checking for int64_t as long long... " >&6; }
17679     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17680   $as_echo_n "(cached) " >&6
17681 else
17682
17683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h.  */
17685 #include <stdint.h>
17686         template<typename, typename> struct same { enum { value = -1 }; };
17687         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17688         int array[same<int64_t, long long>::value];
17689 int
17690 main ()
17691 {
17692
17693   ;
17694   return 0;
17695 }
17696 _ACEOF
17697 if ac_fn_cxx_try_compile "$LINENO"; then :
17698   glibcxx_cv_int64_t_long_long=yes
17699 else
17700   glibcxx_cv_int64_t_long_long=no
17701 fi
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703
17704 fi
17705
17706
17707     if test $glibcxx_cv_int64_t_long_long = yes; then
17708
17709 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17710
17711       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17712 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17713     fi
17714   fi
17715
17716   ac_ext=c
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721
17722
17723
17724 # For LFS support.
17725
17726
17727   ac_ext=cpp
17728 ac_cpp='$CXXCPP $CPPFLAGS'
17729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17732
17733   ac_save_CXXFLAGS="$CXXFLAGS"
17734   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17736 $as_echo_n "checking for LFS support... " >&6; }
17737   if test "${glibcxx_cv_LFS+set}" = set; then :
17738   $as_echo_n "(cached) " >&6
17739 else
17740
17741     if test x$gcc_no_link = xyes; then
17742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h.  */
17744 #include <unistd.h>
17745        #include <stdio.h>
17746        #include <sys/stat.h>
17747
17748 int
17749 main ()
17750 {
17751 FILE* fp;
17752        fopen64("t", "w");
17753        fseeko64(fp, 0, SEEK_CUR);
17754        ftello64(fp);
17755        lseek64(1, 0, SEEK_CUR);
17756        struct stat64 buf;
17757        fstat64(1, &buf);
17758   ;
17759   return 0;
17760 }
17761 _ACEOF
17762 if ac_fn_cxx_try_compile "$LINENO"; then :
17763   glibcxx_cv_LFS=yes
17764 else
17765   glibcxx_cv_LFS=no
17766 fi
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 else
17769   if test x$gcc_no_link = xyes; then
17770   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17771 fi
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h.  */
17774 #include <unistd.h>
17775        #include <stdio.h>
17776        #include <sys/stat.h>
17777
17778 int
17779 main ()
17780 {
17781 FILE* fp;
17782        fopen64("t", "w");
17783        fseeko64(fp, 0, SEEK_CUR);
17784        ftello64(fp);
17785        lseek64(1, 0, SEEK_CUR);
17786        struct stat64 buf;
17787        fstat64(1, &buf);
17788   ;
17789   return 0;
17790 }
17791 _ACEOF
17792 if ac_fn_cxx_try_link "$LINENO"; then :
17793   glibcxx_cv_LFS=yes
17794 else
17795   glibcxx_cv_LFS=no
17796 fi
17797 rm -f core conftest.err conftest.$ac_objext \
17798     conftest$ac_exeext conftest.$ac_ext
17799 fi
17800
17801 fi
17802
17803   if test $glibcxx_cv_LFS = yes; then
17804
17805 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17806
17807   fi
17808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17809 $as_echo "$glibcxx_cv_LFS" >&6; }
17810   CXXFLAGS="$ac_save_CXXFLAGS"
17811   ac_ext=c
17812 ac_cpp='$CPP $CPPFLAGS'
17813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17816
17817
17818
17819 # For showmanyc_helper().
17820 for ac_header in sys/ioctl.h sys/filio.h
17821 do :
17822   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17823 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17824 eval as_val=\$$as_ac_Header
17825    if test "x$as_val" = x""yes; then :
17826   cat >>confdefs.h <<_ACEOF
17827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17828 _ACEOF
17829
17830 fi
17831
17832 done
17833
17834
17835
17836
17837   ac_ext=cpp
17838 ac_cpp='$CXXCPP $CPPFLAGS'
17839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17842
17843   ac_save_CXXFLAGS="$CXXFLAGS"
17844   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17845
17846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17847 $as_echo_n "checking for poll... " >&6; }
17848   if test "${glibcxx_cv_POLL+set}" = set; then :
17849   $as_echo_n "(cached) " >&6
17850 else
17851
17852     if test x$gcc_no_link = xyes; then
17853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h.  */
17855 #include <poll.h>
17856 int
17857 main ()
17858 {
17859 struct pollfd pfd[1];
17860        pfd[0].events = POLLIN;
17861        poll(pfd, 1, 0);
17862   ;
17863   return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17867   glibcxx_cv_POLL=yes
17868 else
17869   glibcxx_cv_POLL=no
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 else
17873   if test x$gcc_no_link = xyes; then
17874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17875 fi
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h.  */
17878 #include <poll.h>
17879 int
17880 main ()
17881 {
17882 struct pollfd pfd[1];
17883        pfd[0].events = POLLIN;
17884        poll(pfd, 1, 0);
17885   ;
17886   return 0;
17887 }
17888 _ACEOF
17889 if ac_fn_cxx_try_link "$LINENO"; then :
17890   glibcxx_cv_POLL=yes
17891 else
17892   glibcxx_cv_POLL=no
17893 fi
17894 rm -f core conftest.err conftest.$ac_objext \
17895     conftest$ac_exeext conftest.$ac_ext
17896 fi
17897
17898 fi
17899
17900   if test $glibcxx_cv_POLL = yes; then
17901
17902 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17903
17904   fi
17905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17906 $as_echo "$glibcxx_cv_POLL" >&6; }
17907
17908   CXXFLAGS="$ac_save_CXXFLAGS"
17909   ac_ext=c
17910 ac_cpp='$CPP $CPPFLAGS'
17911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17914
17915
17916
17917
17918
17919   ac_ext=cpp
17920 ac_cpp='$CXXCPP $CPPFLAGS'
17921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17924
17925   ac_save_CXXFLAGS="$CXXFLAGS"
17926   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17927
17928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17929 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17930   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17931   $as_echo_n "(cached) " >&6
17932 else
17933
17934     if test x$gcc_no_link = xyes; then
17935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h.  */
17937 #include <sys/stat.h>
17938 int
17939 main ()
17940 {
17941 struct stat buffer;
17942        fstat(0, &buffer);
17943        S_ISREG(buffer.st_mode);
17944   ;
17945   return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_cxx_try_compile "$LINENO"; then :
17949   glibcxx_cv_S_ISREG=yes
17950 else
17951   glibcxx_cv_S_ISREG=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 else
17955   if test x$gcc_no_link = xyes; then
17956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17957 fi
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h.  */
17960 #include <sys/stat.h>
17961 int
17962 main ()
17963 {
17964 struct stat buffer;
17965        fstat(0, &buffer);
17966        S_ISREG(buffer.st_mode);
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_cxx_try_link "$LINENO"; then :
17972   glibcxx_cv_S_ISREG=yes
17973 else
17974   glibcxx_cv_S_ISREG=no
17975 fi
17976 rm -f core conftest.err conftest.$ac_objext \
17977     conftest$ac_exeext conftest.$ac_ext
17978 fi
17979
17980 fi
17981
17982   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17983   $as_echo_n "(cached) " >&6
17984 else
17985
17986     if test x$gcc_no_link = xyes; then
17987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h.  */
17989 #include <sys/stat.h>
17990 int
17991 main ()
17992 {
17993 struct stat buffer;
17994        fstat(0, &buffer);
17995        S_IFREG & buffer.st_mode;
17996   ;
17997   return 0;
17998 }
17999 _ACEOF
18000 if ac_fn_cxx_try_compile "$LINENO"; then :
18001   glibcxx_cv_S_IFREG=yes
18002 else
18003   glibcxx_cv_S_IFREG=no
18004 fi
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 else
18007   if test x$gcc_no_link = xyes; then
18008   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18009 fi
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h.  */
18012 #include <sys/stat.h>
18013 int
18014 main ()
18015 {
18016 struct stat buffer;
18017        fstat(0, &buffer);
18018        S_IFREG & buffer.st_mode;
18019   ;
18020   return 0;
18021 }
18022 _ACEOF
18023 if ac_fn_cxx_try_link "$LINENO"; then :
18024   glibcxx_cv_S_IFREG=yes
18025 else
18026   glibcxx_cv_S_IFREG=no
18027 fi
18028 rm -f core conftest.err conftest.$ac_objext \
18029     conftest$ac_exeext conftest.$ac_ext
18030 fi
18031
18032 fi
18033
18034   res=no
18035   if test $glibcxx_cv_S_ISREG = yes; then
18036
18037 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18038
18039     res=S_ISREG
18040   elif test $glibcxx_cv_S_IFREG = yes; then
18041
18042 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18043
18044     res=S_IFREG
18045   fi
18046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18047 $as_echo "$res" >&6; }
18048
18049   CXXFLAGS="$ac_save_CXXFLAGS"
18050   ac_ext=c
18051 ac_cpp='$CPP $CPPFLAGS'
18052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18055
18056
18057
18058 # For xsputn_2().
18059 for ac_header in sys/uio.h
18060 do :
18061   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18062 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18063   cat >>confdefs.h <<_ACEOF
18064 #define HAVE_SYS_UIO_H 1
18065 _ACEOF
18066
18067 fi
18068
18069 done
18070
18071
18072
18073
18074   ac_ext=cpp
18075 ac_cpp='$CXXCPP $CPPFLAGS'
18076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18079
18080   ac_save_CXXFLAGS="$CXXFLAGS"
18081   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18082
18083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18084 $as_echo_n "checking for writev... " >&6; }
18085   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18086   $as_echo_n "(cached) " >&6
18087 else
18088
18089     if test x$gcc_no_link = xyes; then
18090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h.  */
18092 #include <sys/uio.h>
18093 int
18094 main ()
18095 {
18096 struct iovec iov[2];
18097        writev(0, iov, 0);
18098   ;
18099   return 0;
18100 }
18101 _ACEOF
18102 if ac_fn_cxx_try_compile "$LINENO"; then :
18103   glibcxx_cv_WRITEV=yes
18104 else
18105   glibcxx_cv_WRITEV=no
18106 fi
18107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18108 else
18109   if test x$gcc_no_link = xyes; then
18110   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18111 fi
18112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18113 /* end confdefs.h.  */
18114 #include <sys/uio.h>
18115 int
18116 main ()
18117 {
18118 struct iovec iov[2];
18119        writev(0, iov, 0);
18120   ;
18121   return 0;
18122 }
18123 _ACEOF
18124 if ac_fn_cxx_try_link "$LINENO"; then :
18125   glibcxx_cv_WRITEV=yes
18126 else
18127   glibcxx_cv_WRITEV=no
18128 fi
18129 rm -f core conftest.err conftest.$ac_objext \
18130     conftest$ac_exeext conftest.$ac_ext
18131 fi
18132
18133 fi
18134
18135   if test $glibcxx_cv_WRITEV = yes; then
18136
18137 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18138
18139   fi
18140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18141 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18142
18143   CXXFLAGS="$ac_save_CXXFLAGS"
18144   ac_ext=c
18145 ac_cpp='$CPP $CPPFLAGS'
18146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18149
18150
18151
18152 # For C99 support to TR1.
18153
18154
18155
18156   ac_ext=cpp
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18161
18162
18163   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18164   # undefined and fake C99 facilities may be spuriously enabled.
18165   ac_save_CXXFLAGS="$CXXFLAGS"
18166   CXXFLAGS="$CXXFLAGS -std=c++98"
18167
18168   # Check for the existence of <complex.h> complex math functions used
18169   # by tr1/complex.
18170   for ac_header in complex.h
18171 do :
18172   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18173 if test "x$ac_cv_header_complex_h" = x""yes; then :
18174   cat >>confdefs.h <<_ACEOF
18175 #define HAVE_COMPLEX_H 1
18176 _ACEOF
18177  ac_has_complex_h=yes
18178 else
18179   ac_has_complex_h=no
18180 fi
18181
18182 done
18183
18184   ac_c99_complex_tr1=no;
18185   if test x"$ac_has_complex_h" = x"yes"; then
18186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18187 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18188     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18189 /* end confdefs.h.  */
18190 #include <complex.h>
18191 int
18192 main ()
18193 {
18194 typedef __complex__ float float_type; float_type tmpf;
18195                     cacosf(tmpf);
18196                     casinf(tmpf);
18197                     catanf(tmpf);
18198                     cacoshf(tmpf);
18199                     casinhf(tmpf);
18200                     catanhf(tmpf);
18201                     typedef __complex__ double double_type; double_type tmpd;
18202                     cacos(tmpd);
18203                     casin(tmpd);
18204                     catan(tmpd);
18205                     cacosh(tmpd);
18206                     casinh(tmpd);
18207                     catanh(tmpd);
18208                     typedef __complex__ long double ld_type; ld_type tmpld;
18209                     cacosl(tmpld);
18210                     casinl(tmpld);
18211                     catanl(tmpld);
18212                     cacoshl(tmpld);
18213                     casinhl(tmpld);
18214                     catanhl(tmpld);
18215
18216   ;
18217   return 0;
18218 }
18219 _ACEOF
18220 if ac_fn_cxx_try_compile "$LINENO"; then :
18221   ac_c99_complex_tr1=yes
18222 else
18223   ac_c99_complex_tr1=no
18224 fi
18225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18226   fi
18227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18228 $as_echo "$ac_c99_complex_tr1" >&6; }
18229   if test x"$ac_c99_complex_tr1" = x"yes"; then
18230
18231 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18232
18233   fi
18234
18235   # Check for the existence of <ctype.h> functions.
18236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18237 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18238   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18239   $as_echo_n "(cached) " >&6
18240 else
18241
18242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h.  */
18244 #include <ctype.h>
18245 int
18246 main ()
18247 {
18248 int ch;
18249                   int ret;
18250                   ret = isblank(ch);
18251
18252   ;
18253   return 0;
18254 }
18255 _ACEOF
18256 if ac_fn_cxx_try_compile "$LINENO"; then :
18257   glibcxx_cv_c99_ctype_tr1=yes
18258 else
18259   glibcxx_cv_c99_ctype_tr1=no
18260 fi
18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18262
18263 fi
18264
18265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18266 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18267   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18268
18269 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18270
18271   fi
18272
18273   # Check for the existence of <fenv.h> functions.
18274   for ac_header in fenv.h
18275 do :
18276   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18277 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18278   cat >>confdefs.h <<_ACEOF
18279 #define HAVE_FENV_H 1
18280 _ACEOF
18281  ac_has_fenv_h=yes
18282 else
18283   ac_has_fenv_h=no
18284 fi
18285
18286 done
18287
18288   ac_c99_fenv_tr1=no;
18289   if test x"$ac_has_fenv_h" = x"yes"; then
18290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18291 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18292     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h.  */
18294 #include <fenv.h>
18295 int
18296 main ()
18297 {
18298 int except, mode;
18299                     fexcept_t* pflag;
18300                     fenv_t* penv;
18301                     int ret;
18302                     ret = feclearexcept(except);
18303                     ret = fegetexceptflag(pflag, except);
18304                     ret = feraiseexcept(except);
18305                     ret = fesetexceptflag(pflag, except);
18306                     ret = fetestexcept(except);
18307                     ret = fegetround();
18308                     ret = fesetround(mode);
18309                     ret = fegetenv(penv);
18310                     ret = feholdexcept(penv);
18311                     ret = fesetenv(penv);
18312                     ret = feupdateenv(penv);
18313
18314   ;
18315   return 0;
18316 }
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319   ac_c99_fenv_tr1=yes
18320 else
18321   ac_c99_fenv_tr1=no
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324   fi
18325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18326 $as_echo "$ac_c99_fenv_tr1" >&6; }
18327   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18328
18329 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18330
18331   fi
18332
18333   # Check for the existence of <stdint.h> types.
18334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18335 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18336   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18337   $as_echo_n "(cached) " >&6
18338 else
18339
18340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h.  */
18342 #define __STDC_LIMIT_MACROS
18343                   #define __STDC_CONSTANT_MACROS
18344                   #include <stdint.h>
18345 int
18346 main ()
18347 {
18348 typedef int8_t          my_int8_t;
18349                   my_int8_t               i8 = INT8_MIN;
18350                   i8 = INT8_MAX;
18351                   typedef int16_t         my_int16_t;
18352                   my_int16_t              i16 = INT16_MIN;
18353                   i16 = INT16_MAX;
18354                   typedef int32_t         my_int32_t;
18355                   my_int32_t              i32 = INT32_MIN;
18356                   i32 = INT32_MAX;
18357                   typedef int64_t         my_int64_t;
18358                   my_int64_t              i64 = INT64_MIN;
18359                   i64 = INT64_MAX;
18360                   typedef int_fast8_t     my_int_fast8_t;
18361                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18362                   if8 = INT_FAST8_MAX;
18363                   typedef int_fast16_t    my_int_fast16_t;
18364                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18365                   if16 = INT_FAST16_MAX;
18366                   typedef int_fast32_t    my_int_fast32_t;
18367                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18368                   if32 = INT_FAST32_MAX;
18369                   typedef int_fast64_t    my_int_fast64_t;
18370                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18371                   if64 = INT_FAST64_MAX;
18372                   typedef int_least8_t    my_int_least8_t;
18373                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18374                   il8 = INT_LEAST8_MAX;
18375                   typedef int_least16_t   my_int_least16_t;
18376                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18377                   il16 = INT_LEAST16_MAX;
18378                   typedef int_least32_t   my_int_least32_t;
18379                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18380                   il32 = INT_LEAST32_MAX;
18381                   typedef int_least64_t   my_int_least64_t;
18382                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18383                   il64 = INT_LEAST64_MAX;
18384                   typedef intmax_t        my_intmax_t;
18385                   my_intmax_t             im = INTMAX_MAX;
18386                   im = INTMAX_MIN;
18387                   typedef intptr_t        my_intptr_t;
18388                   my_intptr_t             ip = INTPTR_MAX;
18389                   ip = INTPTR_MIN;
18390                   typedef uint8_t         my_uint8_t;
18391                   my_uint8_t              ui8 = UINT8_MAX;
18392                   ui8 = UINT8_MAX;
18393                   typedef uint16_t        my_uint16_t;
18394                   my_uint16_t             ui16 = UINT16_MAX;
18395                   ui16 = UINT16_MAX;
18396                   typedef uint32_t        my_uint32_t;
18397                   my_uint32_t             ui32 = UINT32_MAX;
18398                   ui32 = UINT32_MAX;
18399                   typedef uint64_t        my_uint64_t;
18400                   my_uint64_t             ui64 = UINT64_MAX;
18401                   ui64 = UINT64_MAX;
18402                   typedef uint_fast8_t    my_uint_fast8_t;
18403                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18404                   uif8 = UINT_FAST8_MAX;
18405                   typedef uint_fast16_t   my_uint_fast16_t;
18406                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18407                   uif16 = UINT_FAST16_MAX;
18408                   typedef uint_fast32_t   my_uint_fast32_t;
18409                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18410                   uif32 = UINT_FAST32_MAX;
18411                   typedef uint_fast64_t   my_uint_fast64_t;
18412                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18413                   uif64 = UINT_FAST64_MAX;
18414                   typedef uint_least8_t   my_uint_least8_t;
18415                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18416                   uil8 = UINT_LEAST8_MAX;
18417                   typedef uint_least16_t  my_uint_least16_t;
18418                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18419                   uil16 = UINT_LEAST16_MAX;
18420                   typedef uint_least32_t  my_uint_least32_t;
18421                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18422                   uil32 = UINT_LEAST32_MAX;
18423                   typedef uint_least64_t  my_uint_least64_t;
18424                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18425                   uil64 = UINT_LEAST64_MAX;
18426                   typedef uintmax_t       my_uintmax_t;
18427                   my_uintmax_t            uim = UINTMAX_MAX;
18428                   uim = UINTMAX_MAX;
18429                   typedef uintptr_t       my_uintptr_t;
18430                   my_uintptr_t            uip = UINTPTR_MAX;
18431                   uip = UINTPTR_MAX;
18432
18433   ;
18434   return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438   glibcxx_cv_c99_stdint_tr1=yes
18439 else
18440   glibcxx_cv_c99_stdint_tr1=no
18441 fi
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443
18444 fi
18445
18446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18447 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18448   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18449
18450 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18451
18452   fi
18453
18454   # Check for the existence of <math.h> functions.
18455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18456 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18457   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18458   $as_echo_n "(cached) " >&6
18459 else
18460
18461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h.  */
18463 #include <math.h>
18464 int
18465 main ()
18466 {
18467 typedef double_t  my_double_t;
18468                   typedef float_t   my_float_t;
18469                   acosh(0.0);
18470                   acoshf(0.0f);
18471                   acoshl(0.0l);
18472                   asinh(0.0);
18473                   asinhf(0.0f);
18474                   asinhl(0.0l);
18475                   atanh(0.0);
18476                   atanhf(0.0f);
18477                   atanhl(0.0l);
18478                   cbrt(0.0);
18479                   cbrtf(0.0f);
18480                   cbrtl(0.0l);
18481                   copysign(0.0, 0.0);
18482                   copysignf(0.0f, 0.0f);
18483                   copysignl(0.0l, 0.0l);
18484                   erf(0.0);
18485                   erff(0.0f);
18486                   erfl(0.0l);
18487                   erfc(0.0);
18488                   erfcf(0.0f);
18489                   erfcl(0.0l);
18490                   exp2(0.0);
18491                   exp2f(0.0f);
18492                   exp2l(0.0l);
18493                   expm1(0.0);
18494                   expm1f(0.0f);
18495                   expm1l(0.0l);
18496                   fdim(0.0, 0.0);
18497                   fdimf(0.0f, 0.0f);
18498                   fdiml(0.0l, 0.0l);
18499                   fma(0.0, 0.0, 0.0);
18500                   fmaf(0.0f, 0.0f, 0.0f);
18501                   fmal(0.0l, 0.0l, 0.0l);
18502                   fmax(0.0, 0.0);
18503                   fmaxf(0.0f, 0.0f);
18504                   fmaxl(0.0l, 0.0l);
18505                   fmin(0.0, 0.0);
18506                   fminf(0.0f, 0.0f);
18507                   fminl(0.0l, 0.0l);
18508                   hypot(0.0, 0.0);
18509                   hypotf(0.0f, 0.0f);
18510                   hypotl(0.0l, 0.0l);
18511                   ilogb(0.0);
18512                   ilogbf(0.0f);
18513                   ilogbl(0.0l);
18514                   lgamma(0.0);
18515                   lgammaf(0.0f);
18516                   lgammal(0.0l);
18517                   llrint(0.0);
18518                   llrintf(0.0f);
18519                   llrintl(0.0l);
18520                   llround(0.0);
18521                   llroundf(0.0f);
18522                   llroundl(0.0l);
18523                   log1p(0.0);
18524                   log1pf(0.0f);
18525                   log1pl(0.0l);
18526                   log2(0.0);
18527                   log2f(0.0f);
18528                   log2l(0.0l);
18529                   logb(0.0);
18530                   logbf(0.0f);
18531                   logbl(0.0l);
18532                   lrint(0.0);
18533                   lrintf(0.0f);
18534                   lrintl(0.0l);
18535                   lround(0.0);
18536                   lroundf(0.0f);
18537                   lroundl(0.0l);
18538                   nan(0);
18539                   nanf(0);
18540                   nanl(0);
18541                   nearbyint(0.0);
18542                   nearbyintf(0.0f);
18543                   nearbyintl(0.0l);
18544                   nextafter(0.0, 0.0);
18545                   nextafterf(0.0f, 0.0f);
18546                   nextafterl(0.0l, 0.0l);
18547                   nexttoward(0.0, 0.0);
18548                   nexttowardf(0.0f, 0.0f);
18549                   nexttowardl(0.0l, 0.0l);
18550                   remainder(0.0, 0.0);
18551                   remainderf(0.0f, 0.0f);
18552                   remainderl(0.0l, 0.0l);
18553                   remquo(0.0, 0.0, 0);
18554                   remquof(0.0f, 0.0f, 0);
18555                   remquol(0.0l, 0.0l, 0);
18556                   rint(0.0);
18557                   rintf(0.0f);
18558                   rintl(0.0l);
18559                   round(0.0);
18560                   roundf(0.0f);
18561                   roundl(0.0l);
18562                   scalbln(0.0, 0l);
18563                   scalblnf(0.0f, 0l);
18564                   scalblnl(0.0l, 0l);
18565                   scalbn(0.0, 0);
18566                   scalbnf(0.0f, 0);
18567                   scalbnl(0.0l, 0);
18568                   tgamma(0.0);
18569                   tgammaf(0.0f);
18570                   tgammal(0.0l);
18571                   trunc(0.0);
18572                   truncf(0.0f);
18573                   truncl(0.0l);
18574
18575   ;
18576   return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_cxx_try_compile "$LINENO"; then :
18580   glibcxx_cv_c99_math_tr1=yes
18581 else
18582   glibcxx_cv_c99_math_tr1=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585
18586 fi
18587
18588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18589 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18590   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18591
18592 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18593
18594   fi
18595
18596   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18597   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18598   ac_c99_inttypes_tr1=no;
18599   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18601 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18602     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h.  */
18604 #include <inttypes.h>
18605 int
18606 main ()
18607 {
18608 intmax_t i, numer, denom, base;
18609                     const char* s;
18610                     char** endptr;
18611                     intmax_t ret = imaxabs(i);
18612                     imaxdiv_t dret = imaxdiv(numer, denom);
18613                     ret = strtoimax(s, endptr, base);
18614                     uintmax_t uret = strtoumax(s, endptr, base);
18615
18616   ;
18617   return 0;
18618 }
18619 _ACEOF
18620 if ac_fn_cxx_try_compile "$LINENO"; then :
18621   ac_c99_inttypes_tr1=yes
18622 else
18623   ac_c99_inttypes_tr1=no
18624 fi
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18626   fi
18627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18628 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18629   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18630
18631 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18632
18633   fi
18634
18635   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18636   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18637   ac_c99_inttypes_wchar_t_tr1=no;
18638   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18640 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18641     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h.  */
18643 #include <inttypes.h>
18644 int
18645 main ()
18646 {
18647 intmax_t base;
18648                     const wchar_t* s;
18649                     wchar_t** endptr;
18650                     intmax_t ret = wcstoimax(s, endptr, base);
18651                     uintmax_t uret = wcstoumax(s, endptr, base);
18652
18653   ;
18654   return 0;
18655 }
18656 _ACEOF
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658   ac_c99_inttypes_wchar_t_tr1=yes
18659 else
18660   ac_c99_inttypes_wchar_t_tr1=no
18661 fi
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663   fi
18664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18665 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18666   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18667
18668 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18669
18670   fi
18671
18672   # Check for the existence of the <stdbool.h> header.
18673   for ac_header in stdbool.h
18674 do :
18675   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18676 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18677   cat >>confdefs.h <<_ACEOF
18678 #define HAVE_STDBOOL_H 1
18679 _ACEOF
18680
18681 fi
18682
18683 done
18684
18685
18686   CXXFLAGS="$ac_save_CXXFLAGS"
18687   ac_ext=c
18688 ac_cpp='$CPP $CPPFLAGS'
18689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18692
18693
18694
18695 # For common values of EOF, SEEK_CUR, SEEK_END.
18696
18697
18698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18699 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18700   if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18701   $as_echo_n "(cached) " >&6
18702 else
18703
18704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h.  */
18706 #include <stdio.h>
18707 int
18708 main ()
18709 {
18710 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18711                     unusual values...
18712                   #endif
18713
18714   ;
18715   return 0;
18716 }
18717 _ACEOF
18718 if ac_fn_c_try_compile "$LINENO"; then :
18719   glibcxx_cv_stdio_macros=yes
18720 else
18721   glibcxx_cv_stdio_macros=no
18722 fi
18723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724
18725 fi
18726
18727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18728 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18729   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18730
18731 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18732
18733   fi
18734
18735
18736
18737 # For gettimeofday support.
18738
18739
18740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18741 $as_echo_n "checking for gettimeofday... " >&6; }
18742
18743
18744   ac_ext=cpp
18745 ac_cpp='$CXXCPP $CPPFLAGS'
18746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18749
18750   ac_save_CXXFLAGS="$CXXFLAGS"
18751   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18752
18753   ac_has_gettimeofday=no;
18754   for ac_header in sys/time.h
18755 do :
18756   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18757 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18758   cat >>confdefs.h <<_ACEOF
18759 #define HAVE_SYS_TIME_H 1
18760 _ACEOF
18761  ac_has_sys_time_h=yes
18762 else
18763   ac_has_sys_time_h=no
18764 fi
18765
18766 done
18767
18768   if test x"$ac_has_sys_time_h" = x"yes"; then
18769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18770 $as_echo_n "checking for gettimeofday... " >&6; }
18771     if test x$gcc_no_link = xyes; then
18772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h.  */
18774 #include <sys/time.h>
18775 int
18776 main ()
18777 {
18778 timeval tv; gettimeofday(&tv, 0);
18779   ;
18780   return 0;
18781 }
18782 _ACEOF
18783 if ac_fn_cxx_try_compile "$LINENO"; then :
18784   ac_has_gettimeofday=yes
18785 else
18786   ac_has_gettimeofday=no
18787 fi
18788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 else
18790   if test x$gcc_no_link = xyes; then
18791   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18792 fi
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h.  */
18795 #include <sys/time.h>
18796 int
18797 main ()
18798 {
18799 timeval tv; gettimeofday(&tv, 0);
18800   ;
18801   return 0;
18802 }
18803 _ACEOF
18804 if ac_fn_cxx_try_link "$LINENO"; then :
18805   ac_has_gettimeofday=yes
18806 else
18807   ac_has_gettimeofday=no
18808 fi
18809 rm -f core conftest.err conftest.$ac_objext \
18810     conftest$ac_exeext conftest.$ac_ext
18811 fi
18812
18813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18814 $as_echo "$ac_has_gettimeofday" >&6; }
18815   fi
18816
18817   if test x"$ac_has_gettimeofday" = x"yes"; then
18818
18819 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18820
18821   fi
18822
18823   CXXFLAGS="$ac_save_CXXFLAGS"
18824   ac_ext=c
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18829
18830
18831
18832 # For clock_gettime, nanosleep and sched_yield support.
18833 # NB: The default is [no], because otherwise it requires linking.
18834
18835
18836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18837 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18838    # Check whether --enable-libstdcxx-time was given.
18839 if test "${enable_libstdcxx_time+set}" = set; then :
18840   enableval=$enable_libstdcxx_time;
18841       case "$enableval" in
18842        yes|no|rt) ;;
18843        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18844                           esac
18845
18846 else
18847   enable_libstdcxx_time=no
18848 fi
18849
18850
18851
18852
18853   ac_ext=cpp
18854 ac_cpp='$CXXCPP $CPPFLAGS'
18855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18858
18859   ac_save_CXXFLAGS="$CXXFLAGS"
18860   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18861   ac_save_LIBS="$LIBS"
18862
18863   ac_has_clock_monotonic=no;
18864   ac_has_clock_realtime=no;
18865
18866   if test x"$enable_libstdcxx_time" != x"no"; then
18867
18868     if test x"$enable_libstdcxx_time" = x"rt"; then
18869       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18870 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18871 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18872   $as_echo_n "(cached) " >&6
18873 else
18874   ac_func_search_save_LIBS=$LIBS
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h.  */
18877
18878 /* Override any GCC internal prototype to avoid an error.
18879    Use char because int might match the return type of a GCC
18880    builtin and then its argument prototype would still apply.  */
18881 #ifdef __cplusplus
18882 extern "C"
18883 #endif
18884 char clock_gettime ();
18885 int
18886 main ()
18887 {
18888 return clock_gettime ();
18889   ;
18890   return 0;
18891 }
18892 _ACEOF
18893 for ac_lib in '' rt posix4; do
18894   if test -z "$ac_lib"; then
18895     ac_res="none required"
18896   else
18897     ac_res=-l$ac_lib
18898     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18899   fi
18900   if test x$gcc_no_link = xyes; then
18901   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18902 fi
18903 if ac_fn_cxx_try_link "$LINENO"; then :
18904   ac_cv_search_clock_gettime=$ac_res
18905 fi
18906 rm -f core conftest.err conftest.$ac_objext \
18907     conftest$ac_exeext
18908   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18909   break
18910 fi
18911 done
18912 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18913
18914 else
18915   ac_cv_search_clock_gettime=no
18916 fi
18917 rm conftest.$ac_ext
18918 LIBS=$ac_func_search_save_LIBS
18919 fi
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18921 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18922 ac_res=$ac_cv_search_clock_gettime
18923 if test "$ac_res" != no; then :
18924   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18925
18926 fi
18927
18928       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18929 $as_echo_n "checking for library containing nanosleep... " >&6; }
18930 if test "${ac_cv_search_nanosleep+set}" = set; then :
18931   $as_echo_n "(cached) " >&6
18932 else
18933   ac_func_search_save_LIBS=$LIBS
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h.  */
18936
18937 /* Override any GCC internal prototype to avoid an error.
18938    Use char because int might match the return type of a GCC
18939    builtin and then its argument prototype would still apply.  */
18940 #ifdef __cplusplus
18941 extern "C"
18942 #endif
18943 char nanosleep ();
18944 int
18945 main ()
18946 {
18947 return nanosleep ();
18948   ;
18949   return 0;
18950 }
18951 _ACEOF
18952 for ac_lib in '' rt posix4; do
18953   if test -z "$ac_lib"; then
18954     ac_res="none required"
18955   else
18956     ac_res=-l$ac_lib
18957     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18958   fi
18959   if test x$gcc_no_link = xyes; then
18960   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18961 fi
18962 if ac_fn_cxx_try_link "$LINENO"; then :
18963   ac_cv_search_nanosleep=$ac_res
18964 fi
18965 rm -f core conftest.err conftest.$ac_objext \
18966     conftest$ac_exeext
18967   if test "${ac_cv_search_nanosleep+set}" = set; then :
18968   break
18969 fi
18970 done
18971 if test "${ac_cv_search_nanosleep+set}" = set; then :
18972
18973 else
18974   ac_cv_search_nanosleep=no
18975 fi
18976 rm conftest.$ac_ext
18977 LIBS=$ac_func_search_save_LIBS
18978 fi
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18980 $as_echo "$ac_cv_search_nanosleep" >&6; }
18981 ac_res=$ac_cv_search_nanosleep
18982 if test "$ac_res" != no; then :
18983   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18984
18985 fi
18986
18987     else
18988       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18989 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18990 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18991   $as_echo_n "(cached) " >&6
18992 else
18993   ac_func_search_save_LIBS=$LIBS
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h.  */
18996
18997 /* Override any GCC internal prototype to avoid an error.
18998    Use char because int might match the return type of a GCC
18999    builtin and then its argument prototype would still apply.  */
19000 #ifdef __cplusplus
19001 extern "C"
19002 #endif
19003 char clock_gettime ();
19004 int
19005 main ()
19006 {
19007 return clock_gettime ();
19008   ;
19009   return 0;
19010 }
19011 _ACEOF
19012 for ac_lib in '' posix4; do
19013   if test -z "$ac_lib"; then
19014     ac_res="none required"
19015   else
19016     ac_res=-l$ac_lib
19017     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19018   fi
19019   if test x$gcc_no_link = xyes; then
19020   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19021 fi
19022 if ac_fn_cxx_try_link "$LINENO"; then :
19023   ac_cv_search_clock_gettime=$ac_res
19024 fi
19025 rm -f core conftest.err conftest.$ac_objext \
19026     conftest$ac_exeext
19027   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19028   break
19029 fi
19030 done
19031 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19032
19033 else
19034   ac_cv_search_clock_gettime=no
19035 fi
19036 rm conftest.$ac_ext
19037 LIBS=$ac_func_search_save_LIBS
19038 fi
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19040 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19041 ac_res=$ac_cv_search_clock_gettime
19042 if test "$ac_res" != no; then :
19043   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19044
19045 fi
19046
19047       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19048 $as_echo_n "checking for library containing nanosleep... " >&6; }
19049 if test "${ac_cv_search_nanosleep+set}" = set; then :
19050   $as_echo_n "(cached) " >&6
19051 else
19052   ac_func_search_save_LIBS=$LIBS
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h.  */
19055
19056 /* Override any GCC internal prototype to avoid an error.
19057    Use char because int might match the return type of a GCC
19058    builtin and then its argument prototype would still apply.  */
19059 #ifdef __cplusplus
19060 extern "C"
19061 #endif
19062 char nanosleep ();
19063 int
19064 main ()
19065 {
19066 return nanosleep ();
19067   ;
19068   return 0;
19069 }
19070 _ACEOF
19071 for ac_lib in '' posix4; do
19072   if test -z "$ac_lib"; then
19073     ac_res="none required"
19074   else
19075     ac_res=-l$ac_lib
19076     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19077   fi
19078   if test x$gcc_no_link = xyes; then
19079   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19080 fi
19081 if ac_fn_cxx_try_link "$LINENO"; then :
19082   ac_cv_search_nanosleep=$ac_res
19083 fi
19084 rm -f core conftest.err conftest.$ac_objext \
19085     conftest$ac_exeext
19086   if test "${ac_cv_search_nanosleep+set}" = set; then :
19087   break
19088 fi
19089 done
19090 if test "${ac_cv_search_nanosleep+set}" = set; then :
19091
19092 else
19093   ac_cv_search_nanosleep=no
19094 fi
19095 rm conftest.$ac_ext
19096 LIBS=$ac_func_search_save_LIBS
19097 fi
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19099 $as_echo "$ac_cv_search_nanosleep" >&6; }
19100 ac_res=$ac_cv_search_nanosleep
19101 if test "$ac_res" != no; then :
19102   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19103
19104 fi
19105
19106     fi
19107
19108     case "$ac_cv_search_clock_gettime" in
19109       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19110       ;;
19111     esac
19112     case "$ac_cv_search_nanosleep" in
19113       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19114       ;;
19115     esac
19116
19117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19118 $as_echo_n "checking for library containing sched_yield... " >&6; }
19119 if test "${ac_cv_search_sched_yield+set}" = set; then :
19120   $as_echo_n "(cached) " >&6
19121 else
19122   ac_func_search_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h.  */
19125
19126 /* Override any GCC internal prototype to avoid an error.
19127    Use char because int might match the return type of a GCC
19128    builtin and then its argument prototype would still apply.  */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char sched_yield ();
19133 int
19134 main ()
19135 {
19136 return sched_yield ();
19137   ;
19138   return 0;
19139 }
19140 _ACEOF
19141 for ac_lib in '' rt posix4; do
19142   if test -z "$ac_lib"; then
19143     ac_res="none required"
19144   else
19145     ac_res=-l$ac_lib
19146     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19147   fi
19148   if test x$gcc_no_link = xyes; then
19149   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19150 fi
19151 if ac_fn_cxx_try_link "$LINENO"; then :
19152   ac_cv_search_sched_yield=$ac_res
19153 fi
19154 rm -f core conftest.err conftest.$ac_objext \
19155     conftest$ac_exeext
19156   if test "${ac_cv_search_sched_yield+set}" = set; then :
19157   break
19158 fi
19159 done
19160 if test "${ac_cv_search_sched_yield+set}" = set; then :
19161
19162 else
19163   ac_cv_search_sched_yield=no
19164 fi
19165 rm conftest.$ac_ext
19166 LIBS=$ac_func_search_save_LIBS
19167 fi
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19169 $as_echo "$ac_cv_search_sched_yield" >&6; }
19170 ac_res=$ac_cv_search_sched_yield
19171 if test "$ac_res" != no; then :
19172   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19173
19174 fi
19175
19176
19177     case "$ac_cv_search_sched_yield" in
19178       -lposix4*)
19179       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19180
19181 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19182
19183       ;;
19184       -lrt*)
19185       if test x"$enable_libstdcxx_time" = x"rt"; then
19186         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19187
19188 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19189
19190       fi
19191       ;;
19192       *)
19193
19194 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19195
19196       ;;
19197     esac
19198
19199     for ac_header in unistd.h
19200 do :
19201   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19202 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19203   cat >>confdefs.h <<_ACEOF
19204 #define HAVE_UNISTD_H 1
19205 _ACEOF
19206  ac_has_unistd_h=yes
19207 else
19208   ac_has_unistd_h=no
19209 fi
19210
19211 done
19212
19213
19214     if test x"$ac_has_unistd_h" = x"yes"; then
19215       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19216 $as_echo_n "checking for monotonic clock... " >&6; }
19217       if test x$gcc_no_link = xyes; then
19218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19219 fi
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h.  */
19222 #include <unistd.h>
19223          #include <time.h>
19224
19225 int
19226 main ()
19227 {
19228 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19229           timespec tp;
19230          #endif
19231           clock_gettime(CLOCK_MONOTONIC, &tp);
19232
19233   ;
19234   return 0;
19235 }
19236 _ACEOF
19237 if ac_fn_cxx_try_link "$LINENO"; then :
19238   ac_has_clock_monotonic=yes
19239 else
19240   ac_has_clock_monotonic=no
19241 fi
19242 rm -f core conftest.err conftest.$ac_objext \
19243     conftest$ac_exeext conftest.$ac_ext
19244
19245       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19246 $as_echo "$ac_has_clock_monotonic" >&6; }
19247
19248       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19249 $as_echo_n "checking for realtime clock... " >&6; }
19250       if test x$gcc_no_link = xyes; then
19251   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19252 fi
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h.  */
19255 #include <unistd.h>
19256          #include <time.h>
19257
19258 int
19259 main ()
19260 {
19261 #if _POSIX_TIMERS > 0
19262           timespec tp;
19263          #endif
19264           clock_gettime(CLOCK_REALTIME, &tp);
19265
19266   ;
19267   return 0;
19268 }
19269 _ACEOF
19270 if ac_fn_cxx_try_link "$LINENO"; then :
19271   ac_has_clock_realtime=yes
19272 else
19273   ac_has_clock_realtime=no
19274 fi
19275 rm -f core conftest.err conftest.$ac_objext \
19276     conftest$ac_exeext conftest.$ac_ext
19277
19278       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19279 $as_echo "$ac_has_clock_realtime" >&6; }
19280
19281       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19282 $as_echo_n "checking for nanosleep... " >&6; }
19283       if test x$gcc_no_link = xyes; then
19284   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19285 fi
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h.  */
19288 #include <unistd.h>
19289          #include <time.h>
19290
19291 int
19292 main ()
19293 {
19294 #if _POSIX_TIMERS > 0
19295           timespec tp;
19296          #endif
19297           nanosleep(&tp, 0);
19298
19299   ;
19300   return 0;
19301 }
19302 _ACEOF
19303 if ac_fn_cxx_try_link "$LINENO"; then :
19304   ac_has_nanosleep=yes
19305 else
19306   ac_has_nanosleep=no
19307 fi
19308 rm -f core conftest.err conftest.$ac_objext \
19309     conftest$ac_exeext conftest.$ac_ext
19310
19311       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19312 $as_echo "$ac_has_nanosleep" >&6; }
19313     fi
19314   fi
19315
19316   if test x"$ac_has_clock_monotonic" = x"yes"; then
19317
19318 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19319
19320   fi
19321
19322   if test x"$ac_has_clock_realtime" = x"yes"; then
19323
19324 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19325
19326   fi
19327
19328   if test x"$ac_has_nanosleep" = x"yes"; then
19329
19330 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19331
19332   fi
19333
19334
19335
19336   CXXFLAGS="$ac_save_CXXFLAGS"
19337   LIBS="$ac_save_LIBS"
19338   ac_ext=c
19339 ac_cpp='$CPP $CPPFLAGS'
19340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19343
19344
19345
19346 # For gthread support
19347
19348
19349   ac_ext=cpp
19350 ac_cpp='$CXXCPP $CPPFLAGS'
19351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19354
19355
19356   ac_save_CXXFLAGS="$CXXFLAGS"
19357   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19358
19359   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19360   case $target_thread_file in
19361     posix)
19362       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19363   esac
19364
19365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19366 $as_echo_n "checking for gthreads library... " >&6; }
19367
19368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h.  */
19370 #include "gthr.h"
19371 int
19372 main ()
19373 {
19374
19375       #ifndef __GTHREADS_CXX0X
19376       #error
19377       #endif
19378
19379       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19380       #if (defined(_PTHREADS) \
19381            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19382       #error
19383       #endif
19384
19385   ;
19386   return 0;
19387 }
19388 _ACEOF
19389 if ac_fn_cxx_try_compile "$LINENO"; then :
19390   ac_has_gthreads=yes
19391 else
19392   ac_has_gthreads=no
19393 fi
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395
19396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19397 $as_echo "$ac_has_gthreads" >&6; }
19398
19399   if test x"$ac_has_gthreads" = x"yes"; then
19400
19401 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19402
19403   fi
19404
19405   CXXFLAGS="$ac_save_CXXFLAGS"
19406   ac_ext=c
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19411
19412
19413
19414
19415   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19416 if test "x$ac_cv_header_locale_h" = x""yes; then :
19417
19418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19419 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19420 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19421   $as_echo_n "(cached) " >&6
19422 else
19423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h.  */
19425 #include <locale.h>
19426 int
19427 main ()
19428 {
19429 return LC_MESSAGES
19430   ;
19431   return 0;
19432 }
19433 _ACEOF
19434 if ac_fn_c_try_compile "$LINENO"; then :
19435   ac_cv_val_LC_MESSAGES=yes
19436 else
19437   ac_cv_val_LC_MESSAGES=no
19438 fi
19439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 fi
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19442 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19443     if test $ac_cv_val_LC_MESSAGES = yes; then
19444
19445 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19446
19447     fi
19448
19449 fi
19450
19451
19452
19453
19454 # Check for available headers.
19455 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19456 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19457 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19458 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19459 wchar.h wctype.h
19460 do :
19461   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19462 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19463 eval as_val=\$$as_ac_Header
19464    if test "x$as_val" = x""yes; then :
19465   cat >>confdefs.h <<_ACEOF
19466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19467 _ACEOF
19468
19469 fi
19470
19471 done
19472
19473
19474 # Only do link tests if native. Else, hardcode.
19475 if $GLIBCXX_IS_NATIVE; then
19476
19477   # We can do more elaborate tests that assume a working linker.
19478   CANADIAN=no
19479
19480
19481
19482 # Check whether --with-gnu-ld was given.
19483 if test "${with_gnu_ld+set}" = set; then :
19484   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19485 else
19486   with_gnu_ld=no
19487 fi
19488
19489 ac_prog=ld
19490 if test "$GCC" = yes; then
19491   # Check if gcc -print-prog-name=ld gives a path.
19492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19493 $as_echo_n "checking for ld used by $CC... " >&6; }
19494   case $host in
19495   *-*-mingw*)
19496     # gcc leaves a trailing carriage return which upsets mingw
19497     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19498   *)
19499     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19500   esac
19501   case $ac_prog in
19502     # Accept absolute paths.
19503     [\\/]* | ?:[\\/]*)
19504       re_direlt='/[^/][^/]*/\.\./'
19505       # Canonicalize the pathname of ld
19506       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19507       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19508         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19509       done
19510       test -z "$LD" && LD="$ac_prog"
19511       ;;
19512   "")
19513     # If it fails, then pretend we aren't using GCC.
19514     ac_prog=ld
19515     ;;
19516   *)
19517     # If it is relative, then search for the first ld in PATH.
19518     with_gnu_ld=unknown
19519     ;;
19520   esac
19521 elif test "$with_gnu_ld" = yes; then
19522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19523 $as_echo_n "checking for GNU ld... " >&6; }
19524 else
19525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19526 $as_echo_n "checking for non-GNU ld... " >&6; }
19527 fi
19528 if test "${lt_cv_path_LD+set}" = set; then :
19529   $as_echo_n "(cached) " >&6
19530 else
19531   if test -z "$LD"; then
19532   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19533   for ac_dir in $PATH; do
19534     IFS="$lt_save_ifs"
19535     test -z "$ac_dir" && ac_dir=.
19536     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19537       lt_cv_path_LD="$ac_dir/$ac_prog"
19538       # Check to see if the program is GNU ld.  I'd rather use --version,
19539       # but apparently some variants of GNU ld only accept -v.
19540       # Break only if it was the GNU/non-GNU ld that we prefer.
19541       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19542       *GNU* | *'with BFD'*)
19543         test "$with_gnu_ld" != no && break
19544         ;;
19545       *)
19546         test "$with_gnu_ld" != yes && break
19547         ;;
19548       esac
19549     fi
19550   done
19551   IFS="$lt_save_ifs"
19552 else
19553   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19554 fi
19555 fi
19556
19557 LD="$lt_cv_path_LD"
19558 if test -n "$LD"; then
19559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19560 $as_echo "$LD" >&6; }
19561 else
19562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19563 $as_echo "no" >&6; }
19564 fi
19565 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19567 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19568 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19569   $as_echo_n "(cached) " >&6
19570 else
19571   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19572 case `$LD -v 2>&1 </dev/null` in
19573 *GNU* | *'with BFD'*)
19574   lt_cv_prog_gnu_ld=yes
19575   ;;
19576 *)
19577   lt_cv_prog_gnu_ld=no
19578   ;;
19579 esac
19580 fi
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19582 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19583 with_gnu_ld=$lt_cv_prog_gnu_ld
19584
19585
19586
19587
19588
19589
19590
19591   # If we're not using GNU ld, then there's no point in even trying these
19592   # tests.  Check for that first.  We should have already tested for gld
19593   # by now (in libtool), but require it now just to be safe...
19594   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19595   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19596
19597
19598
19599   # The name set by libtool depends on the version of libtool.  Shame on us
19600   # for depending on an impl detail, but c'est la vie.  Older versions used
19601   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19602   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19603   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19604   # set (hence we're using an older libtool), then set it.
19605   if test x${with_gnu_ld+set} != xset; then
19606     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19607       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19608       with_gnu_ld=no
19609     else
19610       with_gnu_ld=$ac_cv_prog_gnu_ld
19611     fi
19612   fi
19613
19614   # Start by getting the version number.  I think the libtool test already
19615   # does some of this, but throws away the result.
19616   glibcxx_ld_is_gold=no
19617   if test x"$with_gnu_ld" = x"yes"; then
19618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19619 $as_echo_n "checking for ld version... " >&6; }
19620
19621     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19622       glibcxx_ld_is_gold=yes
19623     fi
19624     ldver=`$LD --version 2>/dev/null |
19625            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'`
19626
19627     glibcxx_gnu_ld_version=`echo $ldver | \
19628            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19630 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19631   fi
19632
19633   # Set --gc-sections.
19634   glibcxx_have_gc_sections=no
19635   if test "$glibcxx_ld_is_gold" = "yes"; then
19636     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19637       glibcxx_have_gc_sections=yes
19638     fi
19639   else
19640     glibcxx_gcsections_min_ld=21602
19641     if test x"$with_gnu_ld" = x"yes" &&
19642         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19643       glibcxx_have_gc_sections=yes
19644     fi
19645   fi
19646   if test "$glibcxx_have_gc_sections" = "yes"; then
19647     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19648     # NB: This flag only works reliably after 2.16.1. Configure tests
19649     # for this are difficult, so hard wire a value that should work.
19650
19651     ac_test_CFLAGS="${CFLAGS+set}"
19652     ac_save_CFLAGS="$CFLAGS"
19653     CFLAGS='-Wl,--gc-sections'
19654
19655     # Check for -Wl,--gc-sections
19656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19657 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19658     if test x$gcc_no_link = xyes; then
19659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19660 fi
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h.  */
19663  int one(void) { return 1; }
19664      int two(void) { return 2; }
19665
19666 int
19667 main ()
19668 {
19669  two();
19670   ;
19671   return 0;
19672 }
19673 _ACEOF
19674 if ac_fn_c_try_link "$LINENO"; then :
19675   ac_gcsections=yes
19676 else
19677   ac_gcsections=no
19678 fi
19679 rm -f core conftest.err conftest.$ac_objext \
19680     conftest$ac_exeext conftest.$ac_ext
19681     if test "$ac_gcsections" = "yes"; then
19682       rm -f conftest.c
19683       touch conftest.c
19684       if $CC -c conftest.c; then
19685         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19686            grep "Warning: gc-sections option ignored" > /dev/null; then
19687           ac_gcsections=no
19688         fi
19689       fi
19690       rm -f conftest.c conftest.o conftest
19691     fi
19692     if test "$ac_gcsections" = "yes"; then
19693       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19694     fi
19695     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19696 $as_echo "$ac_gcsections" >&6; }
19697
19698     if test "$ac_test_CFLAGS" = set; then
19699       CFLAGS="$ac_save_CFLAGS"
19700     else
19701       # this is the suspicious part
19702       CFLAGS=''
19703     fi
19704   fi
19705
19706   # Set -z,relro.
19707   # Note this is only for shared objects.
19708   ac_ld_relro=no
19709   if test x"$with_gnu_ld" = x"yes"; then
19710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19711 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19712     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19713     if test -n "$cxx_z_relo"; then
19714       OPT_LDFLAGS="-Wl,-z,relro"
19715       ac_ld_relro=yes
19716     fi
19717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19718 $as_echo "$ac_ld_relro" >&6; }
19719   fi
19720
19721   # Set linker optimization flags.
19722   if test x"$with_gnu_ld" = x"yes"; then
19723     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19724   fi
19725
19726
19727
19728
19729
19730   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19731   ac_save_CXXFLAGS="$CXXFLAGS"
19732   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19733
19734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19735 $as_echo_n "checking for sin in -lm... " >&6; }
19736 if test "${ac_cv_lib_m_sin+set}" = set; then :
19737   $as_echo_n "(cached) " >&6
19738 else
19739   ac_check_lib_save_LIBS=$LIBS
19740 LIBS="-lm  $LIBS"
19741 if test x$gcc_no_link = xyes; then
19742   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19743 fi
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h.  */
19746
19747 /* Override any GCC internal prototype to avoid an error.
19748    Use char because int might match the return type of a GCC
19749    builtin and then its argument prototype would still apply.  */
19750 #ifdef __cplusplus
19751 extern "C"
19752 #endif
19753 char sin ();
19754 int
19755 main ()
19756 {
19757 return sin ();
19758   ;
19759   return 0;
19760 }
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"; then :
19763   ac_cv_lib_m_sin=yes
19764 else
19765   ac_cv_lib_m_sin=no
19766 fi
19767 rm -f core conftest.err conftest.$ac_objext \
19768     conftest$ac_exeext conftest.$ac_ext
19769 LIBS=$ac_check_lib_save_LIBS
19770 fi
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19772 $as_echo "$ac_cv_lib_m_sin" >&6; }
19773 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19774   libm="-lm"
19775 fi
19776
19777   ac_save_LIBS="$LIBS"
19778   LIBS="$LIBS $libm"
19779
19780
19781
19782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19783 $as_echo_n "checking for isinf declaration... " >&6; }
19784   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19785     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19786   $as_echo_n "(cached) " >&6
19787 else
19788
19789
19790       ac_ext=cpp
19791 ac_cpp='$CXXCPP $CPPFLAGS'
19792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19795
19796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19797 /* end confdefs.h.  */
19798 #include <math.h>
19799                       #ifdef HAVE_IEEEFP_H
19800                       #include <ieeefp.h>
19801                       #endif
19802
19803 int
19804 main ()
19805 {
19806  isinf(0);
19807   ;
19808   return 0;
19809 }
19810 _ACEOF
19811 if ac_fn_cxx_try_compile "$LINENO"; then :
19812   glibcxx_cv_func_isinf_use=yes
19813 else
19814   glibcxx_cv_func_isinf_use=no
19815 fi
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817       ac_ext=c
19818 ac_cpp='$CPP $CPPFLAGS'
19819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19822
19823
19824 fi
19825
19826   fi
19827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19828 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19829
19830   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19831     for ac_func in isinf
19832 do :
19833   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19834 if test "x$ac_cv_func_isinf" = x""yes; then :
19835   cat >>confdefs.h <<_ACEOF
19836 #define HAVE_ISINF 1
19837 _ACEOF
19838
19839 fi
19840 done
19841
19842   else
19843
19844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19845 $as_echo_n "checking for _isinf declaration... " >&6; }
19846   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19847     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19848   $as_echo_n "(cached) " >&6
19849 else
19850
19851
19852       ac_ext=cpp
19853 ac_cpp='$CXXCPP $CPPFLAGS'
19854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19857
19858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h.  */
19860 #include <math.h>
19861                       #ifdef HAVE_IEEEFP_H
19862                       #include <ieeefp.h>
19863                       #endif
19864
19865 int
19866 main ()
19867 {
19868  _isinf(0);
19869   ;
19870   return 0;
19871 }
19872 _ACEOF
19873 if ac_fn_cxx_try_compile "$LINENO"; then :
19874   glibcxx_cv_func__isinf_use=yes
19875 else
19876   glibcxx_cv_func__isinf_use=no
19877 fi
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879       ac_ext=c
19880 ac_cpp='$CPP $CPPFLAGS'
19881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19884
19885
19886 fi
19887
19888   fi
19889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19890 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19891
19892     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19893       for ac_func in _isinf
19894 do :
19895   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19896 if test "x$ac_cv_func__isinf" = x""yes; then :
19897   cat >>confdefs.h <<_ACEOF
19898 #define HAVE__ISINF 1
19899 _ACEOF
19900
19901 fi
19902 done
19903
19904     fi
19905   fi
19906
19907
19908
19909
19910
19911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19912 $as_echo_n "checking for isnan declaration... " >&6; }
19913   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19914     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19915   $as_echo_n "(cached) " >&6
19916 else
19917
19918
19919       ac_ext=cpp
19920 ac_cpp='$CXXCPP $CPPFLAGS'
19921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19924
19925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h.  */
19927 #include <math.h>
19928                       #ifdef HAVE_IEEEFP_H
19929                       #include <ieeefp.h>
19930                       #endif
19931
19932 int
19933 main ()
19934 {
19935  isnan(0);
19936   ;
19937   return 0;
19938 }
19939 _ACEOF
19940 if ac_fn_cxx_try_compile "$LINENO"; then :
19941   glibcxx_cv_func_isnan_use=yes
19942 else
19943   glibcxx_cv_func_isnan_use=no
19944 fi
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19946       ac_ext=c
19947 ac_cpp='$CPP $CPPFLAGS'
19948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19951
19952
19953 fi
19954
19955   fi
19956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19957 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19958
19959   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19960     for ac_func in isnan
19961 do :
19962   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19963 if test "x$ac_cv_func_isnan" = x""yes; then :
19964   cat >>confdefs.h <<_ACEOF
19965 #define HAVE_ISNAN 1
19966 _ACEOF
19967
19968 fi
19969 done
19970
19971   else
19972
19973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19974 $as_echo_n "checking for _isnan declaration... " >&6; }
19975   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19976     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19977   $as_echo_n "(cached) " >&6
19978 else
19979
19980
19981       ac_ext=cpp
19982 ac_cpp='$CXXCPP $CPPFLAGS'
19983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19986
19987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h.  */
19989 #include <math.h>
19990                       #ifdef HAVE_IEEEFP_H
19991                       #include <ieeefp.h>
19992                       #endif
19993
19994 int
19995 main ()
19996 {
19997  _isnan(0);
19998   ;
19999   return 0;
20000 }
20001 _ACEOF
20002 if ac_fn_cxx_try_compile "$LINENO"; then :
20003   glibcxx_cv_func__isnan_use=yes
20004 else
20005   glibcxx_cv_func__isnan_use=no
20006 fi
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20008       ac_ext=c
20009 ac_cpp='$CPP $CPPFLAGS'
20010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20013
20014
20015 fi
20016
20017   fi
20018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20019 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20020
20021     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20022       for ac_func in _isnan
20023 do :
20024   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20025 if test "x$ac_cv_func__isnan" = x""yes; then :
20026   cat >>confdefs.h <<_ACEOF
20027 #define HAVE__ISNAN 1
20028 _ACEOF
20029
20030 fi
20031 done
20032
20033     fi
20034   fi
20035
20036
20037
20038
20039
20040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20041 $as_echo_n "checking for finite declaration... " >&6; }
20042   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20043     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20044   $as_echo_n "(cached) " >&6
20045 else
20046
20047
20048       ac_ext=cpp
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20053
20054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h.  */
20056 #include <math.h>
20057                       #ifdef HAVE_IEEEFP_H
20058                       #include <ieeefp.h>
20059                       #endif
20060
20061 int
20062 main ()
20063 {
20064  finite(0);
20065   ;
20066   return 0;
20067 }
20068 _ACEOF
20069 if ac_fn_cxx_try_compile "$LINENO"; then :
20070   glibcxx_cv_func_finite_use=yes
20071 else
20072   glibcxx_cv_func_finite_use=no
20073 fi
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075       ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081
20082 fi
20083
20084   fi
20085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20086 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20087
20088   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20089     for ac_func in finite
20090 do :
20091   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20092 if test "x$ac_cv_func_finite" = x""yes; then :
20093   cat >>confdefs.h <<_ACEOF
20094 #define HAVE_FINITE 1
20095 _ACEOF
20096
20097 fi
20098 done
20099
20100   else
20101
20102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20103 $as_echo_n "checking for _finite declaration... " >&6; }
20104   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20105     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20106   $as_echo_n "(cached) " >&6
20107 else
20108
20109
20110       ac_ext=cpp
20111 ac_cpp='$CXXCPP $CPPFLAGS'
20112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20115
20116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h.  */
20118 #include <math.h>
20119                       #ifdef HAVE_IEEEFP_H
20120                       #include <ieeefp.h>
20121                       #endif
20122
20123 int
20124 main ()
20125 {
20126  _finite(0);
20127   ;
20128   return 0;
20129 }
20130 _ACEOF
20131 if ac_fn_cxx_try_compile "$LINENO"; then :
20132   glibcxx_cv_func__finite_use=yes
20133 else
20134   glibcxx_cv_func__finite_use=no
20135 fi
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137       ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20142
20143
20144 fi
20145
20146   fi
20147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20148 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20149
20150     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20151       for ac_func in _finite
20152 do :
20153   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20154 if test "x$ac_cv_func__finite" = x""yes; then :
20155   cat >>confdefs.h <<_ACEOF
20156 #define HAVE__FINITE 1
20157 _ACEOF
20158
20159 fi
20160 done
20161
20162     fi
20163   fi
20164
20165
20166
20167
20168
20169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20170 $as_echo_n "checking for sincos declaration... " >&6; }
20171   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20172     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20173   $as_echo_n "(cached) " >&6
20174 else
20175
20176
20177       ac_ext=cpp
20178 ac_cpp='$CXXCPP $CPPFLAGS'
20179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20182
20183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h.  */
20185 #include <math.h>
20186 int
20187 main ()
20188 {
20189  sincos(0, 0, 0);
20190   ;
20191   return 0;
20192 }
20193 _ACEOF
20194 if ac_fn_cxx_try_compile "$LINENO"; then :
20195   glibcxx_cv_func_sincos_use=yes
20196 else
20197   glibcxx_cv_func_sincos_use=no
20198 fi
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200       ac_ext=c
20201 ac_cpp='$CPP $CPPFLAGS'
20202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20205
20206
20207 fi
20208
20209   fi
20210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20211 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20212
20213   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20214     for ac_func in sincos
20215 do :
20216   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20217 if test "x$ac_cv_func_sincos" = x""yes; then :
20218   cat >>confdefs.h <<_ACEOF
20219 #define HAVE_SINCOS 1
20220 _ACEOF
20221
20222 fi
20223 done
20224
20225   else
20226
20227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20228 $as_echo_n "checking for _sincos declaration... " >&6; }
20229   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20230     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20231   $as_echo_n "(cached) " >&6
20232 else
20233
20234
20235       ac_ext=cpp
20236 ac_cpp='$CXXCPP $CPPFLAGS'
20237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20240
20241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h.  */
20243 #include <math.h>
20244 int
20245 main ()
20246 {
20247  _sincos(0, 0, 0);
20248   ;
20249   return 0;
20250 }
20251 _ACEOF
20252 if ac_fn_cxx_try_compile "$LINENO"; then :
20253   glibcxx_cv_func__sincos_use=yes
20254 else
20255   glibcxx_cv_func__sincos_use=no
20256 fi
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258       ac_ext=c
20259 ac_cpp='$CPP $CPPFLAGS'
20260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20263
20264
20265 fi
20266
20267   fi
20268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20269 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20270
20271     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20272       for ac_func in _sincos
20273 do :
20274   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20275 if test "x$ac_cv_func__sincos" = x""yes; then :
20276   cat >>confdefs.h <<_ACEOF
20277 #define HAVE__SINCOS 1
20278 _ACEOF
20279
20280 fi
20281 done
20282
20283     fi
20284   fi
20285
20286
20287
20288
20289
20290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20291 $as_echo_n "checking for fpclass declaration... " >&6; }
20292   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20293     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20294   $as_echo_n "(cached) " >&6
20295 else
20296
20297
20298       ac_ext=cpp
20299 ac_cpp='$CXXCPP $CPPFLAGS'
20300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20303
20304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h.  */
20306 #include <math.h>
20307                       #ifdef HAVE_IEEEFP_H
20308                       #include <ieeefp.h>
20309                       #endif
20310
20311 int
20312 main ()
20313 {
20314  fpclass(0);
20315   ;
20316   return 0;
20317 }
20318 _ACEOF
20319 if ac_fn_cxx_try_compile "$LINENO"; then :
20320   glibcxx_cv_func_fpclass_use=yes
20321 else
20322   glibcxx_cv_func_fpclass_use=no
20323 fi
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325       ac_ext=c
20326 ac_cpp='$CPP $CPPFLAGS'
20327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330
20331
20332 fi
20333
20334   fi
20335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20336 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20337
20338   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20339     for ac_func in fpclass
20340 do :
20341   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20342 if test "x$ac_cv_func_fpclass" = x""yes; then :
20343   cat >>confdefs.h <<_ACEOF
20344 #define HAVE_FPCLASS 1
20345 _ACEOF
20346
20347 fi
20348 done
20349
20350   else
20351
20352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20353 $as_echo_n "checking for _fpclass declaration... " >&6; }
20354   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20355     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20356   $as_echo_n "(cached) " >&6
20357 else
20358
20359
20360       ac_ext=cpp
20361 ac_cpp='$CXXCPP $CPPFLAGS'
20362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20365
20366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20367 /* end confdefs.h.  */
20368 #include <math.h>
20369                       #ifdef HAVE_IEEEFP_H
20370                       #include <ieeefp.h>
20371                       #endif
20372
20373 int
20374 main ()
20375 {
20376  _fpclass(0);
20377   ;
20378   return 0;
20379 }
20380 _ACEOF
20381 if ac_fn_cxx_try_compile "$LINENO"; then :
20382   glibcxx_cv_func__fpclass_use=yes
20383 else
20384   glibcxx_cv_func__fpclass_use=no
20385 fi
20386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20387       ac_ext=c
20388 ac_cpp='$CPP $CPPFLAGS'
20389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20392
20393
20394 fi
20395
20396   fi
20397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20398 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20399
20400     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20401       for ac_func in _fpclass
20402 do :
20403   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20404 if test "x$ac_cv_func__fpclass" = x""yes; then :
20405   cat >>confdefs.h <<_ACEOF
20406 #define HAVE__FPCLASS 1
20407 _ACEOF
20408
20409 fi
20410 done
20411
20412     fi
20413   fi
20414
20415
20416
20417
20418
20419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20420 $as_echo_n "checking for qfpclass declaration... " >&6; }
20421   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20422     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20423   $as_echo_n "(cached) " >&6
20424 else
20425
20426
20427       ac_ext=cpp
20428 ac_cpp='$CXXCPP $CPPFLAGS'
20429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20432
20433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h.  */
20435 #include <math.h>
20436                       #ifdef HAVE_IEEEFP_H
20437                       #include <ieeefp.h>
20438                       #endif
20439
20440 int
20441 main ()
20442 {
20443  qfpclass(0);
20444   ;
20445   return 0;
20446 }
20447 _ACEOF
20448 if ac_fn_cxx_try_compile "$LINENO"; then :
20449   glibcxx_cv_func_qfpclass_use=yes
20450 else
20451   glibcxx_cv_func_qfpclass_use=no
20452 fi
20453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20454       ac_ext=c
20455 ac_cpp='$CPP $CPPFLAGS'
20456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20459
20460
20461 fi
20462
20463   fi
20464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20465 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20466
20467   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20468     for ac_func in qfpclass
20469 do :
20470   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20471 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20472   cat >>confdefs.h <<_ACEOF
20473 #define HAVE_QFPCLASS 1
20474 _ACEOF
20475
20476 fi
20477 done
20478
20479   else
20480
20481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20482 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20483   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20484     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20485   $as_echo_n "(cached) " >&6
20486 else
20487
20488
20489       ac_ext=cpp
20490 ac_cpp='$CXXCPP $CPPFLAGS'
20491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20494
20495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20496 /* end confdefs.h.  */
20497 #include <math.h>
20498                       #ifdef HAVE_IEEEFP_H
20499                       #include <ieeefp.h>
20500                       #endif
20501
20502 int
20503 main ()
20504 {
20505  _qfpclass(0);
20506   ;
20507   return 0;
20508 }
20509 _ACEOF
20510 if ac_fn_cxx_try_compile "$LINENO"; then :
20511   glibcxx_cv_func__qfpclass_use=yes
20512 else
20513   glibcxx_cv_func__qfpclass_use=no
20514 fi
20515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20516       ac_ext=c
20517 ac_cpp='$CPP $CPPFLAGS'
20518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20521
20522
20523 fi
20524
20525   fi
20526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20527 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20528
20529     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20530       for ac_func in _qfpclass
20531 do :
20532   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20533 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20534   cat >>confdefs.h <<_ACEOF
20535 #define HAVE__QFPCLASS 1
20536 _ACEOF
20537
20538 fi
20539 done
20540
20541     fi
20542   fi
20543
20544
20545
20546
20547
20548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20549 $as_echo_n "checking for hypot declaration... " >&6; }
20550   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20551     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20552   $as_echo_n "(cached) " >&6
20553 else
20554
20555
20556       ac_ext=cpp
20557 ac_cpp='$CXXCPP $CPPFLAGS'
20558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20561
20562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h.  */
20564 #include <math.h>
20565 int
20566 main ()
20567 {
20568  hypot(0, 0);
20569   ;
20570   return 0;
20571 }
20572 _ACEOF
20573 if ac_fn_cxx_try_compile "$LINENO"; then :
20574   glibcxx_cv_func_hypot_use=yes
20575 else
20576   glibcxx_cv_func_hypot_use=no
20577 fi
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20579       ac_ext=c
20580 ac_cpp='$CPP $CPPFLAGS'
20581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20584
20585
20586 fi
20587
20588   fi
20589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20590 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20591
20592   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20593     for ac_func in hypot
20594 do :
20595   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20596 if test "x$ac_cv_func_hypot" = x""yes; then :
20597   cat >>confdefs.h <<_ACEOF
20598 #define HAVE_HYPOT 1
20599 _ACEOF
20600
20601 fi
20602 done
20603
20604   else
20605
20606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20607 $as_echo_n "checking for _hypot declaration... " >&6; }
20608   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20609     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20610   $as_echo_n "(cached) " >&6
20611 else
20612
20613
20614       ac_ext=cpp
20615 ac_cpp='$CXXCPP $CPPFLAGS'
20616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20619
20620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20621 /* end confdefs.h.  */
20622 #include <math.h>
20623 int
20624 main ()
20625 {
20626  _hypot(0, 0);
20627   ;
20628   return 0;
20629 }
20630 _ACEOF
20631 if ac_fn_cxx_try_compile "$LINENO"; then :
20632   glibcxx_cv_func__hypot_use=yes
20633 else
20634   glibcxx_cv_func__hypot_use=no
20635 fi
20636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20637       ac_ext=c
20638 ac_cpp='$CPP $CPPFLAGS'
20639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20642
20643
20644 fi
20645
20646   fi
20647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20648 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20649
20650     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20651       for ac_func in _hypot
20652 do :
20653   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20654 if test "x$ac_cv_func__hypot" = x""yes; then :
20655   cat >>confdefs.h <<_ACEOF
20656 #define HAVE__HYPOT 1
20657 _ACEOF
20658
20659 fi
20660 done
20661
20662     fi
20663   fi
20664
20665
20666
20667
20668
20669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20670 $as_echo_n "checking for float trig functions... " >&6; }
20671   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20672   $as_echo_n "(cached) " >&6
20673 else
20674
20675
20676     ac_ext=cpp
20677 ac_cpp='$CXXCPP $CPPFLAGS'
20678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20681
20682     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h.  */
20684 #include <math.h>
20685 int
20686 main ()
20687 {
20688 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20689   ;
20690   return 0;
20691 }
20692 _ACEOF
20693 if ac_fn_cxx_try_compile "$LINENO"; then :
20694   glibcxx_cv_func_float_trig_use=yes
20695 else
20696   glibcxx_cv_func_float_trig_use=no
20697 fi
20698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20699     ac_ext=c
20700 ac_cpp='$CPP $CPPFLAGS'
20701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20704
20705 fi
20706
20707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20708 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20709   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20710     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20711 do :
20712   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20714 eval as_val=\$$as_ac_var
20715    if test "x$as_val" = x""yes; then :
20716   cat >>confdefs.h <<_ACEOF
20717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20718 _ACEOF
20719
20720 fi
20721 done
20722
20723   else
20724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20725 $as_echo_n "checking for _float trig functions... " >&6; }
20726     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20727   $as_echo_n "(cached) " >&6
20728 else
20729
20730
20731       ac_ext=cpp
20732 ac_cpp='$CXXCPP $CPPFLAGS'
20733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20736
20737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h.  */
20739 #include <math.h>
20740 int
20741 main ()
20742 {
20743 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20744   ;
20745   return 0;
20746 }
20747 _ACEOF
20748 if ac_fn_cxx_try_compile "$LINENO"; then :
20749   glibcxx_cv_func__float_trig_use=yes
20750 else
20751   glibcxx_cv_func__float_trig_use=no
20752 fi
20753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20754       ac_ext=c
20755 ac_cpp='$CPP $CPPFLAGS'
20756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20759
20760 fi
20761
20762     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20763 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20764     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20765       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20766 do :
20767   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20769 eval as_val=\$$as_ac_var
20770    if test "x$as_val" = x""yes; then :
20771   cat >>confdefs.h <<_ACEOF
20772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20773 _ACEOF
20774
20775 fi
20776 done
20777
20778     fi
20779   fi
20780
20781
20782
20783
20784
20785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20786 $as_echo_n "checking for float round functions... " >&6; }
20787   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20788   $as_echo_n "(cached) " >&6
20789 else
20790
20791
20792     ac_ext=cpp
20793 ac_cpp='$CXXCPP $CPPFLAGS'
20794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20797
20798     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h.  */
20800 #include <math.h>
20801 int
20802 main ()
20803 {
20804 ceilf (0); floorf (0);
20805   ;
20806   return 0;
20807 }
20808 _ACEOF
20809 if ac_fn_cxx_try_compile "$LINENO"; then :
20810   glibcxx_cv_func_float_round_use=yes
20811 else
20812   glibcxx_cv_func_float_round_use=no
20813 fi
20814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20815     ac_ext=c
20816 ac_cpp='$CPP $CPPFLAGS'
20817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20820
20821 fi
20822
20823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20824 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20825   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20826     for ac_func in ceilf floorf
20827 do :
20828   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20830 eval as_val=\$$as_ac_var
20831    if test "x$as_val" = x""yes; then :
20832   cat >>confdefs.h <<_ACEOF
20833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20834 _ACEOF
20835
20836 fi
20837 done
20838
20839   else
20840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20841 $as_echo_n "checking for _float round functions... " >&6; }
20842     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20843   $as_echo_n "(cached) " >&6
20844 else
20845
20846
20847       ac_ext=cpp
20848 ac_cpp='$CXXCPP $CPPFLAGS'
20849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20852
20853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h.  */
20855 #include <math.h>
20856 int
20857 main ()
20858 {
20859 _ceilf (0); _floorf (0);
20860   ;
20861   return 0;
20862 }
20863 _ACEOF
20864 if ac_fn_cxx_try_compile "$LINENO"; then :
20865   glibcxx_cv_func__float_round_use=yes
20866 else
20867   glibcxx_cv_func__float_round_use=no
20868 fi
20869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20870       ac_ext=c
20871 ac_cpp='$CPP $CPPFLAGS'
20872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20875
20876 fi
20877
20878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20879 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20880     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20881       for ac_func in _ceilf _floorf
20882 do :
20883   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20885 eval as_val=\$$as_ac_var
20886    if test "x$as_val" = x""yes; then :
20887   cat >>confdefs.h <<_ACEOF
20888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20889 _ACEOF
20890
20891 fi
20892 done
20893
20894     fi
20895   fi
20896
20897
20898
20899
20900
20901
20902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20903 $as_echo_n "checking for expf declaration... " >&6; }
20904   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20905     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20906   $as_echo_n "(cached) " >&6
20907 else
20908
20909
20910       ac_ext=cpp
20911 ac_cpp='$CXXCPP $CPPFLAGS'
20912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20915
20916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h.  */
20918 #include <math.h>
20919                       #ifdef HAVE_IEEEFP_H
20920                       #include <ieeefp.h>
20921                       #endif
20922
20923 int
20924 main ()
20925 {
20926  expf(0);
20927   ;
20928   return 0;
20929 }
20930 _ACEOF
20931 if ac_fn_cxx_try_compile "$LINENO"; then :
20932   glibcxx_cv_func_expf_use=yes
20933 else
20934   glibcxx_cv_func_expf_use=no
20935 fi
20936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937       ac_ext=c
20938 ac_cpp='$CPP $CPPFLAGS'
20939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20942
20943
20944 fi
20945
20946   fi
20947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20948 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20949
20950   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20951     for ac_func in expf
20952 do :
20953   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20954 if test "x$ac_cv_func_expf" = x""yes; then :
20955   cat >>confdefs.h <<_ACEOF
20956 #define HAVE_EXPF 1
20957 _ACEOF
20958
20959 fi
20960 done
20961
20962   else
20963
20964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20965 $as_echo_n "checking for _expf declaration... " >&6; }
20966   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20967     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20968   $as_echo_n "(cached) " >&6
20969 else
20970
20971
20972       ac_ext=cpp
20973 ac_cpp='$CXXCPP $CPPFLAGS'
20974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20977
20978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h.  */
20980 #include <math.h>
20981                       #ifdef HAVE_IEEEFP_H
20982                       #include <ieeefp.h>
20983                       #endif
20984
20985 int
20986 main ()
20987 {
20988  _expf(0);
20989   ;
20990   return 0;
20991 }
20992 _ACEOF
20993 if ac_fn_cxx_try_compile "$LINENO"; then :
20994   glibcxx_cv_func__expf_use=yes
20995 else
20996   glibcxx_cv_func__expf_use=no
20997 fi
20998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20999       ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21004
21005
21006 fi
21007
21008   fi
21009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21010 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21011
21012     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21013       for ac_func in _expf
21014 do :
21015   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21016 if test "x$ac_cv_func__expf" = x""yes; then :
21017   cat >>confdefs.h <<_ACEOF
21018 #define HAVE__EXPF 1
21019 _ACEOF
21020
21021 fi
21022 done
21023
21024     fi
21025   fi
21026
21027
21028
21029
21030
21031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21032 $as_echo_n "checking for isnanf declaration... " >&6; }
21033   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21034     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21035   $as_echo_n "(cached) " >&6
21036 else
21037
21038
21039       ac_ext=cpp
21040 ac_cpp='$CXXCPP $CPPFLAGS'
21041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044
21045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h.  */
21047 #include <math.h>
21048                       #ifdef HAVE_IEEEFP_H
21049                       #include <ieeefp.h>
21050                       #endif
21051
21052 int
21053 main ()
21054 {
21055  isnanf(0);
21056   ;
21057   return 0;
21058 }
21059 _ACEOF
21060 if ac_fn_cxx_try_compile "$LINENO"; then :
21061   glibcxx_cv_func_isnanf_use=yes
21062 else
21063   glibcxx_cv_func_isnanf_use=no
21064 fi
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066       ac_ext=c
21067 ac_cpp='$CPP $CPPFLAGS'
21068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071
21072
21073 fi
21074
21075   fi
21076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21077 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21078
21079   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21080     for ac_func in isnanf
21081 do :
21082   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21083 if test "x$ac_cv_func_isnanf" = x""yes; then :
21084   cat >>confdefs.h <<_ACEOF
21085 #define HAVE_ISNANF 1
21086 _ACEOF
21087
21088 fi
21089 done
21090
21091   else
21092
21093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21094 $as_echo_n "checking for _isnanf declaration... " >&6; }
21095   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21096     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21097   $as_echo_n "(cached) " >&6
21098 else
21099
21100
21101       ac_ext=cpp
21102 ac_cpp='$CXXCPP $CPPFLAGS'
21103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21106
21107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21108 /* end confdefs.h.  */
21109 #include <math.h>
21110                       #ifdef HAVE_IEEEFP_H
21111                       #include <ieeefp.h>
21112                       #endif
21113
21114 int
21115 main ()
21116 {
21117  _isnanf(0);
21118   ;
21119   return 0;
21120 }
21121 _ACEOF
21122 if ac_fn_cxx_try_compile "$LINENO"; then :
21123   glibcxx_cv_func__isnanf_use=yes
21124 else
21125   glibcxx_cv_func__isnanf_use=no
21126 fi
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128       ac_ext=c
21129 ac_cpp='$CPP $CPPFLAGS'
21130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21133
21134
21135 fi
21136
21137   fi
21138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21139 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21140
21141     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21142       for ac_func in _isnanf
21143 do :
21144   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21145 if test "x$ac_cv_func__isnanf" = x""yes; then :
21146   cat >>confdefs.h <<_ACEOF
21147 #define HAVE__ISNANF 1
21148 _ACEOF
21149
21150 fi
21151 done
21152
21153     fi
21154   fi
21155
21156
21157
21158
21159
21160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21161 $as_echo_n "checking for isinff declaration... " >&6; }
21162   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21163     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21164   $as_echo_n "(cached) " >&6
21165 else
21166
21167
21168       ac_ext=cpp
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21173
21174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h.  */
21176 #include <math.h>
21177                       #ifdef HAVE_IEEEFP_H
21178                       #include <ieeefp.h>
21179                       #endif
21180
21181 int
21182 main ()
21183 {
21184  isinff(0);
21185   ;
21186   return 0;
21187 }
21188 _ACEOF
21189 if ac_fn_cxx_try_compile "$LINENO"; then :
21190   glibcxx_cv_func_isinff_use=yes
21191 else
21192   glibcxx_cv_func_isinff_use=no
21193 fi
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195       ac_ext=c
21196 ac_cpp='$CPP $CPPFLAGS'
21197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21200
21201
21202 fi
21203
21204   fi
21205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21206 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21207
21208   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21209     for ac_func in isinff
21210 do :
21211   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21212 if test "x$ac_cv_func_isinff" = x""yes; then :
21213   cat >>confdefs.h <<_ACEOF
21214 #define HAVE_ISINFF 1
21215 _ACEOF
21216
21217 fi
21218 done
21219
21220   else
21221
21222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21223 $as_echo_n "checking for _isinff declaration... " >&6; }
21224   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21225     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21226   $as_echo_n "(cached) " >&6
21227 else
21228
21229
21230       ac_ext=cpp
21231 ac_cpp='$CXXCPP $CPPFLAGS'
21232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21235
21236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h.  */
21238 #include <math.h>
21239                       #ifdef HAVE_IEEEFP_H
21240                       #include <ieeefp.h>
21241                       #endif
21242
21243 int
21244 main ()
21245 {
21246  _isinff(0);
21247   ;
21248   return 0;
21249 }
21250 _ACEOF
21251 if ac_fn_cxx_try_compile "$LINENO"; then :
21252   glibcxx_cv_func__isinff_use=yes
21253 else
21254   glibcxx_cv_func__isinff_use=no
21255 fi
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257       ac_ext=c
21258 ac_cpp='$CPP $CPPFLAGS'
21259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21262
21263
21264 fi
21265
21266   fi
21267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21268 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21269
21270     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21271       for ac_func in _isinff
21272 do :
21273   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21274 if test "x$ac_cv_func__isinff" = x""yes; then :
21275   cat >>confdefs.h <<_ACEOF
21276 #define HAVE__ISINFF 1
21277 _ACEOF
21278
21279 fi
21280 done
21281
21282     fi
21283   fi
21284
21285
21286
21287
21288
21289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21290 $as_echo_n "checking for atan2f declaration... " >&6; }
21291   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21292     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21293   $as_echo_n "(cached) " >&6
21294 else
21295
21296
21297       ac_ext=cpp
21298 ac_cpp='$CXXCPP $CPPFLAGS'
21299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21302
21303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h.  */
21305 #include <math.h>
21306 int
21307 main ()
21308 {
21309  atan2f(0, 0);
21310   ;
21311   return 0;
21312 }
21313 _ACEOF
21314 if ac_fn_cxx_try_compile "$LINENO"; then :
21315   glibcxx_cv_func_atan2f_use=yes
21316 else
21317   glibcxx_cv_func_atan2f_use=no
21318 fi
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320       ac_ext=c
21321 ac_cpp='$CPP $CPPFLAGS'
21322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21325
21326
21327 fi
21328
21329   fi
21330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21331 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21332
21333   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21334     for ac_func in atan2f
21335 do :
21336   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21337 if test "x$ac_cv_func_atan2f" = x""yes; then :
21338   cat >>confdefs.h <<_ACEOF
21339 #define HAVE_ATAN2F 1
21340 _ACEOF
21341
21342 fi
21343 done
21344
21345   else
21346
21347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21348 $as_echo_n "checking for _atan2f declaration... " >&6; }
21349   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21350     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21351   $as_echo_n "(cached) " >&6
21352 else
21353
21354
21355       ac_ext=cpp
21356 ac_cpp='$CXXCPP $CPPFLAGS'
21357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21360
21361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h.  */
21363 #include <math.h>
21364 int
21365 main ()
21366 {
21367  _atan2f(0, 0);
21368   ;
21369   return 0;
21370 }
21371 _ACEOF
21372 if ac_fn_cxx_try_compile "$LINENO"; then :
21373   glibcxx_cv_func__atan2f_use=yes
21374 else
21375   glibcxx_cv_func__atan2f_use=no
21376 fi
21377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21378       ac_ext=c
21379 ac_cpp='$CPP $CPPFLAGS'
21380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21383
21384
21385 fi
21386
21387   fi
21388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21389 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21390
21391     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21392       for ac_func in _atan2f
21393 do :
21394   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21395 if test "x$ac_cv_func__atan2f" = x""yes; then :
21396   cat >>confdefs.h <<_ACEOF
21397 #define HAVE__ATAN2F 1
21398 _ACEOF
21399
21400 fi
21401 done
21402
21403     fi
21404   fi
21405
21406
21407
21408
21409
21410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21411 $as_echo_n "checking for fabsf declaration... " >&6; }
21412   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21413     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21414   $as_echo_n "(cached) " >&6
21415 else
21416
21417
21418       ac_ext=cpp
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423
21424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21425 /* end confdefs.h.  */
21426 #include <math.h>
21427                       #ifdef HAVE_IEEEFP_H
21428                       #include <ieeefp.h>
21429                       #endif
21430
21431 int
21432 main ()
21433 {
21434  fabsf(0);
21435   ;
21436   return 0;
21437 }
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440   glibcxx_cv_func_fabsf_use=yes
21441 else
21442   glibcxx_cv_func_fabsf_use=no
21443 fi
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445       ac_ext=c
21446 ac_cpp='$CPP $CPPFLAGS'
21447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21450
21451
21452 fi
21453
21454   fi
21455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21456 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21457
21458   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21459     for ac_func in fabsf
21460 do :
21461   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21462 if test "x$ac_cv_func_fabsf" = x""yes; then :
21463   cat >>confdefs.h <<_ACEOF
21464 #define HAVE_FABSF 1
21465 _ACEOF
21466
21467 fi
21468 done
21469
21470   else
21471
21472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21473 $as_echo_n "checking for _fabsf declaration... " >&6; }
21474   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21475     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21476   $as_echo_n "(cached) " >&6
21477 else
21478
21479
21480       ac_ext=cpp
21481 ac_cpp='$CXXCPP $CPPFLAGS'
21482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21485
21486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21487 /* end confdefs.h.  */
21488 #include <math.h>
21489                       #ifdef HAVE_IEEEFP_H
21490                       #include <ieeefp.h>
21491                       #endif
21492
21493 int
21494 main ()
21495 {
21496  _fabsf(0);
21497   ;
21498   return 0;
21499 }
21500 _ACEOF
21501 if ac_fn_cxx_try_compile "$LINENO"; then :
21502   glibcxx_cv_func__fabsf_use=yes
21503 else
21504   glibcxx_cv_func__fabsf_use=no
21505 fi
21506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21507       ac_ext=c
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21512
21513
21514 fi
21515
21516   fi
21517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21518 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21519
21520     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21521       for ac_func in _fabsf
21522 do :
21523   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21524 if test "x$ac_cv_func__fabsf" = x""yes; then :
21525   cat >>confdefs.h <<_ACEOF
21526 #define HAVE__FABSF 1
21527 _ACEOF
21528
21529 fi
21530 done
21531
21532     fi
21533   fi
21534
21535
21536
21537
21538
21539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21540 $as_echo_n "checking for fmodf declaration... " >&6; }
21541   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21542     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21543   $as_echo_n "(cached) " >&6
21544 else
21545
21546
21547       ac_ext=cpp
21548 ac_cpp='$CXXCPP $CPPFLAGS'
21549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21552
21553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h.  */
21555 #include <math.h>
21556 int
21557 main ()
21558 {
21559  fmodf(0, 0);
21560   ;
21561   return 0;
21562 }
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565   glibcxx_cv_func_fmodf_use=yes
21566 else
21567   glibcxx_cv_func_fmodf_use=no
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570       ac_ext=c
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575
21576
21577 fi
21578
21579   fi
21580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21581 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21582
21583   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21584     for ac_func in fmodf
21585 do :
21586   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21587 if test "x$ac_cv_func_fmodf" = x""yes; then :
21588   cat >>confdefs.h <<_ACEOF
21589 #define HAVE_FMODF 1
21590 _ACEOF
21591
21592 fi
21593 done
21594
21595   else
21596
21597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21598 $as_echo_n "checking for _fmodf declaration... " >&6; }
21599   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21600     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21601   $as_echo_n "(cached) " >&6
21602 else
21603
21604
21605       ac_ext=cpp
21606 ac_cpp='$CXXCPP $CPPFLAGS'
21607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21610
21611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h.  */
21613 #include <math.h>
21614 int
21615 main ()
21616 {
21617  _fmodf(0, 0);
21618   ;
21619   return 0;
21620 }
21621 _ACEOF
21622 if ac_fn_cxx_try_compile "$LINENO"; then :
21623   glibcxx_cv_func__fmodf_use=yes
21624 else
21625   glibcxx_cv_func__fmodf_use=no
21626 fi
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628       ac_ext=c
21629 ac_cpp='$CPP $CPPFLAGS'
21630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21633
21634
21635 fi
21636
21637   fi
21638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21639 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21640
21641     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21642       for ac_func in _fmodf
21643 do :
21644   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21645 if test "x$ac_cv_func__fmodf" = x""yes; then :
21646   cat >>confdefs.h <<_ACEOF
21647 #define HAVE__FMODF 1
21648 _ACEOF
21649
21650 fi
21651 done
21652
21653     fi
21654   fi
21655
21656
21657
21658
21659
21660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21661 $as_echo_n "checking for frexpf declaration... " >&6; }
21662   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21663     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21664   $as_echo_n "(cached) " >&6
21665 else
21666
21667
21668       ac_ext=cpp
21669 ac_cpp='$CXXCPP $CPPFLAGS'
21670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21673
21674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h.  */
21676 #include <math.h>
21677 int
21678 main ()
21679 {
21680  frexpf(0, 0);
21681   ;
21682   return 0;
21683 }
21684 _ACEOF
21685 if ac_fn_cxx_try_compile "$LINENO"; then :
21686   glibcxx_cv_func_frexpf_use=yes
21687 else
21688   glibcxx_cv_func_frexpf_use=no
21689 fi
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691       ac_ext=c
21692 ac_cpp='$CPP $CPPFLAGS'
21693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21696
21697
21698 fi
21699
21700   fi
21701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21702 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21703
21704   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21705     for ac_func in frexpf
21706 do :
21707   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21708 if test "x$ac_cv_func_frexpf" = x""yes; then :
21709   cat >>confdefs.h <<_ACEOF
21710 #define HAVE_FREXPF 1
21711 _ACEOF
21712
21713 fi
21714 done
21715
21716   else
21717
21718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21719 $as_echo_n "checking for _frexpf declaration... " >&6; }
21720   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21721     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21722   $as_echo_n "(cached) " >&6
21723 else
21724
21725
21726       ac_ext=cpp
21727 ac_cpp='$CXXCPP $CPPFLAGS'
21728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731
21732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h.  */
21734 #include <math.h>
21735 int
21736 main ()
21737 {
21738  _frexpf(0, 0);
21739   ;
21740   return 0;
21741 }
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744   glibcxx_cv_func__frexpf_use=yes
21745 else
21746   glibcxx_cv_func__frexpf_use=no
21747 fi
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749       ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21754
21755
21756 fi
21757
21758   fi
21759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21760 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21761
21762     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21763       for ac_func in _frexpf
21764 do :
21765   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21766 if test "x$ac_cv_func__frexpf" = x""yes; then :
21767   cat >>confdefs.h <<_ACEOF
21768 #define HAVE__FREXPF 1
21769 _ACEOF
21770
21771 fi
21772 done
21773
21774     fi
21775   fi
21776
21777
21778
21779
21780
21781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21782 $as_echo_n "checking for hypotf declaration... " >&6; }
21783   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21784     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21785   $as_echo_n "(cached) " >&6
21786 else
21787
21788
21789       ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h.  */
21797 #include <math.h>
21798 int
21799 main ()
21800 {
21801  hypotf(0, 0);
21802   ;
21803   return 0;
21804 }
21805 _ACEOF
21806 if ac_fn_cxx_try_compile "$LINENO"; then :
21807   glibcxx_cv_func_hypotf_use=yes
21808 else
21809   glibcxx_cv_func_hypotf_use=no
21810 fi
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812       ac_ext=c
21813 ac_cpp='$CPP $CPPFLAGS'
21814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21817
21818
21819 fi
21820
21821   fi
21822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21823 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21824
21825   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21826     for ac_func in hypotf
21827 do :
21828   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21829 if test "x$ac_cv_func_hypotf" = x""yes; then :
21830   cat >>confdefs.h <<_ACEOF
21831 #define HAVE_HYPOTF 1
21832 _ACEOF
21833
21834 fi
21835 done
21836
21837   else
21838
21839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21840 $as_echo_n "checking for _hypotf declaration... " >&6; }
21841   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21842     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21843   $as_echo_n "(cached) " >&6
21844 else
21845
21846
21847       ac_ext=cpp
21848 ac_cpp='$CXXCPP $CPPFLAGS'
21849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21852
21853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21854 /* end confdefs.h.  */
21855 #include <math.h>
21856 int
21857 main ()
21858 {
21859  _hypotf(0, 0);
21860   ;
21861   return 0;
21862 }
21863 _ACEOF
21864 if ac_fn_cxx_try_compile "$LINENO"; then :
21865   glibcxx_cv_func__hypotf_use=yes
21866 else
21867   glibcxx_cv_func__hypotf_use=no
21868 fi
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870       ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875
21876
21877 fi
21878
21879   fi
21880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21881 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21882
21883     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21884       for ac_func in _hypotf
21885 do :
21886   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21887 if test "x$ac_cv_func__hypotf" = x""yes; then :
21888   cat >>confdefs.h <<_ACEOF
21889 #define HAVE__HYPOTF 1
21890 _ACEOF
21891
21892 fi
21893 done
21894
21895     fi
21896   fi
21897
21898
21899
21900
21901
21902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21903 $as_echo_n "checking for ldexpf declaration... " >&6; }
21904   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21905     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21906   $as_echo_n "(cached) " >&6
21907 else
21908
21909
21910       ac_ext=cpp
21911 ac_cpp='$CXXCPP $CPPFLAGS'
21912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21915
21916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21917 /* end confdefs.h.  */
21918 #include <math.h>
21919 int
21920 main ()
21921 {
21922  ldexpf(0, 0);
21923   ;
21924   return 0;
21925 }
21926 _ACEOF
21927 if ac_fn_cxx_try_compile "$LINENO"; then :
21928   glibcxx_cv_func_ldexpf_use=yes
21929 else
21930   glibcxx_cv_func_ldexpf_use=no
21931 fi
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933       ac_ext=c
21934 ac_cpp='$CPP $CPPFLAGS'
21935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21938
21939
21940 fi
21941
21942   fi
21943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21944 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21945
21946   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21947     for ac_func in ldexpf
21948 do :
21949   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21950 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21951   cat >>confdefs.h <<_ACEOF
21952 #define HAVE_LDEXPF 1
21953 _ACEOF
21954
21955 fi
21956 done
21957
21958   else
21959
21960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21961 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21962   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21963     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21964   $as_echo_n "(cached) " >&6
21965 else
21966
21967
21968       ac_ext=cpp
21969 ac_cpp='$CXXCPP $CPPFLAGS'
21970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21973
21974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h.  */
21976 #include <math.h>
21977 int
21978 main ()
21979 {
21980  _ldexpf(0, 0);
21981   ;
21982   return 0;
21983 }
21984 _ACEOF
21985 if ac_fn_cxx_try_compile "$LINENO"; then :
21986   glibcxx_cv_func__ldexpf_use=yes
21987 else
21988   glibcxx_cv_func__ldexpf_use=no
21989 fi
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991       ac_ext=c
21992 ac_cpp='$CPP $CPPFLAGS'
21993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21996
21997
21998 fi
21999
22000   fi
22001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22002 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22003
22004     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22005       for ac_func in _ldexpf
22006 do :
22007   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22008 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22009   cat >>confdefs.h <<_ACEOF
22010 #define HAVE__LDEXPF 1
22011 _ACEOF
22012
22013 fi
22014 done
22015
22016     fi
22017   fi
22018
22019
22020
22021
22022
22023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22024 $as_echo_n "checking for logf declaration... " >&6; }
22025   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22026     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22027   $as_echo_n "(cached) " >&6
22028 else
22029
22030
22031       ac_ext=cpp
22032 ac_cpp='$CXXCPP $CPPFLAGS'
22033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22036
22037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h.  */
22039 #include <math.h>
22040                       #ifdef HAVE_IEEEFP_H
22041                       #include <ieeefp.h>
22042                       #endif
22043
22044 int
22045 main ()
22046 {
22047  logf(0);
22048   ;
22049   return 0;
22050 }
22051 _ACEOF
22052 if ac_fn_cxx_try_compile "$LINENO"; then :
22053   glibcxx_cv_func_logf_use=yes
22054 else
22055   glibcxx_cv_func_logf_use=no
22056 fi
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058       ac_ext=c
22059 ac_cpp='$CPP $CPPFLAGS'
22060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22063
22064
22065 fi
22066
22067   fi
22068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22069 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22070
22071   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22072     for ac_func in logf
22073 do :
22074   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22075 if test "x$ac_cv_func_logf" = x""yes; then :
22076   cat >>confdefs.h <<_ACEOF
22077 #define HAVE_LOGF 1
22078 _ACEOF
22079
22080 fi
22081 done
22082
22083   else
22084
22085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22086 $as_echo_n "checking for _logf declaration... " >&6; }
22087   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22088     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22089   $as_echo_n "(cached) " >&6
22090 else
22091
22092
22093       ac_ext=cpp
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098
22099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h.  */
22101 #include <math.h>
22102                       #ifdef HAVE_IEEEFP_H
22103                       #include <ieeefp.h>
22104                       #endif
22105
22106 int
22107 main ()
22108 {
22109  _logf(0);
22110   ;
22111   return 0;
22112 }
22113 _ACEOF
22114 if ac_fn_cxx_try_compile "$LINENO"; then :
22115   glibcxx_cv_func__logf_use=yes
22116 else
22117   glibcxx_cv_func__logf_use=no
22118 fi
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120       ac_ext=c
22121 ac_cpp='$CPP $CPPFLAGS'
22122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22125
22126
22127 fi
22128
22129   fi
22130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22131 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22132
22133     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22134       for ac_func in _logf
22135 do :
22136   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22137 if test "x$ac_cv_func__logf" = x""yes; then :
22138   cat >>confdefs.h <<_ACEOF
22139 #define HAVE__LOGF 1
22140 _ACEOF
22141
22142 fi
22143 done
22144
22145     fi
22146   fi
22147
22148
22149
22150
22151
22152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22153 $as_echo_n "checking for log10f declaration... " >&6; }
22154   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22155     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22156   $as_echo_n "(cached) " >&6
22157 else
22158
22159
22160       ac_ext=cpp
22161 ac_cpp='$CXXCPP $CPPFLAGS'
22162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22165
22166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22167 /* end confdefs.h.  */
22168 #include <math.h>
22169                       #ifdef HAVE_IEEEFP_H
22170                       #include <ieeefp.h>
22171                       #endif
22172
22173 int
22174 main ()
22175 {
22176  log10f(0);
22177   ;
22178   return 0;
22179 }
22180 _ACEOF
22181 if ac_fn_cxx_try_compile "$LINENO"; then :
22182   glibcxx_cv_func_log10f_use=yes
22183 else
22184   glibcxx_cv_func_log10f_use=no
22185 fi
22186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22187       ac_ext=c
22188 ac_cpp='$CPP $CPPFLAGS'
22189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22192
22193
22194 fi
22195
22196   fi
22197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22198 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22199
22200   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22201     for ac_func in log10f
22202 do :
22203   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22204 if test "x$ac_cv_func_log10f" = x""yes; then :
22205   cat >>confdefs.h <<_ACEOF
22206 #define HAVE_LOG10F 1
22207 _ACEOF
22208
22209 fi
22210 done
22211
22212   else
22213
22214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22215 $as_echo_n "checking for _log10f declaration... " >&6; }
22216   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22217     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22218   $as_echo_n "(cached) " >&6
22219 else
22220
22221
22222       ac_ext=cpp
22223 ac_cpp='$CXXCPP $CPPFLAGS'
22224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22227
22228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h.  */
22230 #include <math.h>
22231                       #ifdef HAVE_IEEEFP_H
22232                       #include <ieeefp.h>
22233                       #endif
22234
22235 int
22236 main ()
22237 {
22238  _log10f(0);
22239   ;
22240   return 0;
22241 }
22242 _ACEOF
22243 if ac_fn_cxx_try_compile "$LINENO"; then :
22244   glibcxx_cv_func__log10f_use=yes
22245 else
22246   glibcxx_cv_func__log10f_use=no
22247 fi
22248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22249       ac_ext=c
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22254
22255
22256 fi
22257
22258   fi
22259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22260 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22261
22262     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22263       for ac_func in _log10f
22264 do :
22265   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22266 if test "x$ac_cv_func__log10f" = x""yes; then :
22267   cat >>confdefs.h <<_ACEOF
22268 #define HAVE__LOG10F 1
22269 _ACEOF
22270
22271 fi
22272 done
22273
22274     fi
22275   fi
22276
22277
22278
22279
22280
22281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22282 $as_echo_n "checking for modff declaration... " >&6; }
22283   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22284     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22285   $as_echo_n "(cached) " >&6
22286 else
22287
22288
22289       ac_ext=cpp
22290 ac_cpp='$CXXCPP $CPPFLAGS'
22291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22294
22295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h.  */
22297 #include <math.h>
22298 int
22299 main ()
22300 {
22301  modff(0, 0);
22302   ;
22303   return 0;
22304 }
22305 _ACEOF
22306 if ac_fn_cxx_try_compile "$LINENO"; then :
22307   glibcxx_cv_func_modff_use=yes
22308 else
22309   glibcxx_cv_func_modff_use=no
22310 fi
22311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22312       ac_ext=c
22313 ac_cpp='$CPP $CPPFLAGS'
22314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317
22318
22319 fi
22320
22321   fi
22322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22323 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22324
22325   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22326     for ac_func in modff
22327 do :
22328   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22329 if test "x$ac_cv_func_modff" = x""yes; then :
22330   cat >>confdefs.h <<_ACEOF
22331 #define HAVE_MODFF 1
22332 _ACEOF
22333
22334 fi
22335 done
22336
22337   else
22338
22339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22340 $as_echo_n "checking for _modff declaration... " >&6; }
22341   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22342     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22343   $as_echo_n "(cached) " >&6
22344 else
22345
22346
22347       ac_ext=cpp
22348 ac_cpp='$CXXCPP $CPPFLAGS'
22349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22352
22353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22354 /* end confdefs.h.  */
22355 #include <math.h>
22356 int
22357 main ()
22358 {
22359  _modff(0, 0);
22360   ;
22361   return 0;
22362 }
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365   glibcxx_cv_func__modff_use=yes
22366 else
22367   glibcxx_cv_func__modff_use=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370       ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375
22376
22377 fi
22378
22379   fi
22380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22381 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22382
22383     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22384       for ac_func in _modff
22385 do :
22386   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22387 if test "x$ac_cv_func__modff" = x""yes; then :
22388   cat >>confdefs.h <<_ACEOF
22389 #define HAVE__MODFF 1
22390 _ACEOF
22391
22392 fi
22393 done
22394
22395     fi
22396   fi
22397
22398
22399
22400
22401
22402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22403 $as_echo_n "checking for modf declaration... " >&6; }
22404   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22405     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22406   $as_echo_n "(cached) " >&6
22407 else
22408
22409
22410       ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415
22416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h.  */
22418 #include <math.h>
22419 int
22420 main ()
22421 {
22422  modf(0, 0);
22423   ;
22424   return 0;
22425 }
22426 _ACEOF
22427 if ac_fn_cxx_try_compile "$LINENO"; then :
22428   glibcxx_cv_func_modf_use=yes
22429 else
22430   glibcxx_cv_func_modf_use=no
22431 fi
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433       ac_ext=c
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438
22439
22440 fi
22441
22442   fi
22443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22444 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22445
22446   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22447     for ac_func in modf
22448 do :
22449   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22450 if test "x$ac_cv_func_modf" = x""yes; then :
22451   cat >>confdefs.h <<_ACEOF
22452 #define HAVE_MODF 1
22453 _ACEOF
22454
22455 fi
22456 done
22457
22458   else
22459
22460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22461 $as_echo_n "checking for _modf declaration... " >&6; }
22462   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22463     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22464   $as_echo_n "(cached) " >&6
22465 else
22466
22467
22468       ac_ext=cpp
22469 ac_cpp='$CXXCPP $CPPFLAGS'
22470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22473
22474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h.  */
22476 #include <math.h>
22477 int
22478 main ()
22479 {
22480  _modf(0, 0);
22481   ;
22482   return 0;
22483 }
22484 _ACEOF
22485 if ac_fn_cxx_try_compile "$LINENO"; then :
22486   glibcxx_cv_func__modf_use=yes
22487 else
22488   glibcxx_cv_func__modf_use=no
22489 fi
22490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22491       ac_ext=c
22492 ac_cpp='$CPP $CPPFLAGS'
22493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496
22497
22498 fi
22499
22500   fi
22501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22502 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22503
22504     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22505       for ac_func in _modf
22506 do :
22507   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22508 if test "x$ac_cv_func__modf" = x""yes; then :
22509   cat >>confdefs.h <<_ACEOF
22510 #define HAVE__MODF 1
22511 _ACEOF
22512
22513 fi
22514 done
22515
22516     fi
22517   fi
22518
22519
22520
22521
22522
22523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22524 $as_echo_n "checking for powf declaration... " >&6; }
22525   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22526     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22527   $as_echo_n "(cached) " >&6
22528 else
22529
22530
22531       ac_ext=cpp
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536
22537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22538 /* end confdefs.h.  */
22539 #include <math.h>
22540 int
22541 main ()
22542 {
22543  powf(0, 0);
22544   ;
22545   return 0;
22546 }
22547 _ACEOF
22548 if ac_fn_cxx_try_compile "$LINENO"; then :
22549   glibcxx_cv_func_powf_use=yes
22550 else
22551   glibcxx_cv_func_powf_use=no
22552 fi
22553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22554       ac_ext=c
22555 ac_cpp='$CPP $CPPFLAGS'
22556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22559
22560
22561 fi
22562
22563   fi
22564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22565 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22566
22567   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22568     for ac_func in powf
22569 do :
22570   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22571 if test "x$ac_cv_func_powf" = x""yes; then :
22572   cat >>confdefs.h <<_ACEOF
22573 #define HAVE_POWF 1
22574 _ACEOF
22575
22576 fi
22577 done
22578
22579   else
22580
22581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22582 $as_echo_n "checking for _powf declaration... " >&6; }
22583   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22584     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22585   $as_echo_n "(cached) " >&6
22586 else
22587
22588
22589       ac_ext=cpp
22590 ac_cpp='$CXXCPP $CPPFLAGS'
22591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22594
22595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h.  */
22597 #include <math.h>
22598 int
22599 main ()
22600 {
22601  _powf(0, 0);
22602   ;
22603   return 0;
22604 }
22605 _ACEOF
22606 if ac_fn_cxx_try_compile "$LINENO"; then :
22607   glibcxx_cv_func__powf_use=yes
22608 else
22609   glibcxx_cv_func__powf_use=no
22610 fi
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22612       ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617
22618
22619 fi
22620
22621   fi
22622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22623 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22624
22625     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22626       for ac_func in _powf
22627 do :
22628   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22629 if test "x$ac_cv_func__powf" = x""yes; then :
22630   cat >>confdefs.h <<_ACEOF
22631 #define HAVE__POWF 1
22632 _ACEOF
22633
22634 fi
22635 done
22636
22637     fi
22638   fi
22639
22640
22641
22642
22643
22644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22645 $as_echo_n "checking for sqrtf declaration... " >&6; }
22646   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22647     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22648   $as_echo_n "(cached) " >&6
22649 else
22650
22651
22652       ac_ext=cpp
22653 ac_cpp='$CXXCPP $CPPFLAGS'
22654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22657
22658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22659 /* end confdefs.h.  */
22660 #include <math.h>
22661                       #ifdef HAVE_IEEEFP_H
22662                       #include <ieeefp.h>
22663                       #endif
22664
22665 int
22666 main ()
22667 {
22668  sqrtf(0);
22669   ;
22670   return 0;
22671 }
22672 _ACEOF
22673 if ac_fn_cxx_try_compile "$LINENO"; then :
22674   glibcxx_cv_func_sqrtf_use=yes
22675 else
22676   glibcxx_cv_func_sqrtf_use=no
22677 fi
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679       ac_ext=c
22680 ac_cpp='$CPP $CPPFLAGS'
22681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684
22685
22686 fi
22687
22688   fi
22689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22690 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22691
22692   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22693     for ac_func in sqrtf
22694 do :
22695   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22696 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22697   cat >>confdefs.h <<_ACEOF
22698 #define HAVE_SQRTF 1
22699 _ACEOF
22700
22701 fi
22702 done
22703
22704   else
22705
22706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22707 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22708   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22709     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22710   $as_echo_n "(cached) " >&6
22711 else
22712
22713
22714       ac_ext=cpp
22715 ac_cpp='$CXXCPP $CPPFLAGS'
22716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22719
22720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22721 /* end confdefs.h.  */
22722 #include <math.h>
22723                       #ifdef HAVE_IEEEFP_H
22724                       #include <ieeefp.h>
22725                       #endif
22726
22727 int
22728 main ()
22729 {
22730  _sqrtf(0);
22731   ;
22732   return 0;
22733 }
22734 _ACEOF
22735 if ac_fn_cxx_try_compile "$LINENO"; then :
22736   glibcxx_cv_func__sqrtf_use=yes
22737 else
22738   glibcxx_cv_func__sqrtf_use=no
22739 fi
22740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22741       ac_ext=c
22742 ac_cpp='$CPP $CPPFLAGS'
22743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22746
22747
22748 fi
22749
22750   fi
22751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22752 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22753
22754     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22755       for ac_func in _sqrtf
22756 do :
22757   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22758 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22759   cat >>confdefs.h <<_ACEOF
22760 #define HAVE__SQRTF 1
22761 _ACEOF
22762
22763 fi
22764 done
22765
22766     fi
22767   fi
22768
22769
22770
22771
22772
22773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22774 $as_echo_n "checking for sincosf declaration... " >&6; }
22775   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22776     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22777   $as_echo_n "(cached) " >&6
22778 else
22779
22780
22781       ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786
22787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h.  */
22789 #include <math.h>
22790 int
22791 main ()
22792 {
22793  sincosf(0, 0, 0);
22794   ;
22795   return 0;
22796 }
22797 _ACEOF
22798 if ac_fn_cxx_try_compile "$LINENO"; then :
22799   glibcxx_cv_func_sincosf_use=yes
22800 else
22801   glibcxx_cv_func_sincosf_use=no
22802 fi
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804       ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809
22810
22811 fi
22812
22813   fi
22814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22815 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22816
22817   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22818     for ac_func in sincosf
22819 do :
22820   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22821 if test "x$ac_cv_func_sincosf" = x""yes; then :
22822   cat >>confdefs.h <<_ACEOF
22823 #define HAVE_SINCOSF 1
22824 _ACEOF
22825
22826 fi
22827 done
22828
22829   else
22830
22831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22832 $as_echo_n "checking for _sincosf declaration... " >&6; }
22833   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22834     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22835   $as_echo_n "(cached) " >&6
22836 else
22837
22838
22839       ac_ext=cpp
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22844
22845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22846 /* end confdefs.h.  */
22847 #include <math.h>
22848 int
22849 main ()
22850 {
22851  _sincosf(0, 0, 0);
22852   ;
22853   return 0;
22854 }
22855 _ACEOF
22856 if ac_fn_cxx_try_compile "$LINENO"; then :
22857   glibcxx_cv_func__sincosf_use=yes
22858 else
22859   glibcxx_cv_func__sincosf_use=no
22860 fi
22861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22862       ac_ext=c
22863 ac_cpp='$CPP $CPPFLAGS'
22864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22867
22868
22869 fi
22870
22871   fi
22872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22873 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22874
22875     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22876       for ac_func in _sincosf
22877 do :
22878   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22879 if test "x$ac_cv_func__sincosf" = x""yes; then :
22880   cat >>confdefs.h <<_ACEOF
22881 #define HAVE__SINCOSF 1
22882 _ACEOF
22883
22884 fi
22885 done
22886
22887     fi
22888   fi
22889
22890
22891
22892
22893
22894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22895 $as_echo_n "checking for finitef declaration... " >&6; }
22896   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22897     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22898   $as_echo_n "(cached) " >&6
22899 else
22900
22901
22902       ac_ext=cpp
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907
22908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22909 /* end confdefs.h.  */
22910 #include <math.h>
22911                       #ifdef HAVE_IEEEFP_H
22912                       #include <ieeefp.h>
22913                       #endif
22914
22915 int
22916 main ()
22917 {
22918  finitef(0);
22919   ;
22920   return 0;
22921 }
22922 _ACEOF
22923 if ac_fn_cxx_try_compile "$LINENO"; then :
22924   glibcxx_cv_func_finitef_use=yes
22925 else
22926   glibcxx_cv_func_finitef_use=no
22927 fi
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929       ac_ext=c
22930 ac_cpp='$CPP $CPPFLAGS'
22931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22934
22935
22936 fi
22937
22938   fi
22939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22940 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22941
22942   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22943     for ac_func in finitef
22944 do :
22945   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22946 if test "x$ac_cv_func_finitef" = x""yes; then :
22947   cat >>confdefs.h <<_ACEOF
22948 #define HAVE_FINITEF 1
22949 _ACEOF
22950
22951 fi
22952 done
22953
22954   else
22955
22956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22957 $as_echo_n "checking for _finitef declaration... " >&6; }
22958   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22959     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22960   $as_echo_n "(cached) " >&6
22961 else
22962
22963
22964       ac_ext=cpp
22965 ac_cpp='$CXXCPP $CPPFLAGS'
22966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22969
22970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h.  */
22972 #include <math.h>
22973                       #ifdef HAVE_IEEEFP_H
22974                       #include <ieeefp.h>
22975                       #endif
22976
22977 int
22978 main ()
22979 {
22980  _finitef(0);
22981   ;
22982   return 0;
22983 }
22984 _ACEOF
22985 if ac_fn_cxx_try_compile "$LINENO"; then :
22986   glibcxx_cv_func__finitef_use=yes
22987 else
22988   glibcxx_cv_func__finitef_use=no
22989 fi
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991       ac_ext=c
22992 ac_cpp='$CPP $CPPFLAGS'
22993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996
22997
22998 fi
22999
23000   fi
23001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23002 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23003
23004     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23005       for ac_func in _finitef
23006 do :
23007   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23008 if test "x$ac_cv_func__finitef" = x""yes; then :
23009   cat >>confdefs.h <<_ACEOF
23010 #define HAVE__FINITEF 1
23011 _ACEOF
23012
23013 fi
23014 done
23015
23016     fi
23017   fi
23018
23019
23020
23021
23022
23023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23024 $as_echo_n "checking for long double trig functions... " >&6; }
23025   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23026   $as_echo_n "(cached) " >&6
23027 else
23028
23029
23030     ac_ext=cpp
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035
23036     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23037 /* end confdefs.h.  */
23038 #include <math.h>
23039 int
23040 main ()
23041 {
23042 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23043   ;
23044   return 0;
23045 }
23046 _ACEOF
23047 if ac_fn_cxx_try_compile "$LINENO"; then :
23048   glibcxx_cv_func_long_double_trig_use=yes
23049 else
23050   glibcxx_cv_func_long_double_trig_use=no
23051 fi
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053     ac_ext=c
23054 ac_cpp='$CPP $CPPFLAGS'
23055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23058
23059 fi
23060
23061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23062 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23063   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23064     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23065 do :
23066   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23068 eval as_val=\$$as_ac_var
23069    if test "x$as_val" = x""yes; then :
23070   cat >>confdefs.h <<_ACEOF
23071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23072 _ACEOF
23073
23074 fi
23075 done
23076
23077   else
23078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23079 $as_echo_n "checking for _long double trig functions... " >&6; }
23080     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23081   $as_echo_n "(cached) " >&6
23082 else
23083
23084
23085       ac_ext=cpp
23086 ac_cpp='$CXXCPP $CPPFLAGS'
23087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090
23091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23092 /* end confdefs.h.  */
23093 #include <math.h>
23094 int
23095 main ()
23096 {
23097 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23098   ;
23099   return 0;
23100 }
23101 _ACEOF
23102 if ac_fn_cxx_try_compile "$LINENO"; then :
23103   glibcxx_cv_func__long_double_trig_use=yes
23104 else
23105   glibcxx_cv_func__long_double_trig_use=no
23106 fi
23107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23108       ac_ext=c
23109 ac_cpp='$CPP $CPPFLAGS'
23110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23113
23114 fi
23115
23116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23117 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23118     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23119       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23120 do :
23121   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23123 eval as_val=\$$as_ac_var
23124    if test "x$as_val" = x""yes; then :
23125   cat >>confdefs.h <<_ACEOF
23126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23127 _ACEOF
23128
23129 fi
23130 done
23131
23132     fi
23133   fi
23134
23135
23136
23137
23138
23139     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23140 $as_echo_n "checking for long double round functions... " >&6; }
23141   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23142   $as_echo_n "(cached) " >&6
23143 else
23144
23145
23146     ac_ext=cpp
23147 ac_cpp='$CXXCPP $CPPFLAGS'
23148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23151
23152     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23153 /* end confdefs.h.  */
23154 #include <math.h>
23155 int
23156 main ()
23157 {
23158 ceill (0); floorl (0);
23159   ;
23160   return 0;
23161 }
23162 _ACEOF
23163 if ac_fn_cxx_try_compile "$LINENO"; then :
23164   glibcxx_cv_func_long_double_round_use=yes
23165 else
23166   glibcxx_cv_func_long_double_round_use=no
23167 fi
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169     ac_ext=c
23170 ac_cpp='$CPP $CPPFLAGS'
23171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23174
23175 fi
23176
23177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23178 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23179   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23180     for ac_func in ceill floorl
23181 do :
23182   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23184 eval as_val=\$$as_ac_var
23185    if test "x$as_val" = x""yes; then :
23186   cat >>confdefs.h <<_ACEOF
23187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23188 _ACEOF
23189
23190 fi
23191 done
23192
23193   else
23194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23195 $as_echo_n "checking for _long double round functions... " >&6; }
23196     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23197   $as_echo_n "(cached) " >&6
23198 else
23199
23200
23201       ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208 /* end confdefs.h.  */
23209 #include <math.h>
23210 int
23211 main ()
23212 {
23213 _ceill (0); _floorl (0);
23214   ;
23215   return 0;
23216 }
23217 _ACEOF
23218 if ac_fn_cxx_try_compile "$LINENO"; then :
23219   glibcxx_cv_func__long_double_round_use=yes
23220 else
23221   glibcxx_cv_func__long_double_round_use=no
23222 fi
23223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23224       ac_ext=c
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23229
23230 fi
23231
23232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23233 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23234     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23235       for ac_func in _ceill _floorl
23236 do :
23237   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23239 eval as_val=\$$as_ac_var
23240    if test "x$as_val" = x""yes; then :
23241   cat >>confdefs.h <<_ACEOF
23242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23243 _ACEOF
23244
23245 fi
23246 done
23247
23248     fi
23249   fi
23250
23251
23252
23253
23254
23255
23256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23257 $as_echo_n "checking for isnanl declaration... " >&6; }
23258   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23259     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23260   $as_echo_n "(cached) " >&6
23261 else
23262
23263
23264       ac_ext=cpp
23265 ac_cpp='$CXXCPP $CPPFLAGS'
23266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23269
23270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23271 /* end confdefs.h.  */
23272 #include <math.h>
23273                       #ifdef HAVE_IEEEFP_H
23274                       #include <ieeefp.h>
23275                       #endif
23276
23277 int
23278 main ()
23279 {
23280  isnanl(0);
23281   ;
23282   return 0;
23283 }
23284 _ACEOF
23285 if ac_fn_cxx_try_compile "$LINENO"; then :
23286   glibcxx_cv_func_isnanl_use=yes
23287 else
23288   glibcxx_cv_func_isnanl_use=no
23289 fi
23290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23291       ac_ext=c
23292 ac_cpp='$CPP $CPPFLAGS'
23293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23296
23297
23298 fi
23299
23300   fi
23301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23302 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23303
23304   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23305     for ac_func in isnanl
23306 do :
23307   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23308 if test "x$ac_cv_func_isnanl" = x""yes; then :
23309   cat >>confdefs.h <<_ACEOF
23310 #define HAVE_ISNANL 1
23311 _ACEOF
23312
23313 fi
23314 done
23315
23316   else
23317
23318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23319 $as_echo_n "checking for _isnanl declaration... " >&6; }
23320   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23321     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23322   $as_echo_n "(cached) " >&6
23323 else
23324
23325
23326       ac_ext=cpp
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23331
23332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23333 /* end confdefs.h.  */
23334 #include <math.h>
23335                       #ifdef HAVE_IEEEFP_H
23336                       #include <ieeefp.h>
23337                       #endif
23338
23339 int
23340 main ()
23341 {
23342  _isnanl(0);
23343   ;
23344   return 0;
23345 }
23346 _ACEOF
23347 if ac_fn_cxx_try_compile "$LINENO"; then :
23348   glibcxx_cv_func__isnanl_use=yes
23349 else
23350   glibcxx_cv_func__isnanl_use=no
23351 fi
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353       ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23358
23359
23360 fi
23361
23362   fi
23363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23364 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23365
23366     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23367       for ac_func in _isnanl
23368 do :
23369   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23370 if test "x$ac_cv_func__isnanl" = x""yes; then :
23371   cat >>confdefs.h <<_ACEOF
23372 #define HAVE__ISNANL 1
23373 _ACEOF
23374
23375 fi
23376 done
23377
23378     fi
23379   fi
23380
23381
23382
23383
23384
23385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23386 $as_echo_n "checking for isinfl declaration... " >&6; }
23387   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23388     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23389   $as_echo_n "(cached) " >&6
23390 else
23391
23392
23393       ac_ext=cpp
23394 ac_cpp='$CXXCPP $CPPFLAGS'
23395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23398
23399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h.  */
23401 #include <math.h>
23402                       #ifdef HAVE_IEEEFP_H
23403                       #include <ieeefp.h>
23404                       #endif
23405
23406 int
23407 main ()
23408 {
23409  isinfl(0);
23410   ;
23411   return 0;
23412 }
23413 _ACEOF
23414 if ac_fn_cxx_try_compile "$LINENO"; then :
23415   glibcxx_cv_func_isinfl_use=yes
23416 else
23417   glibcxx_cv_func_isinfl_use=no
23418 fi
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420       ac_ext=c
23421 ac_cpp='$CPP $CPPFLAGS'
23422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23425
23426
23427 fi
23428
23429   fi
23430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23431 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23432
23433   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23434     for ac_func in isinfl
23435 do :
23436   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23437 if test "x$ac_cv_func_isinfl" = x""yes; then :
23438   cat >>confdefs.h <<_ACEOF
23439 #define HAVE_ISINFL 1
23440 _ACEOF
23441
23442 fi
23443 done
23444
23445   else
23446
23447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23448 $as_echo_n "checking for _isinfl declaration... " >&6; }
23449   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23450     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23451   $as_echo_n "(cached) " >&6
23452 else
23453
23454
23455       ac_ext=cpp
23456 ac_cpp='$CXXCPP $CPPFLAGS'
23457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460
23461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h.  */
23463 #include <math.h>
23464                       #ifdef HAVE_IEEEFP_H
23465                       #include <ieeefp.h>
23466                       #endif
23467
23468 int
23469 main ()
23470 {
23471  _isinfl(0);
23472   ;
23473   return 0;
23474 }
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477   glibcxx_cv_func__isinfl_use=yes
23478 else
23479   glibcxx_cv_func__isinfl_use=no
23480 fi
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482       ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23487
23488
23489 fi
23490
23491   fi
23492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23493 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23494
23495     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23496       for ac_func in _isinfl
23497 do :
23498   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23499 if test "x$ac_cv_func__isinfl" = x""yes; then :
23500   cat >>confdefs.h <<_ACEOF
23501 #define HAVE__ISINFL 1
23502 _ACEOF
23503
23504 fi
23505 done
23506
23507     fi
23508   fi
23509
23510
23511
23512
23513
23514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23515 $as_echo_n "checking for atan2l declaration... " >&6; }
23516   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23517     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23518   $as_echo_n "(cached) " >&6
23519 else
23520
23521
23522       ac_ext=cpp
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23527
23528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h.  */
23530 #include <math.h>
23531 int
23532 main ()
23533 {
23534  atan2l(0, 0);
23535   ;
23536   return 0;
23537 }
23538 _ACEOF
23539 if ac_fn_cxx_try_compile "$LINENO"; then :
23540   glibcxx_cv_func_atan2l_use=yes
23541 else
23542   glibcxx_cv_func_atan2l_use=no
23543 fi
23544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23545       ac_ext=c
23546 ac_cpp='$CPP $CPPFLAGS'
23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23550
23551
23552 fi
23553
23554   fi
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23556 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23557
23558   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23559     for ac_func in atan2l
23560 do :
23561   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23562 if test "x$ac_cv_func_atan2l" = x""yes; then :
23563   cat >>confdefs.h <<_ACEOF
23564 #define HAVE_ATAN2L 1
23565 _ACEOF
23566
23567 fi
23568 done
23569
23570   else
23571
23572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23573 $as_echo_n "checking for _atan2l declaration... " >&6; }
23574   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23575     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23576   $as_echo_n "(cached) " >&6
23577 else
23578
23579
23580       ac_ext=cpp
23581 ac_cpp='$CXXCPP $CPPFLAGS'
23582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23585
23586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23587 /* end confdefs.h.  */
23588 #include <math.h>
23589 int
23590 main ()
23591 {
23592  _atan2l(0, 0);
23593   ;
23594   return 0;
23595 }
23596 _ACEOF
23597 if ac_fn_cxx_try_compile "$LINENO"; then :
23598   glibcxx_cv_func__atan2l_use=yes
23599 else
23600   glibcxx_cv_func__atan2l_use=no
23601 fi
23602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23603       ac_ext=c
23604 ac_cpp='$CPP $CPPFLAGS'
23605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23608
23609
23610 fi
23611
23612   fi
23613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23614 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23615
23616     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23617       for ac_func in _atan2l
23618 do :
23619   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23620 if test "x$ac_cv_func__atan2l" = x""yes; then :
23621   cat >>confdefs.h <<_ACEOF
23622 #define HAVE__ATAN2L 1
23623 _ACEOF
23624
23625 fi
23626 done
23627
23628     fi
23629   fi
23630
23631
23632
23633
23634
23635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23636 $as_echo_n "checking for expl declaration... " >&6; }
23637   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23638     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23639   $as_echo_n "(cached) " >&6
23640 else
23641
23642
23643       ac_ext=cpp
23644 ac_cpp='$CXXCPP $CPPFLAGS'
23645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23648
23649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h.  */
23651 #include <math.h>
23652                       #ifdef HAVE_IEEEFP_H
23653                       #include <ieeefp.h>
23654                       #endif
23655
23656 int
23657 main ()
23658 {
23659  expl(0);
23660   ;
23661   return 0;
23662 }
23663 _ACEOF
23664 if ac_fn_cxx_try_compile "$LINENO"; then :
23665   glibcxx_cv_func_expl_use=yes
23666 else
23667   glibcxx_cv_func_expl_use=no
23668 fi
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670       ac_ext=c
23671 ac_cpp='$CPP $CPPFLAGS'
23672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23675
23676
23677 fi
23678
23679   fi
23680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23681 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23682
23683   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23684     for ac_func in expl
23685 do :
23686   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23687 if test "x$ac_cv_func_expl" = x""yes; then :
23688   cat >>confdefs.h <<_ACEOF
23689 #define HAVE_EXPL 1
23690 _ACEOF
23691
23692 fi
23693 done
23694
23695   else
23696
23697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23698 $as_echo_n "checking for _expl declaration... " >&6; }
23699   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23700     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23701   $as_echo_n "(cached) " >&6
23702 else
23703
23704
23705       ac_ext=cpp
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23710
23711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23712 /* end confdefs.h.  */
23713 #include <math.h>
23714                       #ifdef HAVE_IEEEFP_H
23715                       #include <ieeefp.h>
23716                       #endif
23717
23718 int
23719 main ()
23720 {
23721  _expl(0);
23722   ;
23723   return 0;
23724 }
23725 _ACEOF
23726 if ac_fn_cxx_try_compile "$LINENO"; then :
23727   glibcxx_cv_func__expl_use=yes
23728 else
23729   glibcxx_cv_func__expl_use=no
23730 fi
23731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23732       ac_ext=c
23733 ac_cpp='$CPP $CPPFLAGS'
23734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23737
23738
23739 fi
23740
23741   fi
23742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23743 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23744
23745     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23746       for ac_func in _expl
23747 do :
23748   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23749 if test "x$ac_cv_func__expl" = x""yes; then :
23750   cat >>confdefs.h <<_ACEOF
23751 #define HAVE__EXPL 1
23752 _ACEOF
23753
23754 fi
23755 done
23756
23757     fi
23758   fi
23759
23760
23761
23762
23763
23764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23765 $as_echo_n "checking for fabsl declaration... " >&6; }
23766   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23767     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23768   $as_echo_n "(cached) " >&6
23769 else
23770
23771
23772       ac_ext=cpp
23773 ac_cpp='$CXXCPP $CPPFLAGS'
23774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23777
23778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23779 /* end confdefs.h.  */
23780 #include <math.h>
23781                       #ifdef HAVE_IEEEFP_H
23782                       #include <ieeefp.h>
23783                       #endif
23784
23785 int
23786 main ()
23787 {
23788  fabsl(0);
23789   ;
23790   return 0;
23791 }
23792 _ACEOF
23793 if ac_fn_cxx_try_compile "$LINENO"; then :
23794   glibcxx_cv_func_fabsl_use=yes
23795 else
23796   glibcxx_cv_func_fabsl_use=no
23797 fi
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799       ac_ext=c
23800 ac_cpp='$CPP $CPPFLAGS'
23801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23804
23805
23806 fi
23807
23808   fi
23809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23810 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23811
23812   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23813     for ac_func in fabsl
23814 do :
23815   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23816 if test "x$ac_cv_func_fabsl" = x""yes; then :
23817   cat >>confdefs.h <<_ACEOF
23818 #define HAVE_FABSL 1
23819 _ACEOF
23820
23821 fi
23822 done
23823
23824   else
23825
23826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23827 $as_echo_n "checking for _fabsl declaration... " >&6; }
23828   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23829     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23830   $as_echo_n "(cached) " >&6
23831 else
23832
23833
23834       ac_ext=cpp
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839
23840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23841 /* end confdefs.h.  */
23842 #include <math.h>
23843                       #ifdef HAVE_IEEEFP_H
23844                       #include <ieeefp.h>
23845                       #endif
23846
23847 int
23848 main ()
23849 {
23850  _fabsl(0);
23851   ;
23852   return 0;
23853 }
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856   glibcxx_cv_func__fabsl_use=yes
23857 else
23858   glibcxx_cv_func__fabsl_use=no
23859 fi
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861       ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23866
23867
23868 fi
23869
23870   fi
23871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23872 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23873
23874     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23875       for ac_func in _fabsl
23876 do :
23877   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23878 if test "x$ac_cv_func__fabsl" = x""yes; then :
23879   cat >>confdefs.h <<_ACEOF
23880 #define HAVE__FABSL 1
23881 _ACEOF
23882
23883 fi
23884 done
23885
23886     fi
23887   fi
23888
23889
23890
23891
23892
23893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23894 $as_echo_n "checking for fmodl declaration... " >&6; }
23895   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23896     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23897   $as_echo_n "(cached) " >&6
23898 else
23899
23900
23901       ac_ext=cpp
23902 ac_cpp='$CXXCPP $CPPFLAGS'
23903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23906
23907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23908 /* end confdefs.h.  */
23909 #include <math.h>
23910 int
23911 main ()
23912 {
23913  fmodl(0, 0);
23914   ;
23915   return 0;
23916 }
23917 _ACEOF
23918 if ac_fn_cxx_try_compile "$LINENO"; then :
23919   glibcxx_cv_func_fmodl_use=yes
23920 else
23921   glibcxx_cv_func_fmodl_use=no
23922 fi
23923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23924       ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929
23930
23931 fi
23932
23933   fi
23934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23935 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23936
23937   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23938     for ac_func in fmodl
23939 do :
23940   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23941 if test "x$ac_cv_func_fmodl" = x""yes; then :
23942   cat >>confdefs.h <<_ACEOF
23943 #define HAVE_FMODL 1
23944 _ACEOF
23945
23946 fi
23947 done
23948
23949   else
23950
23951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23952 $as_echo_n "checking for _fmodl declaration... " >&6; }
23953   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23954     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23955   $as_echo_n "(cached) " >&6
23956 else
23957
23958
23959       ac_ext=cpp
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23964
23965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23966 /* end confdefs.h.  */
23967 #include <math.h>
23968 int
23969 main ()
23970 {
23971  _fmodl(0, 0);
23972   ;
23973   return 0;
23974 }
23975 _ACEOF
23976 if ac_fn_cxx_try_compile "$LINENO"; then :
23977   glibcxx_cv_func__fmodl_use=yes
23978 else
23979   glibcxx_cv_func__fmodl_use=no
23980 fi
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982       ac_ext=c
23983 ac_cpp='$CPP $CPPFLAGS'
23984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23987
23988
23989 fi
23990
23991   fi
23992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23993 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23994
23995     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23996       for ac_func in _fmodl
23997 do :
23998   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23999 if test "x$ac_cv_func__fmodl" = x""yes; then :
24000   cat >>confdefs.h <<_ACEOF
24001 #define HAVE__FMODL 1
24002 _ACEOF
24003
24004 fi
24005 done
24006
24007     fi
24008   fi
24009
24010
24011
24012
24013
24014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24015 $as_echo_n "checking for frexpl declaration... " >&6; }
24016   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24017     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24018   $as_echo_n "(cached) " >&6
24019 else
24020
24021
24022       ac_ext=cpp
24023 ac_cpp='$CXXCPP $CPPFLAGS'
24024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24027
24028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24029 /* end confdefs.h.  */
24030 #include <math.h>
24031 int
24032 main ()
24033 {
24034  frexpl(0, 0);
24035   ;
24036   return 0;
24037 }
24038 _ACEOF
24039 if ac_fn_cxx_try_compile "$LINENO"; then :
24040   glibcxx_cv_func_frexpl_use=yes
24041 else
24042   glibcxx_cv_func_frexpl_use=no
24043 fi
24044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24045       ac_ext=c
24046 ac_cpp='$CPP $CPPFLAGS'
24047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050
24051
24052 fi
24053
24054   fi
24055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24056 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24057
24058   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24059     for ac_func in frexpl
24060 do :
24061   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24062 if test "x$ac_cv_func_frexpl" = x""yes; then :
24063   cat >>confdefs.h <<_ACEOF
24064 #define HAVE_FREXPL 1
24065 _ACEOF
24066
24067 fi
24068 done
24069
24070   else
24071
24072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24073 $as_echo_n "checking for _frexpl declaration... " >&6; }
24074   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24075     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24076   $as_echo_n "(cached) " >&6
24077 else
24078
24079
24080       ac_ext=cpp
24081 ac_cpp='$CXXCPP $CPPFLAGS'
24082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085
24086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087 /* end confdefs.h.  */
24088 #include <math.h>
24089 int
24090 main ()
24091 {
24092  _frexpl(0, 0);
24093   ;
24094   return 0;
24095 }
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098   glibcxx_cv_func__frexpl_use=yes
24099 else
24100   glibcxx_cv_func__frexpl_use=no
24101 fi
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103       ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24108
24109
24110 fi
24111
24112   fi
24113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24114 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24115
24116     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24117       for ac_func in _frexpl
24118 do :
24119   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24120 if test "x$ac_cv_func__frexpl" = x""yes; then :
24121   cat >>confdefs.h <<_ACEOF
24122 #define HAVE__FREXPL 1
24123 _ACEOF
24124
24125 fi
24126 done
24127
24128     fi
24129   fi
24130
24131
24132
24133
24134
24135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24136 $as_echo_n "checking for hypotl declaration... " >&6; }
24137   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24138     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24139   $as_echo_n "(cached) " >&6
24140 else
24141
24142
24143       ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24148
24149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h.  */
24151 #include <math.h>
24152 int
24153 main ()
24154 {
24155  hypotl(0, 0);
24156   ;
24157   return 0;
24158 }
24159 _ACEOF
24160 if ac_fn_cxx_try_compile "$LINENO"; then :
24161   glibcxx_cv_func_hypotl_use=yes
24162 else
24163   glibcxx_cv_func_hypotl_use=no
24164 fi
24165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24166       ac_ext=c
24167 ac_cpp='$CPP $CPPFLAGS'
24168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24171
24172
24173 fi
24174
24175   fi
24176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24177 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24178
24179   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24180     for ac_func in hypotl
24181 do :
24182   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24183 if test "x$ac_cv_func_hypotl" = x""yes; then :
24184   cat >>confdefs.h <<_ACEOF
24185 #define HAVE_HYPOTL 1
24186 _ACEOF
24187
24188 fi
24189 done
24190
24191   else
24192
24193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24194 $as_echo_n "checking for _hypotl declaration... " >&6; }
24195   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24196     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24197   $as_echo_n "(cached) " >&6
24198 else
24199
24200
24201       ac_ext=cpp
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206
24207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24208 /* end confdefs.h.  */
24209 #include <math.h>
24210 int
24211 main ()
24212 {
24213  _hypotl(0, 0);
24214   ;
24215   return 0;
24216 }
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219   glibcxx_cv_func__hypotl_use=yes
24220 else
24221   glibcxx_cv_func__hypotl_use=no
24222 fi
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224       ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229
24230
24231 fi
24232
24233   fi
24234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24235 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24236
24237     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24238       for ac_func in _hypotl
24239 do :
24240   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24241 if test "x$ac_cv_func__hypotl" = x""yes; then :
24242   cat >>confdefs.h <<_ACEOF
24243 #define HAVE__HYPOTL 1
24244 _ACEOF
24245
24246 fi
24247 done
24248
24249     fi
24250   fi
24251
24252
24253
24254
24255
24256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24257 $as_echo_n "checking for ldexpl declaration... " >&6; }
24258   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24259     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24260   $as_echo_n "(cached) " >&6
24261 else
24262
24263
24264       ac_ext=cpp
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24269
24270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h.  */
24272 #include <math.h>
24273 int
24274 main ()
24275 {
24276  ldexpl(0, 0);
24277   ;
24278   return 0;
24279 }
24280 _ACEOF
24281 if ac_fn_cxx_try_compile "$LINENO"; then :
24282   glibcxx_cv_func_ldexpl_use=yes
24283 else
24284   glibcxx_cv_func_ldexpl_use=no
24285 fi
24286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287       ac_ext=c
24288 ac_cpp='$CPP $CPPFLAGS'
24289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24292
24293
24294 fi
24295
24296   fi
24297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24298 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24299
24300   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24301     for ac_func in ldexpl
24302 do :
24303   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24304 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24305   cat >>confdefs.h <<_ACEOF
24306 #define HAVE_LDEXPL 1
24307 _ACEOF
24308
24309 fi
24310 done
24311
24312   else
24313
24314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24315 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24316   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24317     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24318   $as_echo_n "(cached) " >&6
24319 else
24320
24321
24322       ac_ext=cpp
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24327
24328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h.  */
24330 #include <math.h>
24331 int
24332 main ()
24333 {
24334  _ldexpl(0, 0);
24335   ;
24336   return 0;
24337 }
24338 _ACEOF
24339 if ac_fn_cxx_try_compile "$LINENO"; then :
24340   glibcxx_cv_func__ldexpl_use=yes
24341 else
24342   glibcxx_cv_func__ldexpl_use=no
24343 fi
24344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345       ac_ext=c
24346 ac_cpp='$CPP $CPPFLAGS'
24347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24350
24351
24352 fi
24353
24354   fi
24355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24356 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24357
24358     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24359       for ac_func in _ldexpl
24360 do :
24361   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24362 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24363   cat >>confdefs.h <<_ACEOF
24364 #define HAVE__LDEXPL 1
24365 _ACEOF
24366
24367 fi
24368 done
24369
24370     fi
24371   fi
24372
24373
24374
24375
24376
24377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24378 $as_echo_n "checking for logl declaration... " >&6; }
24379   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24380     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24381   $as_echo_n "(cached) " >&6
24382 else
24383
24384
24385       ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h.  */
24393 #include <math.h>
24394                       #ifdef HAVE_IEEEFP_H
24395                       #include <ieeefp.h>
24396                       #endif
24397
24398 int
24399 main ()
24400 {
24401  logl(0);
24402   ;
24403   return 0;
24404 }
24405 _ACEOF
24406 if ac_fn_cxx_try_compile "$LINENO"; then :
24407   glibcxx_cv_func_logl_use=yes
24408 else
24409   glibcxx_cv_func_logl_use=no
24410 fi
24411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24412       ac_ext=c
24413 ac_cpp='$CPP $CPPFLAGS'
24414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417
24418
24419 fi
24420
24421   fi
24422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24423 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24424
24425   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24426     for ac_func in logl
24427 do :
24428   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24429 if test "x$ac_cv_func_logl" = x""yes; then :
24430   cat >>confdefs.h <<_ACEOF
24431 #define HAVE_LOGL 1
24432 _ACEOF
24433
24434 fi
24435 done
24436
24437   else
24438
24439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24440 $as_echo_n "checking for _logl declaration... " >&6; }
24441   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24442     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24443   $as_echo_n "(cached) " >&6
24444 else
24445
24446
24447       ac_ext=cpp
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452
24453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h.  */
24455 #include <math.h>
24456                       #ifdef HAVE_IEEEFP_H
24457                       #include <ieeefp.h>
24458                       #endif
24459
24460 int
24461 main ()
24462 {
24463  _logl(0);
24464   ;
24465   return 0;
24466 }
24467 _ACEOF
24468 if ac_fn_cxx_try_compile "$LINENO"; then :
24469   glibcxx_cv_func__logl_use=yes
24470 else
24471   glibcxx_cv_func__logl_use=no
24472 fi
24473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24474       ac_ext=c
24475 ac_cpp='$CPP $CPPFLAGS'
24476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24479
24480
24481 fi
24482
24483   fi
24484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24485 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24486
24487     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24488       for ac_func in _logl
24489 do :
24490   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24491 if test "x$ac_cv_func__logl" = x""yes; then :
24492   cat >>confdefs.h <<_ACEOF
24493 #define HAVE__LOGL 1
24494 _ACEOF
24495
24496 fi
24497 done
24498
24499     fi
24500   fi
24501
24502
24503
24504
24505
24506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24507 $as_echo_n "checking for log10l declaration... " >&6; }
24508   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24509     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24510   $as_echo_n "(cached) " >&6
24511 else
24512
24513
24514       ac_ext=cpp
24515 ac_cpp='$CXXCPP $CPPFLAGS'
24516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519
24520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h.  */
24522 #include <math.h>
24523                       #ifdef HAVE_IEEEFP_H
24524                       #include <ieeefp.h>
24525                       #endif
24526
24527 int
24528 main ()
24529 {
24530  log10l(0);
24531   ;
24532   return 0;
24533 }
24534 _ACEOF
24535 if ac_fn_cxx_try_compile "$LINENO"; then :
24536   glibcxx_cv_func_log10l_use=yes
24537 else
24538   glibcxx_cv_func_log10l_use=no
24539 fi
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24541       ac_ext=c
24542 ac_cpp='$CPP $CPPFLAGS'
24543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24546
24547
24548 fi
24549
24550   fi
24551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24552 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24553
24554   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24555     for ac_func in log10l
24556 do :
24557   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24558 if test "x$ac_cv_func_log10l" = x""yes; then :
24559   cat >>confdefs.h <<_ACEOF
24560 #define HAVE_LOG10L 1
24561 _ACEOF
24562
24563 fi
24564 done
24565
24566   else
24567
24568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24569 $as_echo_n "checking for _log10l declaration... " >&6; }
24570   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24571     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24572   $as_echo_n "(cached) " >&6
24573 else
24574
24575
24576       ac_ext=cpp
24577 ac_cpp='$CXXCPP $CPPFLAGS'
24578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24581
24582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24583 /* end confdefs.h.  */
24584 #include <math.h>
24585                       #ifdef HAVE_IEEEFP_H
24586                       #include <ieeefp.h>
24587                       #endif
24588
24589 int
24590 main ()
24591 {
24592  _log10l(0);
24593   ;
24594   return 0;
24595 }
24596 _ACEOF
24597 if ac_fn_cxx_try_compile "$LINENO"; then :
24598   glibcxx_cv_func__log10l_use=yes
24599 else
24600   glibcxx_cv_func__log10l_use=no
24601 fi
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603       ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24608
24609
24610 fi
24611
24612   fi
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24614 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24615
24616     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24617       for ac_func in _log10l
24618 do :
24619   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24620 if test "x$ac_cv_func__log10l" = x""yes; then :
24621   cat >>confdefs.h <<_ACEOF
24622 #define HAVE__LOG10L 1
24623 _ACEOF
24624
24625 fi
24626 done
24627
24628     fi
24629   fi
24630
24631
24632
24633
24634
24635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24636 $as_echo_n "checking for modfl declaration... " >&6; }
24637   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24638     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24639   $as_echo_n "(cached) " >&6
24640 else
24641
24642
24643       ac_ext=cpp
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24648
24649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h.  */
24651 #include <math.h>
24652 int
24653 main ()
24654 {
24655  modfl(0, 0);
24656   ;
24657   return 0;
24658 }
24659 _ACEOF
24660 if ac_fn_cxx_try_compile "$LINENO"; then :
24661   glibcxx_cv_func_modfl_use=yes
24662 else
24663   glibcxx_cv_func_modfl_use=no
24664 fi
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666       ac_ext=c
24667 ac_cpp='$CPP $CPPFLAGS'
24668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24671
24672
24673 fi
24674
24675   fi
24676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24677 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24678
24679   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24680     for ac_func in modfl
24681 do :
24682   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24683 if test "x$ac_cv_func_modfl" = x""yes; then :
24684   cat >>confdefs.h <<_ACEOF
24685 #define HAVE_MODFL 1
24686 _ACEOF
24687
24688 fi
24689 done
24690
24691   else
24692
24693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24694 $as_echo_n "checking for _modfl declaration... " >&6; }
24695   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24696     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24697   $as_echo_n "(cached) " >&6
24698 else
24699
24700
24701       ac_ext=cpp
24702 ac_cpp='$CXXCPP $CPPFLAGS'
24703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24706
24707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h.  */
24709 #include <math.h>
24710 int
24711 main ()
24712 {
24713  _modfl(0, 0);
24714   ;
24715   return 0;
24716 }
24717 _ACEOF
24718 if ac_fn_cxx_try_compile "$LINENO"; then :
24719   glibcxx_cv_func__modfl_use=yes
24720 else
24721   glibcxx_cv_func__modfl_use=no
24722 fi
24723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24724       ac_ext=c
24725 ac_cpp='$CPP $CPPFLAGS'
24726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24729
24730
24731 fi
24732
24733   fi
24734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24735 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24736
24737     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24738       for ac_func in _modfl
24739 do :
24740   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24741 if test "x$ac_cv_func__modfl" = x""yes; then :
24742   cat >>confdefs.h <<_ACEOF
24743 #define HAVE__MODFL 1
24744 _ACEOF
24745
24746 fi
24747 done
24748
24749     fi
24750   fi
24751
24752
24753
24754
24755
24756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24757 $as_echo_n "checking for powl declaration... " >&6; }
24758   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24759     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24760   $as_echo_n "(cached) " >&6
24761 else
24762
24763
24764       ac_ext=cpp
24765 ac_cpp='$CXXCPP $CPPFLAGS'
24766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24769
24770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h.  */
24772 #include <math.h>
24773 int
24774 main ()
24775 {
24776  powl(0, 0);
24777   ;
24778   return 0;
24779 }
24780 _ACEOF
24781 if ac_fn_cxx_try_compile "$LINENO"; then :
24782   glibcxx_cv_func_powl_use=yes
24783 else
24784   glibcxx_cv_func_powl_use=no
24785 fi
24786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787       ac_ext=c
24788 ac_cpp='$CPP $CPPFLAGS'
24789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24792
24793
24794 fi
24795
24796   fi
24797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24798 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24799
24800   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24801     for ac_func in powl
24802 do :
24803   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24804 if test "x$ac_cv_func_powl" = x""yes; then :
24805   cat >>confdefs.h <<_ACEOF
24806 #define HAVE_POWL 1
24807 _ACEOF
24808
24809 fi
24810 done
24811
24812   else
24813
24814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24815 $as_echo_n "checking for _powl declaration... " >&6; }
24816   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24817     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24818   $as_echo_n "(cached) " >&6
24819 else
24820
24821
24822       ac_ext=cpp
24823 ac_cpp='$CXXCPP $CPPFLAGS'
24824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24827
24828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h.  */
24830 #include <math.h>
24831 int
24832 main ()
24833 {
24834  _powl(0, 0);
24835   ;
24836   return 0;
24837 }
24838 _ACEOF
24839 if ac_fn_cxx_try_compile "$LINENO"; then :
24840   glibcxx_cv_func__powl_use=yes
24841 else
24842   glibcxx_cv_func__powl_use=no
24843 fi
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845       ac_ext=c
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850
24851
24852 fi
24853
24854   fi
24855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24856 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24857
24858     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24859       for ac_func in _powl
24860 do :
24861   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24862 if test "x$ac_cv_func__powl" = x""yes; then :
24863   cat >>confdefs.h <<_ACEOF
24864 #define HAVE__POWL 1
24865 _ACEOF
24866
24867 fi
24868 done
24869
24870     fi
24871   fi
24872
24873
24874
24875
24876
24877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24878 $as_echo_n "checking for sqrtl declaration... " >&6; }
24879   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24880     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24881   $as_echo_n "(cached) " >&6
24882 else
24883
24884
24885       ac_ext=cpp
24886 ac_cpp='$CXXCPP $CPPFLAGS'
24887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24890
24891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24892 /* end confdefs.h.  */
24893 #include <math.h>
24894                       #ifdef HAVE_IEEEFP_H
24895                       #include <ieeefp.h>
24896                       #endif
24897
24898 int
24899 main ()
24900 {
24901  sqrtl(0);
24902   ;
24903   return 0;
24904 }
24905 _ACEOF
24906 if ac_fn_cxx_try_compile "$LINENO"; then :
24907   glibcxx_cv_func_sqrtl_use=yes
24908 else
24909   glibcxx_cv_func_sqrtl_use=no
24910 fi
24911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24912       ac_ext=c
24913 ac_cpp='$CPP $CPPFLAGS'
24914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917
24918
24919 fi
24920
24921   fi
24922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24923 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24924
24925   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24926     for ac_func in sqrtl
24927 do :
24928   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24929 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24930   cat >>confdefs.h <<_ACEOF
24931 #define HAVE_SQRTL 1
24932 _ACEOF
24933
24934 fi
24935 done
24936
24937   else
24938
24939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24940 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24941   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24942     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24943   $as_echo_n "(cached) " >&6
24944 else
24945
24946
24947       ac_ext=cpp
24948 ac_cpp='$CXXCPP $CPPFLAGS'
24949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24952
24953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24954 /* end confdefs.h.  */
24955 #include <math.h>
24956                       #ifdef HAVE_IEEEFP_H
24957                       #include <ieeefp.h>
24958                       #endif
24959
24960 int
24961 main ()
24962 {
24963  _sqrtl(0);
24964   ;
24965   return 0;
24966 }
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969   glibcxx_cv_func__sqrtl_use=yes
24970 else
24971   glibcxx_cv_func__sqrtl_use=no
24972 fi
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974       ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24979
24980
24981 fi
24982
24983   fi
24984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24985 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24986
24987     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24988       for ac_func in _sqrtl
24989 do :
24990   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24991 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24992   cat >>confdefs.h <<_ACEOF
24993 #define HAVE__SQRTL 1
24994 _ACEOF
24995
24996 fi
24997 done
24998
24999     fi
25000   fi
25001
25002
25003
25004
25005
25006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25007 $as_echo_n "checking for sincosl declaration... " >&6; }
25008   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25009     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25010   $as_echo_n "(cached) " >&6
25011 else
25012
25013
25014       ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019
25020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h.  */
25022 #include <math.h>
25023 int
25024 main ()
25025 {
25026  sincosl(0, 0, 0);
25027   ;
25028   return 0;
25029 }
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032   glibcxx_cv_func_sincosl_use=yes
25033 else
25034   glibcxx_cv_func_sincosl_use=no
25035 fi
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037       ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25042
25043
25044 fi
25045
25046   fi
25047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25048 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25049
25050   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25051     for ac_func in sincosl
25052 do :
25053   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25054 if test "x$ac_cv_func_sincosl" = x""yes; then :
25055   cat >>confdefs.h <<_ACEOF
25056 #define HAVE_SINCOSL 1
25057 _ACEOF
25058
25059 fi
25060 done
25061
25062   else
25063
25064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25065 $as_echo_n "checking for _sincosl declaration... " >&6; }
25066   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25067     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25068   $as_echo_n "(cached) " >&6
25069 else
25070
25071
25072       ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25077
25078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h.  */
25080 #include <math.h>
25081 int
25082 main ()
25083 {
25084  _sincosl(0, 0, 0);
25085   ;
25086   return 0;
25087 }
25088 _ACEOF
25089 if ac_fn_cxx_try_compile "$LINENO"; then :
25090   glibcxx_cv_func__sincosl_use=yes
25091 else
25092   glibcxx_cv_func__sincosl_use=no
25093 fi
25094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25095       ac_ext=c
25096 ac_cpp='$CPP $CPPFLAGS'
25097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25100
25101
25102 fi
25103
25104   fi
25105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25106 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25107
25108     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25109       for ac_func in _sincosl
25110 do :
25111   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25112 if test "x$ac_cv_func__sincosl" = x""yes; then :
25113   cat >>confdefs.h <<_ACEOF
25114 #define HAVE__SINCOSL 1
25115 _ACEOF
25116
25117 fi
25118 done
25119
25120     fi
25121   fi
25122
25123
25124
25125
25126
25127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25128 $as_echo_n "checking for finitel declaration... " >&6; }
25129   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25130     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25131   $as_echo_n "(cached) " >&6
25132 else
25133
25134
25135       ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140
25141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h.  */
25143 #include <math.h>
25144                       #ifdef HAVE_IEEEFP_H
25145                       #include <ieeefp.h>
25146                       #endif
25147
25148 int
25149 main ()
25150 {
25151  finitel(0);
25152   ;
25153   return 0;
25154 }
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157   glibcxx_cv_func_finitel_use=yes
25158 else
25159   glibcxx_cv_func_finitel_use=no
25160 fi
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162       ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167
25168
25169 fi
25170
25171   fi
25172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25173 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25174
25175   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25176     for ac_func in finitel
25177 do :
25178   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25179 if test "x$ac_cv_func_finitel" = x""yes; then :
25180   cat >>confdefs.h <<_ACEOF
25181 #define HAVE_FINITEL 1
25182 _ACEOF
25183
25184 fi
25185 done
25186
25187   else
25188
25189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25190 $as_echo_n "checking for _finitel declaration... " >&6; }
25191   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25192     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25193   $as_echo_n "(cached) " >&6
25194 else
25195
25196
25197       ac_ext=cpp
25198 ac_cpp='$CXXCPP $CPPFLAGS'
25199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25202
25203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h.  */
25205 #include <math.h>
25206                       #ifdef HAVE_IEEEFP_H
25207                       #include <ieeefp.h>
25208                       #endif
25209
25210 int
25211 main ()
25212 {
25213  _finitel(0);
25214   ;
25215   return 0;
25216 }
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219   glibcxx_cv_func__finitel_use=yes
25220 else
25221   glibcxx_cv_func__finitel_use=no
25222 fi
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224       ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231 fi
25232
25233   fi
25234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25235 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25236
25237     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25238       for ac_func in _finitel
25239 do :
25240   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25241 if test "x$ac_cv_func__finitel" = x""yes; then :
25242   cat >>confdefs.h <<_ACEOF
25243 #define HAVE__FINITEL 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249     fi
25250   fi
25251
25252
25253
25254
25255   LIBS="$ac_save_LIBS"
25256   CXXFLAGS="$ac_save_CXXFLAGS"
25257
25258
25259   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25260   ac_save_CXXFLAGS="$CXXFLAGS"
25261   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25262
25263
25264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25265 $as_echo_n "checking for strtold declaration... " >&6; }
25266   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25267     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25268   $as_echo_n "(cached) " >&6
25269 else
25270
25271
25272       ac_ext=cpp
25273 ac_cpp='$CXXCPP $CPPFLAGS'
25274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25277
25278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h.  */
25280 #include <stdlib.h>
25281 int
25282 main ()
25283 {
25284  strtold(0, 0);
25285   ;
25286   return 0;
25287 }
25288 _ACEOF
25289 if ac_fn_cxx_try_compile "$LINENO"; then :
25290   glibcxx_cv_func_strtold_use=yes
25291 else
25292   glibcxx_cv_func_strtold_use=no
25293 fi
25294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295       ac_ext=c
25296 ac_cpp='$CPP $CPPFLAGS'
25297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25300
25301
25302 fi
25303
25304   fi
25305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25306 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25307   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25308     for ac_func in strtold
25309 do :
25310   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25311 if test "x$ac_cv_func_strtold" = x""yes; then :
25312   cat >>confdefs.h <<_ACEOF
25313 #define HAVE_STRTOLD 1
25314 _ACEOF
25315
25316 fi
25317 done
25318
25319   fi
25320
25321
25322
25323
25324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25325 $as_echo_n "checking for strtof declaration... " >&6; }
25326   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25327     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25328   $as_echo_n "(cached) " >&6
25329 else
25330
25331
25332       ac_ext=cpp
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25337
25338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25339 /* end confdefs.h.  */
25340 #include <stdlib.h>
25341 int
25342 main ()
25343 {
25344  strtof(0, 0);
25345   ;
25346   return 0;
25347 }
25348 _ACEOF
25349 if ac_fn_cxx_try_compile "$LINENO"; then :
25350   glibcxx_cv_func_strtof_use=yes
25351 else
25352   glibcxx_cv_func_strtof_use=no
25353 fi
25354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25355       ac_ext=c
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360
25361
25362 fi
25363
25364   fi
25365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25366 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25367   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25368     for ac_func in strtof
25369 do :
25370   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25371 if test "x$ac_cv_func_strtof" = x""yes; then :
25372   cat >>confdefs.h <<_ACEOF
25373 #define HAVE_STRTOF 1
25374 _ACEOF
25375
25376 fi
25377 done
25378
25379   fi
25380
25381
25382
25383
25384   CXXFLAGS="$ac_save_CXXFLAGS"
25385
25386
25387   # For /dev/random and /dev/urandom for TR1.
25388
25389
25390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25391 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25392   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25393   $as_echo_n "(cached) " >&6
25394 else
25395
25396     if test -r /dev/random && test -r /dev/urandom; then
25397       glibcxx_cv_random_tr1=yes;
25398     else
25399       glibcxx_cv_random_tr1=no;
25400     fi
25401
25402 fi
25403
25404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25405 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25406
25407   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25408
25409 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25410
25411   fi
25412
25413
25414
25415   # For TLS support.
25416
25417
25418    # Check whether --enable-tls was given.
25419 if test "${enable_tls+set}" = set; then :
25420   enableval=$enable_tls;
25421       case "$enableval" in
25422        yes|no) ;;
25423        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25424       esac
25425
25426 else
25427   enable_tls=yes
25428 fi
25429
25430
25431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25432 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25433 if test "${gcc_cv_have_tls+set}" = set; then :
25434   $as_echo_n "(cached) " >&6
25435 else
25436
25437     if test "$cross_compiling" = yes; then :
25438                 if test x$gcc_no_link = xyes; then
25439   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25440 fi
25441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25442 /* end confdefs.h.  */
25443 __thread int a; int b; int main() { return a = b; }
25444 _ACEOF
25445 if ac_fn_c_try_link "$LINENO"; then :
25446   chktls_save_LDFLAGS="$LDFLAGS"
25447                           case $host in
25448             *-*-linux*)
25449               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25450               ;;
25451           esac
25452           chktls_save_CFLAGS="$CFLAGS"
25453           CFLAGS="-fPIC $CFLAGS"
25454                   if test x$gcc_no_link = xyes; then
25455   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25456 fi
25457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h.  */
25459 int f() { return 0; }
25460 _ACEOF
25461 if ac_fn_c_try_link "$LINENO"; then :
25462   if test x$gcc_no_link = xyes; then
25463   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25464 fi
25465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25466 /* end confdefs.h.  */
25467 __thread int a; int b; int f() { return a = b; }
25468 _ACEOF
25469 if ac_fn_c_try_link "$LINENO"; then :
25470   gcc_cv_have_tls=yes
25471 else
25472   gcc_cv_have_tls=no
25473 fi
25474 rm -f core conftest.err conftest.$ac_objext \
25475     conftest$ac_exeext conftest.$ac_ext
25476 else
25477   gcc_cv_have_tls=yes
25478 fi
25479 rm -f core conftest.err conftest.$ac_objext \
25480     conftest$ac_exeext conftest.$ac_ext
25481           CFLAGS="$chktls_save_CFLAGS"
25482           LDFLAGS="$chktls_save_LDFLAGS"
25483 else
25484   gcc_cv_have_tls=no
25485 fi
25486 rm -f core conftest.err conftest.$ac_objext \
25487     conftest$ac_exeext conftest.$ac_ext
25488
25489
25490 else
25491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25492 /* end confdefs.h.  */
25493 __thread int a; int b; int main() { return a = b; }
25494 _ACEOF
25495 if ac_fn_c_try_run "$LINENO"; then :
25496                       chktls_save_LDFLAGS="$LDFLAGS"
25497       LDFLAGS="-static $LDFLAGS"
25498       if test x$gcc_no_link = xyes; then
25499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25500 fi
25501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25502 /* end confdefs.h.  */
25503 int main() { return 0; }
25504 _ACEOF
25505 if ac_fn_c_try_link "$LINENO"; then :
25506   if test "$cross_compiling" = yes; then :
25507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25509 as_fn_error "cannot run test program while cross compiling
25510 See \`config.log' for more details." "$LINENO" 5; }
25511 else
25512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25513 /* end confdefs.h.  */
25514 __thread int a; int b; int main() { return a = b; }
25515 _ACEOF
25516 if ac_fn_c_try_run "$LINENO"; then :
25517   gcc_cv_have_tls=yes
25518 else
25519   gcc_cv_have_tls=no
25520 fi
25521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25522   conftest.$ac_objext conftest.beam conftest.$ac_ext
25523 fi
25524
25525 else
25526   gcc_cv_have_tls=yes
25527 fi
25528 rm -f core conftest.err conftest.$ac_objext \
25529     conftest$ac_exeext conftest.$ac_ext
25530       LDFLAGS="$chktls_save_LDFLAGS"
25531       if test $gcc_cv_have_tls = yes; then
25532                                                 chktls_save_CFLAGS="$CFLAGS"
25533         thread_CFLAGS=failed
25534         for flag in '' '-pthread' '-lpthread'; do
25535           CFLAGS="$flag $chktls_save_CFLAGS"
25536           if test x$gcc_no_link = xyes; then
25537   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25538 fi
25539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25540 /* end confdefs.h.  */
25541 #include <pthread.h>
25542                 void *g(void *d) { return NULL; }
25543 int
25544 main ()
25545 {
25546 pthread_t t; pthread_create(&t,NULL,g,NULL);
25547   ;
25548   return 0;
25549 }
25550 _ACEOF
25551 if ac_fn_c_try_link "$LINENO"; then :
25552   thread_CFLAGS="$flag"
25553 fi
25554 rm -f core conftest.err conftest.$ac_objext \
25555     conftest$ac_exeext conftest.$ac_ext
25556           if test "X$thread_CFLAGS" != Xfailed; then
25557             break
25558           fi
25559         done
25560         CFLAGS="$chktls_save_CFLAGS"
25561         if test "X$thread_CFLAGS" != Xfailed; then
25562           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25563           if test "$cross_compiling" = yes; then :
25564   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25566 as_fn_error "cannot run test program while cross compiling
25567 See \`config.log' for more details." "$LINENO" 5; }
25568 else
25569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h.  */
25571 #include <pthread.h>
25572                 __thread int a;
25573                 static int *a_in_other_thread;
25574                 static void *
25575                 thread_func (void *arg)
25576                 {
25577                   a_in_other_thread = &a;
25578                   return (void *)0;
25579                 }
25580 int
25581 main ()
25582 {
25583 pthread_t thread;
25584                 void *thread_retval;
25585                 int *a_in_main_thread;
25586                 if (pthread_create (&thread, (pthread_attr_t *)0,
25587                                     thread_func, (void *)0))
25588                   return 0;
25589                 a_in_main_thread = &a;
25590                 if (pthread_join (thread, &thread_retval))
25591                   return 0;
25592                 return (a_in_other_thread == a_in_main_thread);
25593   ;
25594   return 0;
25595 }
25596 _ACEOF
25597 if ac_fn_c_try_run "$LINENO"; then :
25598   gcc_cv_have_tls=yes
25599 else
25600   gcc_cv_have_tls=no
25601 fi
25602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25603   conftest.$ac_objext conftest.beam conftest.$ac_ext
25604 fi
25605
25606           CFLAGS="$chktls_save_CFLAGS"
25607         fi
25608       fi
25609 else
25610   gcc_cv_have_tls=no
25611 fi
25612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25613   conftest.$ac_objext conftest.beam conftest.$ac_ext
25614 fi
25615
25616 fi
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25618 $as_echo "$gcc_cv_have_tls" >&6; }
25619   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25620
25621 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25622
25623   fi
25624
25625   # For iconv support.
25626
25627       if test "X$prefix" = "XNONE"; then
25628     acl_final_prefix="$ac_default_prefix"
25629   else
25630     acl_final_prefix="$prefix"
25631   fi
25632   if test "X$exec_prefix" = "XNONE"; then
25633     acl_final_exec_prefix='${prefix}'
25634   else
25635     acl_final_exec_prefix="$exec_prefix"
25636   fi
25637   acl_save_prefix="$prefix"
25638   prefix="$acl_final_prefix"
25639   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25640   prefix="$acl_save_prefix"
25641
25642
25643 # Check whether --with-gnu-ld was given.
25644 if test "${with_gnu_ld+set}" = set; then :
25645   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25646 else
25647   with_gnu_ld=no
25648 fi
25649
25650 # Prepare PATH_SEPARATOR.
25651 # The user is always right.
25652 if test "${PATH_SEPARATOR+set}" != set; then
25653   echo "#! /bin/sh" >conf$$.sh
25654   echo  "exit 0"   >>conf$$.sh
25655   chmod +x conf$$.sh
25656   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25657     PATH_SEPARATOR=';'
25658   else
25659     PATH_SEPARATOR=:
25660   fi
25661   rm -f conf$$.sh
25662 fi
25663 ac_prog=ld
25664 if test "$GCC" = yes; then
25665   # Check if gcc -print-prog-name=ld gives a path.
25666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25667 $as_echo_n "checking for ld used by GCC... " >&6; }
25668   case $host in
25669   *-*-mingw*)
25670     # gcc leaves a trailing carriage return which upsets mingw
25671     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25672   *)
25673     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25674   esac
25675   case $ac_prog in
25676     # Accept absolute paths.
25677     [\\/]* | [A-Za-z]:[\\/]*)
25678       re_direlt='/[^/][^/]*/\.\./'
25679       # Canonicalize the path of ld
25680       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25681       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25682         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25683       done
25684       test -z "$LD" && LD="$ac_prog"
25685       ;;
25686   "")
25687     # If it fails, then pretend we aren't using GCC.
25688     ac_prog=ld
25689     ;;
25690   *)
25691     # If it is relative, then search for the first ld in PATH.
25692     with_gnu_ld=unknown
25693     ;;
25694   esac
25695 elif test "$with_gnu_ld" = yes; then
25696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25697 $as_echo_n "checking for GNU ld... " >&6; }
25698 else
25699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25700 $as_echo_n "checking for non-GNU ld... " >&6; }
25701 fi
25702 if test "${acl_cv_path_LD+set}" = set; then :
25703   $as_echo_n "(cached) " >&6
25704 else
25705   if test -z "$LD"; then
25706   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25707   for ac_dir in $PATH; do
25708     test -z "$ac_dir" && ac_dir=.
25709     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25710       acl_cv_path_LD="$ac_dir/$ac_prog"
25711       # Check to see if the program is GNU ld.  I'd rather use --version,
25712       # but apparently some GNU ld's only accept -v.
25713       # Break only if it was the GNU/non-GNU ld that we prefer.
25714       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25715         test "$with_gnu_ld" != no && break
25716       else
25717         test "$with_gnu_ld" != yes && break
25718       fi
25719     fi
25720   done
25721   IFS="$ac_save_ifs"
25722 else
25723   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25724 fi
25725 fi
25726
25727 LD="$acl_cv_path_LD"
25728 if test -n "$LD"; then
25729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25730 $as_echo "$LD" >&6; }
25731 else
25732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25733 $as_echo "no" >&6; }
25734 fi
25735 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25737 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25738 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25739   $as_echo_n "(cached) " >&6
25740 else
25741   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25742 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25743   acl_cv_prog_gnu_ld=yes
25744 else
25745   acl_cv_prog_gnu_ld=no
25746 fi
25747 fi
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25749 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25750 with_gnu_ld=$acl_cv_prog_gnu_ld
25751
25752
25753
25754                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25755 $as_echo_n "checking for shared library run path origin... " >&6; }
25756 if test "${acl_cv_rpath+set}" = set; then :
25757   $as_echo_n "(cached) " >&6
25758 else
25759
25760     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25761     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25762     . ./conftest.sh
25763     rm -f ./conftest.sh
25764     acl_cv_rpath=done
25765
25766 fi
25767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25768 $as_echo "$acl_cv_rpath" >&6; }
25769   wl="$acl_cv_wl"
25770   libext="$acl_cv_libext"
25771   shlibext="$acl_cv_shlibext"
25772   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25773   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25774   hardcode_direct="$acl_cv_hardcode_direct"
25775   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25776     # Check whether --enable-rpath was given.
25777 if test "${enable_rpath+set}" = set; then :
25778   enableval=$enable_rpath; :
25779 else
25780   enable_rpath=yes
25781 fi
25782
25783
25784
25785
25786
25787
25788
25789
25790     use_additional=yes
25791
25792   acl_save_prefix="$prefix"
25793   prefix="$acl_final_prefix"
25794   acl_save_exec_prefix="$exec_prefix"
25795   exec_prefix="$acl_final_exec_prefix"
25796
25797     eval additional_includedir=\"$includedir\"
25798     eval additional_libdir=\"$libdir\"
25799
25800   exec_prefix="$acl_save_exec_prefix"
25801   prefix="$acl_save_prefix"
25802
25803
25804 # Check whether --with-libiconv-prefix was given.
25805 if test "${with_libiconv_prefix+set}" = set; then :
25806   withval=$with_libiconv_prefix;
25807     if test "X$withval" = "Xno"; then
25808       use_additional=no
25809     else
25810       if test "X$withval" = "X"; then
25811
25812   acl_save_prefix="$prefix"
25813   prefix="$acl_final_prefix"
25814   acl_save_exec_prefix="$exec_prefix"
25815   exec_prefix="$acl_final_exec_prefix"
25816
25817           eval additional_includedir=\"$includedir\"
25818           eval additional_libdir=\"$libdir\"
25819
25820   exec_prefix="$acl_save_exec_prefix"
25821   prefix="$acl_save_prefix"
25822
25823       else
25824         additional_includedir="$withval/include"
25825         additional_libdir="$withval/lib"
25826       fi
25827     fi
25828
25829 fi
25830
25831       LIBICONV=
25832   LTLIBICONV=
25833   INCICONV=
25834   rpathdirs=
25835   ltrpathdirs=
25836   names_already_handled=
25837   names_next_round='iconv '
25838   while test -n "$names_next_round"; do
25839     names_this_round="$names_next_round"
25840     names_next_round=
25841     for name in $names_this_round; do
25842       already_handled=
25843       for n in $names_already_handled; do
25844         if test "$n" = "$name"; then
25845           already_handled=yes
25846           break
25847         fi
25848       done
25849       if test -z "$already_handled"; then
25850         names_already_handled="$names_already_handled $name"
25851                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25852         eval value=\"\$HAVE_LIB$uppername\"
25853         if test -n "$value"; then
25854           if test "$value" = yes; then
25855             eval value=\"\$LIB$uppername\"
25856             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25857             eval value=\"\$LTLIB$uppername\"
25858             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25859           else
25860                                     :
25861           fi
25862         else
25863                               found_dir=
25864           found_la=
25865           found_so=
25866           found_a=
25867           if test $use_additional = yes; then
25868             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25869               found_dir="$additional_libdir"
25870               found_so="$additional_libdir/lib$name.$shlibext"
25871               if test -f "$additional_libdir/lib$name.la"; then
25872                 found_la="$additional_libdir/lib$name.la"
25873               fi
25874             else
25875               if test -f "$additional_libdir/lib$name.$libext"; then
25876                 found_dir="$additional_libdir"
25877                 found_a="$additional_libdir/lib$name.$libext"
25878                 if test -f "$additional_libdir/lib$name.la"; then
25879                   found_la="$additional_libdir/lib$name.la"
25880                 fi
25881               fi
25882             fi
25883           fi
25884           if test "X$found_dir" = "X"; then
25885             for x in $LDFLAGS $LTLIBICONV; do
25886
25887   acl_save_prefix="$prefix"
25888   prefix="$acl_final_prefix"
25889   acl_save_exec_prefix="$exec_prefix"
25890   exec_prefix="$acl_final_exec_prefix"
25891   eval x=\"$x\"
25892   exec_prefix="$acl_save_exec_prefix"
25893   prefix="$acl_save_prefix"
25894
25895               case "$x" in
25896                 -L*)
25897                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25898                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25899                     found_dir="$dir"
25900                     found_so="$dir/lib$name.$shlibext"
25901                     if test -f "$dir/lib$name.la"; then
25902                       found_la="$dir/lib$name.la"
25903                     fi
25904                   else
25905                     if test -f "$dir/lib$name.$libext"; then
25906                       found_dir="$dir"
25907                       found_a="$dir/lib$name.$libext"
25908                       if test -f "$dir/lib$name.la"; then
25909                         found_la="$dir/lib$name.la"
25910                       fi
25911                     fi
25912                   fi
25913                   ;;
25914               esac
25915               if test "X$found_dir" != "X"; then
25916                 break
25917               fi
25918             done
25919           fi
25920           if test "X$found_dir" != "X"; then
25921                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25922             if test "X$found_so" != "X"; then
25923                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25924                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25925               else
25926                                                                                 haveit=
25927                 for x in $ltrpathdirs; do
25928                   if test "X$x" = "X$found_dir"; then
25929                     haveit=yes
25930                     break
25931                   fi
25932                 done
25933                 if test -z "$haveit"; then
25934                   ltrpathdirs="$ltrpathdirs $found_dir"
25935                 fi
25936                                 if test "$hardcode_direct" = yes; then
25937                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25938                 else
25939                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25940                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25941                                                             haveit=
25942                     for x in $rpathdirs; do
25943                       if test "X$x" = "X$found_dir"; then
25944                         haveit=yes
25945                         break
25946                       fi
25947                     done
25948                     if test -z "$haveit"; then
25949                       rpathdirs="$rpathdirs $found_dir"
25950                     fi
25951                   else
25952                                                                                 haveit=
25953                     for x in $LDFLAGS $LIBICONV; do
25954
25955   acl_save_prefix="$prefix"
25956   prefix="$acl_final_prefix"
25957   acl_save_exec_prefix="$exec_prefix"
25958   exec_prefix="$acl_final_exec_prefix"
25959   eval x=\"$x\"
25960   exec_prefix="$acl_save_exec_prefix"
25961   prefix="$acl_save_prefix"
25962
25963                       if test "X$x" = "X-L$found_dir"; then
25964                         haveit=yes
25965                         break
25966                       fi
25967                     done
25968                     if test -z "$haveit"; then
25969                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25970                     fi
25971                     if test "$hardcode_minus_L" != no; then
25972                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25973                     else
25974                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25975                     fi
25976                   fi
25977                 fi
25978               fi
25979             else
25980               if test "X$found_a" != "X"; then
25981                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25982               else
25983                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25984               fi
25985             fi
25986                         additional_includedir=
25987             case "$found_dir" in
25988               */lib | */lib/)
25989                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25990                 additional_includedir="$basedir/include"
25991                 ;;
25992             esac
25993             if test "X$additional_includedir" != "X"; then
25994                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25995                 haveit=
25996                 if test "X$additional_includedir" = "X/usr/local/include"; then
25997                   if test -n "$GCC"; then
25998                     case $host_os in
25999                       linux*) haveit=yes;;
26000                     esac
26001                   fi
26002                 fi
26003                 if test -z "$haveit"; then
26004                   for x in $CPPFLAGS $INCICONV; do
26005
26006   acl_save_prefix="$prefix"
26007   prefix="$acl_final_prefix"
26008   acl_save_exec_prefix="$exec_prefix"
26009   exec_prefix="$acl_final_exec_prefix"
26010   eval x=\"$x\"
26011   exec_prefix="$acl_save_exec_prefix"
26012   prefix="$acl_save_prefix"
26013
26014                     if test "X$x" = "X-I$additional_includedir"; then
26015                       haveit=yes
26016                       break
26017                     fi
26018                   done
26019                   if test -z "$haveit"; then
26020                     if test -d "$additional_includedir"; then
26021                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26022                     fi
26023                   fi
26024                 fi
26025               fi
26026             fi
26027                         if test -n "$found_la"; then
26028                                                         save_libdir="$libdir"
26029               case "$found_la" in
26030                 */* | *\\*) . "$found_la" ;;
26031                 *) . "./$found_la" ;;
26032               esac
26033               libdir="$save_libdir"
26034                             for dep in $dependency_libs; do
26035                 case "$dep" in
26036                   -L*)
26037                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26038                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26039                       haveit=
26040                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26041                         if test -n "$GCC"; then
26042                           case $host_os in
26043                             linux*) haveit=yes;;
26044                           esac
26045                         fi
26046                       fi
26047                       if test -z "$haveit"; then
26048                         haveit=
26049                         for x in $LDFLAGS $LIBICONV; do
26050
26051   acl_save_prefix="$prefix"
26052   prefix="$acl_final_prefix"
26053   acl_save_exec_prefix="$exec_prefix"
26054   exec_prefix="$acl_final_exec_prefix"
26055   eval x=\"$x\"
26056   exec_prefix="$acl_save_exec_prefix"
26057   prefix="$acl_save_prefix"
26058
26059                           if test "X$x" = "X-L$additional_libdir"; then
26060                             haveit=yes
26061                             break
26062                           fi
26063                         done
26064                         if test -z "$haveit"; then
26065                           if test -d "$additional_libdir"; then
26066                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26067                           fi
26068                         fi
26069                         haveit=
26070                         for x in $LDFLAGS $LTLIBICONV; do
26071
26072   acl_save_prefix="$prefix"
26073   prefix="$acl_final_prefix"
26074   acl_save_exec_prefix="$exec_prefix"
26075   exec_prefix="$acl_final_exec_prefix"
26076   eval x=\"$x\"
26077   exec_prefix="$acl_save_exec_prefix"
26078   prefix="$acl_save_prefix"
26079
26080                           if test "X$x" = "X-L$additional_libdir"; then
26081                             haveit=yes
26082                             break
26083                           fi
26084                         done
26085                         if test -z "$haveit"; then
26086                           if test -d "$additional_libdir"; then
26087                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26088                           fi
26089                         fi
26090                       fi
26091                     fi
26092                     ;;
26093                   -R*)
26094                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26095                     if test "$enable_rpath" != no; then
26096                                                                   haveit=
26097                       for x in $rpathdirs; do
26098                         if test "X$x" = "X$dir"; then
26099                           haveit=yes
26100                           break
26101                         fi
26102                       done
26103                       if test -z "$haveit"; then
26104                         rpathdirs="$rpathdirs $dir"
26105                       fi
26106                                                                   haveit=
26107                       for x in $ltrpathdirs; do
26108                         if test "X$x" = "X$dir"; then
26109                           haveit=yes
26110                           break
26111                         fi
26112                       done
26113                       if test -z "$haveit"; then
26114                         ltrpathdirs="$ltrpathdirs $dir"
26115                       fi
26116                     fi
26117                     ;;
26118                   -l*)
26119                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26120                     ;;
26121                   *.la)
26122                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26123                     ;;
26124                   *)
26125                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26126                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26127                     ;;
26128                 esac
26129               done
26130             fi
26131           else
26132                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26133             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26134           fi
26135         fi
26136       fi
26137     done
26138   done
26139   if test "X$rpathdirs" != "X"; then
26140     if test -n "$hardcode_libdir_separator"; then
26141                         alldirs=
26142       for found_dir in $rpathdirs; do
26143         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26144       done
26145             acl_save_libdir="$libdir"
26146       libdir="$alldirs"
26147       eval flag=\"$hardcode_libdir_flag_spec\"
26148       libdir="$acl_save_libdir"
26149       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26150     else
26151             for found_dir in $rpathdirs; do
26152         acl_save_libdir="$libdir"
26153         libdir="$found_dir"
26154         eval flag=\"$hardcode_libdir_flag_spec\"
26155         libdir="$acl_save_libdir"
26156         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26157       done
26158     fi
26159   fi
26160   if test "X$ltrpathdirs" != "X"; then
26161             for found_dir in $ltrpathdirs; do
26162       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26163     done
26164   fi
26165
26166
26167
26168
26169
26170
26171
26172           am_save_CPPFLAGS="$CPPFLAGS"
26173
26174   for element in $INCICONV; do
26175     haveit=
26176     for x in $CPPFLAGS; do
26177
26178   acl_save_prefix="$prefix"
26179   prefix="$acl_final_prefix"
26180   acl_save_exec_prefix="$exec_prefix"
26181   exec_prefix="$acl_final_exec_prefix"
26182   eval x=\"$x\"
26183   exec_prefix="$acl_save_exec_prefix"
26184   prefix="$acl_save_prefix"
26185
26186       if test "X$x" = "X$element"; then
26187         haveit=yes
26188         break
26189       fi
26190     done
26191     if test -z "$haveit"; then
26192       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26193     fi
26194   done
26195
26196
26197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26198 $as_echo_n "checking for iconv... " >&6; }
26199 if test "${am_cv_func_iconv+set}" = set; then :
26200   $as_echo_n "(cached) " >&6
26201 else
26202
26203     am_cv_func_iconv="no, consider installing GNU libiconv"
26204     am_cv_lib_iconv=no
26205     if test x$gcc_no_link = xyes; then
26206   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26207 fi
26208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26209 /* end confdefs.h.  */
26210 #include <stdlib.h>
26211 #include <iconv.h>
26212 int
26213 main ()
26214 {
26215 iconv_t cd = iconv_open("","");
26216        iconv(cd,NULL,NULL,NULL,NULL);
26217        iconv_close(cd);
26218   ;
26219   return 0;
26220 }
26221 _ACEOF
26222 if ac_fn_c_try_link "$LINENO"; then :
26223   am_cv_func_iconv=yes
26224 fi
26225 rm -f core conftest.err conftest.$ac_objext \
26226     conftest$ac_exeext conftest.$ac_ext
26227     if test "$am_cv_func_iconv" != yes; then
26228       am_save_LIBS="$LIBS"
26229       LIBS="$LIBS $LIBICONV"
26230       if test x$gcc_no_link = xyes; then
26231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26232 fi
26233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26234 /* end confdefs.h.  */
26235 #include <stdlib.h>
26236 #include <iconv.h>
26237 int
26238 main ()
26239 {
26240 iconv_t cd = iconv_open("","");
26241          iconv(cd,NULL,NULL,NULL,NULL);
26242          iconv_close(cd);
26243   ;
26244   return 0;
26245 }
26246 _ACEOF
26247 if ac_fn_c_try_link "$LINENO"; then :
26248   am_cv_lib_iconv=yes
26249         am_cv_func_iconv=yes
26250 fi
26251 rm -f core conftest.err conftest.$ac_objext \
26252     conftest$ac_exeext conftest.$ac_ext
26253       LIBS="$am_save_LIBS"
26254     fi
26255
26256 fi
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26258 $as_echo "$am_cv_func_iconv" >&6; }
26259   if test "$am_cv_func_iconv" = yes; then
26260
26261 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26262
26263   fi
26264   if test "$am_cv_lib_iconv" = yes; then
26265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26266 $as_echo_n "checking how to link with libiconv... " >&6; }
26267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26268 $as_echo "$LIBICONV" >&6; }
26269   else
26270             CPPFLAGS="$am_save_CPPFLAGS"
26271     LIBICONV=
26272     LTLIBICONV=
26273   fi
26274
26275
26276
26277   if test "$am_cv_func_iconv" = yes; then
26278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26279 $as_echo_n "checking for iconv declaration... " >&6; }
26280     if test "${am_cv_proto_iconv+set}" = set; then :
26281   $as_echo_n "(cached) " >&6
26282 else
26283
26284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26285 /* end confdefs.h.  */
26286
26287 #include <stdlib.h>
26288 #include <iconv.h>
26289 extern
26290 #ifdef __cplusplus
26291 "C"
26292 #endif
26293 #if defined(__STDC__) || defined(__cplusplus)
26294 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26295 #else
26296 size_t iconv();
26297 #endif
26298
26299 int
26300 main ()
26301 {
26302
26303   ;
26304   return 0;
26305 }
26306 _ACEOF
26307 if ac_fn_c_try_compile "$LINENO"; then :
26308   am_cv_proto_iconv_arg1=""
26309 else
26310   am_cv_proto_iconv_arg1="const"
26311 fi
26312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26313       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);"
26314 fi
26315
26316     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26317     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26318          }$am_cv_proto_iconv" >&5
26319 $as_echo "${ac_t:-
26320          }$am_cv_proto_iconv" >&6; }
26321
26322 cat >>confdefs.h <<_ACEOF
26323 #define ICONV_CONST $am_cv_proto_iconv_arg1
26324 _ACEOF
26325
26326   fi
26327
26328
26329 else
26330
26331   # This lets us hard-code the functionality we know we'll have in the cross
26332   # target environment.  "Let" is a sugar-coated word placed on an especially
26333   # dull and tedious hack, actually.
26334   #
26335   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26336   # that involve linking, can't be used:
26337   #    "cannot open sim-crt0.o"
26338   #    "cannot open crt0.o"
26339   # etc.  All this is because there currently exists no unified, consistent
26340   # way for top level CC information to be passed down to target directories:
26341   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26342   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26343   # crosses can be removed.
26344
26345   # If Canadian cross, then don't pick up tools from the build directory.
26346   # Used only in GLIBCXX_EXPORT_INCLUDES.
26347   if test -n "$with_cross_host" &&
26348      test x"$build_alias" != x"$with_cross_host" &&
26349      test x"$build" != x"$target";
26350   then
26351     CANADIAN=yes
26352   else
26353     CANADIAN=no
26354   fi
26355
26356   # Construct crosses by hand, eliminating bits that need ld...
26357   # GLIBCXX_CHECK_MATH_SUPPORT
26358
26359   # First, test for "known" system libraries.  We may be using newlib even
26360   # on a hosted environment.
26361   if test "x${with_newlib}" = "xyes"; then
26362     os_include_dir="os/newlib"
26363     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26364
26365
26366     # GLIBCXX_CHECK_STDLIB_SUPPORT
26367     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26368
26369
26370     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26371
26372     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26373
26374     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26375
26376     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26377
26378     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26379
26380     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26381
26382     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26383
26384     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26385
26386     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26387
26388     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26389
26390     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26391
26392     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26393
26394     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26395
26396     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26397
26398     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26399
26400     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26401
26402     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26403
26404     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26405
26406     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26407
26408     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26409
26410     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26411
26412     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26413
26414
26415     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26416
26417   else
26418
26419 # Base decisions on target environment.
26420 case "${host}" in
26421   arm*-*-symbianelf*)
26422     # This is a freestanding configuration; there is nothing to do here.
26423     ;;
26424
26425   mips*-sde-elf*)
26426     # These definitions are for the SDE C library rather than newlib.
26427     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26428
26429
26430   # All these tests are for C++; save the language and the compiler flags.
26431   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26432   # found in GLIBCXX_CONFIGURE.
26433
26434   ac_ext=cpp
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26439
26440   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26441   ac_save_CXXFLAGS="$CXXFLAGS"
26442
26443   # Check for maintainer-mode bits.
26444   if test x"$USE_MAINTAINER_MODE" = xno; then
26445     WERROR=''
26446   else
26447     WERROR='-Werror'
26448   fi
26449
26450   # Check for -ffunction-sections -fdata-sections
26451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26452 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26453   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26455 /* end confdefs.h.  */
26456 int foo; void bar() { };
26457 int
26458 main ()
26459 {
26460
26461   ;
26462   return 0;
26463 }
26464 _ACEOF
26465 if ac_fn_cxx_try_compile "$LINENO"; then :
26466   ac_fdsections=yes
26467 else
26468   ac_fdsections=no
26469 fi
26470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26471   if test "$ac_test_CXXFLAGS" = set; then
26472     CXXFLAGS="$ac_save_CXXFLAGS"
26473   else
26474     # this is the suspicious part
26475     CXXFLAGS=''
26476   fi
26477   if test x"$ac_fdsections" = x"yes"; then
26478     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26479   fi
26480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26481 $as_echo "$ac_fdsections" >&6; }
26482
26483   ac_ext=c
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488
26489
26490
26491
26492
26493   # If we're not using GNU ld, then there's no point in even trying these
26494   # tests.  Check for that first.  We should have already tested for gld
26495   # by now (in libtool), but require it now just to be safe...
26496   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26497   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26498
26499
26500
26501   # The name set by libtool depends on the version of libtool.  Shame on us
26502   # for depending on an impl detail, but c'est la vie.  Older versions used
26503   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26504   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26505   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26506   # set (hence we're using an older libtool), then set it.
26507   if test x${with_gnu_ld+set} != xset; then
26508     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26509       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26510       with_gnu_ld=no
26511     else
26512       with_gnu_ld=$ac_cv_prog_gnu_ld
26513     fi
26514   fi
26515
26516   # Start by getting the version number.  I think the libtool test already
26517   # does some of this, but throws away the result.
26518   glibcxx_ld_is_gold=no
26519   if test x"$with_gnu_ld" = x"yes"; then
26520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26521 $as_echo_n "checking for ld version... " >&6; }
26522
26523     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26524       glibcxx_ld_is_gold=yes
26525     fi
26526     ldver=`$LD --version 2>/dev/null |
26527            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'`
26528
26529     glibcxx_gnu_ld_version=`echo $ldver | \
26530            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26532 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26533   fi
26534
26535   # Set --gc-sections.
26536   glibcxx_have_gc_sections=no
26537   if test "$glibcxx_ld_is_gold" = "yes"; then
26538     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26539       glibcxx_have_gc_sections=yes
26540     fi
26541   else
26542     glibcxx_gcsections_min_ld=21602
26543     if test x"$with_gnu_ld" = x"yes" &&
26544         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26545       glibcxx_have_gc_sections=yes
26546     fi
26547   fi
26548   if test "$glibcxx_have_gc_sections" = "yes"; then
26549     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26550     # NB: This flag only works reliably after 2.16.1. Configure tests
26551     # for this are difficult, so hard wire a value that should work.
26552
26553     ac_test_CFLAGS="${CFLAGS+set}"
26554     ac_save_CFLAGS="$CFLAGS"
26555     CFLAGS='-Wl,--gc-sections'
26556
26557     # Check for -Wl,--gc-sections
26558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26559 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26560     if test x$gcc_no_link = xyes; then
26561   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26562 fi
26563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26564 /* end confdefs.h.  */
26565  int one(void) { return 1; }
26566      int two(void) { return 2; }
26567
26568 int
26569 main ()
26570 {
26571  two();
26572   ;
26573   return 0;
26574 }
26575 _ACEOF
26576 if ac_fn_c_try_link "$LINENO"; then :
26577   ac_gcsections=yes
26578 else
26579   ac_gcsections=no
26580 fi
26581 rm -f core conftest.err conftest.$ac_objext \
26582     conftest$ac_exeext conftest.$ac_ext
26583     if test "$ac_gcsections" = "yes"; then
26584       rm -f conftest.c
26585       touch conftest.c
26586       if $CC -c conftest.c; then
26587         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26588            grep "Warning: gc-sections option ignored" > /dev/null; then
26589           ac_gcsections=no
26590         fi
26591       fi
26592       rm -f conftest.c conftest.o conftest
26593     fi
26594     if test "$ac_gcsections" = "yes"; then
26595       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26596     fi
26597     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26598 $as_echo "$ac_gcsections" >&6; }
26599
26600     if test "$ac_test_CFLAGS" = set; then
26601       CFLAGS="$ac_save_CFLAGS"
26602     else
26603       # this is the suspicious part
26604       CFLAGS=''
26605     fi
26606   fi
26607
26608   # Set -z,relro.
26609   # Note this is only for shared objects.
26610   ac_ld_relro=no
26611   if test x"$with_gnu_ld" = x"yes"; then
26612     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26613 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26614     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26615     if test -n "$cxx_z_relo"; then
26616       OPT_LDFLAGS="-Wl,-z,relro"
26617       ac_ld_relro=yes
26618     fi
26619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26620 $as_echo "$ac_ld_relro" >&6; }
26621   fi
26622
26623   # Set linker optimization flags.
26624   if test x"$with_gnu_ld" = x"yes"; then
26625     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26626   fi
26627
26628
26629
26630
26631
26632   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26633   ac_save_CXXFLAGS="$CXXFLAGS"
26634   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26635
26636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26637 $as_echo_n "checking for sin in -lm... " >&6; }
26638 if test "${ac_cv_lib_m_sin+set}" = set; then :
26639   $as_echo_n "(cached) " >&6
26640 else
26641   ac_check_lib_save_LIBS=$LIBS
26642 LIBS="-lm  $LIBS"
26643 if test x$gcc_no_link = xyes; then
26644   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26645 fi
26646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26647 /* end confdefs.h.  */
26648
26649 /* Override any GCC internal prototype to avoid an error.
26650    Use char because int might match the return type of a GCC
26651    builtin and then its argument prototype would still apply.  */
26652 #ifdef __cplusplus
26653 extern "C"
26654 #endif
26655 char sin ();
26656 int
26657 main ()
26658 {
26659 return sin ();
26660   ;
26661   return 0;
26662 }
26663 _ACEOF
26664 if ac_fn_c_try_link "$LINENO"; then :
26665   ac_cv_lib_m_sin=yes
26666 else
26667   ac_cv_lib_m_sin=no
26668 fi
26669 rm -f core conftest.err conftest.$ac_objext \
26670     conftest$ac_exeext conftest.$ac_ext
26671 LIBS=$ac_check_lib_save_LIBS
26672 fi
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26674 $as_echo "$ac_cv_lib_m_sin" >&6; }
26675 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26676   libm="-lm"
26677 fi
26678
26679   ac_save_LIBS="$LIBS"
26680   LIBS="$LIBS $libm"
26681
26682
26683
26684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26685 $as_echo_n "checking for isinf declaration... " >&6; }
26686   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26687     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26688   $as_echo_n "(cached) " >&6
26689 else
26690
26691
26692       ac_ext=cpp
26693 ac_cpp='$CXXCPP $CPPFLAGS'
26694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26697
26698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26699 /* end confdefs.h.  */
26700 #include <math.h>
26701                       #ifdef HAVE_IEEEFP_H
26702                       #include <ieeefp.h>
26703                       #endif
26704
26705 int
26706 main ()
26707 {
26708  isinf(0);
26709   ;
26710   return 0;
26711 }
26712 _ACEOF
26713 if ac_fn_cxx_try_compile "$LINENO"; then :
26714   glibcxx_cv_func_isinf_use=yes
26715 else
26716   glibcxx_cv_func_isinf_use=no
26717 fi
26718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719       ac_ext=c
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26724
26725
26726 fi
26727
26728   fi
26729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26730 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26731
26732   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26733     for ac_func in isinf
26734 do :
26735   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26736 if test "x$ac_cv_func_isinf" = x""yes; then :
26737   cat >>confdefs.h <<_ACEOF
26738 #define HAVE_ISINF 1
26739 _ACEOF
26740
26741 fi
26742 done
26743
26744   else
26745
26746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26747 $as_echo_n "checking for _isinf declaration... " >&6; }
26748   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26749     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26750   $as_echo_n "(cached) " >&6
26751 else
26752
26753
26754       ac_ext=cpp
26755 ac_cpp='$CXXCPP $CPPFLAGS'
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26759
26760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26761 /* end confdefs.h.  */
26762 #include <math.h>
26763                       #ifdef HAVE_IEEEFP_H
26764                       #include <ieeefp.h>
26765                       #endif
26766
26767 int
26768 main ()
26769 {
26770  _isinf(0);
26771   ;
26772   return 0;
26773 }
26774 _ACEOF
26775 if ac_fn_cxx_try_compile "$LINENO"; then :
26776   glibcxx_cv_func__isinf_use=yes
26777 else
26778   glibcxx_cv_func__isinf_use=no
26779 fi
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781       ac_ext=c
26782 ac_cpp='$CPP $CPPFLAGS'
26783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26786
26787
26788 fi
26789
26790   fi
26791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26792 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26793
26794     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26795       for ac_func in _isinf
26796 do :
26797   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26798 if test "x$ac_cv_func__isinf" = x""yes; then :
26799   cat >>confdefs.h <<_ACEOF
26800 #define HAVE__ISINF 1
26801 _ACEOF
26802
26803 fi
26804 done
26805
26806     fi
26807   fi
26808
26809
26810
26811
26812
26813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26814 $as_echo_n "checking for isnan declaration... " >&6; }
26815   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26816     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26817   $as_echo_n "(cached) " >&6
26818 else
26819
26820
26821       ac_ext=cpp
26822 ac_cpp='$CXXCPP $CPPFLAGS'
26823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26826
26827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26828 /* end confdefs.h.  */
26829 #include <math.h>
26830                       #ifdef HAVE_IEEEFP_H
26831                       #include <ieeefp.h>
26832                       #endif
26833
26834 int
26835 main ()
26836 {
26837  isnan(0);
26838   ;
26839   return 0;
26840 }
26841 _ACEOF
26842 if ac_fn_cxx_try_compile "$LINENO"; then :
26843   glibcxx_cv_func_isnan_use=yes
26844 else
26845   glibcxx_cv_func_isnan_use=no
26846 fi
26847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26848       ac_ext=c
26849 ac_cpp='$CPP $CPPFLAGS'
26850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26853
26854
26855 fi
26856
26857   fi
26858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26859 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26860
26861   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26862     for ac_func in isnan
26863 do :
26864   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26865 if test "x$ac_cv_func_isnan" = x""yes; then :
26866   cat >>confdefs.h <<_ACEOF
26867 #define HAVE_ISNAN 1
26868 _ACEOF
26869
26870 fi
26871 done
26872
26873   else
26874
26875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26876 $as_echo_n "checking for _isnan declaration... " >&6; }
26877   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26878     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26879   $as_echo_n "(cached) " >&6
26880 else
26881
26882
26883       ac_ext=cpp
26884 ac_cpp='$CXXCPP $CPPFLAGS'
26885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26888
26889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26890 /* end confdefs.h.  */
26891 #include <math.h>
26892                       #ifdef HAVE_IEEEFP_H
26893                       #include <ieeefp.h>
26894                       #endif
26895
26896 int
26897 main ()
26898 {
26899  _isnan(0);
26900   ;
26901   return 0;
26902 }
26903 _ACEOF
26904 if ac_fn_cxx_try_compile "$LINENO"; then :
26905   glibcxx_cv_func__isnan_use=yes
26906 else
26907   glibcxx_cv_func__isnan_use=no
26908 fi
26909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26910       ac_ext=c
26911 ac_cpp='$CPP $CPPFLAGS'
26912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26915
26916
26917 fi
26918
26919   fi
26920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26921 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26922
26923     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26924       for ac_func in _isnan
26925 do :
26926   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26927 if test "x$ac_cv_func__isnan" = x""yes; then :
26928   cat >>confdefs.h <<_ACEOF
26929 #define HAVE__ISNAN 1
26930 _ACEOF
26931
26932 fi
26933 done
26934
26935     fi
26936   fi
26937
26938
26939
26940
26941
26942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26943 $as_echo_n "checking for finite declaration... " >&6; }
26944   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26945     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26946   $as_echo_n "(cached) " >&6
26947 else
26948
26949
26950       ac_ext=cpp
26951 ac_cpp='$CXXCPP $CPPFLAGS'
26952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26955
26956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26957 /* end confdefs.h.  */
26958 #include <math.h>
26959                       #ifdef HAVE_IEEEFP_H
26960                       #include <ieeefp.h>
26961                       #endif
26962
26963 int
26964 main ()
26965 {
26966  finite(0);
26967   ;
26968   return 0;
26969 }
26970 _ACEOF
26971 if ac_fn_cxx_try_compile "$LINENO"; then :
26972   glibcxx_cv_func_finite_use=yes
26973 else
26974   glibcxx_cv_func_finite_use=no
26975 fi
26976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26977       ac_ext=c
26978 ac_cpp='$CPP $CPPFLAGS'
26979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26982
26983
26984 fi
26985
26986   fi
26987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26988 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26989
26990   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26991     for ac_func in finite
26992 do :
26993   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26994 if test "x$ac_cv_func_finite" = x""yes; then :
26995   cat >>confdefs.h <<_ACEOF
26996 #define HAVE_FINITE 1
26997 _ACEOF
26998
26999 fi
27000 done
27001
27002   else
27003
27004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27005 $as_echo_n "checking for _finite declaration... " >&6; }
27006   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27007     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27008   $as_echo_n "(cached) " >&6
27009 else
27010
27011
27012       ac_ext=cpp
27013 ac_cpp='$CXXCPP $CPPFLAGS'
27014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27017
27018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27019 /* end confdefs.h.  */
27020 #include <math.h>
27021                       #ifdef HAVE_IEEEFP_H
27022                       #include <ieeefp.h>
27023                       #endif
27024
27025 int
27026 main ()
27027 {
27028  _finite(0);
27029   ;
27030   return 0;
27031 }
27032 _ACEOF
27033 if ac_fn_cxx_try_compile "$LINENO"; then :
27034   glibcxx_cv_func__finite_use=yes
27035 else
27036   glibcxx_cv_func__finite_use=no
27037 fi
27038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27039       ac_ext=c
27040 ac_cpp='$CPP $CPPFLAGS'
27041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27044
27045
27046 fi
27047
27048   fi
27049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27050 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27051
27052     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27053       for ac_func in _finite
27054 do :
27055   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27056 if test "x$ac_cv_func__finite" = x""yes; then :
27057   cat >>confdefs.h <<_ACEOF
27058 #define HAVE__FINITE 1
27059 _ACEOF
27060
27061 fi
27062 done
27063
27064     fi
27065   fi
27066
27067
27068
27069
27070
27071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27072 $as_echo_n "checking for sincos declaration... " >&6; }
27073   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27074     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27075   $as_echo_n "(cached) " >&6
27076 else
27077
27078
27079       ac_ext=cpp
27080 ac_cpp='$CXXCPP $CPPFLAGS'
27081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27084
27085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27086 /* end confdefs.h.  */
27087 #include <math.h>
27088 int
27089 main ()
27090 {
27091  sincos(0, 0, 0);
27092   ;
27093   return 0;
27094 }
27095 _ACEOF
27096 if ac_fn_cxx_try_compile "$LINENO"; then :
27097   glibcxx_cv_func_sincos_use=yes
27098 else
27099   glibcxx_cv_func_sincos_use=no
27100 fi
27101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27102       ac_ext=c
27103 ac_cpp='$CPP $CPPFLAGS'
27104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27107
27108
27109 fi
27110
27111   fi
27112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27113 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27114
27115   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27116     for ac_func in sincos
27117 do :
27118   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27119 if test "x$ac_cv_func_sincos" = x""yes; then :
27120   cat >>confdefs.h <<_ACEOF
27121 #define HAVE_SINCOS 1
27122 _ACEOF
27123
27124 fi
27125 done
27126
27127   else
27128
27129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27130 $as_echo_n "checking for _sincos declaration... " >&6; }
27131   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27132     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27133   $as_echo_n "(cached) " >&6
27134 else
27135
27136
27137       ac_ext=cpp
27138 ac_cpp='$CXXCPP $CPPFLAGS'
27139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27142
27143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27144 /* end confdefs.h.  */
27145 #include <math.h>
27146 int
27147 main ()
27148 {
27149  _sincos(0, 0, 0);
27150   ;
27151   return 0;
27152 }
27153 _ACEOF
27154 if ac_fn_cxx_try_compile "$LINENO"; then :
27155   glibcxx_cv_func__sincos_use=yes
27156 else
27157   glibcxx_cv_func__sincos_use=no
27158 fi
27159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27160       ac_ext=c
27161 ac_cpp='$CPP $CPPFLAGS'
27162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27165
27166
27167 fi
27168
27169   fi
27170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27171 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27172
27173     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27174       for ac_func in _sincos
27175 do :
27176   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27177 if test "x$ac_cv_func__sincos" = x""yes; then :
27178   cat >>confdefs.h <<_ACEOF
27179 #define HAVE__SINCOS 1
27180 _ACEOF
27181
27182 fi
27183 done
27184
27185     fi
27186   fi
27187
27188
27189
27190
27191
27192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27193 $as_echo_n "checking for fpclass declaration... " >&6; }
27194   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27195     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27196   $as_echo_n "(cached) " >&6
27197 else
27198
27199
27200       ac_ext=cpp
27201 ac_cpp='$CXXCPP $CPPFLAGS'
27202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27205
27206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27207 /* end confdefs.h.  */
27208 #include <math.h>
27209                       #ifdef HAVE_IEEEFP_H
27210                       #include <ieeefp.h>
27211                       #endif
27212
27213 int
27214 main ()
27215 {
27216  fpclass(0);
27217   ;
27218   return 0;
27219 }
27220 _ACEOF
27221 if ac_fn_cxx_try_compile "$LINENO"; then :
27222   glibcxx_cv_func_fpclass_use=yes
27223 else
27224   glibcxx_cv_func_fpclass_use=no
27225 fi
27226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27227       ac_ext=c
27228 ac_cpp='$CPP $CPPFLAGS'
27229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27232
27233
27234 fi
27235
27236   fi
27237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27238 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27239
27240   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27241     for ac_func in fpclass
27242 do :
27243   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27244 if test "x$ac_cv_func_fpclass" = x""yes; then :
27245   cat >>confdefs.h <<_ACEOF
27246 #define HAVE_FPCLASS 1
27247 _ACEOF
27248
27249 fi
27250 done
27251
27252   else
27253
27254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27255 $as_echo_n "checking for _fpclass declaration... " >&6; }
27256   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27257     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27258   $as_echo_n "(cached) " >&6
27259 else
27260
27261
27262       ac_ext=cpp
27263 ac_cpp='$CXXCPP $CPPFLAGS'
27264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267
27268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27269 /* end confdefs.h.  */
27270 #include <math.h>
27271                       #ifdef HAVE_IEEEFP_H
27272                       #include <ieeefp.h>
27273                       #endif
27274
27275 int
27276 main ()
27277 {
27278  _fpclass(0);
27279   ;
27280   return 0;
27281 }
27282 _ACEOF
27283 if ac_fn_cxx_try_compile "$LINENO"; then :
27284   glibcxx_cv_func__fpclass_use=yes
27285 else
27286   glibcxx_cv_func__fpclass_use=no
27287 fi
27288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27289       ac_ext=c
27290 ac_cpp='$CPP $CPPFLAGS'
27291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27294
27295
27296 fi
27297
27298   fi
27299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27300 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27301
27302     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27303       for ac_func in _fpclass
27304 do :
27305   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27306 if test "x$ac_cv_func__fpclass" = x""yes; then :
27307   cat >>confdefs.h <<_ACEOF
27308 #define HAVE__FPCLASS 1
27309 _ACEOF
27310
27311 fi
27312 done
27313
27314     fi
27315   fi
27316
27317
27318
27319
27320
27321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27322 $as_echo_n "checking for qfpclass declaration... " >&6; }
27323   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27324     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27325   $as_echo_n "(cached) " >&6
27326 else
27327
27328
27329       ac_ext=cpp
27330 ac_cpp='$CXXCPP $CPPFLAGS'
27331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27334
27335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27336 /* end confdefs.h.  */
27337 #include <math.h>
27338                       #ifdef HAVE_IEEEFP_H
27339                       #include <ieeefp.h>
27340                       #endif
27341
27342 int
27343 main ()
27344 {
27345  qfpclass(0);
27346   ;
27347   return 0;
27348 }
27349 _ACEOF
27350 if ac_fn_cxx_try_compile "$LINENO"; then :
27351   glibcxx_cv_func_qfpclass_use=yes
27352 else
27353   glibcxx_cv_func_qfpclass_use=no
27354 fi
27355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27356       ac_ext=c
27357 ac_cpp='$CPP $CPPFLAGS'
27358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27361
27362
27363 fi
27364
27365   fi
27366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27367 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27368
27369   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27370     for ac_func in qfpclass
27371 do :
27372   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27373 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27374   cat >>confdefs.h <<_ACEOF
27375 #define HAVE_QFPCLASS 1
27376 _ACEOF
27377
27378 fi
27379 done
27380
27381   else
27382
27383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27384 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27385   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27386     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27387   $as_echo_n "(cached) " >&6
27388 else
27389
27390
27391       ac_ext=cpp
27392 ac_cpp='$CXXCPP $CPPFLAGS'
27393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27396
27397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27398 /* end confdefs.h.  */
27399 #include <math.h>
27400                       #ifdef HAVE_IEEEFP_H
27401                       #include <ieeefp.h>
27402                       #endif
27403
27404 int
27405 main ()
27406 {
27407  _qfpclass(0);
27408   ;
27409   return 0;
27410 }
27411 _ACEOF
27412 if ac_fn_cxx_try_compile "$LINENO"; then :
27413   glibcxx_cv_func__qfpclass_use=yes
27414 else
27415   glibcxx_cv_func__qfpclass_use=no
27416 fi
27417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27418       ac_ext=c
27419 ac_cpp='$CPP $CPPFLAGS'
27420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27423
27424
27425 fi
27426
27427   fi
27428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27429 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27430
27431     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27432       for ac_func in _qfpclass
27433 do :
27434   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27435 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27436   cat >>confdefs.h <<_ACEOF
27437 #define HAVE__QFPCLASS 1
27438 _ACEOF
27439
27440 fi
27441 done
27442
27443     fi
27444   fi
27445
27446
27447
27448
27449
27450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27451 $as_echo_n "checking for hypot declaration... " >&6; }
27452   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27453     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27454   $as_echo_n "(cached) " >&6
27455 else
27456
27457
27458       ac_ext=cpp
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27463
27464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h.  */
27466 #include <math.h>
27467 int
27468 main ()
27469 {
27470  hypot(0, 0);
27471   ;
27472   return 0;
27473 }
27474 _ACEOF
27475 if ac_fn_cxx_try_compile "$LINENO"; then :
27476   glibcxx_cv_func_hypot_use=yes
27477 else
27478   glibcxx_cv_func_hypot_use=no
27479 fi
27480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27481       ac_ext=c
27482 ac_cpp='$CPP $CPPFLAGS'
27483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27486
27487
27488 fi
27489
27490   fi
27491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27492 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27493
27494   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27495     for ac_func in hypot
27496 do :
27497   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27498 if test "x$ac_cv_func_hypot" = x""yes; then :
27499   cat >>confdefs.h <<_ACEOF
27500 #define HAVE_HYPOT 1
27501 _ACEOF
27502
27503 fi
27504 done
27505
27506   else
27507
27508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27509 $as_echo_n "checking for _hypot declaration... " >&6; }
27510   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27511     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27512   $as_echo_n "(cached) " >&6
27513 else
27514
27515
27516       ac_ext=cpp
27517 ac_cpp='$CXXCPP $CPPFLAGS'
27518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27521
27522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27523 /* end confdefs.h.  */
27524 #include <math.h>
27525 int
27526 main ()
27527 {
27528  _hypot(0, 0);
27529   ;
27530   return 0;
27531 }
27532 _ACEOF
27533 if ac_fn_cxx_try_compile "$LINENO"; then :
27534   glibcxx_cv_func__hypot_use=yes
27535 else
27536   glibcxx_cv_func__hypot_use=no
27537 fi
27538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27539       ac_ext=c
27540 ac_cpp='$CPP $CPPFLAGS'
27541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27544
27545
27546 fi
27547
27548   fi
27549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27550 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27551
27552     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27553       for ac_func in _hypot
27554 do :
27555   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27556 if test "x$ac_cv_func__hypot" = x""yes; then :
27557   cat >>confdefs.h <<_ACEOF
27558 #define HAVE__HYPOT 1
27559 _ACEOF
27560
27561 fi
27562 done
27563
27564     fi
27565   fi
27566
27567
27568
27569
27570
27571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27572 $as_echo_n "checking for float trig functions... " >&6; }
27573   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27574   $as_echo_n "(cached) " >&6
27575 else
27576
27577
27578     ac_ext=cpp
27579 ac_cpp='$CXXCPP $CPPFLAGS'
27580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27583
27584     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27585 /* end confdefs.h.  */
27586 #include <math.h>
27587 int
27588 main ()
27589 {
27590 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27591   ;
27592   return 0;
27593 }
27594 _ACEOF
27595 if ac_fn_cxx_try_compile "$LINENO"; then :
27596   glibcxx_cv_func_float_trig_use=yes
27597 else
27598   glibcxx_cv_func_float_trig_use=no
27599 fi
27600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601     ac_ext=c
27602 ac_cpp='$CPP $CPPFLAGS'
27603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27606
27607 fi
27608
27609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27610 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27611   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27612     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27613 do :
27614   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27616 eval as_val=\$$as_ac_var
27617    if test "x$as_val" = x""yes; then :
27618   cat >>confdefs.h <<_ACEOF
27619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27620 _ACEOF
27621
27622 fi
27623 done
27624
27625   else
27626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27627 $as_echo_n "checking for _float trig functions... " >&6; }
27628     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27629   $as_echo_n "(cached) " >&6
27630 else
27631
27632
27633       ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638
27639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h.  */
27641 #include <math.h>
27642 int
27643 main ()
27644 {
27645 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27646   ;
27647   return 0;
27648 }
27649 _ACEOF
27650 if ac_fn_cxx_try_compile "$LINENO"; then :
27651   glibcxx_cv_func__float_trig_use=yes
27652 else
27653   glibcxx_cv_func__float_trig_use=no
27654 fi
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27656       ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27661
27662 fi
27663
27664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27665 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27666     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27667       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27668 do :
27669   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27671 eval as_val=\$$as_ac_var
27672    if test "x$as_val" = x""yes; then :
27673   cat >>confdefs.h <<_ACEOF
27674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27675 _ACEOF
27676
27677 fi
27678 done
27679
27680     fi
27681   fi
27682
27683
27684
27685
27686
27687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27688 $as_echo_n "checking for float round functions... " >&6; }
27689   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27690   $as_echo_n "(cached) " >&6
27691 else
27692
27693
27694     ac_ext=cpp
27695 ac_cpp='$CXXCPP $CPPFLAGS'
27696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27699
27700     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27701 /* end confdefs.h.  */
27702 #include <math.h>
27703 int
27704 main ()
27705 {
27706 ceilf (0); floorf (0);
27707   ;
27708   return 0;
27709 }
27710 _ACEOF
27711 if ac_fn_cxx_try_compile "$LINENO"; then :
27712   glibcxx_cv_func_float_round_use=yes
27713 else
27714   glibcxx_cv_func_float_round_use=no
27715 fi
27716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27717     ac_ext=c
27718 ac_cpp='$CPP $CPPFLAGS'
27719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27722
27723 fi
27724
27725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27726 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27727   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27728     for ac_func in ceilf floorf
27729 do :
27730   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27732 eval as_val=\$$as_ac_var
27733    if test "x$as_val" = x""yes; then :
27734   cat >>confdefs.h <<_ACEOF
27735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27736 _ACEOF
27737
27738 fi
27739 done
27740
27741   else
27742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27743 $as_echo_n "checking for _float round functions... " >&6; }
27744     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27745   $as_echo_n "(cached) " >&6
27746 else
27747
27748
27749       ac_ext=cpp
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27754
27755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h.  */
27757 #include <math.h>
27758 int
27759 main ()
27760 {
27761 _ceilf (0); _floorf (0);
27762   ;
27763   return 0;
27764 }
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767   glibcxx_cv_func__float_round_use=yes
27768 else
27769   glibcxx_cv_func__float_round_use=no
27770 fi
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772       ac_ext=c
27773 ac_cpp='$CPP $CPPFLAGS'
27774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27777
27778 fi
27779
27780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27781 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27782     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27783       for ac_func in _ceilf _floorf
27784 do :
27785   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27787 eval as_val=\$$as_ac_var
27788    if test "x$as_val" = x""yes; then :
27789   cat >>confdefs.h <<_ACEOF
27790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27791 _ACEOF
27792
27793 fi
27794 done
27795
27796     fi
27797   fi
27798
27799
27800
27801
27802
27803
27804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27805 $as_echo_n "checking for expf declaration... " >&6; }
27806   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27807     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27808   $as_echo_n "(cached) " >&6
27809 else
27810
27811
27812       ac_ext=cpp
27813 ac_cpp='$CXXCPP $CPPFLAGS'
27814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27817
27818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27819 /* end confdefs.h.  */
27820 #include <math.h>
27821                       #ifdef HAVE_IEEEFP_H
27822                       #include <ieeefp.h>
27823                       #endif
27824
27825 int
27826 main ()
27827 {
27828  expf(0);
27829   ;
27830   return 0;
27831 }
27832 _ACEOF
27833 if ac_fn_cxx_try_compile "$LINENO"; then :
27834   glibcxx_cv_func_expf_use=yes
27835 else
27836   glibcxx_cv_func_expf_use=no
27837 fi
27838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27839       ac_ext=c
27840 ac_cpp='$CPP $CPPFLAGS'
27841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27844
27845
27846 fi
27847
27848   fi
27849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27850 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27851
27852   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27853     for ac_func in expf
27854 do :
27855   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27856 if test "x$ac_cv_func_expf" = x""yes; then :
27857   cat >>confdefs.h <<_ACEOF
27858 #define HAVE_EXPF 1
27859 _ACEOF
27860
27861 fi
27862 done
27863
27864   else
27865
27866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27867 $as_echo_n "checking for _expf declaration... " >&6; }
27868   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27869     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27870   $as_echo_n "(cached) " >&6
27871 else
27872
27873
27874       ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27879
27880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h.  */
27882 #include <math.h>
27883                       #ifdef HAVE_IEEEFP_H
27884                       #include <ieeefp.h>
27885                       #endif
27886
27887 int
27888 main ()
27889 {
27890  _expf(0);
27891   ;
27892   return 0;
27893 }
27894 _ACEOF
27895 if ac_fn_cxx_try_compile "$LINENO"; then :
27896   glibcxx_cv_func__expf_use=yes
27897 else
27898   glibcxx_cv_func__expf_use=no
27899 fi
27900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27901       ac_ext=c
27902 ac_cpp='$CPP $CPPFLAGS'
27903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27906
27907
27908 fi
27909
27910   fi
27911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27912 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27913
27914     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27915       for ac_func in _expf
27916 do :
27917   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27918 if test "x$ac_cv_func__expf" = x""yes; then :
27919   cat >>confdefs.h <<_ACEOF
27920 #define HAVE__EXPF 1
27921 _ACEOF
27922
27923 fi
27924 done
27925
27926     fi
27927   fi
27928
27929
27930
27931
27932
27933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27934 $as_echo_n "checking for isnanf declaration... " >&6; }
27935   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27936     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27937   $as_echo_n "(cached) " >&6
27938 else
27939
27940
27941       ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27946
27947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h.  */
27949 #include <math.h>
27950                       #ifdef HAVE_IEEEFP_H
27951                       #include <ieeefp.h>
27952                       #endif
27953
27954 int
27955 main ()
27956 {
27957  isnanf(0);
27958   ;
27959   return 0;
27960 }
27961 _ACEOF
27962 if ac_fn_cxx_try_compile "$LINENO"; then :
27963   glibcxx_cv_func_isnanf_use=yes
27964 else
27965   glibcxx_cv_func_isnanf_use=no
27966 fi
27967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27968       ac_ext=c
27969 ac_cpp='$CPP $CPPFLAGS'
27970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27973
27974
27975 fi
27976
27977   fi
27978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27979 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27980
27981   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27982     for ac_func in isnanf
27983 do :
27984   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27985 if test "x$ac_cv_func_isnanf" = x""yes; then :
27986   cat >>confdefs.h <<_ACEOF
27987 #define HAVE_ISNANF 1
27988 _ACEOF
27989
27990 fi
27991 done
27992
27993   else
27994
27995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27996 $as_echo_n "checking for _isnanf declaration... " >&6; }
27997   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27998     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27999   $as_echo_n "(cached) " >&6
28000 else
28001
28002
28003       ac_ext=cpp
28004 ac_cpp='$CXXCPP $CPPFLAGS'
28005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28008
28009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28010 /* end confdefs.h.  */
28011 #include <math.h>
28012                       #ifdef HAVE_IEEEFP_H
28013                       #include <ieeefp.h>
28014                       #endif
28015
28016 int
28017 main ()
28018 {
28019  _isnanf(0);
28020   ;
28021   return 0;
28022 }
28023 _ACEOF
28024 if ac_fn_cxx_try_compile "$LINENO"; then :
28025   glibcxx_cv_func__isnanf_use=yes
28026 else
28027   glibcxx_cv_func__isnanf_use=no
28028 fi
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030       ac_ext=c
28031 ac_cpp='$CPP $CPPFLAGS'
28032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28035
28036
28037 fi
28038
28039   fi
28040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28041 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28042
28043     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28044       for ac_func in _isnanf
28045 do :
28046   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28047 if test "x$ac_cv_func__isnanf" = x""yes; then :
28048   cat >>confdefs.h <<_ACEOF
28049 #define HAVE__ISNANF 1
28050 _ACEOF
28051
28052 fi
28053 done
28054
28055     fi
28056   fi
28057
28058
28059
28060
28061
28062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28063 $as_echo_n "checking for isinff declaration... " >&6; }
28064   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28065     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28066   $as_echo_n "(cached) " >&6
28067 else
28068
28069
28070       ac_ext=cpp
28071 ac_cpp='$CXXCPP $CPPFLAGS'
28072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28075
28076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28077 /* end confdefs.h.  */
28078 #include <math.h>
28079                       #ifdef HAVE_IEEEFP_H
28080                       #include <ieeefp.h>
28081                       #endif
28082
28083 int
28084 main ()
28085 {
28086  isinff(0);
28087   ;
28088   return 0;
28089 }
28090 _ACEOF
28091 if ac_fn_cxx_try_compile "$LINENO"; then :
28092   glibcxx_cv_func_isinff_use=yes
28093 else
28094   glibcxx_cv_func_isinff_use=no
28095 fi
28096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28097       ac_ext=c
28098 ac_cpp='$CPP $CPPFLAGS'
28099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28102
28103
28104 fi
28105
28106   fi
28107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28108 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28109
28110   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28111     for ac_func in isinff
28112 do :
28113   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28114 if test "x$ac_cv_func_isinff" = x""yes; then :
28115   cat >>confdefs.h <<_ACEOF
28116 #define HAVE_ISINFF 1
28117 _ACEOF
28118
28119 fi
28120 done
28121
28122   else
28123
28124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28125 $as_echo_n "checking for _isinff declaration... " >&6; }
28126   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28127     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28128   $as_echo_n "(cached) " >&6
28129 else
28130
28131
28132       ac_ext=cpp
28133 ac_cpp='$CXXCPP $CPPFLAGS'
28134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28137
28138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h.  */
28140 #include <math.h>
28141                       #ifdef HAVE_IEEEFP_H
28142                       #include <ieeefp.h>
28143                       #endif
28144
28145 int
28146 main ()
28147 {
28148  _isinff(0);
28149   ;
28150   return 0;
28151 }
28152 _ACEOF
28153 if ac_fn_cxx_try_compile "$LINENO"; then :
28154   glibcxx_cv_func__isinff_use=yes
28155 else
28156   glibcxx_cv_func__isinff_use=no
28157 fi
28158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159       ac_ext=c
28160 ac_cpp='$CPP $CPPFLAGS'
28161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28164
28165
28166 fi
28167
28168   fi
28169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28170 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28171
28172     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28173       for ac_func in _isinff
28174 do :
28175   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28176 if test "x$ac_cv_func__isinff" = x""yes; then :
28177   cat >>confdefs.h <<_ACEOF
28178 #define HAVE__ISINFF 1
28179 _ACEOF
28180
28181 fi
28182 done
28183
28184     fi
28185   fi
28186
28187
28188
28189
28190
28191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28192 $as_echo_n "checking for atan2f declaration... " >&6; }
28193   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28194     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28195   $as_echo_n "(cached) " >&6
28196 else
28197
28198
28199       ac_ext=cpp
28200 ac_cpp='$CXXCPP $CPPFLAGS'
28201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28204
28205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28206 /* end confdefs.h.  */
28207 #include <math.h>
28208 int
28209 main ()
28210 {
28211  atan2f(0, 0);
28212   ;
28213   return 0;
28214 }
28215 _ACEOF
28216 if ac_fn_cxx_try_compile "$LINENO"; then :
28217   glibcxx_cv_func_atan2f_use=yes
28218 else
28219   glibcxx_cv_func_atan2f_use=no
28220 fi
28221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28222       ac_ext=c
28223 ac_cpp='$CPP $CPPFLAGS'
28224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28227
28228
28229 fi
28230
28231   fi
28232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28233 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28234
28235   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28236     for ac_func in atan2f
28237 do :
28238   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28239 if test "x$ac_cv_func_atan2f" = x""yes; then :
28240   cat >>confdefs.h <<_ACEOF
28241 #define HAVE_ATAN2F 1
28242 _ACEOF
28243
28244 fi
28245 done
28246
28247   else
28248
28249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28250 $as_echo_n "checking for _atan2f declaration... " >&6; }
28251   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28252     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28253   $as_echo_n "(cached) " >&6
28254 else
28255
28256
28257       ac_ext=cpp
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28262
28263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28264 /* end confdefs.h.  */
28265 #include <math.h>
28266 int
28267 main ()
28268 {
28269  _atan2f(0, 0);
28270   ;
28271   return 0;
28272 }
28273 _ACEOF
28274 if ac_fn_cxx_try_compile "$LINENO"; then :
28275   glibcxx_cv_func__atan2f_use=yes
28276 else
28277   glibcxx_cv_func__atan2f_use=no
28278 fi
28279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28280       ac_ext=c
28281 ac_cpp='$CPP $CPPFLAGS'
28282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28285
28286
28287 fi
28288
28289   fi
28290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28291 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28292
28293     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28294       for ac_func in _atan2f
28295 do :
28296   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28297 if test "x$ac_cv_func__atan2f" = x""yes; then :
28298   cat >>confdefs.h <<_ACEOF
28299 #define HAVE__ATAN2F 1
28300 _ACEOF
28301
28302 fi
28303 done
28304
28305     fi
28306   fi
28307
28308
28309
28310
28311
28312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28313 $as_echo_n "checking for fabsf declaration... " >&6; }
28314   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28315     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28316   $as_echo_n "(cached) " >&6
28317 else
28318
28319
28320       ac_ext=cpp
28321 ac_cpp='$CXXCPP $CPPFLAGS'
28322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28325
28326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28327 /* end confdefs.h.  */
28328 #include <math.h>
28329                       #ifdef HAVE_IEEEFP_H
28330                       #include <ieeefp.h>
28331                       #endif
28332
28333 int
28334 main ()
28335 {
28336  fabsf(0);
28337   ;
28338   return 0;
28339 }
28340 _ACEOF
28341 if ac_fn_cxx_try_compile "$LINENO"; then :
28342   glibcxx_cv_func_fabsf_use=yes
28343 else
28344   glibcxx_cv_func_fabsf_use=no
28345 fi
28346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28347       ac_ext=c
28348 ac_cpp='$CPP $CPPFLAGS'
28349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28352
28353
28354 fi
28355
28356   fi
28357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28358 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28359
28360   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28361     for ac_func in fabsf
28362 do :
28363   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28364 if test "x$ac_cv_func_fabsf" = x""yes; then :
28365   cat >>confdefs.h <<_ACEOF
28366 #define HAVE_FABSF 1
28367 _ACEOF
28368
28369 fi
28370 done
28371
28372   else
28373
28374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28375 $as_echo_n "checking for _fabsf declaration... " >&6; }
28376   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28377     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28378   $as_echo_n "(cached) " >&6
28379 else
28380
28381
28382       ac_ext=cpp
28383 ac_cpp='$CXXCPP $CPPFLAGS'
28384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28387
28388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28389 /* end confdefs.h.  */
28390 #include <math.h>
28391                       #ifdef HAVE_IEEEFP_H
28392                       #include <ieeefp.h>
28393                       #endif
28394
28395 int
28396 main ()
28397 {
28398  _fabsf(0);
28399   ;
28400   return 0;
28401 }
28402 _ACEOF
28403 if ac_fn_cxx_try_compile "$LINENO"; then :
28404   glibcxx_cv_func__fabsf_use=yes
28405 else
28406   glibcxx_cv_func__fabsf_use=no
28407 fi
28408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28409       ac_ext=c
28410 ac_cpp='$CPP $CPPFLAGS'
28411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28414
28415
28416 fi
28417
28418   fi
28419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28420 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28421
28422     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28423       for ac_func in _fabsf
28424 do :
28425   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28426 if test "x$ac_cv_func__fabsf" = x""yes; then :
28427   cat >>confdefs.h <<_ACEOF
28428 #define HAVE__FABSF 1
28429 _ACEOF
28430
28431 fi
28432 done
28433
28434     fi
28435   fi
28436
28437
28438
28439
28440
28441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28442 $as_echo_n "checking for fmodf declaration... " >&6; }
28443   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28444     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28445   $as_echo_n "(cached) " >&6
28446 else
28447
28448
28449       ac_ext=cpp
28450 ac_cpp='$CXXCPP $CPPFLAGS'
28451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28454
28455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28456 /* end confdefs.h.  */
28457 #include <math.h>
28458 int
28459 main ()
28460 {
28461  fmodf(0, 0);
28462   ;
28463   return 0;
28464 }
28465 _ACEOF
28466 if ac_fn_cxx_try_compile "$LINENO"; then :
28467   glibcxx_cv_func_fmodf_use=yes
28468 else
28469   glibcxx_cv_func_fmodf_use=no
28470 fi
28471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28472       ac_ext=c
28473 ac_cpp='$CPP $CPPFLAGS'
28474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28477
28478
28479 fi
28480
28481   fi
28482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28483 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28484
28485   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28486     for ac_func in fmodf
28487 do :
28488   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28489 if test "x$ac_cv_func_fmodf" = x""yes; then :
28490   cat >>confdefs.h <<_ACEOF
28491 #define HAVE_FMODF 1
28492 _ACEOF
28493
28494 fi
28495 done
28496
28497   else
28498
28499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28500 $as_echo_n "checking for _fmodf declaration... " >&6; }
28501   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28502     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28503   $as_echo_n "(cached) " >&6
28504 else
28505
28506
28507       ac_ext=cpp
28508 ac_cpp='$CXXCPP $CPPFLAGS'
28509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28512
28513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28514 /* end confdefs.h.  */
28515 #include <math.h>
28516 int
28517 main ()
28518 {
28519  _fmodf(0, 0);
28520   ;
28521   return 0;
28522 }
28523 _ACEOF
28524 if ac_fn_cxx_try_compile "$LINENO"; then :
28525   glibcxx_cv_func__fmodf_use=yes
28526 else
28527   glibcxx_cv_func__fmodf_use=no
28528 fi
28529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28530       ac_ext=c
28531 ac_cpp='$CPP $CPPFLAGS'
28532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28535
28536
28537 fi
28538
28539   fi
28540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28541 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28542
28543     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28544       for ac_func in _fmodf
28545 do :
28546   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28547 if test "x$ac_cv_func__fmodf" = x""yes; then :
28548   cat >>confdefs.h <<_ACEOF
28549 #define HAVE__FMODF 1
28550 _ACEOF
28551
28552 fi
28553 done
28554
28555     fi
28556   fi
28557
28558
28559
28560
28561
28562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28563 $as_echo_n "checking for frexpf declaration... " >&6; }
28564   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28565     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28566   $as_echo_n "(cached) " >&6
28567 else
28568
28569
28570       ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28575
28576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h.  */
28578 #include <math.h>
28579 int
28580 main ()
28581 {
28582  frexpf(0, 0);
28583   ;
28584   return 0;
28585 }
28586 _ACEOF
28587 if ac_fn_cxx_try_compile "$LINENO"; then :
28588   glibcxx_cv_func_frexpf_use=yes
28589 else
28590   glibcxx_cv_func_frexpf_use=no
28591 fi
28592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593       ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28598
28599
28600 fi
28601
28602   fi
28603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28604 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28605
28606   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28607     for ac_func in frexpf
28608 do :
28609   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28610 if test "x$ac_cv_func_frexpf" = x""yes; then :
28611   cat >>confdefs.h <<_ACEOF
28612 #define HAVE_FREXPF 1
28613 _ACEOF
28614
28615 fi
28616 done
28617
28618   else
28619
28620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28621 $as_echo_n "checking for _frexpf declaration... " >&6; }
28622   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28623     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28624   $as_echo_n "(cached) " >&6
28625 else
28626
28627
28628       ac_ext=cpp
28629 ac_cpp='$CXXCPP $CPPFLAGS'
28630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28633
28634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28635 /* end confdefs.h.  */
28636 #include <math.h>
28637 int
28638 main ()
28639 {
28640  _frexpf(0, 0);
28641   ;
28642   return 0;
28643 }
28644 _ACEOF
28645 if ac_fn_cxx_try_compile "$LINENO"; then :
28646   glibcxx_cv_func__frexpf_use=yes
28647 else
28648   glibcxx_cv_func__frexpf_use=no
28649 fi
28650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28651       ac_ext=c
28652 ac_cpp='$CPP $CPPFLAGS'
28653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28656
28657
28658 fi
28659
28660   fi
28661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28662 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28663
28664     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28665       for ac_func in _frexpf
28666 do :
28667   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28668 if test "x$ac_cv_func__frexpf" = x""yes; then :
28669   cat >>confdefs.h <<_ACEOF
28670 #define HAVE__FREXPF 1
28671 _ACEOF
28672
28673 fi
28674 done
28675
28676     fi
28677   fi
28678
28679
28680
28681
28682
28683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28684 $as_echo_n "checking for hypotf declaration... " >&6; }
28685   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28686     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28687   $as_echo_n "(cached) " >&6
28688 else
28689
28690
28691       ac_ext=cpp
28692 ac_cpp='$CXXCPP $CPPFLAGS'
28693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28696
28697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28698 /* end confdefs.h.  */
28699 #include <math.h>
28700 int
28701 main ()
28702 {
28703  hypotf(0, 0);
28704   ;
28705   return 0;
28706 }
28707 _ACEOF
28708 if ac_fn_cxx_try_compile "$LINENO"; then :
28709   glibcxx_cv_func_hypotf_use=yes
28710 else
28711   glibcxx_cv_func_hypotf_use=no
28712 fi
28713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28714       ac_ext=c
28715 ac_cpp='$CPP $CPPFLAGS'
28716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28719
28720
28721 fi
28722
28723   fi
28724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28725 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28726
28727   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28728     for ac_func in hypotf
28729 do :
28730   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28731 if test "x$ac_cv_func_hypotf" = x""yes; then :
28732   cat >>confdefs.h <<_ACEOF
28733 #define HAVE_HYPOTF 1
28734 _ACEOF
28735
28736 fi
28737 done
28738
28739   else
28740
28741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28742 $as_echo_n "checking for _hypotf declaration... " >&6; }
28743   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28744     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28745   $as_echo_n "(cached) " >&6
28746 else
28747
28748
28749       ac_ext=cpp
28750 ac_cpp='$CXXCPP $CPPFLAGS'
28751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28754
28755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28756 /* end confdefs.h.  */
28757 #include <math.h>
28758 int
28759 main ()
28760 {
28761  _hypotf(0, 0);
28762   ;
28763   return 0;
28764 }
28765 _ACEOF
28766 if ac_fn_cxx_try_compile "$LINENO"; then :
28767   glibcxx_cv_func__hypotf_use=yes
28768 else
28769   glibcxx_cv_func__hypotf_use=no
28770 fi
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28772       ac_ext=c
28773 ac_cpp='$CPP $CPPFLAGS'
28774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28777
28778
28779 fi
28780
28781   fi
28782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28783 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28784
28785     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28786       for ac_func in _hypotf
28787 do :
28788   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28789 if test "x$ac_cv_func__hypotf" = x""yes; then :
28790   cat >>confdefs.h <<_ACEOF
28791 #define HAVE__HYPOTF 1
28792 _ACEOF
28793
28794 fi
28795 done
28796
28797     fi
28798   fi
28799
28800
28801
28802
28803
28804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28805 $as_echo_n "checking for ldexpf declaration... " >&6; }
28806   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28807     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28808   $as_echo_n "(cached) " >&6
28809 else
28810
28811
28812       ac_ext=cpp
28813 ac_cpp='$CXXCPP $CPPFLAGS'
28814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28817
28818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h.  */
28820 #include <math.h>
28821 int
28822 main ()
28823 {
28824  ldexpf(0, 0);
28825   ;
28826   return 0;
28827 }
28828 _ACEOF
28829 if ac_fn_cxx_try_compile "$LINENO"; then :
28830   glibcxx_cv_func_ldexpf_use=yes
28831 else
28832   glibcxx_cv_func_ldexpf_use=no
28833 fi
28834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28835       ac_ext=c
28836 ac_cpp='$CPP $CPPFLAGS'
28837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28840
28841
28842 fi
28843
28844   fi
28845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28846 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28847
28848   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28849     for ac_func in ldexpf
28850 do :
28851   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28852 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28853   cat >>confdefs.h <<_ACEOF
28854 #define HAVE_LDEXPF 1
28855 _ACEOF
28856
28857 fi
28858 done
28859
28860   else
28861
28862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28863 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28864   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28865     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28866   $as_echo_n "(cached) " >&6
28867 else
28868
28869
28870       ac_ext=cpp
28871 ac_cpp='$CXXCPP $CPPFLAGS'
28872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28875
28876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28877 /* end confdefs.h.  */
28878 #include <math.h>
28879 int
28880 main ()
28881 {
28882  _ldexpf(0, 0);
28883   ;
28884   return 0;
28885 }
28886 _ACEOF
28887 if ac_fn_cxx_try_compile "$LINENO"; then :
28888   glibcxx_cv_func__ldexpf_use=yes
28889 else
28890   glibcxx_cv_func__ldexpf_use=no
28891 fi
28892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893       ac_ext=c
28894 ac_cpp='$CPP $CPPFLAGS'
28895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28898
28899
28900 fi
28901
28902   fi
28903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28904 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28905
28906     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28907       for ac_func in _ldexpf
28908 do :
28909   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28910 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28911   cat >>confdefs.h <<_ACEOF
28912 #define HAVE__LDEXPF 1
28913 _ACEOF
28914
28915 fi
28916 done
28917
28918     fi
28919   fi
28920
28921
28922
28923
28924
28925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28926 $as_echo_n "checking for logf declaration... " >&6; }
28927   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28928     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28929   $as_echo_n "(cached) " >&6
28930 else
28931
28932
28933       ac_ext=cpp
28934 ac_cpp='$CXXCPP $CPPFLAGS'
28935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28938
28939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28940 /* end confdefs.h.  */
28941 #include <math.h>
28942                       #ifdef HAVE_IEEEFP_H
28943                       #include <ieeefp.h>
28944                       #endif
28945
28946 int
28947 main ()
28948 {
28949  logf(0);
28950   ;
28951   return 0;
28952 }
28953 _ACEOF
28954 if ac_fn_cxx_try_compile "$LINENO"; then :
28955   glibcxx_cv_func_logf_use=yes
28956 else
28957   glibcxx_cv_func_logf_use=no
28958 fi
28959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28960       ac_ext=c
28961 ac_cpp='$CPP $CPPFLAGS'
28962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28965
28966
28967 fi
28968
28969   fi
28970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28971 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28972
28973   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28974     for ac_func in logf
28975 do :
28976   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28977 if test "x$ac_cv_func_logf" = x""yes; then :
28978   cat >>confdefs.h <<_ACEOF
28979 #define HAVE_LOGF 1
28980 _ACEOF
28981
28982 fi
28983 done
28984
28985   else
28986
28987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28988 $as_echo_n "checking for _logf declaration... " >&6; }
28989   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28990     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28991   $as_echo_n "(cached) " >&6
28992 else
28993
28994
28995       ac_ext=cpp
28996 ac_cpp='$CXXCPP $CPPFLAGS'
28997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000
29001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h.  */
29003 #include <math.h>
29004                       #ifdef HAVE_IEEEFP_H
29005                       #include <ieeefp.h>
29006                       #endif
29007
29008 int
29009 main ()
29010 {
29011  _logf(0);
29012   ;
29013   return 0;
29014 }
29015 _ACEOF
29016 if ac_fn_cxx_try_compile "$LINENO"; then :
29017   glibcxx_cv_func__logf_use=yes
29018 else
29019   glibcxx_cv_func__logf_use=no
29020 fi
29021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29022       ac_ext=c
29023 ac_cpp='$CPP $CPPFLAGS'
29024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027
29028
29029 fi
29030
29031   fi
29032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29033 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29034
29035     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29036       for ac_func in _logf
29037 do :
29038   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29039 if test "x$ac_cv_func__logf" = x""yes; then :
29040   cat >>confdefs.h <<_ACEOF
29041 #define HAVE__LOGF 1
29042 _ACEOF
29043
29044 fi
29045 done
29046
29047     fi
29048   fi
29049
29050
29051
29052
29053
29054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29055 $as_echo_n "checking for log10f declaration... " >&6; }
29056   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29057     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29058   $as_echo_n "(cached) " >&6
29059 else
29060
29061
29062       ac_ext=cpp
29063 ac_cpp='$CXXCPP $CPPFLAGS'
29064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29067
29068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h.  */
29070 #include <math.h>
29071                       #ifdef HAVE_IEEEFP_H
29072                       #include <ieeefp.h>
29073                       #endif
29074
29075 int
29076 main ()
29077 {
29078  log10f(0);
29079   ;
29080   return 0;
29081 }
29082 _ACEOF
29083 if ac_fn_cxx_try_compile "$LINENO"; then :
29084   glibcxx_cv_func_log10f_use=yes
29085 else
29086   glibcxx_cv_func_log10f_use=no
29087 fi
29088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29089       ac_ext=c
29090 ac_cpp='$CPP $CPPFLAGS'
29091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29094
29095
29096 fi
29097
29098   fi
29099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29100 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29101
29102   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29103     for ac_func in log10f
29104 do :
29105   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29106 if test "x$ac_cv_func_log10f" = x""yes; then :
29107   cat >>confdefs.h <<_ACEOF
29108 #define HAVE_LOG10F 1
29109 _ACEOF
29110
29111 fi
29112 done
29113
29114   else
29115
29116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29117 $as_echo_n "checking for _log10f declaration... " >&6; }
29118   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29119     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29120   $as_echo_n "(cached) " >&6
29121 else
29122
29123
29124       ac_ext=cpp
29125 ac_cpp='$CXXCPP $CPPFLAGS'
29126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29129
29130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29131 /* end confdefs.h.  */
29132 #include <math.h>
29133                       #ifdef HAVE_IEEEFP_H
29134                       #include <ieeefp.h>
29135                       #endif
29136
29137 int
29138 main ()
29139 {
29140  _log10f(0);
29141   ;
29142   return 0;
29143 }
29144 _ACEOF
29145 if ac_fn_cxx_try_compile "$LINENO"; then :
29146   glibcxx_cv_func__log10f_use=yes
29147 else
29148   glibcxx_cv_func__log10f_use=no
29149 fi
29150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29151       ac_ext=c
29152 ac_cpp='$CPP $CPPFLAGS'
29153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29156
29157
29158 fi
29159
29160   fi
29161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29162 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29163
29164     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29165       for ac_func in _log10f
29166 do :
29167   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29168 if test "x$ac_cv_func__log10f" = x""yes; then :
29169   cat >>confdefs.h <<_ACEOF
29170 #define HAVE__LOG10F 1
29171 _ACEOF
29172
29173 fi
29174 done
29175
29176     fi
29177   fi
29178
29179
29180
29181
29182
29183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29184 $as_echo_n "checking for modff declaration... " >&6; }
29185   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29186     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29187   $as_echo_n "(cached) " >&6
29188 else
29189
29190
29191       ac_ext=cpp
29192 ac_cpp='$CXXCPP $CPPFLAGS'
29193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29196
29197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29198 /* end confdefs.h.  */
29199 #include <math.h>
29200 int
29201 main ()
29202 {
29203  modff(0, 0);
29204   ;
29205   return 0;
29206 }
29207 _ACEOF
29208 if ac_fn_cxx_try_compile "$LINENO"; then :
29209   glibcxx_cv_func_modff_use=yes
29210 else
29211   glibcxx_cv_func_modff_use=no
29212 fi
29213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29214       ac_ext=c
29215 ac_cpp='$CPP $CPPFLAGS'
29216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29219
29220
29221 fi
29222
29223   fi
29224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29225 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29226
29227   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29228     for ac_func in modff
29229 do :
29230   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29231 if test "x$ac_cv_func_modff" = x""yes; then :
29232   cat >>confdefs.h <<_ACEOF
29233 #define HAVE_MODFF 1
29234 _ACEOF
29235
29236 fi
29237 done
29238
29239   else
29240
29241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29242 $as_echo_n "checking for _modff declaration... " >&6; }
29243   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29244     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29245   $as_echo_n "(cached) " >&6
29246 else
29247
29248
29249       ac_ext=cpp
29250 ac_cpp='$CXXCPP $CPPFLAGS'
29251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29254
29255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29256 /* end confdefs.h.  */
29257 #include <math.h>
29258 int
29259 main ()
29260 {
29261  _modff(0, 0);
29262   ;
29263   return 0;
29264 }
29265 _ACEOF
29266 if ac_fn_cxx_try_compile "$LINENO"; then :
29267   glibcxx_cv_func__modff_use=yes
29268 else
29269   glibcxx_cv_func__modff_use=no
29270 fi
29271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29272       ac_ext=c
29273 ac_cpp='$CPP $CPPFLAGS'
29274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29277
29278
29279 fi
29280
29281   fi
29282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29283 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29284
29285     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29286       for ac_func in _modff
29287 do :
29288   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29289 if test "x$ac_cv_func__modff" = x""yes; then :
29290   cat >>confdefs.h <<_ACEOF
29291 #define HAVE__MODFF 1
29292 _ACEOF
29293
29294 fi
29295 done
29296
29297     fi
29298   fi
29299
29300
29301
29302
29303
29304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29305 $as_echo_n "checking for modf declaration... " >&6; }
29306   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29307     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29308   $as_echo_n "(cached) " >&6
29309 else
29310
29311
29312       ac_ext=cpp
29313 ac_cpp='$CXXCPP $CPPFLAGS'
29314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29317
29318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29319 /* end confdefs.h.  */
29320 #include <math.h>
29321 int
29322 main ()
29323 {
29324  modf(0, 0);
29325   ;
29326   return 0;
29327 }
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330   glibcxx_cv_func_modf_use=yes
29331 else
29332   glibcxx_cv_func_modf_use=no
29333 fi
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335       ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29340
29341
29342 fi
29343
29344   fi
29345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29346 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29347
29348   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29349     for ac_func in modf
29350 do :
29351   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29352 if test "x$ac_cv_func_modf" = x""yes; then :
29353   cat >>confdefs.h <<_ACEOF
29354 #define HAVE_MODF 1
29355 _ACEOF
29356
29357 fi
29358 done
29359
29360   else
29361
29362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29363 $as_echo_n "checking for _modf declaration... " >&6; }
29364   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29365     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29366   $as_echo_n "(cached) " >&6
29367 else
29368
29369
29370       ac_ext=cpp
29371 ac_cpp='$CXXCPP $CPPFLAGS'
29372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375
29376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29377 /* end confdefs.h.  */
29378 #include <math.h>
29379 int
29380 main ()
29381 {
29382  _modf(0, 0);
29383   ;
29384   return 0;
29385 }
29386 _ACEOF
29387 if ac_fn_cxx_try_compile "$LINENO"; then :
29388   glibcxx_cv_func__modf_use=yes
29389 else
29390   glibcxx_cv_func__modf_use=no
29391 fi
29392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29393       ac_ext=c
29394 ac_cpp='$CPP $CPPFLAGS'
29395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29398
29399
29400 fi
29401
29402   fi
29403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29404 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29405
29406     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29407       for ac_func in _modf
29408 do :
29409   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29410 if test "x$ac_cv_func__modf" = x""yes; then :
29411   cat >>confdefs.h <<_ACEOF
29412 #define HAVE__MODF 1
29413 _ACEOF
29414
29415 fi
29416 done
29417
29418     fi
29419   fi
29420
29421
29422
29423
29424
29425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29426 $as_echo_n "checking for powf declaration... " >&6; }
29427   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29428     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29429   $as_echo_n "(cached) " >&6
29430 else
29431
29432
29433       ac_ext=cpp
29434 ac_cpp='$CXXCPP $CPPFLAGS'
29435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29438
29439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h.  */
29441 #include <math.h>
29442 int
29443 main ()
29444 {
29445  powf(0, 0);
29446   ;
29447   return 0;
29448 }
29449 _ACEOF
29450 if ac_fn_cxx_try_compile "$LINENO"; then :
29451   glibcxx_cv_func_powf_use=yes
29452 else
29453   glibcxx_cv_func_powf_use=no
29454 fi
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456       ac_ext=c
29457 ac_cpp='$CPP $CPPFLAGS'
29458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29461
29462
29463 fi
29464
29465   fi
29466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29467 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29468
29469   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29470     for ac_func in powf
29471 do :
29472   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29473 if test "x$ac_cv_func_powf" = x""yes; then :
29474   cat >>confdefs.h <<_ACEOF
29475 #define HAVE_POWF 1
29476 _ACEOF
29477
29478 fi
29479 done
29480
29481   else
29482
29483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29484 $as_echo_n "checking for _powf declaration... " >&6; }
29485   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29486     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29487   $as_echo_n "(cached) " >&6
29488 else
29489
29490
29491       ac_ext=cpp
29492 ac_cpp='$CXXCPP $CPPFLAGS'
29493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29496
29497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29498 /* end confdefs.h.  */
29499 #include <math.h>
29500 int
29501 main ()
29502 {
29503  _powf(0, 0);
29504   ;
29505   return 0;
29506 }
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509   glibcxx_cv_func__powf_use=yes
29510 else
29511   glibcxx_cv_func__powf_use=no
29512 fi
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514       ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29519
29520
29521 fi
29522
29523   fi
29524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29525 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29526
29527     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29528       for ac_func in _powf
29529 do :
29530   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29531 if test "x$ac_cv_func__powf" = x""yes; then :
29532   cat >>confdefs.h <<_ACEOF
29533 #define HAVE__POWF 1
29534 _ACEOF
29535
29536 fi
29537 done
29538
29539     fi
29540   fi
29541
29542
29543
29544
29545
29546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29547 $as_echo_n "checking for sqrtf declaration... " >&6; }
29548   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29549     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29550   $as_echo_n "(cached) " >&6
29551 else
29552
29553
29554       ac_ext=cpp
29555 ac_cpp='$CXXCPP $CPPFLAGS'
29556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559
29560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h.  */
29562 #include <math.h>
29563                       #ifdef HAVE_IEEEFP_H
29564                       #include <ieeefp.h>
29565                       #endif
29566
29567 int
29568 main ()
29569 {
29570  sqrtf(0);
29571   ;
29572   return 0;
29573 }
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576   glibcxx_cv_func_sqrtf_use=yes
29577 else
29578   glibcxx_cv_func_sqrtf_use=no
29579 fi
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581       ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29586
29587
29588 fi
29589
29590   fi
29591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29592 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29593
29594   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29595     for ac_func in sqrtf
29596 do :
29597   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29598 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29599   cat >>confdefs.h <<_ACEOF
29600 #define HAVE_SQRTF 1
29601 _ACEOF
29602
29603 fi
29604 done
29605
29606   else
29607
29608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29609 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29610   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29611     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29612   $as_echo_n "(cached) " >&6
29613 else
29614
29615
29616       ac_ext=cpp
29617 ac_cpp='$CXXCPP $CPPFLAGS'
29618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29621
29622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29623 /* end confdefs.h.  */
29624 #include <math.h>
29625                       #ifdef HAVE_IEEEFP_H
29626                       #include <ieeefp.h>
29627                       #endif
29628
29629 int
29630 main ()
29631 {
29632  _sqrtf(0);
29633   ;
29634   return 0;
29635 }
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638   glibcxx_cv_func__sqrtf_use=yes
29639 else
29640   glibcxx_cv_func__sqrtf_use=no
29641 fi
29642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643       ac_ext=c
29644 ac_cpp='$CPP $CPPFLAGS'
29645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648
29649
29650 fi
29651
29652   fi
29653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29654 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29655
29656     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29657       for ac_func in _sqrtf
29658 do :
29659   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29660 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29661   cat >>confdefs.h <<_ACEOF
29662 #define HAVE__SQRTF 1
29663 _ACEOF
29664
29665 fi
29666 done
29667
29668     fi
29669   fi
29670
29671
29672
29673
29674
29675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29676 $as_echo_n "checking for sincosf declaration... " >&6; }
29677   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29678     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29679   $as_echo_n "(cached) " >&6
29680 else
29681
29682
29683       ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h.  */
29691 #include <math.h>
29692 int
29693 main ()
29694 {
29695  sincosf(0, 0, 0);
29696   ;
29697   return 0;
29698 }
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701   glibcxx_cv_func_sincosf_use=yes
29702 else
29703   glibcxx_cv_func_sincosf_use=no
29704 fi
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706       ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711
29712
29713 fi
29714
29715   fi
29716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29717 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29718
29719   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29720     for ac_func in sincosf
29721 do :
29722   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29723 if test "x$ac_cv_func_sincosf" = x""yes; then :
29724   cat >>confdefs.h <<_ACEOF
29725 #define HAVE_SINCOSF 1
29726 _ACEOF
29727
29728 fi
29729 done
29730
29731   else
29732
29733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29734 $as_echo_n "checking for _sincosf declaration... " >&6; }
29735   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29736     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29737   $as_echo_n "(cached) " >&6
29738 else
29739
29740
29741       ac_ext=cpp
29742 ac_cpp='$CXXCPP $CPPFLAGS'
29743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29746
29747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748 /* end confdefs.h.  */
29749 #include <math.h>
29750 int
29751 main ()
29752 {
29753  _sincosf(0, 0, 0);
29754   ;
29755   return 0;
29756 }
29757 _ACEOF
29758 if ac_fn_cxx_try_compile "$LINENO"; then :
29759   glibcxx_cv_func__sincosf_use=yes
29760 else
29761   glibcxx_cv_func__sincosf_use=no
29762 fi
29763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29764       ac_ext=c
29765 ac_cpp='$CPP $CPPFLAGS'
29766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29769
29770
29771 fi
29772
29773   fi
29774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29775 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29776
29777     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29778       for ac_func in _sincosf
29779 do :
29780   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29781 if test "x$ac_cv_func__sincosf" = x""yes; then :
29782   cat >>confdefs.h <<_ACEOF
29783 #define HAVE__SINCOSF 1
29784 _ACEOF
29785
29786 fi
29787 done
29788
29789     fi
29790   fi
29791
29792
29793
29794
29795
29796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29797 $as_echo_n "checking for finitef declaration... " >&6; }
29798   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29799     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29800   $as_echo_n "(cached) " >&6
29801 else
29802
29803
29804       ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809
29810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h.  */
29812 #include <math.h>
29813                       #ifdef HAVE_IEEEFP_H
29814                       #include <ieeefp.h>
29815                       #endif
29816
29817 int
29818 main ()
29819 {
29820  finitef(0);
29821   ;
29822   return 0;
29823 }
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826   glibcxx_cv_func_finitef_use=yes
29827 else
29828   glibcxx_cv_func_finitef_use=no
29829 fi
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831       ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836
29837
29838 fi
29839
29840   fi
29841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29842 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29843
29844   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29845     for ac_func in finitef
29846 do :
29847   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29848 if test "x$ac_cv_func_finitef" = x""yes; then :
29849   cat >>confdefs.h <<_ACEOF
29850 #define HAVE_FINITEF 1
29851 _ACEOF
29852
29853 fi
29854 done
29855
29856   else
29857
29858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29859 $as_echo_n "checking for _finitef declaration... " >&6; }
29860   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29861     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29862   $as_echo_n "(cached) " >&6
29863 else
29864
29865
29866       ac_ext=cpp
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29871
29872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29873 /* end confdefs.h.  */
29874 #include <math.h>
29875                       #ifdef HAVE_IEEEFP_H
29876                       #include <ieeefp.h>
29877                       #endif
29878
29879 int
29880 main ()
29881 {
29882  _finitef(0);
29883   ;
29884   return 0;
29885 }
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888   glibcxx_cv_func__finitef_use=yes
29889 else
29890   glibcxx_cv_func__finitef_use=no
29891 fi
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893       ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29898
29899
29900 fi
29901
29902   fi
29903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29904 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29905
29906     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29907       for ac_func in _finitef
29908 do :
29909   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29910 if test "x$ac_cv_func__finitef" = x""yes; then :
29911   cat >>confdefs.h <<_ACEOF
29912 #define HAVE__FINITEF 1
29913 _ACEOF
29914
29915 fi
29916 done
29917
29918     fi
29919   fi
29920
29921
29922
29923
29924
29925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29926 $as_echo_n "checking for long double trig functions... " >&6; }
29927   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29928   $as_echo_n "(cached) " >&6
29929 else
29930
29931
29932     ac_ext=cpp
29933 ac_cpp='$CXXCPP $CPPFLAGS'
29934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29937
29938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29939 /* end confdefs.h.  */
29940 #include <math.h>
29941 int
29942 main ()
29943 {
29944 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29945   ;
29946   return 0;
29947 }
29948 _ACEOF
29949 if ac_fn_cxx_try_compile "$LINENO"; then :
29950   glibcxx_cv_func_long_double_trig_use=yes
29951 else
29952   glibcxx_cv_func_long_double_trig_use=no
29953 fi
29954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29955     ac_ext=c
29956 ac_cpp='$CPP $CPPFLAGS'
29957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29960
29961 fi
29962
29963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29964 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29965   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29966     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29967 do :
29968   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29970 eval as_val=\$$as_ac_var
29971    if test "x$as_val" = x""yes; then :
29972   cat >>confdefs.h <<_ACEOF
29973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29974 _ACEOF
29975
29976 fi
29977 done
29978
29979   else
29980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29981 $as_echo_n "checking for _long double trig functions... " >&6; }
29982     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29983   $as_echo_n "(cached) " >&6
29984 else
29985
29986
29987       ac_ext=cpp
29988 ac_cpp='$CXXCPP $CPPFLAGS'
29989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29992
29993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29994 /* end confdefs.h.  */
29995 #include <math.h>
29996 int
29997 main ()
29998 {
29999 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30000   ;
30001   return 0;
30002 }
30003 _ACEOF
30004 if ac_fn_cxx_try_compile "$LINENO"; then :
30005   glibcxx_cv_func__long_double_trig_use=yes
30006 else
30007   glibcxx_cv_func__long_double_trig_use=no
30008 fi
30009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30010       ac_ext=c
30011 ac_cpp='$CPP $CPPFLAGS'
30012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30015
30016 fi
30017
30018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30019 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30020     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30021       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30022 do :
30023   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30025 eval as_val=\$$as_ac_var
30026    if test "x$as_val" = x""yes; then :
30027   cat >>confdefs.h <<_ACEOF
30028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30029 _ACEOF
30030
30031 fi
30032 done
30033
30034     fi
30035   fi
30036
30037
30038
30039
30040
30041     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30042 $as_echo_n "checking for long double round functions... " >&6; }
30043   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30044   $as_echo_n "(cached) " >&6
30045 else
30046
30047
30048     ac_ext=cpp
30049 ac_cpp='$CXXCPP $CPPFLAGS'
30050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30053
30054     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30055 /* end confdefs.h.  */
30056 #include <math.h>
30057 int
30058 main ()
30059 {
30060 ceill (0); floorl (0);
30061   ;
30062   return 0;
30063 }
30064 _ACEOF
30065 if ac_fn_cxx_try_compile "$LINENO"; then :
30066   glibcxx_cv_func_long_double_round_use=yes
30067 else
30068   glibcxx_cv_func_long_double_round_use=no
30069 fi
30070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30071     ac_ext=c
30072 ac_cpp='$CPP $CPPFLAGS'
30073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30076
30077 fi
30078
30079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30080 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30081   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30082     for ac_func in ceill floorl
30083 do :
30084   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30086 eval as_val=\$$as_ac_var
30087    if test "x$as_val" = x""yes; then :
30088   cat >>confdefs.h <<_ACEOF
30089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30090 _ACEOF
30091
30092 fi
30093 done
30094
30095   else
30096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30097 $as_echo_n "checking for _long double round functions... " >&6; }
30098     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30099   $as_echo_n "(cached) " >&6
30100 else
30101
30102
30103       ac_ext=cpp
30104 ac_cpp='$CXXCPP $CPPFLAGS'
30105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108
30109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h.  */
30111 #include <math.h>
30112 int
30113 main ()
30114 {
30115 _ceill (0); _floorl (0);
30116   ;
30117   return 0;
30118 }
30119 _ACEOF
30120 if ac_fn_cxx_try_compile "$LINENO"; then :
30121   glibcxx_cv_func__long_double_round_use=yes
30122 else
30123   glibcxx_cv_func__long_double_round_use=no
30124 fi
30125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126       ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132 fi
30133
30134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30135 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30136     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30137       for ac_func in _ceill _floorl
30138 do :
30139   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30141 eval as_val=\$$as_ac_var
30142    if test "x$as_val" = x""yes; then :
30143   cat >>confdefs.h <<_ACEOF
30144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30145 _ACEOF
30146
30147 fi
30148 done
30149
30150     fi
30151   fi
30152
30153
30154
30155
30156
30157
30158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30159 $as_echo_n "checking for isnanl declaration... " >&6; }
30160   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30161     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30162   $as_echo_n "(cached) " >&6
30163 else
30164
30165
30166       ac_ext=cpp
30167 ac_cpp='$CXXCPP $CPPFLAGS'
30168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30171
30172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30173 /* end confdefs.h.  */
30174 #include <math.h>
30175                       #ifdef HAVE_IEEEFP_H
30176                       #include <ieeefp.h>
30177                       #endif
30178
30179 int
30180 main ()
30181 {
30182  isnanl(0);
30183   ;
30184   return 0;
30185 }
30186 _ACEOF
30187 if ac_fn_cxx_try_compile "$LINENO"; then :
30188   glibcxx_cv_func_isnanl_use=yes
30189 else
30190   glibcxx_cv_func_isnanl_use=no
30191 fi
30192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30193       ac_ext=c
30194 ac_cpp='$CPP $CPPFLAGS'
30195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30198
30199
30200 fi
30201
30202   fi
30203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30204 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30205
30206   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30207     for ac_func in isnanl
30208 do :
30209   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30210 if test "x$ac_cv_func_isnanl" = x""yes; then :
30211   cat >>confdefs.h <<_ACEOF
30212 #define HAVE_ISNANL 1
30213 _ACEOF
30214
30215 fi
30216 done
30217
30218   else
30219
30220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30221 $as_echo_n "checking for _isnanl declaration... " >&6; }
30222   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30223     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30224   $as_echo_n "(cached) " >&6
30225 else
30226
30227
30228       ac_ext=cpp
30229 ac_cpp='$CXXCPP $CPPFLAGS'
30230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30233
30234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h.  */
30236 #include <math.h>
30237                       #ifdef HAVE_IEEEFP_H
30238                       #include <ieeefp.h>
30239                       #endif
30240
30241 int
30242 main ()
30243 {
30244  _isnanl(0);
30245   ;
30246   return 0;
30247 }
30248 _ACEOF
30249 if ac_fn_cxx_try_compile "$LINENO"; then :
30250   glibcxx_cv_func__isnanl_use=yes
30251 else
30252   glibcxx_cv_func__isnanl_use=no
30253 fi
30254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30255       ac_ext=c
30256 ac_cpp='$CPP $CPPFLAGS'
30257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260
30261
30262 fi
30263
30264   fi
30265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30266 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30267
30268     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30269       for ac_func in _isnanl
30270 do :
30271   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30272 if test "x$ac_cv_func__isnanl" = x""yes; then :
30273   cat >>confdefs.h <<_ACEOF
30274 #define HAVE__ISNANL 1
30275 _ACEOF
30276
30277 fi
30278 done
30279
30280     fi
30281   fi
30282
30283
30284
30285
30286
30287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30288 $as_echo_n "checking for isinfl declaration... " >&6; }
30289   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30290     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30291   $as_echo_n "(cached) " >&6
30292 else
30293
30294
30295       ac_ext=cpp
30296 ac_cpp='$CXXCPP $CPPFLAGS'
30297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30300
30301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30302 /* end confdefs.h.  */
30303 #include <math.h>
30304                       #ifdef HAVE_IEEEFP_H
30305                       #include <ieeefp.h>
30306                       #endif
30307
30308 int
30309 main ()
30310 {
30311  isinfl(0);
30312   ;
30313   return 0;
30314 }
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317   glibcxx_cv_func_isinfl_use=yes
30318 else
30319   glibcxx_cv_func_isinfl_use=no
30320 fi
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322       ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30327
30328
30329 fi
30330
30331   fi
30332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30333 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30334
30335   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30336     for ac_func in isinfl
30337 do :
30338   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30339 if test "x$ac_cv_func_isinfl" = x""yes; then :
30340   cat >>confdefs.h <<_ACEOF
30341 #define HAVE_ISINFL 1
30342 _ACEOF
30343
30344 fi
30345 done
30346
30347   else
30348
30349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30350 $as_echo_n "checking for _isinfl declaration... " >&6; }
30351   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30352     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30353   $as_echo_n "(cached) " >&6
30354 else
30355
30356
30357       ac_ext=cpp
30358 ac_cpp='$CXXCPP $CPPFLAGS'
30359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30362
30363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30364 /* end confdefs.h.  */
30365 #include <math.h>
30366                       #ifdef HAVE_IEEEFP_H
30367                       #include <ieeefp.h>
30368                       #endif
30369
30370 int
30371 main ()
30372 {
30373  _isinfl(0);
30374   ;
30375   return 0;
30376 }
30377 _ACEOF
30378 if ac_fn_cxx_try_compile "$LINENO"; then :
30379   glibcxx_cv_func__isinfl_use=yes
30380 else
30381   glibcxx_cv_func__isinfl_use=no
30382 fi
30383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30384       ac_ext=c
30385 ac_cpp='$CPP $CPPFLAGS'
30386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30389
30390
30391 fi
30392
30393   fi
30394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30395 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30396
30397     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30398       for ac_func in _isinfl
30399 do :
30400   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30401 if test "x$ac_cv_func__isinfl" = x""yes; then :
30402   cat >>confdefs.h <<_ACEOF
30403 #define HAVE__ISINFL 1
30404 _ACEOF
30405
30406 fi
30407 done
30408
30409     fi
30410   fi
30411
30412
30413
30414
30415
30416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30417 $as_echo_n "checking for atan2l declaration... " >&6; }
30418   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30419     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30420   $as_echo_n "(cached) " >&6
30421 else
30422
30423
30424       ac_ext=cpp
30425 ac_cpp='$CXXCPP $CPPFLAGS'
30426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30429
30430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h.  */
30432 #include <math.h>
30433 int
30434 main ()
30435 {
30436  atan2l(0, 0);
30437   ;
30438   return 0;
30439 }
30440 _ACEOF
30441 if ac_fn_cxx_try_compile "$LINENO"; then :
30442   glibcxx_cv_func_atan2l_use=yes
30443 else
30444   glibcxx_cv_func_atan2l_use=no
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447       ac_ext=c
30448 ac_cpp='$CPP $CPPFLAGS'
30449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452
30453
30454 fi
30455
30456   fi
30457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30458 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30459
30460   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30461     for ac_func in atan2l
30462 do :
30463   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30464 if test "x$ac_cv_func_atan2l" = x""yes; then :
30465   cat >>confdefs.h <<_ACEOF
30466 #define HAVE_ATAN2L 1
30467 _ACEOF
30468
30469 fi
30470 done
30471
30472   else
30473
30474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30475 $as_echo_n "checking for _atan2l declaration... " >&6; }
30476   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30477     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30478   $as_echo_n "(cached) " >&6
30479 else
30480
30481
30482       ac_ext=cpp
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487
30488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h.  */
30490 #include <math.h>
30491 int
30492 main ()
30493 {
30494  _atan2l(0, 0);
30495   ;
30496   return 0;
30497 }
30498 _ACEOF
30499 if ac_fn_cxx_try_compile "$LINENO"; then :
30500   glibcxx_cv_func__atan2l_use=yes
30501 else
30502   glibcxx_cv_func__atan2l_use=no
30503 fi
30504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30505       ac_ext=c
30506 ac_cpp='$CPP $CPPFLAGS'
30507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30510
30511
30512 fi
30513
30514   fi
30515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30516 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30517
30518     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30519       for ac_func in _atan2l
30520 do :
30521   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30522 if test "x$ac_cv_func__atan2l" = x""yes; then :
30523   cat >>confdefs.h <<_ACEOF
30524 #define HAVE__ATAN2L 1
30525 _ACEOF
30526
30527 fi
30528 done
30529
30530     fi
30531   fi
30532
30533
30534
30535
30536
30537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30538 $as_echo_n "checking for expl declaration... " >&6; }
30539   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30540     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30541   $as_echo_n "(cached) " >&6
30542 else
30543
30544
30545       ac_ext=cpp
30546 ac_cpp='$CXXCPP $CPPFLAGS'
30547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550
30551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30552 /* end confdefs.h.  */
30553 #include <math.h>
30554                       #ifdef HAVE_IEEEFP_H
30555                       #include <ieeefp.h>
30556                       #endif
30557
30558 int
30559 main ()
30560 {
30561  expl(0);
30562   ;
30563   return 0;
30564 }
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567   glibcxx_cv_func_expl_use=yes
30568 else
30569   glibcxx_cv_func_expl_use=no
30570 fi
30571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30572       ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30577
30578
30579 fi
30580
30581   fi
30582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30583 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30584
30585   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30586     for ac_func in expl
30587 do :
30588   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30589 if test "x$ac_cv_func_expl" = x""yes; then :
30590   cat >>confdefs.h <<_ACEOF
30591 #define HAVE_EXPL 1
30592 _ACEOF
30593
30594 fi
30595 done
30596
30597   else
30598
30599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30600 $as_echo_n "checking for _expl declaration... " >&6; }
30601   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30602     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30603   $as_echo_n "(cached) " >&6
30604 else
30605
30606
30607       ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30612
30613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h.  */
30615 #include <math.h>
30616                       #ifdef HAVE_IEEEFP_H
30617                       #include <ieeefp.h>
30618                       #endif
30619
30620 int
30621 main ()
30622 {
30623  _expl(0);
30624   ;
30625   return 0;
30626 }
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629   glibcxx_cv_func__expl_use=yes
30630 else
30631   glibcxx_cv_func__expl_use=no
30632 fi
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634       ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30639
30640
30641 fi
30642
30643   fi
30644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30645 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30646
30647     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30648       for ac_func in _expl
30649 do :
30650   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30651 if test "x$ac_cv_func__expl" = x""yes; then :
30652   cat >>confdefs.h <<_ACEOF
30653 #define HAVE__EXPL 1
30654 _ACEOF
30655
30656 fi
30657 done
30658
30659     fi
30660   fi
30661
30662
30663
30664
30665
30666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30667 $as_echo_n "checking for fabsl declaration... " >&6; }
30668   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30669     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30670   $as_echo_n "(cached) " >&6
30671 else
30672
30673
30674       ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30679
30680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h.  */
30682 #include <math.h>
30683                       #ifdef HAVE_IEEEFP_H
30684                       #include <ieeefp.h>
30685                       #endif
30686
30687 int
30688 main ()
30689 {
30690  fabsl(0);
30691   ;
30692   return 0;
30693 }
30694 _ACEOF
30695 if ac_fn_cxx_try_compile "$LINENO"; then :
30696   glibcxx_cv_func_fabsl_use=yes
30697 else
30698   glibcxx_cv_func_fabsl_use=no
30699 fi
30700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30701       ac_ext=c
30702 ac_cpp='$CPP $CPPFLAGS'
30703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30706
30707
30708 fi
30709
30710   fi
30711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30712 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30713
30714   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30715     for ac_func in fabsl
30716 do :
30717   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30718 if test "x$ac_cv_func_fabsl" = x""yes; then :
30719   cat >>confdefs.h <<_ACEOF
30720 #define HAVE_FABSL 1
30721 _ACEOF
30722
30723 fi
30724 done
30725
30726   else
30727
30728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30729 $as_echo_n "checking for _fabsl declaration... " >&6; }
30730   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30731     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30732   $as_echo_n "(cached) " >&6
30733 else
30734
30735
30736       ac_ext=cpp
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30741
30742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30743 /* end confdefs.h.  */
30744 #include <math.h>
30745                       #ifdef HAVE_IEEEFP_H
30746                       #include <ieeefp.h>
30747                       #endif
30748
30749 int
30750 main ()
30751 {
30752  _fabsl(0);
30753   ;
30754   return 0;
30755 }
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758   glibcxx_cv_func__fabsl_use=yes
30759 else
30760   glibcxx_cv_func__fabsl_use=no
30761 fi
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763       ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768
30769
30770 fi
30771
30772   fi
30773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30774 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30775
30776     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30777       for ac_func in _fabsl
30778 do :
30779   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30780 if test "x$ac_cv_func__fabsl" = x""yes; then :
30781   cat >>confdefs.h <<_ACEOF
30782 #define HAVE__FABSL 1
30783 _ACEOF
30784
30785 fi
30786 done
30787
30788     fi
30789   fi
30790
30791
30792
30793
30794
30795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30796 $as_echo_n "checking for fmodl declaration... " >&6; }
30797   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30798     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30799   $as_echo_n "(cached) " >&6
30800 else
30801
30802
30803       ac_ext=cpp
30804 ac_cpp='$CXXCPP $CPPFLAGS'
30805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30808
30809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30810 /* end confdefs.h.  */
30811 #include <math.h>
30812 int
30813 main ()
30814 {
30815  fmodl(0, 0);
30816   ;
30817   return 0;
30818 }
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821   glibcxx_cv_func_fmodl_use=yes
30822 else
30823   glibcxx_cv_func_fmodl_use=no
30824 fi
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826       ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30831
30832
30833 fi
30834
30835   fi
30836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30837 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30838
30839   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30840     for ac_func in fmodl
30841 do :
30842   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30843 if test "x$ac_cv_func_fmodl" = x""yes; then :
30844   cat >>confdefs.h <<_ACEOF
30845 #define HAVE_FMODL 1
30846 _ACEOF
30847
30848 fi
30849 done
30850
30851   else
30852
30853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30854 $as_echo_n "checking for _fmodl declaration... " >&6; }
30855   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30856     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30857   $as_echo_n "(cached) " >&6
30858 else
30859
30860
30861       ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30866
30867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h.  */
30869 #include <math.h>
30870 int
30871 main ()
30872 {
30873  _fmodl(0, 0);
30874   ;
30875   return 0;
30876 }
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879   glibcxx_cv_func__fmodl_use=yes
30880 else
30881   glibcxx_cv_func__fmodl_use=no
30882 fi
30883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30884       ac_ext=c
30885 ac_cpp='$CPP $CPPFLAGS'
30886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30889
30890
30891 fi
30892
30893   fi
30894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30895 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30896
30897     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30898       for ac_func in _fmodl
30899 do :
30900   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30901 if test "x$ac_cv_func__fmodl" = x""yes; then :
30902   cat >>confdefs.h <<_ACEOF
30903 #define HAVE__FMODL 1
30904 _ACEOF
30905
30906 fi
30907 done
30908
30909     fi
30910   fi
30911
30912
30913
30914
30915
30916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30917 $as_echo_n "checking for frexpl declaration... " >&6; }
30918   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30919     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30920   $as_echo_n "(cached) " >&6
30921 else
30922
30923
30924       ac_ext=cpp
30925 ac_cpp='$CXXCPP $CPPFLAGS'
30926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30929
30930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30931 /* end confdefs.h.  */
30932 #include <math.h>
30933 int
30934 main ()
30935 {
30936  frexpl(0, 0);
30937   ;
30938   return 0;
30939 }
30940 _ACEOF
30941 if ac_fn_cxx_try_compile "$LINENO"; then :
30942   glibcxx_cv_func_frexpl_use=yes
30943 else
30944   glibcxx_cv_func_frexpl_use=no
30945 fi
30946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30947       ac_ext=c
30948 ac_cpp='$CPP $CPPFLAGS'
30949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30952
30953
30954 fi
30955
30956   fi
30957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30958 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30959
30960   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30961     for ac_func in frexpl
30962 do :
30963   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30964 if test "x$ac_cv_func_frexpl" = x""yes; then :
30965   cat >>confdefs.h <<_ACEOF
30966 #define HAVE_FREXPL 1
30967 _ACEOF
30968
30969 fi
30970 done
30971
30972   else
30973
30974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30975 $as_echo_n "checking for _frexpl declaration... " >&6; }
30976   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30977     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30978   $as_echo_n "(cached) " >&6
30979 else
30980
30981
30982       ac_ext=cpp
30983 ac_cpp='$CXXCPP $CPPFLAGS'
30984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30987
30988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h.  */
30990 #include <math.h>
30991 int
30992 main ()
30993 {
30994  _frexpl(0, 0);
30995   ;
30996   return 0;
30997 }
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000   glibcxx_cv_func__frexpl_use=yes
31001 else
31002   glibcxx_cv_func__frexpl_use=no
31003 fi
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005       ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31010
31011
31012 fi
31013
31014   fi
31015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31016 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31017
31018     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31019       for ac_func in _frexpl
31020 do :
31021   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31022 if test "x$ac_cv_func__frexpl" = x""yes; then :
31023   cat >>confdefs.h <<_ACEOF
31024 #define HAVE__FREXPL 1
31025 _ACEOF
31026
31027 fi
31028 done
31029
31030     fi
31031   fi
31032
31033
31034
31035
31036
31037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31038 $as_echo_n "checking for hypotl declaration... " >&6; }
31039   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31040     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31041   $as_echo_n "(cached) " >&6
31042 else
31043
31044
31045       ac_ext=cpp
31046 ac_cpp='$CXXCPP $CPPFLAGS'
31047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31050
31051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31052 /* end confdefs.h.  */
31053 #include <math.h>
31054 int
31055 main ()
31056 {
31057  hypotl(0, 0);
31058   ;
31059   return 0;
31060 }
31061 _ACEOF
31062 if ac_fn_cxx_try_compile "$LINENO"; then :
31063   glibcxx_cv_func_hypotl_use=yes
31064 else
31065   glibcxx_cv_func_hypotl_use=no
31066 fi
31067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31068       ac_ext=c
31069 ac_cpp='$CPP $CPPFLAGS'
31070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31073
31074
31075 fi
31076
31077   fi
31078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31079 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31080
31081   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31082     for ac_func in hypotl
31083 do :
31084   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31085 if test "x$ac_cv_func_hypotl" = x""yes; then :
31086   cat >>confdefs.h <<_ACEOF
31087 #define HAVE_HYPOTL 1
31088 _ACEOF
31089
31090 fi
31091 done
31092
31093   else
31094
31095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31096 $as_echo_n "checking for _hypotl declaration... " >&6; }
31097   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31098     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31099   $as_echo_n "(cached) " >&6
31100 else
31101
31102
31103       ac_ext=cpp
31104 ac_cpp='$CXXCPP $CPPFLAGS'
31105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31108
31109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110 /* end confdefs.h.  */
31111 #include <math.h>
31112 int
31113 main ()
31114 {
31115  _hypotl(0, 0);
31116   ;
31117   return 0;
31118 }
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121   glibcxx_cv_func__hypotl_use=yes
31122 else
31123   glibcxx_cv_func__hypotl_use=no
31124 fi
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126       ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31131
31132
31133 fi
31134
31135   fi
31136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31137 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31138
31139     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31140       for ac_func in _hypotl
31141 do :
31142   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31143 if test "x$ac_cv_func__hypotl" = x""yes; then :
31144   cat >>confdefs.h <<_ACEOF
31145 #define HAVE__HYPOTL 1
31146 _ACEOF
31147
31148 fi
31149 done
31150
31151     fi
31152   fi
31153
31154
31155
31156
31157
31158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31159 $as_echo_n "checking for ldexpl declaration... " >&6; }
31160   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31161     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31162   $as_echo_n "(cached) " >&6
31163 else
31164
31165
31166       ac_ext=cpp
31167 ac_cpp='$CXXCPP $CPPFLAGS'
31168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31171
31172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31173 /* end confdefs.h.  */
31174 #include <math.h>
31175 int
31176 main ()
31177 {
31178  ldexpl(0, 0);
31179   ;
31180   return 0;
31181 }
31182 _ACEOF
31183 if ac_fn_cxx_try_compile "$LINENO"; then :
31184   glibcxx_cv_func_ldexpl_use=yes
31185 else
31186   glibcxx_cv_func_ldexpl_use=no
31187 fi
31188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31189       ac_ext=c
31190 ac_cpp='$CPP $CPPFLAGS'
31191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31194
31195
31196 fi
31197
31198   fi
31199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31200 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31201
31202   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31203     for ac_func in ldexpl
31204 do :
31205   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31206 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31207   cat >>confdefs.h <<_ACEOF
31208 #define HAVE_LDEXPL 1
31209 _ACEOF
31210
31211 fi
31212 done
31213
31214   else
31215
31216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31217 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31218   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31219     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31220   $as_echo_n "(cached) " >&6
31221 else
31222
31223
31224       ac_ext=cpp
31225 ac_cpp='$CXXCPP $CPPFLAGS'
31226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31229
31230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h.  */
31232 #include <math.h>
31233 int
31234 main ()
31235 {
31236  _ldexpl(0, 0);
31237   ;
31238   return 0;
31239 }
31240 _ACEOF
31241 if ac_fn_cxx_try_compile "$LINENO"; then :
31242   glibcxx_cv_func__ldexpl_use=yes
31243 else
31244   glibcxx_cv_func__ldexpl_use=no
31245 fi
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247       ac_ext=c
31248 ac_cpp='$CPP $CPPFLAGS'
31249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31252
31253
31254 fi
31255
31256   fi
31257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31258 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31259
31260     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31261       for ac_func in _ldexpl
31262 do :
31263   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31264 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31265   cat >>confdefs.h <<_ACEOF
31266 #define HAVE__LDEXPL 1
31267 _ACEOF
31268
31269 fi
31270 done
31271
31272     fi
31273   fi
31274
31275
31276
31277
31278
31279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31280 $as_echo_n "checking for logl declaration... " >&6; }
31281   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31282     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31283   $as_echo_n "(cached) " >&6
31284 else
31285
31286
31287       ac_ext=cpp
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292
31293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31294 /* end confdefs.h.  */
31295 #include <math.h>
31296                       #ifdef HAVE_IEEEFP_H
31297                       #include <ieeefp.h>
31298                       #endif
31299
31300 int
31301 main ()
31302 {
31303  logl(0);
31304   ;
31305   return 0;
31306 }
31307 _ACEOF
31308 if ac_fn_cxx_try_compile "$LINENO"; then :
31309   glibcxx_cv_func_logl_use=yes
31310 else
31311   glibcxx_cv_func_logl_use=no
31312 fi
31313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31314       ac_ext=c
31315 ac_cpp='$CPP $CPPFLAGS'
31316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31319
31320
31321 fi
31322
31323   fi
31324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31325 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31326
31327   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31328     for ac_func in logl
31329 do :
31330   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31331 if test "x$ac_cv_func_logl" = x""yes; then :
31332   cat >>confdefs.h <<_ACEOF
31333 #define HAVE_LOGL 1
31334 _ACEOF
31335
31336 fi
31337 done
31338
31339   else
31340
31341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31342 $as_echo_n "checking for _logl declaration... " >&6; }
31343   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31344     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31345   $as_echo_n "(cached) " >&6
31346 else
31347
31348
31349       ac_ext=cpp
31350 ac_cpp='$CXXCPP $CPPFLAGS'
31351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31354
31355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h.  */
31357 #include <math.h>
31358                       #ifdef HAVE_IEEEFP_H
31359                       #include <ieeefp.h>
31360                       #endif
31361
31362 int
31363 main ()
31364 {
31365  _logl(0);
31366   ;
31367   return 0;
31368 }
31369 _ACEOF
31370 if ac_fn_cxx_try_compile "$LINENO"; then :
31371   glibcxx_cv_func__logl_use=yes
31372 else
31373   glibcxx_cv_func__logl_use=no
31374 fi
31375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31376       ac_ext=c
31377 ac_cpp='$CPP $CPPFLAGS'
31378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31381
31382
31383 fi
31384
31385   fi
31386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31387 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31388
31389     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31390       for ac_func in _logl
31391 do :
31392   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31393 if test "x$ac_cv_func__logl" = x""yes; then :
31394   cat >>confdefs.h <<_ACEOF
31395 #define HAVE__LOGL 1
31396 _ACEOF
31397
31398 fi
31399 done
31400
31401     fi
31402   fi
31403
31404
31405
31406
31407
31408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31409 $as_echo_n "checking for log10l declaration... " >&6; }
31410   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31411     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31412   $as_echo_n "(cached) " >&6
31413 else
31414
31415
31416       ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421
31422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h.  */
31424 #include <math.h>
31425                       #ifdef HAVE_IEEEFP_H
31426                       #include <ieeefp.h>
31427                       #endif
31428
31429 int
31430 main ()
31431 {
31432  log10l(0);
31433   ;
31434   return 0;
31435 }
31436 _ACEOF
31437 if ac_fn_cxx_try_compile "$LINENO"; then :
31438   glibcxx_cv_func_log10l_use=yes
31439 else
31440   glibcxx_cv_func_log10l_use=no
31441 fi
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443       ac_ext=c
31444 ac_cpp='$CPP $CPPFLAGS'
31445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448
31449
31450 fi
31451
31452   fi
31453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31454 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31455
31456   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31457     for ac_func in log10l
31458 do :
31459   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31460 if test "x$ac_cv_func_log10l" = x""yes; then :
31461   cat >>confdefs.h <<_ACEOF
31462 #define HAVE_LOG10L 1
31463 _ACEOF
31464
31465 fi
31466 done
31467
31468   else
31469
31470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31471 $as_echo_n "checking for _log10l declaration... " >&6; }
31472   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31473     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31474   $as_echo_n "(cached) " >&6
31475 else
31476
31477
31478       ac_ext=cpp
31479 ac_cpp='$CXXCPP $CPPFLAGS'
31480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31483
31484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31485 /* end confdefs.h.  */
31486 #include <math.h>
31487                       #ifdef HAVE_IEEEFP_H
31488                       #include <ieeefp.h>
31489                       #endif
31490
31491 int
31492 main ()
31493 {
31494  _log10l(0);
31495   ;
31496   return 0;
31497 }
31498 _ACEOF
31499 if ac_fn_cxx_try_compile "$LINENO"; then :
31500   glibcxx_cv_func__log10l_use=yes
31501 else
31502   glibcxx_cv_func__log10l_use=no
31503 fi
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505       ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510
31511
31512 fi
31513
31514   fi
31515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31516 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31517
31518     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31519       for ac_func in _log10l
31520 do :
31521   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31522 if test "x$ac_cv_func__log10l" = x""yes; then :
31523   cat >>confdefs.h <<_ACEOF
31524 #define HAVE__LOG10L 1
31525 _ACEOF
31526
31527 fi
31528 done
31529
31530     fi
31531   fi
31532
31533
31534
31535
31536
31537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31538 $as_echo_n "checking for modfl declaration... " >&6; }
31539   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31540     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31541   $as_echo_n "(cached) " >&6
31542 else
31543
31544
31545       ac_ext=cpp
31546 ac_cpp='$CXXCPP $CPPFLAGS'
31547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31550
31551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h.  */
31553 #include <math.h>
31554 int
31555 main ()
31556 {
31557  modfl(0, 0);
31558   ;
31559   return 0;
31560 }
31561 _ACEOF
31562 if ac_fn_cxx_try_compile "$LINENO"; then :
31563   glibcxx_cv_func_modfl_use=yes
31564 else
31565   glibcxx_cv_func_modfl_use=no
31566 fi
31567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31568       ac_ext=c
31569 ac_cpp='$CPP $CPPFLAGS'
31570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573
31574
31575 fi
31576
31577   fi
31578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31579 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31580
31581   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31582     for ac_func in modfl
31583 do :
31584   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31585 if test "x$ac_cv_func_modfl" = x""yes; then :
31586   cat >>confdefs.h <<_ACEOF
31587 #define HAVE_MODFL 1
31588 _ACEOF
31589
31590 fi
31591 done
31592
31593   else
31594
31595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31596 $as_echo_n "checking for _modfl declaration... " >&6; }
31597   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31598     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31599   $as_echo_n "(cached) " >&6
31600 else
31601
31602
31603       ac_ext=cpp
31604 ac_cpp='$CXXCPP $CPPFLAGS'
31605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31608
31609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31610 /* end confdefs.h.  */
31611 #include <math.h>
31612 int
31613 main ()
31614 {
31615  _modfl(0, 0);
31616   ;
31617   return 0;
31618 }
31619 _ACEOF
31620 if ac_fn_cxx_try_compile "$LINENO"; then :
31621   glibcxx_cv_func__modfl_use=yes
31622 else
31623   glibcxx_cv_func__modfl_use=no
31624 fi
31625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31626       ac_ext=c
31627 ac_cpp='$CPP $CPPFLAGS'
31628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31631
31632
31633 fi
31634
31635   fi
31636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31637 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31638
31639     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31640       for ac_func in _modfl
31641 do :
31642   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31643 if test "x$ac_cv_func__modfl" = x""yes; then :
31644   cat >>confdefs.h <<_ACEOF
31645 #define HAVE__MODFL 1
31646 _ACEOF
31647
31648 fi
31649 done
31650
31651     fi
31652   fi
31653
31654
31655
31656
31657
31658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31659 $as_echo_n "checking for powl declaration... " >&6; }
31660   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31661     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31662   $as_echo_n "(cached) " >&6
31663 else
31664
31665
31666       ac_ext=cpp
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671
31672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31673 /* end confdefs.h.  */
31674 #include <math.h>
31675 int
31676 main ()
31677 {
31678  powl(0, 0);
31679   ;
31680   return 0;
31681 }
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684   glibcxx_cv_func_powl_use=yes
31685 else
31686   glibcxx_cv_func_powl_use=no
31687 fi
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689       ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31694
31695
31696 fi
31697
31698   fi
31699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31700 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31701
31702   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31703     for ac_func in powl
31704 do :
31705   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31706 if test "x$ac_cv_func_powl" = x""yes; then :
31707   cat >>confdefs.h <<_ACEOF
31708 #define HAVE_POWL 1
31709 _ACEOF
31710
31711 fi
31712 done
31713
31714   else
31715
31716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31717 $as_echo_n "checking for _powl declaration... " >&6; }
31718   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31719     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31720   $as_echo_n "(cached) " >&6
31721 else
31722
31723
31724       ac_ext=cpp
31725 ac_cpp='$CXXCPP $CPPFLAGS'
31726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729
31730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31731 /* end confdefs.h.  */
31732 #include <math.h>
31733 int
31734 main ()
31735 {
31736  _powl(0, 0);
31737   ;
31738   return 0;
31739 }
31740 _ACEOF
31741 if ac_fn_cxx_try_compile "$LINENO"; then :
31742   glibcxx_cv_func__powl_use=yes
31743 else
31744   glibcxx_cv_func__powl_use=no
31745 fi
31746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31747       ac_ext=c
31748 ac_cpp='$CPP $CPPFLAGS'
31749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752
31753
31754 fi
31755
31756   fi
31757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31758 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31759
31760     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31761       for ac_func in _powl
31762 do :
31763   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31764 if test "x$ac_cv_func__powl" = x""yes; then :
31765   cat >>confdefs.h <<_ACEOF
31766 #define HAVE__POWL 1
31767 _ACEOF
31768
31769 fi
31770 done
31771
31772     fi
31773   fi
31774
31775
31776
31777
31778
31779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31780 $as_echo_n "checking for sqrtl declaration... " >&6; }
31781   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31782     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31783   $as_echo_n "(cached) " >&6
31784 else
31785
31786
31787       ac_ext=cpp
31788 ac_cpp='$CXXCPP $CPPFLAGS'
31789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31792
31793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31794 /* end confdefs.h.  */
31795 #include <math.h>
31796                       #ifdef HAVE_IEEEFP_H
31797                       #include <ieeefp.h>
31798                       #endif
31799
31800 int
31801 main ()
31802 {
31803  sqrtl(0);
31804   ;
31805   return 0;
31806 }
31807 _ACEOF
31808 if ac_fn_cxx_try_compile "$LINENO"; then :
31809   glibcxx_cv_func_sqrtl_use=yes
31810 else
31811   glibcxx_cv_func_sqrtl_use=no
31812 fi
31813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31814       ac_ext=c
31815 ac_cpp='$CPP $CPPFLAGS'
31816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31819
31820
31821 fi
31822
31823   fi
31824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31825 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31826
31827   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31828     for ac_func in sqrtl
31829 do :
31830   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31831 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31832   cat >>confdefs.h <<_ACEOF
31833 #define HAVE_SQRTL 1
31834 _ACEOF
31835
31836 fi
31837 done
31838
31839   else
31840
31841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31842 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31843   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31844     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31845   $as_echo_n "(cached) " >&6
31846 else
31847
31848
31849       ac_ext=cpp
31850 ac_cpp='$CXXCPP $CPPFLAGS'
31851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31854
31855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31856 /* end confdefs.h.  */
31857 #include <math.h>
31858                       #ifdef HAVE_IEEEFP_H
31859                       #include <ieeefp.h>
31860                       #endif
31861
31862 int
31863 main ()
31864 {
31865  _sqrtl(0);
31866   ;
31867   return 0;
31868 }
31869 _ACEOF
31870 if ac_fn_cxx_try_compile "$LINENO"; then :
31871   glibcxx_cv_func__sqrtl_use=yes
31872 else
31873   glibcxx_cv_func__sqrtl_use=no
31874 fi
31875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31876       ac_ext=c
31877 ac_cpp='$CPP $CPPFLAGS'
31878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31881
31882
31883 fi
31884
31885   fi
31886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31887 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31888
31889     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31890       for ac_func in _sqrtl
31891 do :
31892   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31893 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31894   cat >>confdefs.h <<_ACEOF
31895 #define HAVE__SQRTL 1
31896 _ACEOF
31897
31898 fi
31899 done
31900
31901     fi
31902   fi
31903
31904
31905
31906
31907
31908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31909 $as_echo_n "checking for sincosl declaration... " >&6; }
31910   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31911     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31912   $as_echo_n "(cached) " >&6
31913 else
31914
31915
31916       ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921
31922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h.  */
31924 #include <math.h>
31925 int
31926 main ()
31927 {
31928  sincosl(0, 0, 0);
31929   ;
31930   return 0;
31931 }
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934   glibcxx_cv_func_sincosl_use=yes
31935 else
31936   glibcxx_cv_func_sincosl_use=no
31937 fi
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939       ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31944
31945
31946 fi
31947
31948   fi
31949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31950 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31951
31952   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31953     for ac_func in sincosl
31954 do :
31955   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31956 if test "x$ac_cv_func_sincosl" = x""yes; then :
31957   cat >>confdefs.h <<_ACEOF
31958 #define HAVE_SINCOSL 1
31959 _ACEOF
31960
31961 fi
31962 done
31963
31964   else
31965
31966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31967 $as_echo_n "checking for _sincosl declaration... " >&6; }
31968   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31969     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31970   $as_echo_n "(cached) " >&6
31971 else
31972
31973
31974       ac_ext=cpp
31975 ac_cpp='$CXXCPP $CPPFLAGS'
31976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979
31980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31981 /* end confdefs.h.  */
31982 #include <math.h>
31983 int
31984 main ()
31985 {
31986  _sincosl(0, 0, 0);
31987   ;
31988   return 0;
31989 }
31990 _ACEOF
31991 if ac_fn_cxx_try_compile "$LINENO"; then :
31992   glibcxx_cv_func__sincosl_use=yes
31993 else
31994   glibcxx_cv_func__sincosl_use=no
31995 fi
31996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997       ac_ext=c
31998 ac_cpp='$CPP $CPPFLAGS'
31999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002
32003
32004 fi
32005
32006   fi
32007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32008 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32009
32010     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32011       for ac_func in _sincosl
32012 do :
32013   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32014 if test "x$ac_cv_func__sincosl" = x""yes; then :
32015   cat >>confdefs.h <<_ACEOF
32016 #define HAVE__SINCOSL 1
32017 _ACEOF
32018
32019 fi
32020 done
32021
32022     fi
32023   fi
32024
32025
32026
32027
32028
32029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32030 $as_echo_n "checking for finitel declaration... " >&6; }
32031   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32032     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32033   $as_echo_n "(cached) " >&6
32034 else
32035
32036
32037       ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042
32043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h.  */
32045 #include <math.h>
32046                       #ifdef HAVE_IEEEFP_H
32047                       #include <ieeefp.h>
32048                       #endif
32049
32050 int
32051 main ()
32052 {
32053  finitel(0);
32054   ;
32055   return 0;
32056 }
32057 _ACEOF
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059   glibcxx_cv_func_finitel_use=yes
32060 else
32061   glibcxx_cv_func_finitel_use=no
32062 fi
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064       ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069
32070
32071 fi
32072
32073   fi
32074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32075 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32076
32077   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32078     for ac_func in finitel
32079 do :
32080   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32081 if test "x$ac_cv_func_finitel" = x""yes; then :
32082   cat >>confdefs.h <<_ACEOF
32083 #define HAVE_FINITEL 1
32084 _ACEOF
32085
32086 fi
32087 done
32088
32089   else
32090
32091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32092 $as_echo_n "checking for _finitel declaration... " >&6; }
32093   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32094     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32095   $as_echo_n "(cached) " >&6
32096 else
32097
32098
32099       ac_ext=cpp
32100 ac_cpp='$CXXCPP $CPPFLAGS'
32101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32104
32105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32106 /* end confdefs.h.  */
32107 #include <math.h>
32108                       #ifdef HAVE_IEEEFP_H
32109                       #include <ieeefp.h>
32110                       #endif
32111
32112 int
32113 main ()
32114 {
32115  _finitel(0);
32116   ;
32117   return 0;
32118 }
32119 _ACEOF
32120 if ac_fn_cxx_try_compile "$LINENO"; then :
32121   glibcxx_cv_func__finitel_use=yes
32122 else
32123   glibcxx_cv_func__finitel_use=no
32124 fi
32125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32126       ac_ext=c
32127 ac_cpp='$CPP $CPPFLAGS'
32128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32131
32132
32133 fi
32134
32135   fi
32136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32137 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32138
32139     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32140       for ac_func in _finitel
32141 do :
32142   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32143 if test "x$ac_cv_func__finitel" = x""yes; then :
32144   cat >>confdefs.h <<_ACEOF
32145 #define HAVE__FINITEL 1
32146 _ACEOF
32147
32148 fi
32149 done
32150
32151     fi
32152   fi
32153
32154
32155
32156
32157   LIBS="$ac_save_LIBS"
32158   CXXFLAGS="$ac_save_CXXFLAGS"
32159
32160
32161   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32162   ac_save_CXXFLAGS="$CXXFLAGS"
32163   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32164
32165
32166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32167 $as_echo_n "checking for strtold declaration... " >&6; }
32168   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32169     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32170   $as_echo_n "(cached) " >&6
32171 else
32172
32173
32174       ac_ext=cpp
32175 ac_cpp='$CXXCPP $CPPFLAGS'
32176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32179
32180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32181 /* end confdefs.h.  */
32182 #include <stdlib.h>
32183 int
32184 main ()
32185 {
32186  strtold(0, 0);
32187   ;
32188   return 0;
32189 }
32190 _ACEOF
32191 if ac_fn_cxx_try_compile "$LINENO"; then :
32192   glibcxx_cv_func_strtold_use=yes
32193 else
32194   glibcxx_cv_func_strtold_use=no
32195 fi
32196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197       ac_ext=c
32198 ac_cpp='$CPP $CPPFLAGS'
32199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32202
32203
32204 fi
32205
32206   fi
32207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32208 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32209   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32210     for ac_func in strtold
32211 do :
32212   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32213 if test "x$ac_cv_func_strtold" = x""yes; then :
32214   cat >>confdefs.h <<_ACEOF
32215 #define HAVE_STRTOLD 1
32216 _ACEOF
32217
32218 fi
32219 done
32220
32221   fi
32222
32223
32224
32225
32226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32227 $as_echo_n "checking for strtof declaration... " >&6; }
32228   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32229     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32230   $as_echo_n "(cached) " >&6
32231 else
32232
32233
32234       ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32239
32240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h.  */
32242 #include <stdlib.h>
32243 int
32244 main ()
32245 {
32246  strtof(0, 0);
32247   ;
32248   return 0;
32249 }
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252   glibcxx_cv_func_strtof_use=yes
32253 else
32254   glibcxx_cv_func_strtof_use=no
32255 fi
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257       ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262
32263
32264 fi
32265
32266   fi
32267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32268 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32269   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32270     for ac_func in strtof
32271 do :
32272   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32273 if test "x$ac_cv_func_strtof" = x""yes; then :
32274   cat >>confdefs.h <<_ACEOF
32275 #define HAVE_STRTOF 1
32276 _ACEOF
32277
32278 fi
32279 done
32280
32281   fi
32282
32283
32284
32285
32286   CXXFLAGS="$ac_save_CXXFLAGS"
32287
32288
32289     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32290
32291     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32292
32293     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32294
32295     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32296
32297
32298     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32299
32300     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32301
32302     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32303
32304     ;;
32305
32306   *-aix*)
32307
32308   # If we're not using GNU ld, then there's no point in even trying these
32309   # tests.  Check for that first.  We should have already tested for gld
32310   # by now (in libtool), but require it now just to be safe...
32311   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32312   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32313
32314
32315
32316   # The name set by libtool depends on the version of libtool.  Shame on us
32317   # for depending on an impl detail, but c'est la vie.  Older versions used
32318   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32319   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32320   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32321   # set (hence we're using an older libtool), then set it.
32322   if test x${with_gnu_ld+set} != xset; then
32323     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32324       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32325       with_gnu_ld=no
32326     else
32327       with_gnu_ld=$ac_cv_prog_gnu_ld
32328     fi
32329   fi
32330
32331   # Start by getting the version number.  I think the libtool test already
32332   # does some of this, but throws away the result.
32333   glibcxx_ld_is_gold=no
32334   if test x"$with_gnu_ld" = x"yes"; then
32335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32336 $as_echo_n "checking for ld version... " >&6; }
32337
32338     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32339       glibcxx_ld_is_gold=yes
32340     fi
32341     ldver=`$LD --version 2>/dev/null |
32342            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'`
32343
32344     glibcxx_gnu_ld_version=`echo $ldver | \
32345            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32346     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32347 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32348   fi
32349
32350   # Set --gc-sections.
32351   glibcxx_have_gc_sections=no
32352   if test "$glibcxx_ld_is_gold" = "yes"; then
32353     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32354       glibcxx_have_gc_sections=yes
32355     fi
32356   else
32357     glibcxx_gcsections_min_ld=21602
32358     if test x"$with_gnu_ld" = x"yes" &&
32359         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32360       glibcxx_have_gc_sections=yes
32361     fi
32362   fi
32363   if test "$glibcxx_have_gc_sections" = "yes"; then
32364     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32365     # NB: This flag only works reliably after 2.16.1. Configure tests
32366     # for this are difficult, so hard wire a value that should work.
32367
32368     ac_test_CFLAGS="${CFLAGS+set}"
32369     ac_save_CFLAGS="$CFLAGS"
32370     CFLAGS='-Wl,--gc-sections'
32371
32372     # Check for -Wl,--gc-sections
32373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32374 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32375     if test x$gcc_no_link = xyes; then
32376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32377 fi
32378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h.  */
32380  int one(void) { return 1; }
32381      int two(void) { return 2; }
32382
32383 int
32384 main ()
32385 {
32386  two();
32387   ;
32388   return 0;
32389 }
32390 _ACEOF
32391 if ac_fn_c_try_link "$LINENO"; then :
32392   ac_gcsections=yes
32393 else
32394   ac_gcsections=no
32395 fi
32396 rm -f core conftest.err conftest.$ac_objext \
32397     conftest$ac_exeext conftest.$ac_ext
32398     if test "$ac_gcsections" = "yes"; then
32399       rm -f conftest.c
32400       touch conftest.c
32401       if $CC -c conftest.c; then
32402         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32403            grep "Warning: gc-sections option ignored" > /dev/null; then
32404           ac_gcsections=no
32405         fi
32406       fi
32407       rm -f conftest.c conftest.o conftest
32408     fi
32409     if test "$ac_gcsections" = "yes"; then
32410       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32411     fi
32412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32413 $as_echo "$ac_gcsections" >&6; }
32414
32415     if test "$ac_test_CFLAGS" = set; then
32416       CFLAGS="$ac_save_CFLAGS"
32417     else
32418       # this is the suspicious part
32419       CFLAGS=''
32420     fi
32421   fi
32422
32423   # Set -z,relro.
32424   # Note this is only for shared objects.
32425   ac_ld_relro=no
32426   if test x"$with_gnu_ld" = x"yes"; then
32427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32428 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32429     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32430     if test -n "$cxx_z_relo"; then
32431       OPT_LDFLAGS="-Wl,-z,relro"
32432       ac_ld_relro=yes
32433     fi
32434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32435 $as_echo "$ac_ld_relro" >&6; }
32436   fi
32437
32438   # Set linker optimization flags.
32439   if test x"$with_gnu_ld" = x"yes"; then
32440     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32441   fi
32442
32443
32444
32445
32446
32447   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32448   ac_save_CXXFLAGS="$CXXFLAGS"
32449   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32450
32451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32452 $as_echo_n "checking for sin in -lm... " >&6; }
32453 if test "${ac_cv_lib_m_sin+set}" = set; then :
32454   $as_echo_n "(cached) " >&6
32455 else
32456   ac_check_lib_save_LIBS=$LIBS
32457 LIBS="-lm  $LIBS"
32458 if test x$gcc_no_link = xyes; then
32459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32460 fi
32461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32462 /* end confdefs.h.  */
32463
32464 /* Override any GCC internal prototype to avoid an error.
32465    Use char because int might match the return type of a GCC
32466    builtin and then its argument prototype would still apply.  */
32467 #ifdef __cplusplus
32468 extern "C"
32469 #endif
32470 char sin ();
32471 int
32472 main ()
32473 {
32474 return sin ();
32475   ;
32476   return 0;
32477 }
32478 _ACEOF
32479 if ac_fn_c_try_link "$LINENO"; then :
32480   ac_cv_lib_m_sin=yes
32481 else
32482   ac_cv_lib_m_sin=no
32483 fi
32484 rm -f core conftest.err conftest.$ac_objext \
32485     conftest$ac_exeext conftest.$ac_ext
32486 LIBS=$ac_check_lib_save_LIBS
32487 fi
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32489 $as_echo "$ac_cv_lib_m_sin" >&6; }
32490 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32491   libm="-lm"
32492 fi
32493
32494   ac_save_LIBS="$LIBS"
32495   LIBS="$LIBS $libm"
32496
32497
32498
32499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32500 $as_echo_n "checking for isinf declaration... " >&6; }
32501   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32502     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32503   $as_echo_n "(cached) " >&6
32504 else
32505
32506
32507       ac_ext=cpp
32508 ac_cpp='$CXXCPP $CPPFLAGS'
32509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32512
32513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h.  */
32515 #include <math.h>
32516                       #ifdef HAVE_IEEEFP_H
32517                       #include <ieeefp.h>
32518                       #endif
32519
32520 int
32521 main ()
32522 {
32523  isinf(0);
32524   ;
32525   return 0;
32526 }
32527 _ACEOF
32528 if ac_fn_cxx_try_compile "$LINENO"; then :
32529   glibcxx_cv_func_isinf_use=yes
32530 else
32531   glibcxx_cv_func_isinf_use=no
32532 fi
32533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32534       ac_ext=c
32535 ac_cpp='$CPP $CPPFLAGS'
32536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32539
32540
32541 fi
32542
32543   fi
32544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32545 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32546
32547   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32548     for ac_func in isinf
32549 do :
32550   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32551 if test "x$ac_cv_func_isinf" = x""yes; then :
32552   cat >>confdefs.h <<_ACEOF
32553 #define HAVE_ISINF 1
32554 _ACEOF
32555
32556 fi
32557 done
32558
32559   else
32560
32561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32562 $as_echo_n "checking for _isinf declaration... " >&6; }
32563   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32564     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32565   $as_echo_n "(cached) " >&6
32566 else
32567
32568
32569       ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574
32575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h.  */
32577 #include <math.h>
32578                       #ifdef HAVE_IEEEFP_H
32579                       #include <ieeefp.h>
32580                       #endif
32581
32582 int
32583 main ()
32584 {
32585  _isinf(0);
32586   ;
32587   return 0;
32588 }
32589 _ACEOF
32590 if ac_fn_cxx_try_compile "$LINENO"; then :
32591   glibcxx_cv_func__isinf_use=yes
32592 else
32593   glibcxx_cv_func__isinf_use=no
32594 fi
32595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32596       ac_ext=c
32597 ac_cpp='$CPP $CPPFLAGS'
32598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32601
32602
32603 fi
32604
32605   fi
32606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32607 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32608
32609     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32610       for ac_func in _isinf
32611 do :
32612   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32613 if test "x$ac_cv_func__isinf" = x""yes; then :
32614   cat >>confdefs.h <<_ACEOF
32615 #define HAVE__ISINF 1
32616 _ACEOF
32617
32618 fi
32619 done
32620
32621     fi
32622   fi
32623
32624
32625
32626
32627
32628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32629 $as_echo_n "checking for isnan declaration... " >&6; }
32630   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32631     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32632   $as_echo_n "(cached) " >&6
32633 else
32634
32635
32636       ac_ext=cpp
32637 ac_cpp='$CXXCPP $CPPFLAGS'
32638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32641
32642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32643 /* end confdefs.h.  */
32644 #include <math.h>
32645                       #ifdef HAVE_IEEEFP_H
32646                       #include <ieeefp.h>
32647                       #endif
32648
32649 int
32650 main ()
32651 {
32652  isnan(0);
32653   ;
32654   return 0;
32655 }
32656 _ACEOF
32657 if ac_fn_cxx_try_compile "$LINENO"; then :
32658   glibcxx_cv_func_isnan_use=yes
32659 else
32660   glibcxx_cv_func_isnan_use=no
32661 fi
32662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32663       ac_ext=c
32664 ac_cpp='$CPP $CPPFLAGS'
32665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32668
32669
32670 fi
32671
32672   fi
32673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32674 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32675
32676   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32677     for ac_func in isnan
32678 do :
32679   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32680 if test "x$ac_cv_func_isnan" = x""yes; then :
32681   cat >>confdefs.h <<_ACEOF
32682 #define HAVE_ISNAN 1
32683 _ACEOF
32684
32685 fi
32686 done
32687
32688   else
32689
32690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32691 $as_echo_n "checking for _isnan declaration... " >&6; }
32692   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32693     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32694   $as_echo_n "(cached) " >&6
32695 else
32696
32697
32698       ac_ext=cpp
32699 ac_cpp='$CXXCPP $CPPFLAGS'
32700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703
32704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32705 /* end confdefs.h.  */
32706 #include <math.h>
32707                       #ifdef HAVE_IEEEFP_H
32708                       #include <ieeefp.h>
32709                       #endif
32710
32711 int
32712 main ()
32713 {
32714  _isnan(0);
32715   ;
32716   return 0;
32717 }
32718 _ACEOF
32719 if ac_fn_cxx_try_compile "$LINENO"; then :
32720   glibcxx_cv_func__isnan_use=yes
32721 else
32722   glibcxx_cv_func__isnan_use=no
32723 fi
32724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32725       ac_ext=c
32726 ac_cpp='$CPP $CPPFLAGS'
32727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32730
32731
32732 fi
32733
32734   fi
32735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32736 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32737
32738     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32739       for ac_func in _isnan
32740 do :
32741   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32742 if test "x$ac_cv_func__isnan" = x""yes; then :
32743   cat >>confdefs.h <<_ACEOF
32744 #define HAVE__ISNAN 1
32745 _ACEOF
32746
32747 fi
32748 done
32749
32750     fi
32751   fi
32752
32753
32754
32755
32756
32757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32758 $as_echo_n "checking for finite declaration... " >&6; }
32759   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32760     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32761   $as_echo_n "(cached) " >&6
32762 else
32763
32764
32765       ac_ext=cpp
32766 ac_cpp='$CXXCPP $CPPFLAGS'
32767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770
32771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32772 /* end confdefs.h.  */
32773 #include <math.h>
32774                       #ifdef HAVE_IEEEFP_H
32775                       #include <ieeefp.h>
32776                       #endif
32777
32778 int
32779 main ()
32780 {
32781  finite(0);
32782   ;
32783   return 0;
32784 }
32785 _ACEOF
32786 if ac_fn_cxx_try_compile "$LINENO"; then :
32787   glibcxx_cv_func_finite_use=yes
32788 else
32789   glibcxx_cv_func_finite_use=no
32790 fi
32791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32792       ac_ext=c
32793 ac_cpp='$CPP $CPPFLAGS'
32794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32797
32798
32799 fi
32800
32801   fi
32802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32803 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32804
32805   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32806     for ac_func in finite
32807 do :
32808   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32809 if test "x$ac_cv_func_finite" = x""yes; then :
32810   cat >>confdefs.h <<_ACEOF
32811 #define HAVE_FINITE 1
32812 _ACEOF
32813
32814 fi
32815 done
32816
32817   else
32818
32819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32820 $as_echo_n "checking for _finite declaration... " >&6; }
32821   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32822     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32823   $as_echo_n "(cached) " >&6
32824 else
32825
32826
32827       ac_ext=cpp
32828 ac_cpp='$CXXCPP $CPPFLAGS'
32829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832
32833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32834 /* end confdefs.h.  */
32835 #include <math.h>
32836                       #ifdef HAVE_IEEEFP_H
32837                       #include <ieeefp.h>
32838                       #endif
32839
32840 int
32841 main ()
32842 {
32843  _finite(0);
32844   ;
32845   return 0;
32846 }
32847 _ACEOF
32848 if ac_fn_cxx_try_compile "$LINENO"; then :
32849   glibcxx_cv_func__finite_use=yes
32850 else
32851   glibcxx_cv_func__finite_use=no
32852 fi
32853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32854       ac_ext=c
32855 ac_cpp='$CPP $CPPFLAGS'
32856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32859
32860
32861 fi
32862
32863   fi
32864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32865 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32866
32867     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32868       for ac_func in _finite
32869 do :
32870   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32871 if test "x$ac_cv_func__finite" = x""yes; then :
32872   cat >>confdefs.h <<_ACEOF
32873 #define HAVE__FINITE 1
32874 _ACEOF
32875
32876 fi
32877 done
32878
32879     fi
32880   fi
32881
32882
32883
32884
32885
32886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32887 $as_echo_n "checking for sincos declaration... " >&6; }
32888   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32889     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32890   $as_echo_n "(cached) " >&6
32891 else
32892
32893
32894       ac_ext=cpp
32895 ac_cpp='$CXXCPP $CPPFLAGS'
32896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32899
32900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32901 /* end confdefs.h.  */
32902 #include <math.h>
32903 int
32904 main ()
32905 {
32906  sincos(0, 0, 0);
32907   ;
32908   return 0;
32909 }
32910 _ACEOF
32911 if ac_fn_cxx_try_compile "$LINENO"; then :
32912   glibcxx_cv_func_sincos_use=yes
32913 else
32914   glibcxx_cv_func_sincos_use=no
32915 fi
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917       ac_ext=c
32918 ac_cpp='$CPP $CPPFLAGS'
32919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32922
32923
32924 fi
32925
32926   fi
32927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32928 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32929
32930   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32931     for ac_func in sincos
32932 do :
32933   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32934 if test "x$ac_cv_func_sincos" = x""yes; then :
32935   cat >>confdefs.h <<_ACEOF
32936 #define HAVE_SINCOS 1
32937 _ACEOF
32938
32939 fi
32940 done
32941
32942   else
32943
32944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32945 $as_echo_n "checking for _sincos declaration... " >&6; }
32946   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32947     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32948   $as_echo_n "(cached) " >&6
32949 else
32950
32951
32952       ac_ext=cpp
32953 ac_cpp='$CXXCPP $CPPFLAGS'
32954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32957
32958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32959 /* end confdefs.h.  */
32960 #include <math.h>
32961 int
32962 main ()
32963 {
32964  _sincos(0, 0, 0);
32965   ;
32966   return 0;
32967 }
32968 _ACEOF
32969 if ac_fn_cxx_try_compile "$LINENO"; then :
32970   glibcxx_cv_func__sincos_use=yes
32971 else
32972   glibcxx_cv_func__sincos_use=no
32973 fi
32974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32975       ac_ext=c
32976 ac_cpp='$CPP $CPPFLAGS'
32977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32980
32981
32982 fi
32983
32984   fi
32985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32986 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32987
32988     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32989       for ac_func in _sincos
32990 do :
32991   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32992 if test "x$ac_cv_func__sincos" = x""yes; then :
32993   cat >>confdefs.h <<_ACEOF
32994 #define HAVE__SINCOS 1
32995 _ACEOF
32996
32997 fi
32998 done
32999
33000     fi
33001   fi
33002
33003
33004
33005
33006
33007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33008 $as_echo_n "checking for fpclass declaration... " >&6; }
33009   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33010     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33011   $as_echo_n "(cached) " >&6
33012 else
33013
33014
33015       ac_ext=cpp
33016 ac_cpp='$CXXCPP $CPPFLAGS'
33017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33020
33021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33022 /* end confdefs.h.  */
33023 #include <math.h>
33024                       #ifdef HAVE_IEEEFP_H
33025                       #include <ieeefp.h>
33026                       #endif
33027
33028 int
33029 main ()
33030 {
33031  fpclass(0);
33032   ;
33033   return 0;
33034 }
33035 _ACEOF
33036 if ac_fn_cxx_try_compile "$LINENO"; then :
33037   glibcxx_cv_func_fpclass_use=yes
33038 else
33039   glibcxx_cv_func_fpclass_use=no
33040 fi
33041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33042       ac_ext=c
33043 ac_cpp='$CPP $CPPFLAGS'
33044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33047
33048
33049 fi
33050
33051   fi
33052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33053 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33054
33055   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33056     for ac_func in fpclass
33057 do :
33058   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33059 if test "x$ac_cv_func_fpclass" = x""yes; then :
33060   cat >>confdefs.h <<_ACEOF
33061 #define HAVE_FPCLASS 1
33062 _ACEOF
33063
33064 fi
33065 done
33066
33067   else
33068
33069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33070 $as_echo_n "checking for _fpclass declaration... " >&6; }
33071   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33072     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33073   $as_echo_n "(cached) " >&6
33074 else
33075
33076
33077       ac_ext=cpp
33078 ac_cpp='$CXXCPP $CPPFLAGS'
33079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082
33083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33084 /* end confdefs.h.  */
33085 #include <math.h>
33086                       #ifdef HAVE_IEEEFP_H
33087                       #include <ieeefp.h>
33088                       #endif
33089
33090 int
33091 main ()
33092 {
33093  _fpclass(0);
33094   ;
33095   return 0;
33096 }
33097 _ACEOF
33098 if ac_fn_cxx_try_compile "$LINENO"; then :
33099   glibcxx_cv_func__fpclass_use=yes
33100 else
33101   glibcxx_cv_func__fpclass_use=no
33102 fi
33103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33104       ac_ext=c
33105 ac_cpp='$CPP $CPPFLAGS'
33106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109
33110
33111 fi
33112
33113   fi
33114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33115 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33116
33117     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33118       for ac_func in _fpclass
33119 do :
33120   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33121 if test "x$ac_cv_func__fpclass" = x""yes; then :
33122   cat >>confdefs.h <<_ACEOF
33123 #define HAVE__FPCLASS 1
33124 _ACEOF
33125
33126 fi
33127 done
33128
33129     fi
33130   fi
33131
33132
33133
33134
33135
33136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33137 $as_echo_n "checking for qfpclass declaration... " >&6; }
33138   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33139     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33140   $as_echo_n "(cached) " >&6
33141 else
33142
33143
33144       ac_ext=cpp
33145 ac_cpp='$CXXCPP $CPPFLAGS'
33146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149
33150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33151 /* end confdefs.h.  */
33152 #include <math.h>
33153                       #ifdef HAVE_IEEEFP_H
33154                       #include <ieeefp.h>
33155                       #endif
33156
33157 int
33158 main ()
33159 {
33160  qfpclass(0);
33161   ;
33162   return 0;
33163 }
33164 _ACEOF
33165 if ac_fn_cxx_try_compile "$LINENO"; then :
33166   glibcxx_cv_func_qfpclass_use=yes
33167 else
33168   glibcxx_cv_func_qfpclass_use=no
33169 fi
33170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171       ac_ext=c
33172 ac_cpp='$CPP $CPPFLAGS'
33173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33176
33177
33178 fi
33179
33180   fi
33181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33182 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33183
33184   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33185     for ac_func in qfpclass
33186 do :
33187   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33188 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33189   cat >>confdefs.h <<_ACEOF
33190 #define HAVE_QFPCLASS 1
33191 _ACEOF
33192
33193 fi
33194 done
33195
33196   else
33197
33198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33199 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33200   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33201     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33202   $as_echo_n "(cached) " >&6
33203 else
33204
33205
33206       ac_ext=cpp
33207 ac_cpp='$CXXCPP $CPPFLAGS'
33208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211
33212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33213 /* end confdefs.h.  */
33214 #include <math.h>
33215                       #ifdef HAVE_IEEEFP_H
33216                       #include <ieeefp.h>
33217                       #endif
33218
33219 int
33220 main ()
33221 {
33222  _qfpclass(0);
33223   ;
33224   return 0;
33225 }
33226 _ACEOF
33227 if ac_fn_cxx_try_compile "$LINENO"; then :
33228   glibcxx_cv_func__qfpclass_use=yes
33229 else
33230   glibcxx_cv_func__qfpclass_use=no
33231 fi
33232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33233       ac_ext=c
33234 ac_cpp='$CPP $CPPFLAGS'
33235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33238
33239
33240 fi
33241
33242   fi
33243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33244 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33245
33246     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33247       for ac_func in _qfpclass
33248 do :
33249   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33250 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33251   cat >>confdefs.h <<_ACEOF
33252 #define HAVE__QFPCLASS 1
33253 _ACEOF
33254
33255 fi
33256 done
33257
33258     fi
33259   fi
33260
33261
33262
33263
33264
33265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33266 $as_echo_n "checking for hypot declaration... " >&6; }
33267   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33268     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33269   $as_echo_n "(cached) " >&6
33270 else
33271
33272
33273       ac_ext=cpp
33274 ac_cpp='$CXXCPP $CPPFLAGS'
33275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33278
33279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h.  */
33281 #include <math.h>
33282 int
33283 main ()
33284 {
33285  hypot(0, 0);
33286   ;
33287   return 0;
33288 }
33289 _ACEOF
33290 if ac_fn_cxx_try_compile "$LINENO"; then :
33291   glibcxx_cv_func_hypot_use=yes
33292 else
33293   glibcxx_cv_func_hypot_use=no
33294 fi
33295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296       ac_ext=c
33297 ac_cpp='$CPP $CPPFLAGS'
33298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33301
33302
33303 fi
33304
33305   fi
33306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33307 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33308
33309   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33310     for ac_func in hypot
33311 do :
33312   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33313 if test "x$ac_cv_func_hypot" = x""yes; then :
33314   cat >>confdefs.h <<_ACEOF
33315 #define HAVE_HYPOT 1
33316 _ACEOF
33317
33318 fi
33319 done
33320
33321   else
33322
33323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33324 $as_echo_n "checking for _hypot declaration... " >&6; }
33325   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33326     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33327   $as_echo_n "(cached) " >&6
33328 else
33329
33330
33331       ac_ext=cpp
33332 ac_cpp='$CXXCPP $CPPFLAGS'
33333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33336
33337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33338 /* end confdefs.h.  */
33339 #include <math.h>
33340 int
33341 main ()
33342 {
33343  _hypot(0, 0);
33344   ;
33345   return 0;
33346 }
33347 _ACEOF
33348 if ac_fn_cxx_try_compile "$LINENO"; then :
33349   glibcxx_cv_func__hypot_use=yes
33350 else
33351   glibcxx_cv_func__hypot_use=no
33352 fi
33353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33354       ac_ext=c
33355 ac_cpp='$CPP $CPPFLAGS'
33356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359
33360
33361 fi
33362
33363   fi
33364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33365 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33366
33367     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33368       for ac_func in _hypot
33369 do :
33370   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33371 if test "x$ac_cv_func__hypot" = x""yes; then :
33372   cat >>confdefs.h <<_ACEOF
33373 #define HAVE__HYPOT 1
33374 _ACEOF
33375
33376 fi
33377 done
33378
33379     fi
33380   fi
33381
33382
33383
33384
33385
33386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33387 $as_echo_n "checking for float trig functions... " >&6; }
33388   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33389   $as_echo_n "(cached) " >&6
33390 else
33391
33392
33393     ac_ext=cpp
33394 ac_cpp='$CXXCPP $CPPFLAGS'
33395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33398
33399     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h.  */
33401 #include <math.h>
33402 int
33403 main ()
33404 {
33405 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33406   ;
33407   return 0;
33408 }
33409 _ACEOF
33410 if ac_fn_cxx_try_compile "$LINENO"; then :
33411   glibcxx_cv_func_float_trig_use=yes
33412 else
33413   glibcxx_cv_func_float_trig_use=no
33414 fi
33415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33416     ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421
33422 fi
33423
33424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33425 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33426   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33427     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33428 do :
33429   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33431 eval as_val=\$$as_ac_var
33432    if test "x$as_val" = x""yes; then :
33433   cat >>confdefs.h <<_ACEOF
33434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33435 _ACEOF
33436
33437 fi
33438 done
33439
33440   else
33441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33442 $as_echo_n "checking for _float trig functions... " >&6; }
33443     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33444   $as_echo_n "(cached) " >&6
33445 else
33446
33447
33448       ac_ext=cpp
33449 ac_cpp='$CXXCPP $CPPFLAGS'
33450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453
33454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33455 /* end confdefs.h.  */
33456 #include <math.h>
33457 int
33458 main ()
33459 {
33460 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33461   ;
33462   return 0;
33463 }
33464 _ACEOF
33465 if ac_fn_cxx_try_compile "$LINENO"; then :
33466   glibcxx_cv_func__float_trig_use=yes
33467 else
33468   glibcxx_cv_func__float_trig_use=no
33469 fi
33470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33471       ac_ext=c
33472 ac_cpp='$CPP $CPPFLAGS'
33473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33476
33477 fi
33478
33479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33480 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33481     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33482       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33483 do :
33484   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33486 eval as_val=\$$as_ac_var
33487    if test "x$as_val" = x""yes; then :
33488   cat >>confdefs.h <<_ACEOF
33489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33490 _ACEOF
33491
33492 fi
33493 done
33494
33495     fi
33496   fi
33497
33498
33499
33500
33501
33502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33503 $as_echo_n "checking for float round functions... " >&6; }
33504   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33505   $as_echo_n "(cached) " >&6
33506 else
33507
33508
33509     ac_ext=cpp
33510 ac_cpp='$CXXCPP $CPPFLAGS'
33511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33514
33515     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33516 /* end confdefs.h.  */
33517 #include <math.h>
33518 int
33519 main ()
33520 {
33521 ceilf (0); floorf (0);
33522   ;
33523   return 0;
33524 }
33525 _ACEOF
33526 if ac_fn_cxx_try_compile "$LINENO"; then :
33527   glibcxx_cv_func_float_round_use=yes
33528 else
33529   glibcxx_cv_func_float_round_use=no
33530 fi
33531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33532     ac_ext=c
33533 ac_cpp='$CPP $CPPFLAGS'
33534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33537
33538 fi
33539
33540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33541 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33542   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33543     for ac_func in ceilf floorf
33544 do :
33545   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33547 eval as_val=\$$as_ac_var
33548    if test "x$as_val" = x""yes; then :
33549   cat >>confdefs.h <<_ACEOF
33550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 _ACEOF
33552
33553 fi
33554 done
33555
33556   else
33557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33558 $as_echo_n "checking for _float round functions... " >&6; }
33559     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33560   $as_echo_n "(cached) " >&6
33561 else
33562
33563
33564       ac_ext=cpp
33565 ac_cpp='$CXXCPP $CPPFLAGS'
33566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33569
33570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33571 /* end confdefs.h.  */
33572 #include <math.h>
33573 int
33574 main ()
33575 {
33576 _ceilf (0); _floorf (0);
33577   ;
33578   return 0;
33579 }
33580 _ACEOF
33581 if ac_fn_cxx_try_compile "$LINENO"; then :
33582   glibcxx_cv_func__float_round_use=yes
33583 else
33584   glibcxx_cv_func__float_round_use=no
33585 fi
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587       ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33592
33593 fi
33594
33595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33596 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33597     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33598       for ac_func in _ceilf _floorf
33599 do :
33600   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33602 eval as_val=\$$as_ac_var
33603    if test "x$as_val" = x""yes; then :
33604   cat >>confdefs.h <<_ACEOF
33605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33606 _ACEOF
33607
33608 fi
33609 done
33610
33611     fi
33612   fi
33613
33614
33615
33616
33617
33618
33619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33620 $as_echo_n "checking for expf declaration... " >&6; }
33621   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33622     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33623   $as_echo_n "(cached) " >&6
33624 else
33625
33626
33627       ac_ext=cpp
33628 ac_cpp='$CXXCPP $CPPFLAGS'
33629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33632
33633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33634 /* end confdefs.h.  */
33635 #include <math.h>
33636                       #ifdef HAVE_IEEEFP_H
33637                       #include <ieeefp.h>
33638                       #endif
33639
33640 int
33641 main ()
33642 {
33643  expf(0);
33644   ;
33645   return 0;
33646 }
33647 _ACEOF
33648 if ac_fn_cxx_try_compile "$LINENO"; then :
33649   glibcxx_cv_func_expf_use=yes
33650 else
33651   glibcxx_cv_func_expf_use=no
33652 fi
33653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654       ac_ext=c
33655 ac_cpp='$CPP $CPPFLAGS'
33656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659
33660
33661 fi
33662
33663   fi
33664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33665 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33666
33667   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33668     for ac_func in expf
33669 do :
33670   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33671 if test "x$ac_cv_func_expf" = x""yes; then :
33672   cat >>confdefs.h <<_ACEOF
33673 #define HAVE_EXPF 1
33674 _ACEOF
33675
33676 fi
33677 done
33678
33679   else
33680
33681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33682 $as_echo_n "checking for _expf declaration... " >&6; }
33683   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33684     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33685   $as_echo_n "(cached) " >&6
33686 else
33687
33688
33689       ac_ext=cpp
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694
33695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696 /* end confdefs.h.  */
33697 #include <math.h>
33698                       #ifdef HAVE_IEEEFP_H
33699                       #include <ieeefp.h>
33700                       #endif
33701
33702 int
33703 main ()
33704 {
33705  _expf(0);
33706   ;
33707   return 0;
33708 }
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711   glibcxx_cv_func__expf_use=yes
33712 else
33713   glibcxx_cv_func__expf_use=no
33714 fi
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716       ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723 fi
33724
33725   fi
33726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33727 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33728
33729     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33730       for ac_func in _expf
33731 do :
33732   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33733 if test "x$ac_cv_func__expf" = x""yes; then :
33734   cat >>confdefs.h <<_ACEOF
33735 #define HAVE__EXPF 1
33736 _ACEOF
33737
33738 fi
33739 done
33740
33741     fi
33742   fi
33743
33744
33745
33746
33747
33748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33749 $as_echo_n "checking for isnanf declaration... " >&6; }
33750   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33751     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33752   $as_echo_n "(cached) " >&6
33753 else
33754
33755
33756       ac_ext=cpp
33757 ac_cpp='$CXXCPP $CPPFLAGS'
33758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33761
33762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763 /* end confdefs.h.  */
33764 #include <math.h>
33765                       #ifdef HAVE_IEEEFP_H
33766                       #include <ieeefp.h>
33767                       #endif
33768
33769 int
33770 main ()
33771 {
33772  isnanf(0);
33773   ;
33774   return 0;
33775 }
33776 _ACEOF
33777 if ac_fn_cxx_try_compile "$LINENO"; then :
33778   glibcxx_cv_func_isnanf_use=yes
33779 else
33780   glibcxx_cv_func_isnanf_use=no
33781 fi
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33783       ac_ext=c
33784 ac_cpp='$CPP $CPPFLAGS'
33785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33788
33789
33790 fi
33791
33792   fi
33793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33794 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33795
33796   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33797     for ac_func in isnanf
33798 do :
33799   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33800 if test "x$ac_cv_func_isnanf" = x""yes; then :
33801   cat >>confdefs.h <<_ACEOF
33802 #define HAVE_ISNANF 1
33803 _ACEOF
33804
33805 fi
33806 done
33807
33808   else
33809
33810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33811 $as_echo_n "checking for _isnanf declaration... " >&6; }
33812   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33813     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33814   $as_echo_n "(cached) " >&6
33815 else
33816
33817
33818       ac_ext=cpp
33819 ac_cpp='$CXXCPP $CPPFLAGS'
33820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33823
33824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33825 /* end confdefs.h.  */
33826 #include <math.h>
33827                       #ifdef HAVE_IEEEFP_H
33828                       #include <ieeefp.h>
33829                       #endif
33830
33831 int
33832 main ()
33833 {
33834  _isnanf(0);
33835   ;
33836   return 0;
33837 }
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840   glibcxx_cv_func__isnanf_use=yes
33841 else
33842   glibcxx_cv_func__isnanf_use=no
33843 fi
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845       ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33850
33851
33852 fi
33853
33854   fi
33855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33856 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33857
33858     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33859       for ac_func in _isnanf
33860 do :
33861   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33862 if test "x$ac_cv_func__isnanf" = x""yes; then :
33863   cat >>confdefs.h <<_ACEOF
33864 #define HAVE__ISNANF 1
33865 _ACEOF
33866
33867 fi
33868 done
33869
33870     fi
33871   fi
33872
33873
33874
33875
33876
33877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33878 $as_echo_n "checking for isinff declaration... " >&6; }
33879   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33880     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33881   $as_echo_n "(cached) " >&6
33882 else
33883
33884
33885       ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h.  */
33893 #include <math.h>
33894                       #ifdef HAVE_IEEEFP_H
33895                       #include <ieeefp.h>
33896                       #endif
33897
33898 int
33899 main ()
33900 {
33901  isinff(0);
33902   ;
33903   return 0;
33904 }
33905 _ACEOF
33906 if ac_fn_cxx_try_compile "$LINENO"; then :
33907   glibcxx_cv_func_isinff_use=yes
33908 else
33909   glibcxx_cv_func_isinff_use=no
33910 fi
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912       ac_ext=c
33913 ac_cpp='$CPP $CPPFLAGS'
33914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33917
33918
33919 fi
33920
33921   fi
33922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33923 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33924
33925   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33926     for ac_func in isinff
33927 do :
33928   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33929 if test "x$ac_cv_func_isinff" = x""yes; then :
33930   cat >>confdefs.h <<_ACEOF
33931 #define HAVE_ISINFF 1
33932 _ACEOF
33933
33934 fi
33935 done
33936
33937   else
33938
33939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33940 $as_echo_n "checking for _isinff declaration... " >&6; }
33941   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33942     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33943   $as_echo_n "(cached) " >&6
33944 else
33945
33946
33947       ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33952
33953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h.  */
33955 #include <math.h>
33956                       #ifdef HAVE_IEEEFP_H
33957                       #include <ieeefp.h>
33958                       #endif
33959
33960 int
33961 main ()
33962 {
33963  _isinff(0);
33964   ;
33965   return 0;
33966 }
33967 _ACEOF
33968 if ac_fn_cxx_try_compile "$LINENO"; then :
33969   glibcxx_cv_func__isinff_use=yes
33970 else
33971   glibcxx_cv_func__isinff_use=no
33972 fi
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974       ac_ext=c
33975 ac_cpp='$CPP $CPPFLAGS'
33976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33979
33980
33981 fi
33982
33983   fi
33984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33985 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33986
33987     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33988       for ac_func in _isinff
33989 do :
33990   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33991 if test "x$ac_cv_func__isinff" = x""yes; then :
33992   cat >>confdefs.h <<_ACEOF
33993 #define HAVE__ISINFF 1
33994 _ACEOF
33995
33996 fi
33997 done
33998
33999     fi
34000   fi
34001
34002
34003
34004
34005
34006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34007 $as_echo_n "checking for atan2f declaration... " >&6; }
34008   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34009     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34010   $as_echo_n "(cached) " >&6
34011 else
34012
34013
34014       ac_ext=cpp
34015 ac_cpp='$CXXCPP $CPPFLAGS'
34016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34019
34020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34021 /* end confdefs.h.  */
34022 #include <math.h>
34023 int
34024 main ()
34025 {
34026  atan2f(0, 0);
34027   ;
34028   return 0;
34029 }
34030 _ACEOF
34031 if ac_fn_cxx_try_compile "$LINENO"; then :
34032   glibcxx_cv_func_atan2f_use=yes
34033 else
34034   glibcxx_cv_func_atan2f_use=no
34035 fi
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34037       ac_ext=c
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34042
34043
34044 fi
34045
34046   fi
34047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34048 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34049
34050   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34051     for ac_func in atan2f
34052 do :
34053   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34054 if test "x$ac_cv_func_atan2f" = x""yes; then :
34055   cat >>confdefs.h <<_ACEOF
34056 #define HAVE_ATAN2F 1
34057 _ACEOF
34058
34059 fi
34060 done
34061
34062   else
34063
34064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34065 $as_echo_n "checking for _atan2f declaration... " >&6; }
34066   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34067     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34068   $as_echo_n "(cached) " >&6
34069 else
34070
34071
34072       ac_ext=cpp
34073 ac_cpp='$CXXCPP $CPPFLAGS'
34074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34077
34078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34079 /* end confdefs.h.  */
34080 #include <math.h>
34081 int
34082 main ()
34083 {
34084  _atan2f(0, 0);
34085   ;
34086   return 0;
34087 }
34088 _ACEOF
34089 if ac_fn_cxx_try_compile "$LINENO"; then :
34090   glibcxx_cv_func__atan2f_use=yes
34091 else
34092   glibcxx_cv_func__atan2f_use=no
34093 fi
34094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095       ac_ext=c
34096 ac_cpp='$CPP $CPPFLAGS'
34097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100
34101
34102 fi
34103
34104   fi
34105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34106 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34107
34108     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34109       for ac_func in _atan2f
34110 do :
34111   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34112 if test "x$ac_cv_func__atan2f" = x""yes; then :
34113   cat >>confdefs.h <<_ACEOF
34114 #define HAVE__ATAN2F 1
34115 _ACEOF
34116
34117 fi
34118 done
34119
34120     fi
34121   fi
34122
34123
34124
34125
34126
34127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34128 $as_echo_n "checking for fabsf declaration... " >&6; }
34129   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34130     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34131   $as_echo_n "(cached) " >&6
34132 else
34133
34134
34135       ac_ext=cpp
34136 ac_cpp='$CXXCPP $CPPFLAGS'
34137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34140
34141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34142 /* end confdefs.h.  */
34143 #include <math.h>
34144                       #ifdef HAVE_IEEEFP_H
34145                       #include <ieeefp.h>
34146                       #endif
34147
34148 int
34149 main ()
34150 {
34151  fabsf(0);
34152   ;
34153   return 0;
34154 }
34155 _ACEOF
34156 if ac_fn_cxx_try_compile "$LINENO"; then :
34157   glibcxx_cv_func_fabsf_use=yes
34158 else
34159   glibcxx_cv_func_fabsf_use=no
34160 fi
34161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34162       ac_ext=c
34163 ac_cpp='$CPP $CPPFLAGS'
34164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34167
34168
34169 fi
34170
34171   fi
34172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34173 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34174
34175   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34176     for ac_func in fabsf
34177 do :
34178   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34179 if test "x$ac_cv_func_fabsf" = x""yes; then :
34180   cat >>confdefs.h <<_ACEOF
34181 #define HAVE_FABSF 1
34182 _ACEOF
34183
34184 fi
34185 done
34186
34187   else
34188
34189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34190 $as_echo_n "checking for _fabsf declaration... " >&6; }
34191   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34192     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34193   $as_echo_n "(cached) " >&6
34194 else
34195
34196
34197       ac_ext=cpp
34198 ac_cpp='$CXXCPP $CPPFLAGS'
34199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34202
34203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34204 /* end confdefs.h.  */
34205 #include <math.h>
34206                       #ifdef HAVE_IEEEFP_H
34207                       #include <ieeefp.h>
34208                       #endif
34209
34210 int
34211 main ()
34212 {
34213  _fabsf(0);
34214   ;
34215   return 0;
34216 }
34217 _ACEOF
34218 if ac_fn_cxx_try_compile "$LINENO"; then :
34219   glibcxx_cv_func__fabsf_use=yes
34220 else
34221   glibcxx_cv_func__fabsf_use=no
34222 fi
34223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224       ac_ext=c
34225 ac_cpp='$CPP $CPPFLAGS'
34226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34229
34230
34231 fi
34232
34233   fi
34234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34235 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34236
34237     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34238       for ac_func in _fabsf
34239 do :
34240   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34241 if test "x$ac_cv_func__fabsf" = x""yes; then :
34242   cat >>confdefs.h <<_ACEOF
34243 #define HAVE__FABSF 1
34244 _ACEOF
34245
34246 fi
34247 done
34248
34249     fi
34250   fi
34251
34252
34253
34254
34255
34256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34257 $as_echo_n "checking for fmodf declaration... " >&6; }
34258   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34259     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34260   $as_echo_n "(cached) " >&6
34261 else
34262
34263
34264       ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269
34270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h.  */
34272 #include <math.h>
34273 int
34274 main ()
34275 {
34276  fmodf(0, 0);
34277   ;
34278   return 0;
34279 }
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282   glibcxx_cv_func_fmodf_use=yes
34283 else
34284   glibcxx_cv_func_fmodf_use=no
34285 fi
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287       ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292
34293
34294 fi
34295
34296   fi
34297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34298 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34299
34300   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34301     for ac_func in fmodf
34302 do :
34303   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34304 if test "x$ac_cv_func_fmodf" = x""yes; then :
34305   cat >>confdefs.h <<_ACEOF
34306 #define HAVE_FMODF 1
34307 _ACEOF
34308
34309 fi
34310 done
34311
34312   else
34313
34314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34315 $as_echo_n "checking for _fmodf declaration... " >&6; }
34316   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34317     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34318   $as_echo_n "(cached) " >&6
34319 else
34320
34321
34322       ac_ext=cpp
34323 ac_cpp='$CXXCPP $CPPFLAGS'
34324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34327
34328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329 /* end confdefs.h.  */
34330 #include <math.h>
34331 int
34332 main ()
34333 {
34334  _fmodf(0, 0);
34335   ;
34336   return 0;
34337 }
34338 _ACEOF
34339 if ac_fn_cxx_try_compile "$LINENO"; then :
34340   glibcxx_cv_func__fmodf_use=yes
34341 else
34342   glibcxx_cv_func__fmodf_use=no
34343 fi
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345       ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350
34351
34352 fi
34353
34354   fi
34355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34356 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34357
34358     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34359       for ac_func in _fmodf
34360 do :
34361   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34362 if test "x$ac_cv_func__fmodf" = x""yes; then :
34363   cat >>confdefs.h <<_ACEOF
34364 #define HAVE__FMODF 1
34365 _ACEOF
34366
34367 fi
34368 done
34369
34370     fi
34371   fi
34372
34373
34374
34375
34376
34377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34378 $as_echo_n "checking for frexpf declaration... " >&6; }
34379   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34380     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34381   $as_echo_n "(cached) " >&6
34382 else
34383
34384
34385       ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34390
34391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h.  */
34393 #include <math.h>
34394 int
34395 main ()
34396 {
34397  frexpf(0, 0);
34398   ;
34399   return 0;
34400 }
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403   glibcxx_cv_func_frexpf_use=yes
34404 else
34405   glibcxx_cv_func_frexpf_use=no
34406 fi
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408       ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34413
34414
34415 fi
34416
34417   fi
34418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34419 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34420
34421   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34422     for ac_func in frexpf
34423 do :
34424   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34425 if test "x$ac_cv_func_frexpf" = x""yes; then :
34426   cat >>confdefs.h <<_ACEOF
34427 #define HAVE_FREXPF 1
34428 _ACEOF
34429
34430 fi
34431 done
34432
34433   else
34434
34435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34436 $as_echo_n "checking for _frexpf declaration... " >&6; }
34437   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34438     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34439   $as_echo_n "(cached) " >&6
34440 else
34441
34442
34443       ac_ext=cpp
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448
34449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34450 /* end confdefs.h.  */
34451 #include <math.h>
34452 int
34453 main ()
34454 {
34455  _frexpf(0, 0);
34456   ;
34457   return 0;
34458 }
34459 _ACEOF
34460 if ac_fn_cxx_try_compile "$LINENO"; then :
34461   glibcxx_cv_func__frexpf_use=yes
34462 else
34463   glibcxx_cv_func__frexpf_use=no
34464 fi
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466       ac_ext=c
34467 ac_cpp='$CPP $CPPFLAGS'
34468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471
34472
34473 fi
34474
34475   fi
34476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34477 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34478
34479     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34480       for ac_func in _frexpf
34481 do :
34482   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34483 if test "x$ac_cv_func__frexpf" = x""yes; then :
34484   cat >>confdefs.h <<_ACEOF
34485 #define HAVE__FREXPF 1
34486 _ACEOF
34487
34488 fi
34489 done
34490
34491     fi
34492   fi
34493
34494
34495
34496
34497
34498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34499 $as_echo_n "checking for hypotf declaration... " >&6; }
34500   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34501     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34502   $as_echo_n "(cached) " >&6
34503 else
34504
34505
34506       ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511
34512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h.  */
34514 #include <math.h>
34515 int
34516 main ()
34517 {
34518  hypotf(0, 0);
34519   ;
34520   return 0;
34521 }
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524   glibcxx_cv_func_hypotf_use=yes
34525 else
34526   glibcxx_cv_func_hypotf_use=no
34527 fi
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529       ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34534
34535
34536 fi
34537
34538   fi
34539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34540 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34541
34542   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34543     for ac_func in hypotf
34544 do :
34545   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34546 if test "x$ac_cv_func_hypotf" = x""yes; then :
34547   cat >>confdefs.h <<_ACEOF
34548 #define HAVE_HYPOTF 1
34549 _ACEOF
34550
34551 fi
34552 done
34553
34554   else
34555
34556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34557 $as_echo_n "checking for _hypotf declaration... " >&6; }
34558   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34559     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34560   $as_echo_n "(cached) " >&6
34561 else
34562
34563
34564       ac_ext=cpp
34565 ac_cpp='$CXXCPP $CPPFLAGS'
34566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34569
34570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34571 /* end confdefs.h.  */
34572 #include <math.h>
34573 int
34574 main ()
34575 {
34576  _hypotf(0, 0);
34577   ;
34578   return 0;
34579 }
34580 _ACEOF
34581 if ac_fn_cxx_try_compile "$LINENO"; then :
34582   glibcxx_cv_func__hypotf_use=yes
34583 else
34584   glibcxx_cv_func__hypotf_use=no
34585 fi
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587       ac_ext=c
34588 ac_cpp='$CPP $CPPFLAGS'
34589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592
34593
34594 fi
34595
34596   fi
34597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34598 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34599
34600     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34601       for ac_func in _hypotf
34602 do :
34603   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34604 if test "x$ac_cv_func__hypotf" = x""yes; then :
34605   cat >>confdefs.h <<_ACEOF
34606 #define HAVE__HYPOTF 1
34607 _ACEOF
34608
34609 fi
34610 done
34611
34612     fi
34613   fi
34614
34615
34616
34617
34618
34619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34620 $as_echo_n "checking for ldexpf declaration... " >&6; }
34621   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34622     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34623   $as_echo_n "(cached) " >&6
34624 else
34625
34626
34627       ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632
34633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h.  */
34635 #include <math.h>
34636 int
34637 main ()
34638 {
34639  ldexpf(0, 0);
34640   ;
34641   return 0;
34642 }
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645   glibcxx_cv_func_ldexpf_use=yes
34646 else
34647   glibcxx_cv_func_ldexpf_use=no
34648 fi
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650       ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657 fi
34658
34659   fi
34660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34661 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34662
34663   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34664     for ac_func in ldexpf
34665 do :
34666   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34667 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34668   cat >>confdefs.h <<_ACEOF
34669 #define HAVE_LDEXPF 1
34670 _ACEOF
34671
34672 fi
34673 done
34674
34675   else
34676
34677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34678 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34679   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34680     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34681   $as_echo_n "(cached) " >&6
34682 else
34683
34684
34685       ac_ext=cpp
34686 ac_cpp='$CXXCPP $CPPFLAGS'
34687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34690
34691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34692 /* end confdefs.h.  */
34693 #include <math.h>
34694 int
34695 main ()
34696 {
34697  _ldexpf(0, 0);
34698   ;
34699   return 0;
34700 }
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703   glibcxx_cv_func__ldexpf_use=yes
34704 else
34705   glibcxx_cv_func__ldexpf_use=no
34706 fi
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708       ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713
34714
34715 fi
34716
34717   fi
34718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34719 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34720
34721     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34722       for ac_func in _ldexpf
34723 do :
34724   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34725 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34726   cat >>confdefs.h <<_ACEOF
34727 #define HAVE__LDEXPF 1
34728 _ACEOF
34729
34730 fi
34731 done
34732
34733     fi
34734   fi
34735
34736
34737
34738
34739
34740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34741 $as_echo_n "checking for logf declaration... " >&6; }
34742   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34743     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34744   $as_echo_n "(cached) " >&6
34745 else
34746
34747
34748       ac_ext=cpp
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753
34754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755 /* end confdefs.h.  */
34756 #include <math.h>
34757                       #ifdef HAVE_IEEEFP_H
34758                       #include <ieeefp.h>
34759                       #endif
34760
34761 int
34762 main ()
34763 {
34764  logf(0);
34765   ;
34766   return 0;
34767 }
34768 _ACEOF
34769 if ac_fn_cxx_try_compile "$LINENO"; then :
34770   glibcxx_cv_func_logf_use=yes
34771 else
34772   glibcxx_cv_func_logf_use=no
34773 fi
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775       ac_ext=c
34776 ac_cpp='$CPP $CPPFLAGS'
34777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34780
34781
34782 fi
34783
34784   fi
34785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34786 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34787
34788   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34789     for ac_func in logf
34790 do :
34791   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34792 if test "x$ac_cv_func_logf" = x""yes; then :
34793   cat >>confdefs.h <<_ACEOF
34794 #define HAVE_LOGF 1
34795 _ACEOF
34796
34797 fi
34798 done
34799
34800   else
34801
34802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34803 $as_echo_n "checking for _logf declaration... " >&6; }
34804   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34805     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34806   $as_echo_n "(cached) " >&6
34807 else
34808
34809
34810       ac_ext=cpp
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815
34816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817 /* end confdefs.h.  */
34818 #include <math.h>
34819                       #ifdef HAVE_IEEEFP_H
34820                       #include <ieeefp.h>
34821                       #endif
34822
34823 int
34824 main ()
34825 {
34826  _logf(0);
34827   ;
34828   return 0;
34829 }
34830 _ACEOF
34831 if ac_fn_cxx_try_compile "$LINENO"; then :
34832   glibcxx_cv_func__logf_use=yes
34833 else
34834   glibcxx_cv_func__logf_use=no
34835 fi
34836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837       ac_ext=c
34838 ac_cpp='$CPP $CPPFLAGS'
34839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842
34843
34844 fi
34845
34846   fi
34847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34848 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34849
34850     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34851       for ac_func in _logf
34852 do :
34853   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34854 if test "x$ac_cv_func__logf" = x""yes; then :
34855   cat >>confdefs.h <<_ACEOF
34856 #define HAVE__LOGF 1
34857 _ACEOF
34858
34859 fi
34860 done
34861
34862     fi
34863   fi
34864
34865
34866
34867
34868
34869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34870 $as_echo_n "checking for log10f declaration... " >&6; }
34871   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34872     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34873   $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877       ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h.  */
34885 #include <math.h>
34886                       #ifdef HAVE_IEEEFP_H
34887                       #include <ieeefp.h>
34888                       #endif
34889
34890 int
34891 main ()
34892 {
34893  log10f(0);
34894   ;
34895   return 0;
34896 }
34897 _ACEOF
34898 if ac_fn_cxx_try_compile "$LINENO"; then :
34899   glibcxx_cv_func_log10f_use=yes
34900 else
34901   glibcxx_cv_func_log10f_use=no
34902 fi
34903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34904       ac_ext=c
34905 ac_cpp='$CPP $CPPFLAGS'
34906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34909
34910
34911 fi
34912
34913   fi
34914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34915 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34916
34917   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34918     for ac_func in log10f
34919 do :
34920   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34921 if test "x$ac_cv_func_log10f" = x""yes; then :
34922   cat >>confdefs.h <<_ACEOF
34923 #define HAVE_LOG10F 1
34924 _ACEOF
34925
34926 fi
34927 done
34928
34929   else
34930
34931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34932 $as_echo_n "checking for _log10f declaration... " >&6; }
34933   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34934     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34935   $as_echo_n "(cached) " >&6
34936 else
34937
34938
34939       ac_ext=cpp
34940 ac_cpp='$CXXCPP $CPPFLAGS'
34941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34944
34945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34946 /* end confdefs.h.  */
34947 #include <math.h>
34948                       #ifdef HAVE_IEEEFP_H
34949                       #include <ieeefp.h>
34950                       #endif
34951
34952 int
34953 main ()
34954 {
34955  _log10f(0);
34956   ;
34957   return 0;
34958 }
34959 _ACEOF
34960 if ac_fn_cxx_try_compile "$LINENO"; then :
34961   glibcxx_cv_func__log10f_use=yes
34962 else
34963   glibcxx_cv_func__log10f_use=no
34964 fi
34965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34966       ac_ext=c
34967 ac_cpp='$CPP $CPPFLAGS'
34968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34971
34972
34973 fi
34974
34975   fi
34976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34977 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34978
34979     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34980       for ac_func in _log10f
34981 do :
34982   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34983 if test "x$ac_cv_func__log10f" = x""yes; then :
34984   cat >>confdefs.h <<_ACEOF
34985 #define HAVE__LOG10F 1
34986 _ACEOF
34987
34988 fi
34989 done
34990
34991     fi
34992   fi
34993
34994
34995
34996
34997
34998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34999 $as_echo_n "checking for modff declaration... " >&6; }
35000   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35001     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35002   $as_echo_n "(cached) " >&6
35003 else
35004
35005
35006       ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011
35012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h.  */
35014 #include <math.h>
35015 int
35016 main ()
35017 {
35018  modff(0, 0);
35019   ;
35020   return 0;
35021 }
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024   glibcxx_cv_func_modff_use=yes
35025 else
35026   glibcxx_cv_func_modff_use=no
35027 fi
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029       ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035
35036 fi
35037
35038   fi
35039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35040 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35041
35042   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35043     for ac_func in modff
35044 do :
35045   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35046 if test "x$ac_cv_func_modff" = x""yes; then :
35047   cat >>confdefs.h <<_ACEOF
35048 #define HAVE_MODFF 1
35049 _ACEOF
35050
35051 fi
35052 done
35053
35054   else
35055
35056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35057 $as_echo_n "checking for _modff declaration... " >&6; }
35058   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35059     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35060   $as_echo_n "(cached) " >&6
35061 else
35062
35063
35064       ac_ext=cpp
35065 ac_cpp='$CXXCPP $CPPFLAGS'
35066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069
35070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071 /* end confdefs.h.  */
35072 #include <math.h>
35073 int
35074 main ()
35075 {
35076  _modff(0, 0);
35077   ;
35078   return 0;
35079 }
35080 _ACEOF
35081 if ac_fn_cxx_try_compile "$LINENO"; then :
35082   glibcxx_cv_func__modff_use=yes
35083 else
35084   glibcxx_cv_func__modff_use=no
35085 fi
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087       ac_ext=c
35088 ac_cpp='$CPP $CPPFLAGS'
35089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093
35094 fi
35095
35096   fi
35097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35098 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35099
35100     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35101       for ac_func in _modff
35102 do :
35103   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35104 if test "x$ac_cv_func__modff" = x""yes; then :
35105   cat >>confdefs.h <<_ACEOF
35106 #define HAVE__MODFF 1
35107 _ACEOF
35108
35109 fi
35110 done
35111
35112     fi
35113   fi
35114
35115
35116
35117
35118
35119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35120 $as_echo_n "checking for modf declaration... " >&6; }
35121   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35122     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35123   $as_echo_n "(cached) " >&6
35124 else
35125
35126
35127       ac_ext=cpp
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35132
35133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35134 /* end confdefs.h.  */
35135 #include <math.h>
35136 int
35137 main ()
35138 {
35139  modf(0, 0);
35140   ;
35141   return 0;
35142 }
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145   glibcxx_cv_func_modf_use=yes
35146 else
35147   glibcxx_cv_func_modf_use=no
35148 fi
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150       ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156
35157 fi
35158
35159   fi
35160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35161 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35162
35163   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35164     for ac_func in modf
35165 do :
35166   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35167 if test "x$ac_cv_func_modf" = x""yes; then :
35168   cat >>confdefs.h <<_ACEOF
35169 #define HAVE_MODF 1
35170 _ACEOF
35171
35172 fi
35173 done
35174
35175   else
35176
35177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35178 $as_echo_n "checking for _modf declaration... " >&6; }
35179   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35180     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35181   $as_echo_n "(cached) " >&6
35182 else
35183
35184
35185       ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190
35191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h.  */
35193 #include <math.h>
35194 int
35195 main ()
35196 {
35197  _modf(0, 0);
35198   ;
35199   return 0;
35200 }
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203   glibcxx_cv_func__modf_use=yes
35204 else
35205   glibcxx_cv_func__modf_use=no
35206 fi
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208       ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213
35214
35215 fi
35216
35217   fi
35218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35219 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35220
35221     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35222       for ac_func in _modf
35223 do :
35224   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35225 if test "x$ac_cv_func__modf" = x""yes; then :
35226   cat >>confdefs.h <<_ACEOF
35227 #define HAVE__MODF 1
35228 _ACEOF
35229
35230 fi
35231 done
35232
35233     fi
35234   fi
35235
35236
35237
35238
35239
35240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35241 $as_echo_n "checking for powf declaration... " >&6; }
35242   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35243     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35244   $as_echo_n "(cached) " >&6
35245 else
35246
35247
35248       ac_ext=cpp
35249 ac_cpp='$CXXCPP $CPPFLAGS'
35250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35253
35254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h.  */
35256 #include <math.h>
35257 int
35258 main ()
35259 {
35260  powf(0, 0);
35261   ;
35262   return 0;
35263 }
35264 _ACEOF
35265 if ac_fn_cxx_try_compile "$LINENO"; then :
35266   glibcxx_cv_func_powf_use=yes
35267 else
35268   glibcxx_cv_func_powf_use=no
35269 fi
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271       ac_ext=c
35272 ac_cpp='$CPP $CPPFLAGS'
35273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35276
35277
35278 fi
35279
35280   fi
35281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35282 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35283
35284   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35285     for ac_func in powf
35286 do :
35287   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35288 if test "x$ac_cv_func_powf" = x""yes; then :
35289   cat >>confdefs.h <<_ACEOF
35290 #define HAVE_POWF 1
35291 _ACEOF
35292
35293 fi
35294 done
35295
35296   else
35297
35298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35299 $as_echo_n "checking for _powf declaration... " >&6; }
35300   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35301     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35302   $as_echo_n "(cached) " >&6
35303 else
35304
35305
35306       ac_ext=cpp
35307 ac_cpp='$CXXCPP $CPPFLAGS'
35308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35311
35312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35313 /* end confdefs.h.  */
35314 #include <math.h>
35315 int
35316 main ()
35317 {
35318  _powf(0, 0);
35319   ;
35320   return 0;
35321 }
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324   glibcxx_cv_func__powf_use=yes
35325 else
35326   glibcxx_cv_func__powf_use=no
35327 fi
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329       ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334
35335
35336 fi
35337
35338   fi
35339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35340 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35341
35342     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35343       for ac_func in _powf
35344 do :
35345   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35346 if test "x$ac_cv_func__powf" = x""yes; then :
35347   cat >>confdefs.h <<_ACEOF
35348 #define HAVE__POWF 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354     fi
35355   fi
35356
35357
35358
35359
35360
35361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35362 $as_echo_n "checking for sqrtf declaration... " >&6; }
35363   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35364     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35365   $as_echo_n "(cached) " >&6
35366 else
35367
35368
35369       ac_ext=cpp
35370 ac_cpp='$CXXCPP $CPPFLAGS'
35371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374
35375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35376 /* end confdefs.h.  */
35377 #include <math.h>
35378                       #ifdef HAVE_IEEEFP_H
35379                       #include <ieeefp.h>
35380                       #endif
35381
35382 int
35383 main ()
35384 {
35385  sqrtf(0);
35386   ;
35387   return 0;
35388 }
35389 _ACEOF
35390 if ac_fn_cxx_try_compile "$LINENO"; then :
35391   glibcxx_cv_func_sqrtf_use=yes
35392 else
35393   glibcxx_cv_func_sqrtf_use=no
35394 fi
35395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35396       ac_ext=c
35397 ac_cpp='$CPP $CPPFLAGS'
35398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401
35402
35403 fi
35404
35405   fi
35406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35407 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35408
35409   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35410     for ac_func in sqrtf
35411 do :
35412   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35413 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35414   cat >>confdefs.h <<_ACEOF
35415 #define HAVE_SQRTF 1
35416 _ACEOF
35417
35418 fi
35419 done
35420
35421   else
35422
35423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35424 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35425   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35426     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35427   $as_echo_n "(cached) " >&6
35428 else
35429
35430
35431       ac_ext=cpp
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436
35437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h.  */
35439 #include <math.h>
35440                       #ifdef HAVE_IEEEFP_H
35441                       #include <ieeefp.h>
35442                       #endif
35443
35444 int
35445 main ()
35446 {
35447  _sqrtf(0);
35448   ;
35449   return 0;
35450 }
35451 _ACEOF
35452 if ac_fn_cxx_try_compile "$LINENO"; then :
35453   glibcxx_cv_func__sqrtf_use=yes
35454 else
35455   glibcxx_cv_func__sqrtf_use=no
35456 fi
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458       ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463
35464
35465 fi
35466
35467   fi
35468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35469 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35470
35471     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35472       for ac_func in _sqrtf
35473 do :
35474   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35475 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35476   cat >>confdefs.h <<_ACEOF
35477 #define HAVE__SQRTF 1
35478 _ACEOF
35479
35480 fi
35481 done
35482
35483     fi
35484   fi
35485
35486
35487
35488
35489
35490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35491 $as_echo_n "checking for sincosf declaration... " >&6; }
35492   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35493     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35494   $as_echo_n "(cached) " >&6
35495 else
35496
35497
35498       ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503
35504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h.  */
35506 #include <math.h>
35507 int
35508 main ()
35509 {
35510  sincosf(0, 0, 0);
35511   ;
35512   return 0;
35513 }
35514 _ACEOF
35515 if ac_fn_cxx_try_compile "$LINENO"; then :
35516   glibcxx_cv_func_sincosf_use=yes
35517 else
35518   glibcxx_cv_func_sincosf_use=no
35519 fi
35520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521       ac_ext=c
35522 ac_cpp='$CPP $CPPFLAGS'
35523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526
35527
35528 fi
35529
35530   fi
35531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35532 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35533
35534   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35535     for ac_func in sincosf
35536 do :
35537   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35538 if test "x$ac_cv_func_sincosf" = x""yes; then :
35539   cat >>confdefs.h <<_ACEOF
35540 #define HAVE_SINCOSF 1
35541 _ACEOF
35542
35543 fi
35544 done
35545
35546   else
35547
35548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35549 $as_echo_n "checking for _sincosf declaration... " >&6; }
35550   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35551     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35552   $as_echo_n "(cached) " >&6
35553 else
35554
35555
35556       ac_ext=cpp
35557 ac_cpp='$CXXCPP $CPPFLAGS'
35558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35561
35562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35563 /* end confdefs.h.  */
35564 #include <math.h>
35565 int
35566 main ()
35567 {
35568  _sincosf(0, 0, 0);
35569   ;
35570   return 0;
35571 }
35572 _ACEOF
35573 if ac_fn_cxx_try_compile "$LINENO"; then :
35574   glibcxx_cv_func__sincosf_use=yes
35575 else
35576   glibcxx_cv_func__sincosf_use=no
35577 fi
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579       ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584
35585
35586 fi
35587
35588   fi
35589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35590 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35591
35592     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35593       for ac_func in _sincosf
35594 do :
35595   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35596 if test "x$ac_cv_func__sincosf" = x""yes; then :
35597   cat >>confdefs.h <<_ACEOF
35598 #define HAVE__SINCOSF 1
35599 _ACEOF
35600
35601 fi
35602 done
35603
35604     fi
35605   fi
35606
35607
35608
35609
35610
35611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35612 $as_echo_n "checking for finitef declaration... " >&6; }
35613   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35614     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35615   $as_echo_n "(cached) " >&6
35616 else
35617
35618
35619       ac_ext=cpp
35620 ac_cpp='$CXXCPP $CPPFLAGS'
35621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35624
35625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 /* end confdefs.h.  */
35627 #include <math.h>
35628                       #ifdef HAVE_IEEEFP_H
35629                       #include <ieeefp.h>
35630                       #endif
35631
35632 int
35633 main ()
35634 {
35635  finitef(0);
35636   ;
35637   return 0;
35638 }
35639 _ACEOF
35640 if ac_fn_cxx_try_compile "$LINENO"; then :
35641   glibcxx_cv_func_finitef_use=yes
35642 else
35643   glibcxx_cv_func_finitef_use=no
35644 fi
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35646       ac_ext=c
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651
35652
35653 fi
35654
35655   fi
35656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35657 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35658
35659   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35660     for ac_func in finitef
35661 do :
35662   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35663 if test "x$ac_cv_func_finitef" = x""yes; then :
35664   cat >>confdefs.h <<_ACEOF
35665 #define HAVE_FINITEF 1
35666 _ACEOF
35667
35668 fi
35669 done
35670
35671   else
35672
35673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35674 $as_echo_n "checking for _finitef declaration... " >&6; }
35675   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35676     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35677   $as_echo_n "(cached) " >&6
35678 else
35679
35680
35681       ac_ext=cpp
35682 ac_cpp='$CXXCPP $CPPFLAGS'
35683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35686
35687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35688 /* end confdefs.h.  */
35689 #include <math.h>
35690                       #ifdef HAVE_IEEEFP_H
35691                       #include <ieeefp.h>
35692                       #endif
35693
35694 int
35695 main ()
35696 {
35697  _finitef(0);
35698   ;
35699   return 0;
35700 }
35701 _ACEOF
35702 if ac_fn_cxx_try_compile "$LINENO"; then :
35703   glibcxx_cv_func__finitef_use=yes
35704 else
35705   glibcxx_cv_func__finitef_use=no
35706 fi
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708       ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35713
35714
35715 fi
35716
35717   fi
35718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35719 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35720
35721     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35722       for ac_func in _finitef
35723 do :
35724   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35725 if test "x$ac_cv_func__finitef" = x""yes; then :
35726   cat >>confdefs.h <<_ACEOF
35727 #define HAVE__FINITEF 1
35728 _ACEOF
35729
35730 fi
35731 done
35732
35733     fi
35734   fi
35735
35736
35737
35738
35739
35740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35741 $as_echo_n "checking for long double trig functions... " >&6; }
35742   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35743   $as_echo_n "(cached) " >&6
35744 else
35745
35746
35747     ac_ext=cpp
35748 ac_cpp='$CXXCPP $CPPFLAGS'
35749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35752
35753     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35754 /* end confdefs.h.  */
35755 #include <math.h>
35756 int
35757 main ()
35758 {
35759 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35760   ;
35761   return 0;
35762 }
35763 _ACEOF
35764 if ac_fn_cxx_try_compile "$LINENO"; then :
35765   glibcxx_cv_func_long_double_trig_use=yes
35766 else
35767   glibcxx_cv_func_long_double_trig_use=no
35768 fi
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35770     ac_ext=c
35771 ac_cpp='$CPP $CPPFLAGS'
35772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35775
35776 fi
35777
35778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35779 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35780   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35781     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35782 do :
35783   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35785 eval as_val=\$$as_ac_var
35786    if test "x$as_val" = x""yes; then :
35787   cat >>confdefs.h <<_ACEOF
35788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35789 _ACEOF
35790
35791 fi
35792 done
35793
35794   else
35795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35796 $as_echo_n "checking for _long double trig functions... " >&6; }
35797     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35798   $as_echo_n "(cached) " >&6
35799 else
35800
35801
35802       ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35807
35808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h.  */
35810 #include <math.h>
35811 int
35812 main ()
35813 {
35814 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35815   ;
35816   return 0;
35817 }
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820   glibcxx_cv_func__long_double_trig_use=yes
35821 else
35822   glibcxx_cv_func__long_double_trig_use=no
35823 fi
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825       ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830
35831 fi
35832
35833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35834 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35835     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35836       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35837 do :
35838   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35840 eval as_val=\$$as_ac_var
35841    if test "x$as_val" = x""yes; then :
35842   cat >>confdefs.h <<_ACEOF
35843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35844 _ACEOF
35845
35846 fi
35847 done
35848
35849     fi
35850   fi
35851
35852
35853
35854
35855
35856     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35857 $as_echo_n "checking for long double round functions... " >&6; }
35858   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35859   $as_echo_n "(cached) " >&6
35860 else
35861
35862
35863     ac_ext=cpp
35864 ac_cpp='$CXXCPP $CPPFLAGS'
35865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35868
35869     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35870 /* end confdefs.h.  */
35871 #include <math.h>
35872 int
35873 main ()
35874 {
35875 ceill (0); floorl (0);
35876   ;
35877   return 0;
35878 }
35879 _ACEOF
35880 if ac_fn_cxx_try_compile "$LINENO"; then :
35881   glibcxx_cv_func_long_double_round_use=yes
35882 else
35883   glibcxx_cv_func_long_double_round_use=no
35884 fi
35885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35886     ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35891
35892 fi
35893
35894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35895 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35896   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35897     for ac_func in ceill floorl
35898 do :
35899   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35901 eval as_val=\$$as_ac_var
35902    if test "x$as_val" = x""yes; then :
35903   cat >>confdefs.h <<_ACEOF
35904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35905 _ACEOF
35906
35907 fi
35908 done
35909
35910   else
35911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35912 $as_echo_n "checking for _long double round functions... " >&6; }
35913     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35914   $as_echo_n "(cached) " >&6
35915 else
35916
35917
35918       ac_ext=cpp
35919 ac_cpp='$CXXCPP $CPPFLAGS'
35920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35923
35924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35925 /* end confdefs.h.  */
35926 #include <math.h>
35927 int
35928 main ()
35929 {
35930 _ceill (0); _floorl (0);
35931   ;
35932   return 0;
35933 }
35934 _ACEOF
35935 if ac_fn_cxx_try_compile "$LINENO"; then :
35936   glibcxx_cv_func__long_double_round_use=yes
35937 else
35938   glibcxx_cv_func__long_double_round_use=no
35939 fi
35940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35941       ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946
35947 fi
35948
35949     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35950 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35951     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35952       for ac_func in _ceill _floorl
35953 do :
35954   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35956 eval as_val=\$$as_ac_var
35957    if test "x$as_val" = x""yes; then :
35958   cat >>confdefs.h <<_ACEOF
35959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35960 _ACEOF
35961
35962 fi
35963 done
35964
35965     fi
35966   fi
35967
35968
35969
35970
35971
35972
35973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35974 $as_echo_n "checking for isnanl declaration... " >&6; }
35975   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35976     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35977   $as_echo_n "(cached) " >&6
35978 else
35979
35980
35981       ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35986
35987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h.  */
35989 #include <math.h>
35990                       #ifdef HAVE_IEEEFP_H
35991                       #include <ieeefp.h>
35992                       #endif
35993
35994 int
35995 main ()
35996 {
35997  isnanl(0);
35998   ;
35999   return 0;
36000 }
36001 _ACEOF
36002 if ac_fn_cxx_try_compile "$LINENO"; then :
36003   glibcxx_cv_func_isnanl_use=yes
36004 else
36005   glibcxx_cv_func_isnanl_use=no
36006 fi
36007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36008       ac_ext=c
36009 ac_cpp='$CPP $CPPFLAGS'
36010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36013
36014
36015 fi
36016
36017   fi
36018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36019 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36020
36021   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36022     for ac_func in isnanl
36023 do :
36024   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36025 if test "x$ac_cv_func_isnanl" = x""yes; then :
36026   cat >>confdefs.h <<_ACEOF
36027 #define HAVE_ISNANL 1
36028 _ACEOF
36029
36030 fi
36031 done
36032
36033   else
36034
36035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36036 $as_echo_n "checking for _isnanl declaration... " >&6; }
36037   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36038     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36039   $as_echo_n "(cached) " >&6
36040 else
36041
36042
36043       ac_ext=cpp
36044 ac_cpp='$CXXCPP $CPPFLAGS'
36045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048
36049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36050 /* end confdefs.h.  */
36051 #include <math.h>
36052                       #ifdef HAVE_IEEEFP_H
36053                       #include <ieeefp.h>
36054                       #endif
36055
36056 int
36057 main ()
36058 {
36059  _isnanl(0);
36060   ;
36061   return 0;
36062 }
36063 _ACEOF
36064 if ac_fn_cxx_try_compile "$LINENO"; then :
36065   glibcxx_cv_func__isnanl_use=yes
36066 else
36067   glibcxx_cv_func__isnanl_use=no
36068 fi
36069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36070       ac_ext=c
36071 ac_cpp='$CPP $CPPFLAGS'
36072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36075
36076
36077 fi
36078
36079   fi
36080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36081 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36082
36083     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36084       for ac_func in _isnanl
36085 do :
36086   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36087 if test "x$ac_cv_func__isnanl" = x""yes; then :
36088   cat >>confdefs.h <<_ACEOF
36089 #define HAVE__ISNANL 1
36090 _ACEOF
36091
36092 fi
36093 done
36094
36095     fi
36096   fi
36097
36098
36099
36100
36101
36102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36103 $as_echo_n "checking for isinfl declaration... " >&6; }
36104   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36105     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36106   $as_echo_n "(cached) " >&6
36107 else
36108
36109
36110       ac_ext=cpp
36111 ac_cpp='$CXXCPP $CPPFLAGS'
36112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36115
36116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36117 /* end confdefs.h.  */
36118 #include <math.h>
36119                       #ifdef HAVE_IEEEFP_H
36120                       #include <ieeefp.h>
36121                       #endif
36122
36123 int
36124 main ()
36125 {
36126  isinfl(0);
36127   ;
36128   return 0;
36129 }
36130 _ACEOF
36131 if ac_fn_cxx_try_compile "$LINENO"; then :
36132   glibcxx_cv_func_isinfl_use=yes
36133 else
36134   glibcxx_cv_func_isinfl_use=no
36135 fi
36136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36137       ac_ext=c
36138 ac_cpp='$CPP $CPPFLAGS'
36139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142
36143
36144 fi
36145
36146   fi
36147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36148 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36149
36150   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36151     for ac_func in isinfl
36152 do :
36153   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36154 if test "x$ac_cv_func_isinfl" = x""yes; then :
36155   cat >>confdefs.h <<_ACEOF
36156 #define HAVE_ISINFL 1
36157 _ACEOF
36158
36159 fi
36160 done
36161
36162   else
36163
36164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36165 $as_echo_n "checking for _isinfl declaration... " >&6; }
36166   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36167     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36168   $as_echo_n "(cached) " >&6
36169 else
36170
36171
36172       ac_ext=cpp
36173 ac_cpp='$CXXCPP $CPPFLAGS'
36174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36177
36178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36179 /* end confdefs.h.  */
36180 #include <math.h>
36181                       #ifdef HAVE_IEEEFP_H
36182                       #include <ieeefp.h>
36183                       #endif
36184
36185 int
36186 main ()
36187 {
36188  _isinfl(0);
36189   ;
36190   return 0;
36191 }
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194   glibcxx_cv_func__isinfl_use=yes
36195 else
36196   glibcxx_cv_func__isinfl_use=no
36197 fi
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199       ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36204
36205
36206 fi
36207
36208   fi
36209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36210 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36211
36212     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36213       for ac_func in _isinfl
36214 do :
36215   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36216 if test "x$ac_cv_func__isinfl" = x""yes; then :
36217   cat >>confdefs.h <<_ACEOF
36218 #define HAVE__ISINFL 1
36219 _ACEOF
36220
36221 fi
36222 done
36223
36224     fi
36225   fi
36226
36227
36228
36229
36230
36231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36232 $as_echo_n "checking for atan2l declaration... " >&6; }
36233   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36234     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36235   $as_echo_n "(cached) " >&6
36236 else
36237
36238
36239       ac_ext=cpp
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36244
36245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36246 /* end confdefs.h.  */
36247 #include <math.h>
36248 int
36249 main ()
36250 {
36251  atan2l(0, 0);
36252   ;
36253   return 0;
36254 }
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257   glibcxx_cv_func_atan2l_use=yes
36258 else
36259   glibcxx_cv_func_atan2l_use=no
36260 fi
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262       ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36267
36268
36269 fi
36270
36271   fi
36272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36273 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36274
36275   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36276     for ac_func in atan2l
36277 do :
36278   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36279 if test "x$ac_cv_func_atan2l" = x""yes; then :
36280   cat >>confdefs.h <<_ACEOF
36281 #define HAVE_ATAN2L 1
36282 _ACEOF
36283
36284 fi
36285 done
36286
36287   else
36288
36289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36290 $as_echo_n "checking for _atan2l declaration... " >&6; }
36291   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36292     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36293   $as_echo_n "(cached) " >&6
36294 else
36295
36296
36297       ac_ext=cpp
36298 ac_cpp='$CXXCPP $CPPFLAGS'
36299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36302
36303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36304 /* end confdefs.h.  */
36305 #include <math.h>
36306 int
36307 main ()
36308 {
36309  _atan2l(0, 0);
36310   ;
36311   return 0;
36312 }
36313 _ACEOF
36314 if ac_fn_cxx_try_compile "$LINENO"; then :
36315   glibcxx_cv_func__atan2l_use=yes
36316 else
36317   glibcxx_cv_func__atan2l_use=no
36318 fi
36319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320       ac_ext=c
36321 ac_cpp='$CPP $CPPFLAGS'
36322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36325
36326
36327 fi
36328
36329   fi
36330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36331 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36332
36333     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36334       for ac_func in _atan2l
36335 do :
36336   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36337 if test "x$ac_cv_func__atan2l" = x""yes; then :
36338   cat >>confdefs.h <<_ACEOF
36339 #define HAVE__ATAN2L 1
36340 _ACEOF
36341
36342 fi
36343 done
36344
36345     fi
36346   fi
36347
36348
36349
36350
36351
36352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36353 $as_echo_n "checking for expl declaration... " >&6; }
36354   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36355     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36356   $as_echo_n "(cached) " >&6
36357 else
36358
36359
36360       ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365
36366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36367 /* end confdefs.h.  */
36368 #include <math.h>
36369                       #ifdef HAVE_IEEEFP_H
36370                       #include <ieeefp.h>
36371                       #endif
36372
36373 int
36374 main ()
36375 {
36376  expl(0);
36377   ;
36378   return 0;
36379 }
36380 _ACEOF
36381 if ac_fn_cxx_try_compile "$LINENO"; then :
36382   glibcxx_cv_func_expl_use=yes
36383 else
36384   glibcxx_cv_func_expl_use=no
36385 fi
36386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36387       ac_ext=c
36388 ac_cpp='$CPP $CPPFLAGS'
36389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36392
36393
36394 fi
36395
36396   fi
36397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36398 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36399
36400   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36401     for ac_func in expl
36402 do :
36403   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36404 if test "x$ac_cv_func_expl" = x""yes; then :
36405   cat >>confdefs.h <<_ACEOF
36406 #define HAVE_EXPL 1
36407 _ACEOF
36408
36409 fi
36410 done
36411
36412   else
36413
36414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36415 $as_echo_n "checking for _expl declaration... " >&6; }
36416   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36417     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36418   $as_echo_n "(cached) " >&6
36419 else
36420
36421
36422       ac_ext=cpp
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427
36428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429 /* end confdefs.h.  */
36430 #include <math.h>
36431                       #ifdef HAVE_IEEEFP_H
36432                       #include <ieeefp.h>
36433                       #endif
36434
36435 int
36436 main ()
36437 {
36438  _expl(0);
36439   ;
36440   return 0;
36441 }
36442 _ACEOF
36443 if ac_fn_cxx_try_compile "$LINENO"; then :
36444   glibcxx_cv_func__expl_use=yes
36445 else
36446   glibcxx_cv_func__expl_use=no
36447 fi
36448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36449       ac_ext=c
36450 ac_cpp='$CPP $CPPFLAGS'
36451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36454
36455
36456 fi
36457
36458   fi
36459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36460 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36461
36462     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36463       for ac_func in _expl
36464 do :
36465   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36466 if test "x$ac_cv_func__expl" = x""yes; then :
36467   cat >>confdefs.h <<_ACEOF
36468 #define HAVE__EXPL 1
36469 _ACEOF
36470
36471 fi
36472 done
36473
36474     fi
36475   fi
36476
36477
36478
36479
36480
36481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36482 $as_echo_n "checking for fabsl declaration... " >&6; }
36483   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36484     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36485   $as_echo_n "(cached) " >&6
36486 else
36487
36488
36489       ac_ext=cpp
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36494
36495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36496 /* end confdefs.h.  */
36497 #include <math.h>
36498                       #ifdef HAVE_IEEEFP_H
36499                       #include <ieeefp.h>
36500                       #endif
36501
36502 int
36503 main ()
36504 {
36505  fabsl(0);
36506   ;
36507   return 0;
36508 }
36509 _ACEOF
36510 if ac_fn_cxx_try_compile "$LINENO"; then :
36511   glibcxx_cv_func_fabsl_use=yes
36512 else
36513   glibcxx_cv_func_fabsl_use=no
36514 fi
36515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36516       ac_ext=c
36517 ac_cpp='$CPP $CPPFLAGS'
36518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36521
36522
36523 fi
36524
36525   fi
36526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36527 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36528
36529   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36530     for ac_func in fabsl
36531 do :
36532   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36533 if test "x$ac_cv_func_fabsl" = x""yes; then :
36534   cat >>confdefs.h <<_ACEOF
36535 #define HAVE_FABSL 1
36536 _ACEOF
36537
36538 fi
36539 done
36540
36541   else
36542
36543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36544 $as_echo_n "checking for _fabsl declaration... " >&6; }
36545   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36546     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36547   $as_echo_n "(cached) " >&6
36548 else
36549
36550
36551       ac_ext=cpp
36552 ac_cpp='$CXXCPP $CPPFLAGS'
36553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556
36557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36558 /* end confdefs.h.  */
36559 #include <math.h>
36560                       #ifdef HAVE_IEEEFP_H
36561                       #include <ieeefp.h>
36562                       #endif
36563
36564 int
36565 main ()
36566 {
36567  _fabsl(0);
36568   ;
36569   return 0;
36570 }
36571 _ACEOF
36572 if ac_fn_cxx_try_compile "$LINENO"; then :
36573   glibcxx_cv_func__fabsl_use=yes
36574 else
36575   glibcxx_cv_func__fabsl_use=no
36576 fi
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36578       ac_ext=c
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583
36584
36585 fi
36586
36587   fi
36588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36589 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36590
36591     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36592       for ac_func in _fabsl
36593 do :
36594   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36595 if test "x$ac_cv_func__fabsl" = x""yes; then :
36596   cat >>confdefs.h <<_ACEOF
36597 #define HAVE__FABSL 1
36598 _ACEOF
36599
36600 fi
36601 done
36602
36603     fi
36604   fi
36605
36606
36607
36608
36609
36610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36611 $as_echo_n "checking for fmodl declaration... " >&6; }
36612   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36613     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36614   $as_echo_n "(cached) " >&6
36615 else
36616
36617
36618       ac_ext=cpp
36619 ac_cpp='$CXXCPP $CPPFLAGS'
36620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36623
36624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36625 /* end confdefs.h.  */
36626 #include <math.h>
36627 int
36628 main ()
36629 {
36630  fmodl(0, 0);
36631   ;
36632   return 0;
36633 }
36634 _ACEOF
36635 if ac_fn_cxx_try_compile "$LINENO"; then :
36636   glibcxx_cv_func_fmodl_use=yes
36637 else
36638   glibcxx_cv_func_fmodl_use=no
36639 fi
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641       ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36646
36647
36648 fi
36649
36650   fi
36651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36652 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36653
36654   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36655     for ac_func in fmodl
36656 do :
36657   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36658 if test "x$ac_cv_func_fmodl" = x""yes; then :
36659   cat >>confdefs.h <<_ACEOF
36660 #define HAVE_FMODL 1
36661 _ACEOF
36662
36663 fi
36664 done
36665
36666   else
36667
36668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36669 $as_echo_n "checking for _fmodl declaration... " >&6; }
36670   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36671     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36672   $as_echo_n "(cached) " >&6
36673 else
36674
36675
36676       ac_ext=cpp
36677 ac_cpp='$CXXCPP $CPPFLAGS'
36678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36681
36682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36683 /* end confdefs.h.  */
36684 #include <math.h>
36685 int
36686 main ()
36687 {
36688  _fmodl(0, 0);
36689   ;
36690   return 0;
36691 }
36692 _ACEOF
36693 if ac_fn_cxx_try_compile "$LINENO"; then :
36694   glibcxx_cv_func__fmodl_use=yes
36695 else
36696   glibcxx_cv_func__fmodl_use=no
36697 fi
36698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36699       ac_ext=c
36700 ac_cpp='$CPP $CPPFLAGS'
36701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36704
36705
36706 fi
36707
36708   fi
36709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36710 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36711
36712     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36713       for ac_func in _fmodl
36714 do :
36715   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36716 if test "x$ac_cv_func__fmodl" = x""yes; then :
36717   cat >>confdefs.h <<_ACEOF
36718 #define HAVE__FMODL 1
36719 _ACEOF
36720
36721 fi
36722 done
36723
36724     fi
36725   fi
36726
36727
36728
36729
36730
36731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36732 $as_echo_n "checking for frexpl declaration... " >&6; }
36733   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36734     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36735   $as_echo_n "(cached) " >&6
36736 else
36737
36738
36739       ac_ext=cpp
36740 ac_cpp='$CXXCPP $CPPFLAGS'
36741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36744
36745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36746 /* end confdefs.h.  */
36747 #include <math.h>
36748 int
36749 main ()
36750 {
36751  frexpl(0, 0);
36752   ;
36753   return 0;
36754 }
36755 _ACEOF
36756 if ac_fn_cxx_try_compile "$LINENO"; then :
36757   glibcxx_cv_func_frexpl_use=yes
36758 else
36759   glibcxx_cv_func_frexpl_use=no
36760 fi
36761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36762       ac_ext=c
36763 ac_cpp='$CPP $CPPFLAGS'
36764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767
36768
36769 fi
36770
36771   fi
36772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36773 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36774
36775   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36776     for ac_func in frexpl
36777 do :
36778   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36779 if test "x$ac_cv_func_frexpl" = x""yes; then :
36780   cat >>confdefs.h <<_ACEOF
36781 #define HAVE_FREXPL 1
36782 _ACEOF
36783
36784 fi
36785 done
36786
36787   else
36788
36789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36790 $as_echo_n "checking for _frexpl declaration... " >&6; }
36791   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36792     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36793   $as_echo_n "(cached) " >&6
36794 else
36795
36796
36797       ac_ext=cpp
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36802
36803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h.  */
36805 #include <math.h>
36806 int
36807 main ()
36808 {
36809  _frexpl(0, 0);
36810   ;
36811   return 0;
36812 }
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815   glibcxx_cv_func__frexpl_use=yes
36816 else
36817   glibcxx_cv_func__frexpl_use=no
36818 fi
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820       ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825
36826
36827 fi
36828
36829   fi
36830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36831 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36832
36833     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36834       for ac_func in _frexpl
36835 do :
36836   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36837 if test "x$ac_cv_func__frexpl" = x""yes; then :
36838   cat >>confdefs.h <<_ACEOF
36839 #define HAVE__FREXPL 1
36840 _ACEOF
36841
36842 fi
36843 done
36844
36845     fi
36846   fi
36847
36848
36849
36850
36851
36852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36853 $as_echo_n "checking for hypotl declaration... " >&6; }
36854   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36855     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36856   $as_echo_n "(cached) " >&6
36857 else
36858
36859
36860       ac_ext=cpp
36861 ac_cpp='$CXXCPP $CPPFLAGS'
36862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36865
36866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36867 /* end confdefs.h.  */
36868 #include <math.h>
36869 int
36870 main ()
36871 {
36872  hypotl(0, 0);
36873   ;
36874   return 0;
36875 }
36876 _ACEOF
36877 if ac_fn_cxx_try_compile "$LINENO"; then :
36878   glibcxx_cv_func_hypotl_use=yes
36879 else
36880   glibcxx_cv_func_hypotl_use=no
36881 fi
36882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36883       ac_ext=c
36884 ac_cpp='$CPP $CPPFLAGS'
36885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36888
36889
36890 fi
36891
36892   fi
36893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36894 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36895
36896   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36897     for ac_func in hypotl
36898 do :
36899   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36900 if test "x$ac_cv_func_hypotl" = x""yes; then :
36901   cat >>confdefs.h <<_ACEOF
36902 #define HAVE_HYPOTL 1
36903 _ACEOF
36904
36905 fi
36906 done
36907
36908   else
36909
36910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36911 $as_echo_n "checking for _hypotl declaration... " >&6; }
36912   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36913     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36914   $as_echo_n "(cached) " >&6
36915 else
36916
36917
36918       ac_ext=cpp
36919 ac_cpp='$CXXCPP $CPPFLAGS'
36920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36923
36924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36925 /* end confdefs.h.  */
36926 #include <math.h>
36927 int
36928 main ()
36929 {
36930  _hypotl(0, 0);
36931   ;
36932   return 0;
36933 }
36934 _ACEOF
36935 if ac_fn_cxx_try_compile "$LINENO"; then :
36936   glibcxx_cv_func__hypotl_use=yes
36937 else
36938   glibcxx_cv_func__hypotl_use=no
36939 fi
36940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36941       ac_ext=c
36942 ac_cpp='$CPP $CPPFLAGS'
36943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946
36947
36948 fi
36949
36950   fi
36951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36952 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36953
36954     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36955       for ac_func in _hypotl
36956 do :
36957   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36958 if test "x$ac_cv_func__hypotl" = x""yes; then :
36959   cat >>confdefs.h <<_ACEOF
36960 #define HAVE__HYPOTL 1
36961 _ACEOF
36962
36963 fi
36964 done
36965
36966     fi
36967   fi
36968
36969
36970
36971
36972
36973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36974 $as_echo_n "checking for ldexpl declaration... " >&6; }
36975   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36976     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36977   $as_echo_n "(cached) " >&6
36978 else
36979
36980
36981       ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h.  */
36989 #include <math.h>
36990 int
36991 main ()
36992 {
36993  ldexpl(0, 0);
36994   ;
36995   return 0;
36996 }
36997 _ACEOF
36998 if ac_fn_cxx_try_compile "$LINENO"; then :
36999   glibcxx_cv_func_ldexpl_use=yes
37000 else
37001   glibcxx_cv_func_ldexpl_use=no
37002 fi
37003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37004       ac_ext=c
37005 ac_cpp='$CPP $CPPFLAGS'
37006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37009
37010
37011 fi
37012
37013   fi
37014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37015 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37016
37017   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37018     for ac_func in ldexpl
37019 do :
37020   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37021 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37022   cat >>confdefs.h <<_ACEOF
37023 #define HAVE_LDEXPL 1
37024 _ACEOF
37025
37026 fi
37027 done
37028
37029   else
37030
37031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37032 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37033   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37034     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37035   $as_echo_n "(cached) " >&6
37036 else
37037
37038
37039       ac_ext=cpp
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37044
37045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37046 /* end confdefs.h.  */
37047 #include <math.h>
37048 int
37049 main ()
37050 {
37051  _ldexpl(0, 0);
37052   ;
37053   return 0;
37054 }
37055 _ACEOF
37056 if ac_fn_cxx_try_compile "$LINENO"; then :
37057   glibcxx_cv_func__ldexpl_use=yes
37058 else
37059   glibcxx_cv_func__ldexpl_use=no
37060 fi
37061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37062       ac_ext=c
37063 ac_cpp='$CPP $CPPFLAGS'
37064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067
37068
37069 fi
37070
37071   fi
37072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37073 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37074
37075     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37076       for ac_func in _ldexpl
37077 do :
37078   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37079 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37080   cat >>confdefs.h <<_ACEOF
37081 #define HAVE__LDEXPL 1
37082 _ACEOF
37083
37084 fi
37085 done
37086
37087     fi
37088   fi
37089
37090
37091
37092
37093
37094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37095 $as_echo_n "checking for logl declaration... " >&6; }
37096   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37097     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37098   $as_echo_n "(cached) " >&6
37099 else
37100
37101
37102       ac_ext=cpp
37103 ac_cpp='$CXXCPP $CPPFLAGS'
37104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37107
37108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37109 /* end confdefs.h.  */
37110 #include <math.h>
37111                       #ifdef HAVE_IEEEFP_H
37112                       #include <ieeefp.h>
37113                       #endif
37114
37115 int
37116 main ()
37117 {
37118  logl(0);
37119   ;
37120   return 0;
37121 }
37122 _ACEOF
37123 if ac_fn_cxx_try_compile "$LINENO"; then :
37124   glibcxx_cv_func_logl_use=yes
37125 else
37126   glibcxx_cv_func_logl_use=no
37127 fi
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129       ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134
37135
37136 fi
37137
37138   fi
37139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37140 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37141
37142   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37143     for ac_func in logl
37144 do :
37145   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37146 if test "x$ac_cv_func_logl" = x""yes; then :
37147   cat >>confdefs.h <<_ACEOF
37148 #define HAVE_LOGL 1
37149 _ACEOF
37150
37151 fi
37152 done
37153
37154   else
37155
37156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37157 $as_echo_n "checking for _logl declaration... " >&6; }
37158   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37159     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37160   $as_echo_n "(cached) " >&6
37161 else
37162
37163
37164       ac_ext=cpp
37165 ac_cpp='$CXXCPP $CPPFLAGS'
37166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169
37170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37171 /* end confdefs.h.  */
37172 #include <math.h>
37173                       #ifdef HAVE_IEEEFP_H
37174                       #include <ieeefp.h>
37175                       #endif
37176
37177 int
37178 main ()
37179 {
37180  _logl(0);
37181   ;
37182   return 0;
37183 }
37184 _ACEOF
37185 if ac_fn_cxx_try_compile "$LINENO"; then :
37186   glibcxx_cv_func__logl_use=yes
37187 else
37188   glibcxx_cv_func__logl_use=no
37189 fi
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191       ac_ext=c
37192 ac_cpp='$CPP $CPPFLAGS'
37193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37196
37197
37198 fi
37199
37200   fi
37201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37202 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37203
37204     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37205       for ac_func in _logl
37206 do :
37207   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37208 if test "x$ac_cv_func__logl" = x""yes; then :
37209   cat >>confdefs.h <<_ACEOF
37210 #define HAVE__LOGL 1
37211 _ACEOF
37212
37213 fi
37214 done
37215
37216     fi
37217   fi
37218
37219
37220
37221
37222
37223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37224 $as_echo_n "checking for log10l declaration... " >&6; }
37225   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37226     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37227   $as_echo_n "(cached) " >&6
37228 else
37229
37230
37231       ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236
37237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h.  */
37239 #include <math.h>
37240                       #ifdef HAVE_IEEEFP_H
37241                       #include <ieeefp.h>
37242                       #endif
37243
37244 int
37245 main ()
37246 {
37247  log10l(0);
37248   ;
37249   return 0;
37250 }
37251 _ACEOF
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253   glibcxx_cv_func_log10l_use=yes
37254 else
37255   glibcxx_cv_func_log10l_use=no
37256 fi
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258       ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263
37264
37265 fi
37266
37267   fi
37268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37269 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37270
37271   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37272     for ac_func in log10l
37273 do :
37274   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37275 if test "x$ac_cv_func_log10l" = x""yes; then :
37276   cat >>confdefs.h <<_ACEOF
37277 #define HAVE_LOG10L 1
37278 _ACEOF
37279
37280 fi
37281 done
37282
37283   else
37284
37285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37286 $as_echo_n "checking for _log10l declaration... " >&6; }
37287   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37288     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37289   $as_echo_n "(cached) " >&6
37290 else
37291
37292
37293       ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37298
37299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h.  */
37301 #include <math.h>
37302                       #ifdef HAVE_IEEEFP_H
37303                       #include <ieeefp.h>
37304                       #endif
37305
37306 int
37307 main ()
37308 {
37309  _log10l(0);
37310   ;
37311   return 0;
37312 }
37313 _ACEOF
37314 if ac_fn_cxx_try_compile "$LINENO"; then :
37315   glibcxx_cv_func__log10l_use=yes
37316 else
37317   glibcxx_cv_func__log10l_use=no
37318 fi
37319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320       ac_ext=c
37321 ac_cpp='$CPP $CPPFLAGS'
37322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325
37326
37327 fi
37328
37329   fi
37330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37331 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37332
37333     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37334       for ac_func in _log10l
37335 do :
37336   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37337 if test "x$ac_cv_func__log10l" = x""yes; then :
37338   cat >>confdefs.h <<_ACEOF
37339 #define HAVE__LOG10L 1
37340 _ACEOF
37341
37342 fi
37343 done
37344
37345     fi
37346   fi
37347
37348
37349
37350
37351
37352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37353 $as_echo_n "checking for modfl declaration... " >&6; }
37354   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37355     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37356   $as_echo_n "(cached) " >&6
37357 else
37358
37359
37360       ac_ext=cpp
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37365
37366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h.  */
37368 #include <math.h>
37369 int
37370 main ()
37371 {
37372  modfl(0, 0);
37373   ;
37374   return 0;
37375 }
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378   glibcxx_cv_func_modfl_use=yes
37379 else
37380   glibcxx_cv_func_modfl_use=no
37381 fi
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383       ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388
37389
37390 fi
37391
37392   fi
37393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37394 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37395
37396   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37397     for ac_func in modfl
37398 do :
37399   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37400 if test "x$ac_cv_func_modfl" = x""yes; then :
37401   cat >>confdefs.h <<_ACEOF
37402 #define HAVE_MODFL 1
37403 _ACEOF
37404
37405 fi
37406 done
37407
37408   else
37409
37410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37411 $as_echo_n "checking for _modfl declaration... " >&6; }
37412   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37413     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37414   $as_echo_n "(cached) " >&6
37415 else
37416
37417
37418       ac_ext=cpp
37419 ac_cpp='$CXXCPP $CPPFLAGS'
37420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37423
37424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37425 /* end confdefs.h.  */
37426 #include <math.h>
37427 int
37428 main ()
37429 {
37430  _modfl(0, 0);
37431   ;
37432   return 0;
37433 }
37434 _ACEOF
37435 if ac_fn_cxx_try_compile "$LINENO"; then :
37436   glibcxx_cv_func__modfl_use=yes
37437 else
37438   glibcxx_cv_func__modfl_use=no
37439 fi
37440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37441       ac_ext=c
37442 ac_cpp='$CPP $CPPFLAGS'
37443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37446
37447
37448 fi
37449
37450   fi
37451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37452 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37453
37454     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37455       for ac_func in _modfl
37456 do :
37457   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37458 if test "x$ac_cv_func__modfl" = x""yes; then :
37459   cat >>confdefs.h <<_ACEOF
37460 #define HAVE__MODFL 1
37461 _ACEOF
37462
37463 fi
37464 done
37465
37466     fi
37467   fi
37468
37469
37470
37471
37472
37473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37474 $as_echo_n "checking for powl declaration... " >&6; }
37475   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37476     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37477   $as_echo_n "(cached) " >&6
37478 else
37479
37480
37481       ac_ext=cpp
37482 ac_cpp='$CXXCPP $CPPFLAGS'
37483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37486
37487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37488 /* end confdefs.h.  */
37489 #include <math.h>
37490 int
37491 main ()
37492 {
37493  powl(0, 0);
37494   ;
37495   return 0;
37496 }
37497 _ACEOF
37498 if ac_fn_cxx_try_compile "$LINENO"; then :
37499   glibcxx_cv_func_powl_use=yes
37500 else
37501   glibcxx_cv_func_powl_use=no
37502 fi
37503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37504       ac_ext=c
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37509
37510
37511 fi
37512
37513   fi
37514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37515 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37516
37517   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37518     for ac_func in powl
37519 do :
37520   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37521 if test "x$ac_cv_func_powl" = x""yes; then :
37522   cat >>confdefs.h <<_ACEOF
37523 #define HAVE_POWL 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529   else
37530
37531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37532 $as_echo_n "checking for _powl declaration... " >&6; }
37533   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37534     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37535   $as_echo_n "(cached) " >&6
37536 else
37537
37538
37539       ac_ext=cpp
37540 ac_cpp='$CXXCPP $CPPFLAGS'
37541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37544
37545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 /* end confdefs.h.  */
37547 #include <math.h>
37548 int
37549 main ()
37550 {
37551  _powl(0, 0);
37552   ;
37553   return 0;
37554 }
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557   glibcxx_cv_func__powl_use=yes
37558 else
37559   glibcxx_cv_func__powl_use=no
37560 fi
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562       ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567
37568
37569 fi
37570
37571   fi
37572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37573 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37574
37575     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37576       for ac_func in _powl
37577 do :
37578   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37579 if test "x$ac_cv_func__powl" = x""yes; then :
37580   cat >>confdefs.h <<_ACEOF
37581 #define HAVE__POWL 1
37582 _ACEOF
37583
37584 fi
37585 done
37586
37587     fi
37588   fi
37589
37590
37591
37592
37593
37594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37595 $as_echo_n "checking for sqrtl declaration... " >&6; }
37596   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37597     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37598   $as_echo_n "(cached) " >&6
37599 else
37600
37601
37602       ac_ext=cpp
37603 ac_cpp='$CXXCPP $CPPFLAGS'
37604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37607
37608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37609 /* end confdefs.h.  */
37610 #include <math.h>
37611                       #ifdef HAVE_IEEEFP_H
37612                       #include <ieeefp.h>
37613                       #endif
37614
37615 int
37616 main ()
37617 {
37618  sqrtl(0);
37619   ;
37620   return 0;
37621 }
37622 _ACEOF
37623 if ac_fn_cxx_try_compile "$LINENO"; then :
37624   glibcxx_cv_func_sqrtl_use=yes
37625 else
37626   glibcxx_cv_func_sqrtl_use=no
37627 fi
37628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37629       ac_ext=c
37630 ac_cpp='$CPP $CPPFLAGS'
37631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37634
37635
37636 fi
37637
37638   fi
37639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37640 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37641
37642   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37643     for ac_func in sqrtl
37644 do :
37645   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37646 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37647   cat >>confdefs.h <<_ACEOF
37648 #define HAVE_SQRTL 1
37649 _ACEOF
37650
37651 fi
37652 done
37653
37654   else
37655
37656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37657 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37658   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37659     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37660   $as_echo_n "(cached) " >&6
37661 else
37662
37663
37664       ac_ext=cpp
37665 ac_cpp='$CXXCPP $CPPFLAGS'
37666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37669
37670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37671 /* end confdefs.h.  */
37672 #include <math.h>
37673                       #ifdef HAVE_IEEEFP_H
37674                       #include <ieeefp.h>
37675                       #endif
37676
37677 int
37678 main ()
37679 {
37680  _sqrtl(0);
37681   ;
37682   return 0;
37683 }
37684 _ACEOF
37685 if ac_fn_cxx_try_compile "$LINENO"; then :
37686   glibcxx_cv_func__sqrtl_use=yes
37687 else
37688   glibcxx_cv_func__sqrtl_use=no
37689 fi
37690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37691       ac_ext=c
37692 ac_cpp='$CPP $CPPFLAGS'
37693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37696
37697
37698 fi
37699
37700   fi
37701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37702 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37703
37704     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37705       for ac_func in _sqrtl
37706 do :
37707   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37708 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37709   cat >>confdefs.h <<_ACEOF
37710 #define HAVE__SQRTL 1
37711 _ACEOF
37712
37713 fi
37714 done
37715
37716     fi
37717   fi
37718
37719
37720
37721
37722
37723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37724 $as_echo_n "checking for sincosl declaration... " >&6; }
37725   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37726     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37727   $as_echo_n "(cached) " >&6
37728 else
37729
37730
37731       ac_ext=cpp
37732 ac_cpp='$CXXCPP $CPPFLAGS'
37733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37736
37737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37738 /* end confdefs.h.  */
37739 #include <math.h>
37740 int
37741 main ()
37742 {
37743  sincosl(0, 0, 0);
37744   ;
37745   return 0;
37746 }
37747 _ACEOF
37748 if ac_fn_cxx_try_compile "$LINENO"; then :
37749   glibcxx_cv_func_sincosl_use=yes
37750 else
37751   glibcxx_cv_func_sincosl_use=no
37752 fi
37753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37754       ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759
37760
37761 fi
37762
37763   fi
37764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37765 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37766
37767   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37768     for ac_func in sincosl
37769 do :
37770   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37771 if test "x$ac_cv_func_sincosl" = x""yes; then :
37772   cat >>confdefs.h <<_ACEOF
37773 #define HAVE_SINCOSL 1
37774 _ACEOF
37775
37776 fi
37777 done
37778
37779   else
37780
37781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37782 $as_echo_n "checking for _sincosl declaration... " >&6; }
37783   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37784     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37785   $as_echo_n "(cached) " >&6
37786 else
37787
37788
37789       ac_ext=cpp
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37794
37795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37796 /* end confdefs.h.  */
37797 #include <math.h>
37798 int
37799 main ()
37800 {
37801  _sincosl(0, 0, 0);
37802   ;
37803   return 0;
37804 }
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807   glibcxx_cv_func__sincosl_use=yes
37808 else
37809   glibcxx_cv_func__sincosl_use=no
37810 fi
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812       ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817
37818
37819 fi
37820
37821   fi
37822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37823 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37824
37825     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37826       for ac_func in _sincosl
37827 do :
37828   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37829 if test "x$ac_cv_func__sincosl" = x""yes; then :
37830   cat >>confdefs.h <<_ACEOF
37831 #define HAVE__SINCOSL 1
37832 _ACEOF
37833
37834 fi
37835 done
37836
37837     fi
37838   fi
37839
37840
37841
37842
37843
37844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37845 $as_echo_n "checking for finitel declaration... " >&6; }
37846   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37847     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37848   $as_echo_n "(cached) " >&6
37849 else
37850
37851
37852       ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37857
37858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h.  */
37860 #include <math.h>
37861                       #ifdef HAVE_IEEEFP_H
37862                       #include <ieeefp.h>
37863                       #endif
37864
37865 int
37866 main ()
37867 {
37868  finitel(0);
37869   ;
37870   return 0;
37871 }
37872 _ACEOF
37873 if ac_fn_cxx_try_compile "$LINENO"; then :
37874   glibcxx_cv_func_finitel_use=yes
37875 else
37876   glibcxx_cv_func_finitel_use=no
37877 fi
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37879       ac_ext=c
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884
37885
37886 fi
37887
37888   fi
37889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37890 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37891
37892   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37893     for ac_func in finitel
37894 do :
37895   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37896 if test "x$ac_cv_func_finitel" = x""yes; then :
37897   cat >>confdefs.h <<_ACEOF
37898 #define HAVE_FINITEL 1
37899 _ACEOF
37900
37901 fi
37902 done
37903
37904   else
37905
37906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37907 $as_echo_n "checking for _finitel declaration... " >&6; }
37908   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37909     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37910   $as_echo_n "(cached) " >&6
37911 else
37912
37913
37914       ac_ext=cpp
37915 ac_cpp='$CXXCPP $CPPFLAGS'
37916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37919
37920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37921 /* end confdefs.h.  */
37922 #include <math.h>
37923                       #ifdef HAVE_IEEEFP_H
37924                       #include <ieeefp.h>
37925                       #endif
37926
37927 int
37928 main ()
37929 {
37930  _finitel(0);
37931   ;
37932   return 0;
37933 }
37934 _ACEOF
37935 if ac_fn_cxx_try_compile "$LINENO"; then :
37936   glibcxx_cv_func__finitel_use=yes
37937 else
37938   glibcxx_cv_func__finitel_use=no
37939 fi
37940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941       ac_ext=c
37942 ac_cpp='$CPP $CPPFLAGS'
37943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37946
37947
37948 fi
37949
37950   fi
37951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37952 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37953
37954     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37955       for ac_func in _finitel
37956 do :
37957   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37958 if test "x$ac_cv_func__finitel" = x""yes; then :
37959   cat >>confdefs.h <<_ACEOF
37960 #define HAVE__FINITEL 1
37961 _ACEOF
37962
37963 fi
37964 done
37965
37966     fi
37967   fi
37968
37969
37970
37971
37972   LIBS="$ac_save_LIBS"
37973   CXXFLAGS="$ac_save_CXXFLAGS"
37974
37975
37976   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37977   ac_save_CXXFLAGS="$CXXFLAGS"
37978   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37979
37980
37981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37982 $as_echo_n "checking for strtold declaration... " >&6; }
37983   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37984     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37985   $as_echo_n "(cached) " >&6
37986 else
37987
37988
37989       ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37994
37995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37996 /* end confdefs.h.  */
37997 #include <stdlib.h>
37998 int
37999 main ()
38000 {
38001  strtold(0, 0);
38002   ;
38003   return 0;
38004 }
38005 _ACEOF
38006 if ac_fn_cxx_try_compile "$LINENO"; then :
38007   glibcxx_cv_func_strtold_use=yes
38008 else
38009   glibcxx_cv_func_strtold_use=no
38010 fi
38011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012       ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38017
38018
38019 fi
38020
38021   fi
38022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38023 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38024   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38025     for ac_func in strtold
38026 do :
38027   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38028 if test "x$ac_cv_func_strtold" = x""yes; then :
38029   cat >>confdefs.h <<_ACEOF
38030 #define HAVE_STRTOLD 1
38031 _ACEOF
38032
38033 fi
38034 done
38035
38036   fi
38037
38038
38039
38040
38041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38042 $as_echo_n "checking for strtof declaration... " >&6; }
38043   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38044     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38045   $as_echo_n "(cached) " >&6
38046 else
38047
38048
38049       ac_ext=cpp
38050 ac_cpp='$CXXCPP $CPPFLAGS'
38051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38054
38055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38056 /* end confdefs.h.  */
38057 #include <stdlib.h>
38058 int
38059 main ()
38060 {
38061  strtof(0, 0);
38062   ;
38063   return 0;
38064 }
38065 _ACEOF
38066 if ac_fn_cxx_try_compile "$LINENO"; then :
38067   glibcxx_cv_func_strtof_use=yes
38068 else
38069   glibcxx_cv_func_strtof_use=no
38070 fi
38071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38072       ac_ext=c
38073 ac_cpp='$CPP $CPPFLAGS'
38074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38077
38078
38079 fi
38080
38081   fi
38082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38083 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38084   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38085     for ac_func in strtof
38086 do :
38087   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38088 if test "x$ac_cv_func_strtof" = x""yes; then :
38089   cat >>confdefs.h <<_ACEOF
38090 #define HAVE_STRTOF 1
38091 _ACEOF
38092
38093 fi
38094 done
38095
38096   fi
38097
38098
38099
38100
38101   CXXFLAGS="$ac_save_CXXFLAGS"
38102
38103     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38104
38105     # We don't yet support AIX's TLS ABI.
38106     #GCC_CHECK_TLS
38107
38108
38109
38110
38111
38112           am_save_CPPFLAGS="$CPPFLAGS"
38113
38114   for element in $INCICONV; do
38115     haveit=
38116     for x in $CPPFLAGS; do
38117
38118   acl_save_prefix="$prefix"
38119   prefix="$acl_final_prefix"
38120   acl_save_exec_prefix="$exec_prefix"
38121   exec_prefix="$acl_final_exec_prefix"
38122   eval x=\"$x\"
38123   exec_prefix="$acl_save_exec_prefix"
38124   prefix="$acl_save_prefix"
38125
38126       if test "X$x" = "X$element"; then
38127         haveit=yes
38128         break
38129       fi
38130     done
38131     if test -z "$haveit"; then
38132       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38133     fi
38134   done
38135
38136
38137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38138 $as_echo_n "checking for iconv... " >&6; }
38139 if test "${am_cv_func_iconv+set}" = set; then :
38140   $as_echo_n "(cached) " >&6
38141 else
38142
38143     am_cv_func_iconv="no, consider installing GNU libiconv"
38144     am_cv_lib_iconv=no
38145     if test x$gcc_no_link = xyes; then
38146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38147 fi
38148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38149 /* end confdefs.h.  */
38150 #include <stdlib.h>
38151 #include <iconv.h>
38152 int
38153 main ()
38154 {
38155 iconv_t cd = iconv_open("","");
38156        iconv(cd,NULL,NULL,NULL,NULL);
38157        iconv_close(cd);
38158   ;
38159   return 0;
38160 }
38161 _ACEOF
38162 if ac_fn_c_try_link "$LINENO"; then :
38163   am_cv_func_iconv=yes
38164 fi
38165 rm -f core conftest.err conftest.$ac_objext \
38166     conftest$ac_exeext conftest.$ac_ext
38167     if test "$am_cv_func_iconv" != yes; then
38168       am_save_LIBS="$LIBS"
38169       LIBS="$LIBS $LIBICONV"
38170       if test x$gcc_no_link = xyes; then
38171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38172 fi
38173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38174 /* end confdefs.h.  */
38175 #include <stdlib.h>
38176 #include <iconv.h>
38177 int
38178 main ()
38179 {
38180 iconv_t cd = iconv_open("","");
38181          iconv(cd,NULL,NULL,NULL,NULL);
38182          iconv_close(cd);
38183   ;
38184   return 0;
38185 }
38186 _ACEOF
38187 if ac_fn_c_try_link "$LINENO"; then :
38188   am_cv_lib_iconv=yes
38189         am_cv_func_iconv=yes
38190 fi
38191 rm -f core conftest.err conftest.$ac_objext \
38192     conftest$ac_exeext conftest.$ac_ext
38193       LIBS="$am_save_LIBS"
38194     fi
38195
38196 fi
38197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38198 $as_echo "$am_cv_func_iconv" >&6; }
38199   if test "$am_cv_func_iconv" = yes; then
38200
38201 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38202
38203   fi
38204   if test "$am_cv_lib_iconv" = yes; then
38205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38206 $as_echo_n "checking how to link with libiconv... " >&6; }
38207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38208 $as_echo "$LIBICONV" >&6; }
38209   else
38210             CPPFLAGS="$am_save_CPPFLAGS"
38211     LIBICONV=
38212     LTLIBICONV=
38213   fi
38214
38215
38216
38217   if test "$am_cv_func_iconv" = yes; then
38218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38219 $as_echo_n "checking for iconv declaration... " >&6; }
38220     if test "${am_cv_proto_iconv+set}" = set; then :
38221   $as_echo_n "(cached) " >&6
38222 else
38223
38224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38225 /* end confdefs.h.  */
38226
38227 #include <stdlib.h>
38228 #include <iconv.h>
38229 extern
38230 #ifdef __cplusplus
38231 "C"
38232 #endif
38233 #if defined(__STDC__) || defined(__cplusplus)
38234 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38235 #else
38236 size_t iconv();
38237 #endif
38238
38239 int
38240 main ()
38241 {
38242
38243   ;
38244   return 0;
38245 }
38246 _ACEOF
38247 if ac_fn_c_try_compile "$LINENO"; then :
38248   am_cv_proto_iconv_arg1=""
38249 else
38250   am_cv_proto_iconv_arg1="const"
38251 fi
38252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253       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);"
38254 fi
38255
38256     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38257     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38258          }$am_cv_proto_iconv" >&5
38259 $as_echo "${ac_t:-
38260          }$am_cv_proto_iconv" >&6; }
38261
38262 cat >>confdefs.h <<_ACEOF
38263 #define ICONV_CONST $am_cv_proto_iconv_arg1
38264 _ACEOF
38265
38266   fi
38267
38268     ;;
38269
38270   *-darwin*)
38271     # Darwin versions vary, but the linker should work in a cross environment,
38272     # so we just check for all the features here.
38273     # Check for available headers.
38274
38275     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38276
38277   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38278   ac_save_CXXFLAGS="$CXXFLAGS"
38279   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38280
38281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38282 $as_echo_n "checking for sin in -lm... " >&6; }
38283 if test "${ac_cv_lib_m_sin+set}" = set; then :
38284   $as_echo_n "(cached) " >&6
38285 else
38286   ac_check_lib_save_LIBS=$LIBS
38287 LIBS="-lm  $LIBS"
38288 if test x$gcc_no_link = xyes; then
38289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38290 fi
38291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38292 /* end confdefs.h.  */
38293
38294 /* Override any GCC internal prototype to avoid an error.
38295    Use char because int might match the return type of a GCC
38296    builtin and then its argument prototype would still apply.  */
38297 #ifdef __cplusplus
38298 extern "C"
38299 #endif
38300 char sin ();
38301 int
38302 main ()
38303 {
38304 return sin ();
38305   ;
38306   return 0;
38307 }
38308 _ACEOF
38309 if ac_fn_c_try_link "$LINENO"; then :
38310   ac_cv_lib_m_sin=yes
38311 else
38312   ac_cv_lib_m_sin=no
38313 fi
38314 rm -f core conftest.err conftest.$ac_objext \
38315     conftest$ac_exeext conftest.$ac_ext
38316 LIBS=$ac_check_lib_save_LIBS
38317 fi
38318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38319 $as_echo "$ac_cv_lib_m_sin" >&6; }
38320 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38321   libm="-lm"
38322 fi
38323
38324   ac_save_LIBS="$LIBS"
38325   LIBS="$LIBS $libm"
38326
38327
38328
38329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38330 $as_echo_n "checking for isinf declaration... " >&6; }
38331   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38332     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38333   $as_echo_n "(cached) " >&6
38334 else
38335
38336
38337       ac_ext=cpp
38338 ac_cpp='$CXXCPP $CPPFLAGS'
38339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38342
38343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38344 /* end confdefs.h.  */
38345 #include <math.h>
38346                       #ifdef HAVE_IEEEFP_H
38347                       #include <ieeefp.h>
38348                       #endif
38349
38350 int
38351 main ()
38352 {
38353  isinf(0);
38354   ;
38355   return 0;
38356 }
38357 _ACEOF
38358 if ac_fn_cxx_try_compile "$LINENO"; then :
38359   glibcxx_cv_func_isinf_use=yes
38360 else
38361   glibcxx_cv_func_isinf_use=no
38362 fi
38363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38364       ac_ext=c
38365 ac_cpp='$CPP $CPPFLAGS'
38366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38369
38370
38371 fi
38372
38373   fi
38374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38375 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38376
38377   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38378     for ac_func in isinf
38379 do :
38380   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38381 if test "x$ac_cv_func_isinf" = x""yes; then :
38382   cat >>confdefs.h <<_ACEOF
38383 #define HAVE_ISINF 1
38384 _ACEOF
38385
38386 fi
38387 done
38388
38389   else
38390
38391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38392 $as_echo_n "checking for _isinf declaration... " >&6; }
38393   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38394     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38395   $as_echo_n "(cached) " >&6
38396 else
38397
38398
38399       ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404
38405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h.  */
38407 #include <math.h>
38408                       #ifdef HAVE_IEEEFP_H
38409                       #include <ieeefp.h>
38410                       #endif
38411
38412 int
38413 main ()
38414 {
38415  _isinf(0);
38416   ;
38417   return 0;
38418 }
38419 _ACEOF
38420 if ac_fn_cxx_try_compile "$LINENO"; then :
38421   glibcxx_cv_func__isinf_use=yes
38422 else
38423   glibcxx_cv_func__isinf_use=no
38424 fi
38425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38426       ac_ext=c
38427 ac_cpp='$CPP $CPPFLAGS'
38428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431
38432
38433 fi
38434
38435   fi
38436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38437 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38438
38439     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38440       for ac_func in _isinf
38441 do :
38442   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38443 if test "x$ac_cv_func__isinf" = x""yes; then :
38444   cat >>confdefs.h <<_ACEOF
38445 #define HAVE__ISINF 1
38446 _ACEOF
38447
38448 fi
38449 done
38450
38451     fi
38452   fi
38453
38454
38455
38456
38457
38458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38459 $as_echo_n "checking for isnan declaration... " >&6; }
38460   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38461     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38462   $as_echo_n "(cached) " >&6
38463 else
38464
38465
38466       ac_ext=cpp
38467 ac_cpp='$CXXCPP $CPPFLAGS'
38468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471
38472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38473 /* end confdefs.h.  */
38474 #include <math.h>
38475                       #ifdef HAVE_IEEEFP_H
38476                       #include <ieeefp.h>
38477                       #endif
38478
38479 int
38480 main ()
38481 {
38482  isnan(0);
38483   ;
38484   return 0;
38485 }
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488   glibcxx_cv_func_isnan_use=yes
38489 else
38490   glibcxx_cv_func_isnan_use=no
38491 fi
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493       ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498
38499
38500 fi
38501
38502   fi
38503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38504 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38505
38506   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38507     for ac_func in isnan
38508 do :
38509   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38510 if test "x$ac_cv_func_isnan" = x""yes; then :
38511   cat >>confdefs.h <<_ACEOF
38512 #define HAVE_ISNAN 1
38513 _ACEOF
38514
38515 fi
38516 done
38517
38518   else
38519
38520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38521 $as_echo_n "checking for _isnan declaration... " >&6; }
38522   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38523     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38524   $as_echo_n "(cached) " >&6
38525 else
38526
38527
38528       ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533
38534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h.  */
38536 #include <math.h>
38537                       #ifdef HAVE_IEEEFP_H
38538                       #include <ieeefp.h>
38539                       #endif
38540
38541 int
38542 main ()
38543 {
38544  _isnan(0);
38545   ;
38546   return 0;
38547 }
38548 _ACEOF
38549 if ac_fn_cxx_try_compile "$LINENO"; then :
38550   glibcxx_cv_func__isnan_use=yes
38551 else
38552   glibcxx_cv_func__isnan_use=no
38553 fi
38554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38555       ac_ext=c
38556 ac_cpp='$CPP $CPPFLAGS'
38557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560
38561
38562 fi
38563
38564   fi
38565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38566 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38567
38568     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38569       for ac_func in _isnan
38570 do :
38571   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38572 if test "x$ac_cv_func__isnan" = x""yes; then :
38573   cat >>confdefs.h <<_ACEOF
38574 #define HAVE__ISNAN 1
38575 _ACEOF
38576
38577 fi
38578 done
38579
38580     fi
38581   fi
38582
38583
38584
38585
38586
38587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38588 $as_echo_n "checking for finite declaration... " >&6; }
38589   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38590     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38591   $as_echo_n "(cached) " >&6
38592 else
38593
38594
38595       ac_ext=cpp
38596 ac_cpp='$CXXCPP $CPPFLAGS'
38597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600
38601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38602 /* end confdefs.h.  */
38603 #include <math.h>
38604                       #ifdef HAVE_IEEEFP_H
38605                       #include <ieeefp.h>
38606                       #endif
38607
38608 int
38609 main ()
38610 {
38611  finite(0);
38612   ;
38613   return 0;
38614 }
38615 _ACEOF
38616 if ac_fn_cxx_try_compile "$LINENO"; then :
38617   glibcxx_cv_func_finite_use=yes
38618 else
38619   glibcxx_cv_func_finite_use=no
38620 fi
38621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38622       ac_ext=c
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627
38628
38629 fi
38630
38631   fi
38632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38633 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38634
38635   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38636     for ac_func in finite
38637 do :
38638   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38639 if test "x$ac_cv_func_finite" = x""yes; then :
38640   cat >>confdefs.h <<_ACEOF
38641 #define HAVE_FINITE 1
38642 _ACEOF
38643
38644 fi
38645 done
38646
38647   else
38648
38649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38650 $as_echo_n "checking for _finite declaration... " >&6; }
38651   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38652     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38653   $as_echo_n "(cached) " >&6
38654 else
38655
38656
38657       ac_ext=cpp
38658 ac_cpp='$CXXCPP $CPPFLAGS'
38659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38662
38663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38664 /* end confdefs.h.  */
38665 #include <math.h>
38666                       #ifdef HAVE_IEEEFP_H
38667                       #include <ieeefp.h>
38668                       #endif
38669
38670 int
38671 main ()
38672 {
38673  _finite(0);
38674   ;
38675   return 0;
38676 }
38677 _ACEOF
38678 if ac_fn_cxx_try_compile "$LINENO"; then :
38679   glibcxx_cv_func__finite_use=yes
38680 else
38681   glibcxx_cv_func__finite_use=no
38682 fi
38683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38684       ac_ext=c
38685 ac_cpp='$CPP $CPPFLAGS'
38686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38689
38690
38691 fi
38692
38693   fi
38694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38695 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38696
38697     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38698       for ac_func in _finite
38699 do :
38700   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38701 if test "x$ac_cv_func__finite" = x""yes; then :
38702   cat >>confdefs.h <<_ACEOF
38703 #define HAVE__FINITE 1
38704 _ACEOF
38705
38706 fi
38707 done
38708
38709     fi
38710   fi
38711
38712
38713
38714
38715
38716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38717 $as_echo_n "checking for sincos declaration... " >&6; }
38718   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38719     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38720   $as_echo_n "(cached) " >&6
38721 else
38722
38723
38724       ac_ext=cpp
38725 ac_cpp='$CXXCPP $CPPFLAGS'
38726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38729
38730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38731 /* end confdefs.h.  */
38732 #include <math.h>
38733 int
38734 main ()
38735 {
38736  sincos(0, 0, 0);
38737   ;
38738   return 0;
38739 }
38740 _ACEOF
38741 if ac_fn_cxx_try_compile "$LINENO"; then :
38742   glibcxx_cv_func_sincos_use=yes
38743 else
38744   glibcxx_cv_func_sincos_use=no
38745 fi
38746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38747       ac_ext=c
38748 ac_cpp='$CPP $CPPFLAGS'
38749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38752
38753
38754 fi
38755
38756   fi
38757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38758 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38759
38760   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38761     for ac_func in sincos
38762 do :
38763   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38764 if test "x$ac_cv_func_sincos" = x""yes; then :
38765   cat >>confdefs.h <<_ACEOF
38766 #define HAVE_SINCOS 1
38767 _ACEOF
38768
38769 fi
38770 done
38771
38772   else
38773
38774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38775 $as_echo_n "checking for _sincos declaration... " >&6; }
38776   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38777     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38778   $as_echo_n "(cached) " >&6
38779 else
38780
38781
38782       ac_ext=cpp
38783 ac_cpp='$CXXCPP $CPPFLAGS'
38784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38787
38788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38789 /* end confdefs.h.  */
38790 #include <math.h>
38791 int
38792 main ()
38793 {
38794  _sincos(0, 0, 0);
38795   ;
38796   return 0;
38797 }
38798 _ACEOF
38799 if ac_fn_cxx_try_compile "$LINENO"; then :
38800   glibcxx_cv_func__sincos_use=yes
38801 else
38802   glibcxx_cv_func__sincos_use=no
38803 fi
38804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38805       ac_ext=c
38806 ac_cpp='$CPP $CPPFLAGS'
38807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810
38811
38812 fi
38813
38814   fi
38815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38816 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38817
38818     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38819       for ac_func in _sincos
38820 do :
38821   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38822 if test "x$ac_cv_func__sincos" = x""yes; then :
38823   cat >>confdefs.h <<_ACEOF
38824 #define HAVE__SINCOS 1
38825 _ACEOF
38826
38827 fi
38828 done
38829
38830     fi
38831   fi
38832
38833
38834
38835
38836
38837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38838 $as_echo_n "checking for fpclass declaration... " >&6; }
38839   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38840     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38841   $as_echo_n "(cached) " >&6
38842 else
38843
38844
38845       ac_ext=cpp
38846 ac_cpp='$CXXCPP $CPPFLAGS'
38847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38850
38851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38852 /* end confdefs.h.  */
38853 #include <math.h>
38854                       #ifdef HAVE_IEEEFP_H
38855                       #include <ieeefp.h>
38856                       #endif
38857
38858 int
38859 main ()
38860 {
38861  fpclass(0);
38862   ;
38863   return 0;
38864 }
38865 _ACEOF
38866 if ac_fn_cxx_try_compile "$LINENO"; then :
38867   glibcxx_cv_func_fpclass_use=yes
38868 else
38869   glibcxx_cv_func_fpclass_use=no
38870 fi
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38872       ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38877
38878
38879 fi
38880
38881   fi
38882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38883 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38884
38885   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38886     for ac_func in fpclass
38887 do :
38888   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38889 if test "x$ac_cv_func_fpclass" = x""yes; then :
38890   cat >>confdefs.h <<_ACEOF
38891 #define HAVE_FPCLASS 1
38892 _ACEOF
38893
38894 fi
38895 done
38896
38897   else
38898
38899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38900 $as_echo_n "checking for _fpclass declaration... " >&6; }
38901   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38902     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38903   $as_echo_n "(cached) " >&6
38904 else
38905
38906
38907       ac_ext=cpp
38908 ac_cpp='$CXXCPP $CPPFLAGS'
38909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912
38913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38914 /* end confdefs.h.  */
38915 #include <math.h>
38916                       #ifdef HAVE_IEEEFP_H
38917                       #include <ieeefp.h>
38918                       #endif
38919
38920 int
38921 main ()
38922 {
38923  _fpclass(0);
38924   ;
38925   return 0;
38926 }
38927 _ACEOF
38928 if ac_fn_cxx_try_compile "$LINENO"; then :
38929   glibcxx_cv_func__fpclass_use=yes
38930 else
38931   glibcxx_cv_func__fpclass_use=no
38932 fi
38933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38934       ac_ext=c
38935 ac_cpp='$CPP $CPPFLAGS'
38936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38939
38940
38941 fi
38942
38943   fi
38944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38945 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38946
38947     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38948       for ac_func in _fpclass
38949 do :
38950   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38951 if test "x$ac_cv_func__fpclass" = x""yes; then :
38952   cat >>confdefs.h <<_ACEOF
38953 #define HAVE__FPCLASS 1
38954 _ACEOF
38955
38956 fi
38957 done
38958
38959     fi
38960   fi
38961
38962
38963
38964
38965
38966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38967 $as_echo_n "checking for qfpclass declaration... " >&6; }
38968   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38969     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38970   $as_echo_n "(cached) " >&6
38971 else
38972
38973
38974       ac_ext=cpp
38975 ac_cpp='$CXXCPP $CPPFLAGS'
38976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38979
38980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38981 /* end confdefs.h.  */
38982 #include <math.h>
38983                       #ifdef HAVE_IEEEFP_H
38984                       #include <ieeefp.h>
38985                       #endif
38986
38987 int
38988 main ()
38989 {
38990  qfpclass(0);
38991   ;
38992   return 0;
38993 }
38994 _ACEOF
38995 if ac_fn_cxx_try_compile "$LINENO"; then :
38996   glibcxx_cv_func_qfpclass_use=yes
38997 else
38998   glibcxx_cv_func_qfpclass_use=no
38999 fi
39000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39001       ac_ext=c
39002 ac_cpp='$CPP $CPPFLAGS'
39003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39006
39007
39008 fi
39009
39010   fi
39011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39012 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39013
39014   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39015     for ac_func in qfpclass
39016 do :
39017   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39018 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39019   cat >>confdefs.h <<_ACEOF
39020 #define HAVE_QFPCLASS 1
39021 _ACEOF
39022
39023 fi
39024 done
39025
39026   else
39027
39028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39029 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39030   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39031     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39032   $as_echo_n "(cached) " >&6
39033 else
39034
39035
39036       ac_ext=cpp
39037 ac_cpp='$CXXCPP $CPPFLAGS'
39038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39041
39042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39043 /* end confdefs.h.  */
39044 #include <math.h>
39045                       #ifdef HAVE_IEEEFP_H
39046                       #include <ieeefp.h>
39047                       #endif
39048
39049 int
39050 main ()
39051 {
39052  _qfpclass(0);
39053   ;
39054   return 0;
39055 }
39056 _ACEOF
39057 if ac_fn_cxx_try_compile "$LINENO"; then :
39058   glibcxx_cv_func__qfpclass_use=yes
39059 else
39060   glibcxx_cv_func__qfpclass_use=no
39061 fi
39062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39063       ac_ext=c
39064 ac_cpp='$CPP $CPPFLAGS'
39065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39068
39069
39070 fi
39071
39072   fi
39073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39074 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39075
39076     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39077       for ac_func in _qfpclass
39078 do :
39079   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39080 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39081   cat >>confdefs.h <<_ACEOF
39082 #define HAVE__QFPCLASS 1
39083 _ACEOF
39084
39085 fi
39086 done
39087
39088     fi
39089   fi
39090
39091
39092
39093
39094
39095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39096 $as_echo_n "checking for hypot declaration... " >&6; }
39097   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39098     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39099   $as_echo_n "(cached) " >&6
39100 else
39101
39102
39103       ac_ext=cpp
39104 ac_cpp='$CXXCPP $CPPFLAGS'
39105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39108
39109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39110 /* end confdefs.h.  */
39111 #include <math.h>
39112 int
39113 main ()
39114 {
39115  hypot(0, 0);
39116   ;
39117   return 0;
39118 }
39119 _ACEOF
39120 if ac_fn_cxx_try_compile "$LINENO"; then :
39121   glibcxx_cv_func_hypot_use=yes
39122 else
39123   glibcxx_cv_func_hypot_use=no
39124 fi
39125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39126       ac_ext=c
39127 ac_cpp='$CPP $CPPFLAGS'
39128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39131
39132
39133 fi
39134
39135   fi
39136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39137 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39138
39139   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39140     for ac_func in hypot
39141 do :
39142   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39143 if test "x$ac_cv_func_hypot" = x""yes; then :
39144   cat >>confdefs.h <<_ACEOF
39145 #define HAVE_HYPOT 1
39146 _ACEOF
39147
39148 fi
39149 done
39150
39151   else
39152
39153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39154 $as_echo_n "checking for _hypot declaration... " >&6; }
39155   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39156     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39157   $as_echo_n "(cached) " >&6
39158 else
39159
39160
39161       ac_ext=cpp
39162 ac_cpp='$CXXCPP $CPPFLAGS'
39163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39166
39167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39168 /* end confdefs.h.  */
39169 #include <math.h>
39170 int
39171 main ()
39172 {
39173  _hypot(0, 0);
39174   ;
39175   return 0;
39176 }
39177 _ACEOF
39178 if ac_fn_cxx_try_compile "$LINENO"; then :
39179   glibcxx_cv_func__hypot_use=yes
39180 else
39181   glibcxx_cv_func__hypot_use=no
39182 fi
39183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39184       ac_ext=c
39185 ac_cpp='$CPP $CPPFLAGS'
39186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39189
39190
39191 fi
39192
39193   fi
39194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39195 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39196
39197     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39198       for ac_func in _hypot
39199 do :
39200   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39201 if test "x$ac_cv_func__hypot" = x""yes; then :
39202   cat >>confdefs.h <<_ACEOF
39203 #define HAVE__HYPOT 1
39204 _ACEOF
39205
39206 fi
39207 done
39208
39209     fi
39210   fi
39211
39212
39213
39214
39215
39216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39217 $as_echo_n "checking for float trig functions... " >&6; }
39218   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39219   $as_echo_n "(cached) " >&6
39220 else
39221
39222
39223     ac_ext=cpp
39224 ac_cpp='$CXXCPP $CPPFLAGS'
39225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39228
39229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39230 /* end confdefs.h.  */
39231 #include <math.h>
39232 int
39233 main ()
39234 {
39235 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39236   ;
39237   return 0;
39238 }
39239 _ACEOF
39240 if ac_fn_cxx_try_compile "$LINENO"; then :
39241   glibcxx_cv_func_float_trig_use=yes
39242 else
39243   glibcxx_cv_func_float_trig_use=no
39244 fi
39245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39246     ac_ext=c
39247 ac_cpp='$CPP $CPPFLAGS'
39248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39251
39252 fi
39253
39254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39255 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39256   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39257     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39258 do :
39259   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39261 eval as_val=\$$as_ac_var
39262    if test "x$as_val" = x""yes; then :
39263   cat >>confdefs.h <<_ACEOF
39264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39265 _ACEOF
39266
39267 fi
39268 done
39269
39270   else
39271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39272 $as_echo_n "checking for _float trig functions... " >&6; }
39273     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39274   $as_echo_n "(cached) " >&6
39275 else
39276
39277
39278       ac_ext=cpp
39279 ac_cpp='$CXXCPP $CPPFLAGS'
39280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283
39284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39285 /* end confdefs.h.  */
39286 #include <math.h>
39287 int
39288 main ()
39289 {
39290 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39291   ;
39292   return 0;
39293 }
39294 _ACEOF
39295 if ac_fn_cxx_try_compile "$LINENO"; then :
39296   glibcxx_cv_func__float_trig_use=yes
39297 else
39298   glibcxx_cv_func__float_trig_use=no
39299 fi
39300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39301       ac_ext=c
39302 ac_cpp='$CPP $CPPFLAGS'
39303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306
39307 fi
39308
39309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39310 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39311     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39312       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39313 do :
39314   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39316 eval as_val=\$$as_ac_var
39317    if test "x$as_val" = x""yes; then :
39318   cat >>confdefs.h <<_ACEOF
39319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39320 _ACEOF
39321
39322 fi
39323 done
39324
39325     fi
39326   fi
39327
39328
39329
39330
39331
39332     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39333 $as_echo_n "checking for float round functions... " >&6; }
39334   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39335   $as_echo_n "(cached) " >&6
39336 else
39337
39338
39339     ac_ext=cpp
39340 ac_cpp='$CXXCPP $CPPFLAGS'
39341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39344
39345     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39346 /* end confdefs.h.  */
39347 #include <math.h>
39348 int
39349 main ()
39350 {
39351 ceilf (0); floorf (0);
39352   ;
39353   return 0;
39354 }
39355 _ACEOF
39356 if ac_fn_cxx_try_compile "$LINENO"; then :
39357   glibcxx_cv_func_float_round_use=yes
39358 else
39359   glibcxx_cv_func_float_round_use=no
39360 fi
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362     ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39367
39368 fi
39369
39370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39371 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39372   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39373     for ac_func in ceilf floorf
39374 do :
39375   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39377 eval as_val=\$$as_ac_var
39378    if test "x$as_val" = x""yes; then :
39379   cat >>confdefs.h <<_ACEOF
39380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39381 _ACEOF
39382
39383 fi
39384 done
39385
39386   else
39387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39388 $as_echo_n "checking for _float round functions... " >&6; }
39389     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39390   $as_echo_n "(cached) " >&6
39391 else
39392
39393
39394       ac_ext=cpp
39395 ac_cpp='$CXXCPP $CPPFLAGS'
39396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39399
39400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39401 /* end confdefs.h.  */
39402 #include <math.h>
39403 int
39404 main ()
39405 {
39406 _ceilf (0); _floorf (0);
39407   ;
39408   return 0;
39409 }
39410 _ACEOF
39411 if ac_fn_cxx_try_compile "$LINENO"; then :
39412   glibcxx_cv_func__float_round_use=yes
39413 else
39414   glibcxx_cv_func__float_round_use=no
39415 fi
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417       ac_ext=c
39418 ac_cpp='$CPP $CPPFLAGS'
39419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39422
39423 fi
39424
39425     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39426 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39427     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39428       for ac_func in _ceilf _floorf
39429 do :
39430   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39432 eval as_val=\$$as_ac_var
39433    if test "x$as_val" = x""yes; then :
39434   cat >>confdefs.h <<_ACEOF
39435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39436 _ACEOF
39437
39438 fi
39439 done
39440
39441     fi
39442   fi
39443
39444
39445
39446
39447
39448
39449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39450 $as_echo_n "checking for expf declaration... " >&6; }
39451   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39452     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39453   $as_echo_n "(cached) " >&6
39454 else
39455
39456
39457       ac_ext=cpp
39458 ac_cpp='$CXXCPP $CPPFLAGS'
39459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39462
39463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39464 /* end confdefs.h.  */
39465 #include <math.h>
39466                       #ifdef HAVE_IEEEFP_H
39467                       #include <ieeefp.h>
39468                       #endif
39469
39470 int
39471 main ()
39472 {
39473  expf(0);
39474   ;
39475   return 0;
39476 }
39477 _ACEOF
39478 if ac_fn_cxx_try_compile "$LINENO"; then :
39479   glibcxx_cv_func_expf_use=yes
39480 else
39481   glibcxx_cv_func_expf_use=no
39482 fi
39483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39484       ac_ext=c
39485 ac_cpp='$CPP $CPPFLAGS'
39486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39489
39490
39491 fi
39492
39493   fi
39494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39495 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39496
39497   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39498     for ac_func in expf
39499 do :
39500   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39501 if test "x$ac_cv_func_expf" = x""yes; then :
39502   cat >>confdefs.h <<_ACEOF
39503 #define HAVE_EXPF 1
39504 _ACEOF
39505
39506 fi
39507 done
39508
39509   else
39510
39511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39512 $as_echo_n "checking for _expf declaration... " >&6; }
39513   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39514     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39515   $as_echo_n "(cached) " >&6
39516 else
39517
39518
39519       ac_ext=cpp
39520 ac_cpp='$CXXCPP $CPPFLAGS'
39521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39524
39525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39526 /* end confdefs.h.  */
39527 #include <math.h>
39528                       #ifdef HAVE_IEEEFP_H
39529                       #include <ieeefp.h>
39530                       #endif
39531
39532 int
39533 main ()
39534 {
39535  _expf(0);
39536   ;
39537   return 0;
39538 }
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541   glibcxx_cv_func__expf_use=yes
39542 else
39543   glibcxx_cv_func__expf_use=no
39544 fi
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546       ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39551
39552
39553 fi
39554
39555   fi
39556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39557 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39558
39559     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39560       for ac_func in _expf
39561 do :
39562   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39563 if test "x$ac_cv_func__expf" = x""yes; then :
39564   cat >>confdefs.h <<_ACEOF
39565 #define HAVE__EXPF 1
39566 _ACEOF
39567
39568 fi
39569 done
39570
39571     fi
39572   fi
39573
39574
39575
39576
39577
39578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39579 $as_echo_n "checking for isnanf declaration... " >&6; }
39580   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39581     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39582   $as_echo_n "(cached) " >&6
39583 else
39584
39585
39586       ac_ext=cpp
39587 ac_cpp='$CXXCPP $CPPFLAGS'
39588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39591
39592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39593 /* end confdefs.h.  */
39594 #include <math.h>
39595                       #ifdef HAVE_IEEEFP_H
39596                       #include <ieeefp.h>
39597                       #endif
39598
39599 int
39600 main ()
39601 {
39602  isnanf(0);
39603   ;
39604   return 0;
39605 }
39606 _ACEOF
39607 if ac_fn_cxx_try_compile "$LINENO"; then :
39608   glibcxx_cv_func_isnanf_use=yes
39609 else
39610   glibcxx_cv_func_isnanf_use=no
39611 fi
39612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39613       ac_ext=c
39614 ac_cpp='$CPP $CPPFLAGS'
39615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39618
39619
39620 fi
39621
39622   fi
39623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39624 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39625
39626   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39627     for ac_func in isnanf
39628 do :
39629   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39630 if test "x$ac_cv_func_isnanf" = x""yes; then :
39631   cat >>confdefs.h <<_ACEOF
39632 #define HAVE_ISNANF 1
39633 _ACEOF
39634
39635 fi
39636 done
39637
39638   else
39639
39640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39641 $as_echo_n "checking for _isnanf declaration... " >&6; }
39642   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39643     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39644   $as_echo_n "(cached) " >&6
39645 else
39646
39647
39648       ac_ext=cpp
39649 ac_cpp='$CXXCPP $CPPFLAGS'
39650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39653
39654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39655 /* end confdefs.h.  */
39656 #include <math.h>
39657                       #ifdef HAVE_IEEEFP_H
39658                       #include <ieeefp.h>
39659                       #endif
39660
39661 int
39662 main ()
39663 {
39664  _isnanf(0);
39665   ;
39666   return 0;
39667 }
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670   glibcxx_cv_func__isnanf_use=yes
39671 else
39672   glibcxx_cv_func__isnanf_use=no
39673 fi
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675       ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39680
39681
39682 fi
39683
39684   fi
39685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39686 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39687
39688     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39689       for ac_func in _isnanf
39690 do :
39691   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39692 if test "x$ac_cv_func__isnanf" = x""yes; then :
39693   cat >>confdefs.h <<_ACEOF
39694 #define HAVE__ISNANF 1
39695 _ACEOF
39696
39697 fi
39698 done
39699
39700     fi
39701   fi
39702
39703
39704
39705
39706
39707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39708 $as_echo_n "checking for isinff declaration... " >&6; }
39709   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39710     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39711   $as_echo_n "(cached) " >&6
39712 else
39713
39714
39715       ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720
39721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h.  */
39723 #include <math.h>
39724                       #ifdef HAVE_IEEEFP_H
39725                       #include <ieeefp.h>
39726                       #endif
39727
39728 int
39729 main ()
39730 {
39731  isinff(0);
39732   ;
39733   return 0;
39734 }
39735 _ACEOF
39736 if ac_fn_cxx_try_compile "$LINENO"; then :
39737   glibcxx_cv_func_isinff_use=yes
39738 else
39739   glibcxx_cv_func_isinff_use=no
39740 fi
39741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39742       ac_ext=c
39743 ac_cpp='$CPP $CPPFLAGS'
39744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39747
39748
39749 fi
39750
39751   fi
39752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39753 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39754
39755   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39756     for ac_func in isinff
39757 do :
39758   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39759 if test "x$ac_cv_func_isinff" = x""yes; then :
39760   cat >>confdefs.h <<_ACEOF
39761 #define HAVE_ISINFF 1
39762 _ACEOF
39763
39764 fi
39765 done
39766
39767   else
39768
39769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39770 $as_echo_n "checking for _isinff declaration... " >&6; }
39771   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39772     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39773   $as_echo_n "(cached) " >&6
39774 else
39775
39776
39777       ac_ext=cpp
39778 ac_cpp='$CXXCPP $CPPFLAGS'
39779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39782
39783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h.  */
39785 #include <math.h>
39786                       #ifdef HAVE_IEEEFP_H
39787                       #include <ieeefp.h>
39788                       #endif
39789
39790 int
39791 main ()
39792 {
39793  _isinff(0);
39794   ;
39795   return 0;
39796 }
39797 _ACEOF
39798 if ac_fn_cxx_try_compile "$LINENO"; then :
39799   glibcxx_cv_func__isinff_use=yes
39800 else
39801   glibcxx_cv_func__isinff_use=no
39802 fi
39803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39804       ac_ext=c
39805 ac_cpp='$CPP $CPPFLAGS'
39806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39809
39810
39811 fi
39812
39813   fi
39814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39815 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39816
39817     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39818       for ac_func in _isinff
39819 do :
39820   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39821 if test "x$ac_cv_func__isinff" = x""yes; then :
39822   cat >>confdefs.h <<_ACEOF
39823 #define HAVE__ISINFF 1
39824 _ACEOF
39825
39826 fi
39827 done
39828
39829     fi
39830   fi
39831
39832
39833
39834
39835
39836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39837 $as_echo_n "checking for atan2f declaration... " >&6; }
39838   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39839     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39840   $as_echo_n "(cached) " >&6
39841 else
39842
39843
39844       ac_ext=cpp
39845 ac_cpp='$CXXCPP $CPPFLAGS'
39846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39849
39850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39851 /* end confdefs.h.  */
39852 #include <math.h>
39853 int
39854 main ()
39855 {
39856  atan2f(0, 0);
39857   ;
39858   return 0;
39859 }
39860 _ACEOF
39861 if ac_fn_cxx_try_compile "$LINENO"; then :
39862   glibcxx_cv_func_atan2f_use=yes
39863 else
39864   glibcxx_cv_func_atan2f_use=no
39865 fi
39866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867       ac_ext=c
39868 ac_cpp='$CPP $CPPFLAGS'
39869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39872
39873
39874 fi
39875
39876   fi
39877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39878 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39879
39880   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39881     for ac_func in atan2f
39882 do :
39883   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39884 if test "x$ac_cv_func_atan2f" = x""yes; then :
39885   cat >>confdefs.h <<_ACEOF
39886 #define HAVE_ATAN2F 1
39887 _ACEOF
39888
39889 fi
39890 done
39891
39892   else
39893
39894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39895 $as_echo_n "checking for _atan2f declaration... " >&6; }
39896   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39897     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39898   $as_echo_n "(cached) " >&6
39899 else
39900
39901
39902       ac_ext=cpp
39903 ac_cpp='$CXXCPP $CPPFLAGS'
39904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39907
39908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39909 /* end confdefs.h.  */
39910 #include <math.h>
39911 int
39912 main ()
39913 {
39914  _atan2f(0, 0);
39915   ;
39916   return 0;
39917 }
39918 _ACEOF
39919 if ac_fn_cxx_try_compile "$LINENO"; then :
39920   glibcxx_cv_func__atan2f_use=yes
39921 else
39922   glibcxx_cv_func__atan2f_use=no
39923 fi
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925       ac_ext=c
39926 ac_cpp='$CPP $CPPFLAGS'
39927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39930
39931
39932 fi
39933
39934   fi
39935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39936 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39937
39938     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39939       for ac_func in _atan2f
39940 do :
39941   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39942 if test "x$ac_cv_func__atan2f" = x""yes; then :
39943   cat >>confdefs.h <<_ACEOF
39944 #define HAVE__ATAN2F 1
39945 _ACEOF
39946
39947 fi
39948 done
39949
39950     fi
39951   fi
39952
39953
39954
39955
39956
39957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39958 $as_echo_n "checking for fabsf declaration... " >&6; }
39959   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39960     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39961   $as_echo_n "(cached) " >&6
39962 else
39963
39964
39965       ac_ext=cpp
39966 ac_cpp='$CXXCPP $CPPFLAGS'
39967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39970
39971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39972 /* end confdefs.h.  */
39973 #include <math.h>
39974                       #ifdef HAVE_IEEEFP_H
39975                       #include <ieeefp.h>
39976                       #endif
39977
39978 int
39979 main ()
39980 {
39981  fabsf(0);
39982   ;
39983   return 0;
39984 }
39985 _ACEOF
39986 if ac_fn_cxx_try_compile "$LINENO"; then :
39987   glibcxx_cv_func_fabsf_use=yes
39988 else
39989   glibcxx_cv_func_fabsf_use=no
39990 fi
39991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39992       ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39997
39998
39999 fi
40000
40001   fi
40002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40003 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40004
40005   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40006     for ac_func in fabsf
40007 do :
40008   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40009 if test "x$ac_cv_func_fabsf" = x""yes; then :
40010   cat >>confdefs.h <<_ACEOF
40011 #define HAVE_FABSF 1
40012 _ACEOF
40013
40014 fi
40015 done
40016
40017   else
40018
40019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40020 $as_echo_n "checking for _fabsf declaration... " >&6; }
40021   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40022     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40023   $as_echo_n "(cached) " >&6
40024 else
40025
40026
40027       ac_ext=cpp
40028 ac_cpp='$CXXCPP $CPPFLAGS'
40029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40032
40033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40034 /* end confdefs.h.  */
40035 #include <math.h>
40036                       #ifdef HAVE_IEEEFP_H
40037                       #include <ieeefp.h>
40038                       #endif
40039
40040 int
40041 main ()
40042 {
40043  _fabsf(0);
40044   ;
40045   return 0;
40046 }
40047 _ACEOF
40048 if ac_fn_cxx_try_compile "$LINENO"; then :
40049   glibcxx_cv_func__fabsf_use=yes
40050 else
40051   glibcxx_cv_func__fabsf_use=no
40052 fi
40053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40054       ac_ext=c
40055 ac_cpp='$CPP $CPPFLAGS'
40056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40059
40060
40061 fi
40062
40063   fi
40064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40065 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40066
40067     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40068       for ac_func in _fabsf
40069 do :
40070   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40071 if test "x$ac_cv_func__fabsf" = x""yes; then :
40072   cat >>confdefs.h <<_ACEOF
40073 #define HAVE__FABSF 1
40074 _ACEOF
40075
40076 fi
40077 done
40078
40079     fi
40080   fi
40081
40082
40083
40084
40085
40086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40087 $as_echo_n "checking for fmodf declaration... " >&6; }
40088   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40089     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40090   $as_echo_n "(cached) " >&6
40091 else
40092
40093
40094       ac_ext=cpp
40095 ac_cpp='$CXXCPP $CPPFLAGS'
40096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40099
40100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40101 /* end confdefs.h.  */
40102 #include <math.h>
40103 int
40104 main ()
40105 {
40106  fmodf(0, 0);
40107   ;
40108   return 0;
40109 }
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112   glibcxx_cv_func_fmodf_use=yes
40113 else
40114   glibcxx_cv_func_fmodf_use=no
40115 fi
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117       ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122
40123
40124 fi
40125
40126   fi
40127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40128 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40129
40130   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40131     for ac_func in fmodf
40132 do :
40133   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40134 if test "x$ac_cv_func_fmodf" = x""yes; then :
40135   cat >>confdefs.h <<_ACEOF
40136 #define HAVE_FMODF 1
40137 _ACEOF
40138
40139 fi
40140 done
40141
40142   else
40143
40144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40145 $as_echo_n "checking for _fmodf declaration... " >&6; }
40146   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40147     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40148   $as_echo_n "(cached) " >&6
40149 else
40150
40151
40152       ac_ext=cpp
40153 ac_cpp='$CXXCPP $CPPFLAGS'
40154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40157
40158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40159 /* end confdefs.h.  */
40160 #include <math.h>
40161 int
40162 main ()
40163 {
40164  _fmodf(0, 0);
40165   ;
40166   return 0;
40167 }
40168 _ACEOF
40169 if ac_fn_cxx_try_compile "$LINENO"; then :
40170   glibcxx_cv_func__fmodf_use=yes
40171 else
40172   glibcxx_cv_func__fmodf_use=no
40173 fi
40174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40175       ac_ext=c
40176 ac_cpp='$CPP $CPPFLAGS'
40177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40180
40181
40182 fi
40183
40184   fi
40185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40186 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40187
40188     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40189       for ac_func in _fmodf
40190 do :
40191   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40192 if test "x$ac_cv_func__fmodf" = x""yes; then :
40193   cat >>confdefs.h <<_ACEOF
40194 #define HAVE__FMODF 1
40195 _ACEOF
40196
40197 fi
40198 done
40199
40200     fi
40201   fi
40202
40203
40204
40205
40206
40207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40208 $as_echo_n "checking for frexpf declaration... " >&6; }
40209   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40210     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40211   $as_echo_n "(cached) " >&6
40212 else
40213
40214
40215       ac_ext=cpp
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40220
40221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40222 /* end confdefs.h.  */
40223 #include <math.h>
40224 int
40225 main ()
40226 {
40227  frexpf(0, 0);
40228   ;
40229   return 0;
40230 }
40231 _ACEOF
40232 if ac_fn_cxx_try_compile "$LINENO"; then :
40233   glibcxx_cv_func_frexpf_use=yes
40234 else
40235   glibcxx_cv_func_frexpf_use=no
40236 fi
40237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40238       ac_ext=c
40239 ac_cpp='$CPP $CPPFLAGS'
40240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40243
40244
40245 fi
40246
40247   fi
40248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40249 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40250
40251   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40252     for ac_func in frexpf
40253 do :
40254   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40255 if test "x$ac_cv_func_frexpf" = x""yes; then :
40256   cat >>confdefs.h <<_ACEOF
40257 #define HAVE_FREXPF 1
40258 _ACEOF
40259
40260 fi
40261 done
40262
40263   else
40264
40265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40266 $as_echo_n "checking for _frexpf declaration... " >&6; }
40267   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40268     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40269   $as_echo_n "(cached) " >&6
40270 else
40271
40272
40273       ac_ext=cpp
40274 ac_cpp='$CXXCPP $CPPFLAGS'
40275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40278
40279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40280 /* end confdefs.h.  */
40281 #include <math.h>
40282 int
40283 main ()
40284 {
40285  _frexpf(0, 0);
40286   ;
40287   return 0;
40288 }
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291   glibcxx_cv_func__frexpf_use=yes
40292 else
40293   glibcxx_cv_func__frexpf_use=no
40294 fi
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296       ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301
40302
40303 fi
40304
40305   fi
40306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40307 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40308
40309     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40310       for ac_func in _frexpf
40311 do :
40312   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40313 if test "x$ac_cv_func__frexpf" = x""yes; then :
40314   cat >>confdefs.h <<_ACEOF
40315 #define HAVE__FREXPF 1
40316 _ACEOF
40317
40318 fi
40319 done
40320
40321     fi
40322   fi
40323
40324
40325
40326
40327
40328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40329 $as_echo_n "checking for hypotf declaration... " >&6; }
40330   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40331     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40332   $as_echo_n "(cached) " >&6
40333 else
40334
40335
40336       ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341
40342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h.  */
40344 #include <math.h>
40345 int
40346 main ()
40347 {
40348  hypotf(0, 0);
40349   ;
40350   return 0;
40351 }
40352 _ACEOF
40353 if ac_fn_cxx_try_compile "$LINENO"; then :
40354   glibcxx_cv_func_hypotf_use=yes
40355 else
40356   glibcxx_cv_func_hypotf_use=no
40357 fi
40358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40359       ac_ext=c
40360 ac_cpp='$CPP $CPPFLAGS'
40361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40364
40365
40366 fi
40367
40368   fi
40369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40370 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40371
40372   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40373     for ac_func in hypotf
40374 do :
40375   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40376 if test "x$ac_cv_func_hypotf" = x""yes; then :
40377   cat >>confdefs.h <<_ACEOF
40378 #define HAVE_HYPOTF 1
40379 _ACEOF
40380
40381 fi
40382 done
40383
40384   else
40385
40386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40387 $as_echo_n "checking for _hypotf declaration... " >&6; }
40388   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40389     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40390   $as_echo_n "(cached) " >&6
40391 else
40392
40393
40394       ac_ext=cpp
40395 ac_cpp='$CXXCPP $CPPFLAGS'
40396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40399
40400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40401 /* end confdefs.h.  */
40402 #include <math.h>
40403 int
40404 main ()
40405 {
40406  _hypotf(0, 0);
40407   ;
40408   return 0;
40409 }
40410 _ACEOF
40411 if ac_fn_cxx_try_compile "$LINENO"; then :
40412   glibcxx_cv_func__hypotf_use=yes
40413 else
40414   glibcxx_cv_func__hypotf_use=no
40415 fi
40416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40417       ac_ext=c
40418 ac_cpp='$CPP $CPPFLAGS'
40419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422
40423
40424 fi
40425
40426   fi
40427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40428 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40429
40430     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40431       for ac_func in _hypotf
40432 do :
40433   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40434 if test "x$ac_cv_func__hypotf" = x""yes; then :
40435   cat >>confdefs.h <<_ACEOF
40436 #define HAVE__HYPOTF 1
40437 _ACEOF
40438
40439 fi
40440 done
40441
40442     fi
40443   fi
40444
40445
40446
40447
40448
40449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40450 $as_echo_n "checking for ldexpf declaration... " >&6; }
40451   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40452     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40453   $as_echo_n "(cached) " >&6
40454 else
40455
40456
40457       ac_ext=cpp
40458 ac_cpp='$CXXCPP $CPPFLAGS'
40459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40462
40463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40464 /* end confdefs.h.  */
40465 #include <math.h>
40466 int
40467 main ()
40468 {
40469  ldexpf(0, 0);
40470   ;
40471   return 0;
40472 }
40473 _ACEOF
40474 if ac_fn_cxx_try_compile "$LINENO"; then :
40475   glibcxx_cv_func_ldexpf_use=yes
40476 else
40477   glibcxx_cv_func_ldexpf_use=no
40478 fi
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40480       ac_ext=c
40481 ac_cpp='$CPP $CPPFLAGS'
40482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485
40486
40487 fi
40488
40489   fi
40490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40491 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40492
40493   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40494     for ac_func in ldexpf
40495 do :
40496   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40497 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40498   cat >>confdefs.h <<_ACEOF
40499 #define HAVE_LDEXPF 1
40500 _ACEOF
40501
40502 fi
40503 done
40504
40505   else
40506
40507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40508 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40509   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40510     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40511   $as_echo_n "(cached) " >&6
40512 else
40513
40514
40515       ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520
40521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h.  */
40523 #include <math.h>
40524 int
40525 main ()
40526 {
40527  _ldexpf(0, 0);
40528   ;
40529   return 0;
40530 }
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533   glibcxx_cv_func__ldexpf_use=yes
40534 else
40535   glibcxx_cv_func__ldexpf_use=no
40536 fi
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538       ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543
40544
40545 fi
40546
40547   fi
40548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40549 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40550
40551     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40552       for ac_func in _ldexpf
40553 do :
40554   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40555 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40556   cat >>confdefs.h <<_ACEOF
40557 #define HAVE__LDEXPF 1
40558 _ACEOF
40559
40560 fi
40561 done
40562
40563     fi
40564   fi
40565
40566
40567
40568
40569
40570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40571 $as_echo_n "checking for logf declaration... " >&6; }
40572   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40573     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40574   $as_echo_n "(cached) " >&6
40575 else
40576
40577
40578       ac_ext=cpp
40579 ac_cpp='$CXXCPP $CPPFLAGS'
40580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583
40584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40585 /* end confdefs.h.  */
40586 #include <math.h>
40587                       #ifdef HAVE_IEEEFP_H
40588                       #include <ieeefp.h>
40589                       #endif
40590
40591 int
40592 main ()
40593 {
40594  logf(0);
40595   ;
40596   return 0;
40597 }
40598 _ACEOF
40599 if ac_fn_cxx_try_compile "$LINENO"; then :
40600   glibcxx_cv_func_logf_use=yes
40601 else
40602   glibcxx_cv_func_logf_use=no
40603 fi
40604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40605       ac_ext=c
40606 ac_cpp='$CPP $CPPFLAGS'
40607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610
40611
40612 fi
40613
40614   fi
40615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40616 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40617
40618   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40619     for ac_func in logf
40620 do :
40621   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40622 if test "x$ac_cv_func_logf" = x""yes; then :
40623   cat >>confdefs.h <<_ACEOF
40624 #define HAVE_LOGF 1
40625 _ACEOF
40626
40627 fi
40628 done
40629
40630   else
40631
40632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40633 $as_echo_n "checking for _logf declaration... " >&6; }
40634   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40635     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40636   $as_echo_n "(cached) " >&6
40637 else
40638
40639
40640       ac_ext=cpp
40641 ac_cpp='$CXXCPP $CPPFLAGS'
40642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645
40646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40647 /* end confdefs.h.  */
40648 #include <math.h>
40649                       #ifdef HAVE_IEEEFP_H
40650                       #include <ieeefp.h>
40651                       #endif
40652
40653 int
40654 main ()
40655 {
40656  _logf(0);
40657   ;
40658   return 0;
40659 }
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662   glibcxx_cv_func__logf_use=yes
40663 else
40664   glibcxx_cv_func__logf_use=no
40665 fi
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667       ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672
40673
40674 fi
40675
40676   fi
40677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40678 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40679
40680     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40681       for ac_func in _logf
40682 do :
40683   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40684 if test "x$ac_cv_func__logf" = x""yes; then :
40685   cat >>confdefs.h <<_ACEOF
40686 #define HAVE__LOGF 1
40687 _ACEOF
40688
40689 fi
40690 done
40691
40692     fi
40693   fi
40694
40695
40696
40697
40698
40699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40700 $as_echo_n "checking for log10f declaration... " >&6; }
40701   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40702     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40703   $as_echo_n "(cached) " >&6
40704 else
40705
40706
40707       ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h.  */
40715 #include <math.h>
40716                       #ifdef HAVE_IEEEFP_H
40717                       #include <ieeefp.h>
40718                       #endif
40719
40720 int
40721 main ()
40722 {
40723  log10f(0);
40724   ;
40725   return 0;
40726 }
40727 _ACEOF
40728 if ac_fn_cxx_try_compile "$LINENO"; then :
40729   glibcxx_cv_func_log10f_use=yes
40730 else
40731   glibcxx_cv_func_log10f_use=no
40732 fi
40733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40734       ac_ext=c
40735 ac_cpp='$CPP $CPPFLAGS'
40736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40739
40740
40741 fi
40742
40743   fi
40744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40745 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40746
40747   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40748     for ac_func in log10f
40749 do :
40750   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40751 if test "x$ac_cv_func_log10f" = x""yes; then :
40752   cat >>confdefs.h <<_ACEOF
40753 #define HAVE_LOG10F 1
40754 _ACEOF
40755
40756 fi
40757 done
40758
40759   else
40760
40761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40762 $as_echo_n "checking for _log10f declaration... " >&6; }
40763   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40764     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40765   $as_echo_n "(cached) " >&6
40766 else
40767
40768
40769       ac_ext=cpp
40770 ac_cpp='$CXXCPP $CPPFLAGS'
40771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40774
40775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40776 /* end confdefs.h.  */
40777 #include <math.h>
40778                       #ifdef HAVE_IEEEFP_H
40779                       #include <ieeefp.h>
40780                       #endif
40781
40782 int
40783 main ()
40784 {
40785  _log10f(0);
40786   ;
40787   return 0;
40788 }
40789 _ACEOF
40790 if ac_fn_cxx_try_compile "$LINENO"; then :
40791   glibcxx_cv_func__log10f_use=yes
40792 else
40793   glibcxx_cv_func__log10f_use=no
40794 fi
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796       ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40801
40802
40803 fi
40804
40805   fi
40806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40807 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40808
40809     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40810       for ac_func in _log10f
40811 do :
40812   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40813 if test "x$ac_cv_func__log10f" = x""yes; then :
40814   cat >>confdefs.h <<_ACEOF
40815 #define HAVE__LOG10F 1
40816 _ACEOF
40817
40818 fi
40819 done
40820
40821     fi
40822   fi
40823
40824
40825
40826
40827
40828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40829 $as_echo_n "checking for modff declaration... " >&6; }
40830   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40831     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40832   $as_echo_n "(cached) " >&6
40833 else
40834
40835
40836       ac_ext=cpp
40837 ac_cpp='$CXXCPP $CPPFLAGS'
40838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40841
40842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 /* end confdefs.h.  */
40844 #include <math.h>
40845 int
40846 main ()
40847 {
40848  modff(0, 0);
40849   ;
40850   return 0;
40851 }
40852 _ACEOF
40853 if ac_fn_cxx_try_compile "$LINENO"; then :
40854   glibcxx_cv_func_modff_use=yes
40855 else
40856   glibcxx_cv_func_modff_use=no
40857 fi
40858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40859       ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864
40865
40866 fi
40867
40868   fi
40869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40870 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40871
40872   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40873     for ac_func in modff
40874 do :
40875   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40876 if test "x$ac_cv_func_modff" = x""yes; then :
40877   cat >>confdefs.h <<_ACEOF
40878 #define HAVE_MODFF 1
40879 _ACEOF
40880
40881 fi
40882 done
40883
40884   else
40885
40886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40887 $as_echo_n "checking for _modff declaration... " >&6; }
40888   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40889     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40890   $as_echo_n "(cached) " >&6
40891 else
40892
40893
40894       ac_ext=cpp
40895 ac_cpp='$CXXCPP $CPPFLAGS'
40896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40899
40900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40901 /* end confdefs.h.  */
40902 #include <math.h>
40903 int
40904 main ()
40905 {
40906  _modff(0, 0);
40907   ;
40908   return 0;
40909 }
40910 _ACEOF
40911 if ac_fn_cxx_try_compile "$LINENO"; then :
40912   glibcxx_cv_func__modff_use=yes
40913 else
40914   glibcxx_cv_func__modff_use=no
40915 fi
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917       ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922
40923
40924 fi
40925
40926   fi
40927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40928 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40929
40930     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40931       for ac_func in _modff
40932 do :
40933   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40934 if test "x$ac_cv_func__modff" = x""yes; then :
40935   cat >>confdefs.h <<_ACEOF
40936 #define HAVE__MODFF 1
40937 _ACEOF
40938
40939 fi
40940 done
40941
40942     fi
40943   fi
40944
40945
40946
40947
40948
40949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40950 $as_echo_n "checking for modf declaration... " >&6; }
40951   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40952     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40953   $as_echo_n "(cached) " >&6
40954 else
40955
40956
40957       ac_ext=cpp
40958 ac_cpp='$CXXCPP $CPPFLAGS'
40959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40962
40963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40964 /* end confdefs.h.  */
40965 #include <math.h>
40966 int
40967 main ()
40968 {
40969  modf(0, 0);
40970   ;
40971   return 0;
40972 }
40973 _ACEOF
40974 if ac_fn_cxx_try_compile "$LINENO"; then :
40975   glibcxx_cv_func_modf_use=yes
40976 else
40977   glibcxx_cv_func_modf_use=no
40978 fi
40979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40980       ac_ext=c
40981 ac_cpp='$CPP $CPPFLAGS'
40982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985
40986
40987 fi
40988
40989   fi
40990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40991 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40992
40993   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40994     for ac_func in modf
40995 do :
40996   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40997 if test "x$ac_cv_func_modf" = x""yes; then :
40998   cat >>confdefs.h <<_ACEOF
40999 #define HAVE_MODF 1
41000 _ACEOF
41001
41002 fi
41003 done
41004
41005   else
41006
41007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41008 $as_echo_n "checking for _modf declaration... " >&6; }
41009   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41010     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41011   $as_echo_n "(cached) " >&6
41012 else
41013
41014
41015       ac_ext=cpp
41016 ac_cpp='$CXXCPP $CPPFLAGS'
41017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41020
41021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h.  */
41023 #include <math.h>
41024 int
41025 main ()
41026 {
41027  _modf(0, 0);
41028   ;
41029   return 0;
41030 }
41031 _ACEOF
41032 if ac_fn_cxx_try_compile "$LINENO"; then :
41033   glibcxx_cv_func__modf_use=yes
41034 else
41035   glibcxx_cv_func__modf_use=no
41036 fi
41037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41038       ac_ext=c
41039 ac_cpp='$CPP $CPPFLAGS'
41040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41043
41044
41045 fi
41046
41047   fi
41048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41049 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41050
41051     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41052       for ac_func in _modf
41053 do :
41054   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41055 if test "x$ac_cv_func__modf" = x""yes; then :
41056   cat >>confdefs.h <<_ACEOF
41057 #define HAVE__MODF 1
41058 _ACEOF
41059
41060 fi
41061 done
41062
41063     fi
41064   fi
41065
41066
41067
41068
41069
41070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41071 $as_echo_n "checking for powf declaration... " >&6; }
41072   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41073     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41074   $as_echo_n "(cached) " >&6
41075 else
41076
41077
41078       ac_ext=cpp
41079 ac_cpp='$CXXCPP $CPPFLAGS'
41080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083
41084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41085 /* end confdefs.h.  */
41086 #include <math.h>
41087 int
41088 main ()
41089 {
41090  powf(0, 0);
41091   ;
41092   return 0;
41093 }
41094 _ACEOF
41095 if ac_fn_cxx_try_compile "$LINENO"; then :
41096   glibcxx_cv_func_powf_use=yes
41097 else
41098   glibcxx_cv_func_powf_use=no
41099 fi
41100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41101       ac_ext=c
41102 ac_cpp='$CPP $CPPFLAGS'
41103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41106
41107
41108 fi
41109
41110   fi
41111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41112 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41113
41114   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41115     for ac_func in powf
41116 do :
41117   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41118 if test "x$ac_cv_func_powf" = x""yes; then :
41119   cat >>confdefs.h <<_ACEOF
41120 #define HAVE_POWF 1
41121 _ACEOF
41122
41123 fi
41124 done
41125
41126   else
41127
41128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41129 $as_echo_n "checking for _powf declaration... " >&6; }
41130   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41131     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41132   $as_echo_n "(cached) " >&6
41133 else
41134
41135
41136       ac_ext=cpp
41137 ac_cpp='$CXXCPP $CPPFLAGS'
41138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41141
41142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41143 /* end confdefs.h.  */
41144 #include <math.h>
41145 int
41146 main ()
41147 {
41148  _powf(0, 0);
41149   ;
41150   return 0;
41151 }
41152 _ACEOF
41153 if ac_fn_cxx_try_compile "$LINENO"; then :
41154   glibcxx_cv_func__powf_use=yes
41155 else
41156   glibcxx_cv_func__powf_use=no
41157 fi
41158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41159       ac_ext=c
41160 ac_cpp='$CPP $CPPFLAGS'
41161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164
41165
41166 fi
41167
41168   fi
41169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41170 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41171
41172     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41173       for ac_func in _powf
41174 do :
41175   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41176 if test "x$ac_cv_func__powf" = x""yes; then :
41177   cat >>confdefs.h <<_ACEOF
41178 #define HAVE__POWF 1
41179 _ACEOF
41180
41181 fi
41182 done
41183
41184     fi
41185   fi
41186
41187
41188
41189
41190
41191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41192 $as_echo_n "checking for sqrtf declaration... " >&6; }
41193   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41194     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41195   $as_echo_n "(cached) " >&6
41196 else
41197
41198
41199       ac_ext=cpp
41200 ac_cpp='$CXXCPP $CPPFLAGS'
41201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41204
41205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41206 /* end confdefs.h.  */
41207 #include <math.h>
41208                       #ifdef HAVE_IEEEFP_H
41209                       #include <ieeefp.h>
41210                       #endif
41211
41212 int
41213 main ()
41214 {
41215  sqrtf(0);
41216   ;
41217   return 0;
41218 }
41219 _ACEOF
41220 if ac_fn_cxx_try_compile "$LINENO"; then :
41221   glibcxx_cv_func_sqrtf_use=yes
41222 else
41223   glibcxx_cv_func_sqrtf_use=no
41224 fi
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226       ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41231
41232
41233 fi
41234
41235   fi
41236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41237 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41238
41239   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41240     for ac_func in sqrtf
41241 do :
41242   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41243 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41244   cat >>confdefs.h <<_ACEOF
41245 #define HAVE_SQRTF 1
41246 _ACEOF
41247
41248 fi
41249 done
41250
41251   else
41252
41253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41254 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41255   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41256     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41257   $as_echo_n "(cached) " >&6
41258 else
41259
41260
41261       ac_ext=cpp
41262 ac_cpp='$CXXCPP $CPPFLAGS'
41263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41266
41267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h.  */
41269 #include <math.h>
41270                       #ifdef HAVE_IEEEFP_H
41271                       #include <ieeefp.h>
41272                       #endif
41273
41274 int
41275 main ()
41276 {
41277  _sqrtf(0);
41278   ;
41279   return 0;
41280 }
41281 _ACEOF
41282 if ac_fn_cxx_try_compile "$LINENO"; then :
41283   glibcxx_cv_func__sqrtf_use=yes
41284 else
41285   glibcxx_cv_func__sqrtf_use=no
41286 fi
41287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41288       ac_ext=c
41289 ac_cpp='$CPP $CPPFLAGS'
41290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41293
41294
41295 fi
41296
41297   fi
41298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41299 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41300
41301     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41302       for ac_func in _sqrtf
41303 do :
41304   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41305 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41306   cat >>confdefs.h <<_ACEOF
41307 #define HAVE__SQRTF 1
41308 _ACEOF
41309
41310 fi
41311 done
41312
41313     fi
41314   fi
41315
41316
41317
41318
41319
41320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41321 $as_echo_n "checking for sincosf declaration... " >&6; }
41322   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41323     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41324   $as_echo_n "(cached) " >&6
41325 else
41326
41327
41328       ac_ext=cpp
41329 ac_cpp='$CXXCPP $CPPFLAGS'
41330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41333
41334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41335 /* end confdefs.h.  */
41336 #include <math.h>
41337 int
41338 main ()
41339 {
41340  sincosf(0, 0, 0);
41341   ;
41342   return 0;
41343 }
41344 _ACEOF
41345 if ac_fn_cxx_try_compile "$LINENO"; then :
41346   glibcxx_cv_func_sincosf_use=yes
41347 else
41348   glibcxx_cv_func_sincosf_use=no
41349 fi
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351       ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41356
41357
41358 fi
41359
41360   fi
41361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41362 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41363
41364   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41365     for ac_func in sincosf
41366 do :
41367   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41368 if test "x$ac_cv_func_sincosf" = x""yes; then :
41369   cat >>confdefs.h <<_ACEOF
41370 #define HAVE_SINCOSF 1
41371 _ACEOF
41372
41373 fi
41374 done
41375
41376   else
41377
41378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41379 $as_echo_n "checking for _sincosf declaration... " >&6; }
41380   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41381     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41382   $as_echo_n "(cached) " >&6
41383 else
41384
41385
41386       ac_ext=cpp
41387 ac_cpp='$CXXCPP $CPPFLAGS'
41388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41391
41392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41393 /* end confdefs.h.  */
41394 #include <math.h>
41395 int
41396 main ()
41397 {
41398  _sincosf(0, 0, 0);
41399   ;
41400   return 0;
41401 }
41402 _ACEOF
41403 if ac_fn_cxx_try_compile "$LINENO"; then :
41404   glibcxx_cv_func__sincosf_use=yes
41405 else
41406   glibcxx_cv_func__sincosf_use=no
41407 fi
41408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41409       ac_ext=c
41410 ac_cpp='$CPP $CPPFLAGS'
41411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41414
41415
41416 fi
41417
41418   fi
41419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41420 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41421
41422     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41423       for ac_func in _sincosf
41424 do :
41425   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41426 if test "x$ac_cv_func__sincosf" = x""yes; then :
41427   cat >>confdefs.h <<_ACEOF
41428 #define HAVE__SINCOSF 1
41429 _ACEOF
41430
41431 fi
41432 done
41433
41434     fi
41435   fi
41436
41437
41438
41439
41440
41441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41442 $as_echo_n "checking for finitef declaration... " >&6; }
41443   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41444     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41445   $as_echo_n "(cached) " >&6
41446 else
41447
41448
41449       ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41454
41455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h.  */
41457 #include <math.h>
41458                       #ifdef HAVE_IEEEFP_H
41459                       #include <ieeefp.h>
41460                       #endif
41461
41462 int
41463 main ()
41464 {
41465  finitef(0);
41466   ;
41467   return 0;
41468 }
41469 _ACEOF
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471   glibcxx_cv_func_finitef_use=yes
41472 else
41473   glibcxx_cv_func_finitef_use=no
41474 fi
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476       ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481
41482
41483 fi
41484
41485   fi
41486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41487 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41488
41489   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41490     for ac_func in finitef
41491 do :
41492   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41493 if test "x$ac_cv_func_finitef" = x""yes; then :
41494   cat >>confdefs.h <<_ACEOF
41495 #define HAVE_FINITEF 1
41496 _ACEOF
41497
41498 fi
41499 done
41500
41501   else
41502
41503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41504 $as_echo_n "checking for _finitef declaration... " >&6; }
41505   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41506     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41507   $as_echo_n "(cached) " >&6
41508 else
41509
41510
41511       ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41516
41517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41518 /* end confdefs.h.  */
41519 #include <math.h>
41520                       #ifdef HAVE_IEEEFP_H
41521                       #include <ieeefp.h>
41522                       #endif
41523
41524 int
41525 main ()
41526 {
41527  _finitef(0);
41528   ;
41529   return 0;
41530 }
41531 _ACEOF
41532 if ac_fn_cxx_try_compile "$LINENO"; then :
41533   glibcxx_cv_func__finitef_use=yes
41534 else
41535   glibcxx_cv_func__finitef_use=no
41536 fi
41537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41538       ac_ext=c
41539 ac_cpp='$CPP $CPPFLAGS'
41540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41543
41544
41545 fi
41546
41547   fi
41548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41549 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41550
41551     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41552       for ac_func in _finitef
41553 do :
41554   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41555 if test "x$ac_cv_func__finitef" = x""yes; then :
41556   cat >>confdefs.h <<_ACEOF
41557 #define HAVE__FINITEF 1
41558 _ACEOF
41559
41560 fi
41561 done
41562
41563     fi
41564   fi
41565
41566
41567
41568
41569
41570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41571 $as_echo_n "checking for long double trig functions... " >&6; }
41572   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41573   $as_echo_n "(cached) " >&6
41574 else
41575
41576
41577     ac_ext=cpp
41578 ac_cpp='$CXXCPP $CPPFLAGS'
41579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41582
41583     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41584 /* end confdefs.h.  */
41585 #include <math.h>
41586 int
41587 main ()
41588 {
41589 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41590   ;
41591   return 0;
41592 }
41593 _ACEOF
41594 if ac_fn_cxx_try_compile "$LINENO"; then :
41595   glibcxx_cv_func_long_double_trig_use=yes
41596 else
41597   glibcxx_cv_func_long_double_trig_use=no
41598 fi
41599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41600     ac_ext=c
41601 ac_cpp='$CPP $CPPFLAGS'
41602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41605
41606 fi
41607
41608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41609 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41610   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41611     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41612 do :
41613   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41615 eval as_val=\$$as_ac_var
41616    if test "x$as_val" = x""yes; then :
41617   cat >>confdefs.h <<_ACEOF
41618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41619 _ACEOF
41620
41621 fi
41622 done
41623
41624   else
41625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41626 $as_echo_n "checking for _long double trig functions... " >&6; }
41627     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41628   $as_echo_n "(cached) " >&6
41629 else
41630
41631
41632       ac_ext=cpp
41633 ac_cpp='$CXXCPP $CPPFLAGS'
41634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41637
41638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41639 /* end confdefs.h.  */
41640 #include <math.h>
41641 int
41642 main ()
41643 {
41644 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41645   ;
41646   return 0;
41647 }
41648 _ACEOF
41649 if ac_fn_cxx_try_compile "$LINENO"; then :
41650   glibcxx_cv_func__long_double_trig_use=yes
41651 else
41652   glibcxx_cv_func__long_double_trig_use=no
41653 fi
41654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41655       ac_ext=c
41656 ac_cpp='$CPP $CPPFLAGS'
41657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41660
41661 fi
41662
41663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41664 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41665     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41666       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41667 do :
41668   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41670 eval as_val=\$$as_ac_var
41671    if test "x$as_val" = x""yes; then :
41672   cat >>confdefs.h <<_ACEOF
41673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41674 _ACEOF
41675
41676 fi
41677 done
41678
41679     fi
41680   fi
41681
41682
41683
41684
41685
41686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41687 $as_echo_n "checking for long double round functions... " >&6; }
41688   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41689   $as_echo_n "(cached) " >&6
41690 else
41691
41692
41693     ac_ext=cpp
41694 ac_cpp='$CXXCPP $CPPFLAGS'
41695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41698
41699     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41700 /* end confdefs.h.  */
41701 #include <math.h>
41702 int
41703 main ()
41704 {
41705 ceill (0); floorl (0);
41706   ;
41707   return 0;
41708 }
41709 _ACEOF
41710 if ac_fn_cxx_try_compile "$LINENO"; then :
41711   glibcxx_cv_func_long_double_round_use=yes
41712 else
41713   glibcxx_cv_func_long_double_round_use=no
41714 fi
41715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41716     ac_ext=c
41717 ac_cpp='$CPP $CPPFLAGS'
41718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41721
41722 fi
41723
41724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41725 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41726   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41727     for ac_func in ceill floorl
41728 do :
41729   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41731 eval as_val=\$$as_ac_var
41732    if test "x$as_val" = x""yes; then :
41733   cat >>confdefs.h <<_ACEOF
41734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41735 _ACEOF
41736
41737 fi
41738 done
41739
41740   else
41741     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41742 $as_echo_n "checking for _long double round functions... " >&6; }
41743     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41744   $as_echo_n "(cached) " >&6
41745 else
41746
41747
41748       ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753
41754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h.  */
41756 #include <math.h>
41757 int
41758 main ()
41759 {
41760 _ceill (0); _floorl (0);
41761   ;
41762   return 0;
41763 }
41764 _ACEOF
41765 if ac_fn_cxx_try_compile "$LINENO"; then :
41766   glibcxx_cv_func__long_double_round_use=yes
41767 else
41768   glibcxx_cv_func__long_double_round_use=no
41769 fi
41770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41771       ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41776
41777 fi
41778
41779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41780 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41781     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41782       for ac_func in _ceill _floorl
41783 do :
41784   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41786 eval as_val=\$$as_ac_var
41787    if test "x$as_val" = x""yes; then :
41788   cat >>confdefs.h <<_ACEOF
41789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41790 _ACEOF
41791
41792 fi
41793 done
41794
41795     fi
41796   fi
41797
41798
41799
41800
41801
41802
41803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41804 $as_echo_n "checking for isnanl declaration... " >&6; }
41805   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41806     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41807   $as_echo_n "(cached) " >&6
41808 else
41809
41810
41811       ac_ext=cpp
41812 ac_cpp='$CXXCPP $CPPFLAGS'
41813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41816
41817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41818 /* end confdefs.h.  */
41819 #include <math.h>
41820                       #ifdef HAVE_IEEEFP_H
41821                       #include <ieeefp.h>
41822                       #endif
41823
41824 int
41825 main ()
41826 {
41827  isnanl(0);
41828   ;
41829   return 0;
41830 }
41831 _ACEOF
41832 if ac_fn_cxx_try_compile "$LINENO"; then :
41833   glibcxx_cv_func_isnanl_use=yes
41834 else
41835   glibcxx_cv_func_isnanl_use=no
41836 fi
41837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41838       ac_ext=c
41839 ac_cpp='$CPP $CPPFLAGS'
41840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41843
41844
41845 fi
41846
41847   fi
41848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41849 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41850
41851   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41852     for ac_func in isnanl
41853 do :
41854   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41855 if test "x$ac_cv_func_isnanl" = x""yes; then :
41856   cat >>confdefs.h <<_ACEOF
41857 #define HAVE_ISNANL 1
41858 _ACEOF
41859
41860 fi
41861 done
41862
41863   else
41864
41865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41866 $as_echo_n "checking for _isnanl declaration... " >&6; }
41867   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41868     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41869   $as_echo_n "(cached) " >&6
41870 else
41871
41872
41873       ac_ext=cpp
41874 ac_cpp='$CXXCPP $CPPFLAGS'
41875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41878
41879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41880 /* end confdefs.h.  */
41881 #include <math.h>
41882                       #ifdef HAVE_IEEEFP_H
41883                       #include <ieeefp.h>
41884                       #endif
41885
41886 int
41887 main ()
41888 {
41889  _isnanl(0);
41890   ;
41891   return 0;
41892 }
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895   glibcxx_cv_func__isnanl_use=yes
41896 else
41897   glibcxx_cv_func__isnanl_use=no
41898 fi
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900       ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41905
41906
41907 fi
41908
41909   fi
41910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41911 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41912
41913     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41914       for ac_func in _isnanl
41915 do :
41916   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41917 if test "x$ac_cv_func__isnanl" = x""yes; then :
41918   cat >>confdefs.h <<_ACEOF
41919 #define HAVE__ISNANL 1
41920 _ACEOF
41921
41922 fi
41923 done
41924
41925     fi
41926   fi
41927
41928
41929
41930
41931
41932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41933 $as_echo_n "checking for isinfl declaration... " >&6; }
41934   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41935     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41936   $as_echo_n "(cached) " >&6
41937 else
41938
41939
41940       ac_ext=cpp
41941 ac_cpp='$CXXCPP $CPPFLAGS'
41942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41945
41946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41947 /* end confdefs.h.  */
41948 #include <math.h>
41949                       #ifdef HAVE_IEEEFP_H
41950                       #include <ieeefp.h>
41951                       #endif
41952
41953 int
41954 main ()
41955 {
41956  isinfl(0);
41957   ;
41958   return 0;
41959 }
41960 _ACEOF
41961 if ac_fn_cxx_try_compile "$LINENO"; then :
41962   glibcxx_cv_func_isinfl_use=yes
41963 else
41964   glibcxx_cv_func_isinfl_use=no
41965 fi
41966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41967       ac_ext=c
41968 ac_cpp='$CPP $CPPFLAGS'
41969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41972
41973
41974 fi
41975
41976   fi
41977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41978 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41979
41980   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41981     for ac_func in isinfl
41982 do :
41983   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41984 if test "x$ac_cv_func_isinfl" = x""yes; then :
41985   cat >>confdefs.h <<_ACEOF
41986 #define HAVE_ISINFL 1
41987 _ACEOF
41988
41989 fi
41990 done
41991
41992   else
41993
41994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41995 $as_echo_n "checking for _isinfl declaration... " >&6; }
41996   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41997     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41998   $as_echo_n "(cached) " >&6
41999 else
42000
42001
42002       ac_ext=cpp
42003 ac_cpp='$CXXCPP $CPPFLAGS'
42004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42007
42008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42009 /* end confdefs.h.  */
42010 #include <math.h>
42011                       #ifdef HAVE_IEEEFP_H
42012                       #include <ieeefp.h>
42013                       #endif
42014
42015 int
42016 main ()
42017 {
42018  _isinfl(0);
42019   ;
42020   return 0;
42021 }
42022 _ACEOF
42023 if ac_fn_cxx_try_compile "$LINENO"; then :
42024   glibcxx_cv_func__isinfl_use=yes
42025 else
42026   glibcxx_cv_func__isinfl_use=no
42027 fi
42028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42029       ac_ext=c
42030 ac_cpp='$CPP $CPPFLAGS'
42031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42034
42035
42036 fi
42037
42038   fi
42039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42040 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42041
42042     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42043       for ac_func in _isinfl
42044 do :
42045   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42046 if test "x$ac_cv_func__isinfl" = x""yes; then :
42047   cat >>confdefs.h <<_ACEOF
42048 #define HAVE__ISINFL 1
42049 _ACEOF
42050
42051 fi
42052 done
42053
42054     fi
42055   fi
42056
42057
42058
42059
42060
42061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42062 $as_echo_n "checking for atan2l declaration... " >&6; }
42063   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42064     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42065   $as_echo_n "(cached) " >&6
42066 else
42067
42068
42069       ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074
42075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h.  */
42077 #include <math.h>
42078 int
42079 main ()
42080 {
42081  atan2l(0, 0);
42082   ;
42083   return 0;
42084 }
42085 _ACEOF
42086 if ac_fn_cxx_try_compile "$LINENO"; then :
42087   glibcxx_cv_func_atan2l_use=yes
42088 else
42089   glibcxx_cv_func_atan2l_use=no
42090 fi
42091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42092       ac_ext=c
42093 ac_cpp='$CPP $CPPFLAGS'
42094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42097
42098
42099 fi
42100
42101   fi
42102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42103 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42104
42105   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42106     for ac_func in atan2l
42107 do :
42108   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42109 if test "x$ac_cv_func_atan2l" = x""yes; then :
42110   cat >>confdefs.h <<_ACEOF
42111 #define HAVE_ATAN2L 1
42112 _ACEOF
42113
42114 fi
42115 done
42116
42117   else
42118
42119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42120 $as_echo_n "checking for _atan2l declaration... " >&6; }
42121   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42122     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42123   $as_echo_n "(cached) " >&6
42124 else
42125
42126
42127       ac_ext=cpp
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42132
42133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42134 /* end confdefs.h.  */
42135 #include <math.h>
42136 int
42137 main ()
42138 {
42139  _atan2l(0, 0);
42140   ;
42141   return 0;
42142 }
42143 _ACEOF
42144 if ac_fn_cxx_try_compile "$LINENO"; then :
42145   glibcxx_cv_func__atan2l_use=yes
42146 else
42147   glibcxx_cv_func__atan2l_use=no
42148 fi
42149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150       ac_ext=c
42151 ac_cpp='$CPP $CPPFLAGS'
42152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42155
42156
42157 fi
42158
42159   fi
42160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42161 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42162
42163     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42164       for ac_func in _atan2l
42165 do :
42166   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42167 if test "x$ac_cv_func__atan2l" = x""yes; then :
42168   cat >>confdefs.h <<_ACEOF
42169 #define HAVE__ATAN2L 1
42170 _ACEOF
42171
42172 fi
42173 done
42174
42175     fi
42176   fi
42177
42178
42179
42180
42181
42182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42183 $as_echo_n "checking for expl declaration... " >&6; }
42184   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42185     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42186   $as_echo_n "(cached) " >&6
42187 else
42188
42189
42190       ac_ext=cpp
42191 ac_cpp='$CXXCPP $CPPFLAGS'
42192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42195
42196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42197 /* end confdefs.h.  */
42198 #include <math.h>
42199                       #ifdef HAVE_IEEEFP_H
42200                       #include <ieeefp.h>
42201                       #endif
42202
42203 int
42204 main ()
42205 {
42206  expl(0);
42207   ;
42208   return 0;
42209 }
42210 _ACEOF
42211 if ac_fn_cxx_try_compile "$LINENO"; then :
42212   glibcxx_cv_func_expl_use=yes
42213 else
42214   glibcxx_cv_func_expl_use=no
42215 fi
42216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42217       ac_ext=c
42218 ac_cpp='$CPP $CPPFLAGS'
42219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42222
42223
42224 fi
42225
42226   fi
42227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42228 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42229
42230   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42231     for ac_func in expl
42232 do :
42233   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42234 if test "x$ac_cv_func_expl" = x""yes; then :
42235   cat >>confdefs.h <<_ACEOF
42236 #define HAVE_EXPL 1
42237 _ACEOF
42238
42239 fi
42240 done
42241
42242   else
42243
42244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42245 $as_echo_n "checking for _expl declaration... " >&6; }
42246   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42247     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42248   $as_echo_n "(cached) " >&6
42249 else
42250
42251
42252       ac_ext=cpp
42253 ac_cpp='$CXXCPP $CPPFLAGS'
42254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42257
42258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42259 /* end confdefs.h.  */
42260 #include <math.h>
42261                       #ifdef HAVE_IEEEFP_H
42262                       #include <ieeefp.h>
42263                       #endif
42264
42265 int
42266 main ()
42267 {
42268  _expl(0);
42269   ;
42270   return 0;
42271 }
42272 _ACEOF
42273 if ac_fn_cxx_try_compile "$LINENO"; then :
42274   glibcxx_cv_func__expl_use=yes
42275 else
42276   glibcxx_cv_func__expl_use=no
42277 fi
42278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42279       ac_ext=c
42280 ac_cpp='$CPP $CPPFLAGS'
42281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42284
42285
42286 fi
42287
42288   fi
42289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42290 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42291
42292     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42293       for ac_func in _expl
42294 do :
42295   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42296 if test "x$ac_cv_func__expl" = x""yes; then :
42297   cat >>confdefs.h <<_ACEOF
42298 #define HAVE__EXPL 1
42299 _ACEOF
42300
42301 fi
42302 done
42303
42304     fi
42305   fi
42306
42307
42308
42309
42310
42311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42312 $as_echo_n "checking for fabsl declaration... " >&6; }
42313   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42314     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42315   $as_echo_n "(cached) " >&6
42316 else
42317
42318
42319       ac_ext=cpp
42320 ac_cpp='$CXXCPP $CPPFLAGS'
42321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42324
42325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42326 /* end confdefs.h.  */
42327 #include <math.h>
42328                       #ifdef HAVE_IEEEFP_H
42329                       #include <ieeefp.h>
42330                       #endif
42331
42332 int
42333 main ()
42334 {
42335  fabsl(0);
42336   ;
42337   return 0;
42338 }
42339 _ACEOF
42340 if ac_fn_cxx_try_compile "$LINENO"; then :
42341   glibcxx_cv_func_fabsl_use=yes
42342 else
42343   glibcxx_cv_func_fabsl_use=no
42344 fi
42345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42346       ac_ext=c
42347 ac_cpp='$CPP $CPPFLAGS'
42348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42351
42352
42353 fi
42354
42355   fi
42356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42357 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42358
42359   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42360     for ac_func in fabsl
42361 do :
42362   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42363 if test "x$ac_cv_func_fabsl" = x""yes; then :
42364   cat >>confdefs.h <<_ACEOF
42365 #define HAVE_FABSL 1
42366 _ACEOF
42367
42368 fi
42369 done
42370
42371   else
42372
42373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42374 $as_echo_n "checking for _fabsl declaration... " >&6; }
42375   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42376     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42377   $as_echo_n "(cached) " >&6
42378 else
42379
42380
42381       ac_ext=cpp
42382 ac_cpp='$CXXCPP $CPPFLAGS'
42383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42386
42387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42388 /* end confdefs.h.  */
42389 #include <math.h>
42390                       #ifdef HAVE_IEEEFP_H
42391                       #include <ieeefp.h>
42392                       #endif
42393
42394 int
42395 main ()
42396 {
42397  _fabsl(0);
42398   ;
42399   return 0;
42400 }
42401 _ACEOF
42402 if ac_fn_cxx_try_compile "$LINENO"; then :
42403   glibcxx_cv_func__fabsl_use=yes
42404 else
42405   glibcxx_cv_func__fabsl_use=no
42406 fi
42407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42408       ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42413
42414
42415 fi
42416
42417   fi
42418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42419 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42420
42421     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42422       for ac_func in _fabsl
42423 do :
42424   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42425 if test "x$ac_cv_func__fabsl" = x""yes; then :
42426   cat >>confdefs.h <<_ACEOF
42427 #define HAVE__FABSL 1
42428 _ACEOF
42429
42430 fi
42431 done
42432
42433     fi
42434   fi
42435
42436
42437
42438
42439
42440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42441 $as_echo_n "checking for fmodl declaration... " >&6; }
42442   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42443     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42444   $as_echo_n "(cached) " >&6
42445 else
42446
42447
42448       ac_ext=cpp
42449 ac_cpp='$CXXCPP $CPPFLAGS'
42450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42453
42454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42455 /* end confdefs.h.  */
42456 #include <math.h>
42457 int
42458 main ()
42459 {
42460  fmodl(0, 0);
42461   ;
42462   return 0;
42463 }
42464 _ACEOF
42465 if ac_fn_cxx_try_compile "$LINENO"; then :
42466   glibcxx_cv_func_fmodl_use=yes
42467 else
42468   glibcxx_cv_func_fmodl_use=no
42469 fi
42470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42471       ac_ext=c
42472 ac_cpp='$CPP $CPPFLAGS'
42473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42476
42477
42478 fi
42479
42480   fi
42481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42482 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42483
42484   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42485     for ac_func in fmodl
42486 do :
42487   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42488 if test "x$ac_cv_func_fmodl" = x""yes; then :
42489   cat >>confdefs.h <<_ACEOF
42490 #define HAVE_FMODL 1
42491 _ACEOF
42492
42493 fi
42494 done
42495
42496   else
42497
42498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42499 $as_echo_n "checking for _fmodl declaration... " >&6; }
42500   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42501     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42502   $as_echo_n "(cached) " >&6
42503 else
42504
42505
42506       ac_ext=cpp
42507 ac_cpp='$CXXCPP $CPPFLAGS'
42508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42511
42512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42513 /* end confdefs.h.  */
42514 #include <math.h>
42515 int
42516 main ()
42517 {
42518  _fmodl(0, 0);
42519   ;
42520   return 0;
42521 }
42522 _ACEOF
42523 if ac_fn_cxx_try_compile "$LINENO"; then :
42524   glibcxx_cv_func__fmodl_use=yes
42525 else
42526   glibcxx_cv_func__fmodl_use=no
42527 fi
42528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42529       ac_ext=c
42530 ac_cpp='$CPP $CPPFLAGS'
42531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42534
42535
42536 fi
42537
42538   fi
42539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42540 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42541
42542     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42543       for ac_func in _fmodl
42544 do :
42545   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42546 if test "x$ac_cv_func__fmodl" = x""yes; then :
42547   cat >>confdefs.h <<_ACEOF
42548 #define HAVE__FMODL 1
42549 _ACEOF
42550
42551 fi
42552 done
42553
42554     fi
42555   fi
42556
42557
42558
42559
42560
42561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42562 $as_echo_n "checking for frexpl declaration... " >&6; }
42563   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42564     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42565   $as_echo_n "(cached) " >&6
42566 else
42567
42568
42569       ac_ext=cpp
42570 ac_cpp='$CXXCPP $CPPFLAGS'
42571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42574
42575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42576 /* end confdefs.h.  */
42577 #include <math.h>
42578 int
42579 main ()
42580 {
42581  frexpl(0, 0);
42582   ;
42583   return 0;
42584 }
42585 _ACEOF
42586 if ac_fn_cxx_try_compile "$LINENO"; then :
42587   glibcxx_cv_func_frexpl_use=yes
42588 else
42589   glibcxx_cv_func_frexpl_use=no
42590 fi
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592       ac_ext=c
42593 ac_cpp='$CPP $CPPFLAGS'
42594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42597
42598
42599 fi
42600
42601   fi
42602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42603 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42604
42605   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42606     for ac_func in frexpl
42607 do :
42608   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42609 if test "x$ac_cv_func_frexpl" = x""yes; then :
42610   cat >>confdefs.h <<_ACEOF
42611 #define HAVE_FREXPL 1
42612 _ACEOF
42613
42614 fi
42615 done
42616
42617   else
42618
42619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42620 $as_echo_n "checking for _frexpl declaration... " >&6; }
42621   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42622     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42623   $as_echo_n "(cached) " >&6
42624 else
42625
42626
42627       ac_ext=cpp
42628 ac_cpp='$CXXCPP $CPPFLAGS'
42629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42632
42633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42634 /* end confdefs.h.  */
42635 #include <math.h>
42636 int
42637 main ()
42638 {
42639  _frexpl(0, 0);
42640   ;
42641   return 0;
42642 }
42643 _ACEOF
42644 if ac_fn_cxx_try_compile "$LINENO"; then :
42645   glibcxx_cv_func__frexpl_use=yes
42646 else
42647   glibcxx_cv_func__frexpl_use=no
42648 fi
42649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42650       ac_ext=c
42651 ac_cpp='$CPP $CPPFLAGS'
42652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42655
42656
42657 fi
42658
42659   fi
42660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42661 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42662
42663     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42664       for ac_func in _frexpl
42665 do :
42666   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42667 if test "x$ac_cv_func__frexpl" = x""yes; then :
42668   cat >>confdefs.h <<_ACEOF
42669 #define HAVE__FREXPL 1
42670 _ACEOF
42671
42672 fi
42673 done
42674
42675     fi
42676   fi
42677
42678
42679
42680
42681
42682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42683 $as_echo_n "checking for hypotl declaration... " >&6; }
42684   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42685     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42686   $as_echo_n "(cached) " >&6
42687 else
42688
42689
42690       ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695
42696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h.  */
42698 #include <math.h>
42699 int
42700 main ()
42701 {
42702  hypotl(0, 0);
42703   ;
42704   return 0;
42705 }
42706 _ACEOF
42707 if ac_fn_cxx_try_compile "$LINENO"; then :
42708   glibcxx_cv_func_hypotl_use=yes
42709 else
42710   glibcxx_cv_func_hypotl_use=no
42711 fi
42712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42713       ac_ext=c
42714 ac_cpp='$CPP $CPPFLAGS'
42715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42718
42719
42720 fi
42721
42722   fi
42723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42724 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42725
42726   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42727     for ac_func in hypotl
42728 do :
42729   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42730 if test "x$ac_cv_func_hypotl" = x""yes; then :
42731   cat >>confdefs.h <<_ACEOF
42732 #define HAVE_HYPOTL 1
42733 _ACEOF
42734
42735 fi
42736 done
42737
42738   else
42739
42740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42741 $as_echo_n "checking for _hypotl declaration... " >&6; }
42742   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42743     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42744   $as_echo_n "(cached) " >&6
42745 else
42746
42747
42748       ac_ext=cpp
42749 ac_cpp='$CXXCPP $CPPFLAGS'
42750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42753
42754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42755 /* end confdefs.h.  */
42756 #include <math.h>
42757 int
42758 main ()
42759 {
42760  _hypotl(0, 0);
42761   ;
42762   return 0;
42763 }
42764 _ACEOF
42765 if ac_fn_cxx_try_compile "$LINENO"; then :
42766   glibcxx_cv_func__hypotl_use=yes
42767 else
42768   glibcxx_cv_func__hypotl_use=no
42769 fi
42770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42771       ac_ext=c
42772 ac_cpp='$CPP $CPPFLAGS'
42773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42776
42777
42778 fi
42779
42780   fi
42781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42782 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42783
42784     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42785       for ac_func in _hypotl
42786 do :
42787   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42788 if test "x$ac_cv_func__hypotl" = x""yes; then :
42789   cat >>confdefs.h <<_ACEOF
42790 #define HAVE__HYPOTL 1
42791 _ACEOF
42792
42793 fi
42794 done
42795
42796     fi
42797   fi
42798
42799
42800
42801
42802
42803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42804 $as_echo_n "checking for ldexpl declaration... " >&6; }
42805   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42806     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42807   $as_echo_n "(cached) " >&6
42808 else
42809
42810
42811       ac_ext=cpp
42812 ac_cpp='$CXXCPP $CPPFLAGS'
42813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42816
42817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42818 /* end confdefs.h.  */
42819 #include <math.h>
42820 int
42821 main ()
42822 {
42823  ldexpl(0, 0);
42824   ;
42825   return 0;
42826 }
42827 _ACEOF
42828 if ac_fn_cxx_try_compile "$LINENO"; then :
42829   glibcxx_cv_func_ldexpl_use=yes
42830 else
42831   glibcxx_cv_func_ldexpl_use=no
42832 fi
42833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42834       ac_ext=c
42835 ac_cpp='$CPP $CPPFLAGS'
42836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42839
42840
42841 fi
42842
42843   fi
42844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42845 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42846
42847   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42848     for ac_func in ldexpl
42849 do :
42850   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42851 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42852   cat >>confdefs.h <<_ACEOF
42853 #define HAVE_LDEXPL 1
42854 _ACEOF
42855
42856 fi
42857 done
42858
42859   else
42860
42861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42862 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42863   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42864     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42865   $as_echo_n "(cached) " >&6
42866 else
42867
42868
42869       ac_ext=cpp
42870 ac_cpp='$CXXCPP $CPPFLAGS'
42871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42874
42875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42876 /* end confdefs.h.  */
42877 #include <math.h>
42878 int
42879 main ()
42880 {
42881  _ldexpl(0, 0);
42882   ;
42883   return 0;
42884 }
42885 _ACEOF
42886 if ac_fn_cxx_try_compile "$LINENO"; then :
42887   glibcxx_cv_func__ldexpl_use=yes
42888 else
42889   glibcxx_cv_func__ldexpl_use=no
42890 fi
42891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42892       ac_ext=c
42893 ac_cpp='$CPP $CPPFLAGS'
42894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42897
42898
42899 fi
42900
42901   fi
42902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42903 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42904
42905     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42906       for ac_func in _ldexpl
42907 do :
42908   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42909 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42910   cat >>confdefs.h <<_ACEOF
42911 #define HAVE__LDEXPL 1
42912 _ACEOF
42913
42914 fi
42915 done
42916
42917     fi
42918   fi
42919
42920
42921
42922
42923
42924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42925 $as_echo_n "checking for logl declaration... " >&6; }
42926   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42927     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42928   $as_echo_n "(cached) " >&6
42929 else
42930
42931
42932       ac_ext=cpp
42933 ac_cpp='$CXXCPP $CPPFLAGS'
42934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42937
42938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42939 /* end confdefs.h.  */
42940 #include <math.h>
42941                       #ifdef HAVE_IEEEFP_H
42942                       #include <ieeefp.h>
42943                       #endif
42944
42945 int
42946 main ()
42947 {
42948  logl(0);
42949   ;
42950   return 0;
42951 }
42952 _ACEOF
42953 if ac_fn_cxx_try_compile "$LINENO"; then :
42954   glibcxx_cv_func_logl_use=yes
42955 else
42956   glibcxx_cv_func_logl_use=no
42957 fi
42958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42959       ac_ext=c
42960 ac_cpp='$CPP $CPPFLAGS'
42961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964
42965
42966 fi
42967
42968   fi
42969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42970 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42971
42972   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42973     for ac_func in logl
42974 do :
42975   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42976 if test "x$ac_cv_func_logl" = x""yes; then :
42977   cat >>confdefs.h <<_ACEOF
42978 #define HAVE_LOGL 1
42979 _ACEOF
42980
42981 fi
42982 done
42983
42984   else
42985
42986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42987 $as_echo_n "checking for _logl declaration... " >&6; }
42988   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42989     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42990   $as_echo_n "(cached) " >&6
42991 else
42992
42993
42994       ac_ext=cpp
42995 ac_cpp='$CXXCPP $CPPFLAGS'
42996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999
43000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43001 /* end confdefs.h.  */
43002 #include <math.h>
43003                       #ifdef HAVE_IEEEFP_H
43004                       #include <ieeefp.h>
43005                       #endif
43006
43007 int
43008 main ()
43009 {
43010  _logl(0);
43011   ;
43012   return 0;
43013 }
43014 _ACEOF
43015 if ac_fn_cxx_try_compile "$LINENO"; then :
43016   glibcxx_cv_func__logl_use=yes
43017 else
43018   glibcxx_cv_func__logl_use=no
43019 fi
43020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43021       ac_ext=c
43022 ac_cpp='$CPP $CPPFLAGS'
43023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43026
43027
43028 fi
43029
43030   fi
43031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43032 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43033
43034     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43035       for ac_func in _logl
43036 do :
43037   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43038 if test "x$ac_cv_func__logl" = x""yes; then :
43039   cat >>confdefs.h <<_ACEOF
43040 #define HAVE__LOGL 1
43041 _ACEOF
43042
43043 fi
43044 done
43045
43046     fi
43047   fi
43048
43049
43050
43051
43052
43053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43054 $as_echo_n "checking for log10l declaration... " >&6; }
43055   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43056     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43057   $as_echo_n "(cached) " >&6
43058 else
43059
43060
43061       ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43066
43067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h.  */
43069 #include <math.h>
43070                       #ifdef HAVE_IEEEFP_H
43071                       #include <ieeefp.h>
43072                       #endif
43073
43074 int
43075 main ()
43076 {
43077  log10l(0);
43078   ;
43079   return 0;
43080 }
43081 _ACEOF
43082 if ac_fn_cxx_try_compile "$LINENO"; then :
43083   glibcxx_cv_func_log10l_use=yes
43084 else
43085   glibcxx_cv_func_log10l_use=no
43086 fi
43087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43088       ac_ext=c
43089 ac_cpp='$CPP $CPPFLAGS'
43090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43093
43094
43095 fi
43096
43097   fi
43098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43099 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43100
43101   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43102     for ac_func in log10l
43103 do :
43104   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43105 if test "x$ac_cv_func_log10l" = x""yes; then :
43106   cat >>confdefs.h <<_ACEOF
43107 #define HAVE_LOG10L 1
43108 _ACEOF
43109
43110 fi
43111 done
43112
43113   else
43114
43115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43116 $as_echo_n "checking for _log10l declaration... " >&6; }
43117   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43118     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43119   $as_echo_n "(cached) " >&6
43120 else
43121
43122
43123       ac_ext=cpp
43124 ac_cpp='$CXXCPP $CPPFLAGS'
43125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128
43129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43130 /* end confdefs.h.  */
43131 #include <math.h>
43132                       #ifdef HAVE_IEEEFP_H
43133                       #include <ieeefp.h>
43134                       #endif
43135
43136 int
43137 main ()
43138 {
43139  _log10l(0);
43140   ;
43141   return 0;
43142 }
43143 _ACEOF
43144 if ac_fn_cxx_try_compile "$LINENO"; then :
43145   glibcxx_cv_func__log10l_use=yes
43146 else
43147   glibcxx_cv_func__log10l_use=no
43148 fi
43149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43150       ac_ext=c
43151 ac_cpp='$CPP $CPPFLAGS'
43152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43155
43156
43157 fi
43158
43159   fi
43160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43161 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43162
43163     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43164       for ac_func in _log10l
43165 do :
43166   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43167 if test "x$ac_cv_func__log10l" = x""yes; then :
43168   cat >>confdefs.h <<_ACEOF
43169 #define HAVE__LOG10L 1
43170 _ACEOF
43171
43172 fi
43173 done
43174
43175     fi
43176   fi
43177
43178
43179
43180
43181
43182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43183 $as_echo_n "checking for modfl declaration... " >&6; }
43184   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43185     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43186   $as_echo_n "(cached) " >&6
43187 else
43188
43189
43190       ac_ext=cpp
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43195
43196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h.  */
43198 #include <math.h>
43199 int
43200 main ()
43201 {
43202  modfl(0, 0);
43203   ;
43204   return 0;
43205 }
43206 _ACEOF
43207 if ac_fn_cxx_try_compile "$LINENO"; then :
43208   glibcxx_cv_func_modfl_use=yes
43209 else
43210   glibcxx_cv_func_modfl_use=no
43211 fi
43212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43213       ac_ext=c
43214 ac_cpp='$CPP $CPPFLAGS'
43215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43218
43219
43220 fi
43221
43222   fi
43223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43224 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43225
43226   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43227     for ac_func in modfl
43228 do :
43229   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43230 if test "x$ac_cv_func_modfl" = x""yes; then :
43231   cat >>confdefs.h <<_ACEOF
43232 #define HAVE_MODFL 1
43233 _ACEOF
43234
43235 fi
43236 done
43237
43238   else
43239
43240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43241 $as_echo_n "checking for _modfl declaration... " >&6; }
43242   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43243     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43244   $as_echo_n "(cached) " >&6
43245 else
43246
43247
43248       ac_ext=cpp
43249 ac_cpp='$CXXCPP $CPPFLAGS'
43250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43253
43254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43255 /* end confdefs.h.  */
43256 #include <math.h>
43257 int
43258 main ()
43259 {
43260  _modfl(0, 0);
43261   ;
43262   return 0;
43263 }
43264 _ACEOF
43265 if ac_fn_cxx_try_compile "$LINENO"; then :
43266   glibcxx_cv_func__modfl_use=yes
43267 else
43268   glibcxx_cv_func__modfl_use=no
43269 fi
43270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43271       ac_ext=c
43272 ac_cpp='$CPP $CPPFLAGS'
43273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43276
43277
43278 fi
43279
43280   fi
43281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43282 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43283
43284     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43285       for ac_func in _modfl
43286 do :
43287   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43288 if test "x$ac_cv_func__modfl" = x""yes; then :
43289   cat >>confdefs.h <<_ACEOF
43290 #define HAVE__MODFL 1
43291 _ACEOF
43292
43293 fi
43294 done
43295
43296     fi
43297   fi
43298
43299
43300
43301
43302
43303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43304 $as_echo_n "checking for powl declaration... " >&6; }
43305   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43306     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43307   $as_echo_n "(cached) " >&6
43308 else
43309
43310
43311       ac_ext=cpp
43312 ac_cpp='$CXXCPP $CPPFLAGS'
43313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43316
43317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43318 /* end confdefs.h.  */
43319 #include <math.h>
43320 int
43321 main ()
43322 {
43323  powl(0, 0);
43324   ;
43325   return 0;
43326 }
43327 _ACEOF
43328 if ac_fn_cxx_try_compile "$LINENO"; then :
43329   glibcxx_cv_func_powl_use=yes
43330 else
43331   glibcxx_cv_func_powl_use=no
43332 fi
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334       ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339
43340
43341 fi
43342
43343   fi
43344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43345 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43346
43347   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43348     for ac_func in powl
43349 do :
43350   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43351 if test "x$ac_cv_func_powl" = x""yes; then :
43352   cat >>confdefs.h <<_ACEOF
43353 #define HAVE_POWL 1
43354 _ACEOF
43355
43356 fi
43357 done
43358
43359   else
43360
43361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43362 $as_echo_n "checking for _powl declaration... " >&6; }
43363   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43364     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43365   $as_echo_n "(cached) " >&6
43366 else
43367
43368
43369       ac_ext=cpp
43370 ac_cpp='$CXXCPP $CPPFLAGS'
43371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43374
43375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43376 /* end confdefs.h.  */
43377 #include <math.h>
43378 int
43379 main ()
43380 {
43381  _powl(0, 0);
43382   ;
43383   return 0;
43384 }
43385 _ACEOF
43386 if ac_fn_cxx_try_compile "$LINENO"; then :
43387   glibcxx_cv_func__powl_use=yes
43388 else
43389   glibcxx_cv_func__powl_use=no
43390 fi
43391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43392       ac_ext=c
43393 ac_cpp='$CPP $CPPFLAGS'
43394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397
43398
43399 fi
43400
43401   fi
43402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43403 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43404
43405     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43406       for ac_func in _powl
43407 do :
43408   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43409 if test "x$ac_cv_func__powl" = x""yes; then :
43410   cat >>confdefs.h <<_ACEOF
43411 #define HAVE__POWL 1
43412 _ACEOF
43413
43414 fi
43415 done
43416
43417     fi
43418   fi
43419
43420
43421
43422
43423
43424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43425 $as_echo_n "checking for sqrtl declaration... " >&6; }
43426   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43427     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43428   $as_echo_n "(cached) " >&6
43429 else
43430
43431
43432       ac_ext=cpp
43433 ac_cpp='$CXXCPP $CPPFLAGS'
43434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437
43438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43439 /* end confdefs.h.  */
43440 #include <math.h>
43441                       #ifdef HAVE_IEEEFP_H
43442                       #include <ieeefp.h>
43443                       #endif
43444
43445 int
43446 main ()
43447 {
43448  sqrtl(0);
43449   ;
43450   return 0;
43451 }
43452 _ACEOF
43453 if ac_fn_cxx_try_compile "$LINENO"; then :
43454   glibcxx_cv_func_sqrtl_use=yes
43455 else
43456   glibcxx_cv_func_sqrtl_use=no
43457 fi
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459       ac_ext=c
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464
43465
43466 fi
43467
43468   fi
43469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43470 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43471
43472   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43473     for ac_func in sqrtl
43474 do :
43475   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43476 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43477   cat >>confdefs.h <<_ACEOF
43478 #define HAVE_SQRTL 1
43479 _ACEOF
43480
43481 fi
43482 done
43483
43484   else
43485
43486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43487 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43488   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43489     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43490   $as_echo_n "(cached) " >&6
43491 else
43492
43493
43494       ac_ext=cpp
43495 ac_cpp='$CXXCPP $CPPFLAGS'
43496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43499
43500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43501 /* end confdefs.h.  */
43502 #include <math.h>
43503                       #ifdef HAVE_IEEEFP_H
43504                       #include <ieeefp.h>
43505                       #endif
43506
43507 int
43508 main ()
43509 {
43510  _sqrtl(0);
43511   ;
43512   return 0;
43513 }
43514 _ACEOF
43515 if ac_fn_cxx_try_compile "$LINENO"; then :
43516   glibcxx_cv_func__sqrtl_use=yes
43517 else
43518   glibcxx_cv_func__sqrtl_use=no
43519 fi
43520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43521       ac_ext=c
43522 ac_cpp='$CPP $CPPFLAGS'
43523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43526
43527
43528 fi
43529
43530   fi
43531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43532 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43533
43534     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43535       for ac_func in _sqrtl
43536 do :
43537   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43538 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43539   cat >>confdefs.h <<_ACEOF
43540 #define HAVE__SQRTL 1
43541 _ACEOF
43542
43543 fi
43544 done
43545
43546     fi
43547   fi
43548
43549
43550
43551
43552
43553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43554 $as_echo_n "checking for sincosl declaration... " >&6; }
43555   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43556     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43557   $as_echo_n "(cached) " >&6
43558 else
43559
43560
43561       ac_ext=cpp
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43566
43567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43568 /* end confdefs.h.  */
43569 #include <math.h>
43570 int
43571 main ()
43572 {
43573  sincosl(0, 0, 0);
43574   ;
43575   return 0;
43576 }
43577 _ACEOF
43578 if ac_fn_cxx_try_compile "$LINENO"; then :
43579   glibcxx_cv_func_sincosl_use=yes
43580 else
43581   glibcxx_cv_func_sincosl_use=no
43582 fi
43583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43584       ac_ext=c
43585 ac_cpp='$CPP $CPPFLAGS'
43586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43589
43590
43591 fi
43592
43593   fi
43594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43595 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43596
43597   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43598     for ac_func in sincosl
43599 do :
43600   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43601 if test "x$ac_cv_func_sincosl" = x""yes; then :
43602   cat >>confdefs.h <<_ACEOF
43603 #define HAVE_SINCOSL 1
43604 _ACEOF
43605
43606 fi
43607 done
43608
43609   else
43610
43611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43612 $as_echo_n "checking for _sincosl declaration... " >&6; }
43613   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43614     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43615   $as_echo_n "(cached) " >&6
43616 else
43617
43618
43619       ac_ext=cpp
43620 ac_cpp='$CXXCPP $CPPFLAGS'
43621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43624
43625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43626 /* end confdefs.h.  */
43627 #include <math.h>
43628 int
43629 main ()
43630 {
43631  _sincosl(0, 0, 0);
43632   ;
43633   return 0;
43634 }
43635 _ACEOF
43636 if ac_fn_cxx_try_compile "$LINENO"; then :
43637   glibcxx_cv_func__sincosl_use=yes
43638 else
43639   glibcxx_cv_func__sincosl_use=no
43640 fi
43641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43642       ac_ext=c
43643 ac_cpp='$CPP $CPPFLAGS'
43644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43647
43648
43649 fi
43650
43651   fi
43652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43653 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43654
43655     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43656       for ac_func in _sincosl
43657 do :
43658   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43659 if test "x$ac_cv_func__sincosl" = x""yes; then :
43660   cat >>confdefs.h <<_ACEOF
43661 #define HAVE__SINCOSL 1
43662 _ACEOF
43663
43664 fi
43665 done
43666
43667     fi
43668   fi
43669
43670
43671
43672
43673
43674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43675 $as_echo_n "checking for finitel declaration... " >&6; }
43676   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43677     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43678   $as_echo_n "(cached) " >&6
43679 else
43680
43681
43682       ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687
43688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h.  */
43690 #include <math.h>
43691                       #ifdef HAVE_IEEEFP_H
43692                       #include <ieeefp.h>
43693                       #endif
43694
43695 int
43696 main ()
43697 {
43698  finitel(0);
43699   ;
43700   return 0;
43701 }
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704   glibcxx_cv_func_finitel_use=yes
43705 else
43706   glibcxx_cv_func_finitel_use=no
43707 fi
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709       ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715
43716 fi
43717
43718   fi
43719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43720 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43721
43722   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43723     for ac_func in finitel
43724 do :
43725   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43726 if test "x$ac_cv_func_finitel" = x""yes; then :
43727   cat >>confdefs.h <<_ACEOF
43728 #define HAVE_FINITEL 1
43729 _ACEOF
43730
43731 fi
43732 done
43733
43734   else
43735
43736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43737 $as_echo_n "checking for _finitel declaration... " >&6; }
43738   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43739     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43740   $as_echo_n "(cached) " >&6
43741 else
43742
43743
43744       ac_ext=cpp
43745 ac_cpp='$CXXCPP $CPPFLAGS'
43746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43749
43750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751 /* end confdefs.h.  */
43752 #include <math.h>
43753                       #ifdef HAVE_IEEEFP_H
43754                       #include <ieeefp.h>
43755                       #endif
43756
43757 int
43758 main ()
43759 {
43760  _finitel(0);
43761   ;
43762   return 0;
43763 }
43764 _ACEOF
43765 if ac_fn_cxx_try_compile "$LINENO"; then :
43766   glibcxx_cv_func__finitel_use=yes
43767 else
43768   glibcxx_cv_func__finitel_use=no
43769 fi
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771       ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43776
43777
43778 fi
43779
43780   fi
43781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43782 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43783
43784     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43785       for ac_func in _finitel
43786 do :
43787   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43788 if test "x$ac_cv_func__finitel" = x""yes; then :
43789   cat >>confdefs.h <<_ACEOF
43790 #define HAVE__FINITEL 1
43791 _ACEOF
43792
43793 fi
43794 done
43795
43796     fi
43797   fi
43798
43799
43800
43801
43802   LIBS="$ac_save_LIBS"
43803   CXXFLAGS="$ac_save_CXXFLAGS"
43804
43805
43806   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43807   ac_save_CXXFLAGS="$CXXFLAGS"
43808   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43809
43810
43811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43812 $as_echo_n "checking for strtold declaration... " >&6; }
43813   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43814     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43815   $as_echo_n "(cached) " >&6
43816 else
43817
43818
43819       ac_ext=cpp
43820 ac_cpp='$CXXCPP $CPPFLAGS'
43821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43824
43825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43826 /* end confdefs.h.  */
43827 #include <stdlib.h>
43828 int
43829 main ()
43830 {
43831  strtold(0, 0);
43832   ;
43833   return 0;
43834 }
43835 _ACEOF
43836 if ac_fn_cxx_try_compile "$LINENO"; then :
43837   glibcxx_cv_func_strtold_use=yes
43838 else
43839   glibcxx_cv_func_strtold_use=no
43840 fi
43841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43842       ac_ext=c
43843 ac_cpp='$CPP $CPPFLAGS'
43844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43847
43848
43849 fi
43850
43851   fi
43852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43853 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43854   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43855     for ac_func in strtold
43856 do :
43857   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43858 if test "x$ac_cv_func_strtold" = x""yes; then :
43859   cat >>confdefs.h <<_ACEOF
43860 #define HAVE_STRTOLD 1
43861 _ACEOF
43862
43863 fi
43864 done
43865
43866   fi
43867
43868
43869
43870
43871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43872 $as_echo_n "checking for strtof declaration... " >&6; }
43873   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43874     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43875   $as_echo_n "(cached) " >&6
43876 else
43877
43878
43879       ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884
43885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h.  */
43887 #include <stdlib.h>
43888 int
43889 main ()
43890 {
43891  strtof(0, 0);
43892   ;
43893   return 0;
43894 }
43895 _ACEOF
43896 if ac_fn_cxx_try_compile "$LINENO"; then :
43897   glibcxx_cv_func_strtof_use=yes
43898 else
43899   glibcxx_cv_func_strtof_use=no
43900 fi
43901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902       ac_ext=c
43903 ac_cpp='$CPP $CPPFLAGS'
43904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907
43908
43909 fi
43910
43911   fi
43912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43913 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43914   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43915     for ac_func in strtof
43916 do :
43917   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43918 if test "x$ac_cv_func_strtof" = x""yes; then :
43919   cat >>confdefs.h <<_ACEOF
43920 #define HAVE_STRTOF 1
43921 _ACEOF
43922
43923 fi
43924 done
43925
43926   fi
43927
43928
43929
43930
43931   CXXFLAGS="$ac_save_CXXFLAGS"
43932
43933     ;;
43934
43935   *djgpp)
43936     # GLIBCXX_CHECK_MATH_SUPPORT
43937     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43938
43939     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43940
43941     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43942
43943     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43944
43945     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43946
43947     ;;
43948
43949   *-freebsd*)
43950     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43951
43952
43953   # If we're not using GNU ld, then there's no point in even trying these
43954   # tests.  Check for that first.  We should have already tested for gld
43955   # by now (in libtool), but require it now just to be safe...
43956   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43957   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43958
43959
43960
43961   # The name set by libtool depends on the version of libtool.  Shame on us
43962   # for depending on an impl detail, but c'est la vie.  Older versions used
43963   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43964   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43965   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43966   # set (hence we're using an older libtool), then set it.
43967   if test x${with_gnu_ld+set} != xset; then
43968     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43969       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43970       with_gnu_ld=no
43971     else
43972       with_gnu_ld=$ac_cv_prog_gnu_ld
43973     fi
43974   fi
43975
43976   # Start by getting the version number.  I think the libtool test already
43977   # does some of this, but throws away the result.
43978   glibcxx_ld_is_gold=no
43979   if test x"$with_gnu_ld" = x"yes"; then
43980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43981 $as_echo_n "checking for ld version... " >&6; }
43982
43983     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43984       glibcxx_ld_is_gold=yes
43985     fi
43986     ldver=`$LD --version 2>/dev/null |
43987            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'`
43988
43989     glibcxx_gnu_ld_version=`echo $ldver | \
43990            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43993   fi
43994
43995   # Set --gc-sections.
43996   glibcxx_have_gc_sections=no
43997   if test "$glibcxx_ld_is_gold" = "yes"; then
43998     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43999       glibcxx_have_gc_sections=yes
44000     fi
44001   else
44002     glibcxx_gcsections_min_ld=21602
44003     if test x"$with_gnu_ld" = x"yes" &&
44004         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44005       glibcxx_have_gc_sections=yes
44006     fi
44007   fi
44008   if test "$glibcxx_have_gc_sections" = "yes"; then
44009     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44010     # NB: This flag only works reliably after 2.16.1. Configure tests
44011     # for this are difficult, so hard wire a value that should work.
44012
44013     ac_test_CFLAGS="${CFLAGS+set}"
44014     ac_save_CFLAGS="$CFLAGS"
44015     CFLAGS='-Wl,--gc-sections'
44016
44017     # Check for -Wl,--gc-sections
44018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44020     if test x$gcc_no_link = xyes; then
44021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44022 fi
44023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44024 /* end confdefs.h.  */
44025  int one(void) { return 1; }
44026      int two(void) { return 2; }
44027
44028 int
44029 main ()
44030 {
44031  two();
44032   ;
44033   return 0;
44034 }
44035 _ACEOF
44036 if ac_fn_c_try_link "$LINENO"; then :
44037   ac_gcsections=yes
44038 else
44039   ac_gcsections=no
44040 fi
44041 rm -f core conftest.err conftest.$ac_objext \
44042     conftest$ac_exeext conftest.$ac_ext
44043     if test "$ac_gcsections" = "yes"; then
44044       rm -f conftest.c
44045       touch conftest.c
44046       if $CC -c conftest.c; then
44047         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44048            grep "Warning: gc-sections option ignored" > /dev/null; then
44049           ac_gcsections=no
44050         fi
44051       fi
44052       rm -f conftest.c conftest.o conftest
44053     fi
44054     if test "$ac_gcsections" = "yes"; then
44055       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44056     fi
44057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44058 $as_echo "$ac_gcsections" >&6; }
44059
44060     if test "$ac_test_CFLAGS" = set; then
44061       CFLAGS="$ac_save_CFLAGS"
44062     else
44063       # this is the suspicious part
44064       CFLAGS=''
44065     fi
44066   fi
44067
44068   # Set -z,relro.
44069   # Note this is only for shared objects.
44070   ac_ld_relro=no
44071   if test x"$with_gnu_ld" = x"yes"; then
44072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44074     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44075     if test -n "$cxx_z_relo"; then
44076       OPT_LDFLAGS="-Wl,-z,relro"
44077       ac_ld_relro=yes
44078     fi
44079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44080 $as_echo "$ac_ld_relro" >&6; }
44081   fi
44082
44083   # Set linker optimization flags.
44084   if test x"$with_gnu_ld" = x"yes"; then
44085     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44086   fi
44087
44088
44089
44090
44091     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44092
44093     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44094
44095     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44096
44097     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44098
44099     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44100
44101     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44102
44103     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44104
44105     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44106
44107     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44108
44109
44110     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44111
44112     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44113
44114     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44115
44116     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44117
44118     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44119
44120     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44121
44122     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44123
44124     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44125
44126     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44127
44128     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44129
44130     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44131
44132     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44133
44134     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44135
44136     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44137
44138     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44139
44140     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44141
44142     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44143
44144     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44145
44146     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44147
44148     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44149
44150     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44151
44152     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44153
44154     if test x"long_double_math_on_this_cpu" = x"yes"; then
44155       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44156
44157       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44158
44159       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44160
44161     fi
44162     ;;
44163   *-hpux*)
44164     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44165
44166
44167   # If we're not using GNU ld, then there's no point in even trying these
44168   # tests.  Check for that first.  We should have already tested for gld
44169   # by now (in libtool), but require it now just to be safe...
44170   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44171   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44172
44173
44174
44175   # The name set by libtool depends on the version of libtool.  Shame on us
44176   # for depending on an impl detail, but c'est la vie.  Older versions used
44177   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44178   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44179   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44180   # set (hence we're using an older libtool), then set it.
44181   if test x${with_gnu_ld+set} != xset; then
44182     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44183       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44184       with_gnu_ld=no
44185     else
44186       with_gnu_ld=$ac_cv_prog_gnu_ld
44187     fi
44188   fi
44189
44190   # Start by getting the version number.  I think the libtool test already
44191   # does some of this, but throws away the result.
44192   glibcxx_ld_is_gold=no
44193   if test x"$with_gnu_ld" = x"yes"; then
44194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44195 $as_echo_n "checking for ld version... " >&6; }
44196
44197     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44198       glibcxx_ld_is_gold=yes
44199     fi
44200     ldver=`$LD --version 2>/dev/null |
44201            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'`
44202
44203     glibcxx_gnu_ld_version=`echo $ldver | \
44204            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44206 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44207   fi
44208
44209   # Set --gc-sections.
44210   glibcxx_have_gc_sections=no
44211   if test "$glibcxx_ld_is_gold" = "yes"; then
44212     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44213       glibcxx_have_gc_sections=yes
44214     fi
44215   else
44216     glibcxx_gcsections_min_ld=21602
44217     if test x"$with_gnu_ld" = x"yes" &&
44218         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44219       glibcxx_have_gc_sections=yes
44220     fi
44221   fi
44222   if test "$glibcxx_have_gc_sections" = "yes"; then
44223     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44224     # NB: This flag only works reliably after 2.16.1. Configure tests
44225     # for this are difficult, so hard wire a value that should work.
44226
44227     ac_test_CFLAGS="${CFLAGS+set}"
44228     ac_save_CFLAGS="$CFLAGS"
44229     CFLAGS='-Wl,--gc-sections'
44230
44231     # Check for -Wl,--gc-sections
44232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44233 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44234     if test x$gcc_no_link = xyes; then
44235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44236 fi
44237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44238 /* end confdefs.h.  */
44239  int one(void) { return 1; }
44240      int two(void) { return 2; }
44241
44242 int
44243 main ()
44244 {
44245  two();
44246   ;
44247   return 0;
44248 }
44249 _ACEOF
44250 if ac_fn_c_try_link "$LINENO"; then :
44251   ac_gcsections=yes
44252 else
44253   ac_gcsections=no
44254 fi
44255 rm -f core conftest.err conftest.$ac_objext \
44256     conftest$ac_exeext conftest.$ac_ext
44257     if test "$ac_gcsections" = "yes"; then
44258       rm -f conftest.c
44259       touch conftest.c
44260       if $CC -c conftest.c; then
44261         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44262            grep "Warning: gc-sections option ignored" > /dev/null; then
44263           ac_gcsections=no
44264         fi
44265       fi
44266       rm -f conftest.c conftest.o conftest
44267     fi
44268     if test "$ac_gcsections" = "yes"; then
44269       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44270     fi
44271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44272 $as_echo "$ac_gcsections" >&6; }
44273
44274     if test "$ac_test_CFLAGS" = set; then
44275       CFLAGS="$ac_save_CFLAGS"
44276     else
44277       # this is the suspicious part
44278       CFLAGS=''
44279     fi
44280   fi
44281
44282   # Set -z,relro.
44283   # Note this is only for shared objects.
44284   ac_ld_relro=no
44285   if test x"$with_gnu_ld" = x"yes"; then
44286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44287 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44288     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44289     if test -n "$cxx_z_relo"; then
44290       OPT_LDFLAGS="-Wl,-z,relro"
44291       ac_ld_relro=yes
44292     fi
44293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44294 $as_echo "$ac_ld_relro" >&6; }
44295   fi
44296
44297   # Set linker optimization flags.
44298   if test x"$with_gnu_ld" = x"yes"; then
44299     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44300   fi
44301
44302
44303
44304
44305
44306     # GLIBCXX_CHECK_MATH_SUPPORT
44307     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44308
44309     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44310
44311     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44312
44313     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44314
44315     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44316
44317     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44318
44319     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44320
44321     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44322
44323     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44324
44325     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44326
44327     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44328
44329     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44330
44331     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44332
44333     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44334
44335     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44336
44337     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44338
44339     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44340
44341     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44342
44343     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44344
44345     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44346
44347     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44348
44349
44350     # GLIBCXX_CHECK_STDLIB_SUPPORT
44351     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44352
44353
44354
44355
44356    # Check whether --enable-tls was given.
44357 if test "${enable_tls+set}" = set; then :
44358   enableval=$enable_tls;
44359       case "$enableval" in
44360        yes|no) ;;
44361        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44362       esac
44363
44364 else
44365   enable_tls=yes
44366 fi
44367
44368
44369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44370 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44371 if test "${gcc_cv_have_tls+set}" = set; then :
44372   $as_echo_n "(cached) " >&6
44373 else
44374
44375     if test "$cross_compiling" = yes; then :
44376                 if test x$gcc_no_link = xyes; then
44377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44378 fi
44379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44380 /* end confdefs.h.  */
44381 __thread int a; int b; int main() { return a = b; }
44382 _ACEOF
44383 if ac_fn_c_try_link "$LINENO"; then :
44384   chktls_save_LDFLAGS="$LDFLAGS"
44385                           case $host in
44386             *-*-linux*)
44387               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44388               ;;
44389           esac
44390           chktls_save_CFLAGS="$CFLAGS"
44391           CFLAGS="-fPIC $CFLAGS"
44392                   if test x$gcc_no_link = xyes; then
44393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44394 fi
44395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44396 /* end confdefs.h.  */
44397 int f() { return 0; }
44398 _ACEOF
44399 if ac_fn_c_try_link "$LINENO"; then :
44400   if test x$gcc_no_link = xyes; then
44401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44402 fi
44403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44404 /* end confdefs.h.  */
44405 __thread int a; int b; int f() { return a = b; }
44406 _ACEOF
44407 if ac_fn_c_try_link "$LINENO"; then :
44408   gcc_cv_have_tls=yes
44409 else
44410   gcc_cv_have_tls=no
44411 fi
44412 rm -f core conftest.err conftest.$ac_objext \
44413     conftest$ac_exeext conftest.$ac_ext
44414 else
44415   gcc_cv_have_tls=yes
44416 fi
44417 rm -f core conftest.err conftest.$ac_objext \
44418     conftest$ac_exeext conftest.$ac_ext
44419           CFLAGS="$chktls_save_CFLAGS"
44420           LDFLAGS="$chktls_save_LDFLAGS"
44421 else
44422   gcc_cv_have_tls=no
44423 fi
44424 rm -f core conftest.err conftest.$ac_objext \
44425     conftest$ac_exeext conftest.$ac_ext
44426
44427
44428 else
44429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44430 /* end confdefs.h.  */
44431 __thread int a; int b; int main() { return a = b; }
44432 _ACEOF
44433 if ac_fn_c_try_run "$LINENO"; then :
44434                       chktls_save_LDFLAGS="$LDFLAGS"
44435       LDFLAGS="-static $LDFLAGS"
44436       if test x$gcc_no_link = xyes; then
44437   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44438 fi
44439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44440 /* end confdefs.h.  */
44441 int main() { return 0; }
44442 _ACEOF
44443 if ac_fn_c_try_link "$LINENO"; then :
44444   if test "$cross_compiling" = yes; then :
44445   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44447 as_fn_error "cannot run test program while cross compiling
44448 See \`config.log' for more details." "$LINENO" 5; }
44449 else
44450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44451 /* end confdefs.h.  */
44452 __thread int a; int b; int main() { return a = b; }
44453 _ACEOF
44454 if ac_fn_c_try_run "$LINENO"; then :
44455   gcc_cv_have_tls=yes
44456 else
44457   gcc_cv_have_tls=no
44458 fi
44459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44460   conftest.$ac_objext conftest.beam conftest.$ac_ext
44461 fi
44462
44463 else
44464   gcc_cv_have_tls=yes
44465 fi
44466 rm -f core conftest.err conftest.$ac_objext \
44467     conftest$ac_exeext conftest.$ac_ext
44468       LDFLAGS="$chktls_save_LDFLAGS"
44469       if test $gcc_cv_have_tls = yes; then
44470                                                 chktls_save_CFLAGS="$CFLAGS"
44471         thread_CFLAGS=failed
44472         for flag in '' '-pthread' '-lpthread'; do
44473           CFLAGS="$flag $chktls_save_CFLAGS"
44474           if test x$gcc_no_link = xyes; then
44475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44476 fi
44477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44478 /* end confdefs.h.  */
44479 #include <pthread.h>
44480                 void *g(void *d) { return NULL; }
44481 int
44482 main ()
44483 {
44484 pthread_t t; pthread_create(&t,NULL,g,NULL);
44485   ;
44486   return 0;
44487 }
44488 _ACEOF
44489 if ac_fn_c_try_link "$LINENO"; then :
44490   thread_CFLAGS="$flag"
44491 fi
44492 rm -f core conftest.err conftest.$ac_objext \
44493     conftest$ac_exeext conftest.$ac_ext
44494           if test "X$thread_CFLAGS" != Xfailed; then
44495             break
44496           fi
44497         done
44498         CFLAGS="$chktls_save_CFLAGS"
44499         if test "X$thread_CFLAGS" != Xfailed; then
44500           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44501           if test "$cross_compiling" = yes; then :
44502   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44504 as_fn_error "cannot run test program while cross compiling
44505 See \`config.log' for more details." "$LINENO" 5; }
44506 else
44507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44508 /* end confdefs.h.  */
44509 #include <pthread.h>
44510                 __thread int a;
44511                 static int *a_in_other_thread;
44512                 static void *
44513                 thread_func (void *arg)
44514                 {
44515                   a_in_other_thread = &a;
44516                   return (void *)0;
44517                 }
44518 int
44519 main ()
44520 {
44521 pthread_t thread;
44522                 void *thread_retval;
44523                 int *a_in_main_thread;
44524                 if (pthread_create (&thread, (pthread_attr_t *)0,
44525                                     thread_func, (void *)0))
44526                   return 0;
44527                 a_in_main_thread = &a;
44528                 if (pthread_join (thread, &thread_retval))
44529                   return 0;
44530                 return (a_in_other_thread == a_in_main_thread);
44531   ;
44532   return 0;
44533 }
44534 _ACEOF
44535 if ac_fn_c_try_run "$LINENO"; then :
44536   gcc_cv_have_tls=yes
44537 else
44538   gcc_cv_have_tls=no
44539 fi
44540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44541   conftest.$ac_objext conftest.beam conftest.$ac_ext
44542 fi
44543
44544           CFLAGS="$chktls_save_CFLAGS"
44545         fi
44546       fi
44547 else
44548   gcc_cv_have_tls=no
44549 fi
44550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44551   conftest.$ac_objext conftest.beam conftest.$ac_ext
44552 fi
44553
44554 fi
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44556 $as_echo "$gcc_cv_have_tls" >&6; }
44557   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44558
44559 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44560
44561   fi
44562     case "$target" in
44563       *-hpux10*)
44564         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44565
44566         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44567
44568         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44569
44570         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44571
44572         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44573
44574         ;;
44575     esac
44576     ;;
44577   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44578
44579   # All these tests are for C++; save the language and the compiler flags.
44580   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44581   # found in GLIBCXX_CONFIGURE.
44582
44583   ac_ext=cpp
44584 ac_cpp='$CXXCPP $CPPFLAGS'
44585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44588
44589   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44590   ac_save_CXXFLAGS="$CXXFLAGS"
44591
44592   # Check for maintainer-mode bits.
44593   if test x"$USE_MAINTAINER_MODE" = xno; then
44594     WERROR=''
44595   else
44596     WERROR='-Werror'
44597   fi
44598
44599   # Check for -ffunction-sections -fdata-sections
44600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44601 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44602   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44604 /* end confdefs.h.  */
44605 int foo; void bar() { };
44606 int
44607 main ()
44608 {
44609
44610   ;
44611   return 0;
44612 }
44613 _ACEOF
44614 if ac_fn_cxx_try_compile "$LINENO"; then :
44615   ac_fdsections=yes
44616 else
44617   ac_fdsections=no
44618 fi
44619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44620   if test "$ac_test_CXXFLAGS" = set; then
44621     CXXFLAGS="$ac_save_CXXFLAGS"
44622   else
44623     # this is the suspicious part
44624     CXXFLAGS=''
44625   fi
44626   if test x"$ac_fdsections" = x"yes"; then
44627     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44628   fi
44629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44630 $as_echo "$ac_fdsections" >&6; }
44631
44632   ac_ext=c
44633 ac_cpp='$CPP $CPPFLAGS'
44634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44637
44638
44639
44640
44641
44642   # If we're not using GNU ld, then there's no point in even trying these
44643   # tests.  Check for that first.  We should have already tested for gld
44644   # by now (in libtool), but require it now just to be safe...
44645   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44646   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44647
44648
44649
44650   # The name set by libtool depends on the version of libtool.  Shame on us
44651   # for depending on an impl detail, but c'est la vie.  Older versions used
44652   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44653   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44654   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44655   # set (hence we're using an older libtool), then set it.
44656   if test x${with_gnu_ld+set} != xset; then
44657     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44658       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44659       with_gnu_ld=no
44660     else
44661       with_gnu_ld=$ac_cv_prog_gnu_ld
44662     fi
44663   fi
44664
44665   # Start by getting the version number.  I think the libtool test already
44666   # does some of this, but throws away the result.
44667   glibcxx_ld_is_gold=no
44668   if test x"$with_gnu_ld" = x"yes"; then
44669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44670 $as_echo_n "checking for ld version... " >&6; }
44671
44672     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44673       glibcxx_ld_is_gold=yes
44674     fi
44675     ldver=`$LD --version 2>/dev/null |
44676            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'`
44677
44678     glibcxx_gnu_ld_version=`echo $ldver | \
44679            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44682   fi
44683
44684   # Set --gc-sections.
44685   glibcxx_have_gc_sections=no
44686   if test "$glibcxx_ld_is_gold" = "yes"; then
44687     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44688       glibcxx_have_gc_sections=yes
44689     fi
44690   else
44691     glibcxx_gcsections_min_ld=21602
44692     if test x"$with_gnu_ld" = x"yes" &&
44693         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44694       glibcxx_have_gc_sections=yes
44695     fi
44696   fi
44697   if test "$glibcxx_have_gc_sections" = "yes"; then
44698     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44699     # NB: This flag only works reliably after 2.16.1. Configure tests
44700     # for this are difficult, so hard wire a value that should work.
44701
44702     ac_test_CFLAGS="${CFLAGS+set}"
44703     ac_save_CFLAGS="$CFLAGS"
44704     CFLAGS='-Wl,--gc-sections'
44705
44706     # Check for -Wl,--gc-sections
44707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44709     if test x$gcc_no_link = xyes; then
44710   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44711 fi
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h.  */
44714  int one(void) { return 1; }
44715      int two(void) { return 2; }
44716
44717 int
44718 main ()
44719 {
44720  two();
44721   ;
44722   return 0;
44723 }
44724 _ACEOF
44725 if ac_fn_c_try_link "$LINENO"; then :
44726   ac_gcsections=yes
44727 else
44728   ac_gcsections=no
44729 fi
44730 rm -f core conftest.err conftest.$ac_objext \
44731     conftest$ac_exeext conftest.$ac_ext
44732     if test "$ac_gcsections" = "yes"; then
44733       rm -f conftest.c
44734       touch conftest.c
44735       if $CC -c conftest.c; then
44736         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44737            grep "Warning: gc-sections option ignored" > /dev/null; then
44738           ac_gcsections=no
44739         fi
44740       fi
44741       rm -f conftest.c conftest.o conftest
44742     fi
44743     if test "$ac_gcsections" = "yes"; then
44744       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44745     fi
44746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44747 $as_echo "$ac_gcsections" >&6; }
44748
44749     if test "$ac_test_CFLAGS" = set; then
44750       CFLAGS="$ac_save_CFLAGS"
44751     else
44752       # this is the suspicious part
44753       CFLAGS=''
44754     fi
44755   fi
44756
44757   # Set -z,relro.
44758   # Note this is only for shared objects.
44759   ac_ld_relro=no
44760   if test x"$with_gnu_ld" = x"yes"; then
44761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44763     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44764     if test -n "$cxx_z_relo"; then
44765       OPT_LDFLAGS="-Wl,-z,relro"
44766       ac_ld_relro=yes
44767     fi
44768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44769 $as_echo "$ac_ld_relro" >&6; }
44770   fi
44771
44772   # Set linker optimization flags.
44773   if test x"$with_gnu_ld" = x"yes"; then
44774     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44775   fi
44776
44777
44778
44779
44780
44781   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44782   ac_save_CXXFLAGS="$CXXFLAGS"
44783   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44784
44785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44786 $as_echo_n "checking for sin in -lm... " >&6; }
44787 if test "${ac_cv_lib_m_sin+set}" = set; then :
44788   $as_echo_n "(cached) " >&6
44789 else
44790   ac_check_lib_save_LIBS=$LIBS
44791 LIBS="-lm  $LIBS"
44792 if test x$gcc_no_link = xyes; then
44793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44794 fi
44795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796 /* end confdefs.h.  */
44797
44798 /* Override any GCC internal prototype to avoid an error.
44799    Use char because int might match the return type of a GCC
44800    builtin and then its argument prototype would still apply.  */
44801 #ifdef __cplusplus
44802 extern "C"
44803 #endif
44804 char sin ();
44805 int
44806 main ()
44807 {
44808 return sin ();
44809   ;
44810   return 0;
44811 }
44812 _ACEOF
44813 if ac_fn_c_try_link "$LINENO"; then :
44814   ac_cv_lib_m_sin=yes
44815 else
44816   ac_cv_lib_m_sin=no
44817 fi
44818 rm -f core conftest.err conftest.$ac_objext \
44819     conftest$ac_exeext conftest.$ac_ext
44820 LIBS=$ac_check_lib_save_LIBS
44821 fi
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44823 $as_echo "$ac_cv_lib_m_sin" >&6; }
44824 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44825   libm="-lm"
44826 fi
44827
44828   ac_save_LIBS="$LIBS"
44829   LIBS="$LIBS $libm"
44830
44831
44832
44833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44834 $as_echo_n "checking for isinf declaration... " >&6; }
44835   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44836     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44837   $as_echo_n "(cached) " >&6
44838 else
44839
44840
44841       ac_ext=cpp
44842 ac_cpp='$CXXCPP $CPPFLAGS'
44843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44846
44847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44848 /* end confdefs.h.  */
44849 #include <math.h>
44850                       #ifdef HAVE_IEEEFP_H
44851                       #include <ieeefp.h>
44852                       #endif
44853
44854 int
44855 main ()
44856 {
44857  isinf(0);
44858   ;
44859   return 0;
44860 }
44861 _ACEOF
44862 if ac_fn_cxx_try_compile "$LINENO"; then :
44863   glibcxx_cv_func_isinf_use=yes
44864 else
44865   glibcxx_cv_func_isinf_use=no
44866 fi
44867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44868       ac_ext=c
44869 ac_cpp='$CPP $CPPFLAGS'
44870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44873
44874
44875 fi
44876
44877   fi
44878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44879 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44880
44881   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44882     for ac_func in isinf
44883 do :
44884   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44885 if test "x$ac_cv_func_isinf" = x""yes; then :
44886   cat >>confdefs.h <<_ACEOF
44887 #define HAVE_ISINF 1
44888 _ACEOF
44889
44890 fi
44891 done
44892
44893   else
44894
44895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44896 $as_echo_n "checking for _isinf declaration... " >&6; }
44897   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44898     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44899   $as_echo_n "(cached) " >&6
44900 else
44901
44902
44903       ac_ext=cpp
44904 ac_cpp='$CXXCPP $CPPFLAGS'
44905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44908
44909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44910 /* end confdefs.h.  */
44911 #include <math.h>
44912                       #ifdef HAVE_IEEEFP_H
44913                       #include <ieeefp.h>
44914                       #endif
44915
44916 int
44917 main ()
44918 {
44919  _isinf(0);
44920   ;
44921   return 0;
44922 }
44923 _ACEOF
44924 if ac_fn_cxx_try_compile "$LINENO"; then :
44925   glibcxx_cv_func__isinf_use=yes
44926 else
44927   glibcxx_cv_func__isinf_use=no
44928 fi
44929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44930       ac_ext=c
44931 ac_cpp='$CPP $CPPFLAGS'
44932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44935
44936
44937 fi
44938
44939   fi
44940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44941 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44942
44943     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44944       for ac_func in _isinf
44945 do :
44946   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44947 if test "x$ac_cv_func__isinf" = x""yes; then :
44948   cat >>confdefs.h <<_ACEOF
44949 #define HAVE__ISINF 1
44950 _ACEOF
44951
44952 fi
44953 done
44954
44955     fi
44956   fi
44957
44958
44959
44960
44961
44962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44963 $as_echo_n "checking for isnan declaration... " >&6; }
44964   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44965     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44966   $as_echo_n "(cached) " >&6
44967 else
44968
44969
44970       ac_ext=cpp
44971 ac_cpp='$CXXCPP $CPPFLAGS'
44972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44975
44976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44977 /* end confdefs.h.  */
44978 #include <math.h>
44979                       #ifdef HAVE_IEEEFP_H
44980                       #include <ieeefp.h>
44981                       #endif
44982
44983 int
44984 main ()
44985 {
44986  isnan(0);
44987   ;
44988   return 0;
44989 }
44990 _ACEOF
44991 if ac_fn_cxx_try_compile "$LINENO"; then :
44992   glibcxx_cv_func_isnan_use=yes
44993 else
44994   glibcxx_cv_func_isnan_use=no
44995 fi
44996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44997       ac_ext=c
44998 ac_cpp='$CPP $CPPFLAGS'
44999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45002
45003
45004 fi
45005
45006   fi
45007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45008 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45009
45010   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45011     for ac_func in isnan
45012 do :
45013   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45014 if test "x$ac_cv_func_isnan" = x""yes; then :
45015   cat >>confdefs.h <<_ACEOF
45016 #define HAVE_ISNAN 1
45017 _ACEOF
45018
45019 fi
45020 done
45021
45022   else
45023
45024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45025 $as_echo_n "checking for _isnan declaration... " >&6; }
45026   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45027     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45028   $as_echo_n "(cached) " >&6
45029 else
45030
45031
45032       ac_ext=cpp
45033 ac_cpp='$CXXCPP $CPPFLAGS'
45034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45037
45038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45039 /* end confdefs.h.  */
45040 #include <math.h>
45041                       #ifdef HAVE_IEEEFP_H
45042                       #include <ieeefp.h>
45043                       #endif
45044
45045 int
45046 main ()
45047 {
45048  _isnan(0);
45049   ;
45050   return 0;
45051 }
45052 _ACEOF
45053 if ac_fn_cxx_try_compile "$LINENO"; then :
45054   glibcxx_cv_func__isnan_use=yes
45055 else
45056   glibcxx_cv_func__isnan_use=no
45057 fi
45058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45059       ac_ext=c
45060 ac_cpp='$CPP $CPPFLAGS'
45061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45064
45065
45066 fi
45067
45068   fi
45069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45070 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45071
45072     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45073       for ac_func in _isnan
45074 do :
45075   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45076 if test "x$ac_cv_func__isnan" = x""yes; then :
45077   cat >>confdefs.h <<_ACEOF
45078 #define HAVE__ISNAN 1
45079 _ACEOF
45080
45081 fi
45082 done
45083
45084     fi
45085   fi
45086
45087
45088
45089
45090
45091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45092 $as_echo_n "checking for finite declaration... " >&6; }
45093   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45094     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45095   $as_echo_n "(cached) " >&6
45096 else
45097
45098
45099       ac_ext=cpp
45100 ac_cpp='$CXXCPP $CPPFLAGS'
45101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45104
45105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45106 /* end confdefs.h.  */
45107 #include <math.h>
45108                       #ifdef HAVE_IEEEFP_H
45109                       #include <ieeefp.h>
45110                       #endif
45111
45112 int
45113 main ()
45114 {
45115  finite(0);
45116   ;
45117   return 0;
45118 }
45119 _ACEOF
45120 if ac_fn_cxx_try_compile "$LINENO"; then :
45121   glibcxx_cv_func_finite_use=yes
45122 else
45123   glibcxx_cv_func_finite_use=no
45124 fi
45125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45126       ac_ext=c
45127 ac_cpp='$CPP $CPPFLAGS'
45128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45131
45132
45133 fi
45134
45135   fi
45136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45137 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45138
45139   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45140     for ac_func in finite
45141 do :
45142   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45143 if test "x$ac_cv_func_finite" = x""yes; then :
45144   cat >>confdefs.h <<_ACEOF
45145 #define HAVE_FINITE 1
45146 _ACEOF
45147
45148 fi
45149 done
45150
45151   else
45152
45153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45154 $as_echo_n "checking for _finite declaration... " >&6; }
45155   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45156     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45157   $as_echo_n "(cached) " >&6
45158 else
45159
45160
45161       ac_ext=cpp
45162 ac_cpp='$CXXCPP $CPPFLAGS'
45163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45166
45167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45168 /* end confdefs.h.  */
45169 #include <math.h>
45170                       #ifdef HAVE_IEEEFP_H
45171                       #include <ieeefp.h>
45172                       #endif
45173
45174 int
45175 main ()
45176 {
45177  _finite(0);
45178   ;
45179   return 0;
45180 }
45181 _ACEOF
45182 if ac_fn_cxx_try_compile "$LINENO"; then :
45183   glibcxx_cv_func__finite_use=yes
45184 else
45185   glibcxx_cv_func__finite_use=no
45186 fi
45187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45188       ac_ext=c
45189 ac_cpp='$CPP $CPPFLAGS'
45190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45193
45194
45195 fi
45196
45197   fi
45198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45199 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45200
45201     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45202       for ac_func in _finite
45203 do :
45204   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45205 if test "x$ac_cv_func__finite" = x""yes; then :
45206   cat >>confdefs.h <<_ACEOF
45207 #define HAVE__FINITE 1
45208 _ACEOF
45209
45210 fi
45211 done
45212
45213     fi
45214   fi
45215
45216
45217
45218
45219
45220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45221 $as_echo_n "checking for sincos declaration... " >&6; }
45222   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45223     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45224   $as_echo_n "(cached) " >&6
45225 else
45226
45227
45228       ac_ext=cpp
45229 ac_cpp='$CXXCPP $CPPFLAGS'
45230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45233
45234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45235 /* end confdefs.h.  */
45236 #include <math.h>
45237 int
45238 main ()
45239 {
45240  sincos(0, 0, 0);
45241   ;
45242   return 0;
45243 }
45244 _ACEOF
45245 if ac_fn_cxx_try_compile "$LINENO"; then :
45246   glibcxx_cv_func_sincos_use=yes
45247 else
45248   glibcxx_cv_func_sincos_use=no
45249 fi
45250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45251       ac_ext=c
45252 ac_cpp='$CPP $CPPFLAGS'
45253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45256
45257
45258 fi
45259
45260   fi
45261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45262 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45263
45264   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45265     for ac_func in sincos
45266 do :
45267   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45268 if test "x$ac_cv_func_sincos" = x""yes; then :
45269   cat >>confdefs.h <<_ACEOF
45270 #define HAVE_SINCOS 1
45271 _ACEOF
45272
45273 fi
45274 done
45275
45276   else
45277
45278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45279 $as_echo_n "checking for _sincos declaration... " >&6; }
45280   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45281     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45282   $as_echo_n "(cached) " >&6
45283 else
45284
45285
45286       ac_ext=cpp
45287 ac_cpp='$CXXCPP $CPPFLAGS'
45288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45291
45292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45293 /* end confdefs.h.  */
45294 #include <math.h>
45295 int
45296 main ()
45297 {
45298  _sincos(0, 0, 0);
45299   ;
45300   return 0;
45301 }
45302 _ACEOF
45303 if ac_fn_cxx_try_compile "$LINENO"; then :
45304   glibcxx_cv_func__sincos_use=yes
45305 else
45306   glibcxx_cv_func__sincos_use=no
45307 fi
45308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45309       ac_ext=c
45310 ac_cpp='$CPP $CPPFLAGS'
45311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45314
45315
45316 fi
45317
45318   fi
45319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45320 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45321
45322     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45323       for ac_func in _sincos
45324 do :
45325   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45326 if test "x$ac_cv_func__sincos" = x""yes; then :
45327   cat >>confdefs.h <<_ACEOF
45328 #define HAVE__SINCOS 1
45329 _ACEOF
45330
45331 fi
45332 done
45333
45334     fi
45335   fi
45336
45337
45338
45339
45340
45341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45342 $as_echo_n "checking for fpclass declaration... " >&6; }
45343   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45344     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45345   $as_echo_n "(cached) " >&6
45346 else
45347
45348
45349       ac_ext=cpp
45350 ac_cpp='$CXXCPP $CPPFLAGS'
45351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45354
45355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45356 /* end confdefs.h.  */
45357 #include <math.h>
45358                       #ifdef HAVE_IEEEFP_H
45359                       #include <ieeefp.h>
45360                       #endif
45361
45362 int
45363 main ()
45364 {
45365  fpclass(0);
45366   ;
45367   return 0;
45368 }
45369 _ACEOF
45370 if ac_fn_cxx_try_compile "$LINENO"; then :
45371   glibcxx_cv_func_fpclass_use=yes
45372 else
45373   glibcxx_cv_func_fpclass_use=no
45374 fi
45375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45376       ac_ext=c
45377 ac_cpp='$CPP $CPPFLAGS'
45378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45381
45382
45383 fi
45384
45385   fi
45386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45387 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45388
45389   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45390     for ac_func in fpclass
45391 do :
45392   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45393 if test "x$ac_cv_func_fpclass" = x""yes; then :
45394   cat >>confdefs.h <<_ACEOF
45395 #define HAVE_FPCLASS 1
45396 _ACEOF
45397
45398 fi
45399 done
45400
45401   else
45402
45403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45404 $as_echo_n "checking for _fpclass declaration... " >&6; }
45405   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45406     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45407   $as_echo_n "(cached) " >&6
45408 else
45409
45410
45411       ac_ext=cpp
45412 ac_cpp='$CXXCPP $CPPFLAGS'
45413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45416
45417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45418 /* end confdefs.h.  */
45419 #include <math.h>
45420                       #ifdef HAVE_IEEEFP_H
45421                       #include <ieeefp.h>
45422                       #endif
45423
45424 int
45425 main ()
45426 {
45427  _fpclass(0);
45428   ;
45429   return 0;
45430 }
45431 _ACEOF
45432 if ac_fn_cxx_try_compile "$LINENO"; then :
45433   glibcxx_cv_func__fpclass_use=yes
45434 else
45435   glibcxx_cv_func__fpclass_use=no
45436 fi
45437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45438       ac_ext=c
45439 ac_cpp='$CPP $CPPFLAGS'
45440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45443
45444
45445 fi
45446
45447   fi
45448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45449 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45450
45451     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45452       for ac_func in _fpclass
45453 do :
45454   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45455 if test "x$ac_cv_func__fpclass" = x""yes; then :
45456   cat >>confdefs.h <<_ACEOF
45457 #define HAVE__FPCLASS 1
45458 _ACEOF
45459
45460 fi
45461 done
45462
45463     fi
45464   fi
45465
45466
45467
45468
45469
45470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45471 $as_echo_n "checking for qfpclass declaration... " >&6; }
45472   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45473     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45474   $as_echo_n "(cached) " >&6
45475 else
45476
45477
45478       ac_ext=cpp
45479 ac_cpp='$CXXCPP $CPPFLAGS'
45480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45483
45484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45485 /* end confdefs.h.  */
45486 #include <math.h>
45487                       #ifdef HAVE_IEEEFP_H
45488                       #include <ieeefp.h>
45489                       #endif
45490
45491 int
45492 main ()
45493 {
45494  qfpclass(0);
45495   ;
45496   return 0;
45497 }
45498 _ACEOF
45499 if ac_fn_cxx_try_compile "$LINENO"; then :
45500   glibcxx_cv_func_qfpclass_use=yes
45501 else
45502   glibcxx_cv_func_qfpclass_use=no
45503 fi
45504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45505       ac_ext=c
45506 ac_cpp='$CPP $CPPFLAGS'
45507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45510
45511
45512 fi
45513
45514   fi
45515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45516 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45517
45518   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45519     for ac_func in qfpclass
45520 do :
45521   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45522 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45523   cat >>confdefs.h <<_ACEOF
45524 #define HAVE_QFPCLASS 1
45525 _ACEOF
45526
45527 fi
45528 done
45529
45530   else
45531
45532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45533 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45534   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45535     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45536   $as_echo_n "(cached) " >&6
45537 else
45538
45539
45540       ac_ext=cpp
45541 ac_cpp='$CXXCPP $CPPFLAGS'
45542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45545
45546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45547 /* end confdefs.h.  */
45548 #include <math.h>
45549                       #ifdef HAVE_IEEEFP_H
45550                       #include <ieeefp.h>
45551                       #endif
45552
45553 int
45554 main ()
45555 {
45556  _qfpclass(0);
45557   ;
45558   return 0;
45559 }
45560 _ACEOF
45561 if ac_fn_cxx_try_compile "$LINENO"; then :
45562   glibcxx_cv_func__qfpclass_use=yes
45563 else
45564   glibcxx_cv_func__qfpclass_use=no
45565 fi
45566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45567       ac_ext=c
45568 ac_cpp='$CPP $CPPFLAGS'
45569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45572
45573
45574 fi
45575
45576   fi
45577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45578 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45579
45580     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45581       for ac_func in _qfpclass
45582 do :
45583   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45584 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45585   cat >>confdefs.h <<_ACEOF
45586 #define HAVE__QFPCLASS 1
45587 _ACEOF
45588
45589 fi
45590 done
45591
45592     fi
45593   fi
45594
45595
45596
45597
45598
45599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45600 $as_echo_n "checking for hypot declaration... " >&6; }
45601   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45602     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45603   $as_echo_n "(cached) " >&6
45604 else
45605
45606
45607       ac_ext=cpp
45608 ac_cpp='$CXXCPP $CPPFLAGS'
45609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45612
45613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45614 /* end confdefs.h.  */
45615 #include <math.h>
45616 int
45617 main ()
45618 {
45619  hypot(0, 0);
45620   ;
45621   return 0;
45622 }
45623 _ACEOF
45624 if ac_fn_cxx_try_compile "$LINENO"; then :
45625   glibcxx_cv_func_hypot_use=yes
45626 else
45627   glibcxx_cv_func_hypot_use=no
45628 fi
45629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45630       ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45635
45636
45637 fi
45638
45639   fi
45640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45641 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45642
45643   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45644     for ac_func in hypot
45645 do :
45646   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45647 if test "x$ac_cv_func_hypot" = x""yes; then :
45648   cat >>confdefs.h <<_ACEOF
45649 #define HAVE_HYPOT 1
45650 _ACEOF
45651
45652 fi
45653 done
45654
45655   else
45656
45657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45658 $as_echo_n "checking for _hypot declaration... " >&6; }
45659   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45660     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45661   $as_echo_n "(cached) " >&6
45662 else
45663
45664
45665       ac_ext=cpp
45666 ac_cpp='$CXXCPP $CPPFLAGS'
45667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670
45671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45672 /* end confdefs.h.  */
45673 #include <math.h>
45674 int
45675 main ()
45676 {
45677  _hypot(0, 0);
45678   ;
45679   return 0;
45680 }
45681 _ACEOF
45682 if ac_fn_cxx_try_compile "$LINENO"; then :
45683   glibcxx_cv_func__hypot_use=yes
45684 else
45685   glibcxx_cv_func__hypot_use=no
45686 fi
45687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45688       ac_ext=c
45689 ac_cpp='$CPP $CPPFLAGS'
45690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45693
45694
45695 fi
45696
45697   fi
45698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45699 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45700
45701     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45702       for ac_func in _hypot
45703 do :
45704   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45705 if test "x$ac_cv_func__hypot" = x""yes; then :
45706   cat >>confdefs.h <<_ACEOF
45707 #define HAVE__HYPOT 1
45708 _ACEOF
45709
45710 fi
45711 done
45712
45713     fi
45714   fi
45715
45716
45717
45718
45719
45720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45721 $as_echo_n "checking for float trig functions... " >&6; }
45722   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45723   $as_echo_n "(cached) " >&6
45724 else
45725
45726
45727     ac_ext=cpp
45728 ac_cpp='$CXXCPP $CPPFLAGS'
45729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45732
45733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45734 /* end confdefs.h.  */
45735 #include <math.h>
45736 int
45737 main ()
45738 {
45739 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45740   ;
45741   return 0;
45742 }
45743 _ACEOF
45744 if ac_fn_cxx_try_compile "$LINENO"; then :
45745   glibcxx_cv_func_float_trig_use=yes
45746 else
45747   glibcxx_cv_func_float_trig_use=no
45748 fi
45749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45750     ac_ext=c
45751 ac_cpp='$CPP $CPPFLAGS'
45752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45755
45756 fi
45757
45758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45759 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45760   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45761     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45762 do :
45763   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45765 eval as_val=\$$as_ac_var
45766    if test "x$as_val" = x""yes; then :
45767   cat >>confdefs.h <<_ACEOF
45768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769 _ACEOF
45770
45771 fi
45772 done
45773
45774   else
45775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45776 $as_echo_n "checking for _float trig functions... " >&6; }
45777     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45778   $as_echo_n "(cached) " >&6
45779 else
45780
45781
45782       ac_ext=cpp
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45787
45788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45789 /* end confdefs.h.  */
45790 #include <math.h>
45791 int
45792 main ()
45793 {
45794 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45795   ;
45796   return 0;
45797 }
45798 _ACEOF
45799 if ac_fn_cxx_try_compile "$LINENO"; then :
45800   glibcxx_cv_func__float_trig_use=yes
45801 else
45802   glibcxx_cv_func__float_trig_use=no
45803 fi
45804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45805       ac_ext=c
45806 ac_cpp='$CPP $CPPFLAGS'
45807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45810
45811 fi
45812
45813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45814 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45815     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45816       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45817 do :
45818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45820 eval as_val=\$$as_ac_var
45821    if test "x$as_val" = x""yes; then :
45822   cat >>confdefs.h <<_ACEOF
45823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45824 _ACEOF
45825
45826 fi
45827 done
45828
45829     fi
45830   fi
45831
45832
45833
45834
45835
45836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45837 $as_echo_n "checking for float round functions... " >&6; }
45838   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45839   $as_echo_n "(cached) " >&6
45840 else
45841
45842
45843     ac_ext=cpp
45844 ac_cpp='$CXXCPP $CPPFLAGS'
45845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45848
45849     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45850 /* end confdefs.h.  */
45851 #include <math.h>
45852 int
45853 main ()
45854 {
45855 ceilf (0); floorf (0);
45856   ;
45857   return 0;
45858 }
45859 _ACEOF
45860 if ac_fn_cxx_try_compile "$LINENO"; then :
45861   glibcxx_cv_func_float_round_use=yes
45862 else
45863   glibcxx_cv_func_float_round_use=no
45864 fi
45865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45866     ac_ext=c
45867 ac_cpp='$CPP $CPPFLAGS'
45868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45871
45872 fi
45873
45874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45875 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45876   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45877     for ac_func in ceilf floorf
45878 do :
45879   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45881 eval as_val=\$$as_ac_var
45882    if test "x$as_val" = x""yes; then :
45883   cat >>confdefs.h <<_ACEOF
45884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45885 _ACEOF
45886
45887 fi
45888 done
45889
45890   else
45891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45892 $as_echo_n "checking for _float round functions... " >&6; }
45893     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45894   $as_echo_n "(cached) " >&6
45895 else
45896
45897
45898       ac_ext=cpp
45899 ac_cpp='$CXXCPP $CPPFLAGS'
45900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45903
45904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45905 /* end confdefs.h.  */
45906 #include <math.h>
45907 int
45908 main ()
45909 {
45910 _ceilf (0); _floorf (0);
45911   ;
45912   return 0;
45913 }
45914 _ACEOF
45915 if ac_fn_cxx_try_compile "$LINENO"; then :
45916   glibcxx_cv_func__float_round_use=yes
45917 else
45918   glibcxx_cv_func__float_round_use=no
45919 fi
45920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45921       ac_ext=c
45922 ac_cpp='$CPP $CPPFLAGS'
45923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45926
45927 fi
45928
45929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45930 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45931     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45932       for ac_func in _ceilf _floorf
45933 do :
45934   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45936 eval as_val=\$$as_ac_var
45937    if test "x$as_val" = x""yes; then :
45938   cat >>confdefs.h <<_ACEOF
45939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45940 _ACEOF
45941
45942 fi
45943 done
45944
45945     fi
45946   fi
45947
45948
45949
45950
45951
45952
45953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45954 $as_echo_n "checking for expf declaration... " >&6; }
45955   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45956     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45957   $as_echo_n "(cached) " >&6
45958 else
45959
45960
45961       ac_ext=cpp
45962 ac_cpp='$CXXCPP $CPPFLAGS'
45963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45966
45967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45968 /* end confdefs.h.  */
45969 #include <math.h>
45970                       #ifdef HAVE_IEEEFP_H
45971                       #include <ieeefp.h>
45972                       #endif
45973
45974 int
45975 main ()
45976 {
45977  expf(0);
45978   ;
45979   return 0;
45980 }
45981 _ACEOF
45982 if ac_fn_cxx_try_compile "$LINENO"; then :
45983   glibcxx_cv_func_expf_use=yes
45984 else
45985   glibcxx_cv_func_expf_use=no
45986 fi
45987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45988       ac_ext=c
45989 ac_cpp='$CPP $CPPFLAGS'
45990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45993
45994
45995 fi
45996
45997   fi
45998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45999 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46000
46001   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46002     for ac_func in expf
46003 do :
46004   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46005 if test "x$ac_cv_func_expf" = x""yes; then :
46006   cat >>confdefs.h <<_ACEOF
46007 #define HAVE_EXPF 1
46008 _ACEOF
46009
46010 fi
46011 done
46012
46013   else
46014
46015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46016 $as_echo_n "checking for _expf declaration... " >&6; }
46017   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46018     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46019   $as_echo_n "(cached) " >&6
46020 else
46021
46022
46023       ac_ext=cpp
46024 ac_cpp='$CXXCPP $CPPFLAGS'
46025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028
46029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h.  */
46031 #include <math.h>
46032                       #ifdef HAVE_IEEEFP_H
46033                       #include <ieeefp.h>
46034                       #endif
46035
46036 int
46037 main ()
46038 {
46039  _expf(0);
46040   ;
46041   return 0;
46042 }
46043 _ACEOF
46044 if ac_fn_cxx_try_compile "$LINENO"; then :
46045   glibcxx_cv_func__expf_use=yes
46046 else
46047   glibcxx_cv_func__expf_use=no
46048 fi
46049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46050       ac_ext=c
46051 ac_cpp='$CPP $CPPFLAGS'
46052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055
46056
46057 fi
46058
46059   fi
46060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46061 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46062
46063     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46064       for ac_func in _expf
46065 do :
46066   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46067 if test "x$ac_cv_func__expf" = x""yes; then :
46068   cat >>confdefs.h <<_ACEOF
46069 #define HAVE__EXPF 1
46070 _ACEOF
46071
46072 fi
46073 done
46074
46075     fi
46076   fi
46077
46078
46079
46080
46081
46082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46083 $as_echo_n "checking for isnanf declaration... " >&6; }
46084   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46085     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46086   $as_echo_n "(cached) " >&6
46087 else
46088
46089
46090       ac_ext=cpp
46091 ac_cpp='$CXXCPP $CPPFLAGS'
46092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46095
46096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46097 /* end confdefs.h.  */
46098 #include <math.h>
46099                       #ifdef HAVE_IEEEFP_H
46100                       #include <ieeefp.h>
46101                       #endif
46102
46103 int
46104 main ()
46105 {
46106  isnanf(0);
46107   ;
46108   return 0;
46109 }
46110 _ACEOF
46111 if ac_fn_cxx_try_compile "$LINENO"; then :
46112   glibcxx_cv_func_isnanf_use=yes
46113 else
46114   glibcxx_cv_func_isnanf_use=no
46115 fi
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117       ac_ext=c
46118 ac_cpp='$CPP $CPPFLAGS'
46119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46122
46123
46124 fi
46125
46126   fi
46127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46128 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46129
46130   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46131     for ac_func in isnanf
46132 do :
46133   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46134 if test "x$ac_cv_func_isnanf" = x""yes; then :
46135   cat >>confdefs.h <<_ACEOF
46136 #define HAVE_ISNANF 1
46137 _ACEOF
46138
46139 fi
46140 done
46141
46142   else
46143
46144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46145 $as_echo_n "checking for _isnanf declaration... " >&6; }
46146   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46147     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46148   $as_echo_n "(cached) " >&6
46149 else
46150
46151
46152       ac_ext=cpp
46153 ac_cpp='$CXXCPP $CPPFLAGS'
46154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46157
46158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46159 /* end confdefs.h.  */
46160 #include <math.h>
46161                       #ifdef HAVE_IEEEFP_H
46162                       #include <ieeefp.h>
46163                       #endif
46164
46165 int
46166 main ()
46167 {
46168  _isnanf(0);
46169   ;
46170   return 0;
46171 }
46172 _ACEOF
46173 if ac_fn_cxx_try_compile "$LINENO"; then :
46174   glibcxx_cv_func__isnanf_use=yes
46175 else
46176   glibcxx_cv_func__isnanf_use=no
46177 fi
46178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46179       ac_ext=c
46180 ac_cpp='$CPP $CPPFLAGS'
46181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46184
46185
46186 fi
46187
46188   fi
46189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46190 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46191
46192     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46193       for ac_func in _isnanf
46194 do :
46195   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46196 if test "x$ac_cv_func__isnanf" = x""yes; then :
46197   cat >>confdefs.h <<_ACEOF
46198 #define HAVE__ISNANF 1
46199 _ACEOF
46200
46201 fi
46202 done
46203
46204     fi
46205   fi
46206
46207
46208
46209
46210
46211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46212 $as_echo_n "checking for isinff declaration... " >&6; }
46213   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46214     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46215   $as_echo_n "(cached) " >&6
46216 else
46217
46218
46219       ac_ext=cpp
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46224
46225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46226 /* end confdefs.h.  */
46227 #include <math.h>
46228                       #ifdef HAVE_IEEEFP_H
46229                       #include <ieeefp.h>
46230                       #endif
46231
46232 int
46233 main ()
46234 {
46235  isinff(0);
46236   ;
46237   return 0;
46238 }
46239 _ACEOF
46240 if ac_fn_cxx_try_compile "$LINENO"; then :
46241   glibcxx_cv_func_isinff_use=yes
46242 else
46243   glibcxx_cv_func_isinff_use=no
46244 fi
46245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46246       ac_ext=c
46247 ac_cpp='$CPP $CPPFLAGS'
46248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46251
46252
46253 fi
46254
46255   fi
46256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46257 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46258
46259   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46260     for ac_func in isinff
46261 do :
46262   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46263 if test "x$ac_cv_func_isinff" = x""yes; then :
46264   cat >>confdefs.h <<_ACEOF
46265 #define HAVE_ISINFF 1
46266 _ACEOF
46267
46268 fi
46269 done
46270
46271   else
46272
46273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46274 $as_echo_n "checking for _isinff declaration... " >&6; }
46275   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46276     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46277   $as_echo_n "(cached) " >&6
46278 else
46279
46280
46281       ac_ext=cpp
46282 ac_cpp='$CXXCPP $CPPFLAGS'
46283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46286
46287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46288 /* end confdefs.h.  */
46289 #include <math.h>
46290                       #ifdef HAVE_IEEEFP_H
46291                       #include <ieeefp.h>
46292                       #endif
46293
46294 int
46295 main ()
46296 {
46297  _isinff(0);
46298   ;
46299   return 0;
46300 }
46301 _ACEOF
46302 if ac_fn_cxx_try_compile "$LINENO"; then :
46303   glibcxx_cv_func__isinff_use=yes
46304 else
46305   glibcxx_cv_func__isinff_use=no
46306 fi
46307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46308       ac_ext=c
46309 ac_cpp='$CPP $CPPFLAGS'
46310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46313
46314
46315 fi
46316
46317   fi
46318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46319 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46320
46321     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46322       for ac_func in _isinff
46323 do :
46324   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46325 if test "x$ac_cv_func__isinff" = x""yes; then :
46326   cat >>confdefs.h <<_ACEOF
46327 #define HAVE__ISINFF 1
46328 _ACEOF
46329
46330 fi
46331 done
46332
46333     fi
46334   fi
46335
46336
46337
46338
46339
46340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46341 $as_echo_n "checking for atan2f declaration... " >&6; }
46342   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46343     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46344   $as_echo_n "(cached) " >&6
46345 else
46346
46347
46348       ac_ext=cpp
46349 ac_cpp='$CXXCPP $CPPFLAGS'
46350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46353
46354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46355 /* end confdefs.h.  */
46356 #include <math.h>
46357 int
46358 main ()
46359 {
46360  atan2f(0, 0);
46361   ;
46362   return 0;
46363 }
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366   glibcxx_cv_func_atan2f_use=yes
46367 else
46368   glibcxx_cv_func_atan2f_use=no
46369 fi
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371       ac_ext=c
46372 ac_cpp='$CPP $CPPFLAGS'
46373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46376
46377
46378 fi
46379
46380   fi
46381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46382 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46383
46384   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46385     for ac_func in atan2f
46386 do :
46387   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46388 if test "x$ac_cv_func_atan2f" = x""yes; then :
46389   cat >>confdefs.h <<_ACEOF
46390 #define HAVE_ATAN2F 1
46391 _ACEOF
46392
46393 fi
46394 done
46395
46396   else
46397
46398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46399 $as_echo_n "checking for _atan2f declaration... " >&6; }
46400   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46401     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46402   $as_echo_n "(cached) " >&6
46403 else
46404
46405
46406       ac_ext=cpp
46407 ac_cpp='$CXXCPP $CPPFLAGS'
46408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46411
46412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46413 /* end confdefs.h.  */
46414 #include <math.h>
46415 int
46416 main ()
46417 {
46418  _atan2f(0, 0);
46419   ;
46420   return 0;
46421 }
46422 _ACEOF
46423 if ac_fn_cxx_try_compile "$LINENO"; then :
46424   glibcxx_cv_func__atan2f_use=yes
46425 else
46426   glibcxx_cv_func__atan2f_use=no
46427 fi
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429       ac_ext=c
46430 ac_cpp='$CPP $CPPFLAGS'
46431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434
46435
46436 fi
46437
46438   fi
46439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46440 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46441
46442     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46443       for ac_func in _atan2f
46444 do :
46445   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46446 if test "x$ac_cv_func__atan2f" = x""yes; then :
46447   cat >>confdefs.h <<_ACEOF
46448 #define HAVE__ATAN2F 1
46449 _ACEOF
46450
46451 fi
46452 done
46453
46454     fi
46455   fi
46456
46457
46458
46459
46460
46461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46462 $as_echo_n "checking for fabsf declaration... " >&6; }
46463   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46464     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46465   $as_echo_n "(cached) " >&6
46466 else
46467
46468
46469       ac_ext=cpp
46470 ac_cpp='$CXXCPP $CPPFLAGS'
46471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46474
46475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46476 /* end confdefs.h.  */
46477 #include <math.h>
46478                       #ifdef HAVE_IEEEFP_H
46479                       #include <ieeefp.h>
46480                       #endif
46481
46482 int
46483 main ()
46484 {
46485  fabsf(0);
46486   ;
46487   return 0;
46488 }
46489 _ACEOF
46490 if ac_fn_cxx_try_compile "$LINENO"; then :
46491   glibcxx_cv_func_fabsf_use=yes
46492 else
46493   glibcxx_cv_func_fabsf_use=no
46494 fi
46495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46496       ac_ext=c
46497 ac_cpp='$CPP $CPPFLAGS'
46498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46501
46502
46503 fi
46504
46505   fi
46506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46507 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46508
46509   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46510     for ac_func in fabsf
46511 do :
46512   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46513 if test "x$ac_cv_func_fabsf" = x""yes; then :
46514   cat >>confdefs.h <<_ACEOF
46515 #define HAVE_FABSF 1
46516 _ACEOF
46517
46518 fi
46519 done
46520
46521   else
46522
46523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46524 $as_echo_n "checking for _fabsf declaration... " >&6; }
46525   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46526     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46527   $as_echo_n "(cached) " >&6
46528 else
46529
46530
46531       ac_ext=cpp
46532 ac_cpp='$CXXCPP $CPPFLAGS'
46533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46536
46537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46538 /* end confdefs.h.  */
46539 #include <math.h>
46540                       #ifdef HAVE_IEEEFP_H
46541                       #include <ieeefp.h>
46542                       #endif
46543
46544 int
46545 main ()
46546 {
46547  _fabsf(0);
46548   ;
46549   return 0;
46550 }
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553   glibcxx_cv_func__fabsf_use=yes
46554 else
46555   glibcxx_cv_func__fabsf_use=no
46556 fi
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558       ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46563
46564
46565 fi
46566
46567   fi
46568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46569 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46570
46571     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46572       for ac_func in _fabsf
46573 do :
46574   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46575 if test "x$ac_cv_func__fabsf" = x""yes; then :
46576   cat >>confdefs.h <<_ACEOF
46577 #define HAVE__FABSF 1
46578 _ACEOF
46579
46580 fi
46581 done
46582
46583     fi
46584   fi
46585
46586
46587
46588
46589
46590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46591 $as_echo_n "checking for fmodf declaration... " >&6; }
46592   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46593     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46594   $as_echo_n "(cached) " >&6
46595 else
46596
46597
46598       ac_ext=cpp
46599 ac_cpp='$CXXCPP $CPPFLAGS'
46600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46603
46604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46605 /* end confdefs.h.  */
46606 #include <math.h>
46607 int
46608 main ()
46609 {
46610  fmodf(0, 0);
46611   ;
46612   return 0;
46613 }
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616   glibcxx_cv_func_fmodf_use=yes
46617 else
46618   glibcxx_cv_func_fmodf_use=no
46619 fi
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621       ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626
46627
46628 fi
46629
46630   fi
46631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46632 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46633
46634   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46635     for ac_func in fmodf
46636 do :
46637   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46638 if test "x$ac_cv_func_fmodf" = x""yes; then :
46639   cat >>confdefs.h <<_ACEOF
46640 #define HAVE_FMODF 1
46641 _ACEOF
46642
46643 fi
46644 done
46645
46646   else
46647
46648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46649 $as_echo_n "checking for _fmodf declaration... " >&6; }
46650   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46651     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46652   $as_echo_n "(cached) " >&6
46653 else
46654
46655
46656       ac_ext=cpp
46657 ac_cpp='$CXXCPP $CPPFLAGS'
46658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46661
46662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46663 /* end confdefs.h.  */
46664 #include <math.h>
46665 int
46666 main ()
46667 {
46668  _fmodf(0, 0);
46669   ;
46670   return 0;
46671 }
46672 _ACEOF
46673 if ac_fn_cxx_try_compile "$LINENO"; then :
46674   glibcxx_cv_func__fmodf_use=yes
46675 else
46676   glibcxx_cv_func__fmodf_use=no
46677 fi
46678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46679       ac_ext=c
46680 ac_cpp='$CPP $CPPFLAGS'
46681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46684
46685
46686 fi
46687
46688   fi
46689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46690 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46691
46692     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46693       for ac_func in _fmodf
46694 do :
46695   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46696 if test "x$ac_cv_func__fmodf" = x""yes; then :
46697   cat >>confdefs.h <<_ACEOF
46698 #define HAVE__FMODF 1
46699 _ACEOF
46700
46701 fi
46702 done
46703
46704     fi
46705   fi
46706
46707
46708
46709
46710
46711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46712 $as_echo_n "checking for frexpf declaration... " >&6; }
46713   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46714     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46715   $as_echo_n "(cached) " >&6
46716 else
46717
46718
46719       ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724
46725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h.  */
46727 #include <math.h>
46728 int
46729 main ()
46730 {
46731  frexpf(0, 0);
46732   ;
46733   return 0;
46734 }
46735 _ACEOF
46736 if ac_fn_cxx_try_compile "$LINENO"; then :
46737   glibcxx_cv_func_frexpf_use=yes
46738 else
46739   glibcxx_cv_func_frexpf_use=no
46740 fi
46741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46742       ac_ext=c
46743 ac_cpp='$CPP $CPPFLAGS'
46744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46747
46748
46749 fi
46750
46751   fi
46752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46753 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46754
46755   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46756     for ac_func in frexpf
46757 do :
46758   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46759 if test "x$ac_cv_func_frexpf" = x""yes; then :
46760   cat >>confdefs.h <<_ACEOF
46761 #define HAVE_FREXPF 1
46762 _ACEOF
46763
46764 fi
46765 done
46766
46767   else
46768
46769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46770 $as_echo_n "checking for _frexpf declaration... " >&6; }
46771   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46772     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46773   $as_echo_n "(cached) " >&6
46774 else
46775
46776
46777       ac_ext=cpp
46778 ac_cpp='$CXXCPP $CPPFLAGS'
46779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782
46783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46784 /* end confdefs.h.  */
46785 #include <math.h>
46786 int
46787 main ()
46788 {
46789  _frexpf(0, 0);
46790   ;
46791   return 0;
46792 }
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795   glibcxx_cv_func__frexpf_use=yes
46796 else
46797   glibcxx_cv_func__frexpf_use=no
46798 fi
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800       ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805
46806
46807 fi
46808
46809   fi
46810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46811 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46812
46813     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46814       for ac_func in _frexpf
46815 do :
46816   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46817 if test "x$ac_cv_func__frexpf" = x""yes; then :
46818   cat >>confdefs.h <<_ACEOF
46819 #define HAVE__FREXPF 1
46820 _ACEOF
46821
46822 fi
46823 done
46824
46825     fi
46826   fi
46827
46828
46829
46830
46831
46832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46833 $as_echo_n "checking for hypotf declaration... " >&6; }
46834   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46835     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46836   $as_echo_n "(cached) " >&6
46837 else
46838
46839
46840       ac_ext=cpp
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46845
46846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h.  */
46848 #include <math.h>
46849 int
46850 main ()
46851 {
46852  hypotf(0, 0);
46853   ;
46854   return 0;
46855 }
46856 _ACEOF
46857 if ac_fn_cxx_try_compile "$LINENO"; then :
46858   glibcxx_cv_func_hypotf_use=yes
46859 else
46860   glibcxx_cv_func_hypotf_use=no
46861 fi
46862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46863       ac_ext=c
46864 ac_cpp='$CPP $CPPFLAGS'
46865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46868
46869
46870 fi
46871
46872   fi
46873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46874 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46875
46876   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46877     for ac_func in hypotf
46878 do :
46879   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46880 if test "x$ac_cv_func_hypotf" = x""yes; then :
46881   cat >>confdefs.h <<_ACEOF
46882 #define HAVE_HYPOTF 1
46883 _ACEOF
46884
46885 fi
46886 done
46887
46888   else
46889
46890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46891 $as_echo_n "checking for _hypotf declaration... " >&6; }
46892   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46893     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46894   $as_echo_n "(cached) " >&6
46895 else
46896
46897
46898       ac_ext=cpp
46899 ac_cpp='$CXXCPP $CPPFLAGS'
46900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46903
46904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46905 /* end confdefs.h.  */
46906 #include <math.h>
46907 int
46908 main ()
46909 {
46910  _hypotf(0, 0);
46911   ;
46912   return 0;
46913 }
46914 _ACEOF
46915 if ac_fn_cxx_try_compile "$LINENO"; then :
46916   glibcxx_cv_func__hypotf_use=yes
46917 else
46918   glibcxx_cv_func__hypotf_use=no
46919 fi
46920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46921       ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926
46927
46928 fi
46929
46930   fi
46931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46932 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46933
46934     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46935       for ac_func in _hypotf
46936 do :
46937   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46938 if test "x$ac_cv_func__hypotf" = x""yes; then :
46939   cat >>confdefs.h <<_ACEOF
46940 #define HAVE__HYPOTF 1
46941 _ACEOF
46942
46943 fi
46944 done
46945
46946     fi
46947   fi
46948
46949
46950
46951
46952
46953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46954 $as_echo_n "checking for ldexpf declaration... " >&6; }
46955   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46956     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46957   $as_echo_n "(cached) " >&6
46958 else
46959
46960
46961       ac_ext=cpp
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46966
46967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46968 /* end confdefs.h.  */
46969 #include <math.h>
46970 int
46971 main ()
46972 {
46973  ldexpf(0, 0);
46974   ;
46975   return 0;
46976 }
46977 _ACEOF
46978 if ac_fn_cxx_try_compile "$LINENO"; then :
46979   glibcxx_cv_func_ldexpf_use=yes
46980 else
46981   glibcxx_cv_func_ldexpf_use=no
46982 fi
46983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46984       ac_ext=c
46985 ac_cpp='$CPP $CPPFLAGS'
46986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46989
46990
46991 fi
46992
46993   fi
46994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46995 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46996
46997   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46998     for ac_func in ldexpf
46999 do :
47000   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47001 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47002   cat >>confdefs.h <<_ACEOF
47003 #define HAVE_LDEXPF 1
47004 _ACEOF
47005
47006 fi
47007 done
47008
47009   else
47010
47011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47012 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47013   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47014     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47015   $as_echo_n "(cached) " >&6
47016 else
47017
47018
47019       ac_ext=cpp
47020 ac_cpp='$CXXCPP $CPPFLAGS'
47021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47024
47025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47026 /* end confdefs.h.  */
47027 #include <math.h>
47028 int
47029 main ()
47030 {
47031  _ldexpf(0, 0);
47032   ;
47033   return 0;
47034 }
47035 _ACEOF
47036 if ac_fn_cxx_try_compile "$LINENO"; then :
47037   glibcxx_cv_func__ldexpf_use=yes
47038 else
47039   glibcxx_cv_func__ldexpf_use=no
47040 fi
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47042       ac_ext=c
47043 ac_cpp='$CPP $CPPFLAGS'
47044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47047
47048
47049 fi
47050
47051   fi
47052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47053 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47054
47055     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47056       for ac_func in _ldexpf
47057 do :
47058   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47059 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47060   cat >>confdefs.h <<_ACEOF
47061 #define HAVE__LDEXPF 1
47062 _ACEOF
47063
47064 fi
47065 done
47066
47067     fi
47068   fi
47069
47070
47071
47072
47073
47074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47075 $as_echo_n "checking for logf declaration... " >&6; }
47076   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47077     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47078   $as_echo_n "(cached) " >&6
47079 else
47080
47081
47082       ac_ext=cpp
47083 ac_cpp='$CXXCPP $CPPFLAGS'
47084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087
47088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47089 /* end confdefs.h.  */
47090 #include <math.h>
47091                       #ifdef HAVE_IEEEFP_H
47092                       #include <ieeefp.h>
47093                       #endif
47094
47095 int
47096 main ()
47097 {
47098  logf(0);
47099   ;
47100   return 0;
47101 }
47102 _ACEOF
47103 if ac_fn_cxx_try_compile "$LINENO"; then :
47104   glibcxx_cv_func_logf_use=yes
47105 else
47106   glibcxx_cv_func_logf_use=no
47107 fi
47108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47109       ac_ext=c
47110 ac_cpp='$CPP $CPPFLAGS'
47111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47114
47115
47116 fi
47117
47118   fi
47119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47120 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47121
47122   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47123     for ac_func in logf
47124 do :
47125   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47126 if test "x$ac_cv_func_logf" = x""yes; then :
47127   cat >>confdefs.h <<_ACEOF
47128 #define HAVE_LOGF 1
47129 _ACEOF
47130
47131 fi
47132 done
47133
47134   else
47135
47136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47137 $as_echo_n "checking for _logf declaration... " >&6; }
47138   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47139     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47140   $as_echo_n "(cached) " >&6
47141 else
47142
47143
47144       ac_ext=cpp
47145 ac_cpp='$CXXCPP $CPPFLAGS'
47146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47149
47150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47151 /* end confdefs.h.  */
47152 #include <math.h>
47153                       #ifdef HAVE_IEEEFP_H
47154                       #include <ieeefp.h>
47155                       #endif
47156
47157 int
47158 main ()
47159 {
47160  _logf(0);
47161   ;
47162   return 0;
47163 }
47164 _ACEOF
47165 if ac_fn_cxx_try_compile "$LINENO"; then :
47166   glibcxx_cv_func__logf_use=yes
47167 else
47168   glibcxx_cv_func__logf_use=no
47169 fi
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47171       ac_ext=c
47172 ac_cpp='$CPP $CPPFLAGS'
47173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47176
47177
47178 fi
47179
47180   fi
47181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47182 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47183
47184     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47185       for ac_func in _logf
47186 do :
47187   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47188 if test "x$ac_cv_func__logf" = x""yes; then :
47189   cat >>confdefs.h <<_ACEOF
47190 #define HAVE__LOGF 1
47191 _ACEOF
47192
47193 fi
47194 done
47195
47196     fi
47197   fi
47198
47199
47200
47201
47202
47203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47204 $as_echo_n "checking for log10f declaration... " >&6; }
47205   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47206     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47207   $as_echo_n "(cached) " >&6
47208 else
47209
47210
47211       ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216
47217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h.  */
47219 #include <math.h>
47220                       #ifdef HAVE_IEEEFP_H
47221                       #include <ieeefp.h>
47222                       #endif
47223
47224 int
47225 main ()
47226 {
47227  log10f(0);
47228   ;
47229   return 0;
47230 }
47231 _ACEOF
47232 if ac_fn_cxx_try_compile "$LINENO"; then :
47233   glibcxx_cv_func_log10f_use=yes
47234 else
47235   glibcxx_cv_func_log10f_use=no
47236 fi
47237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47238       ac_ext=c
47239 ac_cpp='$CPP $CPPFLAGS'
47240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47243
47244
47245 fi
47246
47247   fi
47248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47249 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47250
47251   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47252     for ac_func in log10f
47253 do :
47254   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47255 if test "x$ac_cv_func_log10f" = x""yes; then :
47256   cat >>confdefs.h <<_ACEOF
47257 #define HAVE_LOG10F 1
47258 _ACEOF
47259
47260 fi
47261 done
47262
47263   else
47264
47265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47266 $as_echo_n "checking for _log10f declaration... " >&6; }
47267   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47268     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47269   $as_echo_n "(cached) " >&6
47270 else
47271
47272
47273       ac_ext=cpp
47274 ac_cpp='$CXXCPP $CPPFLAGS'
47275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47278
47279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47280 /* end confdefs.h.  */
47281 #include <math.h>
47282                       #ifdef HAVE_IEEEFP_H
47283                       #include <ieeefp.h>
47284                       #endif
47285
47286 int
47287 main ()
47288 {
47289  _log10f(0);
47290   ;
47291   return 0;
47292 }
47293 _ACEOF
47294 if ac_fn_cxx_try_compile "$LINENO"; then :
47295   glibcxx_cv_func__log10f_use=yes
47296 else
47297   glibcxx_cv_func__log10f_use=no
47298 fi
47299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47300       ac_ext=c
47301 ac_cpp='$CPP $CPPFLAGS'
47302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47305
47306
47307 fi
47308
47309   fi
47310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47311 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47312
47313     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47314       for ac_func in _log10f
47315 do :
47316   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47317 if test "x$ac_cv_func__log10f" = x""yes; then :
47318   cat >>confdefs.h <<_ACEOF
47319 #define HAVE__LOG10F 1
47320 _ACEOF
47321
47322 fi
47323 done
47324
47325     fi
47326   fi
47327
47328
47329
47330
47331
47332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47333 $as_echo_n "checking for modff declaration... " >&6; }
47334   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47335     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47336   $as_echo_n "(cached) " >&6
47337 else
47338
47339
47340       ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47345
47346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h.  */
47348 #include <math.h>
47349 int
47350 main ()
47351 {
47352  modff(0, 0);
47353   ;
47354   return 0;
47355 }
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358   glibcxx_cv_func_modff_use=yes
47359 else
47360   glibcxx_cv_func_modff_use=no
47361 fi
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363       ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47368
47369
47370 fi
47371
47372   fi
47373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47374 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47375
47376   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47377     for ac_func in modff
47378 do :
47379   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47380 if test "x$ac_cv_func_modff" = x""yes; then :
47381   cat >>confdefs.h <<_ACEOF
47382 #define HAVE_MODFF 1
47383 _ACEOF
47384
47385 fi
47386 done
47387
47388   else
47389
47390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47391 $as_echo_n "checking for _modff declaration... " >&6; }
47392   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47393     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47394   $as_echo_n "(cached) " >&6
47395 else
47396
47397
47398       ac_ext=cpp
47399 ac_cpp='$CXXCPP $CPPFLAGS'
47400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47403
47404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47405 /* end confdefs.h.  */
47406 #include <math.h>
47407 int
47408 main ()
47409 {
47410  _modff(0, 0);
47411   ;
47412   return 0;
47413 }
47414 _ACEOF
47415 if ac_fn_cxx_try_compile "$LINENO"; then :
47416   glibcxx_cv_func__modff_use=yes
47417 else
47418   glibcxx_cv_func__modff_use=no
47419 fi
47420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47421       ac_ext=c
47422 ac_cpp='$CPP $CPPFLAGS'
47423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426
47427
47428 fi
47429
47430   fi
47431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47432 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47433
47434     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47435       for ac_func in _modff
47436 do :
47437   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47438 if test "x$ac_cv_func__modff" = x""yes; then :
47439   cat >>confdefs.h <<_ACEOF
47440 #define HAVE__MODFF 1
47441 _ACEOF
47442
47443 fi
47444 done
47445
47446     fi
47447   fi
47448
47449
47450
47451
47452
47453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47454 $as_echo_n "checking for modf declaration... " >&6; }
47455   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47456     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47457   $as_echo_n "(cached) " >&6
47458 else
47459
47460
47461       ac_ext=cpp
47462 ac_cpp='$CXXCPP $CPPFLAGS'
47463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47466
47467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468 /* end confdefs.h.  */
47469 #include <math.h>
47470 int
47471 main ()
47472 {
47473  modf(0, 0);
47474   ;
47475   return 0;
47476 }
47477 _ACEOF
47478 if ac_fn_cxx_try_compile "$LINENO"; then :
47479   glibcxx_cv_func_modf_use=yes
47480 else
47481   glibcxx_cv_func_modf_use=no
47482 fi
47483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47484       ac_ext=c
47485 ac_cpp='$CPP $CPPFLAGS'
47486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47489
47490
47491 fi
47492
47493   fi
47494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47495 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47496
47497   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47498     for ac_func in modf
47499 do :
47500   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47501 if test "x$ac_cv_func_modf" = x""yes; then :
47502   cat >>confdefs.h <<_ACEOF
47503 #define HAVE_MODF 1
47504 _ACEOF
47505
47506 fi
47507 done
47508
47509   else
47510
47511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47512 $as_echo_n "checking for _modf declaration... " >&6; }
47513   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47514     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47515   $as_echo_n "(cached) " >&6
47516 else
47517
47518
47519       ac_ext=cpp
47520 ac_cpp='$CXXCPP $CPPFLAGS'
47521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524
47525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526 /* end confdefs.h.  */
47527 #include <math.h>
47528 int
47529 main ()
47530 {
47531  _modf(0, 0);
47532   ;
47533   return 0;
47534 }
47535 _ACEOF
47536 if ac_fn_cxx_try_compile "$LINENO"; then :
47537   glibcxx_cv_func__modf_use=yes
47538 else
47539   glibcxx_cv_func__modf_use=no
47540 fi
47541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47542       ac_ext=c
47543 ac_cpp='$CPP $CPPFLAGS'
47544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47547
47548
47549 fi
47550
47551   fi
47552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47553 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47554
47555     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47556       for ac_func in _modf
47557 do :
47558   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47559 if test "x$ac_cv_func__modf" = x""yes; then :
47560   cat >>confdefs.h <<_ACEOF
47561 #define HAVE__MODF 1
47562 _ACEOF
47563
47564 fi
47565 done
47566
47567     fi
47568   fi
47569
47570
47571
47572
47573
47574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47575 $as_echo_n "checking for powf declaration... " >&6; }
47576   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47577     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47578   $as_echo_n "(cached) " >&6
47579 else
47580
47581
47582       ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587
47588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h.  */
47590 #include <math.h>
47591 int
47592 main ()
47593 {
47594  powf(0, 0);
47595   ;
47596   return 0;
47597 }
47598 _ACEOF
47599 if ac_fn_cxx_try_compile "$LINENO"; then :
47600   glibcxx_cv_func_powf_use=yes
47601 else
47602   glibcxx_cv_func_powf_use=no
47603 fi
47604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47605       ac_ext=c
47606 ac_cpp='$CPP $CPPFLAGS'
47607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47610
47611
47612 fi
47613
47614   fi
47615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47616 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47617
47618   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47619     for ac_func in powf
47620 do :
47621   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47622 if test "x$ac_cv_func_powf" = x""yes; then :
47623   cat >>confdefs.h <<_ACEOF
47624 #define HAVE_POWF 1
47625 _ACEOF
47626
47627 fi
47628 done
47629
47630   else
47631
47632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47633 $as_echo_n "checking for _powf declaration... " >&6; }
47634   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47635     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47636   $as_echo_n "(cached) " >&6
47637 else
47638
47639
47640       ac_ext=cpp
47641 ac_cpp='$CXXCPP $CPPFLAGS'
47642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47645
47646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47647 /* end confdefs.h.  */
47648 #include <math.h>
47649 int
47650 main ()
47651 {
47652  _powf(0, 0);
47653   ;
47654   return 0;
47655 }
47656 _ACEOF
47657 if ac_fn_cxx_try_compile "$LINENO"; then :
47658   glibcxx_cv_func__powf_use=yes
47659 else
47660   glibcxx_cv_func__powf_use=no
47661 fi
47662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47663       ac_ext=c
47664 ac_cpp='$CPP $CPPFLAGS'
47665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668
47669
47670 fi
47671
47672   fi
47673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47674 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47675
47676     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47677       for ac_func in _powf
47678 do :
47679   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47680 if test "x$ac_cv_func__powf" = x""yes; then :
47681   cat >>confdefs.h <<_ACEOF
47682 #define HAVE__POWF 1
47683 _ACEOF
47684
47685 fi
47686 done
47687
47688     fi
47689   fi
47690
47691
47692
47693
47694
47695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47696 $as_echo_n "checking for sqrtf declaration... " >&6; }
47697   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47698     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47699   $as_echo_n "(cached) " >&6
47700 else
47701
47702
47703       ac_ext=cpp
47704 ac_cpp='$CXXCPP $CPPFLAGS'
47705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708
47709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47710 /* end confdefs.h.  */
47711 #include <math.h>
47712                       #ifdef HAVE_IEEEFP_H
47713                       #include <ieeefp.h>
47714                       #endif
47715
47716 int
47717 main ()
47718 {
47719  sqrtf(0);
47720   ;
47721   return 0;
47722 }
47723 _ACEOF
47724 if ac_fn_cxx_try_compile "$LINENO"; then :
47725   glibcxx_cv_func_sqrtf_use=yes
47726 else
47727   glibcxx_cv_func_sqrtf_use=no
47728 fi
47729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730       ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737 fi
47738
47739   fi
47740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47741 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47742
47743   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47744     for ac_func in sqrtf
47745 do :
47746   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47747 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47748   cat >>confdefs.h <<_ACEOF
47749 #define HAVE_SQRTF 1
47750 _ACEOF
47751
47752 fi
47753 done
47754
47755   else
47756
47757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47758 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47759   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47760     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47761   $as_echo_n "(cached) " >&6
47762 else
47763
47764
47765       ac_ext=cpp
47766 ac_cpp='$CXXCPP $CPPFLAGS'
47767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47770
47771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47772 /* end confdefs.h.  */
47773 #include <math.h>
47774                       #ifdef HAVE_IEEEFP_H
47775                       #include <ieeefp.h>
47776                       #endif
47777
47778 int
47779 main ()
47780 {
47781  _sqrtf(0);
47782   ;
47783   return 0;
47784 }
47785 _ACEOF
47786 if ac_fn_cxx_try_compile "$LINENO"; then :
47787   glibcxx_cv_func__sqrtf_use=yes
47788 else
47789   glibcxx_cv_func__sqrtf_use=no
47790 fi
47791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47792       ac_ext=c
47793 ac_cpp='$CPP $CPPFLAGS'
47794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47797
47798
47799 fi
47800
47801   fi
47802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47803 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47804
47805     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47806       for ac_func in _sqrtf
47807 do :
47808   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47809 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47810   cat >>confdefs.h <<_ACEOF
47811 #define HAVE__SQRTF 1
47812 _ACEOF
47813
47814 fi
47815 done
47816
47817     fi
47818   fi
47819
47820
47821
47822
47823
47824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47825 $as_echo_n "checking for sincosf declaration... " >&6; }
47826   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47827     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47828   $as_echo_n "(cached) " >&6
47829 else
47830
47831
47832       ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837
47838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h.  */
47840 #include <math.h>
47841 int
47842 main ()
47843 {
47844  sincosf(0, 0, 0);
47845   ;
47846   return 0;
47847 }
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850   glibcxx_cv_func_sincosf_use=yes
47851 else
47852   glibcxx_cv_func_sincosf_use=no
47853 fi
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855       ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47860
47861
47862 fi
47863
47864   fi
47865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47866 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47867
47868   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47869     for ac_func in sincosf
47870 do :
47871   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47872 if test "x$ac_cv_func_sincosf" = x""yes; then :
47873   cat >>confdefs.h <<_ACEOF
47874 #define HAVE_SINCOSF 1
47875 _ACEOF
47876
47877 fi
47878 done
47879
47880   else
47881
47882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47883 $as_echo_n "checking for _sincosf declaration... " >&6; }
47884   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47885     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47886   $as_echo_n "(cached) " >&6
47887 else
47888
47889
47890       ac_ext=cpp
47891 ac_cpp='$CXXCPP $CPPFLAGS'
47892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47895
47896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47897 /* end confdefs.h.  */
47898 #include <math.h>
47899 int
47900 main ()
47901 {
47902  _sincosf(0, 0, 0);
47903   ;
47904   return 0;
47905 }
47906 _ACEOF
47907 if ac_fn_cxx_try_compile "$LINENO"; then :
47908   glibcxx_cv_func__sincosf_use=yes
47909 else
47910   glibcxx_cv_func__sincosf_use=no
47911 fi
47912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47913       ac_ext=c
47914 ac_cpp='$CPP $CPPFLAGS'
47915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918
47919
47920 fi
47921
47922   fi
47923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47924 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47925
47926     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47927       for ac_func in _sincosf
47928 do :
47929   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47930 if test "x$ac_cv_func__sincosf" = x""yes; then :
47931   cat >>confdefs.h <<_ACEOF
47932 #define HAVE__SINCOSF 1
47933 _ACEOF
47934
47935 fi
47936 done
47937
47938     fi
47939   fi
47940
47941
47942
47943
47944
47945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47946 $as_echo_n "checking for finitef declaration... " >&6; }
47947   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47948     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47949   $as_echo_n "(cached) " >&6
47950 else
47951
47952
47953       ac_ext=cpp
47954 ac_cpp='$CXXCPP $CPPFLAGS'
47955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47958
47959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47960 /* end confdefs.h.  */
47961 #include <math.h>
47962                       #ifdef HAVE_IEEEFP_H
47963                       #include <ieeefp.h>
47964                       #endif
47965
47966 int
47967 main ()
47968 {
47969  finitef(0);
47970   ;
47971   return 0;
47972 }
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975   glibcxx_cv_func_finitef_use=yes
47976 else
47977   glibcxx_cv_func_finitef_use=no
47978 fi
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980       ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985
47986
47987 fi
47988
47989   fi
47990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47991 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47992
47993   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47994     for ac_func in finitef
47995 do :
47996   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47997 if test "x$ac_cv_func_finitef" = x""yes; then :
47998   cat >>confdefs.h <<_ACEOF
47999 #define HAVE_FINITEF 1
48000 _ACEOF
48001
48002 fi
48003 done
48004
48005   else
48006
48007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48008 $as_echo_n "checking for _finitef declaration... " >&6; }
48009   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48010     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48011   $as_echo_n "(cached) " >&6
48012 else
48013
48014
48015       ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020
48021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h.  */
48023 #include <math.h>
48024                       #ifdef HAVE_IEEEFP_H
48025                       #include <ieeefp.h>
48026                       #endif
48027
48028 int
48029 main ()
48030 {
48031  _finitef(0);
48032   ;
48033   return 0;
48034 }
48035 _ACEOF
48036 if ac_fn_cxx_try_compile "$LINENO"; then :
48037   glibcxx_cv_func__finitef_use=yes
48038 else
48039   glibcxx_cv_func__finitef_use=no
48040 fi
48041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48042       ac_ext=c
48043 ac_cpp='$CPP $CPPFLAGS'
48044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48047
48048
48049 fi
48050
48051   fi
48052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48053 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48054
48055     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48056       for ac_func in _finitef
48057 do :
48058   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48059 if test "x$ac_cv_func__finitef" = x""yes; then :
48060   cat >>confdefs.h <<_ACEOF
48061 #define HAVE__FINITEF 1
48062 _ACEOF
48063
48064 fi
48065 done
48066
48067     fi
48068   fi
48069
48070
48071
48072
48073
48074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48075 $as_echo_n "checking for long double trig functions... " >&6; }
48076   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48077   $as_echo_n "(cached) " >&6
48078 else
48079
48080
48081     ac_ext=cpp
48082 ac_cpp='$CXXCPP $CPPFLAGS'
48083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48086
48087     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48088 /* end confdefs.h.  */
48089 #include <math.h>
48090 int
48091 main ()
48092 {
48093 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48094   ;
48095   return 0;
48096 }
48097 _ACEOF
48098 if ac_fn_cxx_try_compile "$LINENO"; then :
48099   glibcxx_cv_func_long_double_trig_use=yes
48100 else
48101   glibcxx_cv_func_long_double_trig_use=no
48102 fi
48103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48104     ac_ext=c
48105 ac_cpp='$CPP $CPPFLAGS'
48106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48109
48110 fi
48111
48112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48113 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48114   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48115     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48116 do :
48117   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48119 eval as_val=\$$as_ac_var
48120    if test "x$as_val" = x""yes; then :
48121   cat >>confdefs.h <<_ACEOF
48122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48123 _ACEOF
48124
48125 fi
48126 done
48127
48128   else
48129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48130 $as_echo_n "checking for _long double trig functions... " >&6; }
48131     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48132   $as_echo_n "(cached) " >&6
48133 else
48134
48135
48136       ac_ext=cpp
48137 ac_cpp='$CXXCPP $CPPFLAGS'
48138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141
48142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48143 /* end confdefs.h.  */
48144 #include <math.h>
48145 int
48146 main ()
48147 {
48148 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48149   ;
48150   return 0;
48151 }
48152 _ACEOF
48153 if ac_fn_cxx_try_compile "$LINENO"; then :
48154   glibcxx_cv_func__long_double_trig_use=yes
48155 else
48156   glibcxx_cv_func__long_double_trig_use=no
48157 fi
48158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48159       ac_ext=c
48160 ac_cpp='$CPP $CPPFLAGS'
48161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48164
48165 fi
48166
48167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48168 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48169     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48170       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48171 do :
48172   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48174 eval as_val=\$$as_ac_var
48175    if test "x$as_val" = x""yes; then :
48176   cat >>confdefs.h <<_ACEOF
48177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48178 _ACEOF
48179
48180 fi
48181 done
48182
48183     fi
48184   fi
48185
48186
48187
48188
48189
48190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48191 $as_echo_n "checking for long double round functions... " >&6; }
48192   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48193   $as_echo_n "(cached) " >&6
48194 else
48195
48196
48197     ac_ext=cpp
48198 ac_cpp='$CXXCPP $CPPFLAGS'
48199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48202
48203     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48204 /* end confdefs.h.  */
48205 #include <math.h>
48206 int
48207 main ()
48208 {
48209 ceill (0); floorl (0);
48210   ;
48211   return 0;
48212 }
48213 _ACEOF
48214 if ac_fn_cxx_try_compile "$LINENO"; then :
48215   glibcxx_cv_func_long_double_round_use=yes
48216 else
48217   glibcxx_cv_func_long_double_round_use=no
48218 fi
48219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48220     ac_ext=c
48221 ac_cpp='$CPP $CPPFLAGS'
48222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48225
48226 fi
48227
48228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48229 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48230   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48231     for ac_func in ceill floorl
48232 do :
48233   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48235 eval as_val=\$$as_ac_var
48236    if test "x$as_val" = x""yes; then :
48237   cat >>confdefs.h <<_ACEOF
48238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48239 _ACEOF
48240
48241 fi
48242 done
48243
48244   else
48245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48246 $as_echo_n "checking for _long double round functions... " >&6; }
48247     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48248   $as_echo_n "(cached) " >&6
48249 else
48250
48251
48252       ac_ext=cpp
48253 ac_cpp='$CXXCPP $CPPFLAGS'
48254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257
48258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48259 /* end confdefs.h.  */
48260 #include <math.h>
48261 int
48262 main ()
48263 {
48264 _ceill (0); _floorl (0);
48265   ;
48266   return 0;
48267 }
48268 _ACEOF
48269 if ac_fn_cxx_try_compile "$LINENO"; then :
48270   glibcxx_cv_func__long_double_round_use=yes
48271 else
48272   glibcxx_cv_func__long_double_round_use=no
48273 fi
48274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48275       ac_ext=c
48276 ac_cpp='$CPP $CPPFLAGS'
48277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48280
48281 fi
48282
48283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48284 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48285     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48286       for ac_func in _ceill _floorl
48287 do :
48288   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48290 eval as_val=\$$as_ac_var
48291    if test "x$as_val" = x""yes; then :
48292   cat >>confdefs.h <<_ACEOF
48293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48294 _ACEOF
48295
48296 fi
48297 done
48298
48299     fi
48300   fi
48301
48302
48303
48304
48305
48306
48307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48308 $as_echo_n "checking for isnanl declaration... " >&6; }
48309   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48310     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48311   $as_echo_n "(cached) " >&6
48312 else
48313
48314
48315       ac_ext=cpp
48316 ac_cpp='$CXXCPP $CPPFLAGS'
48317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48320
48321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48322 /* end confdefs.h.  */
48323 #include <math.h>
48324                       #ifdef HAVE_IEEEFP_H
48325                       #include <ieeefp.h>
48326                       #endif
48327
48328 int
48329 main ()
48330 {
48331  isnanl(0);
48332   ;
48333   return 0;
48334 }
48335 _ACEOF
48336 if ac_fn_cxx_try_compile "$LINENO"; then :
48337   glibcxx_cv_func_isnanl_use=yes
48338 else
48339   glibcxx_cv_func_isnanl_use=no
48340 fi
48341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48342       ac_ext=c
48343 ac_cpp='$CPP $CPPFLAGS'
48344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347
48348
48349 fi
48350
48351   fi
48352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48353 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48354
48355   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48356     for ac_func in isnanl
48357 do :
48358   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48359 if test "x$ac_cv_func_isnanl" = x""yes; then :
48360   cat >>confdefs.h <<_ACEOF
48361 #define HAVE_ISNANL 1
48362 _ACEOF
48363
48364 fi
48365 done
48366
48367   else
48368
48369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48370 $as_echo_n "checking for _isnanl declaration... " >&6; }
48371   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48372     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48373   $as_echo_n "(cached) " >&6
48374 else
48375
48376
48377       ac_ext=cpp
48378 ac_cpp='$CXXCPP $CPPFLAGS'
48379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382
48383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384 /* end confdefs.h.  */
48385 #include <math.h>
48386                       #ifdef HAVE_IEEEFP_H
48387                       #include <ieeefp.h>
48388                       #endif
48389
48390 int
48391 main ()
48392 {
48393  _isnanl(0);
48394   ;
48395   return 0;
48396 }
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399   glibcxx_cv_func__isnanl_use=yes
48400 else
48401   glibcxx_cv_func__isnanl_use=no
48402 fi
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404       ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409
48410
48411 fi
48412
48413   fi
48414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48415 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48416
48417     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48418       for ac_func in _isnanl
48419 do :
48420   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48421 if test "x$ac_cv_func__isnanl" = x""yes; then :
48422   cat >>confdefs.h <<_ACEOF
48423 #define HAVE__ISNANL 1
48424 _ACEOF
48425
48426 fi
48427 done
48428
48429     fi
48430   fi
48431
48432
48433
48434
48435
48436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48437 $as_echo_n "checking for isinfl declaration... " >&6; }
48438   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48439     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48440   $as_echo_n "(cached) " >&6
48441 else
48442
48443
48444       ac_ext=cpp
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449
48450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451 /* end confdefs.h.  */
48452 #include <math.h>
48453                       #ifdef HAVE_IEEEFP_H
48454                       #include <ieeefp.h>
48455                       #endif
48456
48457 int
48458 main ()
48459 {
48460  isinfl(0);
48461   ;
48462   return 0;
48463 }
48464 _ACEOF
48465 if ac_fn_cxx_try_compile "$LINENO"; then :
48466   glibcxx_cv_func_isinfl_use=yes
48467 else
48468   glibcxx_cv_func_isinfl_use=no
48469 fi
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471       ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476
48477
48478 fi
48479
48480   fi
48481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48482 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48483
48484   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48485     for ac_func in isinfl
48486 do :
48487   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48488 if test "x$ac_cv_func_isinfl" = x""yes; then :
48489   cat >>confdefs.h <<_ACEOF
48490 #define HAVE_ISINFL 1
48491 _ACEOF
48492
48493 fi
48494 done
48495
48496   else
48497
48498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48499 $as_echo_n "checking for _isinfl declaration... " >&6; }
48500   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48501     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48502   $as_echo_n "(cached) " >&6
48503 else
48504
48505
48506       ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48511
48512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h.  */
48514 #include <math.h>
48515                       #ifdef HAVE_IEEEFP_H
48516                       #include <ieeefp.h>
48517                       #endif
48518
48519 int
48520 main ()
48521 {
48522  _isinfl(0);
48523   ;
48524   return 0;
48525 }
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528   glibcxx_cv_func__isinfl_use=yes
48529 else
48530   glibcxx_cv_func__isinfl_use=no
48531 fi
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533       ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538
48539
48540 fi
48541
48542   fi
48543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48544 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48545
48546     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48547       for ac_func in _isinfl
48548 do :
48549   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48550 if test "x$ac_cv_func__isinfl" = x""yes; then :
48551   cat >>confdefs.h <<_ACEOF
48552 #define HAVE__ISINFL 1
48553 _ACEOF
48554
48555 fi
48556 done
48557
48558     fi
48559   fi
48560
48561
48562
48563
48564
48565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48566 $as_echo_n "checking for atan2l declaration... " >&6; }
48567   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48568     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48569   $as_echo_n "(cached) " >&6
48570 else
48571
48572
48573       ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48578
48579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h.  */
48581 #include <math.h>
48582 int
48583 main ()
48584 {
48585  atan2l(0, 0);
48586   ;
48587   return 0;
48588 }
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591   glibcxx_cv_func_atan2l_use=yes
48592 else
48593   glibcxx_cv_func_atan2l_use=no
48594 fi
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596       ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603 fi
48604
48605   fi
48606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48607 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48608
48609   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48610     for ac_func in atan2l
48611 do :
48612   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48613 if test "x$ac_cv_func_atan2l" = x""yes; then :
48614   cat >>confdefs.h <<_ACEOF
48615 #define HAVE_ATAN2L 1
48616 _ACEOF
48617
48618 fi
48619 done
48620
48621   else
48622
48623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48624 $as_echo_n "checking for _atan2l declaration... " >&6; }
48625   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48626     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48627   $as_echo_n "(cached) " >&6
48628 else
48629
48630
48631       ac_ext=cpp
48632 ac_cpp='$CXXCPP $CPPFLAGS'
48633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636
48637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638 /* end confdefs.h.  */
48639 #include <math.h>
48640 int
48641 main ()
48642 {
48643  _atan2l(0, 0);
48644   ;
48645   return 0;
48646 }
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649   glibcxx_cv_func__atan2l_use=yes
48650 else
48651   glibcxx_cv_func__atan2l_use=no
48652 fi
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654       ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659
48660
48661 fi
48662
48663   fi
48664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48665 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48666
48667     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48668       for ac_func in _atan2l
48669 do :
48670   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48671 if test "x$ac_cv_func__atan2l" = x""yes; then :
48672   cat >>confdefs.h <<_ACEOF
48673 #define HAVE__ATAN2L 1
48674 _ACEOF
48675
48676 fi
48677 done
48678
48679     fi
48680   fi
48681
48682
48683
48684
48685
48686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48687 $as_echo_n "checking for expl declaration... " >&6; }
48688   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48689     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48690   $as_echo_n "(cached) " >&6
48691 else
48692
48693
48694       ac_ext=cpp
48695 ac_cpp='$CXXCPP $CPPFLAGS'
48696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48699
48700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48701 /* end confdefs.h.  */
48702 #include <math.h>
48703                       #ifdef HAVE_IEEEFP_H
48704                       #include <ieeefp.h>
48705                       #endif
48706
48707 int
48708 main ()
48709 {
48710  expl(0);
48711   ;
48712   return 0;
48713 }
48714 _ACEOF
48715 if ac_fn_cxx_try_compile "$LINENO"; then :
48716   glibcxx_cv_func_expl_use=yes
48717 else
48718   glibcxx_cv_func_expl_use=no
48719 fi
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721       ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726
48727
48728 fi
48729
48730   fi
48731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48732 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48733
48734   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48735     for ac_func in expl
48736 do :
48737   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48738 if test "x$ac_cv_func_expl" = x""yes; then :
48739   cat >>confdefs.h <<_ACEOF
48740 #define HAVE_EXPL 1
48741 _ACEOF
48742
48743 fi
48744 done
48745
48746   else
48747
48748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48749 $as_echo_n "checking for _expl declaration... " >&6; }
48750   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48751     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48752   $as_echo_n "(cached) " >&6
48753 else
48754
48755
48756       ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h.  */
48764 #include <math.h>
48765                       #ifdef HAVE_IEEEFP_H
48766                       #include <ieeefp.h>
48767                       #endif
48768
48769 int
48770 main ()
48771 {
48772  _expl(0);
48773   ;
48774   return 0;
48775 }
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778   glibcxx_cv_func__expl_use=yes
48779 else
48780   glibcxx_cv_func__expl_use=no
48781 fi
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783       ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788
48789
48790 fi
48791
48792   fi
48793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48794 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48795
48796     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48797       for ac_func in _expl
48798 do :
48799   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48800 if test "x$ac_cv_func__expl" = x""yes; then :
48801   cat >>confdefs.h <<_ACEOF
48802 #define HAVE__EXPL 1
48803 _ACEOF
48804
48805 fi
48806 done
48807
48808     fi
48809   fi
48810
48811
48812
48813
48814
48815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48816 $as_echo_n "checking for fabsl declaration... " >&6; }
48817   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48818     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48819   $as_echo_n "(cached) " >&6
48820 else
48821
48822
48823       ac_ext=cpp
48824 ac_cpp='$CXXCPP $CPPFLAGS'
48825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48828
48829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48830 /* end confdefs.h.  */
48831 #include <math.h>
48832                       #ifdef HAVE_IEEEFP_H
48833                       #include <ieeefp.h>
48834                       #endif
48835
48836 int
48837 main ()
48838 {
48839  fabsl(0);
48840   ;
48841   return 0;
48842 }
48843 _ACEOF
48844 if ac_fn_cxx_try_compile "$LINENO"; then :
48845   glibcxx_cv_func_fabsl_use=yes
48846 else
48847   glibcxx_cv_func_fabsl_use=no
48848 fi
48849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48850       ac_ext=c
48851 ac_cpp='$CPP $CPPFLAGS'
48852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48855
48856
48857 fi
48858
48859   fi
48860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48861 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48862
48863   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48864     for ac_func in fabsl
48865 do :
48866   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48867 if test "x$ac_cv_func_fabsl" = x""yes; then :
48868   cat >>confdefs.h <<_ACEOF
48869 #define HAVE_FABSL 1
48870 _ACEOF
48871
48872 fi
48873 done
48874
48875   else
48876
48877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48878 $as_echo_n "checking for _fabsl declaration... " >&6; }
48879   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48880     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48881   $as_echo_n "(cached) " >&6
48882 else
48883
48884
48885       ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890
48891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h.  */
48893 #include <math.h>
48894                       #ifdef HAVE_IEEEFP_H
48895                       #include <ieeefp.h>
48896                       #endif
48897
48898 int
48899 main ()
48900 {
48901  _fabsl(0);
48902   ;
48903   return 0;
48904 }
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907   glibcxx_cv_func__fabsl_use=yes
48908 else
48909   glibcxx_cv_func__fabsl_use=no
48910 fi
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912       ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917
48918
48919 fi
48920
48921   fi
48922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48923 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48924
48925     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48926       for ac_func in _fabsl
48927 do :
48928   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48929 if test "x$ac_cv_func__fabsl" = x""yes; then :
48930   cat >>confdefs.h <<_ACEOF
48931 #define HAVE__FABSL 1
48932 _ACEOF
48933
48934 fi
48935 done
48936
48937     fi
48938   fi
48939
48940
48941
48942
48943
48944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48945 $as_echo_n "checking for fmodl declaration... " >&6; }
48946   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48947     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48948   $as_echo_n "(cached) " >&6
48949 else
48950
48951
48952       ac_ext=cpp
48953 ac_cpp='$CXXCPP $CPPFLAGS'
48954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48957
48958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48959 /* end confdefs.h.  */
48960 #include <math.h>
48961 int
48962 main ()
48963 {
48964  fmodl(0, 0);
48965   ;
48966   return 0;
48967 }
48968 _ACEOF
48969 if ac_fn_cxx_try_compile "$LINENO"; then :
48970   glibcxx_cv_func_fmodl_use=yes
48971 else
48972   glibcxx_cv_func_fmodl_use=no
48973 fi
48974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48975       ac_ext=c
48976 ac_cpp='$CPP $CPPFLAGS'
48977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980
48981
48982 fi
48983
48984   fi
48985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48986 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48987
48988   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48989     for ac_func in fmodl
48990 do :
48991   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48992 if test "x$ac_cv_func_fmodl" = x""yes; then :
48993   cat >>confdefs.h <<_ACEOF
48994 #define HAVE_FMODL 1
48995 _ACEOF
48996
48997 fi
48998 done
48999
49000   else
49001
49002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49003 $as_echo_n "checking for _fmodl declaration... " >&6; }
49004   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49005     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49006   $as_echo_n "(cached) " >&6
49007 else
49008
49009
49010       ac_ext=cpp
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49015
49016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49017 /* end confdefs.h.  */
49018 #include <math.h>
49019 int
49020 main ()
49021 {
49022  _fmodl(0, 0);
49023   ;
49024   return 0;
49025 }
49026 _ACEOF
49027 if ac_fn_cxx_try_compile "$LINENO"; then :
49028   glibcxx_cv_func__fmodl_use=yes
49029 else
49030   glibcxx_cv_func__fmodl_use=no
49031 fi
49032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49033       ac_ext=c
49034 ac_cpp='$CPP $CPPFLAGS'
49035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49038
49039
49040 fi
49041
49042   fi
49043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49044 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49045
49046     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49047       for ac_func in _fmodl
49048 do :
49049   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49050 if test "x$ac_cv_func__fmodl" = x""yes; then :
49051   cat >>confdefs.h <<_ACEOF
49052 #define HAVE__FMODL 1
49053 _ACEOF
49054
49055 fi
49056 done
49057
49058     fi
49059   fi
49060
49061
49062
49063
49064
49065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49066 $as_echo_n "checking for frexpl declaration... " >&6; }
49067   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49068     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49069   $as_echo_n "(cached) " >&6
49070 else
49071
49072
49073       ac_ext=cpp
49074 ac_cpp='$CXXCPP $CPPFLAGS'
49075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49078
49079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49080 /* end confdefs.h.  */
49081 #include <math.h>
49082 int
49083 main ()
49084 {
49085  frexpl(0, 0);
49086   ;
49087   return 0;
49088 }
49089 _ACEOF
49090 if ac_fn_cxx_try_compile "$LINENO"; then :
49091   glibcxx_cv_func_frexpl_use=yes
49092 else
49093   glibcxx_cv_func_frexpl_use=no
49094 fi
49095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49096       ac_ext=c
49097 ac_cpp='$CPP $CPPFLAGS'
49098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49101
49102
49103 fi
49104
49105   fi
49106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49107 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49108
49109   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49110     for ac_func in frexpl
49111 do :
49112   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49113 if test "x$ac_cv_func_frexpl" = x""yes; then :
49114   cat >>confdefs.h <<_ACEOF
49115 #define HAVE_FREXPL 1
49116 _ACEOF
49117
49118 fi
49119 done
49120
49121   else
49122
49123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49124 $as_echo_n "checking for _frexpl declaration... " >&6; }
49125   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49126     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49127   $as_echo_n "(cached) " >&6
49128 else
49129
49130
49131       ac_ext=cpp
49132 ac_cpp='$CXXCPP $CPPFLAGS'
49133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136
49137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49138 /* end confdefs.h.  */
49139 #include <math.h>
49140 int
49141 main ()
49142 {
49143  _frexpl(0, 0);
49144   ;
49145   return 0;
49146 }
49147 _ACEOF
49148 if ac_fn_cxx_try_compile "$LINENO"; then :
49149   glibcxx_cv_func__frexpl_use=yes
49150 else
49151   glibcxx_cv_func__frexpl_use=no
49152 fi
49153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49154       ac_ext=c
49155 ac_cpp='$CPP $CPPFLAGS'
49156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49159
49160
49161 fi
49162
49163   fi
49164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49165 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49166
49167     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49168       for ac_func in _frexpl
49169 do :
49170   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49171 if test "x$ac_cv_func__frexpl" = x""yes; then :
49172   cat >>confdefs.h <<_ACEOF
49173 #define HAVE__FREXPL 1
49174 _ACEOF
49175
49176 fi
49177 done
49178
49179     fi
49180   fi
49181
49182
49183
49184
49185
49186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49187 $as_echo_n "checking for hypotl declaration... " >&6; }
49188   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49189     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49190   $as_echo_n "(cached) " >&6
49191 else
49192
49193
49194       ac_ext=cpp
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199
49200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49201 /* end confdefs.h.  */
49202 #include <math.h>
49203 int
49204 main ()
49205 {
49206  hypotl(0, 0);
49207   ;
49208   return 0;
49209 }
49210 _ACEOF
49211 if ac_fn_cxx_try_compile "$LINENO"; then :
49212   glibcxx_cv_func_hypotl_use=yes
49213 else
49214   glibcxx_cv_func_hypotl_use=no
49215 fi
49216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49217       ac_ext=c
49218 ac_cpp='$CPP $CPPFLAGS'
49219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49222
49223
49224 fi
49225
49226   fi
49227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49228 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49229
49230   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49231     for ac_func in hypotl
49232 do :
49233   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49234 if test "x$ac_cv_func_hypotl" = x""yes; then :
49235   cat >>confdefs.h <<_ACEOF
49236 #define HAVE_HYPOTL 1
49237 _ACEOF
49238
49239 fi
49240 done
49241
49242   else
49243
49244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49245 $as_echo_n "checking for _hypotl declaration... " >&6; }
49246   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49247     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49248   $as_echo_n "(cached) " >&6
49249 else
49250
49251
49252       ac_ext=cpp
49253 ac_cpp='$CXXCPP $CPPFLAGS'
49254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49257
49258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49259 /* end confdefs.h.  */
49260 #include <math.h>
49261 int
49262 main ()
49263 {
49264  _hypotl(0, 0);
49265   ;
49266   return 0;
49267 }
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270   glibcxx_cv_func__hypotl_use=yes
49271 else
49272   glibcxx_cv_func__hypotl_use=no
49273 fi
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275       ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280
49281
49282 fi
49283
49284   fi
49285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49286 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49287
49288     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49289       for ac_func in _hypotl
49290 do :
49291   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49292 if test "x$ac_cv_func__hypotl" = x""yes; then :
49293   cat >>confdefs.h <<_ACEOF
49294 #define HAVE__HYPOTL 1
49295 _ACEOF
49296
49297 fi
49298 done
49299
49300     fi
49301   fi
49302
49303
49304
49305
49306
49307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49308 $as_echo_n "checking for ldexpl declaration... " >&6; }
49309   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49310     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49311   $as_echo_n "(cached) " >&6
49312 else
49313
49314
49315       ac_ext=cpp
49316 ac_cpp='$CXXCPP $CPPFLAGS'
49317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49320
49321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49322 /* end confdefs.h.  */
49323 #include <math.h>
49324 int
49325 main ()
49326 {
49327  ldexpl(0, 0);
49328   ;
49329   return 0;
49330 }
49331 _ACEOF
49332 if ac_fn_cxx_try_compile "$LINENO"; then :
49333   glibcxx_cv_func_ldexpl_use=yes
49334 else
49335   glibcxx_cv_func_ldexpl_use=no
49336 fi
49337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49338       ac_ext=c
49339 ac_cpp='$CPP $CPPFLAGS'
49340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49343
49344
49345 fi
49346
49347   fi
49348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49349 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49350
49351   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49352     for ac_func in ldexpl
49353 do :
49354   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49355 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49356   cat >>confdefs.h <<_ACEOF
49357 #define HAVE_LDEXPL 1
49358 _ACEOF
49359
49360 fi
49361 done
49362
49363   else
49364
49365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49366 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49367   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49368     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49369   $as_echo_n "(cached) " >&6
49370 else
49371
49372
49373       ac_ext=cpp
49374 ac_cpp='$CXXCPP $CPPFLAGS'
49375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49378
49379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49380 /* end confdefs.h.  */
49381 #include <math.h>
49382 int
49383 main ()
49384 {
49385  _ldexpl(0, 0);
49386   ;
49387   return 0;
49388 }
49389 _ACEOF
49390 if ac_fn_cxx_try_compile "$LINENO"; then :
49391   glibcxx_cv_func__ldexpl_use=yes
49392 else
49393   glibcxx_cv_func__ldexpl_use=no
49394 fi
49395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49396       ac_ext=c
49397 ac_cpp='$CPP $CPPFLAGS'
49398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49401
49402
49403 fi
49404
49405   fi
49406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49407 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49408
49409     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49410       for ac_func in _ldexpl
49411 do :
49412   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49413 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49414   cat >>confdefs.h <<_ACEOF
49415 #define HAVE__LDEXPL 1
49416 _ACEOF
49417
49418 fi
49419 done
49420
49421     fi
49422   fi
49423
49424
49425
49426
49427
49428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49429 $as_echo_n "checking for logl declaration... " >&6; }
49430   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49431     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49432   $as_echo_n "(cached) " >&6
49433 else
49434
49435
49436       ac_ext=cpp
49437 ac_cpp='$CXXCPP $CPPFLAGS'
49438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49441
49442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49443 /* end confdefs.h.  */
49444 #include <math.h>
49445                       #ifdef HAVE_IEEEFP_H
49446                       #include <ieeefp.h>
49447                       #endif
49448
49449 int
49450 main ()
49451 {
49452  logl(0);
49453   ;
49454   return 0;
49455 }
49456 _ACEOF
49457 if ac_fn_cxx_try_compile "$LINENO"; then :
49458   glibcxx_cv_func_logl_use=yes
49459 else
49460   glibcxx_cv_func_logl_use=no
49461 fi
49462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49463       ac_ext=c
49464 ac_cpp='$CPP $CPPFLAGS'
49465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468
49469
49470 fi
49471
49472   fi
49473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49474 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49475
49476   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49477     for ac_func in logl
49478 do :
49479   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49480 if test "x$ac_cv_func_logl" = x""yes; then :
49481   cat >>confdefs.h <<_ACEOF
49482 #define HAVE_LOGL 1
49483 _ACEOF
49484
49485 fi
49486 done
49487
49488   else
49489
49490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49491 $as_echo_n "checking for _logl declaration... " >&6; }
49492   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49493     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49494   $as_echo_n "(cached) " >&6
49495 else
49496
49497
49498       ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503
49504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h.  */
49506 #include <math.h>
49507                       #ifdef HAVE_IEEEFP_H
49508                       #include <ieeefp.h>
49509                       #endif
49510
49511 int
49512 main ()
49513 {
49514  _logl(0);
49515   ;
49516   return 0;
49517 }
49518 _ACEOF
49519 if ac_fn_cxx_try_compile "$LINENO"; then :
49520   glibcxx_cv_func__logl_use=yes
49521 else
49522   glibcxx_cv_func__logl_use=no
49523 fi
49524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49525       ac_ext=c
49526 ac_cpp='$CPP $CPPFLAGS'
49527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49530
49531
49532 fi
49533
49534   fi
49535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49536 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49537
49538     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49539       for ac_func in _logl
49540 do :
49541   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49542 if test "x$ac_cv_func__logl" = x""yes; then :
49543   cat >>confdefs.h <<_ACEOF
49544 #define HAVE__LOGL 1
49545 _ACEOF
49546
49547 fi
49548 done
49549
49550     fi
49551   fi
49552
49553
49554
49555
49556
49557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49558 $as_echo_n "checking for log10l declaration... " >&6; }
49559   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49560     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49561   $as_echo_n "(cached) " >&6
49562 else
49563
49564
49565       ac_ext=cpp
49566 ac_cpp='$CXXCPP $CPPFLAGS'
49567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49570
49571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49572 /* end confdefs.h.  */
49573 #include <math.h>
49574                       #ifdef HAVE_IEEEFP_H
49575                       #include <ieeefp.h>
49576                       #endif
49577
49578 int
49579 main ()
49580 {
49581  log10l(0);
49582   ;
49583   return 0;
49584 }
49585 _ACEOF
49586 if ac_fn_cxx_try_compile "$LINENO"; then :
49587   glibcxx_cv_func_log10l_use=yes
49588 else
49589   glibcxx_cv_func_log10l_use=no
49590 fi
49591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49592       ac_ext=c
49593 ac_cpp='$CPP $CPPFLAGS'
49594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597
49598
49599 fi
49600
49601   fi
49602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49603 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49604
49605   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49606     for ac_func in log10l
49607 do :
49608   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49609 if test "x$ac_cv_func_log10l" = x""yes; then :
49610   cat >>confdefs.h <<_ACEOF
49611 #define HAVE_LOG10L 1
49612 _ACEOF
49613
49614 fi
49615 done
49616
49617   else
49618
49619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49620 $as_echo_n "checking for _log10l declaration... " >&6; }
49621   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49622     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49623   $as_echo_n "(cached) " >&6
49624 else
49625
49626
49627       ac_ext=cpp
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632
49633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49634 /* end confdefs.h.  */
49635 #include <math.h>
49636                       #ifdef HAVE_IEEEFP_H
49637                       #include <ieeefp.h>
49638                       #endif
49639
49640 int
49641 main ()
49642 {
49643  _log10l(0);
49644   ;
49645   return 0;
49646 }
49647 _ACEOF
49648 if ac_fn_cxx_try_compile "$LINENO"; then :
49649   glibcxx_cv_func__log10l_use=yes
49650 else
49651   glibcxx_cv_func__log10l_use=no
49652 fi
49653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49654       ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659
49660
49661 fi
49662
49663   fi
49664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49665 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49666
49667     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49668       for ac_func in _log10l
49669 do :
49670   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49671 if test "x$ac_cv_func__log10l" = x""yes; then :
49672   cat >>confdefs.h <<_ACEOF
49673 #define HAVE__LOG10L 1
49674 _ACEOF
49675
49676 fi
49677 done
49678
49679     fi
49680   fi
49681
49682
49683
49684
49685
49686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49687 $as_echo_n "checking for modfl declaration... " >&6; }
49688   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49689     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49690   $as_echo_n "(cached) " >&6
49691 else
49692
49693
49694       ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h.  */
49702 #include <math.h>
49703 int
49704 main ()
49705 {
49706  modfl(0, 0);
49707   ;
49708   return 0;
49709 }
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712   glibcxx_cv_func_modfl_use=yes
49713 else
49714   glibcxx_cv_func_modfl_use=no
49715 fi
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717       ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722
49723
49724 fi
49725
49726   fi
49727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49728 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49729
49730   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49731     for ac_func in modfl
49732 do :
49733   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49734 if test "x$ac_cv_func_modfl" = x""yes; then :
49735   cat >>confdefs.h <<_ACEOF
49736 #define HAVE_MODFL 1
49737 _ACEOF
49738
49739 fi
49740 done
49741
49742   else
49743
49744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49745 $as_echo_n "checking for _modfl declaration... " >&6; }
49746   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49747     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49748   $as_echo_n "(cached) " >&6
49749 else
49750
49751
49752       ac_ext=cpp
49753 ac_cpp='$CXXCPP $CPPFLAGS'
49754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49757
49758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49759 /* end confdefs.h.  */
49760 #include <math.h>
49761 int
49762 main ()
49763 {
49764  _modfl(0, 0);
49765   ;
49766   return 0;
49767 }
49768 _ACEOF
49769 if ac_fn_cxx_try_compile "$LINENO"; then :
49770   glibcxx_cv_func__modfl_use=yes
49771 else
49772   glibcxx_cv_func__modfl_use=no
49773 fi
49774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49775       ac_ext=c
49776 ac_cpp='$CPP $CPPFLAGS'
49777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780
49781
49782 fi
49783
49784   fi
49785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49786 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49787
49788     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49789       for ac_func in _modfl
49790 do :
49791   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49792 if test "x$ac_cv_func__modfl" = x""yes; then :
49793   cat >>confdefs.h <<_ACEOF
49794 #define HAVE__MODFL 1
49795 _ACEOF
49796
49797 fi
49798 done
49799
49800     fi
49801   fi
49802
49803
49804
49805
49806
49807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49808 $as_echo_n "checking for powl declaration... " >&6; }
49809   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49810     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49811   $as_echo_n "(cached) " >&6
49812 else
49813
49814
49815       ac_ext=cpp
49816 ac_cpp='$CXXCPP $CPPFLAGS'
49817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820
49821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49822 /* end confdefs.h.  */
49823 #include <math.h>
49824 int
49825 main ()
49826 {
49827  powl(0, 0);
49828   ;
49829   return 0;
49830 }
49831 _ACEOF
49832 if ac_fn_cxx_try_compile "$LINENO"; then :
49833   glibcxx_cv_func_powl_use=yes
49834 else
49835   glibcxx_cv_func_powl_use=no
49836 fi
49837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49838       ac_ext=c
49839 ac_cpp='$CPP $CPPFLAGS'
49840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49843
49844
49845 fi
49846
49847   fi
49848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49849 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49850
49851   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49852     for ac_func in powl
49853 do :
49854   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49855 if test "x$ac_cv_func_powl" = x""yes; then :
49856   cat >>confdefs.h <<_ACEOF
49857 #define HAVE_POWL 1
49858 _ACEOF
49859
49860 fi
49861 done
49862
49863   else
49864
49865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49866 $as_echo_n "checking for _powl declaration... " >&6; }
49867   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49868     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49869   $as_echo_n "(cached) " >&6
49870 else
49871
49872
49873       ac_ext=cpp
49874 ac_cpp='$CXXCPP $CPPFLAGS'
49875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878
49879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49880 /* end confdefs.h.  */
49881 #include <math.h>
49882 int
49883 main ()
49884 {
49885  _powl(0, 0);
49886   ;
49887   return 0;
49888 }
49889 _ACEOF
49890 if ac_fn_cxx_try_compile "$LINENO"; then :
49891   glibcxx_cv_func__powl_use=yes
49892 else
49893   glibcxx_cv_func__powl_use=no
49894 fi
49895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49896       ac_ext=c
49897 ac_cpp='$CPP $CPPFLAGS'
49898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901
49902
49903 fi
49904
49905   fi
49906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49907 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49908
49909     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49910       for ac_func in _powl
49911 do :
49912   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49913 if test "x$ac_cv_func__powl" = x""yes; then :
49914   cat >>confdefs.h <<_ACEOF
49915 #define HAVE__POWL 1
49916 _ACEOF
49917
49918 fi
49919 done
49920
49921     fi
49922   fi
49923
49924
49925
49926
49927
49928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49929 $as_echo_n "checking for sqrtl declaration... " >&6; }
49930   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49931     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49932   $as_echo_n "(cached) " >&6
49933 else
49934
49935
49936       ac_ext=cpp
49937 ac_cpp='$CXXCPP $CPPFLAGS'
49938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49941
49942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49943 /* end confdefs.h.  */
49944 #include <math.h>
49945                       #ifdef HAVE_IEEEFP_H
49946                       #include <ieeefp.h>
49947                       #endif
49948
49949 int
49950 main ()
49951 {
49952  sqrtl(0);
49953   ;
49954   return 0;
49955 }
49956 _ACEOF
49957 if ac_fn_cxx_try_compile "$LINENO"; then :
49958   glibcxx_cv_func_sqrtl_use=yes
49959 else
49960   glibcxx_cv_func_sqrtl_use=no
49961 fi
49962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49963       ac_ext=c
49964 ac_cpp='$CPP $CPPFLAGS'
49965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968
49969
49970 fi
49971
49972   fi
49973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49974 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49975
49976   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49977     for ac_func in sqrtl
49978 do :
49979   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49980 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49981   cat >>confdefs.h <<_ACEOF
49982 #define HAVE_SQRTL 1
49983 _ACEOF
49984
49985 fi
49986 done
49987
49988   else
49989
49990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49991 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49992   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49993     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49994   $as_echo_n "(cached) " >&6
49995 else
49996
49997
49998       ac_ext=cpp
49999 ac_cpp='$CXXCPP $CPPFLAGS'
50000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50003
50004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50005 /* end confdefs.h.  */
50006 #include <math.h>
50007                       #ifdef HAVE_IEEEFP_H
50008                       #include <ieeefp.h>
50009                       #endif
50010
50011 int
50012 main ()
50013 {
50014  _sqrtl(0);
50015   ;
50016   return 0;
50017 }
50018 _ACEOF
50019 if ac_fn_cxx_try_compile "$LINENO"; then :
50020   glibcxx_cv_func__sqrtl_use=yes
50021 else
50022   glibcxx_cv_func__sqrtl_use=no
50023 fi
50024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50025       ac_ext=c
50026 ac_cpp='$CPP $CPPFLAGS'
50027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50030
50031
50032 fi
50033
50034   fi
50035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50036 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50037
50038     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50039       for ac_func in _sqrtl
50040 do :
50041   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50042 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50043   cat >>confdefs.h <<_ACEOF
50044 #define HAVE__SQRTL 1
50045 _ACEOF
50046
50047 fi
50048 done
50049
50050     fi
50051   fi
50052
50053
50054
50055
50056
50057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50058 $as_echo_n "checking for sincosl declaration... " >&6; }
50059   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50060     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50061   $as_echo_n "(cached) " >&6
50062 else
50063
50064
50065       ac_ext=cpp
50066 ac_cpp='$CXXCPP $CPPFLAGS'
50067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070
50071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50072 /* end confdefs.h.  */
50073 #include <math.h>
50074 int
50075 main ()
50076 {
50077  sincosl(0, 0, 0);
50078   ;
50079   return 0;
50080 }
50081 _ACEOF
50082 if ac_fn_cxx_try_compile "$LINENO"; then :
50083   glibcxx_cv_func_sincosl_use=yes
50084 else
50085   glibcxx_cv_func_sincosl_use=no
50086 fi
50087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50088       ac_ext=c
50089 ac_cpp='$CPP $CPPFLAGS'
50090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50093
50094
50095 fi
50096
50097   fi
50098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50099 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50100
50101   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50102     for ac_func in sincosl
50103 do :
50104   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50105 if test "x$ac_cv_func_sincosl" = x""yes; then :
50106   cat >>confdefs.h <<_ACEOF
50107 #define HAVE_SINCOSL 1
50108 _ACEOF
50109
50110 fi
50111 done
50112
50113   else
50114
50115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50116 $as_echo_n "checking for _sincosl declaration... " >&6; }
50117   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50118     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50119   $as_echo_n "(cached) " >&6
50120 else
50121
50122
50123       ac_ext=cpp
50124 ac_cpp='$CXXCPP $CPPFLAGS'
50125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50128
50129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50130 /* end confdefs.h.  */
50131 #include <math.h>
50132 int
50133 main ()
50134 {
50135  _sincosl(0, 0, 0);
50136   ;
50137   return 0;
50138 }
50139 _ACEOF
50140 if ac_fn_cxx_try_compile "$LINENO"; then :
50141   glibcxx_cv_func__sincosl_use=yes
50142 else
50143   glibcxx_cv_func__sincosl_use=no
50144 fi
50145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50146       ac_ext=c
50147 ac_cpp='$CPP $CPPFLAGS'
50148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151
50152
50153 fi
50154
50155   fi
50156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50157 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50158
50159     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50160       for ac_func in _sincosl
50161 do :
50162   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50163 if test "x$ac_cv_func__sincosl" = x""yes; then :
50164   cat >>confdefs.h <<_ACEOF
50165 #define HAVE__SINCOSL 1
50166 _ACEOF
50167
50168 fi
50169 done
50170
50171     fi
50172   fi
50173
50174
50175
50176
50177
50178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50179 $as_echo_n "checking for finitel declaration... " >&6; }
50180   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50181     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50182   $as_echo_n "(cached) " >&6
50183 else
50184
50185
50186       ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191
50192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h.  */
50194 #include <math.h>
50195                       #ifdef HAVE_IEEEFP_H
50196                       #include <ieeefp.h>
50197                       #endif
50198
50199 int
50200 main ()
50201 {
50202  finitel(0);
50203   ;
50204   return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208   glibcxx_cv_func_finitel_use=yes
50209 else
50210   glibcxx_cv_func_finitel_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213       ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222   fi
50223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50224 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50225
50226   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50227     for ac_func in finitel
50228 do :
50229   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50230 if test "x$ac_cv_func_finitel" = x""yes; then :
50231   cat >>confdefs.h <<_ACEOF
50232 #define HAVE_FINITEL 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238   else
50239
50240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50241 $as_echo_n "checking for _finitel declaration... " >&6; }
50242   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50243     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50244   $as_echo_n "(cached) " >&6
50245 else
50246
50247
50248       ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253
50254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h.  */
50256 #include <math.h>
50257                       #ifdef HAVE_IEEEFP_H
50258                       #include <ieeefp.h>
50259                       #endif
50260
50261 int
50262 main ()
50263 {
50264  _finitel(0);
50265   ;
50266   return 0;
50267 }
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270   glibcxx_cv_func__finitel_use=yes
50271 else
50272   glibcxx_cv_func__finitel_use=no
50273 fi
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275       ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280
50281
50282 fi
50283
50284   fi
50285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50286 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50287
50288     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50289       for ac_func in _finitel
50290 do :
50291   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50292 if test "x$ac_cv_func__finitel" = x""yes; then :
50293   cat >>confdefs.h <<_ACEOF
50294 #define HAVE__FINITEL 1
50295 _ACEOF
50296
50297 fi
50298 done
50299
50300     fi
50301   fi
50302
50303
50304
50305
50306   LIBS="$ac_save_LIBS"
50307   CXXFLAGS="$ac_save_CXXFLAGS"
50308
50309
50310   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50311   ac_save_CXXFLAGS="$CXXFLAGS"
50312   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50313
50314
50315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50316 $as_echo_n "checking for strtold declaration... " >&6; }
50317   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50318     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50319   $as_echo_n "(cached) " >&6
50320 else
50321
50322
50323       ac_ext=cpp
50324 ac_cpp='$CXXCPP $CPPFLAGS'
50325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50328
50329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50330 /* end confdefs.h.  */
50331 #include <stdlib.h>
50332 int
50333 main ()
50334 {
50335  strtold(0, 0);
50336   ;
50337   return 0;
50338 }
50339 _ACEOF
50340 if ac_fn_cxx_try_compile "$LINENO"; then :
50341   glibcxx_cv_func_strtold_use=yes
50342 else
50343   glibcxx_cv_func_strtold_use=no
50344 fi
50345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50346       ac_ext=c
50347 ac_cpp='$CPP $CPPFLAGS'
50348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50351
50352
50353 fi
50354
50355   fi
50356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50357 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50358   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50359     for ac_func in strtold
50360 do :
50361   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50362 if test "x$ac_cv_func_strtold" = x""yes; then :
50363   cat >>confdefs.h <<_ACEOF
50364 #define HAVE_STRTOLD 1
50365 _ACEOF
50366
50367 fi
50368 done
50369
50370   fi
50371
50372
50373
50374
50375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50376 $as_echo_n "checking for strtof declaration... " >&6; }
50377   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50378     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50379   $as_echo_n "(cached) " >&6
50380 else
50381
50382
50383       ac_ext=cpp
50384 ac_cpp='$CXXCPP $CPPFLAGS'
50385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388
50389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50390 /* end confdefs.h.  */
50391 #include <stdlib.h>
50392 int
50393 main ()
50394 {
50395  strtof(0, 0);
50396   ;
50397   return 0;
50398 }
50399 _ACEOF
50400 if ac_fn_cxx_try_compile "$LINENO"; then :
50401   glibcxx_cv_func_strtof_use=yes
50402 else
50403   glibcxx_cv_func_strtof_use=no
50404 fi
50405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50406       ac_ext=c
50407 ac_cpp='$CPP $CPPFLAGS'
50408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50411
50412
50413 fi
50414
50415   fi
50416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50417 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50418   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50419     for ac_func in strtof
50420 do :
50421   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50422 if test "x$ac_cv_func_strtof" = x""yes; then :
50423   cat >>confdefs.h <<_ACEOF
50424 #define HAVE_STRTOF 1
50425 _ACEOF
50426
50427 fi
50428 done
50429
50430   fi
50431
50432
50433
50434
50435   CXXFLAGS="$ac_save_CXXFLAGS"
50436
50437     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50438
50439
50440
50441    # Check whether --enable-tls was given.
50442 if test "${enable_tls+set}" = set; then :
50443   enableval=$enable_tls;
50444       case "$enableval" in
50445        yes|no) ;;
50446        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50447       esac
50448
50449 else
50450   enable_tls=yes
50451 fi
50452
50453
50454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50455 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50456 if test "${gcc_cv_have_tls+set}" = set; then :
50457   $as_echo_n "(cached) " >&6
50458 else
50459
50460     if test "$cross_compiling" = yes; then :
50461                 if test x$gcc_no_link = xyes; then
50462   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50463 fi
50464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50465 /* end confdefs.h.  */
50466 __thread int a; int b; int main() { return a = b; }
50467 _ACEOF
50468 if ac_fn_c_try_link "$LINENO"; then :
50469   chktls_save_LDFLAGS="$LDFLAGS"
50470                           case $host in
50471             *-*-linux*)
50472               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50473               ;;
50474           esac
50475           chktls_save_CFLAGS="$CFLAGS"
50476           CFLAGS="-fPIC $CFLAGS"
50477                   if test x$gcc_no_link = xyes; then
50478   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50479 fi
50480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50481 /* end confdefs.h.  */
50482 int f() { return 0; }
50483 _ACEOF
50484 if ac_fn_c_try_link "$LINENO"; then :
50485   if test x$gcc_no_link = xyes; then
50486   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50487 fi
50488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50489 /* end confdefs.h.  */
50490 __thread int a; int b; int f() { return a = b; }
50491 _ACEOF
50492 if ac_fn_c_try_link "$LINENO"; then :
50493   gcc_cv_have_tls=yes
50494 else
50495   gcc_cv_have_tls=no
50496 fi
50497 rm -f core conftest.err conftest.$ac_objext \
50498     conftest$ac_exeext conftest.$ac_ext
50499 else
50500   gcc_cv_have_tls=yes
50501 fi
50502 rm -f core conftest.err conftest.$ac_objext \
50503     conftest$ac_exeext conftest.$ac_ext
50504           CFLAGS="$chktls_save_CFLAGS"
50505           LDFLAGS="$chktls_save_LDFLAGS"
50506 else
50507   gcc_cv_have_tls=no
50508 fi
50509 rm -f core conftest.err conftest.$ac_objext \
50510     conftest$ac_exeext conftest.$ac_ext
50511
50512
50513 else
50514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50515 /* end confdefs.h.  */
50516 __thread int a; int b; int main() { return a = b; }
50517 _ACEOF
50518 if ac_fn_c_try_run "$LINENO"; then :
50519                       chktls_save_LDFLAGS="$LDFLAGS"
50520       LDFLAGS="-static $LDFLAGS"
50521       if test x$gcc_no_link = xyes; then
50522   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50523 fi
50524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50525 /* end confdefs.h.  */
50526 int main() { return 0; }
50527 _ACEOF
50528 if ac_fn_c_try_link "$LINENO"; then :
50529   if test "$cross_compiling" = yes; then :
50530   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50532 as_fn_error "cannot run test program while cross compiling
50533 See \`config.log' for more details." "$LINENO" 5; }
50534 else
50535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50536 /* end confdefs.h.  */
50537 __thread int a; int b; int main() { return a = b; }
50538 _ACEOF
50539 if ac_fn_c_try_run "$LINENO"; then :
50540   gcc_cv_have_tls=yes
50541 else
50542   gcc_cv_have_tls=no
50543 fi
50544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50545   conftest.$ac_objext conftest.beam conftest.$ac_ext
50546 fi
50547
50548 else
50549   gcc_cv_have_tls=yes
50550 fi
50551 rm -f core conftest.err conftest.$ac_objext \
50552     conftest$ac_exeext conftest.$ac_ext
50553       LDFLAGS="$chktls_save_LDFLAGS"
50554       if test $gcc_cv_have_tls = yes; then
50555                                                 chktls_save_CFLAGS="$CFLAGS"
50556         thread_CFLAGS=failed
50557         for flag in '' '-pthread' '-lpthread'; do
50558           CFLAGS="$flag $chktls_save_CFLAGS"
50559           if test x$gcc_no_link = xyes; then
50560   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50561 fi
50562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50563 /* end confdefs.h.  */
50564 #include <pthread.h>
50565                 void *g(void *d) { return NULL; }
50566 int
50567 main ()
50568 {
50569 pthread_t t; pthread_create(&t,NULL,g,NULL);
50570   ;
50571   return 0;
50572 }
50573 _ACEOF
50574 if ac_fn_c_try_link "$LINENO"; then :
50575   thread_CFLAGS="$flag"
50576 fi
50577 rm -f core conftest.err conftest.$ac_objext \
50578     conftest$ac_exeext conftest.$ac_ext
50579           if test "X$thread_CFLAGS" != Xfailed; then
50580             break
50581           fi
50582         done
50583         CFLAGS="$chktls_save_CFLAGS"
50584         if test "X$thread_CFLAGS" != Xfailed; then
50585           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50586           if test "$cross_compiling" = yes; then :
50587   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50589 as_fn_error "cannot run test program while cross compiling
50590 See \`config.log' for more details." "$LINENO" 5; }
50591 else
50592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50593 /* end confdefs.h.  */
50594 #include <pthread.h>
50595                 __thread int a;
50596                 static int *a_in_other_thread;
50597                 static void *
50598                 thread_func (void *arg)
50599                 {
50600                   a_in_other_thread = &a;
50601                   return (void *)0;
50602                 }
50603 int
50604 main ()
50605 {
50606 pthread_t thread;
50607                 void *thread_retval;
50608                 int *a_in_main_thread;
50609                 if (pthread_create (&thread, (pthread_attr_t *)0,
50610                                     thread_func, (void *)0))
50611                   return 0;
50612                 a_in_main_thread = &a;
50613                 if (pthread_join (thread, &thread_retval))
50614                   return 0;
50615                 return (a_in_other_thread == a_in_main_thread);
50616   ;
50617   return 0;
50618 }
50619 _ACEOF
50620 if ac_fn_c_try_run "$LINENO"; then :
50621   gcc_cv_have_tls=yes
50622 else
50623   gcc_cv_have_tls=no
50624 fi
50625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50626   conftest.$ac_objext conftest.beam conftest.$ac_ext
50627 fi
50628
50629           CFLAGS="$chktls_save_CFLAGS"
50630         fi
50631       fi
50632 else
50633   gcc_cv_have_tls=no
50634 fi
50635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50636   conftest.$ac_objext conftest.beam conftest.$ac_ext
50637 fi
50638
50639 fi
50640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50641 $as_echo "$gcc_cv_have_tls" >&6; }
50642   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50643
50644 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50645
50646   fi
50647
50648
50649
50650
50651
50652           am_save_CPPFLAGS="$CPPFLAGS"
50653
50654   for element in $INCICONV; do
50655     haveit=
50656     for x in $CPPFLAGS; do
50657
50658   acl_save_prefix="$prefix"
50659   prefix="$acl_final_prefix"
50660   acl_save_exec_prefix="$exec_prefix"
50661   exec_prefix="$acl_final_exec_prefix"
50662   eval x=\"$x\"
50663   exec_prefix="$acl_save_exec_prefix"
50664   prefix="$acl_save_prefix"
50665
50666       if test "X$x" = "X$element"; then
50667         haveit=yes
50668         break
50669       fi
50670     done
50671     if test -z "$haveit"; then
50672       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50673     fi
50674   done
50675
50676
50677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50678 $as_echo_n "checking for iconv... " >&6; }
50679 if test "${am_cv_func_iconv+set}" = set; then :
50680   $as_echo_n "(cached) " >&6
50681 else
50682
50683     am_cv_func_iconv="no, consider installing GNU libiconv"
50684     am_cv_lib_iconv=no
50685     if test x$gcc_no_link = xyes; then
50686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50687 fi
50688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50689 /* end confdefs.h.  */
50690 #include <stdlib.h>
50691 #include <iconv.h>
50692 int
50693 main ()
50694 {
50695 iconv_t cd = iconv_open("","");
50696        iconv(cd,NULL,NULL,NULL,NULL);
50697        iconv_close(cd);
50698   ;
50699   return 0;
50700 }
50701 _ACEOF
50702 if ac_fn_c_try_link "$LINENO"; then :
50703   am_cv_func_iconv=yes
50704 fi
50705 rm -f core conftest.err conftest.$ac_objext \
50706     conftest$ac_exeext conftest.$ac_ext
50707     if test "$am_cv_func_iconv" != yes; then
50708       am_save_LIBS="$LIBS"
50709       LIBS="$LIBS $LIBICONV"
50710       if test x$gcc_no_link = xyes; then
50711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50712 fi
50713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50714 /* end confdefs.h.  */
50715 #include <stdlib.h>
50716 #include <iconv.h>
50717 int
50718 main ()
50719 {
50720 iconv_t cd = iconv_open("","");
50721          iconv(cd,NULL,NULL,NULL,NULL);
50722          iconv_close(cd);
50723   ;
50724   return 0;
50725 }
50726 _ACEOF
50727 if ac_fn_c_try_link "$LINENO"; then :
50728   am_cv_lib_iconv=yes
50729         am_cv_func_iconv=yes
50730 fi
50731 rm -f core conftest.err conftest.$ac_objext \
50732     conftest$ac_exeext conftest.$ac_ext
50733       LIBS="$am_save_LIBS"
50734     fi
50735
50736 fi
50737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50738 $as_echo "$am_cv_func_iconv" >&6; }
50739   if test "$am_cv_func_iconv" = yes; then
50740
50741 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50742
50743   fi
50744   if test "$am_cv_lib_iconv" = yes; then
50745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50746 $as_echo_n "checking how to link with libiconv... " >&6; }
50747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50748 $as_echo "$LIBICONV" >&6; }
50749   else
50750             CPPFLAGS="$am_save_CPPFLAGS"
50751     LIBICONV=
50752     LTLIBICONV=
50753   fi
50754
50755
50756
50757   if test "$am_cv_func_iconv" = yes; then
50758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50759 $as_echo_n "checking for iconv declaration... " >&6; }
50760     if test "${am_cv_proto_iconv+set}" = set; then :
50761   $as_echo_n "(cached) " >&6
50762 else
50763
50764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50765 /* end confdefs.h.  */
50766
50767 #include <stdlib.h>
50768 #include <iconv.h>
50769 extern
50770 #ifdef __cplusplus
50771 "C"
50772 #endif
50773 #if defined(__STDC__) || defined(__cplusplus)
50774 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50775 #else
50776 size_t iconv();
50777 #endif
50778
50779 int
50780 main ()
50781 {
50782
50783   ;
50784   return 0;
50785 }
50786 _ACEOF
50787 if ac_fn_c_try_compile "$LINENO"; then :
50788   am_cv_proto_iconv_arg1=""
50789 else
50790   am_cv_proto_iconv_arg1="const"
50791 fi
50792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50793       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);"
50794 fi
50795
50796     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50798          }$am_cv_proto_iconv" >&5
50799 $as_echo "${ac_t:-
50800          }$am_cv_proto_iconv" >&6; }
50801
50802 cat >>confdefs.h <<_ACEOF
50803 #define ICONV_CONST $am_cv_proto_iconv_arg1
50804 _ACEOF
50805
50806   fi
50807
50808     ;;
50809   *-mingw32*)
50810
50811   # If we're not using GNU ld, then there's no point in even trying these
50812   # tests.  Check for that first.  We should have already tested for gld
50813   # by now (in libtool), but require it now just to be safe...
50814   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50815   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50816
50817
50818
50819   # The name set by libtool depends on the version of libtool.  Shame on us
50820   # for depending on an impl detail, but c'est la vie.  Older versions used
50821   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50822   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50823   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50824   # set (hence we're using an older libtool), then set it.
50825   if test x${with_gnu_ld+set} != xset; then
50826     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50827       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50828       with_gnu_ld=no
50829     else
50830       with_gnu_ld=$ac_cv_prog_gnu_ld
50831     fi
50832   fi
50833
50834   # Start by getting the version number.  I think the libtool test already
50835   # does some of this, but throws away the result.
50836   glibcxx_ld_is_gold=no
50837   if test x"$with_gnu_ld" = x"yes"; then
50838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50839 $as_echo_n "checking for ld version... " >&6; }
50840
50841     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50842       glibcxx_ld_is_gold=yes
50843     fi
50844     ldver=`$LD --version 2>/dev/null |
50845            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'`
50846
50847     glibcxx_gnu_ld_version=`echo $ldver | \
50848            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50850 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50851   fi
50852
50853   # Set --gc-sections.
50854   glibcxx_have_gc_sections=no
50855   if test "$glibcxx_ld_is_gold" = "yes"; then
50856     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50857       glibcxx_have_gc_sections=yes
50858     fi
50859   else
50860     glibcxx_gcsections_min_ld=21602
50861     if test x"$with_gnu_ld" = x"yes" &&
50862         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50863       glibcxx_have_gc_sections=yes
50864     fi
50865   fi
50866   if test "$glibcxx_have_gc_sections" = "yes"; then
50867     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50868     # NB: This flag only works reliably after 2.16.1. Configure tests
50869     # for this are difficult, so hard wire a value that should work.
50870
50871     ac_test_CFLAGS="${CFLAGS+set}"
50872     ac_save_CFLAGS="$CFLAGS"
50873     CFLAGS='-Wl,--gc-sections'
50874
50875     # Check for -Wl,--gc-sections
50876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50877 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50878     if test x$gcc_no_link = xyes; then
50879   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50880 fi
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h.  */
50883  int one(void) { return 1; }
50884      int two(void) { return 2; }
50885
50886 int
50887 main ()
50888 {
50889  two();
50890   ;
50891   return 0;
50892 }
50893 _ACEOF
50894 if ac_fn_c_try_link "$LINENO"; then :
50895   ac_gcsections=yes
50896 else
50897   ac_gcsections=no
50898 fi
50899 rm -f core conftest.err conftest.$ac_objext \
50900     conftest$ac_exeext conftest.$ac_ext
50901     if test "$ac_gcsections" = "yes"; then
50902       rm -f conftest.c
50903       touch conftest.c
50904       if $CC -c conftest.c; then
50905         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50906            grep "Warning: gc-sections option ignored" > /dev/null; then
50907           ac_gcsections=no
50908         fi
50909       fi
50910       rm -f conftest.c conftest.o conftest
50911     fi
50912     if test "$ac_gcsections" = "yes"; then
50913       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50914     fi
50915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50916 $as_echo "$ac_gcsections" >&6; }
50917
50918     if test "$ac_test_CFLAGS" = set; then
50919       CFLAGS="$ac_save_CFLAGS"
50920     else
50921       # this is the suspicious part
50922       CFLAGS=''
50923     fi
50924   fi
50925
50926   # Set -z,relro.
50927   # Note this is only for shared objects.
50928   ac_ld_relro=no
50929   if test x"$with_gnu_ld" = x"yes"; then
50930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50931 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50932     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50933     if test -n "$cxx_z_relo"; then
50934       OPT_LDFLAGS="-Wl,-z,relro"
50935       ac_ld_relro=yes
50936     fi
50937     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50938 $as_echo "$ac_ld_relro" >&6; }
50939   fi
50940
50941   # Set linker optimization flags.
50942   if test x"$with_gnu_ld" = x"yes"; then
50943     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50944   fi
50945
50946
50947
50948
50949
50950   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50951   ac_save_CXXFLAGS="$CXXFLAGS"
50952   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50953
50954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50955 $as_echo_n "checking for sin in -lm... " >&6; }
50956 if test "${ac_cv_lib_m_sin+set}" = set; then :
50957   $as_echo_n "(cached) " >&6
50958 else
50959   ac_check_lib_save_LIBS=$LIBS
50960 LIBS="-lm  $LIBS"
50961 if test x$gcc_no_link = xyes; then
50962   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50963 fi
50964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50965 /* end confdefs.h.  */
50966
50967 /* Override any GCC internal prototype to avoid an error.
50968    Use char because int might match the return type of a GCC
50969    builtin and then its argument prototype would still apply.  */
50970 #ifdef __cplusplus
50971 extern "C"
50972 #endif
50973 char sin ();
50974 int
50975 main ()
50976 {
50977 return sin ();
50978   ;
50979   return 0;
50980 }
50981 _ACEOF
50982 if ac_fn_c_try_link "$LINENO"; then :
50983   ac_cv_lib_m_sin=yes
50984 else
50985   ac_cv_lib_m_sin=no
50986 fi
50987 rm -f core conftest.err conftest.$ac_objext \
50988     conftest$ac_exeext conftest.$ac_ext
50989 LIBS=$ac_check_lib_save_LIBS
50990 fi
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50992 $as_echo "$ac_cv_lib_m_sin" >&6; }
50993 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50994   libm="-lm"
50995 fi
50996
50997   ac_save_LIBS="$LIBS"
50998   LIBS="$LIBS $libm"
50999
51000
51001
51002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51003 $as_echo_n "checking for isinf declaration... " >&6; }
51004   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51005     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51006   $as_echo_n "(cached) " >&6
51007 else
51008
51009
51010       ac_ext=cpp
51011 ac_cpp='$CXXCPP $CPPFLAGS'
51012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51015
51016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51017 /* end confdefs.h.  */
51018 #include <math.h>
51019                       #ifdef HAVE_IEEEFP_H
51020                       #include <ieeefp.h>
51021                       #endif
51022
51023 int
51024 main ()
51025 {
51026  isinf(0);
51027   ;
51028   return 0;
51029 }
51030 _ACEOF
51031 if ac_fn_cxx_try_compile "$LINENO"; then :
51032   glibcxx_cv_func_isinf_use=yes
51033 else
51034   glibcxx_cv_func_isinf_use=no
51035 fi
51036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51037       ac_ext=c
51038 ac_cpp='$CPP $CPPFLAGS'
51039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51042
51043
51044 fi
51045
51046   fi
51047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51048 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51049
51050   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51051     for ac_func in isinf
51052 do :
51053   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51054 if test "x$ac_cv_func_isinf" = x""yes; then :
51055   cat >>confdefs.h <<_ACEOF
51056 #define HAVE_ISINF 1
51057 _ACEOF
51058
51059 fi
51060 done
51061
51062   else
51063
51064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51065 $as_echo_n "checking for _isinf declaration... " >&6; }
51066   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51067     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51068   $as_echo_n "(cached) " >&6
51069 else
51070
51071
51072       ac_ext=cpp
51073 ac_cpp='$CXXCPP $CPPFLAGS'
51074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51077
51078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51079 /* end confdefs.h.  */
51080 #include <math.h>
51081                       #ifdef HAVE_IEEEFP_H
51082                       #include <ieeefp.h>
51083                       #endif
51084
51085 int
51086 main ()
51087 {
51088  _isinf(0);
51089   ;
51090   return 0;
51091 }
51092 _ACEOF
51093 if ac_fn_cxx_try_compile "$LINENO"; then :
51094   glibcxx_cv_func__isinf_use=yes
51095 else
51096   glibcxx_cv_func__isinf_use=no
51097 fi
51098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51099       ac_ext=c
51100 ac_cpp='$CPP $CPPFLAGS'
51101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51104
51105
51106 fi
51107
51108   fi
51109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51110 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51111
51112     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51113       for ac_func in _isinf
51114 do :
51115   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51116 if test "x$ac_cv_func__isinf" = x""yes; then :
51117   cat >>confdefs.h <<_ACEOF
51118 #define HAVE__ISINF 1
51119 _ACEOF
51120
51121 fi
51122 done
51123
51124     fi
51125   fi
51126
51127
51128
51129
51130
51131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51132 $as_echo_n "checking for isnan declaration... " >&6; }
51133   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51134     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51135   $as_echo_n "(cached) " >&6
51136 else
51137
51138
51139       ac_ext=cpp
51140 ac_cpp='$CXXCPP $CPPFLAGS'
51141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51144
51145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51146 /* end confdefs.h.  */
51147 #include <math.h>
51148                       #ifdef HAVE_IEEEFP_H
51149                       #include <ieeefp.h>
51150                       #endif
51151
51152 int
51153 main ()
51154 {
51155  isnan(0);
51156   ;
51157   return 0;
51158 }
51159 _ACEOF
51160 if ac_fn_cxx_try_compile "$LINENO"; then :
51161   glibcxx_cv_func_isnan_use=yes
51162 else
51163   glibcxx_cv_func_isnan_use=no
51164 fi
51165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51166       ac_ext=c
51167 ac_cpp='$CPP $CPPFLAGS'
51168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51171
51172
51173 fi
51174
51175   fi
51176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51177 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51178
51179   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51180     for ac_func in isnan
51181 do :
51182   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51183 if test "x$ac_cv_func_isnan" = x""yes; then :
51184   cat >>confdefs.h <<_ACEOF
51185 #define HAVE_ISNAN 1
51186 _ACEOF
51187
51188 fi
51189 done
51190
51191   else
51192
51193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51194 $as_echo_n "checking for _isnan declaration... " >&6; }
51195   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51196     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51197   $as_echo_n "(cached) " >&6
51198 else
51199
51200
51201       ac_ext=cpp
51202 ac_cpp='$CXXCPP $CPPFLAGS'
51203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51206
51207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51208 /* end confdefs.h.  */
51209 #include <math.h>
51210                       #ifdef HAVE_IEEEFP_H
51211                       #include <ieeefp.h>
51212                       #endif
51213
51214 int
51215 main ()
51216 {
51217  _isnan(0);
51218   ;
51219   return 0;
51220 }
51221 _ACEOF
51222 if ac_fn_cxx_try_compile "$LINENO"; then :
51223   glibcxx_cv_func__isnan_use=yes
51224 else
51225   glibcxx_cv_func__isnan_use=no
51226 fi
51227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51228       ac_ext=c
51229 ac_cpp='$CPP $CPPFLAGS'
51230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51233
51234
51235 fi
51236
51237   fi
51238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51239 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51240
51241     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51242       for ac_func in _isnan
51243 do :
51244   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51245 if test "x$ac_cv_func__isnan" = x""yes; then :
51246   cat >>confdefs.h <<_ACEOF
51247 #define HAVE__ISNAN 1
51248 _ACEOF
51249
51250 fi
51251 done
51252
51253     fi
51254   fi
51255
51256
51257
51258
51259
51260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51261 $as_echo_n "checking for finite declaration... " >&6; }
51262   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51263     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51264   $as_echo_n "(cached) " >&6
51265 else
51266
51267
51268       ac_ext=cpp
51269 ac_cpp='$CXXCPP $CPPFLAGS'
51270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51273
51274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51275 /* end confdefs.h.  */
51276 #include <math.h>
51277                       #ifdef HAVE_IEEEFP_H
51278                       #include <ieeefp.h>
51279                       #endif
51280
51281 int
51282 main ()
51283 {
51284  finite(0);
51285   ;
51286   return 0;
51287 }
51288 _ACEOF
51289 if ac_fn_cxx_try_compile "$LINENO"; then :
51290   glibcxx_cv_func_finite_use=yes
51291 else
51292   glibcxx_cv_func_finite_use=no
51293 fi
51294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51295       ac_ext=c
51296 ac_cpp='$CPP $CPPFLAGS'
51297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51300
51301
51302 fi
51303
51304   fi
51305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51306 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51307
51308   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51309     for ac_func in finite
51310 do :
51311   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51312 if test "x$ac_cv_func_finite" = x""yes; then :
51313   cat >>confdefs.h <<_ACEOF
51314 #define HAVE_FINITE 1
51315 _ACEOF
51316
51317 fi
51318 done
51319
51320   else
51321
51322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51323 $as_echo_n "checking for _finite declaration... " >&6; }
51324   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51325     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51326   $as_echo_n "(cached) " >&6
51327 else
51328
51329
51330       ac_ext=cpp
51331 ac_cpp='$CXXCPP $CPPFLAGS'
51332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51335
51336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51337 /* end confdefs.h.  */
51338 #include <math.h>
51339                       #ifdef HAVE_IEEEFP_H
51340                       #include <ieeefp.h>
51341                       #endif
51342
51343 int
51344 main ()
51345 {
51346  _finite(0);
51347   ;
51348   return 0;
51349 }
51350 _ACEOF
51351 if ac_fn_cxx_try_compile "$LINENO"; then :
51352   glibcxx_cv_func__finite_use=yes
51353 else
51354   glibcxx_cv_func__finite_use=no
51355 fi
51356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51357       ac_ext=c
51358 ac_cpp='$CPP $CPPFLAGS'
51359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51362
51363
51364 fi
51365
51366   fi
51367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51368 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51369
51370     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51371       for ac_func in _finite
51372 do :
51373   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51374 if test "x$ac_cv_func__finite" = x""yes; then :
51375   cat >>confdefs.h <<_ACEOF
51376 #define HAVE__FINITE 1
51377 _ACEOF
51378
51379 fi
51380 done
51381
51382     fi
51383   fi
51384
51385
51386
51387
51388
51389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51390 $as_echo_n "checking for sincos declaration... " >&6; }
51391   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51392     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51393   $as_echo_n "(cached) " >&6
51394 else
51395
51396
51397       ac_ext=cpp
51398 ac_cpp='$CXXCPP $CPPFLAGS'
51399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51402
51403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51404 /* end confdefs.h.  */
51405 #include <math.h>
51406 int
51407 main ()
51408 {
51409  sincos(0, 0, 0);
51410   ;
51411   return 0;
51412 }
51413 _ACEOF
51414 if ac_fn_cxx_try_compile "$LINENO"; then :
51415   glibcxx_cv_func_sincos_use=yes
51416 else
51417   glibcxx_cv_func_sincos_use=no
51418 fi
51419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51420       ac_ext=c
51421 ac_cpp='$CPP $CPPFLAGS'
51422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51425
51426
51427 fi
51428
51429   fi
51430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51431 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51432
51433   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51434     for ac_func in sincos
51435 do :
51436   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51437 if test "x$ac_cv_func_sincos" = x""yes; then :
51438   cat >>confdefs.h <<_ACEOF
51439 #define HAVE_SINCOS 1
51440 _ACEOF
51441
51442 fi
51443 done
51444
51445   else
51446
51447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51448 $as_echo_n "checking for _sincos declaration... " >&6; }
51449   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51450     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51451   $as_echo_n "(cached) " >&6
51452 else
51453
51454
51455       ac_ext=cpp
51456 ac_cpp='$CXXCPP $CPPFLAGS'
51457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51460
51461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51462 /* end confdefs.h.  */
51463 #include <math.h>
51464 int
51465 main ()
51466 {
51467  _sincos(0, 0, 0);
51468   ;
51469   return 0;
51470 }
51471 _ACEOF
51472 if ac_fn_cxx_try_compile "$LINENO"; then :
51473   glibcxx_cv_func__sincos_use=yes
51474 else
51475   glibcxx_cv_func__sincos_use=no
51476 fi
51477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51478       ac_ext=c
51479 ac_cpp='$CPP $CPPFLAGS'
51480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51483
51484
51485 fi
51486
51487   fi
51488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51489 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51490
51491     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51492       for ac_func in _sincos
51493 do :
51494   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51495 if test "x$ac_cv_func__sincos" = x""yes; then :
51496   cat >>confdefs.h <<_ACEOF
51497 #define HAVE__SINCOS 1
51498 _ACEOF
51499
51500 fi
51501 done
51502
51503     fi
51504   fi
51505
51506
51507
51508
51509
51510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51511 $as_echo_n "checking for fpclass declaration... " >&6; }
51512   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51513     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51514   $as_echo_n "(cached) " >&6
51515 else
51516
51517
51518       ac_ext=cpp
51519 ac_cpp='$CXXCPP $CPPFLAGS'
51520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51523
51524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h.  */
51526 #include <math.h>
51527                       #ifdef HAVE_IEEEFP_H
51528                       #include <ieeefp.h>
51529                       #endif
51530
51531 int
51532 main ()
51533 {
51534  fpclass(0);
51535   ;
51536   return 0;
51537 }
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540   glibcxx_cv_func_fpclass_use=yes
51541 else
51542   glibcxx_cv_func_fpclass_use=no
51543 fi
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545       ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51550
51551
51552 fi
51553
51554   fi
51555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51556 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51557
51558   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51559     for ac_func in fpclass
51560 do :
51561   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51562 if test "x$ac_cv_func_fpclass" = x""yes; then :
51563   cat >>confdefs.h <<_ACEOF
51564 #define HAVE_FPCLASS 1
51565 _ACEOF
51566
51567 fi
51568 done
51569
51570   else
51571
51572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51573 $as_echo_n "checking for _fpclass declaration... " >&6; }
51574   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51575     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51576   $as_echo_n "(cached) " >&6
51577 else
51578
51579
51580       ac_ext=cpp
51581 ac_cpp='$CXXCPP $CPPFLAGS'
51582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51585
51586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51587 /* end confdefs.h.  */
51588 #include <math.h>
51589                       #ifdef HAVE_IEEEFP_H
51590                       #include <ieeefp.h>
51591                       #endif
51592
51593 int
51594 main ()
51595 {
51596  _fpclass(0);
51597   ;
51598   return 0;
51599 }
51600 _ACEOF
51601 if ac_fn_cxx_try_compile "$LINENO"; then :
51602   glibcxx_cv_func__fpclass_use=yes
51603 else
51604   glibcxx_cv_func__fpclass_use=no
51605 fi
51606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51607       ac_ext=c
51608 ac_cpp='$CPP $CPPFLAGS'
51609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51612
51613
51614 fi
51615
51616   fi
51617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51618 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51619
51620     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51621       for ac_func in _fpclass
51622 do :
51623   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51624 if test "x$ac_cv_func__fpclass" = x""yes; then :
51625   cat >>confdefs.h <<_ACEOF
51626 #define HAVE__FPCLASS 1
51627 _ACEOF
51628
51629 fi
51630 done
51631
51632     fi
51633   fi
51634
51635
51636
51637
51638
51639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51640 $as_echo_n "checking for qfpclass declaration... " >&6; }
51641   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51642     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51643   $as_echo_n "(cached) " >&6
51644 else
51645
51646
51647       ac_ext=cpp
51648 ac_cpp='$CXXCPP $CPPFLAGS'
51649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51652
51653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51654 /* end confdefs.h.  */
51655 #include <math.h>
51656                       #ifdef HAVE_IEEEFP_H
51657                       #include <ieeefp.h>
51658                       #endif
51659
51660 int
51661 main ()
51662 {
51663  qfpclass(0);
51664   ;
51665   return 0;
51666 }
51667 _ACEOF
51668 if ac_fn_cxx_try_compile "$LINENO"; then :
51669   glibcxx_cv_func_qfpclass_use=yes
51670 else
51671   glibcxx_cv_func_qfpclass_use=no
51672 fi
51673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51674       ac_ext=c
51675 ac_cpp='$CPP $CPPFLAGS'
51676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51679
51680
51681 fi
51682
51683   fi
51684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51685 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51686
51687   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51688     for ac_func in qfpclass
51689 do :
51690   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51691 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51692   cat >>confdefs.h <<_ACEOF
51693 #define HAVE_QFPCLASS 1
51694 _ACEOF
51695
51696 fi
51697 done
51698
51699   else
51700
51701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51702 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51703   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51704     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51705   $as_echo_n "(cached) " >&6
51706 else
51707
51708
51709       ac_ext=cpp
51710 ac_cpp='$CXXCPP $CPPFLAGS'
51711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51714
51715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51716 /* end confdefs.h.  */
51717 #include <math.h>
51718                       #ifdef HAVE_IEEEFP_H
51719                       #include <ieeefp.h>
51720                       #endif
51721
51722 int
51723 main ()
51724 {
51725  _qfpclass(0);
51726   ;
51727   return 0;
51728 }
51729 _ACEOF
51730 if ac_fn_cxx_try_compile "$LINENO"; then :
51731   glibcxx_cv_func__qfpclass_use=yes
51732 else
51733   glibcxx_cv_func__qfpclass_use=no
51734 fi
51735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51736       ac_ext=c
51737 ac_cpp='$CPP $CPPFLAGS'
51738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51741
51742
51743 fi
51744
51745   fi
51746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51747 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51748
51749     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51750       for ac_func in _qfpclass
51751 do :
51752   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51753 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51754   cat >>confdefs.h <<_ACEOF
51755 #define HAVE__QFPCLASS 1
51756 _ACEOF
51757
51758 fi
51759 done
51760
51761     fi
51762   fi
51763
51764
51765
51766
51767
51768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51769 $as_echo_n "checking for hypot declaration... " >&6; }
51770   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51771     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51772   $as_echo_n "(cached) " >&6
51773 else
51774
51775
51776       ac_ext=cpp
51777 ac_cpp='$CXXCPP $CPPFLAGS'
51778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51781
51782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51783 /* end confdefs.h.  */
51784 #include <math.h>
51785 int
51786 main ()
51787 {
51788  hypot(0, 0);
51789   ;
51790   return 0;
51791 }
51792 _ACEOF
51793 if ac_fn_cxx_try_compile "$LINENO"; then :
51794   glibcxx_cv_func_hypot_use=yes
51795 else
51796   glibcxx_cv_func_hypot_use=no
51797 fi
51798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51799       ac_ext=c
51800 ac_cpp='$CPP $CPPFLAGS'
51801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51804
51805
51806 fi
51807
51808   fi
51809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51810 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51811
51812   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51813     for ac_func in hypot
51814 do :
51815   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51816 if test "x$ac_cv_func_hypot" = x""yes; then :
51817   cat >>confdefs.h <<_ACEOF
51818 #define HAVE_HYPOT 1
51819 _ACEOF
51820
51821 fi
51822 done
51823
51824   else
51825
51826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51827 $as_echo_n "checking for _hypot declaration... " >&6; }
51828   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51829     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51830   $as_echo_n "(cached) " >&6
51831 else
51832
51833
51834       ac_ext=cpp
51835 ac_cpp='$CXXCPP $CPPFLAGS'
51836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51839
51840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51841 /* end confdefs.h.  */
51842 #include <math.h>
51843 int
51844 main ()
51845 {
51846  _hypot(0, 0);
51847   ;
51848   return 0;
51849 }
51850 _ACEOF
51851 if ac_fn_cxx_try_compile "$LINENO"; then :
51852   glibcxx_cv_func__hypot_use=yes
51853 else
51854   glibcxx_cv_func__hypot_use=no
51855 fi
51856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51857       ac_ext=c
51858 ac_cpp='$CPP $CPPFLAGS'
51859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51862
51863
51864 fi
51865
51866   fi
51867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51868 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51869
51870     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51871       for ac_func in _hypot
51872 do :
51873   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51874 if test "x$ac_cv_func__hypot" = x""yes; then :
51875   cat >>confdefs.h <<_ACEOF
51876 #define HAVE__HYPOT 1
51877 _ACEOF
51878
51879 fi
51880 done
51881
51882     fi
51883   fi
51884
51885
51886
51887
51888
51889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51890 $as_echo_n "checking for float trig functions... " >&6; }
51891   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51892   $as_echo_n "(cached) " >&6
51893 else
51894
51895
51896     ac_ext=cpp
51897 ac_cpp='$CXXCPP $CPPFLAGS'
51898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51901
51902     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51903 /* end confdefs.h.  */
51904 #include <math.h>
51905 int
51906 main ()
51907 {
51908 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51909   ;
51910   return 0;
51911 }
51912 _ACEOF
51913 if ac_fn_cxx_try_compile "$LINENO"; then :
51914   glibcxx_cv_func_float_trig_use=yes
51915 else
51916   glibcxx_cv_func_float_trig_use=no
51917 fi
51918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51919     ac_ext=c
51920 ac_cpp='$CPP $CPPFLAGS'
51921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51924
51925 fi
51926
51927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51928 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51929   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51930     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51931 do :
51932   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51934 eval as_val=\$$as_ac_var
51935    if test "x$as_val" = x""yes; then :
51936   cat >>confdefs.h <<_ACEOF
51937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51938 _ACEOF
51939
51940 fi
51941 done
51942
51943   else
51944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51945 $as_echo_n "checking for _float trig functions... " >&6; }
51946     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51947   $as_echo_n "(cached) " >&6
51948 else
51949
51950
51951       ac_ext=cpp
51952 ac_cpp='$CXXCPP $CPPFLAGS'
51953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51956
51957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51958 /* end confdefs.h.  */
51959 #include <math.h>
51960 int
51961 main ()
51962 {
51963 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51964   ;
51965   return 0;
51966 }
51967 _ACEOF
51968 if ac_fn_cxx_try_compile "$LINENO"; then :
51969   glibcxx_cv_func__float_trig_use=yes
51970 else
51971   glibcxx_cv_func__float_trig_use=no
51972 fi
51973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51974       ac_ext=c
51975 ac_cpp='$CPP $CPPFLAGS'
51976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51979
51980 fi
51981
51982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51983 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51984     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51985       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51986 do :
51987   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51989 eval as_val=\$$as_ac_var
51990    if test "x$as_val" = x""yes; then :
51991   cat >>confdefs.h <<_ACEOF
51992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51993 _ACEOF
51994
51995 fi
51996 done
51997
51998     fi
51999   fi
52000
52001
52002
52003
52004
52005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52006 $as_echo_n "checking for float round functions... " >&6; }
52007   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52008   $as_echo_n "(cached) " >&6
52009 else
52010
52011
52012     ac_ext=cpp
52013 ac_cpp='$CXXCPP $CPPFLAGS'
52014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52017
52018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52019 /* end confdefs.h.  */
52020 #include <math.h>
52021 int
52022 main ()
52023 {
52024 ceilf (0); floorf (0);
52025   ;
52026   return 0;
52027 }
52028 _ACEOF
52029 if ac_fn_cxx_try_compile "$LINENO"; then :
52030   glibcxx_cv_func_float_round_use=yes
52031 else
52032   glibcxx_cv_func_float_round_use=no
52033 fi
52034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52035     ac_ext=c
52036 ac_cpp='$CPP $CPPFLAGS'
52037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52040
52041 fi
52042
52043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52044 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52045   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52046     for ac_func in ceilf floorf
52047 do :
52048   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52050 eval as_val=\$$as_ac_var
52051    if test "x$as_val" = x""yes; then :
52052   cat >>confdefs.h <<_ACEOF
52053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52054 _ACEOF
52055
52056 fi
52057 done
52058
52059   else
52060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52061 $as_echo_n "checking for _float round functions... " >&6; }
52062     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52063   $as_echo_n "(cached) " >&6
52064 else
52065
52066
52067       ac_ext=cpp
52068 ac_cpp='$CXXCPP $CPPFLAGS'
52069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52072
52073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52074 /* end confdefs.h.  */
52075 #include <math.h>
52076 int
52077 main ()
52078 {
52079 _ceilf (0); _floorf (0);
52080   ;
52081   return 0;
52082 }
52083 _ACEOF
52084 if ac_fn_cxx_try_compile "$LINENO"; then :
52085   glibcxx_cv_func__float_round_use=yes
52086 else
52087   glibcxx_cv_func__float_round_use=no
52088 fi
52089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52090       ac_ext=c
52091 ac_cpp='$CPP $CPPFLAGS'
52092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52095
52096 fi
52097
52098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52099 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52100     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52101       for ac_func in _ceilf _floorf
52102 do :
52103   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52105 eval as_val=\$$as_ac_var
52106    if test "x$as_val" = x""yes; then :
52107   cat >>confdefs.h <<_ACEOF
52108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52109 _ACEOF
52110
52111 fi
52112 done
52113
52114     fi
52115   fi
52116
52117
52118
52119
52120
52121
52122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52123 $as_echo_n "checking for expf declaration... " >&6; }
52124   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52125     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52126   $as_echo_n "(cached) " >&6
52127 else
52128
52129
52130       ac_ext=cpp
52131 ac_cpp='$CXXCPP $CPPFLAGS'
52132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52135
52136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52137 /* end confdefs.h.  */
52138 #include <math.h>
52139                       #ifdef HAVE_IEEEFP_H
52140                       #include <ieeefp.h>
52141                       #endif
52142
52143 int
52144 main ()
52145 {
52146  expf(0);
52147   ;
52148   return 0;
52149 }
52150 _ACEOF
52151 if ac_fn_cxx_try_compile "$LINENO"; then :
52152   glibcxx_cv_func_expf_use=yes
52153 else
52154   glibcxx_cv_func_expf_use=no
52155 fi
52156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52157       ac_ext=c
52158 ac_cpp='$CPP $CPPFLAGS'
52159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162
52163
52164 fi
52165
52166   fi
52167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52168 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52169
52170   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52171     for ac_func in expf
52172 do :
52173   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52174 if test "x$ac_cv_func_expf" = x""yes; then :
52175   cat >>confdefs.h <<_ACEOF
52176 #define HAVE_EXPF 1
52177 _ACEOF
52178
52179 fi
52180 done
52181
52182   else
52183
52184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52185 $as_echo_n "checking for _expf declaration... " >&6; }
52186   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52187     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52188   $as_echo_n "(cached) " >&6
52189 else
52190
52191
52192       ac_ext=cpp
52193 ac_cpp='$CXXCPP $CPPFLAGS'
52194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52197
52198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52199 /* end confdefs.h.  */
52200 #include <math.h>
52201                       #ifdef HAVE_IEEEFP_H
52202                       #include <ieeefp.h>
52203                       #endif
52204
52205 int
52206 main ()
52207 {
52208  _expf(0);
52209   ;
52210   return 0;
52211 }
52212 _ACEOF
52213 if ac_fn_cxx_try_compile "$LINENO"; then :
52214   glibcxx_cv_func__expf_use=yes
52215 else
52216   glibcxx_cv_func__expf_use=no
52217 fi
52218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52219       ac_ext=c
52220 ac_cpp='$CPP $CPPFLAGS'
52221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52224
52225
52226 fi
52227
52228   fi
52229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52230 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52231
52232     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52233       for ac_func in _expf
52234 do :
52235   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52236 if test "x$ac_cv_func__expf" = x""yes; then :
52237   cat >>confdefs.h <<_ACEOF
52238 #define HAVE__EXPF 1
52239 _ACEOF
52240
52241 fi
52242 done
52243
52244     fi
52245   fi
52246
52247
52248
52249
52250
52251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52252 $as_echo_n "checking for isnanf declaration... " >&6; }
52253   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52254     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52255   $as_echo_n "(cached) " >&6
52256 else
52257
52258
52259       ac_ext=cpp
52260 ac_cpp='$CXXCPP $CPPFLAGS'
52261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52264
52265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52266 /* end confdefs.h.  */
52267 #include <math.h>
52268                       #ifdef HAVE_IEEEFP_H
52269                       #include <ieeefp.h>
52270                       #endif
52271
52272 int
52273 main ()
52274 {
52275  isnanf(0);
52276   ;
52277   return 0;
52278 }
52279 _ACEOF
52280 if ac_fn_cxx_try_compile "$LINENO"; then :
52281   glibcxx_cv_func_isnanf_use=yes
52282 else
52283   glibcxx_cv_func_isnanf_use=no
52284 fi
52285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52286       ac_ext=c
52287 ac_cpp='$CPP $CPPFLAGS'
52288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52291
52292
52293 fi
52294
52295   fi
52296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52297 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52298
52299   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52300     for ac_func in isnanf
52301 do :
52302   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52303 if test "x$ac_cv_func_isnanf" = x""yes; then :
52304   cat >>confdefs.h <<_ACEOF
52305 #define HAVE_ISNANF 1
52306 _ACEOF
52307
52308 fi
52309 done
52310
52311   else
52312
52313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52314 $as_echo_n "checking for _isnanf declaration... " >&6; }
52315   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52316     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52317   $as_echo_n "(cached) " >&6
52318 else
52319
52320
52321       ac_ext=cpp
52322 ac_cpp='$CXXCPP $CPPFLAGS'
52323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52326
52327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52328 /* end confdefs.h.  */
52329 #include <math.h>
52330                       #ifdef HAVE_IEEEFP_H
52331                       #include <ieeefp.h>
52332                       #endif
52333
52334 int
52335 main ()
52336 {
52337  _isnanf(0);
52338   ;
52339   return 0;
52340 }
52341 _ACEOF
52342 if ac_fn_cxx_try_compile "$LINENO"; then :
52343   glibcxx_cv_func__isnanf_use=yes
52344 else
52345   glibcxx_cv_func__isnanf_use=no
52346 fi
52347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52348       ac_ext=c
52349 ac_cpp='$CPP $CPPFLAGS'
52350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52353
52354
52355 fi
52356
52357   fi
52358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52359 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52360
52361     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52362       for ac_func in _isnanf
52363 do :
52364   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52365 if test "x$ac_cv_func__isnanf" = x""yes; then :
52366   cat >>confdefs.h <<_ACEOF
52367 #define HAVE__ISNANF 1
52368 _ACEOF
52369
52370 fi
52371 done
52372
52373     fi
52374   fi
52375
52376
52377
52378
52379
52380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52381 $as_echo_n "checking for isinff declaration... " >&6; }
52382   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52383     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52384   $as_echo_n "(cached) " >&6
52385 else
52386
52387
52388       ac_ext=cpp
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52393
52394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52395 /* end confdefs.h.  */
52396 #include <math.h>
52397                       #ifdef HAVE_IEEEFP_H
52398                       #include <ieeefp.h>
52399                       #endif
52400
52401 int
52402 main ()
52403 {
52404  isinff(0);
52405   ;
52406   return 0;
52407 }
52408 _ACEOF
52409 if ac_fn_cxx_try_compile "$LINENO"; then :
52410   glibcxx_cv_func_isinff_use=yes
52411 else
52412   glibcxx_cv_func_isinff_use=no
52413 fi
52414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52415       ac_ext=c
52416 ac_cpp='$CPP $CPPFLAGS'
52417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52420
52421
52422 fi
52423
52424   fi
52425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52426 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52427
52428   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52429     for ac_func in isinff
52430 do :
52431   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52432 if test "x$ac_cv_func_isinff" = x""yes; then :
52433   cat >>confdefs.h <<_ACEOF
52434 #define HAVE_ISINFF 1
52435 _ACEOF
52436
52437 fi
52438 done
52439
52440   else
52441
52442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52443 $as_echo_n "checking for _isinff declaration... " >&6; }
52444   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52445     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52446   $as_echo_n "(cached) " >&6
52447 else
52448
52449
52450       ac_ext=cpp
52451 ac_cpp='$CXXCPP $CPPFLAGS'
52452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52455
52456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52457 /* end confdefs.h.  */
52458 #include <math.h>
52459                       #ifdef HAVE_IEEEFP_H
52460                       #include <ieeefp.h>
52461                       #endif
52462
52463 int
52464 main ()
52465 {
52466  _isinff(0);
52467   ;
52468   return 0;
52469 }
52470 _ACEOF
52471 if ac_fn_cxx_try_compile "$LINENO"; then :
52472   glibcxx_cv_func__isinff_use=yes
52473 else
52474   glibcxx_cv_func__isinff_use=no
52475 fi
52476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52477       ac_ext=c
52478 ac_cpp='$CPP $CPPFLAGS'
52479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52482
52483
52484 fi
52485
52486   fi
52487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52488 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52489
52490     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52491       for ac_func in _isinff
52492 do :
52493   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52494 if test "x$ac_cv_func__isinff" = x""yes; then :
52495   cat >>confdefs.h <<_ACEOF
52496 #define HAVE__ISINFF 1
52497 _ACEOF
52498
52499 fi
52500 done
52501
52502     fi
52503   fi
52504
52505
52506
52507
52508
52509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52510 $as_echo_n "checking for atan2f declaration... " >&6; }
52511   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52512     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52513   $as_echo_n "(cached) " >&6
52514 else
52515
52516
52517       ac_ext=cpp
52518 ac_cpp='$CXXCPP $CPPFLAGS'
52519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52522
52523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52524 /* end confdefs.h.  */
52525 #include <math.h>
52526 int
52527 main ()
52528 {
52529  atan2f(0, 0);
52530   ;
52531   return 0;
52532 }
52533 _ACEOF
52534 if ac_fn_cxx_try_compile "$LINENO"; then :
52535   glibcxx_cv_func_atan2f_use=yes
52536 else
52537   glibcxx_cv_func_atan2f_use=no
52538 fi
52539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52540       ac_ext=c
52541 ac_cpp='$CPP $CPPFLAGS'
52542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52545
52546
52547 fi
52548
52549   fi
52550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52551 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52552
52553   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52554     for ac_func in atan2f
52555 do :
52556   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52557 if test "x$ac_cv_func_atan2f" = x""yes; then :
52558   cat >>confdefs.h <<_ACEOF
52559 #define HAVE_ATAN2F 1
52560 _ACEOF
52561
52562 fi
52563 done
52564
52565   else
52566
52567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52568 $as_echo_n "checking for _atan2f declaration... " >&6; }
52569   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52570     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52571   $as_echo_n "(cached) " >&6
52572 else
52573
52574
52575       ac_ext=cpp
52576 ac_cpp='$CXXCPP $CPPFLAGS'
52577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52580
52581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52582 /* end confdefs.h.  */
52583 #include <math.h>
52584 int
52585 main ()
52586 {
52587  _atan2f(0, 0);
52588   ;
52589   return 0;
52590 }
52591 _ACEOF
52592 if ac_fn_cxx_try_compile "$LINENO"; then :
52593   glibcxx_cv_func__atan2f_use=yes
52594 else
52595   glibcxx_cv_func__atan2f_use=no
52596 fi
52597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52598       ac_ext=c
52599 ac_cpp='$CPP $CPPFLAGS'
52600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52603
52604
52605 fi
52606
52607   fi
52608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52609 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52610
52611     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52612       for ac_func in _atan2f
52613 do :
52614   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52615 if test "x$ac_cv_func__atan2f" = x""yes; then :
52616   cat >>confdefs.h <<_ACEOF
52617 #define HAVE__ATAN2F 1
52618 _ACEOF
52619
52620 fi
52621 done
52622
52623     fi
52624   fi
52625
52626
52627
52628
52629
52630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52631 $as_echo_n "checking for fabsf declaration... " >&6; }
52632   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52633     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52634   $as_echo_n "(cached) " >&6
52635 else
52636
52637
52638       ac_ext=cpp
52639 ac_cpp='$CXXCPP $CPPFLAGS'
52640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52643
52644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52645 /* end confdefs.h.  */
52646 #include <math.h>
52647                       #ifdef HAVE_IEEEFP_H
52648                       #include <ieeefp.h>
52649                       #endif
52650
52651 int
52652 main ()
52653 {
52654  fabsf(0);
52655   ;
52656   return 0;
52657 }
52658 _ACEOF
52659 if ac_fn_cxx_try_compile "$LINENO"; then :
52660   glibcxx_cv_func_fabsf_use=yes
52661 else
52662   glibcxx_cv_func_fabsf_use=no
52663 fi
52664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52665       ac_ext=c
52666 ac_cpp='$CPP $CPPFLAGS'
52667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52670
52671
52672 fi
52673
52674   fi
52675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52676 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52677
52678   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52679     for ac_func in fabsf
52680 do :
52681   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52682 if test "x$ac_cv_func_fabsf" = x""yes; then :
52683   cat >>confdefs.h <<_ACEOF
52684 #define HAVE_FABSF 1
52685 _ACEOF
52686
52687 fi
52688 done
52689
52690   else
52691
52692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52693 $as_echo_n "checking for _fabsf declaration... " >&6; }
52694   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52695     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52696   $as_echo_n "(cached) " >&6
52697 else
52698
52699
52700       ac_ext=cpp
52701 ac_cpp='$CXXCPP $CPPFLAGS'
52702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52705
52706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52707 /* end confdefs.h.  */
52708 #include <math.h>
52709                       #ifdef HAVE_IEEEFP_H
52710                       #include <ieeefp.h>
52711                       #endif
52712
52713 int
52714 main ()
52715 {
52716  _fabsf(0);
52717   ;
52718   return 0;
52719 }
52720 _ACEOF
52721 if ac_fn_cxx_try_compile "$LINENO"; then :
52722   glibcxx_cv_func__fabsf_use=yes
52723 else
52724   glibcxx_cv_func__fabsf_use=no
52725 fi
52726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52727       ac_ext=c
52728 ac_cpp='$CPP $CPPFLAGS'
52729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52732
52733
52734 fi
52735
52736   fi
52737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52738 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52739
52740     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52741       for ac_func in _fabsf
52742 do :
52743   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52744 if test "x$ac_cv_func__fabsf" = x""yes; then :
52745   cat >>confdefs.h <<_ACEOF
52746 #define HAVE__FABSF 1
52747 _ACEOF
52748
52749 fi
52750 done
52751
52752     fi
52753   fi
52754
52755
52756
52757
52758
52759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52760 $as_echo_n "checking for fmodf declaration... " >&6; }
52761   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52762     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52763   $as_echo_n "(cached) " >&6
52764 else
52765
52766
52767       ac_ext=cpp
52768 ac_cpp='$CXXCPP $CPPFLAGS'
52769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52772
52773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52774 /* end confdefs.h.  */
52775 #include <math.h>
52776 int
52777 main ()
52778 {
52779  fmodf(0, 0);
52780   ;
52781   return 0;
52782 }
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785   glibcxx_cv_func_fmodf_use=yes
52786 else
52787   glibcxx_cv_func_fmodf_use=no
52788 fi
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790       ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52795
52796
52797 fi
52798
52799   fi
52800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52801 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52802
52803   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52804     for ac_func in fmodf
52805 do :
52806   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52807 if test "x$ac_cv_func_fmodf" = x""yes; then :
52808   cat >>confdefs.h <<_ACEOF
52809 #define HAVE_FMODF 1
52810 _ACEOF
52811
52812 fi
52813 done
52814
52815   else
52816
52817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52818 $as_echo_n "checking for _fmodf declaration... " >&6; }
52819   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52820     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52821   $as_echo_n "(cached) " >&6
52822 else
52823
52824
52825       ac_ext=cpp
52826 ac_cpp='$CXXCPP $CPPFLAGS'
52827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52830
52831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52832 /* end confdefs.h.  */
52833 #include <math.h>
52834 int
52835 main ()
52836 {
52837  _fmodf(0, 0);
52838   ;
52839   return 0;
52840 }
52841 _ACEOF
52842 if ac_fn_cxx_try_compile "$LINENO"; then :
52843   glibcxx_cv_func__fmodf_use=yes
52844 else
52845   glibcxx_cv_func__fmodf_use=no
52846 fi
52847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52848       ac_ext=c
52849 ac_cpp='$CPP $CPPFLAGS'
52850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52853
52854
52855 fi
52856
52857   fi
52858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52859 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52860
52861     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52862       for ac_func in _fmodf
52863 do :
52864   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52865 if test "x$ac_cv_func__fmodf" = x""yes; then :
52866   cat >>confdefs.h <<_ACEOF
52867 #define HAVE__FMODF 1
52868 _ACEOF
52869
52870 fi
52871 done
52872
52873     fi
52874   fi
52875
52876
52877
52878
52879
52880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52881 $as_echo_n "checking for frexpf declaration... " >&6; }
52882   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52883     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52884   $as_echo_n "(cached) " >&6
52885 else
52886
52887
52888       ac_ext=cpp
52889 ac_cpp='$CXXCPP $CPPFLAGS'
52890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52893
52894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895 /* end confdefs.h.  */
52896 #include <math.h>
52897 int
52898 main ()
52899 {
52900  frexpf(0, 0);
52901   ;
52902   return 0;
52903 }
52904 _ACEOF
52905 if ac_fn_cxx_try_compile "$LINENO"; then :
52906   glibcxx_cv_func_frexpf_use=yes
52907 else
52908   glibcxx_cv_func_frexpf_use=no
52909 fi
52910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52911       ac_ext=c
52912 ac_cpp='$CPP $CPPFLAGS'
52913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52916
52917
52918 fi
52919
52920   fi
52921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52922 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52923
52924   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52925     for ac_func in frexpf
52926 do :
52927   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52928 if test "x$ac_cv_func_frexpf" = x""yes; then :
52929   cat >>confdefs.h <<_ACEOF
52930 #define HAVE_FREXPF 1
52931 _ACEOF
52932
52933 fi
52934 done
52935
52936   else
52937
52938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52939 $as_echo_n "checking for _frexpf declaration... " >&6; }
52940   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52941     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52942   $as_echo_n "(cached) " >&6
52943 else
52944
52945
52946       ac_ext=cpp
52947 ac_cpp='$CXXCPP $CPPFLAGS'
52948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52951
52952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52953 /* end confdefs.h.  */
52954 #include <math.h>
52955 int
52956 main ()
52957 {
52958  _frexpf(0, 0);
52959   ;
52960   return 0;
52961 }
52962 _ACEOF
52963 if ac_fn_cxx_try_compile "$LINENO"; then :
52964   glibcxx_cv_func__frexpf_use=yes
52965 else
52966   glibcxx_cv_func__frexpf_use=no
52967 fi
52968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52969       ac_ext=c
52970 ac_cpp='$CPP $CPPFLAGS'
52971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974
52975
52976 fi
52977
52978   fi
52979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52980 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52981
52982     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52983       for ac_func in _frexpf
52984 do :
52985   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52986 if test "x$ac_cv_func__frexpf" = x""yes; then :
52987   cat >>confdefs.h <<_ACEOF
52988 #define HAVE__FREXPF 1
52989 _ACEOF
52990
52991 fi
52992 done
52993
52994     fi
52995   fi
52996
52997
52998
52999
53000
53001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53002 $as_echo_n "checking for hypotf declaration... " >&6; }
53003   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53004     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53005   $as_echo_n "(cached) " >&6
53006 else
53007
53008
53009       ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53014
53015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h.  */
53017 #include <math.h>
53018 int
53019 main ()
53020 {
53021  hypotf(0, 0);
53022   ;
53023   return 0;
53024 }
53025 _ACEOF
53026 if ac_fn_cxx_try_compile "$LINENO"; then :
53027   glibcxx_cv_func_hypotf_use=yes
53028 else
53029   glibcxx_cv_func_hypotf_use=no
53030 fi
53031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53032       ac_ext=c
53033 ac_cpp='$CPP $CPPFLAGS'
53034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53037
53038
53039 fi
53040
53041   fi
53042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53043 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53044
53045   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53046     for ac_func in hypotf
53047 do :
53048   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53049 if test "x$ac_cv_func_hypotf" = x""yes; then :
53050   cat >>confdefs.h <<_ACEOF
53051 #define HAVE_HYPOTF 1
53052 _ACEOF
53053
53054 fi
53055 done
53056
53057   else
53058
53059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53060 $as_echo_n "checking for _hypotf declaration... " >&6; }
53061   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53062     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53063   $as_echo_n "(cached) " >&6
53064 else
53065
53066
53067       ac_ext=cpp
53068 ac_cpp='$CXXCPP $CPPFLAGS'
53069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53072
53073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53074 /* end confdefs.h.  */
53075 #include <math.h>
53076 int
53077 main ()
53078 {
53079  _hypotf(0, 0);
53080   ;
53081   return 0;
53082 }
53083 _ACEOF
53084 if ac_fn_cxx_try_compile "$LINENO"; then :
53085   glibcxx_cv_func__hypotf_use=yes
53086 else
53087   glibcxx_cv_func__hypotf_use=no
53088 fi
53089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53090       ac_ext=c
53091 ac_cpp='$CPP $CPPFLAGS'
53092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53095
53096
53097 fi
53098
53099   fi
53100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53101 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53102
53103     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53104       for ac_func in _hypotf
53105 do :
53106   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53107 if test "x$ac_cv_func__hypotf" = x""yes; then :
53108   cat >>confdefs.h <<_ACEOF
53109 #define HAVE__HYPOTF 1
53110 _ACEOF
53111
53112 fi
53113 done
53114
53115     fi
53116   fi
53117
53118
53119
53120
53121
53122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53123 $as_echo_n "checking for ldexpf declaration... " >&6; }
53124   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53125     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53126   $as_echo_n "(cached) " >&6
53127 else
53128
53129
53130       ac_ext=cpp
53131 ac_cpp='$CXXCPP $CPPFLAGS'
53132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53135
53136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53137 /* end confdefs.h.  */
53138 #include <math.h>
53139 int
53140 main ()
53141 {
53142  ldexpf(0, 0);
53143   ;
53144   return 0;
53145 }
53146 _ACEOF
53147 if ac_fn_cxx_try_compile "$LINENO"; then :
53148   glibcxx_cv_func_ldexpf_use=yes
53149 else
53150   glibcxx_cv_func_ldexpf_use=no
53151 fi
53152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53153       ac_ext=c
53154 ac_cpp='$CPP $CPPFLAGS'
53155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53158
53159
53160 fi
53161
53162   fi
53163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53164 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53165
53166   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53167     for ac_func in ldexpf
53168 do :
53169   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53170 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53171   cat >>confdefs.h <<_ACEOF
53172 #define HAVE_LDEXPF 1
53173 _ACEOF
53174
53175 fi
53176 done
53177
53178   else
53179
53180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53181 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53182   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53183     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53184   $as_echo_n "(cached) " >&6
53185 else
53186
53187
53188       ac_ext=cpp
53189 ac_cpp='$CXXCPP $CPPFLAGS'
53190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53193
53194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53195 /* end confdefs.h.  */
53196 #include <math.h>
53197 int
53198 main ()
53199 {
53200  _ldexpf(0, 0);
53201   ;
53202   return 0;
53203 }
53204 _ACEOF
53205 if ac_fn_cxx_try_compile "$LINENO"; then :
53206   glibcxx_cv_func__ldexpf_use=yes
53207 else
53208   glibcxx_cv_func__ldexpf_use=no
53209 fi
53210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53211       ac_ext=c
53212 ac_cpp='$CPP $CPPFLAGS'
53213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53216
53217
53218 fi
53219
53220   fi
53221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53222 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53223
53224     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53225       for ac_func in _ldexpf
53226 do :
53227   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53228 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53229   cat >>confdefs.h <<_ACEOF
53230 #define HAVE__LDEXPF 1
53231 _ACEOF
53232
53233 fi
53234 done
53235
53236     fi
53237   fi
53238
53239
53240
53241
53242
53243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53244 $as_echo_n "checking for logf declaration... " >&6; }
53245   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53246     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53247   $as_echo_n "(cached) " >&6
53248 else
53249
53250
53251       ac_ext=cpp
53252 ac_cpp='$CXXCPP $CPPFLAGS'
53253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53256
53257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53258 /* end confdefs.h.  */
53259 #include <math.h>
53260                       #ifdef HAVE_IEEEFP_H
53261                       #include <ieeefp.h>
53262                       #endif
53263
53264 int
53265 main ()
53266 {
53267  logf(0);
53268   ;
53269   return 0;
53270 }
53271 _ACEOF
53272 if ac_fn_cxx_try_compile "$LINENO"; then :
53273   glibcxx_cv_func_logf_use=yes
53274 else
53275   glibcxx_cv_func_logf_use=no
53276 fi
53277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53278       ac_ext=c
53279 ac_cpp='$CPP $CPPFLAGS'
53280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53283
53284
53285 fi
53286
53287   fi
53288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53289 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53290
53291   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53292     for ac_func in logf
53293 do :
53294   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53295 if test "x$ac_cv_func_logf" = x""yes; then :
53296   cat >>confdefs.h <<_ACEOF
53297 #define HAVE_LOGF 1
53298 _ACEOF
53299
53300 fi
53301 done
53302
53303   else
53304
53305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53306 $as_echo_n "checking for _logf declaration... " >&6; }
53307   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53308     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53309   $as_echo_n "(cached) " >&6
53310 else
53311
53312
53313       ac_ext=cpp
53314 ac_cpp='$CXXCPP $CPPFLAGS'
53315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53318
53319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53320 /* end confdefs.h.  */
53321 #include <math.h>
53322                       #ifdef HAVE_IEEEFP_H
53323                       #include <ieeefp.h>
53324                       #endif
53325
53326 int
53327 main ()
53328 {
53329  _logf(0);
53330   ;
53331   return 0;
53332 }
53333 _ACEOF
53334 if ac_fn_cxx_try_compile "$LINENO"; then :
53335   glibcxx_cv_func__logf_use=yes
53336 else
53337   glibcxx_cv_func__logf_use=no
53338 fi
53339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53340       ac_ext=c
53341 ac_cpp='$CPP $CPPFLAGS'
53342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53345
53346
53347 fi
53348
53349   fi
53350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53351 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53352
53353     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53354       for ac_func in _logf
53355 do :
53356   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53357 if test "x$ac_cv_func__logf" = x""yes; then :
53358   cat >>confdefs.h <<_ACEOF
53359 #define HAVE__LOGF 1
53360 _ACEOF
53361
53362 fi
53363 done
53364
53365     fi
53366   fi
53367
53368
53369
53370
53371
53372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53373 $as_echo_n "checking for log10f declaration... " >&6; }
53374   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53375     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53376   $as_echo_n "(cached) " >&6
53377 else
53378
53379
53380       ac_ext=cpp
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53385
53386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53387 /* end confdefs.h.  */
53388 #include <math.h>
53389                       #ifdef HAVE_IEEEFP_H
53390                       #include <ieeefp.h>
53391                       #endif
53392
53393 int
53394 main ()
53395 {
53396  log10f(0);
53397   ;
53398   return 0;
53399 }
53400 _ACEOF
53401 if ac_fn_cxx_try_compile "$LINENO"; then :
53402   glibcxx_cv_func_log10f_use=yes
53403 else
53404   glibcxx_cv_func_log10f_use=no
53405 fi
53406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53407       ac_ext=c
53408 ac_cpp='$CPP $CPPFLAGS'
53409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53412
53413
53414 fi
53415
53416   fi
53417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53418 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53419
53420   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53421     for ac_func in log10f
53422 do :
53423   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53424 if test "x$ac_cv_func_log10f" = x""yes; then :
53425   cat >>confdefs.h <<_ACEOF
53426 #define HAVE_LOG10F 1
53427 _ACEOF
53428
53429 fi
53430 done
53431
53432   else
53433
53434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53435 $as_echo_n "checking for _log10f declaration... " >&6; }
53436   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53437     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53438   $as_echo_n "(cached) " >&6
53439 else
53440
53441
53442       ac_ext=cpp
53443 ac_cpp='$CXXCPP $CPPFLAGS'
53444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53447
53448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53449 /* end confdefs.h.  */
53450 #include <math.h>
53451                       #ifdef HAVE_IEEEFP_H
53452                       #include <ieeefp.h>
53453                       #endif
53454
53455 int
53456 main ()
53457 {
53458  _log10f(0);
53459   ;
53460   return 0;
53461 }
53462 _ACEOF
53463 if ac_fn_cxx_try_compile "$LINENO"; then :
53464   glibcxx_cv_func__log10f_use=yes
53465 else
53466   glibcxx_cv_func__log10f_use=no
53467 fi
53468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53469       ac_ext=c
53470 ac_cpp='$CPP $CPPFLAGS'
53471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53474
53475
53476 fi
53477
53478   fi
53479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53480 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53481
53482     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53483       for ac_func in _log10f
53484 do :
53485   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53486 if test "x$ac_cv_func__log10f" = x""yes; then :
53487   cat >>confdefs.h <<_ACEOF
53488 #define HAVE__LOG10F 1
53489 _ACEOF
53490
53491 fi
53492 done
53493
53494     fi
53495   fi
53496
53497
53498
53499
53500
53501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53502 $as_echo_n "checking for modff declaration... " >&6; }
53503   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53504     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53505   $as_echo_n "(cached) " >&6
53506 else
53507
53508
53509       ac_ext=cpp
53510 ac_cpp='$CXXCPP $CPPFLAGS'
53511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53514
53515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53516 /* end confdefs.h.  */
53517 #include <math.h>
53518 int
53519 main ()
53520 {
53521  modff(0, 0);
53522   ;
53523   return 0;
53524 }
53525 _ACEOF
53526 if ac_fn_cxx_try_compile "$LINENO"; then :
53527   glibcxx_cv_func_modff_use=yes
53528 else
53529   glibcxx_cv_func_modff_use=no
53530 fi
53531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53532       ac_ext=c
53533 ac_cpp='$CPP $CPPFLAGS'
53534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53537
53538
53539 fi
53540
53541   fi
53542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53543 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53544
53545   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53546     for ac_func in modff
53547 do :
53548   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53549 if test "x$ac_cv_func_modff" = x""yes; then :
53550   cat >>confdefs.h <<_ACEOF
53551 #define HAVE_MODFF 1
53552 _ACEOF
53553
53554 fi
53555 done
53556
53557   else
53558
53559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53560 $as_echo_n "checking for _modff declaration... " >&6; }
53561   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53562     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53563   $as_echo_n "(cached) " >&6
53564 else
53565
53566
53567       ac_ext=cpp
53568 ac_cpp='$CXXCPP $CPPFLAGS'
53569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53572
53573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53574 /* end confdefs.h.  */
53575 #include <math.h>
53576 int
53577 main ()
53578 {
53579  _modff(0, 0);
53580   ;
53581   return 0;
53582 }
53583 _ACEOF
53584 if ac_fn_cxx_try_compile "$LINENO"; then :
53585   glibcxx_cv_func__modff_use=yes
53586 else
53587   glibcxx_cv_func__modff_use=no
53588 fi
53589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53590       ac_ext=c
53591 ac_cpp='$CPP $CPPFLAGS'
53592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53595
53596
53597 fi
53598
53599   fi
53600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53601 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53602
53603     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53604       for ac_func in _modff
53605 do :
53606   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53607 if test "x$ac_cv_func__modff" = x""yes; then :
53608   cat >>confdefs.h <<_ACEOF
53609 #define HAVE__MODFF 1
53610 _ACEOF
53611
53612 fi
53613 done
53614
53615     fi
53616   fi
53617
53618
53619
53620
53621
53622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53623 $as_echo_n "checking for modf declaration... " >&6; }
53624   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53625     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53626   $as_echo_n "(cached) " >&6
53627 else
53628
53629
53630       ac_ext=cpp
53631 ac_cpp='$CXXCPP $CPPFLAGS'
53632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53635
53636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53637 /* end confdefs.h.  */
53638 #include <math.h>
53639 int
53640 main ()
53641 {
53642  modf(0, 0);
53643   ;
53644   return 0;
53645 }
53646 _ACEOF
53647 if ac_fn_cxx_try_compile "$LINENO"; then :
53648   glibcxx_cv_func_modf_use=yes
53649 else
53650   glibcxx_cv_func_modf_use=no
53651 fi
53652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53653       ac_ext=c
53654 ac_cpp='$CPP $CPPFLAGS'
53655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53658
53659
53660 fi
53661
53662   fi
53663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53664 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53665
53666   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53667     for ac_func in modf
53668 do :
53669   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53670 if test "x$ac_cv_func_modf" = x""yes; then :
53671   cat >>confdefs.h <<_ACEOF
53672 #define HAVE_MODF 1
53673 _ACEOF
53674
53675 fi
53676 done
53677
53678   else
53679
53680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53681 $as_echo_n "checking for _modf declaration... " >&6; }
53682   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53683     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53684   $as_echo_n "(cached) " >&6
53685 else
53686
53687
53688       ac_ext=cpp
53689 ac_cpp='$CXXCPP $CPPFLAGS'
53690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53693
53694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53695 /* end confdefs.h.  */
53696 #include <math.h>
53697 int
53698 main ()
53699 {
53700  _modf(0, 0);
53701   ;
53702   return 0;
53703 }
53704 _ACEOF
53705 if ac_fn_cxx_try_compile "$LINENO"; then :
53706   glibcxx_cv_func__modf_use=yes
53707 else
53708   glibcxx_cv_func__modf_use=no
53709 fi
53710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53711       ac_ext=c
53712 ac_cpp='$CPP $CPPFLAGS'
53713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53716
53717
53718 fi
53719
53720   fi
53721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53722 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53723
53724     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53725       for ac_func in _modf
53726 do :
53727   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53728 if test "x$ac_cv_func__modf" = x""yes; then :
53729   cat >>confdefs.h <<_ACEOF
53730 #define HAVE__MODF 1
53731 _ACEOF
53732
53733 fi
53734 done
53735
53736     fi
53737   fi
53738
53739
53740
53741
53742
53743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53744 $as_echo_n "checking for powf declaration... " >&6; }
53745   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53746     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53747   $as_echo_n "(cached) " >&6
53748 else
53749
53750
53751       ac_ext=cpp
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53756
53757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53758 /* end confdefs.h.  */
53759 #include <math.h>
53760 int
53761 main ()
53762 {
53763  powf(0, 0);
53764   ;
53765   return 0;
53766 }
53767 _ACEOF
53768 if ac_fn_cxx_try_compile "$LINENO"; then :
53769   glibcxx_cv_func_powf_use=yes
53770 else
53771   glibcxx_cv_func_powf_use=no
53772 fi
53773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53774       ac_ext=c
53775 ac_cpp='$CPP $CPPFLAGS'
53776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53779
53780
53781 fi
53782
53783   fi
53784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53785 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53786
53787   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53788     for ac_func in powf
53789 do :
53790   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53791 if test "x$ac_cv_func_powf" = x""yes; then :
53792   cat >>confdefs.h <<_ACEOF
53793 #define HAVE_POWF 1
53794 _ACEOF
53795
53796 fi
53797 done
53798
53799   else
53800
53801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53802 $as_echo_n "checking for _powf declaration... " >&6; }
53803   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53804     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53805   $as_echo_n "(cached) " >&6
53806 else
53807
53808
53809       ac_ext=cpp
53810 ac_cpp='$CXXCPP $CPPFLAGS'
53811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53814
53815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53816 /* end confdefs.h.  */
53817 #include <math.h>
53818 int
53819 main ()
53820 {
53821  _powf(0, 0);
53822   ;
53823   return 0;
53824 }
53825 _ACEOF
53826 if ac_fn_cxx_try_compile "$LINENO"; then :
53827   glibcxx_cv_func__powf_use=yes
53828 else
53829   glibcxx_cv_func__powf_use=no
53830 fi
53831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53832       ac_ext=c
53833 ac_cpp='$CPP $CPPFLAGS'
53834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53837
53838
53839 fi
53840
53841   fi
53842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53843 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53844
53845     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53846       for ac_func in _powf
53847 do :
53848   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53849 if test "x$ac_cv_func__powf" = x""yes; then :
53850   cat >>confdefs.h <<_ACEOF
53851 #define HAVE__POWF 1
53852 _ACEOF
53853
53854 fi
53855 done
53856
53857     fi
53858   fi
53859
53860
53861
53862
53863
53864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53865 $as_echo_n "checking for sqrtf declaration... " >&6; }
53866   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53867     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53868   $as_echo_n "(cached) " >&6
53869 else
53870
53871
53872       ac_ext=cpp
53873 ac_cpp='$CXXCPP $CPPFLAGS'
53874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53877
53878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879 /* end confdefs.h.  */
53880 #include <math.h>
53881                       #ifdef HAVE_IEEEFP_H
53882                       #include <ieeefp.h>
53883                       #endif
53884
53885 int
53886 main ()
53887 {
53888  sqrtf(0);
53889   ;
53890   return 0;
53891 }
53892 _ACEOF
53893 if ac_fn_cxx_try_compile "$LINENO"; then :
53894   glibcxx_cv_func_sqrtf_use=yes
53895 else
53896   glibcxx_cv_func_sqrtf_use=no
53897 fi
53898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899       ac_ext=c
53900 ac_cpp='$CPP $CPPFLAGS'
53901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53904
53905
53906 fi
53907
53908   fi
53909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53910 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53911
53912   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53913     for ac_func in sqrtf
53914 do :
53915   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53916 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53917   cat >>confdefs.h <<_ACEOF
53918 #define HAVE_SQRTF 1
53919 _ACEOF
53920
53921 fi
53922 done
53923
53924   else
53925
53926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53927 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53928   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53929     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53930   $as_echo_n "(cached) " >&6
53931 else
53932
53933
53934       ac_ext=cpp
53935 ac_cpp='$CXXCPP $CPPFLAGS'
53936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53939
53940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53941 /* end confdefs.h.  */
53942 #include <math.h>
53943                       #ifdef HAVE_IEEEFP_H
53944                       #include <ieeefp.h>
53945                       #endif
53946
53947 int
53948 main ()
53949 {
53950  _sqrtf(0);
53951   ;
53952   return 0;
53953 }
53954 _ACEOF
53955 if ac_fn_cxx_try_compile "$LINENO"; then :
53956   glibcxx_cv_func__sqrtf_use=yes
53957 else
53958   glibcxx_cv_func__sqrtf_use=no
53959 fi
53960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53961       ac_ext=c
53962 ac_cpp='$CPP $CPPFLAGS'
53963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53966
53967
53968 fi
53969
53970   fi
53971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53972 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53973
53974     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53975       for ac_func in _sqrtf
53976 do :
53977   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53978 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53979   cat >>confdefs.h <<_ACEOF
53980 #define HAVE__SQRTF 1
53981 _ACEOF
53982
53983 fi
53984 done
53985
53986     fi
53987   fi
53988
53989
53990
53991
53992
53993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53994 $as_echo_n "checking for sincosf declaration... " >&6; }
53995   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53996     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53997   $as_echo_n "(cached) " >&6
53998 else
53999
54000
54001       ac_ext=cpp
54002 ac_cpp='$CXXCPP $CPPFLAGS'
54003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54006
54007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h.  */
54009 #include <math.h>
54010 int
54011 main ()
54012 {
54013  sincosf(0, 0, 0);
54014   ;
54015   return 0;
54016 }
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019   glibcxx_cv_func_sincosf_use=yes
54020 else
54021   glibcxx_cv_func_sincosf_use=no
54022 fi
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024       ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54029
54030
54031 fi
54032
54033   fi
54034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54035 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54036
54037   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54038     for ac_func in sincosf
54039 do :
54040   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54041 if test "x$ac_cv_func_sincosf" = x""yes; then :
54042   cat >>confdefs.h <<_ACEOF
54043 #define HAVE_SINCOSF 1
54044 _ACEOF
54045
54046 fi
54047 done
54048
54049   else
54050
54051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54052 $as_echo_n "checking for _sincosf declaration... " >&6; }
54053   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54054     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54055   $as_echo_n "(cached) " >&6
54056 else
54057
54058
54059       ac_ext=cpp
54060 ac_cpp='$CXXCPP $CPPFLAGS'
54061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54064
54065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h.  */
54067 #include <math.h>
54068 int
54069 main ()
54070 {
54071  _sincosf(0, 0, 0);
54072   ;
54073   return 0;
54074 }
54075 _ACEOF
54076 if ac_fn_cxx_try_compile "$LINENO"; then :
54077   glibcxx_cv_func__sincosf_use=yes
54078 else
54079   glibcxx_cv_func__sincosf_use=no
54080 fi
54081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54082       ac_ext=c
54083 ac_cpp='$CPP $CPPFLAGS'
54084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54087
54088
54089 fi
54090
54091   fi
54092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54093 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54094
54095     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54096       for ac_func in _sincosf
54097 do :
54098   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54099 if test "x$ac_cv_func__sincosf" = x""yes; then :
54100   cat >>confdefs.h <<_ACEOF
54101 #define HAVE__SINCOSF 1
54102 _ACEOF
54103
54104 fi
54105 done
54106
54107     fi
54108   fi
54109
54110
54111
54112
54113
54114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54115 $as_echo_n "checking for finitef declaration... " >&6; }
54116   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54117     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54118   $as_echo_n "(cached) " >&6
54119 else
54120
54121
54122       ac_ext=cpp
54123 ac_cpp='$CXXCPP $CPPFLAGS'
54124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54127
54128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129 /* end confdefs.h.  */
54130 #include <math.h>
54131                       #ifdef HAVE_IEEEFP_H
54132                       #include <ieeefp.h>
54133                       #endif
54134
54135 int
54136 main ()
54137 {
54138  finitef(0);
54139   ;
54140   return 0;
54141 }
54142 _ACEOF
54143 if ac_fn_cxx_try_compile "$LINENO"; then :
54144   glibcxx_cv_func_finitef_use=yes
54145 else
54146   glibcxx_cv_func_finitef_use=no
54147 fi
54148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54149       ac_ext=c
54150 ac_cpp='$CPP $CPPFLAGS'
54151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54154
54155
54156 fi
54157
54158   fi
54159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54160 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54161
54162   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54163     for ac_func in finitef
54164 do :
54165   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54166 if test "x$ac_cv_func_finitef" = x""yes; then :
54167   cat >>confdefs.h <<_ACEOF
54168 #define HAVE_FINITEF 1
54169 _ACEOF
54170
54171 fi
54172 done
54173
54174   else
54175
54176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54177 $as_echo_n "checking for _finitef declaration... " >&6; }
54178   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54179     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54180   $as_echo_n "(cached) " >&6
54181 else
54182
54183
54184       ac_ext=cpp
54185 ac_cpp='$CXXCPP $CPPFLAGS'
54186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54189
54190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54191 /* end confdefs.h.  */
54192 #include <math.h>
54193                       #ifdef HAVE_IEEEFP_H
54194                       #include <ieeefp.h>
54195                       #endif
54196
54197 int
54198 main ()
54199 {
54200  _finitef(0);
54201   ;
54202   return 0;
54203 }
54204 _ACEOF
54205 if ac_fn_cxx_try_compile "$LINENO"; then :
54206   glibcxx_cv_func__finitef_use=yes
54207 else
54208   glibcxx_cv_func__finitef_use=no
54209 fi
54210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54211       ac_ext=c
54212 ac_cpp='$CPP $CPPFLAGS'
54213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54216
54217
54218 fi
54219
54220   fi
54221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54222 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54223
54224     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54225       for ac_func in _finitef
54226 do :
54227   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54228 if test "x$ac_cv_func__finitef" = x""yes; then :
54229   cat >>confdefs.h <<_ACEOF
54230 #define HAVE__FINITEF 1
54231 _ACEOF
54232
54233 fi
54234 done
54235
54236     fi
54237   fi
54238
54239
54240
54241
54242
54243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54244 $as_echo_n "checking for long double trig functions... " >&6; }
54245   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54246   $as_echo_n "(cached) " >&6
54247 else
54248
54249
54250     ac_ext=cpp
54251 ac_cpp='$CXXCPP $CPPFLAGS'
54252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54255
54256     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54257 /* end confdefs.h.  */
54258 #include <math.h>
54259 int
54260 main ()
54261 {
54262 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54263   ;
54264   return 0;
54265 }
54266 _ACEOF
54267 if ac_fn_cxx_try_compile "$LINENO"; then :
54268   glibcxx_cv_func_long_double_trig_use=yes
54269 else
54270   glibcxx_cv_func_long_double_trig_use=no
54271 fi
54272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54273     ac_ext=c
54274 ac_cpp='$CPP $CPPFLAGS'
54275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54278
54279 fi
54280
54281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54282 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54283   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54284     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54285 do :
54286   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54288 eval as_val=\$$as_ac_var
54289    if test "x$as_val" = x""yes; then :
54290   cat >>confdefs.h <<_ACEOF
54291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54292 _ACEOF
54293
54294 fi
54295 done
54296
54297   else
54298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54299 $as_echo_n "checking for _long double trig functions... " >&6; }
54300     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54301   $as_echo_n "(cached) " >&6
54302 else
54303
54304
54305       ac_ext=cpp
54306 ac_cpp='$CXXCPP $CPPFLAGS'
54307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54310
54311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54312 /* end confdefs.h.  */
54313 #include <math.h>
54314 int
54315 main ()
54316 {
54317 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54318   ;
54319   return 0;
54320 }
54321 _ACEOF
54322 if ac_fn_cxx_try_compile "$LINENO"; then :
54323   glibcxx_cv_func__long_double_trig_use=yes
54324 else
54325   glibcxx_cv_func__long_double_trig_use=no
54326 fi
54327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54328       ac_ext=c
54329 ac_cpp='$CPP $CPPFLAGS'
54330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54333
54334 fi
54335
54336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54337 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54338     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54339       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54340 do :
54341   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54343 eval as_val=\$$as_ac_var
54344    if test "x$as_val" = x""yes; then :
54345   cat >>confdefs.h <<_ACEOF
54346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54347 _ACEOF
54348
54349 fi
54350 done
54351
54352     fi
54353   fi
54354
54355
54356
54357
54358
54359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54360 $as_echo_n "checking for long double round functions... " >&6; }
54361   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54362   $as_echo_n "(cached) " >&6
54363 else
54364
54365
54366     ac_ext=cpp
54367 ac_cpp='$CXXCPP $CPPFLAGS'
54368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54371
54372     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54373 /* end confdefs.h.  */
54374 #include <math.h>
54375 int
54376 main ()
54377 {
54378 ceill (0); floorl (0);
54379   ;
54380   return 0;
54381 }
54382 _ACEOF
54383 if ac_fn_cxx_try_compile "$LINENO"; then :
54384   glibcxx_cv_func_long_double_round_use=yes
54385 else
54386   glibcxx_cv_func_long_double_round_use=no
54387 fi
54388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54389     ac_ext=c
54390 ac_cpp='$CPP $CPPFLAGS'
54391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54394
54395 fi
54396
54397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54398 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54399   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54400     for ac_func in ceill floorl
54401 do :
54402   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54404 eval as_val=\$$as_ac_var
54405    if test "x$as_val" = x""yes; then :
54406   cat >>confdefs.h <<_ACEOF
54407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54408 _ACEOF
54409
54410 fi
54411 done
54412
54413   else
54414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54415 $as_echo_n "checking for _long double round functions... " >&6; }
54416     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54417   $as_echo_n "(cached) " >&6
54418 else
54419
54420
54421       ac_ext=cpp
54422 ac_cpp='$CXXCPP $CPPFLAGS'
54423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426
54427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54428 /* end confdefs.h.  */
54429 #include <math.h>
54430 int
54431 main ()
54432 {
54433 _ceill (0); _floorl (0);
54434   ;
54435   return 0;
54436 }
54437 _ACEOF
54438 if ac_fn_cxx_try_compile "$LINENO"; then :
54439   glibcxx_cv_func__long_double_round_use=yes
54440 else
54441   glibcxx_cv_func__long_double_round_use=no
54442 fi
54443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54444       ac_ext=c
54445 ac_cpp='$CPP $CPPFLAGS'
54446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54449
54450 fi
54451
54452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54453 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54454     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54455       for ac_func in _ceill _floorl
54456 do :
54457   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54459 eval as_val=\$$as_ac_var
54460    if test "x$as_val" = x""yes; then :
54461   cat >>confdefs.h <<_ACEOF
54462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54463 _ACEOF
54464
54465 fi
54466 done
54467
54468     fi
54469   fi
54470
54471
54472
54473
54474
54475
54476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54477 $as_echo_n "checking for isnanl declaration... " >&6; }
54478   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54479     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54480   $as_echo_n "(cached) " >&6
54481 else
54482
54483
54484       ac_ext=cpp
54485 ac_cpp='$CXXCPP $CPPFLAGS'
54486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54489
54490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54491 /* end confdefs.h.  */
54492 #include <math.h>
54493                       #ifdef HAVE_IEEEFP_H
54494                       #include <ieeefp.h>
54495                       #endif
54496
54497 int
54498 main ()
54499 {
54500  isnanl(0);
54501   ;
54502   return 0;
54503 }
54504 _ACEOF
54505 if ac_fn_cxx_try_compile "$LINENO"; then :
54506   glibcxx_cv_func_isnanl_use=yes
54507 else
54508   glibcxx_cv_func_isnanl_use=no
54509 fi
54510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54511       ac_ext=c
54512 ac_cpp='$CPP $CPPFLAGS'
54513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54516
54517
54518 fi
54519
54520   fi
54521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54522 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54523
54524   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54525     for ac_func in isnanl
54526 do :
54527   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54528 if test "x$ac_cv_func_isnanl" = x""yes; then :
54529   cat >>confdefs.h <<_ACEOF
54530 #define HAVE_ISNANL 1
54531 _ACEOF
54532
54533 fi
54534 done
54535
54536   else
54537
54538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54539 $as_echo_n "checking for _isnanl declaration... " >&6; }
54540   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54541     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54542   $as_echo_n "(cached) " >&6
54543 else
54544
54545
54546       ac_ext=cpp
54547 ac_cpp='$CXXCPP $CPPFLAGS'
54548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54551
54552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54553 /* end confdefs.h.  */
54554 #include <math.h>
54555                       #ifdef HAVE_IEEEFP_H
54556                       #include <ieeefp.h>
54557                       #endif
54558
54559 int
54560 main ()
54561 {
54562  _isnanl(0);
54563   ;
54564   return 0;
54565 }
54566 _ACEOF
54567 if ac_fn_cxx_try_compile "$LINENO"; then :
54568   glibcxx_cv_func__isnanl_use=yes
54569 else
54570   glibcxx_cv_func__isnanl_use=no
54571 fi
54572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54573       ac_ext=c
54574 ac_cpp='$CPP $CPPFLAGS'
54575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578
54579
54580 fi
54581
54582   fi
54583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54584 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54585
54586     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54587       for ac_func in _isnanl
54588 do :
54589   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54590 if test "x$ac_cv_func__isnanl" = x""yes; then :
54591   cat >>confdefs.h <<_ACEOF
54592 #define HAVE__ISNANL 1
54593 _ACEOF
54594
54595 fi
54596 done
54597
54598     fi
54599   fi
54600
54601
54602
54603
54604
54605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54606 $as_echo_n "checking for isinfl declaration... " >&6; }
54607   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54608     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54609   $as_echo_n "(cached) " >&6
54610 else
54611
54612
54613       ac_ext=cpp
54614 ac_cpp='$CXXCPP $CPPFLAGS'
54615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54618
54619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54620 /* end confdefs.h.  */
54621 #include <math.h>
54622                       #ifdef HAVE_IEEEFP_H
54623                       #include <ieeefp.h>
54624                       #endif
54625
54626 int
54627 main ()
54628 {
54629  isinfl(0);
54630   ;
54631   return 0;
54632 }
54633 _ACEOF
54634 if ac_fn_cxx_try_compile "$LINENO"; then :
54635   glibcxx_cv_func_isinfl_use=yes
54636 else
54637   glibcxx_cv_func_isinfl_use=no
54638 fi
54639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54640       ac_ext=c
54641 ac_cpp='$CPP $CPPFLAGS'
54642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54645
54646
54647 fi
54648
54649   fi
54650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54651 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54652
54653   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54654     for ac_func in isinfl
54655 do :
54656   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54657 if test "x$ac_cv_func_isinfl" = x""yes; then :
54658   cat >>confdefs.h <<_ACEOF
54659 #define HAVE_ISINFL 1
54660 _ACEOF
54661
54662 fi
54663 done
54664
54665   else
54666
54667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54668 $as_echo_n "checking for _isinfl declaration... " >&6; }
54669   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54670     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54671   $as_echo_n "(cached) " >&6
54672 else
54673
54674
54675       ac_ext=cpp
54676 ac_cpp='$CXXCPP $CPPFLAGS'
54677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54680
54681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54682 /* end confdefs.h.  */
54683 #include <math.h>
54684                       #ifdef HAVE_IEEEFP_H
54685                       #include <ieeefp.h>
54686                       #endif
54687
54688 int
54689 main ()
54690 {
54691  _isinfl(0);
54692   ;
54693   return 0;
54694 }
54695 _ACEOF
54696 if ac_fn_cxx_try_compile "$LINENO"; then :
54697   glibcxx_cv_func__isinfl_use=yes
54698 else
54699   glibcxx_cv_func__isinfl_use=no
54700 fi
54701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54702       ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54707
54708
54709 fi
54710
54711   fi
54712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54713 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54714
54715     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54716       for ac_func in _isinfl
54717 do :
54718   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54719 if test "x$ac_cv_func__isinfl" = x""yes; then :
54720   cat >>confdefs.h <<_ACEOF
54721 #define HAVE__ISINFL 1
54722 _ACEOF
54723
54724 fi
54725 done
54726
54727     fi
54728   fi
54729
54730
54731
54732
54733
54734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54735 $as_echo_n "checking for atan2l declaration... " >&6; }
54736   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54737     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54738   $as_echo_n "(cached) " >&6
54739 else
54740
54741
54742       ac_ext=cpp
54743 ac_cpp='$CXXCPP $CPPFLAGS'
54744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54747
54748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54749 /* end confdefs.h.  */
54750 #include <math.h>
54751 int
54752 main ()
54753 {
54754  atan2l(0, 0);
54755   ;
54756   return 0;
54757 }
54758 _ACEOF
54759 if ac_fn_cxx_try_compile "$LINENO"; then :
54760   glibcxx_cv_func_atan2l_use=yes
54761 else
54762   glibcxx_cv_func_atan2l_use=no
54763 fi
54764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54765       ac_ext=c
54766 ac_cpp='$CPP $CPPFLAGS'
54767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54770
54771
54772 fi
54773
54774   fi
54775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54776 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54777
54778   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54779     for ac_func in atan2l
54780 do :
54781   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54782 if test "x$ac_cv_func_atan2l" = x""yes; then :
54783   cat >>confdefs.h <<_ACEOF
54784 #define HAVE_ATAN2L 1
54785 _ACEOF
54786
54787 fi
54788 done
54789
54790   else
54791
54792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54793 $as_echo_n "checking for _atan2l declaration... " >&6; }
54794   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54795     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54796   $as_echo_n "(cached) " >&6
54797 else
54798
54799
54800       ac_ext=cpp
54801 ac_cpp='$CXXCPP $CPPFLAGS'
54802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54805
54806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54807 /* end confdefs.h.  */
54808 #include <math.h>
54809 int
54810 main ()
54811 {
54812  _atan2l(0, 0);
54813   ;
54814   return 0;
54815 }
54816 _ACEOF
54817 if ac_fn_cxx_try_compile "$LINENO"; then :
54818   glibcxx_cv_func__atan2l_use=yes
54819 else
54820   glibcxx_cv_func__atan2l_use=no
54821 fi
54822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54823       ac_ext=c
54824 ac_cpp='$CPP $CPPFLAGS'
54825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54828
54829
54830 fi
54831
54832   fi
54833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54834 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54835
54836     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54837       for ac_func in _atan2l
54838 do :
54839   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54840 if test "x$ac_cv_func__atan2l" = x""yes; then :
54841   cat >>confdefs.h <<_ACEOF
54842 #define HAVE__ATAN2L 1
54843 _ACEOF
54844
54845 fi
54846 done
54847
54848     fi
54849   fi
54850
54851
54852
54853
54854
54855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54856 $as_echo_n "checking for expl declaration... " >&6; }
54857   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54858     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54859   $as_echo_n "(cached) " >&6
54860 else
54861
54862
54863       ac_ext=cpp
54864 ac_cpp='$CXXCPP $CPPFLAGS'
54865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54868
54869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54870 /* end confdefs.h.  */
54871 #include <math.h>
54872                       #ifdef HAVE_IEEEFP_H
54873                       #include <ieeefp.h>
54874                       #endif
54875
54876 int
54877 main ()
54878 {
54879  expl(0);
54880   ;
54881   return 0;
54882 }
54883 _ACEOF
54884 if ac_fn_cxx_try_compile "$LINENO"; then :
54885   glibcxx_cv_func_expl_use=yes
54886 else
54887   glibcxx_cv_func_expl_use=no
54888 fi
54889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54890       ac_ext=c
54891 ac_cpp='$CPP $CPPFLAGS'
54892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54895
54896
54897 fi
54898
54899   fi
54900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54901 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54902
54903   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54904     for ac_func in expl
54905 do :
54906   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54907 if test "x$ac_cv_func_expl" = x""yes; then :
54908   cat >>confdefs.h <<_ACEOF
54909 #define HAVE_EXPL 1
54910 _ACEOF
54911
54912 fi
54913 done
54914
54915   else
54916
54917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54918 $as_echo_n "checking for _expl declaration... " >&6; }
54919   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54920     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54921   $as_echo_n "(cached) " >&6
54922 else
54923
54924
54925       ac_ext=cpp
54926 ac_cpp='$CXXCPP $CPPFLAGS'
54927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54930
54931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54932 /* end confdefs.h.  */
54933 #include <math.h>
54934                       #ifdef HAVE_IEEEFP_H
54935                       #include <ieeefp.h>
54936                       #endif
54937
54938 int
54939 main ()
54940 {
54941  _expl(0);
54942   ;
54943   return 0;
54944 }
54945 _ACEOF
54946 if ac_fn_cxx_try_compile "$LINENO"; then :
54947   glibcxx_cv_func__expl_use=yes
54948 else
54949   glibcxx_cv_func__expl_use=no
54950 fi
54951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54952       ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54957
54958
54959 fi
54960
54961   fi
54962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54963 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54964
54965     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54966       for ac_func in _expl
54967 do :
54968   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54969 if test "x$ac_cv_func__expl" = x""yes; then :
54970   cat >>confdefs.h <<_ACEOF
54971 #define HAVE__EXPL 1
54972 _ACEOF
54973
54974 fi
54975 done
54976
54977     fi
54978   fi
54979
54980
54981
54982
54983
54984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54985 $as_echo_n "checking for fabsl declaration... " >&6; }
54986   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54987     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54988   $as_echo_n "(cached) " >&6
54989 else
54990
54991
54992       ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54997
54998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h.  */
55000 #include <math.h>
55001                       #ifdef HAVE_IEEEFP_H
55002                       #include <ieeefp.h>
55003                       #endif
55004
55005 int
55006 main ()
55007 {
55008  fabsl(0);
55009   ;
55010   return 0;
55011 }
55012 _ACEOF
55013 if ac_fn_cxx_try_compile "$LINENO"; then :
55014   glibcxx_cv_func_fabsl_use=yes
55015 else
55016   glibcxx_cv_func_fabsl_use=no
55017 fi
55018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55019       ac_ext=c
55020 ac_cpp='$CPP $CPPFLAGS'
55021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55024
55025
55026 fi
55027
55028   fi
55029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55030 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55031
55032   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55033     for ac_func in fabsl
55034 do :
55035   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55036 if test "x$ac_cv_func_fabsl" = x""yes; then :
55037   cat >>confdefs.h <<_ACEOF
55038 #define HAVE_FABSL 1
55039 _ACEOF
55040
55041 fi
55042 done
55043
55044   else
55045
55046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55047 $as_echo_n "checking for _fabsl declaration... " >&6; }
55048   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55049     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55050   $as_echo_n "(cached) " >&6
55051 else
55052
55053
55054       ac_ext=cpp
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55059
55060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h.  */
55062 #include <math.h>
55063                       #ifdef HAVE_IEEEFP_H
55064                       #include <ieeefp.h>
55065                       #endif
55066
55067 int
55068 main ()
55069 {
55070  _fabsl(0);
55071   ;
55072   return 0;
55073 }
55074 _ACEOF
55075 if ac_fn_cxx_try_compile "$LINENO"; then :
55076   glibcxx_cv_func__fabsl_use=yes
55077 else
55078   glibcxx_cv_func__fabsl_use=no
55079 fi
55080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55081       ac_ext=c
55082 ac_cpp='$CPP $CPPFLAGS'
55083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55086
55087
55088 fi
55089
55090   fi
55091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55092 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55093
55094     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55095       for ac_func in _fabsl
55096 do :
55097   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55098 if test "x$ac_cv_func__fabsl" = x""yes; then :
55099   cat >>confdefs.h <<_ACEOF
55100 #define HAVE__FABSL 1
55101 _ACEOF
55102
55103 fi
55104 done
55105
55106     fi
55107   fi
55108
55109
55110
55111
55112
55113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55114 $as_echo_n "checking for fmodl declaration... " >&6; }
55115   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55116     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55117   $as_echo_n "(cached) " >&6
55118 else
55119
55120
55121       ac_ext=cpp
55122 ac_cpp='$CXXCPP $CPPFLAGS'
55123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55126
55127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55128 /* end confdefs.h.  */
55129 #include <math.h>
55130 int
55131 main ()
55132 {
55133  fmodl(0, 0);
55134   ;
55135   return 0;
55136 }
55137 _ACEOF
55138 if ac_fn_cxx_try_compile "$LINENO"; then :
55139   glibcxx_cv_func_fmodl_use=yes
55140 else
55141   glibcxx_cv_func_fmodl_use=no
55142 fi
55143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55144       ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55149
55150
55151 fi
55152
55153   fi
55154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55155 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55156
55157   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55158     for ac_func in fmodl
55159 do :
55160   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55161 if test "x$ac_cv_func_fmodl" = x""yes; then :
55162   cat >>confdefs.h <<_ACEOF
55163 #define HAVE_FMODL 1
55164 _ACEOF
55165
55166 fi
55167 done
55168
55169   else
55170
55171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55172 $as_echo_n "checking for _fmodl declaration... " >&6; }
55173   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55174     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55175   $as_echo_n "(cached) " >&6
55176 else
55177
55178
55179       ac_ext=cpp
55180 ac_cpp='$CXXCPP $CPPFLAGS'
55181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55184
55185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55186 /* end confdefs.h.  */
55187 #include <math.h>
55188 int
55189 main ()
55190 {
55191  _fmodl(0, 0);
55192   ;
55193   return 0;
55194 }
55195 _ACEOF
55196 if ac_fn_cxx_try_compile "$LINENO"; then :
55197   glibcxx_cv_func__fmodl_use=yes
55198 else
55199   glibcxx_cv_func__fmodl_use=no
55200 fi
55201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55202       ac_ext=c
55203 ac_cpp='$CPP $CPPFLAGS'
55204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55207
55208
55209 fi
55210
55211   fi
55212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55213 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55214
55215     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55216       for ac_func in _fmodl
55217 do :
55218   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55219 if test "x$ac_cv_func__fmodl" = x""yes; then :
55220   cat >>confdefs.h <<_ACEOF
55221 #define HAVE__FMODL 1
55222 _ACEOF
55223
55224 fi
55225 done
55226
55227     fi
55228   fi
55229
55230
55231
55232
55233
55234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55235 $as_echo_n "checking for frexpl declaration... " >&6; }
55236   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55237     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55238   $as_echo_n "(cached) " >&6
55239 else
55240
55241
55242       ac_ext=cpp
55243 ac_cpp='$CXXCPP $CPPFLAGS'
55244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55247
55248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55249 /* end confdefs.h.  */
55250 #include <math.h>
55251 int
55252 main ()
55253 {
55254  frexpl(0, 0);
55255   ;
55256   return 0;
55257 }
55258 _ACEOF
55259 if ac_fn_cxx_try_compile "$LINENO"; then :
55260   glibcxx_cv_func_frexpl_use=yes
55261 else
55262   glibcxx_cv_func_frexpl_use=no
55263 fi
55264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55265       ac_ext=c
55266 ac_cpp='$CPP $CPPFLAGS'
55267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55270
55271
55272 fi
55273
55274   fi
55275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55276 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55277
55278   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55279     for ac_func in frexpl
55280 do :
55281   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55282 if test "x$ac_cv_func_frexpl" = x""yes; then :
55283   cat >>confdefs.h <<_ACEOF
55284 #define HAVE_FREXPL 1
55285 _ACEOF
55286
55287 fi
55288 done
55289
55290   else
55291
55292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55293 $as_echo_n "checking for _frexpl declaration... " >&6; }
55294   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55295     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55296   $as_echo_n "(cached) " >&6
55297 else
55298
55299
55300       ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305
55306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h.  */
55308 #include <math.h>
55309 int
55310 main ()
55311 {
55312  _frexpl(0, 0);
55313   ;
55314   return 0;
55315 }
55316 _ACEOF
55317 if ac_fn_cxx_try_compile "$LINENO"; then :
55318   glibcxx_cv_func__frexpl_use=yes
55319 else
55320   glibcxx_cv_func__frexpl_use=no
55321 fi
55322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55323       ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328
55329
55330 fi
55331
55332   fi
55333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55334 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55335
55336     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55337       for ac_func in _frexpl
55338 do :
55339   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55340 if test "x$ac_cv_func__frexpl" = x""yes; then :
55341   cat >>confdefs.h <<_ACEOF
55342 #define HAVE__FREXPL 1
55343 _ACEOF
55344
55345 fi
55346 done
55347
55348     fi
55349   fi
55350
55351
55352
55353
55354
55355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55356 $as_echo_n "checking for hypotl declaration... " >&6; }
55357   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55358     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55359   $as_echo_n "(cached) " >&6
55360 else
55361
55362
55363       ac_ext=cpp
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55368
55369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55370 /* end confdefs.h.  */
55371 #include <math.h>
55372 int
55373 main ()
55374 {
55375  hypotl(0, 0);
55376   ;
55377   return 0;
55378 }
55379 _ACEOF
55380 if ac_fn_cxx_try_compile "$LINENO"; then :
55381   glibcxx_cv_func_hypotl_use=yes
55382 else
55383   glibcxx_cv_func_hypotl_use=no
55384 fi
55385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55386       ac_ext=c
55387 ac_cpp='$CPP $CPPFLAGS'
55388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55391
55392
55393 fi
55394
55395   fi
55396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55397 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55398
55399   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55400     for ac_func in hypotl
55401 do :
55402   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55403 if test "x$ac_cv_func_hypotl" = x""yes; then :
55404   cat >>confdefs.h <<_ACEOF
55405 #define HAVE_HYPOTL 1
55406 _ACEOF
55407
55408 fi
55409 done
55410
55411   else
55412
55413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55414 $as_echo_n "checking for _hypotl declaration... " >&6; }
55415   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55416     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55417   $as_echo_n "(cached) " >&6
55418 else
55419
55420
55421       ac_ext=cpp
55422 ac_cpp='$CXXCPP $CPPFLAGS'
55423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55426
55427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55428 /* end confdefs.h.  */
55429 #include <math.h>
55430 int
55431 main ()
55432 {
55433  _hypotl(0, 0);
55434   ;
55435   return 0;
55436 }
55437 _ACEOF
55438 if ac_fn_cxx_try_compile "$LINENO"; then :
55439   glibcxx_cv_func__hypotl_use=yes
55440 else
55441   glibcxx_cv_func__hypotl_use=no
55442 fi
55443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55444       ac_ext=c
55445 ac_cpp='$CPP $CPPFLAGS'
55446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449
55450
55451 fi
55452
55453   fi
55454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55455 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55456
55457     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55458       for ac_func in _hypotl
55459 do :
55460   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55461 if test "x$ac_cv_func__hypotl" = x""yes; then :
55462   cat >>confdefs.h <<_ACEOF
55463 #define HAVE__HYPOTL 1
55464 _ACEOF
55465
55466 fi
55467 done
55468
55469     fi
55470   fi
55471
55472
55473
55474
55475
55476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55477 $as_echo_n "checking for ldexpl declaration... " >&6; }
55478   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55479     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55480   $as_echo_n "(cached) " >&6
55481 else
55482
55483
55484       ac_ext=cpp
55485 ac_cpp='$CXXCPP $CPPFLAGS'
55486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55489
55490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55491 /* end confdefs.h.  */
55492 #include <math.h>
55493 int
55494 main ()
55495 {
55496  ldexpl(0, 0);
55497   ;
55498   return 0;
55499 }
55500 _ACEOF
55501 if ac_fn_cxx_try_compile "$LINENO"; then :
55502   glibcxx_cv_func_ldexpl_use=yes
55503 else
55504   glibcxx_cv_func_ldexpl_use=no
55505 fi
55506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55507       ac_ext=c
55508 ac_cpp='$CPP $CPPFLAGS'
55509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55512
55513
55514 fi
55515
55516   fi
55517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55518 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55519
55520   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55521     for ac_func in ldexpl
55522 do :
55523   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55524 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55525   cat >>confdefs.h <<_ACEOF
55526 #define HAVE_LDEXPL 1
55527 _ACEOF
55528
55529 fi
55530 done
55531
55532   else
55533
55534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55535 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55536   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55537     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55538   $as_echo_n "(cached) " >&6
55539 else
55540
55541
55542       ac_ext=cpp
55543 ac_cpp='$CXXCPP $CPPFLAGS'
55544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55547
55548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55549 /* end confdefs.h.  */
55550 #include <math.h>
55551 int
55552 main ()
55553 {
55554  _ldexpl(0, 0);
55555   ;
55556   return 0;
55557 }
55558 _ACEOF
55559 if ac_fn_cxx_try_compile "$LINENO"; then :
55560   glibcxx_cv_func__ldexpl_use=yes
55561 else
55562   glibcxx_cv_func__ldexpl_use=no
55563 fi
55564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55565       ac_ext=c
55566 ac_cpp='$CPP $CPPFLAGS'
55567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570
55571
55572 fi
55573
55574   fi
55575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55576 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55577
55578     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55579       for ac_func in _ldexpl
55580 do :
55581   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55582 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55583   cat >>confdefs.h <<_ACEOF
55584 #define HAVE__LDEXPL 1
55585 _ACEOF
55586
55587 fi
55588 done
55589
55590     fi
55591   fi
55592
55593
55594
55595
55596
55597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55598 $as_echo_n "checking for logl declaration... " >&6; }
55599   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55600     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55601   $as_echo_n "(cached) " >&6
55602 else
55603
55604
55605       ac_ext=cpp
55606 ac_cpp='$CXXCPP $CPPFLAGS'
55607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55610
55611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55612 /* end confdefs.h.  */
55613 #include <math.h>
55614                       #ifdef HAVE_IEEEFP_H
55615                       #include <ieeefp.h>
55616                       #endif
55617
55618 int
55619 main ()
55620 {
55621  logl(0);
55622   ;
55623   return 0;
55624 }
55625 _ACEOF
55626 if ac_fn_cxx_try_compile "$LINENO"; then :
55627   glibcxx_cv_func_logl_use=yes
55628 else
55629   glibcxx_cv_func_logl_use=no
55630 fi
55631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55632       ac_ext=c
55633 ac_cpp='$CPP $CPPFLAGS'
55634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55637
55638
55639 fi
55640
55641   fi
55642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55643 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55644
55645   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55646     for ac_func in logl
55647 do :
55648   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55649 if test "x$ac_cv_func_logl" = x""yes; then :
55650   cat >>confdefs.h <<_ACEOF
55651 #define HAVE_LOGL 1
55652 _ACEOF
55653
55654 fi
55655 done
55656
55657   else
55658
55659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55660 $as_echo_n "checking for _logl declaration... " >&6; }
55661   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55662     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55663   $as_echo_n "(cached) " >&6
55664 else
55665
55666
55667       ac_ext=cpp
55668 ac_cpp='$CXXCPP $CPPFLAGS'
55669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55672
55673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55674 /* end confdefs.h.  */
55675 #include <math.h>
55676                       #ifdef HAVE_IEEEFP_H
55677                       #include <ieeefp.h>
55678                       #endif
55679
55680 int
55681 main ()
55682 {
55683  _logl(0);
55684   ;
55685   return 0;
55686 }
55687 _ACEOF
55688 if ac_fn_cxx_try_compile "$LINENO"; then :
55689   glibcxx_cv_func__logl_use=yes
55690 else
55691   glibcxx_cv_func__logl_use=no
55692 fi
55693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55694       ac_ext=c
55695 ac_cpp='$CPP $CPPFLAGS'
55696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55699
55700
55701 fi
55702
55703   fi
55704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55705 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55706
55707     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55708       for ac_func in _logl
55709 do :
55710   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55711 if test "x$ac_cv_func__logl" = x""yes; then :
55712   cat >>confdefs.h <<_ACEOF
55713 #define HAVE__LOGL 1
55714 _ACEOF
55715
55716 fi
55717 done
55718
55719     fi
55720   fi
55721
55722
55723
55724
55725
55726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55727 $as_echo_n "checking for log10l declaration... " >&6; }
55728   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55729     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55730   $as_echo_n "(cached) " >&6
55731 else
55732
55733
55734       ac_ext=cpp
55735 ac_cpp='$CXXCPP $CPPFLAGS'
55736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55739
55740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55741 /* end confdefs.h.  */
55742 #include <math.h>
55743                       #ifdef HAVE_IEEEFP_H
55744                       #include <ieeefp.h>
55745                       #endif
55746
55747 int
55748 main ()
55749 {
55750  log10l(0);
55751   ;
55752   return 0;
55753 }
55754 _ACEOF
55755 if ac_fn_cxx_try_compile "$LINENO"; then :
55756   glibcxx_cv_func_log10l_use=yes
55757 else
55758   glibcxx_cv_func_log10l_use=no
55759 fi
55760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55761       ac_ext=c
55762 ac_cpp='$CPP $CPPFLAGS'
55763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766
55767
55768 fi
55769
55770   fi
55771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55772 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55773
55774   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55775     for ac_func in log10l
55776 do :
55777   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55778 if test "x$ac_cv_func_log10l" = x""yes; then :
55779   cat >>confdefs.h <<_ACEOF
55780 #define HAVE_LOG10L 1
55781 _ACEOF
55782
55783 fi
55784 done
55785
55786   else
55787
55788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55789 $as_echo_n "checking for _log10l declaration... " >&6; }
55790   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55791     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55792   $as_echo_n "(cached) " >&6
55793 else
55794
55795
55796       ac_ext=cpp
55797 ac_cpp='$CXXCPP $CPPFLAGS'
55798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55801
55802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55803 /* end confdefs.h.  */
55804 #include <math.h>
55805                       #ifdef HAVE_IEEEFP_H
55806                       #include <ieeefp.h>
55807                       #endif
55808
55809 int
55810 main ()
55811 {
55812  _log10l(0);
55813   ;
55814   return 0;
55815 }
55816 _ACEOF
55817 if ac_fn_cxx_try_compile "$LINENO"; then :
55818   glibcxx_cv_func__log10l_use=yes
55819 else
55820   glibcxx_cv_func__log10l_use=no
55821 fi
55822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55823       ac_ext=c
55824 ac_cpp='$CPP $CPPFLAGS'
55825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55828
55829
55830 fi
55831
55832   fi
55833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55834 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55835
55836     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55837       for ac_func in _log10l
55838 do :
55839   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55840 if test "x$ac_cv_func__log10l" = x""yes; then :
55841   cat >>confdefs.h <<_ACEOF
55842 #define HAVE__LOG10L 1
55843 _ACEOF
55844
55845 fi
55846 done
55847
55848     fi
55849   fi
55850
55851
55852
55853
55854
55855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55856 $as_echo_n "checking for modfl declaration... " >&6; }
55857   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55858     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55859   $as_echo_n "(cached) " >&6
55860 else
55861
55862
55863       ac_ext=cpp
55864 ac_cpp='$CXXCPP $CPPFLAGS'
55865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55868
55869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55870 /* end confdefs.h.  */
55871 #include <math.h>
55872 int
55873 main ()
55874 {
55875  modfl(0, 0);
55876   ;
55877   return 0;
55878 }
55879 _ACEOF
55880 if ac_fn_cxx_try_compile "$LINENO"; then :
55881   glibcxx_cv_func_modfl_use=yes
55882 else
55883   glibcxx_cv_func_modfl_use=no
55884 fi
55885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55886       ac_ext=c
55887 ac_cpp='$CPP $CPPFLAGS'
55888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55891
55892
55893 fi
55894
55895   fi
55896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55897 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55898
55899   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55900     for ac_func in modfl
55901 do :
55902   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55903 if test "x$ac_cv_func_modfl" = x""yes; then :
55904   cat >>confdefs.h <<_ACEOF
55905 #define HAVE_MODFL 1
55906 _ACEOF
55907
55908 fi
55909 done
55910
55911   else
55912
55913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55914 $as_echo_n "checking for _modfl declaration... " >&6; }
55915   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55916     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55917   $as_echo_n "(cached) " >&6
55918 else
55919
55920
55921       ac_ext=cpp
55922 ac_cpp='$CXXCPP $CPPFLAGS'
55923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55926
55927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55928 /* end confdefs.h.  */
55929 #include <math.h>
55930 int
55931 main ()
55932 {
55933  _modfl(0, 0);
55934   ;
55935   return 0;
55936 }
55937 _ACEOF
55938 if ac_fn_cxx_try_compile "$LINENO"; then :
55939   glibcxx_cv_func__modfl_use=yes
55940 else
55941   glibcxx_cv_func__modfl_use=no
55942 fi
55943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55944       ac_ext=c
55945 ac_cpp='$CPP $CPPFLAGS'
55946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949
55950
55951 fi
55952
55953   fi
55954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55955 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55956
55957     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55958       for ac_func in _modfl
55959 do :
55960   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55961 if test "x$ac_cv_func__modfl" = x""yes; then :
55962   cat >>confdefs.h <<_ACEOF
55963 #define HAVE__MODFL 1
55964 _ACEOF
55965
55966 fi
55967 done
55968
55969     fi
55970   fi
55971
55972
55973
55974
55975
55976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55977 $as_echo_n "checking for powl declaration... " >&6; }
55978   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55979     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55980   $as_echo_n "(cached) " >&6
55981 else
55982
55983
55984       ac_ext=cpp
55985 ac_cpp='$CXXCPP $CPPFLAGS'
55986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55989
55990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55991 /* end confdefs.h.  */
55992 #include <math.h>
55993 int
55994 main ()
55995 {
55996  powl(0, 0);
55997   ;
55998   return 0;
55999 }
56000 _ACEOF
56001 if ac_fn_cxx_try_compile "$LINENO"; then :
56002   glibcxx_cv_func_powl_use=yes
56003 else
56004   glibcxx_cv_func_powl_use=no
56005 fi
56006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56007       ac_ext=c
56008 ac_cpp='$CPP $CPPFLAGS'
56009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56012
56013
56014 fi
56015
56016   fi
56017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56018 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56019
56020   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56021     for ac_func in powl
56022 do :
56023   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56024 if test "x$ac_cv_func_powl" = x""yes; then :
56025   cat >>confdefs.h <<_ACEOF
56026 #define HAVE_POWL 1
56027 _ACEOF
56028
56029 fi
56030 done
56031
56032   else
56033
56034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56035 $as_echo_n "checking for _powl declaration... " >&6; }
56036   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56037     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56038   $as_echo_n "(cached) " >&6
56039 else
56040
56041
56042       ac_ext=cpp
56043 ac_cpp='$CXXCPP $CPPFLAGS'
56044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56047
56048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56049 /* end confdefs.h.  */
56050 #include <math.h>
56051 int
56052 main ()
56053 {
56054  _powl(0, 0);
56055   ;
56056   return 0;
56057 }
56058 _ACEOF
56059 if ac_fn_cxx_try_compile "$LINENO"; then :
56060   glibcxx_cv_func__powl_use=yes
56061 else
56062   glibcxx_cv_func__powl_use=no
56063 fi
56064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56065       ac_ext=c
56066 ac_cpp='$CPP $CPPFLAGS'
56067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56070
56071
56072 fi
56073
56074   fi
56075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56076 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56077
56078     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56079       for ac_func in _powl
56080 do :
56081   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56082 if test "x$ac_cv_func__powl" = x""yes; then :
56083   cat >>confdefs.h <<_ACEOF
56084 #define HAVE__POWL 1
56085 _ACEOF
56086
56087 fi
56088 done
56089
56090     fi
56091   fi
56092
56093
56094
56095
56096
56097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56098 $as_echo_n "checking for sqrtl declaration... " >&6; }
56099   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56100     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56101   $as_echo_n "(cached) " >&6
56102 else
56103
56104
56105       ac_ext=cpp
56106 ac_cpp='$CXXCPP $CPPFLAGS'
56107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110
56111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56112 /* end confdefs.h.  */
56113 #include <math.h>
56114                       #ifdef HAVE_IEEEFP_H
56115                       #include <ieeefp.h>
56116                       #endif
56117
56118 int
56119 main ()
56120 {
56121  sqrtl(0);
56122   ;
56123   return 0;
56124 }
56125 _ACEOF
56126 if ac_fn_cxx_try_compile "$LINENO"; then :
56127   glibcxx_cv_func_sqrtl_use=yes
56128 else
56129   glibcxx_cv_func_sqrtl_use=no
56130 fi
56131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56132       ac_ext=c
56133 ac_cpp='$CPP $CPPFLAGS'
56134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56137
56138
56139 fi
56140
56141   fi
56142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56143 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56144
56145   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56146     for ac_func in sqrtl
56147 do :
56148   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56149 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56150   cat >>confdefs.h <<_ACEOF
56151 #define HAVE_SQRTL 1
56152 _ACEOF
56153
56154 fi
56155 done
56156
56157   else
56158
56159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56160 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56161   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56162     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56163   $as_echo_n "(cached) " >&6
56164 else
56165
56166
56167       ac_ext=cpp
56168 ac_cpp='$CXXCPP $CPPFLAGS'
56169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56172
56173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56174 /* end confdefs.h.  */
56175 #include <math.h>
56176                       #ifdef HAVE_IEEEFP_H
56177                       #include <ieeefp.h>
56178                       #endif
56179
56180 int
56181 main ()
56182 {
56183  _sqrtl(0);
56184   ;
56185   return 0;
56186 }
56187 _ACEOF
56188 if ac_fn_cxx_try_compile "$LINENO"; then :
56189   glibcxx_cv_func__sqrtl_use=yes
56190 else
56191   glibcxx_cv_func__sqrtl_use=no
56192 fi
56193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56194       ac_ext=c
56195 ac_cpp='$CPP $CPPFLAGS'
56196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56199
56200
56201 fi
56202
56203   fi
56204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56205 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56206
56207     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56208       for ac_func in _sqrtl
56209 do :
56210   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56211 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56212   cat >>confdefs.h <<_ACEOF
56213 #define HAVE__SQRTL 1
56214 _ACEOF
56215
56216 fi
56217 done
56218
56219     fi
56220   fi
56221
56222
56223
56224
56225
56226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56227 $as_echo_n "checking for sincosl declaration... " >&6; }
56228   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56229     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56230   $as_echo_n "(cached) " >&6
56231 else
56232
56233
56234       ac_ext=cpp
56235 ac_cpp='$CXXCPP $CPPFLAGS'
56236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239
56240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56241 /* end confdefs.h.  */
56242 #include <math.h>
56243 int
56244 main ()
56245 {
56246  sincosl(0, 0, 0);
56247   ;
56248   return 0;
56249 }
56250 _ACEOF
56251 if ac_fn_cxx_try_compile "$LINENO"; then :
56252   glibcxx_cv_func_sincosl_use=yes
56253 else
56254   glibcxx_cv_func_sincosl_use=no
56255 fi
56256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56257       ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56262
56263
56264 fi
56265
56266   fi
56267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56268 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56269
56270   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56271     for ac_func in sincosl
56272 do :
56273   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56274 if test "x$ac_cv_func_sincosl" = x""yes; then :
56275   cat >>confdefs.h <<_ACEOF
56276 #define HAVE_SINCOSL 1
56277 _ACEOF
56278
56279 fi
56280 done
56281
56282   else
56283
56284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56285 $as_echo_n "checking for _sincosl declaration... " >&6; }
56286   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56287     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56288   $as_echo_n "(cached) " >&6
56289 else
56290
56291
56292       ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297
56298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h.  */
56300 #include <math.h>
56301 int
56302 main ()
56303 {
56304  _sincosl(0, 0, 0);
56305   ;
56306   return 0;
56307 }
56308 _ACEOF
56309 if ac_fn_cxx_try_compile "$LINENO"; then :
56310   glibcxx_cv_func__sincosl_use=yes
56311 else
56312   glibcxx_cv_func__sincosl_use=no
56313 fi
56314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56315       ac_ext=c
56316 ac_cpp='$CPP $CPPFLAGS'
56317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56320
56321
56322 fi
56323
56324   fi
56325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56326 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56327
56328     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56329       for ac_func in _sincosl
56330 do :
56331   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56332 if test "x$ac_cv_func__sincosl" = x""yes; then :
56333   cat >>confdefs.h <<_ACEOF
56334 #define HAVE__SINCOSL 1
56335 _ACEOF
56336
56337 fi
56338 done
56339
56340     fi
56341   fi
56342
56343
56344
56345
56346
56347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56348 $as_echo_n "checking for finitel declaration... " >&6; }
56349   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56350     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56351   $as_echo_n "(cached) " >&6
56352 else
56353
56354
56355       ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360
56361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h.  */
56363 #include <math.h>
56364                       #ifdef HAVE_IEEEFP_H
56365                       #include <ieeefp.h>
56366                       #endif
56367
56368 int
56369 main ()
56370 {
56371  finitel(0);
56372   ;
56373   return 0;
56374 }
56375 _ACEOF
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377   glibcxx_cv_func_finitel_use=yes
56378 else
56379   glibcxx_cv_func_finitel_use=no
56380 fi
56381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56382       ac_ext=c
56383 ac_cpp='$CPP $CPPFLAGS'
56384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56387
56388
56389 fi
56390
56391   fi
56392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56393 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56394
56395   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56396     for ac_func in finitel
56397 do :
56398   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56399 if test "x$ac_cv_func_finitel" = x""yes; then :
56400   cat >>confdefs.h <<_ACEOF
56401 #define HAVE_FINITEL 1
56402 _ACEOF
56403
56404 fi
56405 done
56406
56407   else
56408
56409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56410 $as_echo_n "checking for _finitel declaration... " >&6; }
56411   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56412     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56413   $as_echo_n "(cached) " >&6
56414 else
56415
56416
56417       ac_ext=cpp
56418 ac_cpp='$CXXCPP $CPPFLAGS'
56419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56422
56423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56424 /* end confdefs.h.  */
56425 #include <math.h>
56426                       #ifdef HAVE_IEEEFP_H
56427                       #include <ieeefp.h>
56428                       #endif
56429
56430 int
56431 main ()
56432 {
56433  _finitel(0);
56434   ;
56435   return 0;
56436 }
56437 _ACEOF
56438 if ac_fn_cxx_try_compile "$LINENO"; then :
56439   glibcxx_cv_func__finitel_use=yes
56440 else
56441   glibcxx_cv_func__finitel_use=no
56442 fi
56443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56444       ac_ext=c
56445 ac_cpp='$CPP $CPPFLAGS'
56446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56449
56450
56451 fi
56452
56453   fi
56454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56455 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56456
56457     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56458       for ac_func in _finitel
56459 do :
56460   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56461 if test "x$ac_cv_func__finitel" = x""yes; then :
56462   cat >>confdefs.h <<_ACEOF
56463 #define HAVE__FINITEL 1
56464 _ACEOF
56465
56466 fi
56467 done
56468
56469     fi
56470   fi
56471
56472
56473
56474
56475   LIBS="$ac_save_LIBS"
56476   CXXFLAGS="$ac_save_CXXFLAGS"
56477
56478
56479   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56480   ac_save_CXXFLAGS="$CXXFLAGS"
56481   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56482
56483
56484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56485 $as_echo_n "checking for strtold declaration... " >&6; }
56486   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56487     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56488   $as_echo_n "(cached) " >&6
56489 else
56490
56491
56492       ac_ext=cpp
56493 ac_cpp='$CXXCPP $CPPFLAGS'
56494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56497
56498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56499 /* end confdefs.h.  */
56500 #include <stdlib.h>
56501 int
56502 main ()
56503 {
56504  strtold(0, 0);
56505   ;
56506   return 0;
56507 }
56508 _ACEOF
56509 if ac_fn_cxx_try_compile "$LINENO"; then :
56510   glibcxx_cv_func_strtold_use=yes
56511 else
56512   glibcxx_cv_func_strtold_use=no
56513 fi
56514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56515       ac_ext=c
56516 ac_cpp='$CPP $CPPFLAGS'
56517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56520
56521
56522 fi
56523
56524   fi
56525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56526 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56527   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56528     for ac_func in strtold
56529 do :
56530   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56531 if test "x$ac_cv_func_strtold" = x""yes; then :
56532   cat >>confdefs.h <<_ACEOF
56533 #define HAVE_STRTOLD 1
56534 _ACEOF
56535
56536 fi
56537 done
56538
56539   fi
56540
56541
56542
56543
56544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56545 $as_echo_n "checking for strtof declaration... " >&6; }
56546   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56547     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56548   $as_echo_n "(cached) " >&6
56549 else
56550
56551
56552       ac_ext=cpp
56553 ac_cpp='$CXXCPP $CPPFLAGS'
56554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56557
56558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56559 /* end confdefs.h.  */
56560 #include <stdlib.h>
56561 int
56562 main ()
56563 {
56564  strtof(0, 0);
56565   ;
56566   return 0;
56567 }
56568 _ACEOF
56569 if ac_fn_cxx_try_compile "$LINENO"; then :
56570   glibcxx_cv_func_strtof_use=yes
56571 else
56572   glibcxx_cv_func_strtof_use=no
56573 fi
56574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56575       ac_ext=c
56576 ac_cpp='$CPP $CPPFLAGS'
56577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580
56581
56582 fi
56583
56584   fi
56585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56586 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56587   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56588     for ac_func in strtof
56589 do :
56590   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56591 if test "x$ac_cv_func_strtof" = x""yes; then :
56592   cat >>confdefs.h <<_ACEOF
56593 #define HAVE_STRTOF 1
56594 _ACEOF
56595
56596 fi
56597 done
56598
56599   fi
56600
56601
56602
56603
56604   CXXFLAGS="$ac_save_CXXFLAGS"
56605
56606     ;;
56607   *-netbsd*)
56608     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56609
56610
56611   # If we're not using GNU ld, then there's no point in even trying these
56612   # tests.  Check for that first.  We should have already tested for gld
56613   # by now (in libtool), but require it now just to be safe...
56614   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56615   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56616
56617
56618
56619   # The name set by libtool depends on the version of libtool.  Shame on us
56620   # for depending on an impl detail, but c'est la vie.  Older versions used
56621   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56622   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56623   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56624   # set (hence we're using an older libtool), then set it.
56625   if test x${with_gnu_ld+set} != xset; then
56626     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56627       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56628       with_gnu_ld=no
56629     else
56630       with_gnu_ld=$ac_cv_prog_gnu_ld
56631     fi
56632   fi
56633
56634   # Start by getting the version number.  I think the libtool test already
56635   # does some of this, but throws away the result.
56636   glibcxx_ld_is_gold=no
56637   if test x"$with_gnu_ld" = x"yes"; then
56638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56639 $as_echo_n "checking for ld version... " >&6; }
56640
56641     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56642       glibcxx_ld_is_gold=yes
56643     fi
56644     ldver=`$LD --version 2>/dev/null |
56645            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'`
56646
56647     glibcxx_gnu_ld_version=`echo $ldver | \
56648            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56650 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56651   fi
56652
56653   # Set --gc-sections.
56654   glibcxx_have_gc_sections=no
56655   if test "$glibcxx_ld_is_gold" = "yes"; then
56656     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56657       glibcxx_have_gc_sections=yes
56658     fi
56659   else
56660     glibcxx_gcsections_min_ld=21602
56661     if test x"$with_gnu_ld" = x"yes" &&
56662         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56663       glibcxx_have_gc_sections=yes
56664     fi
56665   fi
56666   if test "$glibcxx_have_gc_sections" = "yes"; then
56667     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56668     # NB: This flag only works reliably after 2.16.1. Configure tests
56669     # for this are difficult, so hard wire a value that should work.
56670
56671     ac_test_CFLAGS="${CFLAGS+set}"
56672     ac_save_CFLAGS="$CFLAGS"
56673     CFLAGS='-Wl,--gc-sections'
56674
56675     # Check for -Wl,--gc-sections
56676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56677 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56678     if test x$gcc_no_link = xyes; then
56679   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56680 fi
56681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56682 /* end confdefs.h.  */
56683  int one(void) { return 1; }
56684      int two(void) { return 2; }
56685
56686 int
56687 main ()
56688 {
56689  two();
56690   ;
56691   return 0;
56692 }
56693 _ACEOF
56694 if ac_fn_c_try_link "$LINENO"; then :
56695   ac_gcsections=yes
56696 else
56697   ac_gcsections=no
56698 fi
56699 rm -f core conftest.err conftest.$ac_objext \
56700     conftest$ac_exeext conftest.$ac_ext
56701     if test "$ac_gcsections" = "yes"; then
56702       rm -f conftest.c
56703       touch conftest.c
56704       if $CC -c conftest.c; then
56705         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56706            grep "Warning: gc-sections option ignored" > /dev/null; then
56707           ac_gcsections=no
56708         fi
56709       fi
56710       rm -f conftest.c conftest.o conftest
56711     fi
56712     if test "$ac_gcsections" = "yes"; then
56713       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56714     fi
56715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56716 $as_echo "$ac_gcsections" >&6; }
56717
56718     if test "$ac_test_CFLAGS" = set; then
56719       CFLAGS="$ac_save_CFLAGS"
56720     else
56721       # this is the suspicious part
56722       CFLAGS=''
56723     fi
56724   fi
56725
56726   # Set -z,relro.
56727   # Note this is only for shared objects.
56728   ac_ld_relro=no
56729   if test x"$with_gnu_ld" = x"yes"; then
56730     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56731 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56732     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56733     if test -n "$cxx_z_relo"; then
56734       OPT_LDFLAGS="-Wl,-z,relro"
56735       ac_ld_relro=yes
56736     fi
56737     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56738 $as_echo "$ac_ld_relro" >&6; }
56739   fi
56740
56741   # Set linker optimization flags.
56742   if test x"$with_gnu_ld" = x"yes"; then
56743     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56744   fi
56745
56746
56747
56748
56749     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56750
56751     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56752
56753     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56754
56755     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56756
56757     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56758
56759     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56760
56761     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56762
56763     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56764
56765     if test x"long_double_math_on_this_cpu" = x"yes"; then
56766       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56767
56768       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56769
56770       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56771
56772     fi
56773     ;;
56774   *-netware)
56775     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56776
56777
56778   # If we're not using GNU ld, then there's no point in even trying these
56779   # tests.  Check for that first.  We should have already tested for gld
56780   # by now (in libtool), but require it now just to be safe...
56781   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56782   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56783
56784
56785
56786   # The name set by libtool depends on the version of libtool.  Shame on us
56787   # for depending on an impl detail, but c'est la vie.  Older versions used
56788   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56789   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56790   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56791   # set (hence we're using an older libtool), then set it.
56792   if test x${with_gnu_ld+set} != xset; then
56793     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56794       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56795       with_gnu_ld=no
56796     else
56797       with_gnu_ld=$ac_cv_prog_gnu_ld
56798     fi
56799   fi
56800
56801   # Start by getting the version number.  I think the libtool test already
56802   # does some of this, but throws away the result.
56803   glibcxx_ld_is_gold=no
56804   if test x"$with_gnu_ld" = x"yes"; then
56805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56806 $as_echo_n "checking for ld version... " >&6; }
56807
56808     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56809       glibcxx_ld_is_gold=yes
56810     fi
56811     ldver=`$LD --version 2>/dev/null |
56812            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'`
56813
56814     glibcxx_gnu_ld_version=`echo $ldver | \
56815            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56817 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56818   fi
56819
56820   # Set --gc-sections.
56821   glibcxx_have_gc_sections=no
56822   if test "$glibcxx_ld_is_gold" = "yes"; then
56823     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56824       glibcxx_have_gc_sections=yes
56825     fi
56826   else
56827     glibcxx_gcsections_min_ld=21602
56828     if test x"$with_gnu_ld" = x"yes" &&
56829         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56830       glibcxx_have_gc_sections=yes
56831     fi
56832   fi
56833   if test "$glibcxx_have_gc_sections" = "yes"; then
56834     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56835     # NB: This flag only works reliably after 2.16.1. Configure tests
56836     # for this are difficult, so hard wire a value that should work.
56837
56838     ac_test_CFLAGS="${CFLAGS+set}"
56839     ac_save_CFLAGS="$CFLAGS"
56840     CFLAGS='-Wl,--gc-sections'
56841
56842     # Check for -Wl,--gc-sections
56843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56844 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56845     if test x$gcc_no_link = xyes; then
56846   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56847 fi
56848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56849 /* end confdefs.h.  */
56850  int one(void) { return 1; }
56851      int two(void) { return 2; }
56852
56853 int
56854 main ()
56855 {
56856  two();
56857   ;
56858   return 0;
56859 }
56860 _ACEOF
56861 if ac_fn_c_try_link "$LINENO"; then :
56862   ac_gcsections=yes
56863 else
56864   ac_gcsections=no
56865 fi
56866 rm -f core conftest.err conftest.$ac_objext \
56867     conftest$ac_exeext conftest.$ac_ext
56868     if test "$ac_gcsections" = "yes"; then
56869       rm -f conftest.c
56870       touch conftest.c
56871       if $CC -c conftest.c; then
56872         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56873            grep "Warning: gc-sections option ignored" > /dev/null; then
56874           ac_gcsections=no
56875         fi
56876       fi
56877       rm -f conftest.c conftest.o conftest
56878     fi
56879     if test "$ac_gcsections" = "yes"; then
56880       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56881     fi
56882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56883 $as_echo "$ac_gcsections" >&6; }
56884
56885     if test "$ac_test_CFLAGS" = set; then
56886       CFLAGS="$ac_save_CFLAGS"
56887     else
56888       # this is the suspicious part
56889       CFLAGS=''
56890     fi
56891   fi
56892
56893   # Set -z,relro.
56894   # Note this is only for shared objects.
56895   ac_ld_relro=no
56896   if test x"$with_gnu_ld" = x"yes"; then
56897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56898 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56899     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56900     if test -n "$cxx_z_relo"; then
56901       OPT_LDFLAGS="-Wl,-z,relro"
56902       ac_ld_relro=yes
56903     fi
56904     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56905 $as_echo "$ac_ld_relro" >&6; }
56906   fi
56907
56908   # Set linker optimization flags.
56909   if test x"$with_gnu_ld" = x"yes"; then
56910     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56911   fi
56912
56913
56914
56915
56916     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56917
56918     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56919
56920     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56921
56922     ;;
56923   *-qnx6.1* | *-qnx6.2*)
56924     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56925
56926
56927   # If we're not using GNU ld, then there's no point in even trying these
56928   # tests.  Check for that first.  We should have already tested for gld
56929   # by now (in libtool), but require it now just to be safe...
56930   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56931   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56932
56933
56934
56935   # The name set by libtool depends on the version of libtool.  Shame on us
56936   # for depending on an impl detail, but c'est la vie.  Older versions used
56937   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56938   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56939   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56940   # set (hence we're using an older libtool), then set it.
56941   if test x${with_gnu_ld+set} != xset; then
56942     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56943       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56944       with_gnu_ld=no
56945     else
56946       with_gnu_ld=$ac_cv_prog_gnu_ld
56947     fi
56948   fi
56949
56950   # Start by getting the version number.  I think the libtool test already
56951   # does some of this, but throws away the result.
56952   glibcxx_ld_is_gold=no
56953   if test x"$with_gnu_ld" = x"yes"; then
56954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56955 $as_echo_n "checking for ld version... " >&6; }
56956
56957     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56958       glibcxx_ld_is_gold=yes
56959     fi
56960     ldver=`$LD --version 2>/dev/null |
56961            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'`
56962
56963     glibcxx_gnu_ld_version=`echo $ldver | \
56964            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56967   fi
56968
56969   # Set --gc-sections.
56970   glibcxx_have_gc_sections=no
56971   if test "$glibcxx_ld_is_gold" = "yes"; then
56972     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56973       glibcxx_have_gc_sections=yes
56974     fi
56975   else
56976     glibcxx_gcsections_min_ld=21602
56977     if test x"$with_gnu_ld" = x"yes" &&
56978         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56979       glibcxx_have_gc_sections=yes
56980     fi
56981   fi
56982   if test "$glibcxx_have_gc_sections" = "yes"; then
56983     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56984     # NB: This flag only works reliably after 2.16.1. Configure tests
56985     # for this are difficult, so hard wire a value that should work.
56986
56987     ac_test_CFLAGS="${CFLAGS+set}"
56988     ac_save_CFLAGS="$CFLAGS"
56989     CFLAGS='-Wl,--gc-sections'
56990
56991     # Check for -Wl,--gc-sections
56992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56994     if test x$gcc_no_link = xyes; then
56995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56996 fi
56997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56998 /* end confdefs.h.  */
56999  int one(void) { return 1; }
57000      int two(void) { return 2; }
57001
57002 int
57003 main ()
57004 {
57005  two();
57006   ;
57007   return 0;
57008 }
57009 _ACEOF
57010 if ac_fn_c_try_link "$LINENO"; then :
57011   ac_gcsections=yes
57012 else
57013   ac_gcsections=no
57014 fi
57015 rm -f core conftest.err conftest.$ac_objext \
57016     conftest$ac_exeext conftest.$ac_ext
57017     if test "$ac_gcsections" = "yes"; then
57018       rm -f conftest.c
57019       touch conftest.c
57020       if $CC -c conftest.c; then
57021         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57022            grep "Warning: gc-sections option ignored" > /dev/null; then
57023           ac_gcsections=no
57024         fi
57025       fi
57026       rm -f conftest.c conftest.o conftest
57027     fi
57028     if test "$ac_gcsections" = "yes"; then
57029       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57030     fi
57031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57032 $as_echo "$ac_gcsections" >&6; }
57033
57034     if test "$ac_test_CFLAGS" = set; then
57035       CFLAGS="$ac_save_CFLAGS"
57036     else
57037       # this is the suspicious part
57038       CFLAGS=''
57039     fi
57040   fi
57041
57042   # Set -z,relro.
57043   # Note this is only for shared objects.
57044   ac_ld_relro=no
57045   if test x"$with_gnu_ld" = x"yes"; then
57046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57048     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57049     if test -n "$cxx_z_relo"; then
57050       OPT_LDFLAGS="-Wl,-z,relro"
57051       ac_ld_relro=yes
57052     fi
57053     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57054 $as_echo "$ac_ld_relro" >&6; }
57055   fi
57056
57057   # Set linker optimization flags.
57058   if test x"$with_gnu_ld" = x"yes"; then
57059     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57060   fi
57061
57062
57063
57064
57065     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57066
57067     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57068
57069     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57070
57071     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57072
57073     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57074
57075     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57076
57077     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57078
57079     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57080
57081     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57082
57083     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57084
57085     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57086
57087     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57088
57089     ;;
57090   *-solaris*)
57091     case "$target" in
57092       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57093
57094   # If we're not using GNU ld, then there's no point in even trying these
57095   # tests.  Check for that first.  We should have already tested for gld
57096   # by now (in libtool), but require it now just to be safe...
57097   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57098   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57099
57100
57101
57102   # The name set by libtool depends on the version of libtool.  Shame on us
57103   # for depending on an impl detail, but c'est la vie.  Older versions used
57104   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57105   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57106   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57107   # set (hence we're using an older libtool), then set it.
57108   if test x${with_gnu_ld+set} != xset; then
57109     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57110       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57111       with_gnu_ld=no
57112     else
57113       with_gnu_ld=$ac_cv_prog_gnu_ld
57114     fi
57115   fi
57116
57117   # Start by getting the version number.  I think the libtool test already
57118   # does some of this, but throws away the result.
57119   glibcxx_ld_is_gold=no
57120   if test x"$with_gnu_ld" = x"yes"; then
57121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57122 $as_echo_n "checking for ld version... " >&6; }
57123
57124     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57125       glibcxx_ld_is_gold=yes
57126     fi
57127     ldver=`$LD --version 2>/dev/null |
57128            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'`
57129
57130     glibcxx_gnu_ld_version=`echo $ldver | \
57131            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57132     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57133 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57134   fi
57135
57136   # Set --gc-sections.
57137   glibcxx_have_gc_sections=no
57138   if test "$glibcxx_ld_is_gold" = "yes"; then
57139     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57140       glibcxx_have_gc_sections=yes
57141     fi
57142   else
57143     glibcxx_gcsections_min_ld=21602
57144     if test x"$with_gnu_ld" = x"yes" &&
57145         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57146       glibcxx_have_gc_sections=yes
57147     fi
57148   fi
57149   if test "$glibcxx_have_gc_sections" = "yes"; then
57150     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57151     # NB: This flag only works reliably after 2.16.1. Configure tests
57152     # for this are difficult, so hard wire a value that should work.
57153
57154     ac_test_CFLAGS="${CFLAGS+set}"
57155     ac_save_CFLAGS="$CFLAGS"
57156     CFLAGS='-Wl,--gc-sections'
57157
57158     # Check for -Wl,--gc-sections
57159     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57160 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57161     if test x$gcc_no_link = xyes; then
57162   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57163 fi
57164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57165 /* end confdefs.h.  */
57166  int one(void) { return 1; }
57167      int two(void) { return 2; }
57168
57169 int
57170 main ()
57171 {
57172  two();
57173   ;
57174   return 0;
57175 }
57176 _ACEOF
57177 if ac_fn_c_try_link "$LINENO"; then :
57178   ac_gcsections=yes
57179 else
57180   ac_gcsections=no
57181 fi
57182 rm -f core conftest.err conftest.$ac_objext \
57183     conftest$ac_exeext conftest.$ac_ext
57184     if test "$ac_gcsections" = "yes"; then
57185       rm -f conftest.c
57186       touch conftest.c
57187       if $CC -c conftest.c; then
57188         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57189            grep "Warning: gc-sections option ignored" > /dev/null; then
57190           ac_gcsections=no
57191         fi
57192       fi
57193       rm -f conftest.c conftest.o conftest
57194     fi
57195     if test "$ac_gcsections" = "yes"; then
57196       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57197     fi
57198     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57199 $as_echo "$ac_gcsections" >&6; }
57200
57201     if test "$ac_test_CFLAGS" = set; then
57202       CFLAGS="$ac_save_CFLAGS"
57203     else
57204       # this is the suspicious part
57205       CFLAGS=''
57206     fi
57207   fi
57208
57209   # Set -z,relro.
57210   # Note this is only for shared objects.
57211   ac_ld_relro=no
57212   if test x"$with_gnu_ld" = x"yes"; then
57213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57214 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57215     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57216     if test -n "$cxx_z_relo"; then
57217       OPT_LDFLAGS="-Wl,-z,relro"
57218       ac_ld_relro=yes
57219     fi
57220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57221 $as_echo "$ac_ld_relro" >&6; }
57222   fi
57223
57224   # Set linker optimization flags.
57225   if test x"$with_gnu_ld" = x"yes"; then
57226     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57227   fi
57228
57229
57230
57231
57232          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57233
57234          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57235
57236          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57237
57238          # All of the dependencies for wide character support are here, so
57239          # turn it on.
57240          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57241
57242         ;;
57243     esac
57244     case "$target" in
57245       *-*-solaris2.10)
57246       # These two C99 functions are present only in Solaris >= 10
57247       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57248
57249       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57250
57251      ;;
57252     esac
57253     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57254
57255     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57256
57257     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57258
57259     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57260
57261     ;;
57262   *-tpf)
57263     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57264
57265
57266   # If we're not using GNU ld, then there's no point in even trying these
57267   # tests.  Check for that first.  We should have already tested for gld
57268   # by now (in libtool), but require it now just to be safe...
57269   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57270   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57271
57272
57273
57274   # The name set by libtool depends on the version of libtool.  Shame on us
57275   # for depending on an impl detail, but c'est la vie.  Older versions used
57276   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57277   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57278   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57279   # set (hence we're using an older libtool), then set it.
57280   if test x${with_gnu_ld+set} != xset; then
57281     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57282       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57283       with_gnu_ld=no
57284     else
57285       with_gnu_ld=$ac_cv_prog_gnu_ld
57286     fi
57287   fi
57288
57289   # Start by getting the version number.  I think the libtool test already
57290   # does some of this, but throws away the result.
57291   glibcxx_ld_is_gold=no
57292   if test x"$with_gnu_ld" = x"yes"; then
57293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57294 $as_echo_n "checking for ld version... " >&6; }
57295
57296     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57297       glibcxx_ld_is_gold=yes
57298     fi
57299     ldver=`$LD --version 2>/dev/null |
57300            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'`
57301
57302     glibcxx_gnu_ld_version=`echo $ldver | \
57303            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57305 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57306   fi
57307
57308   # Set --gc-sections.
57309   glibcxx_have_gc_sections=no
57310   if test "$glibcxx_ld_is_gold" = "yes"; then
57311     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57312       glibcxx_have_gc_sections=yes
57313     fi
57314   else
57315     glibcxx_gcsections_min_ld=21602
57316     if test x"$with_gnu_ld" = x"yes" &&
57317         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57318       glibcxx_have_gc_sections=yes
57319     fi
57320   fi
57321   if test "$glibcxx_have_gc_sections" = "yes"; then
57322     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57323     # NB: This flag only works reliably after 2.16.1. Configure tests
57324     # for this are difficult, so hard wire a value that should work.
57325
57326     ac_test_CFLAGS="${CFLAGS+set}"
57327     ac_save_CFLAGS="$CFLAGS"
57328     CFLAGS='-Wl,--gc-sections'
57329
57330     # Check for -Wl,--gc-sections
57331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57332 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57333     if test x$gcc_no_link = xyes; then
57334   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57335 fi
57336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57337 /* end confdefs.h.  */
57338  int one(void) { return 1; }
57339      int two(void) { return 2; }
57340
57341 int
57342 main ()
57343 {
57344  two();
57345   ;
57346   return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_c_try_link "$LINENO"; then :
57350   ac_gcsections=yes
57351 else
57352   ac_gcsections=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext \
57355     conftest$ac_exeext conftest.$ac_ext
57356     if test "$ac_gcsections" = "yes"; then
57357       rm -f conftest.c
57358       touch conftest.c
57359       if $CC -c conftest.c; then
57360         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57361            grep "Warning: gc-sections option ignored" > /dev/null; then
57362           ac_gcsections=no
57363         fi
57364       fi
57365       rm -f conftest.c conftest.o conftest
57366     fi
57367     if test "$ac_gcsections" = "yes"; then
57368       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57369     fi
57370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57371 $as_echo "$ac_gcsections" >&6; }
57372
57373     if test "$ac_test_CFLAGS" = set; then
57374       CFLAGS="$ac_save_CFLAGS"
57375     else
57376       # this is the suspicious part
57377       CFLAGS=''
57378     fi
57379   fi
57380
57381   # Set -z,relro.
57382   # Note this is only for shared objects.
57383   ac_ld_relro=no
57384   if test x"$with_gnu_ld" = x"yes"; then
57385     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57386 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57387     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57388     if test -n "$cxx_z_relo"; then
57389       OPT_LDFLAGS="-Wl,-z,relro"
57390       ac_ld_relro=yes
57391     fi
57392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57393 $as_echo "$ac_ld_relro" >&6; }
57394   fi
57395
57396   # Set linker optimization flags.
57397   if test x"$with_gnu_ld" = x"yes"; then
57398     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57399   fi
57400
57401
57402
57403
57404     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57405
57406     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57407
57408     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57409
57410     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57411
57412     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57413
57414     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57415
57416     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57417
57418     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57419
57420     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57421
57422     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57423
57424     if test x"long_double_math_on_this_cpu" = x"yes"; then
57425       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57426
57427       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57428
57429       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57430
57431       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57432
57433     fi
57434     ;;
57435   *-vxworks)
57436     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57437
57438     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57439
57440     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57441
57442     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57443
57444     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57445
57446     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57447
57448     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57449
57450     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57451
57452     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57453
57454     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57455
57456     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57457
57458     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57459
57460     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57461
57462     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57463
57464     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57465
57466     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57467
57468     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57469
57470     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57471
57472     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57473
57474     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57475
57476     ;;
57477   *)
57478     as_fn_error "No support for this host/target combination." "$LINENO" 5
57479    ;;
57480 esac
57481
57482   fi
57483
57484   # At some point, we should differentiate between architectures
57485   # like x86, which have long double versions, and alpha/powerpc/etc.,
57486   # which don't. For the time being, punt.
57487   if test x"long_double_math_on_this_cpu" = x"yes"; then
57488     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57489
57490     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57491
57492     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57493
57494     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57495
57496     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57497
57498     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57499
57500     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57501
57502     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57503
57504     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57505
57506     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57507
57508     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57509
57510     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57511
57512     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57513
57514     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57515
57516     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57517
57518     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57519
57520     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57521
57522     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57523
57524     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57525
57526     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57527
57528     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57529
57530     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57531
57532     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57533
57534   fi
57535 fi
57536
57537 # Check for _Unwind_GetIPInfo.
57538
57539
57540 # Check whether --with-system-libunwind was given.
57541 if test "${with_system_libunwind+set}" = set; then :
57542   withval=$with_system_libunwind;
57543 fi
57544
57545   # If system-libunwind was not specifically set, pick a default setting.
57546   if test x$with_system_libunwind = x; then
57547     case ${target} in
57548       ia64-*-hpux*) with_system_libunwind=yes ;;
57549       *) with_system_libunwind=no ;;
57550     esac
57551   fi
57552   # Based on system-libunwind and target, do we have ipinfo?
57553   if  test x$with_system_libunwind = xyes; then
57554     case ${target} in
57555       ia64-*-*) have_unwind_getipinfo=no ;;
57556       *) have_unwind_getipinfo=yes ;;
57557     esac
57558   else
57559     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57560
57561     case ${target} in
57562       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57563       *) have_unwind_getipinfo=yes ;;
57564     esac
57565
57566   fi
57567
57568   if test x$have_unwind_getipinfo = xyes; then
57569
57570 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57571
57572   fi
57573
57574
57575
57576  # Check whether --enable-linux-futex was given.
57577 if test "${enable_linux_futex+set}" = set; then :
57578   enableval=$enable_linux_futex;
57579       case "$enableval" in
57580        yes|no|default) ;;
57581        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57582                           esac
57583
57584 else
57585   enable_linux_futex=default
57586 fi
57587
57588
57589 case "$target" in
57590   *-linux*)
57591     case "$enable_linux_futex" in
57592       default)
57593         # If headers don't have gettid/futex syscalls definition, then
57594         # default to no, otherwise there will be compile time failures.
57595         # Otherwise, default to yes.  If we don't detect we are
57596         # compiled/linked against NPTL and not cross-compiling, check
57597         # if programs are run by default against NPTL and if not, issue
57598         # a warning.
57599         enable_linux_futex=no
57600         if test x$gcc_no_link = xyes; then
57601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57602 fi
57603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57604 /* end confdefs.h.  */
57605 #include <sys/syscall.h>
57606            int lk;
57607 int
57608 main ()
57609 {
57610 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57611   ;
57612   return 0;
57613 }
57614 _ACEOF
57615 if ac_fn_c_try_link "$LINENO"; then :
57616   save_LIBS="$LIBS"
57617            LIBS="-lpthread $LIBS"
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 #ifndef _GNU_SOURCE
57624              #define _GNU_SOURCE 1
57625              #endif
57626              #include <pthread.h>
57627              pthread_t th; void *status;
57628 int
57629 main ()
57630 {
57631 pthread_tryjoin_np (th, &status);
57632   ;
57633   return 0;
57634 }
57635 _ACEOF
57636 if ac_fn_c_try_link "$LINENO"; then :
57637   enable_linux_futex=yes
57638 else
57639   if test x$cross_compiling = xno; then
57640                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57641                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57642                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57643 If so, please configure with --disable-linux-futex" >&5
57644 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57645 If so, please configure with --disable-linux-futex" >&2;}
57646                fi
57647              fi
57648              enable_linux_futex=yes
57649 fi
57650 rm -f core conftest.err conftest.$ac_objext \
57651     conftest$ac_exeext conftest.$ac_ext
57652            LIBS="$save_LIBS"
57653 fi
57654 rm -f core conftest.err conftest.$ac_objext \
57655     conftest$ac_exeext conftest.$ac_ext
57656         ;;
57657       yes)
57658         if test x$gcc_no_link = xyes; then
57659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57660 fi
57661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57662 /* end confdefs.h.  */
57663 #include <sys/syscall.h>
57664            int lk;
57665 int
57666 main ()
57667 {
57668 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57669   ;
57670   return 0;
57671 }
57672 _ACEOF
57673 if ac_fn_c_try_link "$LINENO"; then :
57674
57675 else
57676   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57677 fi
57678 rm -f core conftest.err conftest.$ac_objext \
57679     conftest$ac_exeext conftest.$ac_ext
57680         ;;
57681     esac
57682     ;;
57683   *)
57684     enable_linux_futex=no
57685     ;;
57686 esac
57687 if test x$enable_linux_futex = xyes; then
57688
57689 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57690
57691 fi
57692
57693
57694
57695
57696 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57697
57698 acx_cv_header_stdint=stddef.h
57699 acx_cv_header_stdint_kind="(already complete)"
57700 for i in stdint.h $inttype_headers; do
57701   unset ac_cv_type_uintptr_t
57702   unset ac_cv_type_uintmax_t
57703   unset ac_cv_type_int_least32_t
57704   unset ac_cv_type_int_fast32_t
57705   unset ac_cv_type_uint64_t
57706   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57707   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57708 #include <$i>
57709 "
57710 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57711   acx_cv_header_stdint=$i
57712 else
57713   continue
57714 fi
57715
57716   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57717 #include <$i>
57718 "
57719 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57720
57721 else
57722   acx_cv_header_stdint_kind="(mostly complete)"
57723 fi
57724
57725   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57726 #include <$i>
57727 "
57728 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57729
57730 else
57731   acx_cv_header_stdint_kind="(mostly complete)"
57732 fi
57733
57734   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57735 #include <$i>
57736 "
57737 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57738
57739 else
57740   acx_cv_header_stdint_kind="(mostly complete)"
57741 fi
57742
57743   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57744 #include <$i>
57745 "
57746 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57747
57748 else
57749   acx_cv_header_stdint_kind="(lacks uint64_t)"
57750 fi
57751
57752   break
57753 done
57754 if test "$acx_cv_header_stdint" = stddef.h; then
57755   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57756   for i in stdint.h $inttype_headers; do
57757     unset ac_cv_type_uintptr_t
57758     unset ac_cv_type_uint32_t
57759     unset ac_cv_type_uint64_t
57760     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57761     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57762 #include <$i>
57763 "
57764 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57765   acx_cv_header_stdint=$i
57766 else
57767   continue
57768 fi
57769
57770     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57771 #include <$i>
57772 "
57773 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57774
57775 fi
57776
57777     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57778 #include <$i>
57779 "
57780 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57781
57782 fi
57783
57784     break
57785   done
57786 fi
57787 if test "$acx_cv_header_stdint" = stddef.h; then
57788   acx_cv_header_stdint_kind="(u_intXX_t style)"
57789   for i in sys/types.h $inttype_headers; do
57790     unset ac_cv_type_u_int32_t
57791     unset ac_cv_type_u_int64_t
57792     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57793     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57794 #include <$i>
57795 "
57796 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57797   acx_cv_header_stdint=$i
57798 else
57799   continue
57800 fi
57801
57802     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57803 #include <$i>
57804 "
57805 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57806
57807 fi
57808
57809     break
57810   done
57811 fi
57812 if test "$acx_cv_header_stdint" = stddef.h; then
57813   acx_cv_header_stdint_kind="(using manual detection)"
57814 fi
57815
57816 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57817 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57818 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57819 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57820 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57821
57822 # ----------------- Summarize what we found so far
57823
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57825 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57826
57827 case `$as_basename -- include/gstdint.h ||
57828 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57829          Xinclude/gstdint.h : 'X\(//\)$' \| \
57830          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57831 $as_echo X/include/gstdint.h |
57832     sed '/^.*\/\([^/][^/]*\)\/*$/{
57833             s//\1/
57834             q
57835           }
57836           /^X\/\(\/\/\)$/{
57837             s//\1/
57838             q
57839           }
57840           /^X\/\(\/\).*/{
57841             s//\1/
57842             q
57843           }
57844           s/.*/./; q'` in
57845   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57846 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57847   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57848 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57849   *) ;;
57850 esac
57851
57852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57853 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57854
57855 # ----------------- done included file, check C basic types --------
57856
57857 # Lacking an uintptr_t?  Test size of void *
57858 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57859   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57862 # This bug is HP SR number 8606223364.
57863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57864 $as_echo_n "checking size of void *... " >&6; }
57865 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57866   $as_echo_n "(cached) " >&6
57867 else
57868   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57869
57870 else
57871   if test "$ac_cv_type_void_p" = yes; then
57872      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57874 { as_fn_set_status 77
57875 as_fn_error "cannot compute sizeof (void *)
57876 See \`config.log' for more details." "$LINENO" 5; }; }
57877    else
57878      ac_cv_sizeof_void_p=0
57879    fi
57880 fi
57881
57882 fi
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57884 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57885
57886
57887
57888 cat >>confdefs.h <<_ACEOF
57889 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57890 _ACEOF
57891
57892  ;;
57893 esac
57894
57895 # Lacking an uint64_t?  Test size of long
57896 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57897   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57898 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57899 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57900 # This bug is HP SR number 8606223364.
57901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57902 $as_echo_n "checking size of long... " >&6; }
57903 if test "${ac_cv_sizeof_long+set}" = set; then :
57904   $as_echo_n "(cached) " >&6
57905 else
57906   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57907
57908 else
57909   if test "$ac_cv_type_long" = yes; then
57910      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57912 { as_fn_set_status 77
57913 as_fn_error "cannot compute sizeof (long)
57914 See \`config.log' for more details." "$LINENO" 5; }; }
57915    else
57916      ac_cv_sizeof_long=0
57917    fi
57918 fi
57919
57920 fi
57921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57922 $as_echo "$ac_cv_sizeof_long" >&6; }
57923
57924
57925
57926 cat >>confdefs.h <<_ACEOF
57927 #define SIZEOF_LONG $ac_cv_sizeof_long
57928 _ACEOF
57929
57930  ;;
57931 esac
57932
57933 if test $acx_cv_header_stdint = stddef.h; then
57934   # Lacking a good header?  Test size of everything and deduce all types.
57935   # The cast to long int works around a bug in the HP C Compiler
57936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57938 # This bug is HP SR number 8606223364.
57939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57940 $as_echo_n "checking size of int... " >&6; }
57941 if test "${ac_cv_sizeof_int+set}" = set; then :
57942   $as_echo_n "(cached) " >&6
57943 else
57944   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57945
57946 else
57947   if test "$ac_cv_type_int" = yes; then
57948      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57950 { as_fn_set_status 77
57951 as_fn_error "cannot compute sizeof (int)
57952 See \`config.log' for more details." "$LINENO" 5; }; }
57953    else
57954      ac_cv_sizeof_int=0
57955    fi
57956 fi
57957
57958 fi
57959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57960 $as_echo "$ac_cv_sizeof_int" >&6; }
57961
57962
57963
57964 cat >>confdefs.h <<_ACEOF
57965 #define SIZEOF_INT $ac_cv_sizeof_int
57966 _ACEOF
57967
57968
57969   # The cast to long int works around a bug in the HP C Compiler
57970 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57971 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57972 # This bug is HP SR number 8606223364.
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57974 $as_echo_n "checking size of short... " >&6; }
57975 if test "${ac_cv_sizeof_short+set}" = set; then :
57976   $as_echo_n "(cached) " >&6
57977 else
57978   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57979
57980 else
57981   if test "$ac_cv_type_short" = yes; then
57982      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57984 { as_fn_set_status 77
57985 as_fn_error "cannot compute sizeof (short)
57986 See \`config.log' for more details." "$LINENO" 5; }; }
57987    else
57988      ac_cv_sizeof_short=0
57989    fi
57990 fi
57991
57992 fi
57993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57994 $as_echo "$ac_cv_sizeof_short" >&6; }
57995
57996
57997
57998 cat >>confdefs.h <<_ACEOF
57999 #define SIZEOF_SHORT $ac_cv_sizeof_short
58000 _ACEOF
58001
58002
58003   # The cast to long int works around a bug in the HP C Compiler
58004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58005 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58006 # This bug is HP SR number 8606223364.
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58008 $as_echo_n "checking size of char... " >&6; }
58009 if test "${ac_cv_sizeof_char+set}" = set; then :
58010   $as_echo_n "(cached) " >&6
58011 else
58012   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
58013
58014 else
58015   if test "$ac_cv_type_char" = yes; then
58016      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58018 { as_fn_set_status 77
58019 as_fn_error "cannot compute sizeof (char)
58020 See \`config.log' for more details." "$LINENO" 5; }; }
58021    else
58022      ac_cv_sizeof_char=0
58023    fi
58024 fi
58025
58026 fi
58027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58028 $as_echo "$ac_cv_sizeof_char" >&6; }
58029
58030
58031
58032 cat >>confdefs.h <<_ACEOF
58033 #define SIZEOF_CHAR $ac_cv_sizeof_char
58034 _ACEOF
58035
58036
58037
58038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58039 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58040   case "$ac_cv_sizeof_char" in
58041     1) acx_cv_type_int8_t=char ;;
58042     *) { as_fn_set_status please report a bug
58043 as_fn_error "no 8-bit type" "$LINENO" 5; }
58044   esac
58045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58046 $as_echo "$acx_cv_type_int8_t" >&6; }
58047
58048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58049 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58050   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58051     2:*) acx_cv_type_int16_t=int ;;
58052     *:2) acx_cv_type_int16_t=short ;;
58053     *) { as_fn_set_status please report a bug
58054 as_fn_error "no 16-bit type" "$LINENO" 5; }
58055   esac
58056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58057 $as_echo "$acx_cv_type_int16_t" >&6; }
58058
58059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58060 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58061   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58062     4:*) acx_cv_type_int32_t=int ;;
58063     *:4) acx_cv_type_int32_t=long ;;
58064     *) { as_fn_set_status please report a bug
58065 as_fn_error "no 32-bit type" "$LINENO" 5; }
58066   esac
58067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58068 $as_echo "$acx_cv_type_int32_t" >&6; }
58069 fi
58070
58071 # These tests are here to make the output prettier
58072
58073 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58074   case "$ac_cv_sizeof_long" in
58075     8) acx_cv_type_int64_t=long ;;
58076   esac
58077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58078 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58080 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58081 fi
58082
58083 # Now we can use the above types
58084
58085 if test "$ac_cv_type_uintptr_t" != yes; then
58086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58087 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58088   case $ac_cv_sizeof_void_p in
58089     2) acx_cv_type_intptr_t=int16_t ;;
58090     4) acx_cv_type_intptr_t=int32_t ;;
58091     8) acx_cv_type_intptr_t=int64_t ;;
58092     *) { as_fn_set_status please report a bug
58093 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58094   esac
58095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58096 $as_echo "$acx_cv_type_intptr_t" >&6; }
58097 fi
58098
58099 # ----------------- done all checks, emit header -------------
58100 ac_config_commands="$ac_config_commands include/gstdint.h"
58101
58102
58103
58104
58105 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58106
58107
58108  # Check whether --enable-symvers was given.
58109 if test "${enable_symvers+set}" = set; then :
58110   enableval=$enable_symvers;
58111       case "$enableval" in
58112        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58113        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58114                           esac
58115
58116 else
58117   enable_symvers=yes
58118 fi
58119
58120
58121
58122 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58123 # don't know enough about $LD to do tricks...
58124
58125
58126 # Turn a 'yes' into a suitable default.
58127 if test x$enable_symvers = xyes ; then
58128   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58129     enable_symvers=no
58130   else
58131     if test $with_gnu_ld = yes ; then
58132       case ${target_os} in
58133         hpux*)
58134           enable_symvers=no ;;
58135         *)
58136           enable_symvers=gnu ;;
58137       esac
58138     else
58139       case ${target_os} in
58140         darwin*)
58141           enable_symvers=darwin ;;
58142         *)
58143           enable_symvers=no ;;
58144       esac
58145     fi
58146   fi
58147 fi
58148
58149 # Check to see if 'darwin' or 'darwin-export' can win.
58150 if test x$enable_symvers = xdarwin-export ; then
58151     enable_symvers=darwin
58152 fi
58153
58154 # Check to see if 'gnu' can win.
58155 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58156   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58158 $as_echo_n "checking for shared libgcc... " >&6; }
58159   ac_save_CFLAGS="$CFLAGS"
58160   CFLAGS=' -lgcc_s'
58161   if test x$gcc_no_link = xyes; then
58162   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58163 fi
58164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58165 /* end confdefs.h.  */
58166
58167 int
58168 main ()
58169 {
58170 return 0;
58171   ;
58172   return 0;
58173 }
58174 _ACEOF
58175 if ac_fn_c_try_link "$LINENO"; then :
58176   glibcxx_shared_libgcc=yes
58177 else
58178   glibcxx_shared_libgcc=no
58179 fi
58180 rm -f core conftest.err conftest.$ac_objext \
58181     conftest$ac_exeext conftest.$ac_ext
58182   CFLAGS="$ac_save_CFLAGS"
58183   if test $glibcxx_shared_libgcc = no; then
58184     cat > conftest.c <<EOF
58185 int main (void) { return 0; }
58186 EOF
58187     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58188                              -shared -shared-libgcc -o conftest.so \
58189                              conftest.c -v 2>&1 >/dev/null \
58190                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58191     rm -f conftest.c conftest.so
58192     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58193       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58194       if test x$gcc_no_link = xyes; then
58195   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58196 fi
58197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58198 /* end confdefs.h.  */
58199
58200 int
58201 main ()
58202 {
58203 return 0;
58204   ;
58205   return 0;
58206 }
58207 _ACEOF
58208 if ac_fn_c_try_link "$LINENO"; then :
58209   glibcxx_shared_libgcc=yes
58210 fi
58211 rm -f core conftest.err conftest.$ac_objext \
58212     conftest$ac_exeext conftest.$ac_ext
58213       CFLAGS="$ac_save_CFLAGS"
58214     fi
58215   fi
58216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58217 $as_echo "$glibcxx_shared_libgcc" >&6; }
58218
58219   # For GNU ld, we need at least this version.  The format is described in
58220   # GLIBCXX_CHECK_LINKER_FEATURES above.
58221   glibcxx_min_gnu_ld_version=21400
58222
58223   # If no shared libgcc, can't win.
58224   if test $glibcxx_shared_libgcc != yes; then
58225       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58226 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58227       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58228 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58229       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58230 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58231       enable_symvers=no
58232   elif test $with_gnu_ld != yes ; then
58233     # just fail for now
58234     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58235 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58236     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58237 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58238     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58239 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58240     enable_symvers=no
58241   elif test $glibcxx_ld_is_gold = yes ; then
58242     : All versions of gold support symbol versioning.
58243   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58244     # The right tools, the right setup, but too old.  Fallbacks?
58245     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58246 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58248 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58250 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58251     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58252 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58253     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58254 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58255     enable_symvers=no
58256   fi
58257 fi
58258
58259 # Everything parsed; figure out what file to use.
58260 case $enable_symvers in
58261   no)
58262     SYMVER_FILE=config/abi/pre/none.ver
58263     ;;
58264   gnu)
58265     SYMVER_FILE=config/abi/pre/gnu.ver
58266
58267 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58268
58269     ;;
58270   gnu-versioned-namespace)
58271     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58272
58273 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58274
58275     ;;
58276   darwin)
58277     SYMVER_FILE=config/abi/pre/gnu.ver
58278
58279 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58280
58281     ;;
58282 esac
58283
58284 if test x$enable_symvers != xno ; then
58285
58286 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58287
58288 fi
58289
58290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58291 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58292 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58293   $as_echo_n "(cached) " >&6
58294 else
58295
58296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58297 /* end confdefs.h.  */
58298 void foo (void); __asm (".symver foo, bar@SYMVER");
58299 int
58300 main ()
58301 {
58302
58303   ;
58304   return 0;
58305 }
58306 _ACEOF
58307 if ac_fn_c_try_compile "$LINENO"; then :
58308   glibcxx_cv_have_as_symver_directive=yes
58309 else
58310   glibcxx_cv_have_as_symver_directive=no
58311 fi
58312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58313 fi
58314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58315 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58316 if test $glibcxx_cv_have_as_symver_directive = yes; then
58317
58318 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58319
58320 fi
58321
58322
58323
58324
58325
58326
58327
58328 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58329 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58330
58331 # Now, set up compatibility support, if any.
58332 # In addition, need this to deal with std::size_t mangling in
58333 # src/compatibility.cc.  In a perfect world, could use
58334 # typeid(std::size_t).name()[0] to do direct substitution.
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58336 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58337 ac_save_CFLAGS="$CFLAGS"
58338 CFLAGS="-Werror"
58339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340 /* end confdefs.h.  */
58341
58342 int
58343 main ()
58344 {
58345 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58346   ;
58347   return 0;
58348 }
58349 _ACEOF
58350 if ac_fn_c_try_compile "$LINENO"; then :
58351   glibcxx_size_t_is_i=yes
58352 else
58353   glibcxx_size_t_is_i=no
58354 fi
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356 CFLAGS=$ac_save_CFLAGS
58357 if test "$glibcxx_size_t_is_i" = yes; then
58358
58359 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58360
58361 fi
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58363 $as_echo "$glibcxx_size_t_is_i" >&6; }
58364
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58366 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58367 ac_save_CFLAGS="$CFLAGS"
58368 CFLAGS="-Werror"
58369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58370 /* end confdefs.h.  */
58371
58372 int
58373 main ()
58374 {
58375 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58376   ;
58377   return 0;
58378 }
58379 _ACEOF
58380 if ac_fn_c_try_compile "$LINENO"; then :
58381   glibcxx_ptrdiff_t_is_i=yes
58382 else
58383   glibcxx_ptrdiff_t_is_i=no
58384 fi
58385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58386 CFLAGS=$ac_save_CFLAGS
58387 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58388
58389 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58390
58391 fi
58392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58393 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58394
58395
58396  # Check whether --enable-visibility was given.
58397 if test "${enable_visibility+set}" = set; then :
58398   enableval=$enable_visibility;
58399       case "$enableval" in
58400        yes|no) ;;
58401        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58402       esac
58403
58404 else
58405   enable_visibility=yes
58406 fi
58407
58408
58409
58410 if test x$enable_visibility = xyes ; then
58411       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58412 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58413 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58414   $as_echo_n "(cached) " >&6
58415 else
58416
58417   save_CFLAGS="$CFLAGS"
58418   CFLAGS="$CFLAGS -Werror"
58419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58420 /* end confdefs.h.  */
58421 void __attribute__((visibility("hidden"))) foo(void) { }
58422 int
58423 main ()
58424 {
58425
58426   ;
58427   return 0;
58428 }
58429 _ACEOF
58430 if ac_fn_c_try_compile "$LINENO"; then :
58431   glibcxx_cv_have_attribute_visibility=yes
58432 else
58433   glibcxx_cv_have_attribute_visibility=no
58434 fi
58435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58436   CFLAGS="$save_CFLAGS"
58437 fi
58438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58439 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58440   if test $glibcxx_cv_have_attribute_visibility = no; then
58441     enable_visibility=no
58442   fi
58443 fi
58444
58445
58446 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58447 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58448
58449
58450 ac_ldbl_compat=no
58451 case "$target" in
58452   powerpc*-*-linux* | \
58453   powerpc*-*-gnu* | \
58454   sparc*-*-linux* | \
58455   s390*-*-linux* | \
58456   alpha*-*-linux*)
58457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58458 /* end confdefs.h.  */
58459
58460 int
58461 main ()
58462 {
58463
58464 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58465 #error no need for long double compatibility
58466 #endif
58467
58468   ;
58469   return 0;
58470 }
58471 _ACEOF
58472 if ac_fn_c_try_compile "$LINENO"; then :
58473   ac_ldbl_compat=yes
58474 else
58475   ac_ldbl_compat=no
58476 fi
58477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58478   if test "$ac_ldbl_compat" = yes; then
58479
58480 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58481
58482     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58483   fi
58484 esac
58485
58486
58487 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58488
58489   if $GLIBCXX_IS_NATIVE ; then
58490     # Do checks for resource limit functions.
58491
58492   setrlimit_have_headers=yes
58493   for ac_header in unistd.h sys/time.h sys/resource.h
58494 do :
58495   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58496 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58497 eval as_val=\$$as_ac_Header
58498    if test "x$as_val" = x""yes; then :
58499   cat >>confdefs.h <<_ACEOF
58500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58501 _ACEOF
58502
58503 else
58504   setrlimit_have_headers=no
58505 fi
58506
58507 done
58508
58509   # If don't have the headers, then we can't run the tests now, and we
58510   # won't be seeing any of these during testsuite compilation.
58511   if test $setrlimit_have_headers = yes; then
58512     # Can't do these in a loop, else the resulting syntax is wrong.
58513
58514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58515 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h.  */
58518 #include <unistd.h>
58519      #include <sys/time.h>
58520      #include <sys/resource.h>
58521
58522 int
58523 main ()
58524 {
58525  int f = RLIMIT_DATA ;
58526   ;
58527   return 0;
58528 }
58529 _ACEOF
58530 if ac_fn_c_try_compile "$LINENO"; then :
58531   glibcxx_mresult=1
58532 else
58533   glibcxx_mresult=0
58534 fi
58535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58536
58537 cat >>confdefs.h <<_ACEOF
58538 #define HAVE_LIMIT_DATA $glibcxx_mresult
58539 _ACEOF
58540
58541   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58543 $as_echo "$res" >&6; }
58544
58545
58546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58547 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58549 /* end confdefs.h.  */
58550 #include <unistd.h>
58551      #include <sys/time.h>
58552      #include <sys/resource.h>
58553
58554 int
58555 main ()
58556 {
58557  int f = RLIMIT_RSS ;
58558   ;
58559   return 0;
58560 }
58561 _ACEOF
58562 if ac_fn_c_try_compile "$LINENO"; then :
58563   glibcxx_mresult=1
58564 else
58565   glibcxx_mresult=0
58566 fi
58567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58568
58569 cat >>confdefs.h <<_ACEOF
58570 #define HAVE_LIMIT_RSS $glibcxx_mresult
58571 _ACEOF
58572
58573   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58575 $as_echo "$res" >&6; }
58576
58577
58578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58579 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58581 /* end confdefs.h.  */
58582 #include <unistd.h>
58583      #include <sys/time.h>
58584      #include <sys/resource.h>
58585
58586 int
58587 main ()
58588 {
58589  int f = RLIMIT_VMEM ;
58590   ;
58591   return 0;
58592 }
58593 _ACEOF
58594 if ac_fn_c_try_compile "$LINENO"; then :
58595   glibcxx_mresult=1
58596 else
58597   glibcxx_mresult=0
58598 fi
58599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58600
58601 cat >>confdefs.h <<_ACEOF
58602 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58603 _ACEOF
58604
58605   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58607 $as_echo "$res" >&6; }
58608
58609
58610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58611 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58613 /* end confdefs.h.  */
58614 #include <unistd.h>
58615      #include <sys/time.h>
58616      #include <sys/resource.h>
58617
58618 int
58619 main ()
58620 {
58621  int f = RLIMIT_AS ;
58622   ;
58623   return 0;
58624 }
58625 _ACEOF
58626 if ac_fn_c_try_compile "$LINENO"; then :
58627   glibcxx_mresult=1
58628 else
58629   glibcxx_mresult=0
58630 fi
58631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58632
58633 cat >>confdefs.h <<_ACEOF
58634 #define HAVE_LIMIT_AS $glibcxx_mresult
58635 _ACEOF
58636
58637   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58639 $as_echo "$res" >&6; }
58640
58641
58642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58643 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58645 /* end confdefs.h.  */
58646 #include <unistd.h>
58647      #include <sys/time.h>
58648      #include <sys/resource.h>
58649
58650 int
58651 main ()
58652 {
58653  int f = RLIMIT_FSIZE ;
58654   ;
58655   return 0;
58656 }
58657 _ACEOF
58658 if ac_fn_c_try_compile "$LINENO"; then :
58659   glibcxx_mresult=1
58660 else
58661   glibcxx_mresult=0
58662 fi
58663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58664
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58667 _ACEOF
58668
58669   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58671 $as_echo "$res" >&6; }
58672
58673
58674     # Check for rlimit, setrlimit.
58675     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58676   $as_echo_n "(cached) " >&6
58677 else
58678
58679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58680 /* end confdefs.h.  */
58681 #include <unistd.h>
58682          #include <sys/time.h>
58683          #include <sys/resource.h>
58684
58685 int
58686 main ()
58687 {
58688 struct rlimit r;
58689          setrlimit(0, &r);
58690   ;
58691   return 0;
58692 }
58693 _ACEOF
58694 if ac_fn_c_try_compile "$LINENO"; then :
58695   glibcxx_cv_setrlimit=yes
58696 else
58697   glibcxx_cv_setrlimit=no
58698 fi
58699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58700
58701 fi
58702
58703   fi
58704
58705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58706 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58707   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58708     ac_res_limits=yes
58709
58710 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58711
58712   else
58713     ac_res_limits=no
58714   fi
58715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58716 $as_echo "$ac_res_limits" >&6; }
58717
58718
58719     # Look for setenv, so that extended locale tests can be performed.
58720
58721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58722 $as_echo_n "checking for setenv declaration... " >&6; }
58723   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58724     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58725   $as_echo_n "(cached) " >&6
58726 else
58727
58728
58729       ac_ext=cpp
58730 ac_cpp='$CXXCPP $CPPFLAGS'
58731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58734
58735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58736 /* end confdefs.h.  */
58737 #include <stdlib.h>
58738 int
58739 main ()
58740 {
58741  setenv(0, 0, 0);
58742   ;
58743   return 0;
58744 }
58745 _ACEOF
58746 if ac_fn_cxx_try_compile "$LINENO"; then :
58747   glibcxx_cv_func_setenv_use=yes
58748 else
58749   glibcxx_cv_func_setenv_use=no
58750 fi
58751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58752       ac_ext=c
58753 ac_cpp='$CPP $CPPFLAGS'
58754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58757
58758
58759 fi
58760
58761   fi
58762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58763 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58764   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58765     for ac_func in setenv
58766 do :
58767   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58768 if test "x$ac_cv_func_setenv" = x""yes; then :
58769   cat >>confdefs.h <<_ACEOF
58770 #define HAVE_SETENV 1
58771 _ACEOF
58772
58773 fi
58774 done
58775
58776   fi
58777
58778   fi
58779
58780   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58781      test $enable_symvers != no; then
58782     case "$host" in
58783       *-*-cygwin*)
58784         enable_abi_check=no ;;
58785       *)
58786         enable_abi_check=yes ;;
58787     esac
58788   else
58789     # Only build this as native, since automake does not understand
58790     # CXX_FOR_BUILD.
58791     enable_abi_check=no
58792   fi
58793
58794   # Export file names for ABI checking.
58795   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58796
58797
58798
58799 # Propagate the target-specific source directories through the build chain.
58800 ATOMICITY_SRCDIR=config/${atomicity_dir}
58801 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58802 ATOMIC_FLAGS=${atomic_flags}
58803 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58804 OS_INC_SRCDIR=config/${os_include_dir}
58805 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58806 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58807
58808
58809
58810
58811
58812
58813
58814
58815
58816 # Determine cross-compile flags and AM_CONDITIONALs.
58817 #AC_SUBST(GLIBCXX_IS_NATIVE)
58818 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58819     if test $is_hosted = yes; then
58820   GLIBCXX_HOSTED_TRUE=
58821   GLIBCXX_HOSTED_FALSE='#'
58822 else
58823   GLIBCXX_HOSTED_TRUE='#'
58824   GLIBCXX_HOSTED_FALSE=
58825 fi
58826
58827
58828     if test $enable_libstdcxx_pch = yes; then
58829   GLIBCXX_BUILD_PCH_TRUE=
58830   GLIBCXX_BUILD_PCH_FALSE='#'
58831 else
58832   GLIBCXX_BUILD_PCH_TRUE='#'
58833   GLIBCXX_BUILD_PCH_FALSE=
58834 fi
58835
58836
58837     if test $enable_cheaders = c; then
58838   GLIBCXX_C_HEADERS_C_TRUE=
58839   GLIBCXX_C_HEADERS_C_FALSE='#'
58840 else
58841   GLIBCXX_C_HEADERS_C_TRUE='#'
58842   GLIBCXX_C_HEADERS_C_FALSE=
58843 fi
58844
58845
58846     if test $enable_cheaders = c_std; then
58847   GLIBCXX_C_HEADERS_C_STD_TRUE=
58848   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58849 else
58850   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58851   GLIBCXX_C_HEADERS_C_STD_FALSE=
58852 fi
58853
58854
58855     if test $enable_cheaders = c_global; then
58856   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58857   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58858 else
58859   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58860   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58861 fi
58862
58863
58864     if test $c_compatibility = yes; then
58865   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58866   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58867 else
58868   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58869   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58870 fi
58871
58872
58873     if test $c_extra = yes; then
58874   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58875   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58876 else
58877   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58878   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58879 fi
58880
58881
58882     if test $enable_libstdcxx_debug = yes; then
58883   GLIBCXX_BUILD_DEBUG_TRUE=
58884   GLIBCXX_BUILD_DEBUG_FALSE='#'
58885 else
58886   GLIBCXX_BUILD_DEBUG_TRUE='#'
58887   GLIBCXX_BUILD_DEBUG_FALSE=
58888 fi
58889
58890
58891     if test $enable_parallel = yes; then
58892   ENABLE_PARALLEL_TRUE=
58893   ENABLE_PARALLEL_FALSE='#'
58894 else
58895   ENABLE_PARALLEL_TRUE='#'
58896   ENABLE_PARALLEL_FALSE=
58897 fi
58898
58899
58900     if test $enable_symvers != no; then
58901   ENABLE_SYMVERS_TRUE=
58902   ENABLE_SYMVERS_FALSE='#'
58903 else
58904   ENABLE_SYMVERS_TRUE='#'
58905   ENABLE_SYMVERS_FALSE=
58906 fi
58907
58908
58909     if test $enable_symvers = gnu; then
58910   ENABLE_SYMVERS_GNU_TRUE=
58911   ENABLE_SYMVERS_GNU_FALSE='#'
58912 else
58913   ENABLE_SYMVERS_GNU_TRUE='#'
58914   ENABLE_SYMVERS_GNU_FALSE=
58915 fi
58916
58917
58918     if test $enable_symvers = gnu-versioned-namespace; then
58919   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58920   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58921 else
58922   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58923   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58924 fi
58925
58926
58927     if test $enable_symvers = darwin; then
58928   ENABLE_SYMVERS_DARWIN_TRUE=
58929   ENABLE_SYMVERS_DARWIN_FALSE='#'
58930 else
58931   ENABLE_SYMVERS_DARWIN_TRUE='#'
58932   ENABLE_SYMVERS_DARWIN_FALSE=
58933 fi
58934
58935
58936     if test $enable_visibility = yes; then
58937   ENABLE_VISIBILITY_TRUE=
58938   ENABLE_VISIBILITY_FALSE='#'
58939 else
58940   ENABLE_VISIBILITY_TRUE='#'
58941   ENABLE_VISIBILITY_FALSE=
58942 fi
58943
58944
58945     if test $ac_ldbl_compat = yes; then
58946   GLIBCXX_LDBL_COMPAT_TRUE=
58947   GLIBCXX_LDBL_COMPAT_FALSE='#'
58948 else
58949   GLIBCXX_LDBL_COMPAT_TRUE='#'
58950   GLIBCXX_LDBL_COMPAT_FALSE=
58951 fi
58952
58953
58954
58955
58956 cat >confcache <<\_ACEOF
58957 # This file is a shell script that caches the results of configure
58958 # tests run on this system so they can be shared between configure
58959 # scripts and configure runs, see configure's option --config-cache.
58960 # It is not useful on other systems.  If it contains results you don't
58961 # want to keep, you may remove or edit it.
58962 #
58963 # config.status only pays attention to the cache file if you give it
58964 # the --recheck option to rerun configure.
58965 #
58966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58968 # following values.
58969
58970 _ACEOF
58971
58972 # The following way of writing the cache mishandles newlines in values,
58973 # but we know of no workaround that is simple, portable, and efficient.
58974 # So, we kill variables containing newlines.
58975 # Ultrix sh set writes to stderr and can't be redirected directly,
58976 # and sets the high bit in the cache file unless we assign to the vars.
58977 (
58978   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58979     eval ac_val=\$$ac_var
58980     case $ac_val in #(
58981     *${as_nl}*)
58982       case $ac_var in #(
58983       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58985       esac
58986       case $ac_var in #(
58987       _ | IFS | as_nl) ;; #(
58988       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58989       *) { eval $ac_var=; unset $ac_var;} ;;
58990       esac ;;
58991     esac
58992   done
58993
58994   (set) 2>&1 |
58995     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58996     *${as_nl}ac_space=\ *)
58997       # `set' does not quote correctly, so add quotes: double-quote
58998       # substitution turns \\\\ into \\, and sed turns \\ into \.
58999       sed -n \
59000         "s/'/'\\\\''/g;
59001           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59002       ;; #(
59003     *)
59004       # `set' quotes correctly as required by POSIX, so do not add quotes.
59005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59006       ;;
59007     esac |
59008     sort
59009 ) |
59010   sed '
59011      /^ac_cv_env_/b end
59012      t clear
59013      :clear
59014      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59015      t end
59016      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59017      :end' >>confcache
59018 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59019   if test -w "$cache_file"; then
59020     test "x$cache_file" != "x/dev/null" &&
59021       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59022 $as_echo "$as_me: updating cache $cache_file" >&6;}
59023     cat confcache >$cache_file
59024   else
59025     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59026 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59027   fi
59028 fi
59029 rm -f confcache
59030
59031 if test ${multilib} = yes; then
59032   multilib_arg="--enable-multilib"
59033 else
59034   multilib_arg=
59035 fi
59036
59037 # Export all the install information.
59038
59039   glibcxx_toolexecdir=no
59040   glibcxx_toolexeclibdir=no
59041   glibcxx_prefixdir=$prefix
59042
59043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59044 $as_echo_n "checking for gxx-include-dir... " >&6; }
59045
59046 # Check whether --with-gxx-include-dir was given.
59047 if test "${with_gxx_include_dir+set}" = set; then :
59048   withval=$with_gxx_include_dir; case "$withval" in
59049       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59050       no)  gxx_include_dir=no ;;
59051       *)   gxx_include_dir=$withval ;;
59052      esac
59053 else
59054   gxx_include_dir=no
59055 fi
59056
59057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59058 $as_echo "$gxx_include_dir" >&6; }
59059
59060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59061 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59062   # Check whether --enable-version-specific-runtime-libs was given.
59063 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59064   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59065       yes) version_specific_libs=yes ;;
59066       no)  version_specific_libs=no ;;
59067       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59068      esac
59069 else
59070   version_specific_libs=no
59071 fi
59072
59073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59074 $as_echo "$version_specific_libs" >&6; }
59075
59076   # Default case for install directory for include files.
59077   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59078     gxx_include_dir='include/c++/${gcc_version}'
59079     if test -n "$with_cross_host" &&
59080        test x"$with_cross_host" != x"no"; then
59081       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59082     else
59083       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59084     fi
59085   fi
59086
59087   # Version-specific runtime libs processing.
59088   if test $version_specific_libs = yes; then
59089     # Need the gcc compiler version to know where to install libraries
59090     # and header files if --enable-version-specific-runtime-libs option
59091     # is selected.  FIXME: these variables are misnamed, there are
59092     # no executables installed in _toolexecdir or _toolexeclibdir.
59093     if test x"$gxx_include_dir" = x"no"; then
59094       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59095     fi
59096     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59097     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59098   fi
59099
59100   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59101   # Install a library built with a cross compiler in tooldir, not libdir.
59102   if test x"$glibcxx_toolexecdir" = x"no"; then
59103     if test -n "$with_cross_host" &&
59104        test x"$with_cross_host" != x"no"; then
59105       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59106       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59107     else
59108       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59109       glibcxx_toolexeclibdir='${libdir}'
59110     fi
59111     multi_os_directory=`$CXX -print-multi-os-directory`
59112     case $multi_os_directory in
59113       .) ;; # Avoid trailing /.
59114       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59115     esac
59116   fi
59117
59118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59119 $as_echo_n "checking for install location... " >&6; }
59120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59121 $as_echo "$gxx_include_dir" >&6; }
59122
59123
59124
59125
59126
59127
59128
59129 # Export all the include and flag information to Makefiles.
59130
59131   # Used for every C++ compile we perform.
59132   GLIBCXX_INCLUDES="\
59133 -I$glibcxx_builddir/include/$host_alias \
59134 -I$glibcxx_builddir/include \
59135 -I$glibcxx_srcdir/libsupc++"
59136
59137   # For Canadian crosses, pick this up too.
59138   if test $CANADIAN = yes; then
59139     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59140   fi
59141
59142   # Stuff in the actual top level.  Currently only used by libsupc++ to
59143   # get unwind* headers from the gcc dir.
59144   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59145   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59146
59147   # Now, export this to all the little Makefiles....
59148
59149
59150
59151
59152   # Optimization flags that are probably a good idea for thrill-seekers. Just
59153   # uncomment the lines below and make, everything else is ready to go...
59154   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59155   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59156
59157
59158   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59159
59160
59161
59162 if test "$enable_shared" = yes; then
59163   LIBSUPCXX_PICFLAGS="-prefer-pic"
59164 else
59165   LIBSUPCXX_PICFLAGS=
59166 fi
59167
59168
59169 ac_config_files="$ac_config_files Makefile"
59170
59171 ac_config_files="$ac_config_files scripts/testsuite_flags"
59172
59173
59174 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59175 # that multilib installs will end up installed in the correct place.
59176 # The testsuite needs it for multilib-aware ABI baseline files.
59177 # To work around this not being passed down from config-ml.in ->
59178 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59179 # append it here.  Only modify Makefiles that have just been created.
59180 #
59181 # Also, get rid of this simulated-VPATH thing that automake does.
59182 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59183
59184
59185 ac_config_commands="$ac_config_commands generate-headers"
59186
59187
59188 cat >confcache <<\_ACEOF
59189 # This file is a shell script that caches the results of configure
59190 # tests run on this system so they can be shared between configure
59191 # scripts and configure runs, see configure's option --config-cache.
59192 # It is not useful on other systems.  If it contains results you don't
59193 # want to keep, you may remove or edit it.
59194 #
59195 # config.status only pays attention to the cache file if you give it
59196 # the --recheck option to rerun configure.
59197 #
59198 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59199 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59200 # following values.
59201
59202 _ACEOF
59203
59204 # The following way of writing the cache mishandles newlines in values,
59205 # but we know of no workaround that is simple, portable, and efficient.
59206 # So, we kill variables containing newlines.
59207 # Ultrix sh set writes to stderr and can't be redirected directly,
59208 # and sets the high bit in the cache file unless we assign to the vars.
59209 (
59210   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59211     eval ac_val=\$$ac_var
59212     case $ac_val in #(
59213     *${as_nl}*)
59214       case $ac_var in #(
59215       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59216 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59217       esac
59218       case $ac_var in #(
59219       _ | IFS | as_nl) ;; #(
59220       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59221       *) { eval $ac_var=; unset $ac_var;} ;;
59222       esac ;;
59223     esac
59224   done
59225
59226   (set) 2>&1 |
59227     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59228     *${as_nl}ac_space=\ *)
59229       # `set' does not quote correctly, so add quotes: double-quote
59230       # substitution turns \\\\ into \\, and sed turns \\ into \.
59231       sed -n \
59232         "s/'/'\\\\''/g;
59233           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59234       ;; #(
59235     *)
59236       # `set' quotes correctly as required by POSIX, so do not add quotes.
59237       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59238       ;;
59239     esac |
59240     sort
59241 ) |
59242   sed '
59243      /^ac_cv_env_/b end
59244      t clear
59245      :clear
59246      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59247      t end
59248      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59249      :end' >>confcache
59250 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59251   if test -w "$cache_file"; then
59252     test "x$cache_file" != "x/dev/null" &&
59253       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59254 $as_echo "$as_me: updating cache $cache_file" >&6;}
59255     cat confcache >$cache_file
59256   else
59257     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59258 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59259   fi
59260 fi
59261 rm -f confcache
59262
59263 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59264 # Let make expand exec_prefix.
59265 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59266
59267 DEFS=-DHAVE_CONFIG_H
59268
59269 ac_libobjs=
59270 ac_ltlibobjs=
59271 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59272   # 1. Remove the extension, and $U if already installed.
59273   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59274   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59275   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59276   #    will be set to the directory where LIBOBJS objects are built.
59277   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59278   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59279 done
59280 LIBOBJS=$ac_libobjs
59281
59282 LTLIBOBJS=$ac_ltlibobjs
59283
59284
59285  if test -n "$EXEEXT"; then
59286   am__EXEEXT_TRUE=
59287   am__EXEEXT_FALSE='#'
59288 else
59289   am__EXEEXT_TRUE='#'
59290   am__EXEEXT_FALSE=
59291 fi
59292
59293 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59294   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59296 fi
59297 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59298   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59300 fi
59301 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59302   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59304 fi
59305 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59306   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59308 fi
59309 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59310   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59312 fi
59313 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59314   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59316 fi
59317 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59318   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59320 fi
59321 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59322   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59324 fi
59325 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59326   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59328 fi
59329 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59330   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59332 fi
59333 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59334   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59336 fi
59337 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59338   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59340 fi
59341 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59342   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59344 fi
59345 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59346   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59348 fi
59349 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59350   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59352 fi
59353 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59354   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59356 fi
59357
59358 : ${CONFIG_STATUS=./config.status}
59359 ac_write_fail=0
59360 ac_clean_files_save=$ac_clean_files
59361 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59363 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59364 as_write_fail=0
59365 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59366 #! $SHELL
59367 # Generated by $as_me.
59368 # Run this file to recreate the current configuration.
59369 # Compiler output produced by configure, useful for debugging
59370 # configure, is in config.log if it exists.
59371
59372 debug=false
59373 ac_cs_recheck=false
59374 ac_cs_silent=false
59375
59376 SHELL=\${CONFIG_SHELL-$SHELL}
59377 export SHELL
59378 _ASEOF
59379 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59380 ## -------------------- ##
59381 ## M4sh Initialization. ##
59382 ## -------------------- ##
59383
59384 # Be more Bourne compatible
59385 DUALCASE=1; export DUALCASE # for MKS sh
59386 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59387   emulate sh
59388   NULLCMD=:
59389   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59390   # is contrary to our usage.  Disable this feature.
59391   alias -g '${1+"$@"}'='"$@"'
59392   setopt NO_GLOB_SUBST
59393 else
59394   case `(set -o) 2>/dev/null` in #(
59395   *posix*) :
59396     set -o posix ;; #(
59397   *) :
59398      ;;
59399 esac
59400 fi
59401
59402
59403 as_nl='
59404 '
59405 export as_nl
59406 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59407 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59408 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59409 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59410 # Prefer a ksh shell builtin over an external printf program on Solaris,
59411 # but without wasting forks for bash or zsh.
59412 if test -z "$BASH_VERSION$ZSH_VERSION" \
59413     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59414   as_echo='print -r --'
59415   as_echo_n='print -rn --'
59416 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59417   as_echo='printf %s\n'
59418   as_echo_n='printf %s'
59419 else
59420   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59421     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59422     as_echo_n='/usr/ucb/echo -n'
59423   else
59424     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59425     as_echo_n_body='eval
59426       arg=$1;
59427       case $arg in #(
59428       *"$as_nl"*)
59429         expr "X$arg" : "X\\(.*\\)$as_nl";
59430         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59431       esac;
59432       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59433     '
59434     export as_echo_n_body
59435     as_echo_n='sh -c $as_echo_n_body as_echo'
59436   fi
59437   export as_echo_body
59438   as_echo='sh -c $as_echo_body as_echo'
59439 fi
59440
59441 # The user is always right.
59442 if test "${PATH_SEPARATOR+set}" != set; then
59443   PATH_SEPARATOR=:
59444   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59445     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59446       PATH_SEPARATOR=';'
59447   }
59448 fi
59449
59450
59451 # IFS
59452 # We need space, tab and new line, in precisely that order.  Quoting is
59453 # there to prevent editors from complaining about space-tab.
59454 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59455 # splitting by setting IFS to empty value.)
59456 IFS=" ""        $as_nl"
59457
59458 # Find who we are.  Look in the path if we contain no directory separator.
59459 case $0 in #((
59460   *[\\/]* ) as_myself=$0 ;;
59461   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59462 for as_dir in $PATH
59463 do
59464   IFS=$as_save_IFS
59465   test -z "$as_dir" && as_dir=.
59466     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59467   done
59468 IFS=$as_save_IFS
59469
59470      ;;
59471 esac
59472 # We did not find ourselves, most probably we were run as `sh COMMAND'
59473 # in which case we are not to be found in the path.
59474 if test "x$as_myself" = x; then
59475   as_myself=$0
59476 fi
59477 if test ! -f "$as_myself"; then
59478   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59479   exit 1
59480 fi
59481
59482 # Unset variables that we do not need and which cause bugs (e.g. in
59483 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59484 # suppresses any "Segmentation fault" message there.  '((' could
59485 # trigger a bug in pdksh 5.2.14.
59486 for as_var in BASH_ENV ENV MAIL MAILPATH
59487 do eval test x\${$as_var+set} = xset \
59488   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59489 done
59490 PS1='$ '
59491 PS2='> '
59492 PS4='+ '
59493
59494 # NLS nuisances.
59495 LC_ALL=C
59496 export LC_ALL
59497 LANGUAGE=C
59498 export LANGUAGE
59499
59500 # CDPATH.
59501 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59502
59503
59504 # as_fn_error ERROR [LINENO LOG_FD]
59505 # ---------------------------------
59506 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59507 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59508 # script with status $?, using 1 if that was 0.
59509 as_fn_error ()
59510 {
59511   as_status=$?; test $as_status -eq 0 && as_status=1
59512   if test "$3"; then
59513     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59514     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59515   fi
59516   $as_echo "$as_me: error: $1" >&2
59517   as_fn_exit $as_status
59518 } # as_fn_error
59519
59520
59521 # as_fn_set_status STATUS
59522 # -----------------------
59523 # Set $? to STATUS, without forking.
59524 as_fn_set_status ()
59525 {
59526   return $1
59527 } # as_fn_set_status
59528
59529 # as_fn_exit STATUS
59530 # -----------------
59531 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59532 as_fn_exit ()
59533 {
59534   set +e
59535   as_fn_set_status $1
59536   exit $1
59537 } # as_fn_exit
59538
59539 # as_fn_unset VAR
59540 # ---------------
59541 # Portably unset VAR.
59542 as_fn_unset ()
59543 {
59544   { eval $1=; unset $1;}
59545 }
59546 as_unset=as_fn_unset
59547 # as_fn_append VAR VALUE
59548 # ----------------------
59549 # Append the text in VALUE to the end of the definition contained in VAR. Take
59550 # advantage of any shell optimizations that allow amortized linear growth over
59551 # repeated appends, instead of the typical quadratic growth present in naive
59552 # implementations.
59553 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59554   eval 'as_fn_append ()
59555   {
59556     eval $1+=\$2
59557   }'
59558 else
59559   as_fn_append ()
59560   {
59561     eval $1=\$$1\$2
59562   }
59563 fi # as_fn_append
59564
59565 # as_fn_arith ARG...
59566 # ------------------
59567 # Perform arithmetic evaluation on the ARGs, and store the result in the
59568 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59569 # must be portable across $(()) and expr.
59570 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59571   eval 'as_fn_arith ()
59572   {
59573     as_val=$(( $* ))
59574   }'
59575 else
59576   as_fn_arith ()
59577   {
59578     as_val=`expr "$@" || test $? -eq 1`
59579   }
59580 fi # as_fn_arith
59581
59582
59583 if expr a : '\(a\)' >/dev/null 2>&1 &&
59584    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59585   as_expr=expr
59586 else
59587   as_expr=false
59588 fi
59589
59590 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59591   as_basename=basename
59592 else
59593   as_basename=false
59594 fi
59595
59596 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59597   as_dirname=dirname
59598 else
59599   as_dirname=false
59600 fi
59601
59602 as_me=`$as_basename -- "$0" ||
59603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59604          X"$0" : 'X\(//\)$' \| \
59605          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59606 $as_echo X/"$0" |
59607     sed '/^.*\/\([^/][^/]*\)\/*$/{
59608             s//\1/
59609             q
59610           }
59611           /^X\/\(\/\/\)$/{
59612             s//\1/
59613             q
59614           }
59615           /^X\/\(\/\).*/{
59616             s//\1/
59617             q
59618           }
59619           s/.*/./; q'`
59620
59621 # Avoid depending upon Character Ranges.
59622 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59623 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59624 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59625 as_cr_digits='0123456789'
59626 as_cr_alnum=$as_cr_Letters$as_cr_digits
59627
59628 ECHO_C= ECHO_N= ECHO_T=
59629 case `echo -n x` in #(((((
59630 -n*)
59631   case `echo 'xy\c'` in
59632   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59633   xy)  ECHO_C='\c';;
59634   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59635        ECHO_T=' ';;
59636   esac;;
59637 *)
59638   ECHO_N='-n';;
59639 esac
59640
59641 rm -f conf$$ conf$$.exe conf$$.file
59642 if test -d conf$$.dir; then
59643   rm -f conf$$.dir/conf$$.file
59644 else
59645   rm -f conf$$.dir
59646   mkdir conf$$.dir 2>/dev/null
59647 fi
59648 if (echo >conf$$.file) 2>/dev/null; then
59649   if ln -s conf$$.file conf$$ 2>/dev/null; then
59650     as_ln_s='ln -s'
59651     # ... but there are two gotchas:
59652     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59653     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59654     # In both cases, we have to default to `cp -p'.
59655     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59656       as_ln_s='cp -p'
59657   elif ln conf$$.file conf$$ 2>/dev/null; then
59658     as_ln_s=ln
59659   else
59660     as_ln_s='cp -p'
59661   fi
59662 else
59663   as_ln_s='cp -p'
59664 fi
59665 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59666 rmdir conf$$.dir 2>/dev/null
59667
59668
59669 # as_fn_mkdir_p
59670 # -------------
59671 # Create "$as_dir" as a directory, including parents if necessary.
59672 as_fn_mkdir_p ()
59673 {
59674
59675   case $as_dir in #(
59676   -*) as_dir=./$as_dir;;
59677   esac
59678   test -d "$as_dir" || eval $as_mkdir_p || {
59679     as_dirs=
59680     while :; do
59681       case $as_dir in #(
59682       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59683       *) as_qdir=$as_dir;;
59684       esac
59685       as_dirs="'$as_qdir' $as_dirs"
59686       as_dir=`$as_dirname -- "$as_dir" ||
59687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59688          X"$as_dir" : 'X\(//\)[^/]' \| \
59689          X"$as_dir" : 'X\(//\)$' \| \
59690          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59691 $as_echo X"$as_dir" |
59692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59693             s//\1/
59694             q
59695           }
59696           /^X\(\/\/\)[^/].*/{
59697             s//\1/
59698             q
59699           }
59700           /^X\(\/\/\)$/{
59701             s//\1/
59702             q
59703           }
59704           /^X\(\/\).*/{
59705             s//\1/
59706             q
59707           }
59708           s/.*/./; q'`
59709       test -d "$as_dir" && break
59710     done
59711     test -z "$as_dirs" || eval "mkdir $as_dirs"
59712   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59713
59714
59715 } # as_fn_mkdir_p
59716 if mkdir -p . 2>/dev/null; then
59717   as_mkdir_p='mkdir -p "$as_dir"'
59718 else
59719   test -d ./-p && rmdir ./-p
59720   as_mkdir_p=false
59721 fi
59722
59723 if test -x / >/dev/null 2>&1; then
59724   as_test_x='test -x'
59725 else
59726   if ls -dL / >/dev/null 2>&1; then
59727     as_ls_L_option=L
59728   else
59729     as_ls_L_option=
59730   fi
59731   as_test_x='
59732     eval sh -c '\''
59733       if test -d "$1"; then
59734         test -d "$1/.";
59735       else
59736         case $1 in #(
59737         -*)set "./$1";;
59738         esac;
59739         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59740         ???[sx]*):;;*)false;;esac;fi
59741     '\'' sh
59742   '
59743 fi
59744 as_executable_p=$as_test_x
59745
59746 # Sed expression to map a string onto a valid CPP name.
59747 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59748
59749 # Sed expression to map a string onto a valid variable name.
59750 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59751
59752
59753 exec 6>&1
59754 ## ----------------------------------- ##
59755 ## Main body of $CONFIG_STATUS script. ##
59756 ## ----------------------------------- ##
59757 _ASEOF
59758 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59759
59760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59761 # Save the log message, to keep $0 and so on meaningful, and to
59762 # report actual input values of CONFIG_FILES etc. instead of their
59763 # values after options handling.
59764 ac_log="
59765 This file was extended by package-unused $as_me version-unused, which was
59766 generated by GNU Autoconf 2.64.  Invocation command line was
59767
59768   CONFIG_FILES    = $CONFIG_FILES
59769   CONFIG_HEADERS  = $CONFIG_HEADERS
59770   CONFIG_LINKS    = $CONFIG_LINKS
59771   CONFIG_COMMANDS = $CONFIG_COMMANDS
59772   $ $0 $@
59773
59774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59775 "
59776
59777 _ACEOF
59778
59779 case $ac_config_files in *"
59780 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59781 esac
59782
59783 case $ac_config_headers in *"
59784 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59785 esac
59786
59787
59788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59789 # Files that config.status was made for.
59790 config_files="$ac_config_files"
59791 config_headers="$ac_config_headers"
59792 config_commands="$ac_config_commands"
59793
59794 _ACEOF
59795
59796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59797 ac_cs_usage="\
59798 \`$as_me' instantiates files and other configuration actions
59799 from templates according to the current configuration.  Unless the files
59800 and actions are specified as TAGs, all are instantiated by default.
59801
59802 Usage: $0 [OPTION]... [TAG]...
59803
59804   -h, --help       print this help, then exit
59805   -V, --version    print version number and configuration settings, then exit
59806   -q, --quiet, --silent
59807                    do not print progress messages
59808   -d, --debug      don't remove temporary files
59809       --recheck    update $as_me by reconfiguring in the same conditions
59810       --file=FILE[:TEMPLATE]
59811                    instantiate the configuration file FILE
59812       --header=FILE[:TEMPLATE]
59813                    instantiate the configuration header FILE
59814
59815 Configuration files:
59816 $config_files
59817
59818 Configuration headers:
59819 $config_headers
59820
59821 Configuration commands:
59822 $config_commands
59823
59824 Report bugs to the package provider."
59825
59826 _ACEOF
59827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59828 ac_cs_version="\\
59829 package-unused config.status version-unused
59830 configured by $0, generated by GNU Autoconf 2.64,
59831   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59832
59833 Copyright (C) 2009 Free Software Foundation, Inc.
59834 This config.status script is free software; the Free Software Foundation
59835 gives unlimited permission to copy, distribute and modify it."
59836
59837 ac_pwd='$ac_pwd'
59838 srcdir='$srcdir'
59839 INSTALL='$INSTALL'
59840 MKDIR_P='$MKDIR_P'
59841 AWK='$AWK'
59842 test -n "\$AWK" || AWK=awk
59843 _ACEOF
59844
59845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59846 # The default lists apply if the user does not specify any file.
59847 ac_need_defaults=:
59848 while test $# != 0
59849 do
59850   case $1 in
59851   --*=*)
59852     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59853     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59854     ac_shift=:
59855     ;;
59856   *)
59857     ac_option=$1
59858     ac_optarg=$2
59859     ac_shift=shift
59860     ;;
59861   esac
59862
59863   case $ac_option in
59864   # Handling of the options.
59865   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59866     ac_cs_recheck=: ;;
59867   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59868     $as_echo "$ac_cs_version"; exit ;;
59869   --debug | --debu | --deb | --de | --d | -d )
59870     debug=: ;;
59871   --file | --fil | --fi | --f )
59872     $ac_shift
59873     case $ac_optarg in
59874     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59875     esac
59876     as_fn_append CONFIG_FILES " '$ac_optarg'"
59877     ac_need_defaults=false;;
59878   --header | --heade | --head | --hea )
59879     $ac_shift
59880     case $ac_optarg in
59881     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59882     esac
59883     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59884     ac_need_defaults=false;;
59885   --he | --h)
59886     # Conflict between --help and --header
59887     as_fn_error "ambiguous option: \`$1'
59888 Try \`$0 --help' for more information.";;
59889   --help | --hel | -h )
59890     $as_echo "$ac_cs_usage"; exit ;;
59891   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59892   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59893     ac_cs_silent=: ;;
59894
59895   # This is an error.
59896   -*) as_fn_error "unrecognized option: \`$1'
59897 Try \`$0 --help' for more information." ;;
59898
59899   *) as_fn_append ac_config_targets " $1"
59900      ac_need_defaults=false ;;
59901
59902   esac
59903   shift
59904 done
59905
59906 ac_configure_extra_args=
59907
59908 if $ac_cs_silent; then
59909   exec 6>/dev/null
59910   ac_configure_extra_args="$ac_configure_extra_args --silent"
59911 fi
59912
59913 _ACEOF
59914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59915 if \$ac_cs_recheck; then
59916   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59917   shift
59918   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59919   CONFIG_SHELL='$SHELL'
59920   export CONFIG_SHELL
59921   exec "\$@"
59922 fi
59923
59924 _ACEOF
59925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59926 exec 5>>config.log
59927 {
59928   echo
59929   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59930 ## Running $as_me. ##
59931 _ASBOX
59932   $as_echo "$ac_log"
59933 } >&5
59934
59935 _ACEOF
59936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59937 #
59938 # INIT-COMMANDS
59939 #
59940
59941 srcdir="$srcdir"
59942 host="$host"
59943 target="$target"
59944 with_multisubdir="$with_multisubdir"
59945 with_multisrctop="$with_multisrctop"
59946 with_target_subdir="$with_target_subdir"
59947 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59948 multi_basedir="$multi_basedir"
59949 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59950 CC="$CC"
59951 CXX="$CXX"
59952 GFORTRAN="$GFORTRAN"
59953 GCJ="$GCJ"
59954
59955
59956 # The HP-UX ksh and POSIX shell print the target directory to stdout
59957 # if CDPATH is set.
59958 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59959
59960 sed_quote_subst='$sed_quote_subst'
59961 double_quote_subst='$double_quote_subst'
59962 delay_variable_subst='$delay_variable_subst'
59963 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59964 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59965 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59966 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59967 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59968 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59969 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59970 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59971 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59972 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59973 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59974 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59975 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59976 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59977 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59978 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59979 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59980 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59981 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59982 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59983 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59984 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59985 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59986 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59987 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59988 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59989 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59990 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59991 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59992 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59993 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59994 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59995 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59996 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59997 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59998 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59999 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60000 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60001 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60002 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60003 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60004 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60005 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60006 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60007 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60008 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60009 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60010 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60011 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"`'
60012 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60013 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60014 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60015 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60016 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60017 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60018 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60019 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60020 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60021 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60022 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60023 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60024 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60025 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60026 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60027 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60028 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60029 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60030 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60031 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60032 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60033 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60034 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60035 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60036 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60037 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60038 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60039 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60040 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60041 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60042 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60043 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60044 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60045 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60046 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60047 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60048 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60049 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60050 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60051 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60052 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60053 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60054 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60055 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60056 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60057 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60058 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60059 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60060 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60061 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60062 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60063 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60064 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60065 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60066 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60067 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60068 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60069 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60070 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60071 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60072 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60073 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60074 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60075 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60076 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60077 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60078 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60079 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60080 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60081 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60082 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60083 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60084 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60085 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60086 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60087 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60088 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60089 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60090 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60091 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60092 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60093 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60094 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60095 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60096 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60097 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60098 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60099 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60100 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60101 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60102 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60103 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60104 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60105 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60106 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60107 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60108 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60109 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60110 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60111 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60112 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60113 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60114 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60115 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60116 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60117 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60118 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60119 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60120 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60121 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60122 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60123 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60124 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60125 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60126 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60127 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60128 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60129 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60130 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60131 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60132 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60133 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60134 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60135 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60136 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60137 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60138
60139 LTCC='$LTCC'
60140 LTCFLAGS='$LTCFLAGS'
60141 compiler='$compiler_DEFAULT'
60142
60143 # A function that is used when there is no print builtin or printf.
60144 func_fallback_echo ()
60145 {
60146   eval 'cat <<_LTECHO_EOF
60147 \$1
60148 _LTECHO_EOF'
60149 }
60150
60151 # Quote evaled strings.
60152 for var in SHELL \
60153 ECHO \
60154 SED \
60155 GREP \
60156 EGREP \
60157 FGREP \
60158 LD \
60159 NM \
60160 LN_S \
60161 lt_SP2NL \
60162 lt_NL2SP \
60163 reload_flag \
60164 OBJDUMP \
60165 deplibs_check_method \
60166 file_magic_cmd \
60167 AR \
60168 AR_FLAGS \
60169 STRIP \
60170 RANLIB \
60171 CC \
60172 CFLAGS \
60173 compiler \
60174 lt_cv_sys_global_symbol_pipe \
60175 lt_cv_sys_global_symbol_to_cdecl \
60176 lt_cv_sys_global_symbol_to_c_name_address \
60177 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60178 lt_prog_compiler_no_builtin_flag \
60179 lt_prog_compiler_wl \
60180 lt_prog_compiler_pic \
60181 lt_prog_compiler_static \
60182 lt_cv_prog_compiler_c_o \
60183 need_locks \
60184 DSYMUTIL \
60185 NMEDIT \
60186 LIPO \
60187 OTOOL \
60188 OTOOL64 \
60189 shrext_cmds \
60190 export_dynamic_flag_spec \
60191 whole_archive_flag_spec \
60192 compiler_needs_object \
60193 with_gnu_ld \
60194 allow_undefined_flag \
60195 no_undefined_flag \
60196 hardcode_libdir_flag_spec \
60197 hardcode_libdir_flag_spec_ld \
60198 hardcode_libdir_separator \
60199 fix_srcfile_path \
60200 exclude_expsyms \
60201 include_expsyms \
60202 file_list_spec \
60203 variables_saved_for_relink \
60204 libname_spec \
60205 library_names_spec \
60206 soname_spec \
60207 install_override_mode \
60208 finish_eval \
60209 old_striplib \
60210 striplib \
60211 compiler_lib_search_dirs \
60212 predep_objects \
60213 postdep_objects \
60214 predeps \
60215 postdeps \
60216 compiler_lib_search_path \
60217 LD_CXX \
60218 reload_flag_CXX \
60219 compiler_CXX \
60220 lt_prog_compiler_no_builtin_flag_CXX \
60221 lt_prog_compiler_wl_CXX \
60222 lt_prog_compiler_pic_CXX \
60223 lt_prog_compiler_static_CXX \
60224 lt_cv_prog_compiler_c_o_CXX \
60225 export_dynamic_flag_spec_CXX \
60226 whole_archive_flag_spec_CXX \
60227 compiler_needs_object_CXX \
60228 with_gnu_ld_CXX \
60229 allow_undefined_flag_CXX \
60230 no_undefined_flag_CXX \
60231 hardcode_libdir_flag_spec_CXX \
60232 hardcode_libdir_flag_spec_ld_CXX \
60233 hardcode_libdir_separator_CXX \
60234 fix_srcfile_path_CXX \
60235 exclude_expsyms_CXX \
60236 include_expsyms_CXX \
60237 file_list_spec_CXX \
60238 compiler_lib_search_dirs_CXX \
60239 predep_objects_CXX \
60240 postdep_objects_CXX \
60241 predeps_CXX \
60242 postdeps_CXX \
60243 compiler_lib_search_path_CXX; do
60244     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60245     *[\\\\\\\`\\"\\\$]*)
60246       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60247       ;;
60248     *)
60249       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60250       ;;
60251     esac
60252 done
60253
60254 # Double-quote double-evaled strings.
60255 for var in reload_cmds \
60256 old_postinstall_cmds \
60257 old_postuninstall_cmds \
60258 old_archive_cmds \
60259 extract_expsyms_cmds \
60260 old_archive_from_new_cmds \
60261 old_archive_from_expsyms_cmds \
60262 archive_cmds \
60263 archive_expsym_cmds \
60264 module_cmds \
60265 module_expsym_cmds \
60266 export_symbols_cmds \
60267 prelink_cmds \
60268 postinstall_cmds \
60269 postuninstall_cmds \
60270 finish_cmds \
60271 sys_lib_search_path_spec \
60272 sys_lib_dlsearch_path_spec \
60273 reload_cmds_CXX \
60274 old_archive_cmds_CXX \
60275 old_archive_from_new_cmds_CXX \
60276 old_archive_from_expsyms_cmds_CXX \
60277 archive_cmds_CXX \
60278 archive_expsym_cmds_CXX \
60279 module_cmds_CXX \
60280 module_expsym_cmds_CXX \
60281 export_symbols_cmds_CXX \
60282 prelink_cmds_CXX; do
60283     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60284     *[\\\\\\\`\\"\\\$]*)
60285       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60286       ;;
60287     *)
60288       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60289       ;;
60290     esac
60291 done
60292
60293 ac_aux_dir='$ac_aux_dir'
60294 xsi_shell='$xsi_shell'
60295 lt_shell_append='$lt_shell_append'
60296
60297 # See if we are running on zsh, and set the options which allow our
60298 # commands through without removal of \ escapes INIT.
60299 if test -n "\${ZSH_VERSION+set}" ; then
60300    setopt NO_GLOB_SUBST
60301 fi
60302
60303
60304     PACKAGE='$PACKAGE'
60305     VERSION='$VERSION'
60306     TIMESTAMP='$TIMESTAMP'
60307     RM='$RM'
60308     ofile='$ofile'
60309
60310
60311
60312
60313
60314
60315 GCC="$GCC"
60316 CC="$CC"
60317 acx_cv_header_stdint="$acx_cv_header_stdint"
60318 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60319 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60320 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60321 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60322 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60323 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60324 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60325 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60326 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60327 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60328 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60329 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60330 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60331
60332
60333 _ACEOF
60334
60335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60336
60337 # Handling of arguments.
60338 for ac_config_target in $ac_config_targets
60339 do
60340   case $ac_config_target in
60341     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60342     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60343     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60344     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60345     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60346     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60347     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60348     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60349     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60350     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60351     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60352     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60353     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60354     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60355
60356   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60357   esac
60358 done
60359
60360
60361 # If the user did not use the arguments to specify the items to instantiate,
60362 # then the envvar interface is used.  Set only those that are not.
60363 # We use the long form for the default assignment because of an extremely
60364 # bizarre bug on SunOS 4.1.3.
60365 if $ac_need_defaults; then
60366   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60367   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60368   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60369 fi
60370
60371 # Have a temporary directory for convenience.  Make it in the build tree
60372 # simply because there is no reason against having it here, and in addition,
60373 # creating and moving files from /tmp can sometimes cause problems.
60374 # Hook for its removal unless debugging.
60375 # Note that there is a small window in which the directory will not be cleaned:
60376 # after its creation but before its name has been assigned to `$tmp'.
60377 $debug ||
60378 {
60379   tmp=
60380   trap 'exit_status=$?
60381   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60382 ' 0
60383   trap 'as_fn_exit 1' 1 2 13 15
60384 }
60385 # Create a (secure) tmp directory for tmp files.
60386
60387 {
60388   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60389   test -n "$tmp" && test -d "$tmp"
60390 }  ||
60391 {
60392   tmp=./conf$$-$RANDOM
60393   (umask 077 && mkdir "$tmp")
60394 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60395
60396 # Set up the scripts for CONFIG_FILES section.
60397 # No need to generate them if there are no CONFIG_FILES.
60398 # This happens for instance with `./config.status config.h'.
60399 if test -n "$CONFIG_FILES"; then
60400
60401
60402 ac_cr=`echo X | tr X '\015'`
60403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60404 # But we know of no other shell where ac_cr would be empty at this
60405 # point, so we can use a bashism as a fallback.
60406 if test "x$ac_cr" = x; then
60407   eval ac_cr=\$\'\\r\'
60408 fi
60409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60411   ac_cs_awk_cr='\r'
60412 else
60413   ac_cs_awk_cr=$ac_cr
60414 fi
60415
60416 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60417 _ACEOF
60418
60419
60420 {
60421   echo "cat >conf$$subs.awk <<_ACEOF" &&
60422   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60423   echo "_ACEOF"
60424 } >conf$$subs.sh ||
60425   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60427 ac_delim='%!_!# '
60428 for ac_last_try in false false false false false :; do
60429   . ./conf$$subs.sh ||
60430     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60431
60432   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60433   if test $ac_delim_n = $ac_delim_num; then
60434     break
60435   elif $ac_last_try; then
60436     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60437   else
60438     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60439   fi
60440 done
60441 rm -f conf$$subs.sh
60442
60443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60444 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60445 _ACEOF
60446 sed -n '
60447 h
60448 s/^/S["/; s/!.*/"]=/
60449 p
60450 g
60451 s/^[^!]*!//
60452 :repl
60453 t repl
60454 s/'"$ac_delim"'$//
60455 t delim
60456 :nl
60457 h
60458 s/\(.\{148\}\).*/\1/
60459 t more1
60460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60461 p
60462 n
60463 b repl
60464 :more1
60465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60466 p
60467 g
60468 s/.\{148\}//
60469 t nl
60470 :delim
60471 h
60472 s/\(.\{148\}\).*/\1/
60473 t more2
60474 s/["\\]/\\&/g; s/^/"/; s/$/"/
60475 p
60476 b
60477 :more2
60478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60479 p
60480 g
60481 s/.\{148\}//
60482 t delim
60483 ' <conf$$subs.awk | sed '
60484 /^[^""]/{
60485   N
60486   s/\n//
60487 }
60488 ' >>$CONFIG_STATUS || ac_write_fail=1
60489 rm -f conf$$subs.awk
60490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60491 _ACAWK
60492 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60493   for (key in S) S_is_set[key] = 1
60494   FS = "\a"
60495
60496 }
60497 {
60498   line = $ 0
60499   nfields = split(line, field, "@")
60500   substed = 0
60501   len = length(field[1])
60502   for (i = 2; i < nfields; i++) {
60503     key = field[i]
60504     keylen = length(key)
60505     if (S_is_set[key]) {
60506       value = S[key]
60507       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60508       len += length(value) + length(field[++i])
60509       substed = 1
60510     } else
60511       len += 1 + keylen
60512   }
60513
60514   print line
60515 }
60516
60517 _ACAWK
60518 _ACEOF
60519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60521   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60522 else
60523   cat
60524 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60525   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60526 _ACEOF
60527
60528 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60529 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60530 # trailing colons and then remove the whole line if VPATH becomes empty
60531 # (actually we leave an empty line to preserve line numbers).
60532 if test "x$srcdir" = x.; then
60533   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60534 s/:*\$(srcdir):*/:/
60535 s/:*\${srcdir}:*/:/
60536 s/:*@srcdir@:*/:/
60537 s/^\([^=]*=[     ]*\):*/\1/
60538 s/:*$//
60539 s/^[^=]*=[       ]*$//
60540 }'
60541 fi
60542
60543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60544 fi # test -n "$CONFIG_FILES"
60545
60546 # Set up the scripts for CONFIG_HEADERS section.
60547 # No need to generate them if there are no CONFIG_HEADERS.
60548 # This happens for instance with `./config.status Makefile'.
60549 if test -n "$CONFIG_HEADERS"; then
60550 cat >"$tmp/defines.awk" <<\_ACAWK ||
60551 BEGIN {
60552 _ACEOF
60553
60554 # Transform confdefs.h into an awk script `defines.awk', embedded as
60555 # here-document in config.status, that substitutes the proper values into
60556 # config.h.in to produce config.h.
60557
60558 # Create a delimiter string that does not exist in confdefs.h, to ease
60559 # handling of long lines.
60560 ac_delim='%!_!# '
60561 for ac_last_try in false false :; do
60562   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60563   if test -z "$ac_t"; then
60564     break
60565   elif $ac_last_try; then
60566     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60567   else
60568     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60569   fi
60570 done
60571
60572 # For the awk script, D is an array of macro values keyed by name,
60573 # likewise P contains macro parameters if any.  Preserve backslash
60574 # newline sequences.
60575
60576 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60577 sed -n '
60578 s/.\{148\}/&'"$ac_delim"'/g
60579 t rset
60580 :rset
60581 s/^[     ]*#[    ]*define[       ][      ]*/ /
60582 t def
60583 d
60584 :def
60585 s/\\$//
60586 t bsnl
60587 s/["\\]/\\&/g
60588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60589 D["\1"]=" \3"/p
60590 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60591 d
60592 :bsnl
60593 s/["\\]/\\&/g
60594 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60595 D["\1"]=" \3\\\\\\n"\\/p
60596 t cont
60597 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60598 t cont
60599 d
60600 :cont
60601 n
60602 s/.\{148\}/&'"$ac_delim"'/g
60603 t clear
60604 :clear
60605 s/\\$//
60606 t bsnlc
60607 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60608 d
60609 :bsnlc
60610 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60611 b cont
60612 ' <confdefs.h | sed '
60613 s/'"$ac_delim"'/"\\\
60614 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60615
60616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60617   for (key in D) D_is_set[key] = 1
60618   FS = "\a"
60619 }
60620 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60621   line = \$ 0
60622   split(line, arg, " ")
60623   if (arg[1] == "#") {
60624     defundef = arg[2]
60625     mac1 = arg[3]
60626   } else {
60627     defundef = substr(arg[1], 2)
60628     mac1 = arg[2]
60629   }
60630   split(mac1, mac2, "(") #)
60631   macro = mac2[1]
60632   prefix = substr(line, 1, index(line, defundef) - 1)
60633   if (D_is_set[macro]) {
60634     # Preserve the white space surrounding the "#".
60635     print prefix "define", macro P[macro] D[macro]
60636     next
60637   } else {
60638     # Replace #undef with comments.  This is necessary, for example,
60639     # in the case of _POSIX_SOURCE, which is predefined and required
60640     # on some systems where configure will not decide to define it.
60641     if (defundef == "undef") {
60642       print "/*", prefix defundef, macro, "*/"
60643       next
60644     }
60645   }
60646 }
60647 { print }
60648 _ACAWK
60649 _ACEOF
60650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60651   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60652 fi # test -n "$CONFIG_HEADERS"
60653
60654
60655 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60656 shift
60657 for ac_tag
60658 do
60659   case $ac_tag in
60660   :[FHLC]) ac_mode=$ac_tag; continue;;
60661   esac
60662   case $ac_mode$ac_tag in
60663   :[FHL]*:*);;
60664   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60665   :[FH]-) ac_tag=-:-;;
60666   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60667   esac
60668   ac_save_IFS=$IFS
60669   IFS=:
60670   set x $ac_tag
60671   IFS=$ac_save_IFS
60672   shift
60673   ac_file=$1
60674   shift
60675
60676   case $ac_mode in
60677   :L) ac_source=$1;;
60678   :[FH])
60679     ac_file_inputs=
60680     for ac_f
60681     do
60682       case $ac_f in
60683       -) ac_f="$tmp/stdin";;
60684       *) # Look for the file first in the build tree, then in the source tree
60685          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60686          # because $ac_f cannot contain `:'.
60687          test -f "$ac_f" ||
60688            case $ac_f in
60689            [\\/$]*) false;;
60690            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60691            esac ||
60692            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60693       esac
60694       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60695       as_fn_append ac_file_inputs " '$ac_f'"
60696     done
60697
60698     # Let's still pretend it is `configure' which instantiates (i.e., don't
60699     # use $as_me), people would be surprised to read:
60700     #    /* config.h.  Generated by config.status.  */
60701     configure_input='Generated from '`
60702           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60703         `' by configure.'
60704     if test x"$ac_file" != x-; then
60705       configure_input="$ac_file.  $configure_input"
60706       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60707 $as_echo "$as_me: creating $ac_file" >&6;}
60708     fi
60709     # Neutralize special characters interpreted by sed in replacement strings.
60710     case $configure_input in #(
60711     *\&* | *\|* | *\\* )
60712        ac_sed_conf_input=`$as_echo "$configure_input" |
60713        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60714     *) ac_sed_conf_input=$configure_input;;
60715     esac
60716
60717     case $ac_tag in
60718     *:-:* | *:-) cat >"$tmp/stdin" \
60719       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60720     esac
60721     ;;
60722   esac
60723
60724   ac_dir=`$as_dirname -- "$ac_file" ||
60725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60726          X"$ac_file" : 'X\(//\)[^/]' \| \
60727          X"$ac_file" : 'X\(//\)$' \| \
60728          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60729 $as_echo X"$ac_file" |
60730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60731             s//\1/
60732             q
60733           }
60734           /^X\(\/\/\)[^/].*/{
60735             s//\1/
60736             q
60737           }
60738           /^X\(\/\/\)$/{
60739             s//\1/
60740             q
60741           }
60742           /^X\(\/\).*/{
60743             s//\1/
60744             q
60745           }
60746           s/.*/./; q'`
60747   as_dir="$ac_dir"; as_fn_mkdir_p
60748   ac_builddir=.
60749
60750 case "$ac_dir" in
60751 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60752 *)
60753   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60754   # A ".." for each directory in $ac_dir_suffix.
60755   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60756   case $ac_top_builddir_sub in
60757   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60758   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60759   esac ;;
60760 esac
60761 ac_abs_top_builddir=$ac_pwd
60762 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60763 # for backward compatibility:
60764 ac_top_builddir=$ac_top_build_prefix
60765
60766 case $srcdir in
60767   .)  # We are building in place.
60768     ac_srcdir=.
60769     ac_top_srcdir=$ac_top_builddir_sub
60770     ac_abs_top_srcdir=$ac_pwd ;;
60771   [\\/]* | ?:[\\/]* )  # Absolute name.
60772     ac_srcdir=$srcdir$ac_dir_suffix;
60773     ac_top_srcdir=$srcdir
60774     ac_abs_top_srcdir=$srcdir ;;
60775   *) # Relative name.
60776     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60777     ac_top_srcdir=$ac_top_build_prefix$srcdir
60778     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60779 esac
60780 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60781
60782
60783   case $ac_mode in
60784   :F)
60785   #
60786   # CONFIG_FILE
60787   #
60788
60789   case $INSTALL in
60790   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60791   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60792   esac
60793   ac_MKDIR_P=$MKDIR_P
60794   case $MKDIR_P in
60795   [\\/$]* | ?:[\\/]* ) ;;
60796   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60797   esac
60798 _ACEOF
60799
60800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60801 # If the template does not know about datarootdir, expand it.
60802 # FIXME: This hack should be removed a few years after 2.60.
60803 ac_datarootdir_hack=; ac_datarootdir_seen=
60804 ac_sed_dataroot='
60805 /datarootdir/ {
60806   p
60807   q
60808 }
60809 /@datadir@/p
60810 /@docdir@/p
60811 /@infodir@/p
60812 /@localedir@/p
60813 /@mandir@/p'
60814 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60815 *datarootdir*) ac_datarootdir_seen=yes;;
60816 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60817   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60818 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60819 _ACEOF
60820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60821   ac_datarootdir_hack='
60822   s&@datadir@&$datadir&g
60823   s&@docdir@&$docdir&g
60824   s&@infodir@&$infodir&g
60825   s&@localedir@&$localedir&g
60826   s&@mandir@&$mandir&g
60827   s&\\\${datarootdir}&$datarootdir&g' ;;
60828 esac
60829 _ACEOF
60830
60831 # Neutralize VPATH when `$srcdir' = `.'.
60832 # Shell code in configure.ac might set extrasub.
60833 # FIXME: do we really want to maintain this feature?
60834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60835 ac_sed_extra="$ac_vpsub
60836 $extrasub
60837 _ACEOF
60838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60839 :t
60840 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60841 s|@configure_input@|$ac_sed_conf_input|;t t
60842 s&@top_builddir@&$ac_top_builddir_sub&;t t
60843 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60844 s&@srcdir@&$ac_srcdir&;t t
60845 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60846 s&@top_srcdir@&$ac_top_srcdir&;t t
60847 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60848 s&@builddir@&$ac_builddir&;t t
60849 s&@abs_builddir@&$ac_abs_builddir&;t t
60850 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60851 s&@INSTALL@&$ac_INSTALL&;t t
60852 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60853 $ac_datarootdir_hack
60854 "
60855 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60856   || as_fn_error "could not create $ac_file" "$LINENO" 5
60857
60858 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60859   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60860   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60861   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60862 which seems to be undefined.  Please make sure it is defined." >&5
60863 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60864 which seems to be undefined.  Please make sure it is defined." >&2;}
60865
60866   rm -f "$tmp/stdin"
60867   case $ac_file in
60868   -) cat "$tmp/out" && rm -f "$tmp/out";;
60869   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60870   esac \
60871   || as_fn_error "could not create $ac_file" "$LINENO" 5
60872  ;;
60873   :H)
60874   #
60875   # CONFIG_HEADER
60876   #
60877   if test x"$ac_file" != x-; then
60878     {
60879       $as_echo "/* $configure_input  */" \
60880       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60881     } >"$tmp/config.h" \
60882       || as_fn_error "could not create $ac_file" "$LINENO" 5
60883     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60884       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60885 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60886     else
60887       rm -f "$ac_file"
60888       mv "$tmp/config.h" "$ac_file" \
60889         || as_fn_error "could not create $ac_file" "$LINENO" 5
60890     fi
60891   else
60892     $as_echo "/* $configure_input  */" \
60893       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60894       || as_fn_error "could not create -" "$LINENO" 5
60895   fi
60896 # Compute "$ac_file"'s index in $config_headers.
60897 _am_arg="$ac_file"
60898 _am_stamp_count=1
60899 for _am_header in $config_headers :; do
60900   case $_am_header in
60901     $_am_arg | $_am_arg:* )
60902       break ;;
60903     * )
60904       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60905   esac
60906 done
60907 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60908 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60909          X"$_am_arg" : 'X\(//\)[^/]' \| \
60910          X"$_am_arg" : 'X\(//\)$' \| \
60911          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60912 $as_echo X"$_am_arg" |
60913     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60914             s//\1/
60915             q
60916           }
60917           /^X\(\/\/\)[^/].*/{
60918             s//\1/
60919             q
60920           }
60921           /^X\(\/\/\)$/{
60922             s//\1/
60923             q
60924           }
60925           /^X\(\/\).*/{
60926             s//\1/
60927             q
60928           }
60929           s/.*/./; q'`/stamp-h$_am_stamp_count
60930  ;;
60931
60932   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60933 $as_echo "$as_me: executing $ac_file commands" >&6;}
60934  ;;
60935   esac
60936
60937
60938   case $ac_file$ac_mode in
60939     "default-1":C)
60940 # Only add multilib support code if we just rebuilt the top-level
60941 # Makefile.
60942 case " $CONFIG_FILES " in
60943  *" Makefile "*)
60944    ac_file=Makefile . ${multi_basedir}/config-ml.in
60945    ;;
60946 esac ;;
60947     "libtool":C)
60948
60949     # See if we are running on zsh, and set the options which allow our
60950     # commands through without removal of \ escapes.
60951     if test -n "${ZSH_VERSION+set}" ; then
60952       setopt NO_GLOB_SUBST
60953     fi
60954
60955     cfgfile="${ofile}T"
60956     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60957     $RM "$cfgfile"
60958
60959     cat <<_LT_EOF >> "$cfgfile"
60960 #! $SHELL
60961
60962 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60963 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60964 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60965 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60966 #
60967 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60968 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60969 #   Written by Gordon Matzigkeit, 1996
60970 #
60971 #   This file is part of GNU Libtool.
60972 #
60973 # GNU Libtool is free software; you can redistribute it and/or
60974 # modify it under the terms of the GNU General Public License as
60975 # published by the Free Software Foundation; either version 2 of
60976 # the License, or (at your option) any later version.
60977 #
60978 # As a special exception to the GNU General Public License,
60979 # if you distribute this file as part of a program or library that
60980 # is built using GNU Libtool, you may include this file under the
60981 # same distribution terms that you use for the rest of that program.
60982 #
60983 # GNU Libtool is distributed in the hope that it will be useful,
60984 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60985 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60986 # GNU General Public License for more details.
60987 #
60988 # You should have received a copy of the GNU General Public License
60989 # along with GNU Libtool; see the file COPYING.  If not, a copy
60990 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60991 # obtained by writing to the Free Software Foundation, Inc.,
60992 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60993
60994
60995 # The names of the tagged configurations supported by this script.
60996 available_tags="CXX "
60997
60998 # ### BEGIN LIBTOOL CONFIG
60999
61000 # Which release of libtool.m4 was used?
61001 macro_version=$macro_version
61002 macro_revision=$macro_revision
61003
61004 # Whether or not to build shared libraries.
61005 build_libtool_libs=$enable_shared
61006
61007 # Whether or not to build static libraries.
61008 build_old_libs=$enable_static
61009
61010 # What type of objects to build.
61011 pic_mode=$pic_mode
61012
61013 # Whether or not to optimize for fast installation.
61014 fast_install=$enable_fast_install
61015
61016 # Shell to use when invoking shell scripts.
61017 SHELL=$lt_SHELL
61018
61019 # An echo program that protects backslashes.
61020 ECHO=$lt_ECHO
61021
61022 # The host system.
61023 host_alias=$host_alias
61024 host=$host
61025 host_os=$host_os
61026
61027 # The build system.
61028 build_alias=$build_alias
61029 build=$build
61030 build_os=$build_os
61031
61032 # A sed program that does not truncate output.
61033 SED=$lt_SED
61034
61035 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61036 Xsed="\$SED -e 1s/^X//"
61037
61038 # A grep program that handles long lines.
61039 GREP=$lt_GREP
61040
61041 # An ERE matcher.
61042 EGREP=$lt_EGREP
61043
61044 # A literal string matcher.
61045 FGREP=$lt_FGREP
61046
61047 # A BSD- or MS-compatible name lister.
61048 NM=$lt_NM
61049
61050 # Whether we need soft or hard links.
61051 LN_S=$lt_LN_S
61052
61053 # What is the maximum length of a command?
61054 max_cmd_len=$max_cmd_len
61055
61056 # Object file suffix (normally "o").
61057 objext=$ac_objext
61058
61059 # Executable file suffix (normally "").
61060 exeext=$exeext
61061
61062 # whether the shell understands "unset".
61063 lt_unset=$lt_unset
61064
61065 # turn spaces into newlines.
61066 SP2NL=$lt_lt_SP2NL
61067
61068 # turn newlines into spaces.
61069 NL2SP=$lt_lt_NL2SP
61070
61071 # An object symbol dumper.
61072 OBJDUMP=$lt_OBJDUMP
61073
61074 # Method to check whether dependent libraries are shared objects.
61075 deplibs_check_method=$lt_deplibs_check_method
61076
61077 # Command to use when deplibs_check_method == "file_magic".
61078 file_magic_cmd=$lt_file_magic_cmd
61079
61080 # The archiver.
61081 AR=$lt_AR
61082 AR_FLAGS=$lt_AR_FLAGS
61083
61084 # A symbol stripping program.
61085 STRIP=$lt_STRIP
61086
61087 # Commands used to install an old-style archive.
61088 RANLIB=$lt_RANLIB
61089 old_postinstall_cmds=$lt_old_postinstall_cmds
61090 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61091
61092 # Whether to use a lock for old archive extraction.
61093 lock_old_archive_extraction=$lock_old_archive_extraction
61094
61095 # A C compiler.
61096 LTCC=$lt_CC
61097
61098 # LTCC compiler flags.
61099 LTCFLAGS=$lt_CFLAGS
61100
61101 # Take the output of nm and produce a listing of raw symbols and C names.
61102 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61103
61104 # Transform the output of nm in a proper C declaration.
61105 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61106
61107 # Transform the output of nm in a C name address pair.
61108 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61109
61110 # Transform the output of nm in a C name address pair when lib prefix is needed.
61111 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61112
61113 # The name of the directory that contains temporary libtool files.
61114 objdir=$objdir
61115
61116 # Used to examine libraries when file_magic_cmd begins with "file".
61117 MAGIC_CMD=$MAGIC_CMD
61118
61119 # Must we lock files when doing compilation?
61120 need_locks=$lt_need_locks
61121
61122 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61123 DSYMUTIL=$lt_DSYMUTIL
61124
61125 # Tool to change global to local symbols on Mac OS X.
61126 NMEDIT=$lt_NMEDIT
61127
61128 # Tool to manipulate fat objects and archives on Mac OS X.
61129 LIPO=$lt_LIPO
61130
61131 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61132 OTOOL=$lt_OTOOL
61133
61134 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61135 OTOOL64=$lt_OTOOL64
61136
61137 # Old archive suffix (normally "a").
61138 libext=$libext
61139
61140 # Shared library suffix (normally ".so").
61141 shrext_cmds=$lt_shrext_cmds
61142
61143 # The commands to extract the exported symbol list from a shared archive.
61144 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61145
61146 # Variables whose values should be saved in libtool wrapper scripts and
61147 # restored at link time.
61148 variables_saved_for_relink=$lt_variables_saved_for_relink
61149
61150 # Do we need the "lib" prefix for modules?
61151 need_lib_prefix=$need_lib_prefix
61152
61153 # Do we need a version for libraries?
61154 need_version=$need_version
61155
61156 # Library versioning type.
61157 version_type=$version_type
61158
61159 # Shared library runtime path variable.
61160 runpath_var=$runpath_var
61161
61162 # Shared library path variable.
61163 shlibpath_var=$shlibpath_var
61164
61165 # Is shlibpath searched before the hard-coded library search path?
61166 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61167
61168 # Format of library name prefix.
61169 libname_spec=$lt_libname_spec
61170
61171 # List of archive names.  First name is the real one, the rest are links.
61172 # The last name is the one that the linker finds with -lNAME
61173 library_names_spec=$lt_library_names_spec
61174
61175 # The coded name of the library, if different from the real name.
61176 soname_spec=$lt_soname_spec
61177
61178 # Permission mode override for installation of shared libraries.
61179 install_override_mode=$lt_install_override_mode
61180
61181 # Command to use after installation of a shared archive.
61182 postinstall_cmds=$lt_postinstall_cmds
61183
61184 # Command to use after uninstallation of a shared archive.
61185 postuninstall_cmds=$lt_postuninstall_cmds
61186
61187 # Commands used to finish a libtool library installation in a directory.
61188 finish_cmds=$lt_finish_cmds
61189
61190 # As "finish_cmds", except a single script fragment to be evaled but
61191 # not shown.
61192 finish_eval=$lt_finish_eval
61193
61194 # Whether we should hardcode library paths into libraries.
61195 hardcode_into_libs=$hardcode_into_libs
61196
61197 # Compile-time system search path for libraries.
61198 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61199
61200 # Run-time system search path for libraries.
61201 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61202
61203 # Whether dlopen is supported.
61204 dlopen_support=$enable_dlopen
61205
61206 # Whether dlopen of programs is supported.
61207 dlopen_self=$enable_dlopen_self
61208
61209 # Whether dlopen of statically linked programs is supported.
61210 dlopen_self_static=$enable_dlopen_self_static
61211
61212 # Commands to strip libraries.
61213 old_striplib=$lt_old_striplib
61214 striplib=$lt_striplib
61215
61216
61217 # The linker used to build libraries.
61218 LD=$lt_LD
61219
61220 # How to create reloadable object files.
61221 reload_flag=$lt_reload_flag
61222 reload_cmds=$lt_reload_cmds
61223
61224 # Commands used to build an old-style archive.
61225 old_archive_cmds=$lt_old_archive_cmds
61226
61227 # A language specific compiler.
61228 CC=$lt_compiler
61229
61230 # Is the compiler the GNU compiler?
61231 with_gcc=$GCC
61232
61233 # Compiler flag to turn off builtin functions.
61234 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61235
61236 # How to pass a linker flag through the compiler.
61237 wl=$lt_lt_prog_compiler_wl
61238
61239 # Additional compiler flags for building library objects.
61240 pic_flag=$lt_lt_prog_compiler_pic
61241
61242 # Compiler flag to prevent dynamic linking.
61243 link_static_flag=$lt_lt_prog_compiler_static
61244
61245 # Does compiler simultaneously support -c and -o options?
61246 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61247
61248 # Whether or not to add -lc for building shared libraries.
61249 build_libtool_need_lc=$archive_cmds_need_lc
61250
61251 # Whether or not to disallow shared libs when runtime libs are static.
61252 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61253
61254 # Compiler flag to allow reflexive dlopens.
61255 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61256
61257 # Compiler flag to generate shared objects directly from archives.
61258 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61259
61260 # Whether the compiler copes with passing no objects directly.
61261 compiler_needs_object=$lt_compiler_needs_object
61262
61263 # Create an old-style archive from a shared archive.
61264 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61265
61266 # Create a temporary old-style archive to link instead of a shared archive.
61267 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61268
61269 # Commands used to build a shared archive.
61270 archive_cmds=$lt_archive_cmds
61271 archive_expsym_cmds=$lt_archive_expsym_cmds
61272
61273 # Commands used to build a loadable module if different from building
61274 # a shared archive.
61275 module_cmds=$lt_module_cmds
61276 module_expsym_cmds=$lt_module_expsym_cmds
61277
61278 # Whether we are building with GNU ld or not.
61279 with_gnu_ld=$lt_with_gnu_ld
61280
61281 # Flag that allows shared libraries with undefined symbols to be built.
61282 allow_undefined_flag=$lt_allow_undefined_flag
61283
61284 # Flag that enforces no undefined symbols.
61285 no_undefined_flag=$lt_no_undefined_flag
61286
61287 # Flag to hardcode \$libdir into a binary during linking.
61288 # This must work even if \$libdir does not exist
61289 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61290
61291 # If ld is used when linking, flag to hardcode \$libdir into a binary
61292 # during linking.  This must work even if \$libdir does not exist.
61293 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61294
61295 # Whether we need a single "-rpath" flag with a separated argument.
61296 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61297
61298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61299 # DIR into the resulting binary.
61300 hardcode_direct=$hardcode_direct
61301
61302 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61303 # DIR into the resulting binary and the resulting library dependency is
61304 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61305 # library is relocated.
61306 hardcode_direct_absolute=$hardcode_direct_absolute
61307
61308 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61309 # into the resulting binary.
61310 hardcode_minus_L=$hardcode_minus_L
61311
61312 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61313 # into the resulting binary.
61314 hardcode_shlibpath_var=$hardcode_shlibpath_var
61315
61316 # Set to "yes" if building a shared library automatically hardcodes DIR
61317 # into the library and all subsequent libraries and executables linked
61318 # against it.
61319 hardcode_automatic=$hardcode_automatic
61320
61321 # Set to yes if linker adds runtime paths of dependent libraries
61322 # to runtime path list.
61323 inherit_rpath=$inherit_rpath
61324
61325 # Whether libtool must link a program against all its dependency libraries.
61326 link_all_deplibs=$link_all_deplibs
61327
61328 # Fix the shell variable \$srcfile for the compiler.
61329 fix_srcfile_path=$lt_fix_srcfile_path
61330
61331 # Set to "yes" if exported symbols are required.
61332 always_export_symbols=$always_export_symbols
61333
61334 # The commands to list exported symbols.
61335 export_symbols_cmds=$lt_export_symbols_cmds
61336
61337 # Symbols that should not be listed in the preloaded symbols.
61338 exclude_expsyms=$lt_exclude_expsyms
61339
61340 # Symbols that must always be exported.
61341 include_expsyms=$lt_include_expsyms
61342
61343 # Commands necessary for linking programs (against libraries) with templates.
61344 prelink_cmds=$lt_prelink_cmds
61345
61346 # Specify filename containing input files.
61347 file_list_spec=$lt_file_list_spec
61348
61349 # How to hardcode a shared library path into an executable.
61350 hardcode_action=$hardcode_action
61351
61352 # The directories searched by this compiler when creating a shared library.
61353 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61354
61355 # Dependencies to place before and after the objects being linked to
61356 # create a shared library.
61357 predep_objects=$lt_predep_objects
61358 postdep_objects=$lt_postdep_objects
61359 predeps=$lt_predeps
61360 postdeps=$lt_postdeps
61361
61362 # The library search path used internally by the compiler when linking
61363 # a shared library.
61364 compiler_lib_search_path=$lt_compiler_lib_search_path
61365
61366 # ### END LIBTOOL CONFIG
61367
61368 _LT_EOF
61369
61370   case $host_os in
61371   aix3*)
61372     cat <<\_LT_EOF >> "$cfgfile"
61373 # AIX sometimes has problems with the GCC collect2 program.  For some
61374 # reason, if we set the COLLECT_NAMES environment variable, the problems
61375 # vanish in a puff of smoke.
61376 if test "X${COLLECT_NAMES+set}" != Xset; then
61377   COLLECT_NAMES=
61378   export COLLECT_NAMES
61379 fi
61380 _LT_EOF
61381     ;;
61382   esac
61383
61384
61385 ltmain="$ac_aux_dir/ltmain.sh"
61386
61387
61388   # We use sed instead of cat because bash on DJGPP gets confused if
61389   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61390   # text mode, it properly converts lines to CR/LF.  This bash problem
61391   # is reportedly fixed, but why not run on old versions too?
61392   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61393     || (rm -f "$cfgfile"; exit 1)
61394
61395   case $xsi_shell in
61396   yes)
61397     cat << \_LT_EOF >> "$cfgfile"
61398
61399 # func_dirname file append nondir_replacement
61400 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61401 # otherwise set result to NONDIR_REPLACEMENT.
61402 func_dirname ()
61403 {
61404   case ${1} in
61405     */*) func_dirname_result="${1%/*}${2}" ;;
61406     *  ) func_dirname_result="${3}" ;;
61407   esac
61408 }
61409
61410 # func_basename file
61411 func_basename ()
61412 {
61413   func_basename_result="${1##*/}"
61414 }
61415
61416 # func_dirname_and_basename file append nondir_replacement
61417 # perform func_basename and func_dirname in a single function
61418 # call:
61419 #   dirname:  Compute the dirname of FILE.  If nonempty,
61420 #             add APPEND to the result, otherwise set result
61421 #             to NONDIR_REPLACEMENT.
61422 #             value returned in "$func_dirname_result"
61423 #   basename: Compute filename of FILE.
61424 #             value retuned in "$func_basename_result"
61425 # Implementation must be kept synchronized with func_dirname
61426 # and func_basename. For efficiency, we do not delegate to
61427 # those functions but instead duplicate the functionality here.
61428 func_dirname_and_basename ()
61429 {
61430   case ${1} in
61431     */*) func_dirname_result="${1%/*}${2}" ;;
61432     *  ) func_dirname_result="${3}" ;;
61433   esac
61434   func_basename_result="${1##*/}"
61435 }
61436
61437 # func_stripname prefix suffix name
61438 # strip PREFIX and SUFFIX off of NAME.
61439 # PREFIX and SUFFIX must not contain globbing or regex special
61440 # characters, hashes, percent signs, but SUFFIX may contain a leading
61441 # dot (in which case that matches only a dot).
61442 func_stripname ()
61443 {
61444   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61445   # positional parameters, so assign one to ordinary parameter first.
61446   func_stripname_result=${3}
61447   func_stripname_result=${func_stripname_result#"${1}"}
61448   func_stripname_result=${func_stripname_result%"${2}"}
61449 }
61450
61451 # func_opt_split
61452 func_opt_split ()
61453 {
61454   func_opt_split_opt=${1%%=*}
61455   func_opt_split_arg=${1#*=}
61456 }
61457
61458 # func_lo2o object
61459 func_lo2o ()
61460 {
61461   case ${1} in
61462     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61463     *)    func_lo2o_result=${1} ;;
61464   esac
61465 }
61466
61467 # func_xform libobj-or-source
61468 func_xform ()
61469 {
61470   func_xform_result=${1%.*}.lo
61471 }
61472
61473 # func_arith arithmetic-term...
61474 func_arith ()
61475 {
61476   func_arith_result=$(( $* ))
61477 }
61478
61479 # func_len string
61480 # STRING may not start with a hyphen.
61481 func_len ()
61482 {
61483   func_len_result=${#1}
61484 }
61485
61486 _LT_EOF
61487     ;;
61488   *) # Bourne compatible functions.
61489     cat << \_LT_EOF >> "$cfgfile"
61490
61491 # func_dirname file append nondir_replacement
61492 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61493 # otherwise set result to NONDIR_REPLACEMENT.
61494 func_dirname ()
61495 {
61496   # Extract subdirectory from the argument.
61497   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61498   if test "X$func_dirname_result" = "X${1}"; then
61499     func_dirname_result="${3}"
61500   else
61501     func_dirname_result="$func_dirname_result${2}"
61502   fi
61503 }
61504
61505 # func_basename file
61506 func_basename ()
61507 {
61508   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61509 }
61510
61511
61512 # func_stripname prefix suffix name
61513 # strip PREFIX and SUFFIX off of NAME.
61514 # PREFIX and SUFFIX must not contain globbing or regex special
61515 # characters, hashes, percent signs, but SUFFIX may contain a leading
61516 # dot (in which case that matches only a dot).
61517 # func_strip_suffix prefix name
61518 func_stripname ()
61519 {
61520   case ${2} in
61521     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61522     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61523   esac
61524 }
61525
61526 # sed scripts:
61527 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61528 my_sed_long_arg='1s/^-[^=]*=//'
61529
61530 # func_opt_split
61531 func_opt_split ()
61532 {
61533   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61534   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61535 }
61536
61537 # func_lo2o object
61538 func_lo2o ()
61539 {
61540   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61541 }
61542
61543 # func_xform libobj-or-source
61544 func_xform ()
61545 {
61546   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61547 }
61548
61549 # func_arith arithmetic-term...
61550 func_arith ()
61551 {
61552   func_arith_result=`expr "$@"`
61553 }
61554
61555 # func_len string
61556 # STRING may not start with a hyphen.
61557 func_len ()
61558 {
61559   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61560 }
61561
61562 _LT_EOF
61563 esac
61564
61565 case $lt_shell_append in
61566   yes)
61567     cat << \_LT_EOF >> "$cfgfile"
61568
61569 # func_append var value
61570 # Append VALUE to the end of shell variable VAR.
61571 func_append ()
61572 {
61573   eval "$1+=\$2"
61574 }
61575 _LT_EOF
61576     ;;
61577   *)
61578     cat << \_LT_EOF >> "$cfgfile"
61579
61580 # func_append var value
61581 # Append VALUE to the end of shell variable VAR.
61582 func_append ()
61583 {
61584   eval "$1=\$$1\$2"
61585 }
61586
61587 _LT_EOF
61588     ;;
61589   esac
61590
61591
61592   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61593     || (rm -f "$cfgfile"; exit 1)
61594
61595   mv -f "$cfgfile" "$ofile" ||
61596     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61597   chmod +x "$ofile"
61598
61599
61600     cat <<_LT_EOF >> "$ofile"
61601
61602 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61603
61604 # The linker used to build libraries.
61605 LD=$lt_LD_CXX
61606
61607 # How to create reloadable object files.
61608 reload_flag=$lt_reload_flag_CXX
61609 reload_cmds=$lt_reload_cmds_CXX
61610
61611 # Commands used to build an old-style archive.
61612 old_archive_cmds=$lt_old_archive_cmds_CXX
61613
61614 # A language specific compiler.
61615 CC=$lt_compiler_CXX
61616
61617 # Is the compiler the GNU compiler?
61618 with_gcc=$GCC_CXX
61619
61620 # Compiler flag to turn off builtin functions.
61621 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61622
61623 # How to pass a linker flag through the compiler.
61624 wl=$lt_lt_prog_compiler_wl_CXX
61625
61626 # Additional compiler flags for building library objects.
61627 pic_flag=$lt_lt_prog_compiler_pic_CXX
61628
61629 # Compiler flag to prevent dynamic linking.
61630 link_static_flag=$lt_lt_prog_compiler_static_CXX
61631
61632 # Does compiler simultaneously support -c and -o options?
61633 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61634
61635 # Whether or not to add -lc for building shared libraries.
61636 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61637
61638 # Whether or not to disallow shared libs when runtime libs are static.
61639 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61640
61641 # Compiler flag to allow reflexive dlopens.
61642 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61643
61644 # Compiler flag to generate shared objects directly from archives.
61645 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61646
61647 # Whether the compiler copes with passing no objects directly.
61648 compiler_needs_object=$lt_compiler_needs_object_CXX
61649
61650 # Create an old-style archive from a shared archive.
61651 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61652
61653 # Create a temporary old-style archive to link instead of a shared archive.
61654 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61655
61656 # Commands used to build a shared archive.
61657 archive_cmds=$lt_archive_cmds_CXX
61658 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61659
61660 # Commands used to build a loadable module if different from building
61661 # a shared archive.
61662 module_cmds=$lt_module_cmds_CXX
61663 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61664
61665 # Whether we are building with GNU ld or not.
61666 with_gnu_ld=$lt_with_gnu_ld_CXX
61667
61668 # Flag that allows shared libraries with undefined symbols to be built.
61669 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61670
61671 # Flag that enforces no undefined symbols.
61672 no_undefined_flag=$lt_no_undefined_flag_CXX
61673
61674 # Flag to hardcode \$libdir into a binary during linking.
61675 # This must work even if \$libdir does not exist
61676 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61677
61678 # If ld is used when linking, flag to hardcode \$libdir into a binary
61679 # during linking.  This must work even if \$libdir does not exist.
61680 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61681
61682 # Whether we need a single "-rpath" flag with a separated argument.
61683 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61684
61685 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61686 # DIR into the resulting binary.
61687 hardcode_direct=$hardcode_direct_CXX
61688
61689 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61690 # DIR into the resulting binary and the resulting library dependency is
61691 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61692 # library is relocated.
61693 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61694
61695 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61696 # into the resulting binary.
61697 hardcode_minus_L=$hardcode_minus_L_CXX
61698
61699 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61700 # into the resulting binary.
61701 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61702
61703 # Set to "yes" if building a shared library automatically hardcodes DIR
61704 # into the library and all subsequent libraries and executables linked
61705 # against it.
61706 hardcode_automatic=$hardcode_automatic_CXX
61707
61708 # Set to yes if linker adds runtime paths of dependent libraries
61709 # to runtime path list.
61710 inherit_rpath=$inherit_rpath_CXX
61711
61712 # Whether libtool must link a program against all its dependency libraries.
61713 link_all_deplibs=$link_all_deplibs_CXX
61714
61715 # Fix the shell variable \$srcfile for the compiler.
61716 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61717
61718 # Set to "yes" if exported symbols are required.
61719 always_export_symbols=$always_export_symbols_CXX
61720
61721 # The commands to list exported symbols.
61722 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61723
61724 # Symbols that should not be listed in the preloaded symbols.
61725 exclude_expsyms=$lt_exclude_expsyms_CXX
61726
61727 # Symbols that must always be exported.
61728 include_expsyms=$lt_include_expsyms_CXX
61729
61730 # Commands necessary for linking programs (against libraries) with templates.
61731 prelink_cmds=$lt_prelink_cmds_CXX
61732
61733 # Specify filename containing input files.
61734 file_list_spec=$lt_file_list_spec_CXX
61735
61736 # How to hardcode a shared library path into an executable.
61737 hardcode_action=$hardcode_action_CXX
61738
61739 # The directories searched by this compiler when creating a shared library.
61740 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61741
61742 # Dependencies to place before and after the objects being linked to
61743 # create a shared library.
61744 predep_objects=$lt_predep_objects_CXX
61745 postdep_objects=$lt_postdep_objects_CXX
61746 predeps=$lt_predeps_CXX
61747 postdeps=$lt_postdeps_CXX
61748
61749 # The library search path used internally by the compiler when linking
61750 # a shared library.
61751 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61752
61753 # ### END LIBTOOL TAG CONFIG: CXX
61754 _LT_EOF
61755
61756  ;;
61757     "include/gstdint.h":C)
61758 if test "$GCC" = yes; then
61759   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61760 else
61761   echo "/* generated for $CC */" > tmp-stdint.h
61762 fi
61763
61764 sed 's/^ *//' >> tmp-stdint.h <<EOF
61765
61766   #ifndef GCC_GENERATED_STDINT_H
61767   #define GCC_GENERATED_STDINT_H 1
61768
61769   #include <sys/types.h>
61770 EOF
61771
61772 if test "$acx_cv_header_stdint" != stdint.h; then
61773   echo "#include <stddef.h>" >> tmp-stdint.h
61774 fi
61775 if test "$acx_cv_header_stdint" != stddef.h; then
61776   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61777 fi
61778
61779 sed 's/^ *//' >> tmp-stdint.h <<EOF
61780   /* glibc uses these symbols as guards to prevent redefinitions.  */
61781   #ifdef __int8_t_defined
61782   #define _INT8_T
61783   #define _INT16_T
61784   #define _INT32_T
61785   #endif
61786   #ifdef __uint32_t_defined
61787   #define _UINT32_T
61788   #endif
61789
61790 EOF
61791
61792 # ----------------- done header, emit basic int types -------------
61793 if test "$acx_cv_header_stdint" = stddef.h; then
61794   sed 's/^ *//' >> tmp-stdint.h <<EOF
61795
61796     #ifndef _UINT8_T
61797     #define _UINT8_T
61798     #ifndef __uint8_t_defined
61799     #define __uint8_t_defined
61800     #ifndef uint8_t
61801     typedef unsigned $acx_cv_type_int8_t uint8_t;
61802     #endif
61803     #endif
61804     #endif
61805
61806     #ifndef _UINT16_T
61807     #define _UINT16_T
61808     #ifndef __uint16_t_defined
61809     #define __uint16_t_defined
61810     #ifndef uint16_t
61811     typedef unsigned $acx_cv_type_int16_t uint16_t;
61812     #endif
61813     #endif
61814     #endif
61815
61816     #ifndef _UINT32_T
61817     #define _UINT32_T
61818     #ifndef __uint32_t_defined
61819     #define __uint32_t_defined
61820     #ifndef uint32_t
61821     typedef unsigned $acx_cv_type_int32_t uint32_t;
61822     #endif
61823     #endif
61824     #endif
61825
61826     #ifndef _INT8_T
61827     #define _INT8_T
61828     #ifndef __int8_t_defined
61829     #define __int8_t_defined
61830     #ifndef int8_t
61831     typedef $acx_cv_type_int8_t int8_t;
61832     #endif
61833     #endif
61834     #endif
61835
61836     #ifndef _INT16_T
61837     #define _INT16_T
61838     #ifndef __int16_t_defined
61839     #define __int16_t_defined
61840     #ifndef int16_t
61841     typedef $acx_cv_type_int16_t int16_t;
61842     #endif
61843     #endif
61844     #endif
61845
61846     #ifndef _INT32_T
61847     #define _INT32_T
61848     #ifndef __int32_t_defined
61849     #define __int32_t_defined
61850     #ifndef int32_t
61851     typedef $acx_cv_type_int32_t int32_t;
61852     #endif
61853     #endif
61854     #endif
61855 EOF
61856 elif test "$ac_cv_type_u_int32_t" = yes; then
61857   sed 's/^ *//' >> tmp-stdint.h <<EOF
61858
61859     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61860     #ifndef _INT8_T
61861     #define _INT8_T
61862     #endif
61863     #ifndef _INT16_T
61864     #define _INT16_T
61865     #endif
61866     #ifndef _INT32_T
61867     #define _INT32_T
61868     #endif
61869
61870     #ifndef _UINT8_T
61871     #define _UINT8_T
61872     #ifndef __uint8_t_defined
61873     #define __uint8_t_defined
61874     #ifndef uint8_t
61875     typedef u_int8_t uint8_t;
61876     #endif
61877     #endif
61878     #endif
61879
61880     #ifndef _UINT16_T
61881     #define _UINT16_T
61882     #ifndef __uint16_t_defined
61883     #define __uint16_t_defined
61884     #ifndef uint16_t
61885     typedef u_int16_t uint16_t;
61886     #endif
61887     #endif
61888     #endif
61889
61890     #ifndef _UINT32_T
61891     #define _UINT32_T
61892     #ifndef __uint32_t_defined
61893     #define __uint32_t_defined
61894     #ifndef uint32_t
61895     typedef u_int32_t uint32_t;
61896     #endif
61897     #endif
61898     #endif
61899 EOF
61900 else
61901   sed 's/^ *//' >> tmp-stdint.h <<EOF
61902
61903     /* Some systems have guard macros to prevent redefinitions, define them.  */
61904     #ifndef _INT8_T
61905     #define _INT8_T
61906     #endif
61907     #ifndef _INT16_T
61908     #define _INT16_T
61909     #endif
61910     #ifndef _INT32_T
61911     #define _INT32_T
61912     #endif
61913     #ifndef _UINT8_T
61914     #define _UINT8_T
61915     #endif
61916     #ifndef _UINT16_T
61917     #define _UINT16_T
61918     #endif
61919     #ifndef _UINT32_T
61920     #define _UINT32_T
61921     #endif
61922 EOF
61923 fi
61924
61925 # ------------- done basic int types, emit int64_t types ------------
61926 if test "$ac_cv_type_uint64_t" = yes; then
61927   sed 's/^ *//' >> tmp-stdint.h <<EOF
61928
61929     /* system headers have good uint64_t and int64_t */
61930     #ifndef _INT64_T
61931     #define _INT64_T
61932     #endif
61933     #ifndef _UINT64_T
61934     #define _UINT64_T
61935     #endif
61936 EOF
61937 elif test "$ac_cv_type_u_int64_t" = yes; then
61938   sed 's/^ *//' >> tmp-stdint.h <<EOF
61939
61940     /* system headers have an u_int64_t (and int64_t) */
61941     #ifndef _INT64_T
61942     #define _INT64_T
61943     #endif
61944     #ifndef _UINT64_T
61945     #define _UINT64_T
61946     #ifndef __uint64_t_defined
61947     #define __uint64_t_defined
61948     #ifndef uint64_t
61949     typedef u_int64_t uint64_t;
61950     #endif
61951     #endif
61952     #endif
61953 EOF
61954 elif test -n "$acx_cv_type_int64_t"; then
61955   sed 's/^ *//' >> tmp-stdint.h <<EOF
61956
61957     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61958     #ifndef _INT64_T
61959     #define _INT64_T
61960     #ifndef int64_t
61961     typedef $acx_cv_type_int64_t int64_t;
61962     #endif
61963     #endif
61964     #ifndef _UINT64_T
61965     #define _UINT64_T
61966     #ifndef __uint64_t_defined
61967     #define __uint64_t_defined
61968     #ifndef uint64_t
61969     typedef unsigned $acx_cv_type_int64_t uint64_t;
61970     #endif
61971     #endif
61972     #endif
61973 EOF
61974 else
61975   sed 's/^ *//' >> tmp-stdint.h <<EOF
61976
61977     /* some common heuristics for int64_t, using compiler-specific tests */
61978     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61979     #ifndef _INT64_T
61980     #define _INT64_T
61981     #ifndef __int64_t_defined
61982     #ifndef int64_t
61983     typedef long long int64_t;
61984     #endif
61985     #endif
61986     #endif
61987     #ifndef _UINT64_T
61988     #define _UINT64_T
61989     #ifndef uint64_t
61990     typedef unsigned long long uint64_t;
61991     #endif
61992     #endif
61993
61994     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61995     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61996        does not implement __extension__.  But that compiler doesn't define
61997        __GNUC_MINOR__.  */
61998     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61999     # define __extension__
62000     # endif
62001
62002     # ifndef _INT64_T
62003     # define _INT64_T
62004     # ifndef int64_t
62005     __extension__ typedef long long int64_t;
62006     # endif
62007     # endif
62008     # ifndef _UINT64_T
62009     # define _UINT64_T
62010     # ifndef uint64_t
62011     __extension__ typedef unsigned long long uint64_t;
62012     # endif
62013     # endif
62014
62015     #elif !defined __STRICT_ANSI__
62016     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62017
62018     #  ifndef _INT64_T
62019     #  define _INT64_T
62020     #  ifndef int64_t
62021     typedef __int64 int64_t;
62022     #  endif
62023     #  endif
62024     #  ifndef _UINT64_T
62025     #  define _UINT64_T
62026     #  ifndef uint64_t
62027     typedef unsigned __int64 uint64_t;
62028     #  endif
62029     #  endif
62030     # endif /* compiler */
62031
62032     #endif /* ANSI version */
62033 EOF
62034 fi
62035
62036 # ------------- done int64_t types, emit intptr types ------------
62037 if test "$ac_cv_type_uintptr_t" != yes; then
62038   sed 's/^ *//' >> tmp-stdint.h <<EOF
62039
62040     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62041     #ifndef __uintptr_t_defined
62042     #ifndef uintptr_t
62043     typedef u$acx_cv_type_intptr_t uintptr_t;
62044     #endif
62045     #endif
62046     #ifndef __intptr_t_defined
62047     #ifndef intptr_t
62048     typedef $acx_cv_type_intptr_t  intptr_t;
62049     #endif
62050     #endif
62051 EOF
62052 fi
62053
62054 # ------------- done intptr types, emit int_least types ------------
62055 if test "$ac_cv_type_int_least32_t" != yes; then
62056   sed 's/^ *//' >> tmp-stdint.h <<EOF
62057
62058     /* Define int_least types */
62059     typedef int8_t     int_least8_t;
62060     typedef int16_t    int_least16_t;
62061     typedef int32_t    int_least32_t;
62062     #ifdef _INT64_T
62063     typedef int64_t    int_least64_t;
62064     #endif
62065
62066     typedef uint8_t    uint_least8_t;
62067     typedef uint16_t   uint_least16_t;
62068     typedef uint32_t   uint_least32_t;
62069     #ifdef _UINT64_T
62070     typedef uint64_t   uint_least64_t;
62071     #endif
62072 EOF
62073 fi
62074
62075 # ------------- done intptr types, emit int_fast types ------------
62076 if test "$ac_cv_type_int_fast32_t" != yes; then
62077       sed 's/^ *//' >> tmp-stdint.h <<EOF
62078
62079     /* Define int_fast types.  short is often slow */
62080     typedef int8_t       int_fast8_t;
62081     typedef int          int_fast16_t;
62082     typedef int32_t      int_fast32_t;
62083     #ifdef _INT64_T
62084     typedef int64_t      int_fast64_t;
62085     #endif
62086
62087     typedef uint8_t      uint_fast8_t;
62088     typedef unsigned int uint_fast16_t;
62089     typedef uint32_t     uint_fast32_t;
62090     #ifdef _UINT64_T
62091     typedef uint64_t     uint_fast64_t;
62092     #endif
62093 EOF
62094 fi
62095
62096 if test "$ac_cv_type_uintmax_t" != yes; then
62097   sed 's/^ *//' >> tmp-stdint.h <<EOF
62098
62099     /* Define intmax based on what we found */
62100     #ifndef intmax_t
62101     #ifdef _INT64_T
62102     typedef int64_t       intmax_t;
62103     #else
62104     typedef long          intmax_t;
62105     #endif
62106     #endif
62107     #ifndef uintmax_t
62108     #ifdef _UINT64_T
62109     typedef uint64_t      uintmax_t;
62110     #else
62111     typedef unsigned long uintmax_t;
62112     #endif
62113     #endif
62114 EOF
62115 fi
62116
62117 sed 's/^ *//' >> tmp-stdint.h <<EOF
62118
62119   #endif /* GCC_GENERATED_STDINT_H */
62120 EOF
62121
62122 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62123   rm -f tmp-stdint.h
62124 else
62125   mv -f tmp-stdint.h include/gstdint.h
62126 fi
62127
62128  ;;
62129     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62130     "include/Makefile":F) cat > vpsed$$ << \_EOF
62131 s!`test -f '$<' || echo '$(srcdir)/'`!!
62132 _EOF
62133    sed -f vpsed$$ $ac_file > tmp$$
62134    mv tmp$$ $ac_file
62135    rm vpsed$$
62136    echo 'MULTISUBDIR =' >> $ac_file
62137    ml_norecursion=yes
62138    . ${multi_basedir}/config-ml.in
62139    { ml_norecursion=; unset ml_norecursion;}
62140  ;;
62141     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62142 s!`test -f '$<' || echo '$(srcdir)/'`!!
62143 _EOF
62144    sed -f vpsed$$ $ac_file > tmp$$
62145    mv tmp$$ $ac_file
62146    rm vpsed$$
62147    echo 'MULTISUBDIR =' >> $ac_file
62148    ml_norecursion=yes
62149    . ${multi_basedir}/config-ml.in
62150    { ml_norecursion=; unset ml_norecursion;}
62151  ;;
62152     "python/Makefile":F) cat > vpsed$$ << \_EOF
62153 s!`test -f '$<' || echo '$(srcdir)/'`!!
62154 _EOF
62155    sed -f vpsed$$ $ac_file > tmp$$
62156    mv tmp$$ $ac_file
62157    rm vpsed$$
62158    echo 'MULTISUBDIR =' >> $ac_file
62159    ml_norecursion=yes
62160    . ${multi_basedir}/config-ml.in
62161    { ml_norecursion=; unset ml_norecursion;}
62162  ;;
62163     "src/Makefile":F) cat > vpsed$$ << \_EOF
62164 s!`test -f '$<' || echo '$(srcdir)/'`!!
62165 _EOF
62166    sed -f vpsed$$ $ac_file > tmp$$
62167    mv tmp$$ $ac_file
62168    rm vpsed$$
62169    echo 'MULTISUBDIR =' >> $ac_file
62170    ml_norecursion=yes
62171    . ${multi_basedir}/config-ml.in
62172    { ml_norecursion=; unset ml_norecursion;}
62173  ;;
62174     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62175 s!`test -f '$<' || echo '$(srcdir)/'`!!
62176 _EOF
62177    sed -f vpsed$$ $ac_file > tmp$$
62178    mv tmp$$ $ac_file
62179    rm vpsed$$
62180    echo 'MULTISUBDIR =' >> $ac_file
62181    ml_norecursion=yes
62182    . ${multi_basedir}/config-ml.in
62183    { ml_norecursion=; unset ml_norecursion;}
62184  ;;
62185     "po/Makefile":F) cat > vpsed$$ << \_EOF
62186 s!`test -f '$<' || echo '$(srcdir)/'`!!
62187 _EOF
62188    sed -f vpsed$$ $ac_file > tmp$$
62189    mv tmp$$ $ac_file
62190    rm vpsed$$
62191    echo 'MULTISUBDIR =' >> $ac_file
62192    ml_norecursion=yes
62193    . ${multi_basedir}/config-ml.in
62194    { ml_norecursion=; unset ml_norecursion;}
62195  ;;
62196     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62197 s!`test -f '$<' || echo '$(srcdir)/'`!!
62198 _EOF
62199    sed -f vpsed$$ $ac_file > tmp$$
62200    mv tmp$$ $ac_file
62201    rm vpsed$$
62202    echo 'MULTISUBDIR =' >> $ac_file
62203    ml_norecursion=yes
62204    . ${multi_basedir}/config-ml.in
62205    { ml_norecursion=; unset ml_norecursion;}
62206  ;;
62207     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62208
62209   esac
62210 done # for ac_tag
62211
62212
62213 as_fn_exit 0
62214 _ACEOF
62215 ac_clean_files=$ac_clean_files_save
62216
62217 test $ac_write_fail = 0 ||
62218   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62219
62220
62221 # configure is writing to config.log, and then calls config.status.
62222 # config.status does its own redirection, appending to config.log.
62223 # Unfortunately, on DOS this fails, as config.log is still kept open
62224 # by configure, so config.status won't be able to write to it; its
62225 # output is simply discarded.  So we exec the FD to /dev/null,
62226 # effectively closing config.log, so it can be properly (re)opened and
62227 # appended to by config.status.  When coming back to configure, we
62228 # need to make the FD available again.
62229 if test "$no_create" != yes; then
62230   ac_cs_success=:
62231   ac_config_status_args=
62232   test "$silent" = yes &&
62233     ac_config_status_args="$ac_config_status_args --quiet"
62234   exec 5>/dev/null
62235   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62236   exec 5>>config.log
62237   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62238   # would make configure fail if this is the last instruction.
62239   $ac_cs_success || as_fn_exit $?
62240 fi
62241 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62242   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62243 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62244 fi
62245