OSDN Git Service

2010-04-06 Matthias Klose <doko@ubuntu.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   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18866 $as_echo "$enable_libstdcxx_time" >&6; }
18867
18868   if test x"$enable_libstdcxx_time" != x"no"; then
18869
18870     if test x"$enable_libstdcxx_time" = x"rt"; then
18871       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18872 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18873 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18874   $as_echo_n "(cached) " >&6
18875 else
18876   ac_func_search_save_LIBS=$LIBS
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h.  */
18879
18880 /* Override any GCC internal prototype to avoid an error.
18881    Use char because int might match the return type of a GCC
18882    builtin and then its argument prototype would still apply.  */
18883 #ifdef __cplusplus
18884 extern "C"
18885 #endif
18886 char clock_gettime ();
18887 int
18888 main ()
18889 {
18890 return clock_gettime ();
18891   ;
18892   return 0;
18893 }
18894 _ACEOF
18895 for ac_lib in '' rt posix4; do
18896   if test -z "$ac_lib"; then
18897     ac_res="none required"
18898   else
18899     ac_res=-l$ac_lib
18900     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18901   fi
18902   if test x$gcc_no_link = xyes; then
18903   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18904 fi
18905 if ac_fn_cxx_try_link "$LINENO"; then :
18906   ac_cv_search_clock_gettime=$ac_res
18907 fi
18908 rm -f core conftest.err conftest.$ac_objext \
18909     conftest$ac_exeext
18910   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18911   break
18912 fi
18913 done
18914 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18915
18916 else
18917   ac_cv_search_clock_gettime=no
18918 fi
18919 rm conftest.$ac_ext
18920 LIBS=$ac_func_search_save_LIBS
18921 fi
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18923 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18924 ac_res=$ac_cv_search_clock_gettime
18925 if test "$ac_res" != no; then :
18926   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18927
18928 fi
18929
18930       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18931 $as_echo_n "checking for library containing nanosleep... " >&6; }
18932 if test "${ac_cv_search_nanosleep+set}" = set; then :
18933   $as_echo_n "(cached) " >&6
18934 else
18935   ac_func_search_save_LIBS=$LIBS
18936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18937 /* end confdefs.h.  */
18938
18939 /* Override any GCC internal prototype to avoid an error.
18940    Use char because int might match the return type of a GCC
18941    builtin and then its argument prototype would still apply.  */
18942 #ifdef __cplusplus
18943 extern "C"
18944 #endif
18945 char nanosleep ();
18946 int
18947 main ()
18948 {
18949 return nanosleep ();
18950   ;
18951   return 0;
18952 }
18953 _ACEOF
18954 for ac_lib in '' rt posix4; do
18955   if test -z "$ac_lib"; then
18956     ac_res="none required"
18957   else
18958     ac_res=-l$ac_lib
18959     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18960   fi
18961   if test x$gcc_no_link = xyes; then
18962   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18963 fi
18964 if ac_fn_cxx_try_link "$LINENO"; then :
18965   ac_cv_search_nanosleep=$ac_res
18966 fi
18967 rm -f core conftest.err conftest.$ac_objext \
18968     conftest$ac_exeext
18969   if test "${ac_cv_search_nanosleep+set}" = set; then :
18970   break
18971 fi
18972 done
18973 if test "${ac_cv_search_nanosleep+set}" = set; then :
18974
18975 else
18976   ac_cv_search_nanosleep=no
18977 fi
18978 rm conftest.$ac_ext
18979 LIBS=$ac_func_search_save_LIBS
18980 fi
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18982 $as_echo "$ac_cv_search_nanosleep" >&6; }
18983 ac_res=$ac_cv_search_nanosleep
18984 if test "$ac_res" != no; then :
18985   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18986
18987 fi
18988
18989     else
18990       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18991 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18992 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18993   $as_echo_n "(cached) " >&6
18994 else
18995   ac_func_search_save_LIBS=$LIBS
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h.  */
18998
18999 /* Override any GCC internal prototype to avoid an error.
19000    Use char because int might match the return type of a GCC
19001    builtin and then its argument prototype would still apply.  */
19002 #ifdef __cplusplus
19003 extern "C"
19004 #endif
19005 char clock_gettime ();
19006 int
19007 main ()
19008 {
19009 return clock_gettime ();
19010   ;
19011   return 0;
19012 }
19013 _ACEOF
19014 for ac_lib in '' posix4; do
19015   if test -z "$ac_lib"; then
19016     ac_res="none required"
19017   else
19018     ac_res=-l$ac_lib
19019     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19020   fi
19021   if test x$gcc_no_link = xyes; then
19022   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023 fi
19024 if ac_fn_cxx_try_link "$LINENO"; then :
19025   ac_cv_search_clock_gettime=$ac_res
19026 fi
19027 rm -f core conftest.err conftest.$ac_objext \
19028     conftest$ac_exeext
19029   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19030   break
19031 fi
19032 done
19033 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19034
19035 else
19036   ac_cv_search_clock_gettime=no
19037 fi
19038 rm conftest.$ac_ext
19039 LIBS=$ac_func_search_save_LIBS
19040 fi
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19042 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19043 ac_res=$ac_cv_search_clock_gettime
19044 if test "$ac_res" != no; then :
19045   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19046
19047 fi
19048
19049       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19050 $as_echo_n "checking for library containing nanosleep... " >&6; }
19051 if test "${ac_cv_search_nanosleep+set}" = set; then :
19052   $as_echo_n "(cached) " >&6
19053 else
19054   ac_func_search_save_LIBS=$LIBS
19055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19056 /* end confdefs.h.  */
19057
19058 /* Override any GCC internal prototype to avoid an error.
19059    Use char because int might match the return type of a GCC
19060    builtin and then its argument prototype would still apply.  */
19061 #ifdef __cplusplus
19062 extern "C"
19063 #endif
19064 char nanosleep ();
19065 int
19066 main ()
19067 {
19068 return nanosleep ();
19069   ;
19070   return 0;
19071 }
19072 _ACEOF
19073 for ac_lib in '' posix4; do
19074   if test -z "$ac_lib"; then
19075     ac_res="none required"
19076   else
19077     ac_res=-l$ac_lib
19078     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19079   fi
19080   if test x$gcc_no_link = xyes; then
19081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19082 fi
19083 if ac_fn_cxx_try_link "$LINENO"; then :
19084   ac_cv_search_nanosleep=$ac_res
19085 fi
19086 rm -f core conftest.err conftest.$ac_objext \
19087     conftest$ac_exeext
19088   if test "${ac_cv_search_nanosleep+set}" = set; then :
19089   break
19090 fi
19091 done
19092 if test "${ac_cv_search_nanosleep+set}" = set; then :
19093
19094 else
19095   ac_cv_search_nanosleep=no
19096 fi
19097 rm conftest.$ac_ext
19098 LIBS=$ac_func_search_save_LIBS
19099 fi
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19101 $as_echo "$ac_cv_search_nanosleep" >&6; }
19102 ac_res=$ac_cv_search_nanosleep
19103 if test "$ac_res" != no; then :
19104   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19105
19106 fi
19107
19108     fi
19109
19110     case "$ac_cv_search_clock_gettime" in
19111       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19112       ;;
19113     esac
19114     case "$ac_cv_search_nanosleep" in
19115       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19116       ;;
19117     esac
19118
19119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19120 $as_echo_n "checking for library containing sched_yield... " >&6; }
19121 if test "${ac_cv_search_sched_yield+set}" = set; then :
19122   $as_echo_n "(cached) " >&6
19123 else
19124   ac_func_search_save_LIBS=$LIBS
19125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19126 /* end confdefs.h.  */
19127
19128 /* Override any GCC internal prototype to avoid an error.
19129    Use char because int might match the return type of a GCC
19130    builtin and then its argument prototype would still apply.  */
19131 #ifdef __cplusplus
19132 extern "C"
19133 #endif
19134 char sched_yield ();
19135 int
19136 main ()
19137 {
19138 return sched_yield ();
19139   ;
19140   return 0;
19141 }
19142 _ACEOF
19143 for ac_lib in '' rt posix4; do
19144   if test -z "$ac_lib"; then
19145     ac_res="none required"
19146   else
19147     ac_res=-l$ac_lib
19148     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19149   fi
19150   if test x$gcc_no_link = xyes; then
19151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19152 fi
19153 if ac_fn_cxx_try_link "$LINENO"; then :
19154   ac_cv_search_sched_yield=$ac_res
19155 fi
19156 rm -f core conftest.err conftest.$ac_objext \
19157     conftest$ac_exeext
19158   if test "${ac_cv_search_sched_yield+set}" = set; then :
19159   break
19160 fi
19161 done
19162 if test "${ac_cv_search_sched_yield+set}" = set; then :
19163
19164 else
19165   ac_cv_search_sched_yield=no
19166 fi
19167 rm conftest.$ac_ext
19168 LIBS=$ac_func_search_save_LIBS
19169 fi
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19171 $as_echo "$ac_cv_search_sched_yield" >&6; }
19172 ac_res=$ac_cv_search_sched_yield
19173 if test "$ac_res" != no; then :
19174   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19175
19176 fi
19177
19178
19179     case "$ac_cv_search_sched_yield" in
19180       -lposix4*)
19181       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19182
19183 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19184
19185       ;;
19186       -lrt*)
19187       if test x"$enable_libstdcxx_time" = x"rt"; then
19188         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19189
19190 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19191
19192       fi
19193       ;;
19194       *)
19195
19196 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19197
19198       ;;
19199     esac
19200
19201     for ac_header in unistd.h
19202 do :
19203   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19204 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19205   cat >>confdefs.h <<_ACEOF
19206 #define HAVE_UNISTD_H 1
19207 _ACEOF
19208  ac_has_unistd_h=yes
19209 else
19210   ac_has_unistd_h=no
19211 fi
19212
19213 done
19214
19215
19216     if test x"$ac_has_unistd_h" = x"yes"; then
19217       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19218 $as_echo_n "checking for monotonic clock... " >&6; }
19219       if test x$gcc_no_link = xyes; then
19220   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 fi
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h.  */
19224 #include <unistd.h>
19225          #include <time.h>
19226
19227 int
19228 main ()
19229 {
19230 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19231           timespec tp;
19232          #endif
19233           clock_gettime(CLOCK_MONOTONIC, &tp);
19234
19235   ;
19236   return 0;
19237 }
19238 _ACEOF
19239 if ac_fn_cxx_try_link "$LINENO"; then :
19240   ac_has_clock_monotonic=yes
19241 else
19242   ac_has_clock_monotonic=no
19243 fi
19244 rm -f core conftest.err conftest.$ac_objext \
19245     conftest$ac_exeext conftest.$ac_ext
19246
19247       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19248 $as_echo "$ac_has_clock_monotonic" >&6; }
19249
19250       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19251 $as_echo_n "checking for realtime clock... " >&6; }
19252       if test x$gcc_no_link = xyes; then
19253   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19254 fi
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h.  */
19257 #include <unistd.h>
19258          #include <time.h>
19259
19260 int
19261 main ()
19262 {
19263 #if _POSIX_TIMERS > 0
19264           timespec tp;
19265          #endif
19266           clock_gettime(CLOCK_REALTIME, &tp);
19267
19268   ;
19269   return 0;
19270 }
19271 _ACEOF
19272 if ac_fn_cxx_try_link "$LINENO"; then :
19273   ac_has_clock_realtime=yes
19274 else
19275   ac_has_clock_realtime=no
19276 fi
19277 rm -f core conftest.err conftest.$ac_objext \
19278     conftest$ac_exeext conftest.$ac_ext
19279
19280       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19281 $as_echo "$ac_has_clock_realtime" >&6; }
19282
19283       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19284 $as_echo_n "checking for nanosleep... " >&6; }
19285       if test x$gcc_no_link = xyes; then
19286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19287 fi
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h.  */
19290 #include <unistd.h>
19291          #include <time.h>
19292
19293 int
19294 main ()
19295 {
19296 #if _POSIX_TIMERS > 0
19297           timespec tp;
19298          #endif
19299           nanosleep(&tp, 0);
19300
19301   ;
19302   return 0;
19303 }
19304 _ACEOF
19305 if ac_fn_cxx_try_link "$LINENO"; then :
19306   ac_has_nanosleep=yes
19307 else
19308   ac_has_nanosleep=no
19309 fi
19310 rm -f core conftest.err conftest.$ac_objext \
19311     conftest$ac_exeext conftest.$ac_ext
19312
19313       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19314 $as_echo "$ac_has_nanosleep" >&6; }
19315     fi
19316   fi
19317
19318   if test x"$ac_has_clock_monotonic" = x"yes"; then
19319
19320 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19321
19322   fi
19323
19324   if test x"$ac_has_clock_realtime" = x"yes"; then
19325
19326 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19327
19328   fi
19329
19330   if test x"$ac_has_nanosleep" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19333
19334   fi
19335
19336
19337
19338   CXXFLAGS="$ac_save_CXXFLAGS"
19339   LIBS="$ac_save_LIBS"
19340   ac_ext=c
19341 ac_cpp='$CPP $CPPFLAGS'
19342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345
19346
19347
19348 # For gthread support
19349
19350
19351   ac_ext=cpp
19352 ac_cpp='$CXXCPP $CPPFLAGS'
19353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19356
19357
19358   ac_save_CXXFLAGS="$CXXFLAGS"
19359   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19360
19361   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19362   case $target_thread_file in
19363     posix)
19364       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19365   esac
19366
19367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19368 $as_echo_n "checking for gthreads library... " >&6; }
19369
19370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h.  */
19372 #include "gthr.h"
19373 int
19374 main ()
19375 {
19376
19377       #ifndef __GTHREADS_CXX0X
19378       #error
19379       #endif
19380
19381       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19382       #if (defined(_PTHREADS) \
19383            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19384       #error
19385       #endif
19386
19387   ;
19388   return 0;
19389 }
19390 _ACEOF
19391 if ac_fn_cxx_try_compile "$LINENO"; then :
19392   ac_has_gthreads=yes
19393 else
19394   ac_has_gthreads=no
19395 fi
19396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397
19398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19399 $as_echo "$ac_has_gthreads" >&6; }
19400
19401   if test x"$ac_has_gthreads" = x"yes"; then
19402
19403 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19404
19405   fi
19406
19407   CXXFLAGS="$ac_save_CXXFLAGS"
19408   ac_ext=c
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19413
19414
19415
19416
19417   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19418 if test "x$ac_cv_header_locale_h" = x""yes; then :
19419
19420     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19421 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19422 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19423   $as_echo_n "(cached) " >&6
19424 else
19425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h.  */
19427 #include <locale.h>
19428 int
19429 main ()
19430 {
19431 return LC_MESSAGES
19432   ;
19433   return 0;
19434 }
19435 _ACEOF
19436 if ac_fn_c_try_compile "$LINENO"; then :
19437   ac_cv_val_LC_MESSAGES=yes
19438 else
19439   ac_cv_val_LC_MESSAGES=no
19440 fi
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442 fi
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19444 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19445     if test $ac_cv_val_LC_MESSAGES = yes; then
19446
19447 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19448
19449     fi
19450
19451 fi
19452
19453
19454
19455
19456 # Check for available headers.
19457 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19458 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19459 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19460 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19461 wchar.h wctype.h
19462 do :
19463   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19464 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19465 eval as_val=\$$as_ac_Header
19466    if test "x$as_val" = x""yes; then :
19467   cat >>confdefs.h <<_ACEOF
19468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19469 _ACEOF
19470
19471 fi
19472
19473 done
19474
19475
19476 # Only do link tests if native. Else, hardcode.
19477 if $GLIBCXX_IS_NATIVE; then
19478
19479   # We can do more elaborate tests that assume a working linker.
19480   CANADIAN=no
19481
19482
19483
19484 # Check whether --with-gnu-ld was given.
19485 if test "${with_gnu_ld+set}" = set; then :
19486   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19487 else
19488   with_gnu_ld=no
19489 fi
19490
19491 ac_prog=ld
19492 if test "$GCC" = yes; then
19493   # Check if gcc -print-prog-name=ld gives a path.
19494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19495 $as_echo_n "checking for ld used by $CC... " >&6; }
19496   case $host in
19497   *-*-mingw*)
19498     # gcc leaves a trailing carriage return which upsets mingw
19499     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19500   *)
19501     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19502   esac
19503   case $ac_prog in
19504     # Accept absolute paths.
19505     [\\/]* | ?:[\\/]*)
19506       re_direlt='/[^/][^/]*/\.\./'
19507       # Canonicalize the pathname of ld
19508       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19509       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19510         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19511       done
19512       test -z "$LD" && LD="$ac_prog"
19513       ;;
19514   "")
19515     # If it fails, then pretend we aren't using GCC.
19516     ac_prog=ld
19517     ;;
19518   *)
19519     # If it is relative, then search for the first ld in PATH.
19520     with_gnu_ld=unknown
19521     ;;
19522   esac
19523 elif test "$with_gnu_ld" = yes; then
19524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19525 $as_echo_n "checking for GNU ld... " >&6; }
19526 else
19527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19528 $as_echo_n "checking for non-GNU ld... " >&6; }
19529 fi
19530 if test "${lt_cv_path_LD+set}" = set; then :
19531   $as_echo_n "(cached) " >&6
19532 else
19533   if test -z "$LD"; then
19534   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19535   for ac_dir in $PATH; do
19536     IFS="$lt_save_ifs"
19537     test -z "$ac_dir" && ac_dir=.
19538     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19539       lt_cv_path_LD="$ac_dir/$ac_prog"
19540       # Check to see if the program is GNU ld.  I'd rather use --version,
19541       # but apparently some variants of GNU ld only accept -v.
19542       # Break only if it was the GNU/non-GNU ld that we prefer.
19543       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19544       *GNU* | *'with BFD'*)
19545         test "$with_gnu_ld" != no && break
19546         ;;
19547       *)
19548         test "$with_gnu_ld" != yes && break
19549         ;;
19550       esac
19551     fi
19552   done
19553   IFS="$lt_save_ifs"
19554 else
19555   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19556 fi
19557 fi
19558
19559 LD="$lt_cv_path_LD"
19560 if test -n "$LD"; then
19561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19562 $as_echo "$LD" >&6; }
19563 else
19564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19565 $as_echo "no" >&6; }
19566 fi
19567 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19569 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19570 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19571   $as_echo_n "(cached) " >&6
19572 else
19573   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19574 case `$LD -v 2>&1 </dev/null` in
19575 *GNU* | *'with BFD'*)
19576   lt_cv_prog_gnu_ld=yes
19577   ;;
19578 *)
19579   lt_cv_prog_gnu_ld=no
19580   ;;
19581 esac
19582 fi
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19584 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19585 with_gnu_ld=$lt_cv_prog_gnu_ld
19586
19587
19588
19589
19590
19591
19592
19593   # If we're not using GNU ld, then there's no point in even trying these
19594   # tests.  Check for that first.  We should have already tested for gld
19595   # by now (in libtool), but require it now just to be safe...
19596   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19597   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19598
19599
19600
19601   # The name set by libtool depends on the version of libtool.  Shame on us
19602   # for depending on an impl detail, but c'est la vie.  Older versions used
19603   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19604   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19605   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19606   # set (hence we're using an older libtool), then set it.
19607   if test x${with_gnu_ld+set} != xset; then
19608     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19609       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19610       with_gnu_ld=no
19611     else
19612       with_gnu_ld=$ac_cv_prog_gnu_ld
19613     fi
19614   fi
19615
19616   # Start by getting the version number.  I think the libtool test already
19617   # does some of this, but throws away the result.
19618   glibcxx_ld_is_gold=no
19619   if test x"$with_gnu_ld" = x"yes"; then
19620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19621 $as_echo_n "checking for ld version... " >&6; }
19622
19623     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19624       glibcxx_ld_is_gold=yes
19625     fi
19626     ldver=`$LD --version 2>/dev/null |
19627            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'`
19628
19629     glibcxx_gnu_ld_version=`echo $ldver | \
19630            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19631     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19632 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19633   fi
19634
19635   # Set --gc-sections.
19636   glibcxx_have_gc_sections=no
19637   if test "$glibcxx_ld_is_gold" = "yes"; then
19638     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19639       glibcxx_have_gc_sections=yes
19640     fi
19641   else
19642     glibcxx_gcsections_min_ld=21602
19643     if test x"$with_gnu_ld" = x"yes" &&
19644         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19645       glibcxx_have_gc_sections=yes
19646     fi
19647   fi
19648   if test "$glibcxx_have_gc_sections" = "yes"; then
19649     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19650     # NB: This flag only works reliably after 2.16.1. Configure tests
19651     # for this are difficult, so hard wire a value that should work.
19652
19653     ac_test_CFLAGS="${CFLAGS+set}"
19654     ac_save_CFLAGS="$CFLAGS"
19655     CFLAGS='-Wl,--gc-sections'
19656
19657     # Check for -Wl,--gc-sections
19658     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19659 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19660     if test x$gcc_no_link = xyes; then
19661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19662 fi
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h.  */
19665  int one(void) { return 1; }
19666      int two(void) { return 2; }
19667
19668 int
19669 main ()
19670 {
19671  two();
19672   ;
19673   return 0;
19674 }
19675 _ACEOF
19676 if ac_fn_c_try_link "$LINENO"; then :
19677   ac_gcsections=yes
19678 else
19679   ac_gcsections=no
19680 fi
19681 rm -f core conftest.err conftest.$ac_objext \
19682     conftest$ac_exeext conftest.$ac_ext
19683     if test "$ac_gcsections" = "yes"; then
19684       rm -f conftest.c
19685       touch conftest.c
19686       if $CC -c conftest.c; then
19687         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19688            grep "Warning: gc-sections option ignored" > /dev/null; then
19689           ac_gcsections=no
19690         fi
19691       fi
19692       rm -f conftest.c conftest.o conftest
19693     fi
19694     if test "$ac_gcsections" = "yes"; then
19695       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19696     fi
19697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19698 $as_echo "$ac_gcsections" >&6; }
19699
19700     if test "$ac_test_CFLAGS" = set; then
19701       CFLAGS="$ac_save_CFLAGS"
19702     else
19703       # this is the suspicious part
19704       CFLAGS=''
19705     fi
19706   fi
19707
19708   # Set -z,relro.
19709   # Note this is only for shared objects.
19710   ac_ld_relro=no
19711   if test x"$with_gnu_ld" = x"yes"; then
19712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19713 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19714     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19715     if test -n "$cxx_z_relo"; then
19716       OPT_LDFLAGS="-Wl,-z,relro"
19717       ac_ld_relro=yes
19718     fi
19719     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19720 $as_echo "$ac_ld_relro" >&6; }
19721   fi
19722
19723   # Set linker optimization flags.
19724   if test x"$with_gnu_ld" = x"yes"; then
19725     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19726   fi
19727
19728
19729
19730
19731
19732   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19733   ac_save_CXXFLAGS="$CXXFLAGS"
19734   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19735
19736     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19737 $as_echo_n "checking for sin in -lm... " >&6; }
19738 if test "${ac_cv_lib_m_sin+set}" = set; then :
19739   $as_echo_n "(cached) " >&6
19740 else
19741   ac_check_lib_save_LIBS=$LIBS
19742 LIBS="-lm  $LIBS"
19743 if test x$gcc_no_link = xyes; then
19744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19745 fi
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h.  */
19748
19749 /* Override any GCC internal prototype to avoid an error.
19750    Use char because int might match the return type of a GCC
19751    builtin and then its argument prototype would still apply.  */
19752 #ifdef __cplusplus
19753 extern "C"
19754 #endif
19755 char sin ();
19756 int
19757 main ()
19758 {
19759 return sin ();
19760   ;
19761   return 0;
19762 }
19763 _ACEOF
19764 if ac_fn_c_try_link "$LINENO"; then :
19765   ac_cv_lib_m_sin=yes
19766 else
19767   ac_cv_lib_m_sin=no
19768 fi
19769 rm -f core conftest.err conftest.$ac_objext \
19770     conftest$ac_exeext conftest.$ac_ext
19771 LIBS=$ac_check_lib_save_LIBS
19772 fi
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19774 $as_echo "$ac_cv_lib_m_sin" >&6; }
19775 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19776   libm="-lm"
19777 fi
19778
19779   ac_save_LIBS="$LIBS"
19780   LIBS="$LIBS $libm"
19781
19782
19783
19784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19785 $as_echo_n "checking for isinf declaration... " >&6; }
19786   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19787     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19788   $as_echo_n "(cached) " >&6
19789 else
19790
19791
19792       ac_ext=cpp
19793 ac_cpp='$CXXCPP $CPPFLAGS'
19794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19797
19798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h.  */
19800 #include <math.h>
19801                       #ifdef HAVE_IEEEFP_H
19802                       #include <ieeefp.h>
19803                       #endif
19804
19805 int
19806 main ()
19807 {
19808  isinf(0);
19809   ;
19810   return 0;
19811 }
19812 _ACEOF
19813 if ac_fn_cxx_try_compile "$LINENO"; then :
19814   glibcxx_cv_func_isinf_use=yes
19815 else
19816   glibcxx_cv_func_isinf_use=no
19817 fi
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819       ac_ext=c
19820 ac_cpp='$CPP $CPPFLAGS'
19821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19824
19825
19826 fi
19827
19828   fi
19829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19830 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19831
19832   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19833     for ac_func in isinf
19834 do :
19835   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19836 if test "x$ac_cv_func_isinf" = x""yes; then :
19837   cat >>confdefs.h <<_ACEOF
19838 #define HAVE_ISINF 1
19839 _ACEOF
19840
19841 fi
19842 done
19843
19844   else
19845
19846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19847 $as_echo_n "checking for _isinf declaration... " >&6; }
19848   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19849     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19850   $as_echo_n "(cached) " >&6
19851 else
19852
19853
19854       ac_ext=cpp
19855 ac_cpp='$CXXCPP $CPPFLAGS'
19856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19859
19860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h.  */
19862 #include <math.h>
19863                       #ifdef HAVE_IEEEFP_H
19864                       #include <ieeefp.h>
19865                       #endif
19866
19867 int
19868 main ()
19869 {
19870  _isinf(0);
19871   ;
19872   return 0;
19873 }
19874 _ACEOF
19875 if ac_fn_cxx_try_compile "$LINENO"; then :
19876   glibcxx_cv_func__isinf_use=yes
19877 else
19878   glibcxx_cv_func__isinf_use=no
19879 fi
19880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881       ac_ext=c
19882 ac_cpp='$CPP $CPPFLAGS'
19883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19886
19887
19888 fi
19889
19890   fi
19891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19892 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19893
19894     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19895       for ac_func in _isinf
19896 do :
19897   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19898 if test "x$ac_cv_func__isinf" = x""yes; then :
19899   cat >>confdefs.h <<_ACEOF
19900 #define HAVE__ISINF 1
19901 _ACEOF
19902
19903 fi
19904 done
19905
19906     fi
19907   fi
19908
19909
19910
19911
19912
19913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19914 $as_echo_n "checking for isnan declaration... " >&6; }
19915   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19916     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19917   $as_echo_n "(cached) " >&6
19918 else
19919
19920
19921       ac_ext=cpp
19922 ac_cpp='$CXXCPP $CPPFLAGS'
19923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19926
19927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h.  */
19929 #include <math.h>
19930                       #ifdef HAVE_IEEEFP_H
19931                       #include <ieeefp.h>
19932                       #endif
19933
19934 int
19935 main ()
19936 {
19937  isnan(0);
19938   ;
19939   return 0;
19940 }
19941 _ACEOF
19942 if ac_fn_cxx_try_compile "$LINENO"; then :
19943   glibcxx_cv_func_isnan_use=yes
19944 else
19945   glibcxx_cv_func_isnan_use=no
19946 fi
19947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948       ac_ext=c
19949 ac_cpp='$CPP $CPPFLAGS'
19950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19953
19954
19955 fi
19956
19957   fi
19958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19959 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19960
19961   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19962     for ac_func in isnan
19963 do :
19964   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19965 if test "x$ac_cv_func_isnan" = x""yes; then :
19966   cat >>confdefs.h <<_ACEOF
19967 #define HAVE_ISNAN 1
19968 _ACEOF
19969
19970 fi
19971 done
19972
19973   else
19974
19975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19976 $as_echo_n "checking for _isnan declaration... " >&6; }
19977   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19978     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19979   $as_echo_n "(cached) " >&6
19980 else
19981
19982
19983       ac_ext=cpp
19984 ac_cpp='$CXXCPP $CPPFLAGS'
19985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19988
19989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h.  */
19991 #include <math.h>
19992                       #ifdef HAVE_IEEEFP_H
19993                       #include <ieeefp.h>
19994                       #endif
19995
19996 int
19997 main ()
19998 {
19999  _isnan(0);
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_cxx_try_compile "$LINENO"; then :
20005   glibcxx_cv_func__isnan_use=yes
20006 else
20007   glibcxx_cv_func__isnan_use=no
20008 fi
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010       ac_ext=c
20011 ac_cpp='$CPP $CPPFLAGS'
20012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20015
20016
20017 fi
20018
20019   fi
20020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20021 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20022
20023     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20024       for ac_func in _isnan
20025 do :
20026   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20027 if test "x$ac_cv_func__isnan" = x""yes; then :
20028   cat >>confdefs.h <<_ACEOF
20029 #define HAVE__ISNAN 1
20030 _ACEOF
20031
20032 fi
20033 done
20034
20035     fi
20036   fi
20037
20038
20039
20040
20041
20042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20043 $as_echo_n "checking for finite declaration... " >&6; }
20044   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20045     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20046   $as_echo_n "(cached) " >&6
20047 else
20048
20049
20050       ac_ext=cpp
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20055
20056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h.  */
20058 #include <math.h>
20059                       #ifdef HAVE_IEEEFP_H
20060                       #include <ieeefp.h>
20061                       #endif
20062
20063 int
20064 main ()
20065 {
20066  finite(0);
20067   ;
20068   return 0;
20069 }
20070 _ACEOF
20071 if ac_fn_cxx_try_compile "$LINENO"; then :
20072   glibcxx_cv_func_finite_use=yes
20073 else
20074   glibcxx_cv_func_finite_use=no
20075 fi
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077       ac_ext=c
20078 ac_cpp='$CPP $CPPFLAGS'
20079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20082
20083
20084 fi
20085
20086   fi
20087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20088 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20089
20090   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20091     for ac_func in finite
20092 do :
20093   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20094 if test "x$ac_cv_func_finite" = x""yes; then :
20095   cat >>confdefs.h <<_ACEOF
20096 #define HAVE_FINITE 1
20097 _ACEOF
20098
20099 fi
20100 done
20101
20102   else
20103
20104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20105 $as_echo_n "checking for _finite declaration... " >&6; }
20106   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20107     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20108   $as_echo_n "(cached) " >&6
20109 else
20110
20111
20112       ac_ext=cpp
20113 ac_cpp='$CXXCPP $CPPFLAGS'
20114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20117
20118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h.  */
20120 #include <math.h>
20121                       #ifdef HAVE_IEEEFP_H
20122                       #include <ieeefp.h>
20123                       #endif
20124
20125 int
20126 main ()
20127 {
20128  _finite(0);
20129   ;
20130   return 0;
20131 }
20132 _ACEOF
20133 if ac_fn_cxx_try_compile "$LINENO"; then :
20134   glibcxx_cv_func__finite_use=yes
20135 else
20136   glibcxx_cv_func__finite_use=no
20137 fi
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139       ac_ext=c
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20144
20145
20146 fi
20147
20148   fi
20149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20150 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20151
20152     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20153       for ac_func in _finite
20154 do :
20155   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20156 if test "x$ac_cv_func__finite" = x""yes; then :
20157   cat >>confdefs.h <<_ACEOF
20158 #define HAVE__FINITE 1
20159 _ACEOF
20160
20161 fi
20162 done
20163
20164     fi
20165   fi
20166
20167
20168
20169
20170
20171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20172 $as_echo_n "checking for sincos declaration... " >&6; }
20173   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20174     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20175   $as_echo_n "(cached) " >&6
20176 else
20177
20178
20179       ac_ext=cpp
20180 ac_cpp='$CXXCPP $CPPFLAGS'
20181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20184
20185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h.  */
20187 #include <math.h>
20188 int
20189 main ()
20190 {
20191  sincos(0, 0, 0);
20192   ;
20193   return 0;
20194 }
20195 _ACEOF
20196 if ac_fn_cxx_try_compile "$LINENO"; then :
20197   glibcxx_cv_func_sincos_use=yes
20198 else
20199   glibcxx_cv_func_sincos_use=no
20200 fi
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20202       ac_ext=c
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20207
20208
20209 fi
20210
20211   fi
20212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20213 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20214
20215   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20216     for ac_func in sincos
20217 do :
20218   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20219 if test "x$ac_cv_func_sincos" = x""yes; then :
20220   cat >>confdefs.h <<_ACEOF
20221 #define HAVE_SINCOS 1
20222 _ACEOF
20223
20224 fi
20225 done
20226
20227   else
20228
20229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20230 $as_echo_n "checking for _sincos declaration... " >&6; }
20231   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20232     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20233   $as_echo_n "(cached) " >&6
20234 else
20235
20236
20237       ac_ext=cpp
20238 ac_cpp='$CXXCPP $CPPFLAGS'
20239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20242
20243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h.  */
20245 #include <math.h>
20246 int
20247 main ()
20248 {
20249  _sincos(0, 0, 0);
20250   ;
20251   return 0;
20252 }
20253 _ACEOF
20254 if ac_fn_cxx_try_compile "$LINENO"; then :
20255   glibcxx_cv_func__sincos_use=yes
20256 else
20257   glibcxx_cv_func__sincos_use=no
20258 fi
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260       ac_ext=c
20261 ac_cpp='$CPP $CPPFLAGS'
20262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20265
20266
20267 fi
20268
20269   fi
20270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20271 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20272
20273     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20274       for ac_func in _sincos
20275 do :
20276   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20277 if test "x$ac_cv_func__sincos" = x""yes; then :
20278   cat >>confdefs.h <<_ACEOF
20279 #define HAVE__SINCOS 1
20280 _ACEOF
20281
20282 fi
20283 done
20284
20285     fi
20286   fi
20287
20288
20289
20290
20291
20292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20293 $as_echo_n "checking for fpclass declaration... " >&6; }
20294   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20295     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20296   $as_echo_n "(cached) " >&6
20297 else
20298
20299
20300       ac_ext=cpp
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20305
20306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h.  */
20308 #include <math.h>
20309                       #ifdef HAVE_IEEEFP_H
20310                       #include <ieeefp.h>
20311                       #endif
20312
20313 int
20314 main ()
20315 {
20316  fpclass(0);
20317   ;
20318   return 0;
20319 }
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322   glibcxx_cv_func_fpclass_use=yes
20323 else
20324   glibcxx_cv_func_fpclass_use=no
20325 fi
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327       ac_ext=c
20328 ac_cpp='$CPP $CPPFLAGS'
20329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20332
20333
20334 fi
20335
20336   fi
20337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20338 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20339
20340   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20341     for ac_func in fpclass
20342 do :
20343   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20344 if test "x$ac_cv_func_fpclass" = x""yes; then :
20345   cat >>confdefs.h <<_ACEOF
20346 #define HAVE_FPCLASS 1
20347 _ACEOF
20348
20349 fi
20350 done
20351
20352   else
20353
20354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20355 $as_echo_n "checking for _fpclass declaration... " >&6; }
20356   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20357     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20358   $as_echo_n "(cached) " >&6
20359 else
20360
20361
20362       ac_ext=cpp
20363 ac_cpp='$CXXCPP $CPPFLAGS'
20364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20367
20368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20369 /* end confdefs.h.  */
20370 #include <math.h>
20371                       #ifdef HAVE_IEEEFP_H
20372                       #include <ieeefp.h>
20373                       #endif
20374
20375 int
20376 main ()
20377 {
20378  _fpclass(0);
20379   ;
20380   return 0;
20381 }
20382 _ACEOF
20383 if ac_fn_cxx_try_compile "$LINENO"; then :
20384   glibcxx_cv_func__fpclass_use=yes
20385 else
20386   glibcxx_cv_func__fpclass_use=no
20387 fi
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20389       ac_ext=c
20390 ac_cpp='$CPP $CPPFLAGS'
20391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20394
20395
20396 fi
20397
20398   fi
20399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20400 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20401
20402     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20403       for ac_func in _fpclass
20404 do :
20405   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20406 if test "x$ac_cv_func__fpclass" = x""yes; then :
20407   cat >>confdefs.h <<_ACEOF
20408 #define HAVE__FPCLASS 1
20409 _ACEOF
20410
20411 fi
20412 done
20413
20414     fi
20415   fi
20416
20417
20418
20419
20420
20421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20422 $as_echo_n "checking for qfpclass declaration... " >&6; }
20423   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20424     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20425   $as_echo_n "(cached) " >&6
20426 else
20427
20428
20429       ac_ext=cpp
20430 ac_cpp='$CXXCPP $CPPFLAGS'
20431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20434
20435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h.  */
20437 #include <math.h>
20438                       #ifdef HAVE_IEEEFP_H
20439                       #include <ieeefp.h>
20440                       #endif
20441
20442 int
20443 main ()
20444 {
20445  qfpclass(0);
20446   ;
20447   return 0;
20448 }
20449 _ACEOF
20450 if ac_fn_cxx_try_compile "$LINENO"; then :
20451   glibcxx_cv_func_qfpclass_use=yes
20452 else
20453   glibcxx_cv_func_qfpclass_use=no
20454 fi
20455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20456       ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461
20462
20463 fi
20464
20465   fi
20466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20467 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20468
20469   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20470     for ac_func in qfpclass
20471 do :
20472   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20473 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20474   cat >>confdefs.h <<_ACEOF
20475 #define HAVE_QFPCLASS 1
20476 _ACEOF
20477
20478 fi
20479 done
20480
20481   else
20482
20483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20484 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20485   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20486     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20487   $as_echo_n "(cached) " >&6
20488 else
20489
20490
20491       ac_ext=cpp
20492 ac_cpp='$CXXCPP $CPPFLAGS'
20493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20496
20497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h.  */
20499 #include <math.h>
20500                       #ifdef HAVE_IEEEFP_H
20501                       #include <ieeefp.h>
20502                       #endif
20503
20504 int
20505 main ()
20506 {
20507  _qfpclass(0);
20508   ;
20509   return 0;
20510 }
20511 _ACEOF
20512 if ac_fn_cxx_try_compile "$LINENO"; then :
20513   glibcxx_cv_func__qfpclass_use=yes
20514 else
20515   glibcxx_cv_func__qfpclass_use=no
20516 fi
20517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20518       ac_ext=c
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20523
20524
20525 fi
20526
20527   fi
20528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20529 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20530
20531     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20532       for ac_func in _qfpclass
20533 do :
20534   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20535 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20536   cat >>confdefs.h <<_ACEOF
20537 #define HAVE__QFPCLASS 1
20538 _ACEOF
20539
20540 fi
20541 done
20542
20543     fi
20544   fi
20545
20546
20547
20548
20549
20550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20551 $as_echo_n "checking for hypot declaration... " >&6; }
20552   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20553     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20554   $as_echo_n "(cached) " >&6
20555 else
20556
20557
20558       ac_ext=cpp
20559 ac_cpp='$CXXCPP $CPPFLAGS'
20560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20563
20564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h.  */
20566 #include <math.h>
20567 int
20568 main ()
20569 {
20570  hypot(0, 0);
20571   ;
20572   return 0;
20573 }
20574 _ACEOF
20575 if ac_fn_cxx_try_compile "$LINENO"; then :
20576   glibcxx_cv_func_hypot_use=yes
20577 else
20578   glibcxx_cv_func_hypot_use=no
20579 fi
20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581       ac_ext=c
20582 ac_cpp='$CPP $CPPFLAGS'
20583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20586
20587
20588 fi
20589
20590   fi
20591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20592 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20593
20594   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20595     for ac_func in hypot
20596 do :
20597   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20598 if test "x$ac_cv_func_hypot" = x""yes; then :
20599   cat >>confdefs.h <<_ACEOF
20600 #define HAVE_HYPOT 1
20601 _ACEOF
20602
20603 fi
20604 done
20605
20606   else
20607
20608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20609 $as_echo_n "checking for _hypot declaration... " >&6; }
20610   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20611     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20612   $as_echo_n "(cached) " >&6
20613 else
20614
20615
20616       ac_ext=cpp
20617 ac_cpp='$CXXCPP $CPPFLAGS'
20618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20621
20622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h.  */
20624 #include <math.h>
20625 int
20626 main ()
20627 {
20628  _hypot(0, 0);
20629   ;
20630   return 0;
20631 }
20632 _ACEOF
20633 if ac_fn_cxx_try_compile "$LINENO"; then :
20634   glibcxx_cv_func__hypot_use=yes
20635 else
20636   glibcxx_cv_func__hypot_use=no
20637 fi
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639       ac_ext=c
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20644
20645
20646 fi
20647
20648   fi
20649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20650 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20651
20652     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20653       for ac_func in _hypot
20654 do :
20655   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20656 if test "x$ac_cv_func__hypot" = x""yes; then :
20657   cat >>confdefs.h <<_ACEOF
20658 #define HAVE__HYPOT 1
20659 _ACEOF
20660
20661 fi
20662 done
20663
20664     fi
20665   fi
20666
20667
20668
20669
20670
20671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20672 $as_echo_n "checking for float trig functions... " >&6; }
20673   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20674   $as_echo_n "(cached) " >&6
20675 else
20676
20677
20678     ac_ext=cpp
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20683
20684     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h.  */
20686 #include <math.h>
20687 int
20688 main ()
20689 {
20690 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20691   ;
20692   return 0;
20693 }
20694 _ACEOF
20695 if ac_fn_cxx_try_compile "$LINENO"; then :
20696   glibcxx_cv_func_float_trig_use=yes
20697 else
20698   glibcxx_cv_func_float_trig_use=no
20699 fi
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701     ac_ext=c
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20706
20707 fi
20708
20709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20710 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20711   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20712     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20713 do :
20714   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20716 eval as_val=\$$as_ac_var
20717    if test "x$as_val" = x""yes; then :
20718   cat >>confdefs.h <<_ACEOF
20719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20720 _ACEOF
20721
20722 fi
20723 done
20724
20725   else
20726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20727 $as_echo_n "checking for _float trig functions... " >&6; }
20728     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20729   $as_echo_n "(cached) " >&6
20730 else
20731
20732
20733       ac_ext=cpp
20734 ac_cpp='$CXXCPP $CPPFLAGS'
20735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20738
20739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20740 /* end confdefs.h.  */
20741 #include <math.h>
20742 int
20743 main ()
20744 {
20745 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20746   ;
20747   return 0;
20748 }
20749 _ACEOF
20750 if ac_fn_cxx_try_compile "$LINENO"; then :
20751   glibcxx_cv_func__float_trig_use=yes
20752 else
20753   glibcxx_cv_func__float_trig_use=no
20754 fi
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756       ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20761
20762 fi
20763
20764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20765 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20766     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20767       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20768 do :
20769   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20771 eval as_val=\$$as_ac_var
20772    if test "x$as_val" = x""yes; then :
20773   cat >>confdefs.h <<_ACEOF
20774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20775 _ACEOF
20776
20777 fi
20778 done
20779
20780     fi
20781   fi
20782
20783
20784
20785
20786
20787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20788 $as_echo_n "checking for float round functions... " >&6; }
20789   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20790   $as_echo_n "(cached) " >&6
20791 else
20792
20793
20794     ac_ext=cpp
20795 ac_cpp='$CXXCPP $CPPFLAGS'
20796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20799
20800     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20801 /* end confdefs.h.  */
20802 #include <math.h>
20803 int
20804 main ()
20805 {
20806 ceilf (0); floorf (0);
20807   ;
20808   return 0;
20809 }
20810 _ACEOF
20811 if ac_fn_cxx_try_compile "$LINENO"; then :
20812   glibcxx_cv_func_float_round_use=yes
20813 else
20814   glibcxx_cv_func_float_round_use=no
20815 fi
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817     ac_ext=c
20818 ac_cpp='$CPP $CPPFLAGS'
20819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822
20823 fi
20824
20825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20826 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20827   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20828     for ac_func in ceilf floorf
20829 do :
20830   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20832 eval as_val=\$$as_ac_var
20833    if test "x$as_val" = x""yes; then :
20834   cat >>confdefs.h <<_ACEOF
20835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20836 _ACEOF
20837
20838 fi
20839 done
20840
20841   else
20842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20843 $as_echo_n "checking for _float round functions... " >&6; }
20844     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20845   $as_echo_n "(cached) " >&6
20846 else
20847
20848
20849       ac_ext=cpp
20850 ac_cpp='$CXXCPP $CPPFLAGS'
20851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20854
20855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h.  */
20857 #include <math.h>
20858 int
20859 main ()
20860 {
20861 _ceilf (0); _floorf (0);
20862   ;
20863   return 0;
20864 }
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867   glibcxx_cv_func__float_round_use=yes
20868 else
20869   glibcxx_cv_func__float_round_use=no
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872       ac_ext=c
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877
20878 fi
20879
20880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20881 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20882     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20883       for ac_func in _ceilf _floorf
20884 do :
20885   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20887 eval as_val=\$$as_ac_var
20888    if test "x$as_val" = x""yes; then :
20889   cat >>confdefs.h <<_ACEOF
20890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20891 _ACEOF
20892
20893 fi
20894 done
20895
20896     fi
20897   fi
20898
20899
20900
20901
20902
20903
20904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20905 $as_echo_n "checking for expf declaration... " >&6; }
20906   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20907     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20908   $as_echo_n "(cached) " >&6
20909 else
20910
20911
20912       ac_ext=cpp
20913 ac_cpp='$CXXCPP $CPPFLAGS'
20914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20917
20918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h.  */
20920 #include <math.h>
20921                       #ifdef HAVE_IEEEFP_H
20922                       #include <ieeefp.h>
20923                       #endif
20924
20925 int
20926 main ()
20927 {
20928  expf(0);
20929   ;
20930   return 0;
20931 }
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934   glibcxx_cv_func_expf_use=yes
20935 else
20936   glibcxx_cv_func_expf_use=no
20937 fi
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939       ac_ext=c
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20944
20945
20946 fi
20947
20948   fi
20949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20950 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20951
20952   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20953     for ac_func in expf
20954 do :
20955   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20956 if test "x$ac_cv_func_expf" = x""yes; then :
20957   cat >>confdefs.h <<_ACEOF
20958 #define HAVE_EXPF 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964   else
20965
20966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20967 $as_echo_n "checking for _expf declaration... " >&6; }
20968   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20969     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20970   $as_echo_n "(cached) " >&6
20971 else
20972
20973
20974       ac_ext=cpp
20975 ac_cpp='$CXXCPP $CPPFLAGS'
20976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20979
20980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h.  */
20982 #include <math.h>
20983                       #ifdef HAVE_IEEEFP_H
20984                       #include <ieeefp.h>
20985                       #endif
20986
20987 int
20988 main ()
20989 {
20990  _expf(0);
20991   ;
20992   return 0;
20993 }
20994 _ACEOF
20995 if ac_fn_cxx_try_compile "$LINENO"; then :
20996   glibcxx_cv_func__expf_use=yes
20997 else
20998   glibcxx_cv_func__expf_use=no
20999 fi
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001       ac_ext=c
21002 ac_cpp='$CPP $CPPFLAGS'
21003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21006
21007
21008 fi
21009
21010   fi
21011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21012 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21013
21014     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21015       for ac_func in _expf
21016 do :
21017   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21018 if test "x$ac_cv_func__expf" = x""yes; then :
21019   cat >>confdefs.h <<_ACEOF
21020 #define HAVE__EXPF 1
21021 _ACEOF
21022
21023 fi
21024 done
21025
21026     fi
21027   fi
21028
21029
21030
21031
21032
21033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21034 $as_echo_n "checking for isnanf declaration... " >&6; }
21035   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21036     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21037   $as_echo_n "(cached) " >&6
21038 else
21039
21040
21041       ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21046
21047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h.  */
21049 #include <math.h>
21050                       #ifdef HAVE_IEEEFP_H
21051                       #include <ieeefp.h>
21052                       #endif
21053
21054 int
21055 main ()
21056 {
21057  isnanf(0);
21058   ;
21059   return 0;
21060 }
21061 _ACEOF
21062 if ac_fn_cxx_try_compile "$LINENO"; then :
21063   glibcxx_cv_func_isnanf_use=yes
21064 else
21065   glibcxx_cv_func_isnanf_use=no
21066 fi
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068       ac_ext=c
21069 ac_cpp='$CPP $CPPFLAGS'
21070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073
21074
21075 fi
21076
21077   fi
21078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21079 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21080
21081   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21082     for ac_func in isnanf
21083 do :
21084   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21085 if test "x$ac_cv_func_isnanf" = x""yes; then :
21086   cat >>confdefs.h <<_ACEOF
21087 #define HAVE_ISNANF 1
21088 _ACEOF
21089
21090 fi
21091 done
21092
21093   else
21094
21095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21096 $as_echo_n "checking for _isnanf declaration... " >&6; }
21097   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21098     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21099   $as_echo_n "(cached) " >&6
21100 else
21101
21102
21103       ac_ext=cpp
21104 ac_cpp='$CXXCPP $CPPFLAGS'
21105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21108
21109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h.  */
21111 #include <math.h>
21112                       #ifdef HAVE_IEEEFP_H
21113                       #include <ieeefp.h>
21114                       #endif
21115
21116 int
21117 main ()
21118 {
21119  _isnanf(0);
21120   ;
21121   return 0;
21122 }
21123 _ACEOF
21124 if ac_fn_cxx_try_compile "$LINENO"; then :
21125   glibcxx_cv_func__isnanf_use=yes
21126 else
21127   glibcxx_cv_func__isnanf_use=no
21128 fi
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21130       ac_ext=c
21131 ac_cpp='$CPP $CPPFLAGS'
21132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21135
21136
21137 fi
21138
21139   fi
21140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21141 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21142
21143     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21144       for ac_func in _isnanf
21145 do :
21146   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21147 if test "x$ac_cv_func__isnanf" = x""yes; then :
21148   cat >>confdefs.h <<_ACEOF
21149 #define HAVE__ISNANF 1
21150 _ACEOF
21151
21152 fi
21153 done
21154
21155     fi
21156   fi
21157
21158
21159
21160
21161
21162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21163 $as_echo_n "checking for isinff declaration... " >&6; }
21164   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21165     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21166   $as_echo_n "(cached) " >&6
21167 else
21168
21169
21170       ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21175
21176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h.  */
21178 #include <math.h>
21179                       #ifdef HAVE_IEEEFP_H
21180                       #include <ieeefp.h>
21181                       #endif
21182
21183 int
21184 main ()
21185 {
21186  isinff(0);
21187   ;
21188   return 0;
21189 }
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192   glibcxx_cv_func_isinff_use=yes
21193 else
21194   glibcxx_cv_func_isinff_use=no
21195 fi
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197       ac_ext=c
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21202
21203
21204 fi
21205
21206   fi
21207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21208 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21209
21210   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21211     for ac_func in isinff
21212 do :
21213   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21214 if test "x$ac_cv_func_isinff" = x""yes; then :
21215   cat >>confdefs.h <<_ACEOF
21216 #define HAVE_ISINFF 1
21217 _ACEOF
21218
21219 fi
21220 done
21221
21222   else
21223
21224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21225 $as_echo_n "checking for _isinff declaration... " >&6; }
21226   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21227     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21228   $as_echo_n "(cached) " >&6
21229 else
21230
21231
21232       ac_ext=cpp
21233 ac_cpp='$CXXCPP $CPPFLAGS'
21234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237
21238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h.  */
21240 #include <math.h>
21241                       #ifdef HAVE_IEEEFP_H
21242                       #include <ieeefp.h>
21243                       #endif
21244
21245 int
21246 main ()
21247 {
21248  _isinff(0);
21249   ;
21250   return 0;
21251 }
21252 _ACEOF
21253 if ac_fn_cxx_try_compile "$LINENO"; then :
21254   glibcxx_cv_func__isinff_use=yes
21255 else
21256   glibcxx_cv_func__isinff_use=no
21257 fi
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259       ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
21265
21266 fi
21267
21268   fi
21269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21270 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21271
21272     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21273       for ac_func in _isinff
21274 do :
21275   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21276 if test "x$ac_cv_func__isinff" = x""yes; then :
21277   cat >>confdefs.h <<_ACEOF
21278 #define HAVE__ISINFF 1
21279 _ACEOF
21280
21281 fi
21282 done
21283
21284     fi
21285   fi
21286
21287
21288
21289
21290
21291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21292 $as_echo_n "checking for atan2f declaration... " >&6; }
21293   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21294     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21295   $as_echo_n "(cached) " >&6
21296 else
21297
21298
21299       ac_ext=cpp
21300 ac_cpp='$CXXCPP $CPPFLAGS'
21301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21304
21305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h.  */
21307 #include <math.h>
21308 int
21309 main ()
21310 {
21311  atan2f(0, 0);
21312   ;
21313   return 0;
21314 }
21315 _ACEOF
21316 if ac_fn_cxx_try_compile "$LINENO"; then :
21317   glibcxx_cv_func_atan2f_use=yes
21318 else
21319   glibcxx_cv_func_atan2f_use=no
21320 fi
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322       ac_ext=c
21323 ac_cpp='$CPP $CPPFLAGS'
21324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21327
21328
21329 fi
21330
21331   fi
21332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21333 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21334
21335   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21336     for ac_func in atan2f
21337 do :
21338   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21339 if test "x$ac_cv_func_atan2f" = x""yes; then :
21340   cat >>confdefs.h <<_ACEOF
21341 #define HAVE_ATAN2F 1
21342 _ACEOF
21343
21344 fi
21345 done
21346
21347   else
21348
21349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21350 $as_echo_n "checking for _atan2f declaration... " >&6; }
21351   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21352     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21353   $as_echo_n "(cached) " >&6
21354 else
21355
21356
21357       ac_ext=cpp
21358 ac_cpp='$CXXCPP $CPPFLAGS'
21359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21362
21363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21364 /* end confdefs.h.  */
21365 #include <math.h>
21366 int
21367 main ()
21368 {
21369  _atan2f(0, 0);
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375   glibcxx_cv_func__atan2f_use=yes
21376 else
21377   glibcxx_cv_func__atan2f_use=no
21378 fi
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380       ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385
21386
21387 fi
21388
21389   fi
21390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21391 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21392
21393     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21394       for ac_func in _atan2f
21395 do :
21396   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21397 if test "x$ac_cv_func__atan2f" = x""yes; then :
21398   cat >>confdefs.h <<_ACEOF
21399 #define HAVE__ATAN2F 1
21400 _ACEOF
21401
21402 fi
21403 done
21404
21405     fi
21406   fi
21407
21408
21409
21410
21411
21412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21413 $as_echo_n "checking for fabsf declaration... " >&6; }
21414   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21415     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21416   $as_echo_n "(cached) " >&6
21417 else
21418
21419
21420       ac_ext=cpp
21421 ac_cpp='$CXXCPP $CPPFLAGS'
21422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425
21426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h.  */
21428 #include <math.h>
21429                       #ifdef HAVE_IEEEFP_H
21430                       #include <ieeefp.h>
21431                       #endif
21432
21433 int
21434 main ()
21435 {
21436  fabsf(0);
21437   ;
21438   return 0;
21439 }
21440 _ACEOF
21441 if ac_fn_cxx_try_compile "$LINENO"; then :
21442   glibcxx_cv_func_fabsf_use=yes
21443 else
21444   glibcxx_cv_func_fabsf_use=no
21445 fi
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447       ac_ext=c
21448 ac_cpp='$CPP $CPPFLAGS'
21449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21452
21453
21454 fi
21455
21456   fi
21457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21458 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21459
21460   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21461     for ac_func in fabsf
21462 do :
21463   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21464 if test "x$ac_cv_func_fabsf" = x""yes; then :
21465   cat >>confdefs.h <<_ACEOF
21466 #define HAVE_FABSF 1
21467 _ACEOF
21468
21469 fi
21470 done
21471
21472   else
21473
21474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21475 $as_echo_n "checking for _fabsf declaration... " >&6; }
21476   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21477     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21478   $as_echo_n "(cached) " >&6
21479 else
21480
21481
21482       ac_ext=cpp
21483 ac_cpp='$CXXCPP $CPPFLAGS'
21484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21487
21488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h.  */
21490 #include <math.h>
21491                       #ifdef HAVE_IEEEFP_H
21492                       #include <ieeefp.h>
21493                       #endif
21494
21495 int
21496 main ()
21497 {
21498  _fabsf(0);
21499   ;
21500   return 0;
21501 }
21502 _ACEOF
21503 if ac_fn_cxx_try_compile "$LINENO"; then :
21504   glibcxx_cv_func__fabsf_use=yes
21505 else
21506   glibcxx_cv_func__fabsf_use=no
21507 fi
21508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21509       ac_ext=c
21510 ac_cpp='$CPP $CPPFLAGS'
21511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21514
21515
21516 fi
21517
21518   fi
21519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21520 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21521
21522     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21523       for ac_func in _fabsf
21524 do :
21525   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21526 if test "x$ac_cv_func__fabsf" = x""yes; then :
21527   cat >>confdefs.h <<_ACEOF
21528 #define HAVE__FABSF 1
21529 _ACEOF
21530
21531 fi
21532 done
21533
21534     fi
21535   fi
21536
21537
21538
21539
21540
21541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21542 $as_echo_n "checking for fmodf declaration... " >&6; }
21543   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21544     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21545   $as_echo_n "(cached) " >&6
21546 else
21547
21548
21549       ac_ext=cpp
21550 ac_cpp='$CXXCPP $CPPFLAGS'
21551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21554
21555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h.  */
21557 #include <math.h>
21558 int
21559 main ()
21560 {
21561  fmodf(0, 0);
21562   ;
21563   return 0;
21564 }
21565 _ACEOF
21566 if ac_fn_cxx_try_compile "$LINENO"; then :
21567   glibcxx_cv_func_fmodf_use=yes
21568 else
21569   glibcxx_cv_func_fmodf_use=no
21570 fi
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21572       ac_ext=c
21573 ac_cpp='$CPP $CPPFLAGS'
21574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21577
21578
21579 fi
21580
21581   fi
21582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21583 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21584
21585   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21586     for ac_func in fmodf
21587 do :
21588   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21589 if test "x$ac_cv_func_fmodf" = x""yes; then :
21590   cat >>confdefs.h <<_ACEOF
21591 #define HAVE_FMODF 1
21592 _ACEOF
21593
21594 fi
21595 done
21596
21597   else
21598
21599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21600 $as_echo_n "checking for _fmodf declaration... " >&6; }
21601   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21602     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21603   $as_echo_n "(cached) " >&6
21604 else
21605
21606
21607       ac_ext=cpp
21608 ac_cpp='$CXXCPP $CPPFLAGS'
21609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21612
21613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21614 /* end confdefs.h.  */
21615 #include <math.h>
21616 int
21617 main ()
21618 {
21619  _fmodf(0, 0);
21620   ;
21621   return 0;
21622 }
21623 _ACEOF
21624 if ac_fn_cxx_try_compile "$LINENO"; then :
21625   glibcxx_cv_func__fmodf_use=yes
21626 else
21627   glibcxx_cv_func__fmodf_use=no
21628 fi
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630       ac_ext=c
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21635
21636
21637 fi
21638
21639   fi
21640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21641 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21642
21643     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21644       for ac_func in _fmodf
21645 do :
21646   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21647 if test "x$ac_cv_func__fmodf" = x""yes; then :
21648   cat >>confdefs.h <<_ACEOF
21649 #define HAVE__FMODF 1
21650 _ACEOF
21651
21652 fi
21653 done
21654
21655     fi
21656   fi
21657
21658
21659
21660
21661
21662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21663 $as_echo_n "checking for frexpf declaration... " >&6; }
21664   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21665     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21666   $as_echo_n "(cached) " >&6
21667 else
21668
21669
21670       ac_ext=cpp
21671 ac_cpp='$CXXCPP $CPPFLAGS'
21672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21675
21676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h.  */
21678 #include <math.h>
21679 int
21680 main ()
21681 {
21682  frexpf(0, 0);
21683   ;
21684   return 0;
21685 }
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688   glibcxx_cv_func_frexpf_use=yes
21689 else
21690   glibcxx_cv_func_frexpf_use=no
21691 fi
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693       ac_ext=c
21694 ac_cpp='$CPP $CPPFLAGS'
21695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21698
21699
21700 fi
21701
21702   fi
21703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21704 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21705
21706   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21707     for ac_func in frexpf
21708 do :
21709   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21710 if test "x$ac_cv_func_frexpf" = x""yes; then :
21711   cat >>confdefs.h <<_ACEOF
21712 #define HAVE_FREXPF 1
21713 _ACEOF
21714
21715 fi
21716 done
21717
21718   else
21719
21720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21721 $as_echo_n "checking for _frexpf declaration... " >&6; }
21722   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21723     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21724   $as_echo_n "(cached) " >&6
21725 else
21726
21727
21728       ac_ext=cpp
21729 ac_cpp='$CXXCPP $CPPFLAGS'
21730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21733
21734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h.  */
21736 #include <math.h>
21737 int
21738 main ()
21739 {
21740  _frexpf(0, 0);
21741   ;
21742   return 0;
21743 }
21744 _ACEOF
21745 if ac_fn_cxx_try_compile "$LINENO"; then :
21746   glibcxx_cv_func__frexpf_use=yes
21747 else
21748   glibcxx_cv_func__frexpf_use=no
21749 fi
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751       ac_ext=c
21752 ac_cpp='$CPP $CPPFLAGS'
21753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756
21757
21758 fi
21759
21760   fi
21761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21762 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21763
21764     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21765       for ac_func in _frexpf
21766 do :
21767   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21768 if test "x$ac_cv_func__frexpf" = x""yes; then :
21769   cat >>confdefs.h <<_ACEOF
21770 #define HAVE__FREXPF 1
21771 _ACEOF
21772
21773 fi
21774 done
21775
21776     fi
21777   fi
21778
21779
21780
21781
21782
21783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21784 $as_echo_n "checking for hypotf declaration... " >&6; }
21785   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21786     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21787   $as_echo_n "(cached) " >&6
21788 else
21789
21790
21791       ac_ext=cpp
21792 ac_cpp='$CXXCPP $CPPFLAGS'
21793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21796
21797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h.  */
21799 #include <math.h>
21800 int
21801 main ()
21802 {
21803  hypotf(0, 0);
21804   ;
21805   return 0;
21806 }
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809   glibcxx_cv_func_hypotf_use=yes
21810 else
21811   glibcxx_cv_func_hypotf_use=no
21812 fi
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814       ac_ext=c
21815 ac_cpp='$CPP $CPPFLAGS'
21816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21819
21820
21821 fi
21822
21823   fi
21824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21825 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21826
21827   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21828     for ac_func in hypotf
21829 do :
21830   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21831 if test "x$ac_cv_func_hypotf" = x""yes; then :
21832   cat >>confdefs.h <<_ACEOF
21833 #define HAVE_HYPOTF 1
21834 _ACEOF
21835
21836 fi
21837 done
21838
21839   else
21840
21841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21842 $as_echo_n "checking for _hypotf declaration... " >&6; }
21843   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21844     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21845   $as_echo_n "(cached) " >&6
21846 else
21847
21848
21849       ac_ext=cpp
21850 ac_cpp='$CXXCPP $CPPFLAGS'
21851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21854
21855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h.  */
21857 #include <math.h>
21858 int
21859 main ()
21860 {
21861  _hypotf(0, 0);
21862   ;
21863   return 0;
21864 }
21865 _ACEOF
21866 if ac_fn_cxx_try_compile "$LINENO"; then :
21867   glibcxx_cv_func__hypotf_use=yes
21868 else
21869   glibcxx_cv_func__hypotf_use=no
21870 fi
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872       ac_ext=c
21873 ac_cpp='$CPP $CPPFLAGS'
21874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21877
21878
21879 fi
21880
21881   fi
21882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21883 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21884
21885     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21886       for ac_func in _hypotf
21887 do :
21888   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21889 if test "x$ac_cv_func__hypotf" = x""yes; then :
21890   cat >>confdefs.h <<_ACEOF
21891 #define HAVE__HYPOTF 1
21892 _ACEOF
21893
21894 fi
21895 done
21896
21897     fi
21898   fi
21899
21900
21901
21902
21903
21904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21905 $as_echo_n "checking for ldexpf declaration... " >&6; }
21906   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21907     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21908   $as_echo_n "(cached) " >&6
21909 else
21910
21911
21912       ac_ext=cpp
21913 ac_cpp='$CXXCPP $CPPFLAGS'
21914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21917
21918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21919 /* end confdefs.h.  */
21920 #include <math.h>
21921 int
21922 main ()
21923 {
21924  ldexpf(0, 0);
21925   ;
21926   return 0;
21927 }
21928 _ACEOF
21929 if ac_fn_cxx_try_compile "$LINENO"; then :
21930   glibcxx_cv_func_ldexpf_use=yes
21931 else
21932   glibcxx_cv_func_ldexpf_use=no
21933 fi
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935       ac_ext=c
21936 ac_cpp='$CPP $CPPFLAGS'
21937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21940
21941
21942 fi
21943
21944   fi
21945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21946 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21947
21948   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21949     for ac_func in ldexpf
21950 do :
21951   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21952 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21953   cat >>confdefs.h <<_ACEOF
21954 #define HAVE_LDEXPF 1
21955 _ACEOF
21956
21957 fi
21958 done
21959
21960   else
21961
21962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21963 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21964   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21965     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21966   $as_echo_n "(cached) " >&6
21967 else
21968
21969
21970       ac_ext=cpp
21971 ac_cpp='$CXXCPP $CPPFLAGS'
21972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21975
21976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h.  */
21978 #include <math.h>
21979 int
21980 main ()
21981 {
21982  _ldexpf(0, 0);
21983   ;
21984   return 0;
21985 }
21986 _ACEOF
21987 if ac_fn_cxx_try_compile "$LINENO"; then :
21988   glibcxx_cv_func__ldexpf_use=yes
21989 else
21990   glibcxx_cv_func__ldexpf_use=no
21991 fi
21992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21993       ac_ext=c
21994 ac_cpp='$CPP $CPPFLAGS'
21995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21998
21999
22000 fi
22001
22002   fi
22003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22004 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22005
22006     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22007       for ac_func in _ldexpf
22008 do :
22009   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22010 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22011   cat >>confdefs.h <<_ACEOF
22012 #define HAVE__LDEXPF 1
22013 _ACEOF
22014
22015 fi
22016 done
22017
22018     fi
22019   fi
22020
22021
22022
22023
22024
22025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22026 $as_echo_n "checking for logf declaration... " >&6; }
22027   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22028     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22029   $as_echo_n "(cached) " >&6
22030 else
22031
22032
22033       ac_ext=cpp
22034 ac_cpp='$CXXCPP $CPPFLAGS'
22035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22038
22039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h.  */
22041 #include <math.h>
22042                       #ifdef HAVE_IEEEFP_H
22043                       #include <ieeefp.h>
22044                       #endif
22045
22046 int
22047 main ()
22048 {
22049  logf(0);
22050   ;
22051   return 0;
22052 }
22053 _ACEOF
22054 if ac_fn_cxx_try_compile "$LINENO"; then :
22055   glibcxx_cv_func_logf_use=yes
22056 else
22057   glibcxx_cv_func_logf_use=no
22058 fi
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060       ac_ext=c
22061 ac_cpp='$CPP $CPPFLAGS'
22062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22065
22066
22067 fi
22068
22069   fi
22070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22071 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22072
22073   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22074     for ac_func in logf
22075 do :
22076   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22077 if test "x$ac_cv_func_logf" = x""yes; then :
22078   cat >>confdefs.h <<_ACEOF
22079 #define HAVE_LOGF 1
22080 _ACEOF
22081
22082 fi
22083 done
22084
22085   else
22086
22087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22088 $as_echo_n "checking for _logf declaration... " >&6; }
22089   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22090     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22091   $as_echo_n "(cached) " >&6
22092 else
22093
22094
22095       ac_ext=cpp
22096 ac_cpp='$CXXCPP $CPPFLAGS'
22097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22100
22101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h.  */
22103 #include <math.h>
22104                       #ifdef HAVE_IEEEFP_H
22105                       #include <ieeefp.h>
22106                       #endif
22107
22108 int
22109 main ()
22110 {
22111  _logf(0);
22112   ;
22113   return 0;
22114 }
22115 _ACEOF
22116 if ac_fn_cxx_try_compile "$LINENO"; then :
22117   glibcxx_cv_func__logf_use=yes
22118 else
22119   glibcxx_cv_func__logf_use=no
22120 fi
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122       ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128
22129 fi
22130
22131   fi
22132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22133 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22134
22135     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22136       for ac_func in _logf
22137 do :
22138   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22139 if test "x$ac_cv_func__logf" = x""yes; then :
22140   cat >>confdefs.h <<_ACEOF
22141 #define HAVE__LOGF 1
22142 _ACEOF
22143
22144 fi
22145 done
22146
22147     fi
22148   fi
22149
22150
22151
22152
22153
22154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22155 $as_echo_n "checking for log10f declaration... " >&6; }
22156   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22157     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22158   $as_echo_n "(cached) " >&6
22159 else
22160
22161
22162       ac_ext=cpp
22163 ac_cpp='$CXXCPP $CPPFLAGS'
22164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22167
22168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h.  */
22170 #include <math.h>
22171                       #ifdef HAVE_IEEEFP_H
22172                       #include <ieeefp.h>
22173                       #endif
22174
22175 int
22176 main ()
22177 {
22178  log10f(0);
22179   ;
22180   return 0;
22181 }
22182 _ACEOF
22183 if ac_fn_cxx_try_compile "$LINENO"; then :
22184   glibcxx_cv_func_log10f_use=yes
22185 else
22186   glibcxx_cv_func_log10f_use=no
22187 fi
22188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22189       ac_ext=c
22190 ac_cpp='$CPP $CPPFLAGS'
22191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22194
22195
22196 fi
22197
22198   fi
22199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22200 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22201
22202   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22203     for ac_func in log10f
22204 do :
22205   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22206 if test "x$ac_cv_func_log10f" = x""yes; then :
22207   cat >>confdefs.h <<_ACEOF
22208 #define HAVE_LOG10F 1
22209 _ACEOF
22210
22211 fi
22212 done
22213
22214   else
22215
22216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22217 $as_echo_n "checking for _log10f declaration... " >&6; }
22218   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22219     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22220   $as_echo_n "(cached) " >&6
22221 else
22222
22223
22224       ac_ext=cpp
22225 ac_cpp='$CXXCPP $CPPFLAGS'
22226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22229
22230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22231 /* end confdefs.h.  */
22232 #include <math.h>
22233                       #ifdef HAVE_IEEEFP_H
22234                       #include <ieeefp.h>
22235                       #endif
22236
22237 int
22238 main ()
22239 {
22240  _log10f(0);
22241   ;
22242   return 0;
22243 }
22244 _ACEOF
22245 if ac_fn_cxx_try_compile "$LINENO"; then :
22246   glibcxx_cv_func__log10f_use=yes
22247 else
22248   glibcxx_cv_func__log10f_use=no
22249 fi
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251       ac_ext=c
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22256
22257
22258 fi
22259
22260   fi
22261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22262 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22263
22264     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22265       for ac_func in _log10f
22266 do :
22267   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22268 if test "x$ac_cv_func__log10f" = x""yes; then :
22269   cat >>confdefs.h <<_ACEOF
22270 #define HAVE__LOG10F 1
22271 _ACEOF
22272
22273 fi
22274 done
22275
22276     fi
22277   fi
22278
22279
22280
22281
22282
22283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22284 $as_echo_n "checking for modff declaration... " >&6; }
22285   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22286     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22287   $as_echo_n "(cached) " >&6
22288 else
22289
22290
22291       ac_ext=cpp
22292 ac_cpp='$CXXCPP $CPPFLAGS'
22293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22296
22297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h.  */
22299 #include <math.h>
22300 int
22301 main ()
22302 {
22303  modff(0, 0);
22304   ;
22305   return 0;
22306 }
22307 _ACEOF
22308 if ac_fn_cxx_try_compile "$LINENO"; then :
22309   glibcxx_cv_func_modff_use=yes
22310 else
22311   glibcxx_cv_func_modff_use=no
22312 fi
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314       ac_ext=c
22315 ac_cpp='$CPP $CPPFLAGS'
22316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319
22320
22321 fi
22322
22323   fi
22324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22325 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22326
22327   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22328     for ac_func in modff
22329 do :
22330   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22331 if test "x$ac_cv_func_modff" = x""yes; then :
22332   cat >>confdefs.h <<_ACEOF
22333 #define HAVE_MODFF 1
22334 _ACEOF
22335
22336 fi
22337 done
22338
22339   else
22340
22341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22342 $as_echo_n "checking for _modff declaration... " >&6; }
22343   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22344     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22345   $as_echo_n "(cached) " >&6
22346 else
22347
22348
22349       ac_ext=cpp
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22354
22355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h.  */
22357 #include <math.h>
22358 int
22359 main ()
22360 {
22361  _modff(0, 0);
22362   ;
22363   return 0;
22364 }
22365 _ACEOF
22366 if ac_fn_cxx_try_compile "$LINENO"; then :
22367   glibcxx_cv_func__modff_use=yes
22368 else
22369   glibcxx_cv_func__modff_use=no
22370 fi
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372       ac_ext=c
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377
22378
22379 fi
22380
22381   fi
22382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22383 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22384
22385     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22386       for ac_func in _modff
22387 do :
22388   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22389 if test "x$ac_cv_func__modff" = x""yes; then :
22390   cat >>confdefs.h <<_ACEOF
22391 #define HAVE__MODFF 1
22392 _ACEOF
22393
22394 fi
22395 done
22396
22397     fi
22398   fi
22399
22400
22401
22402
22403
22404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22405 $as_echo_n "checking for modf declaration... " >&6; }
22406   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22407     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22408   $as_echo_n "(cached) " >&6
22409 else
22410
22411
22412       ac_ext=cpp
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22419 /* end confdefs.h.  */
22420 #include <math.h>
22421 int
22422 main ()
22423 {
22424  modf(0, 0);
22425   ;
22426   return 0;
22427 }
22428 _ACEOF
22429 if ac_fn_cxx_try_compile "$LINENO"; then :
22430   glibcxx_cv_func_modf_use=yes
22431 else
22432   glibcxx_cv_func_modf_use=no
22433 fi
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435       ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442 fi
22443
22444   fi
22445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22446 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22447
22448   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22449     for ac_func in modf
22450 do :
22451   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22452 if test "x$ac_cv_func_modf" = x""yes; then :
22453   cat >>confdefs.h <<_ACEOF
22454 #define HAVE_MODF 1
22455 _ACEOF
22456
22457 fi
22458 done
22459
22460   else
22461
22462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22463 $as_echo_n "checking for _modf declaration... " >&6; }
22464   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22465     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22466   $as_echo_n "(cached) " >&6
22467 else
22468
22469
22470       ac_ext=cpp
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22475
22476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h.  */
22478 #include <math.h>
22479 int
22480 main ()
22481 {
22482  _modf(0, 0);
22483   ;
22484   return 0;
22485 }
22486 _ACEOF
22487 if ac_fn_cxx_try_compile "$LINENO"; then :
22488   glibcxx_cv_func__modf_use=yes
22489 else
22490   glibcxx_cv_func__modf_use=no
22491 fi
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493       ac_ext=c
22494 ac_cpp='$CPP $CPPFLAGS'
22495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498
22499
22500 fi
22501
22502   fi
22503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22504 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22505
22506     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22507       for ac_func in _modf
22508 do :
22509   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22510 if test "x$ac_cv_func__modf" = x""yes; then :
22511   cat >>confdefs.h <<_ACEOF
22512 #define HAVE__MODF 1
22513 _ACEOF
22514
22515 fi
22516 done
22517
22518     fi
22519   fi
22520
22521
22522
22523
22524
22525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22526 $as_echo_n "checking for powf declaration... " >&6; }
22527   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22528     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22529   $as_echo_n "(cached) " >&6
22530 else
22531
22532
22533       ac_ext=cpp
22534 ac_cpp='$CXXCPP $CPPFLAGS'
22535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22538
22539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22540 /* end confdefs.h.  */
22541 #include <math.h>
22542 int
22543 main ()
22544 {
22545  powf(0, 0);
22546   ;
22547   return 0;
22548 }
22549 _ACEOF
22550 if ac_fn_cxx_try_compile "$LINENO"; then :
22551   glibcxx_cv_func_powf_use=yes
22552 else
22553   glibcxx_cv_func_powf_use=no
22554 fi
22555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22556       ac_ext=c
22557 ac_cpp='$CPP $CPPFLAGS'
22558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561
22562
22563 fi
22564
22565   fi
22566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22567 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22568
22569   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22570     for ac_func in powf
22571 do :
22572   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22573 if test "x$ac_cv_func_powf" = x""yes; then :
22574   cat >>confdefs.h <<_ACEOF
22575 #define HAVE_POWF 1
22576 _ACEOF
22577
22578 fi
22579 done
22580
22581   else
22582
22583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22584 $as_echo_n "checking for _powf declaration... " >&6; }
22585   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22586     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22587   $as_echo_n "(cached) " >&6
22588 else
22589
22590
22591       ac_ext=cpp
22592 ac_cpp='$CXXCPP $CPPFLAGS'
22593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22596
22597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h.  */
22599 #include <math.h>
22600 int
22601 main ()
22602 {
22603  _powf(0, 0);
22604   ;
22605   return 0;
22606 }
22607 _ACEOF
22608 if ac_fn_cxx_try_compile "$LINENO"; then :
22609   glibcxx_cv_func__powf_use=yes
22610 else
22611   glibcxx_cv_func__powf_use=no
22612 fi
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614       ac_ext=c
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22619
22620
22621 fi
22622
22623   fi
22624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22625 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22626
22627     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22628       for ac_func in _powf
22629 do :
22630   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22631 if test "x$ac_cv_func__powf" = x""yes; then :
22632   cat >>confdefs.h <<_ACEOF
22633 #define HAVE__POWF 1
22634 _ACEOF
22635
22636 fi
22637 done
22638
22639     fi
22640   fi
22641
22642
22643
22644
22645
22646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22647 $as_echo_n "checking for sqrtf declaration... " >&6; }
22648   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22649     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22650   $as_echo_n "(cached) " >&6
22651 else
22652
22653
22654       ac_ext=cpp
22655 ac_cpp='$CXXCPP $CPPFLAGS'
22656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659
22660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22661 /* end confdefs.h.  */
22662 #include <math.h>
22663                       #ifdef HAVE_IEEEFP_H
22664                       #include <ieeefp.h>
22665                       #endif
22666
22667 int
22668 main ()
22669 {
22670  sqrtf(0);
22671   ;
22672   return 0;
22673 }
22674 _ACEOF
22675 if ac_fn_cxx_try_compile "$LINENO"; then :
22676   glibcxx_cv_func_sqrtf_use=yes
22677 else
22678   glibcxx_cv_func_sqrtf_use=no
22679 fi
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681       ac_ext=c
22682 ac_cpp='$CPP $CPPFLAGS'
22683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22686
22687
22688 fi
22689
22690   fi
22691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22692 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22693
22694   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22695     for ac_func in sqrtf
22696 do :
22697   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22698 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22699   cat >>confdefs.h <<_ACEOF
22700 #define HAVE_SQRTF 1
22701 _ACEOF
22702
22703 fi
22704 done
22705
22706   else
22707
22708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22709 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22710   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22711     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22712   $as_echo_n "(cached) " >&6
22713 else
22714
22715
22716       ac_ext=cpp
22717 ac_cpp='$CXXCPP $CPPFLAGS'
22718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721
22722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22723 /* end confdefs.h.  */
22724 #include <math.h>
22725                       #ifdef HAVE_IEEEFP_H
22726                       #include <ieeefp.h>
22727                       #endif
22728
22729 int
22730 main ()
22731 {
22732  _sqrtf(0);
22733   ;
22734   return 0;
22735 }
22736 _ACEOF
22737 if ac_fn_cxx_try_compile "$LINENO"; then :
22738   glibcxx_cv_func__sqrtf_use=yes
22739 else
22740   glibcxx_cv_func__sqrtf_use=no
22741 fi
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743       ac_ext=c
22744 ac_cpp='$CPP $CPPFLAGS'
22745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22748
22749
22750 fi
22751
22752   fi
22753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22754 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22755
22756     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22757       for ac_func in _sqrtf
22758 do :
22759   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22760 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22761   cat >>confdefs.h <<_ACEOF
22762 #define HAVE__SQRTF 1
22763 _ACEOF
22764
22765 fi
22766 done
22767
22768     fi
22769   fi
22770
22771
22772
22773
22774
22775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22776 $as_echo_n "checking for sincosf declaration... " >&6; }
22777   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22778     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22779   $as_echo_n "(cached) " >&6
22780 else
22781
22782
22783       ac_ext=cpp
22784 ac_cpp='$CXXCPP $CPPFLAGS'
22785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22788
22789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h.  */
22791 #include <math.h>
22792 int
22793 main ()
22794 {
22795  sincosf(0, 0, 0);
22796   ;
22797   return 0;
22798 }
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801   glibcxx_cv_func_sincosf_use=yes
22802 else
22803   glibcxx_cv_func_sincosf_use=no
22804 fi
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806       ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811
22812
22813 fi
22814
22815   fi
22816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22817 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22818
22819   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22820     for ac_func in sincosf
22821 do :
22822   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22823 if test "x$ac_cv_func_sincosf" = x""yes; then :
22824   cat >>confdefs.h <<_ACEOF
22825 #define HAVE_SINCOSF 1
22826 _ACEOF
22827
22828 fi
22829 done
22830
22831   else
22832
22833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22834 $as_echo_n "checking for _sincosf declaration... " >&6; }
22835   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22836     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22837   $as_echo_n "(cached) " >&6
22838 else
22839
22840
22841       ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h.  */
22849 #include <math.h>
22850 int
22851 main ()
22852 {
22853  _sincosf(0, 0, 0);
22854   ;
22855   return 0;
22856 }
22857 _ACEOF
22858 if ac_fn_cxx_try_compile "$LINENO"; then :
22859   glibcxx_cv_func__sincosf_use=yes
22860 else
22861   glibcxx_cv_func__sincosf_use=no
22862 fi
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22864       ac_ext=c
22865 ac_cpp='$CPP $CPPFLAGS'
22866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22869
22870
22871 fi
22872
22873   fi
22874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22875 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22876
22877     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22878       for ac_func in _sincosf
22879 do :
22880   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22881 if test "x$ac_cv_func__sincosf" = x""yes; then :
22882   cat >>confdefs.h <<_ACEOF
22883 #define HAVE__SINCOSF 1
22884 _ACEOF
22885
22886 fi
22887 done
22888
22889     fi
22890   fi
22891
22892
22893
22894
22895
22896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22897 $as_echo_n "checking for finitef declaration... " >&6; }
22898   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22899     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22900   $as_echo_n "(cached) " >&6
22901 else
22902
22903
22904       ac_ext=cpp
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909
22910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h.  */
22912 #include <math.h>
22913                       #ifdef HAVE_IEEEFP_H
22914                       #include <ieeefp.h>
22915                       #endif
22916
22917 int
22918 main ()
22919 {
22920  finitef(0);
22921   ;
22922   return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926   glibcxx_cv_func_finitef_use=yes
22927 else
22928   glibcxx_cv_func_finitef_use=no
22929 fi
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931       ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936
22937
22938 fi
22939
22940   fi
22941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22942 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22943
22944   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22945     for ac_func in finitef
22946 do :
22947   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22948 if test "x$ac_cv_func_finitef" = x""yes; then :
22949   cat >>confdefs.h <<_ACEOF
22950 #define HAVE_FINITEF 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956   else
22957
22958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22959 $as_echo_n "checking for _finitef declaration... " >&6; }
22960   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22961     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22962   $as_echo_n "(cached) " >&6
22963 else
22964
22965
22966       ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971
22972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h.  */
22974 #include <math.h>
22975                       #ifdef HAVE_IEEEFP_H
22976                       #include <ieeefp.h>
22977                       #endif
22978
22979 int
22980 main ()
22981 {
22982  _finitef(0);
22983   ;
22984   return 0;
22985 }
22986 _ACEOF
22987 if ac_fn_cxx_try_compile "$LINENO"; then :
22988   glibcxx_cv_func__finitef_use=yes
22989 else
22990   glibcxx_cv_func__finitef_use=no
22991 fi
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993       ac_ext=c
22994 ac_cpp='$CPP $CPPFLAGS'
22995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22998
22999
23000 fi
23001
23002   fi
23003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23004 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23005
23006     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23007       for ac_func in _finitef
23008 do :
23009   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23010 if test "x$ac_cv_func__finitef" = x""yes; then :
23011   cat >>confdefs.h <<_ACEOF
23012 #define HAVE__FINITEF 1
23013 _ACEOF
23014
23015 fi
23016 done
23017
23018     fi
23019   fi
23020
23021
23022
23023
23024
23025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23026 $as_echo_n "checking for long double trig functions... " >&6; }
23027   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23028   $as_echo_n "(cached) " >&6
23029 else
23030
23031
23032     ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037
23038     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h.  */
23040 #include <math.h>
23041 int
23042 main ()
23043 {
23044 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23045   ;
23046   return 0;
23047 }
23048 _ACEOF
23049 if ac_fn_cxx_try_compile "$LINENO"; then :
23050   glibcxx_cv_func_long_double_trig_use=yes
23051 else
23052   glibcxx_cv_func_long_double_trig_use=no
23053 fi
23054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055     ac_ext=c
23056 ac_cpp='$CPP $CPPFLAGS'
23057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23060
23061 fi
23062
23063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23064 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23065   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23066     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23067 do :
23068   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23070 eval as_val=\$$as_ac_var
23071    if test "x$as_val" = x""yes; then :
23072   cat >>confdefs.h <<_ACEOF
23073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23074 _ACEOF
23075
23076 fi
23077 done
23078
23079   else
23080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23081 $as_echo_n "checking for _long double trig functions... " >&6; }
23082     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23083   $as_echo_n "(cached) " >&6
23084 else
23085
23086
23087       ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h.  */
23095 #include <math.h>
23096 int
23097 main ()
23098 {
23099 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23100   ;
23101   return 0;
23102 }
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105   glibcxx_cv_func__long_double_trig_use=yes
23106 else
23107   glibcxx_cv_func__long_double_trig_use=no
23108 fi
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110       ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115
23116 fi
23117
23118     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23119 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23120     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23121       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23122 do :
23123   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23125 eval as_val=\$$as_ac_var
23126    if test "x$as_val" = x""yes; then :
23127   cat >>confdefs.h <<_ACEOF
23128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23129 _ACEOF
23130
23131 fi
23132 done
23133
23134     fi
23135   fi
23136
23137
23138
23139
23140
23141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23142 $as_echo_n "checking for long double round functions... " >&6; }
23143   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23144   $as_echo_n "(cached) " >&6
23145 else
23146
23147
23148     ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
23154     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h.  */
23156 #include <math.h>
23157 int
23158 main ()
23159 {
23160 ceill (0); floorl (0);
23161   ;
23162   return 0;
23163 }
23164 _ACEOF
23165 if ac_fn_cxx_try_compile "$LINENO"; then :
23166   glibcxx_cv_func_long_double_round_use=yes
23167 else
23168   glibcxx_cv_func_long_double_round_use=no
23169 fi
23170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23171     ac_ext=c
23172 ac_cpp='$CPP $CPPFLAGS'
23173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23176
23177 fi
23178
23179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23180 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23181   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23182     for ac_func in ceill floorl
23183 do :
23184   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23186 eval as_val=\$$as_ac_var
23187    if test "x$as_val" = x""yes; then :
23188   cat >>confdefs.h <<_ACEOF
23189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23190 _ACEOF
23191
23192 fi
23193 done
23194
23195   else
23196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23197 $as_echo_n "checking for _long double round functions... " >&6; }
23198     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23199   $as_echo_n "(cached) " >&6
23200 else
23201
23202
23203       ac_ext=cpp
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208
23209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h.  */
23211 #include <math.h>
23212 int
23213 main ()
23214 {
23215 _ceill (0); _floorl (0);
23216   ;
23217   return 0;
23218 }
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221   glibcxx_cv_func__long_double_round_use=yes
23222 else
23223   glibcxx_cv_func__long_double_round_use=no
23224 fi
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226       ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231
23232 fi
23233
23234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23235 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23236     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23237       for ac_func in _ceill _floorl
23238 do :
23239   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23241 eval as_val=\$$as_ac_var
23242    if test "x$as_val" = x""yes; then :
23243   cat >>confdefs.h <<_ACEOF
23244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23245 _ACEOF
23246
23247 fi
23248 done
23249
23250     fi
23251   fi
23252
23253
23254
23255
23256
23257
23258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23259 $as_echo_n "checking for isnanl declaration... " >&6; }
23260   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23261     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23262   $as_echo_n "(cached) " >&6
23263 else
23264
23265
23266       ac_ext=cpp
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271
23272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h.  */
23274 #include <math.h>
23275                       #ifdef HAVE_IEEEFP_H
23276                       #include <ieeefp.h>
23277                       #endif
23278
23279 int
23280 main ()
23281 {
23282  isnanl(0);
23283   ;
23284   return 0;
23285 }
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288   glibcxx_cv_func_isnanl_use=yes
23289 else
23290   glibcxx_cv_func_isnanl_use=no
23291 fi
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293       ac_ext=c
23294 ac_cpp='$CPP $CPPFLAGS'
23295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298
23299
23300 fi
23301
23302   fi
23303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23304 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23305
23306   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23307     for ac_func in isnanl
23308 do :
23309   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23310 if test "x$ac_cv_func_isnanl" = x""yes; then :
23311   cat >>confdefs.h <<_ACEOF
23312 #define HAVE_ISNANL 1
23313 _ACEOF
23314
23315 fi
23316 done
23317
23318   else
23319
23320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23321 $as_echo_n "checking for _isnanl declaration... " >&6; }
23322   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23323     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23324   $as_echo_n "(cached) " >&6
23325 else
23326
23327
23328       ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333
23334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h.  */
23336 #include <math.h>
23337                       #ifdef HAVE_IEEEFP_H
23338                       #include <ieeefp.h>
23339                       #endif
23340
23341 int
23342 main ()
23343 {
23344  _isnanl(0);
23345   ;
23346   return 0;
23347 }
23348 _ACEOF
23349 if ac_fn_cxx_try_compile "$LINENO"; then :
23350   glibcxx_cv_func__isnanl_use=yes
23351 else
23352   glibcxx_cv_func__isnanl_use=no
23353 fi
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355       ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362 fi
23363
23364   fi
23365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23366 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23367
23368     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23369       for ac_func in _isnanl
23370 do :
23371   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23372 if test "x$ac_cv_func__isnanl" = x""yes; then :
23373   cat >>confdefs.h <<_ACEOF
23374 #define HAVE__ISNANL 1
23375 _ACEOF
23376
23377 fi
23378 done
23379
23380     fi
23381   fi
23382
23383
23384
23385
23386
23387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23388 $as_echo_n "checking for isinfl declaration... " >&6; }
23389   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23390     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23391   $as_echo_n "(cached) " >&6
23392 else
23393
23394
23395       ac_ext=cpp
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400
23401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h.  */
23403 #include <math.h>
23404                       #ifdef HAVE_IEEEFP_H
23405                       #include <ieeefp.h>
23406                       #endif
23407
23408 int
23409 main ()
23410 {
23411  isinfl(0);
23412   ;
23413   return 0;
23414 }
23415 _ACEOF
23416 if ac_fn_cxx_try_compile "$LINENO"; then :
23417   glibcxx_cv_func_isinfl_use=yes
23418 else
23419   glibcxx_cv_func_isinfl_use=no
23420 fi
23421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422       ac_ext=c
23423 ac_cpp='$CPP $CPPFLAGS'
23424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23427
23428
23429 fi
23430
23431   fi
23432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23433 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23434
23435   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23436     for ac_func in isinfl
23437 do :
23438   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23439 if test "x$ac_cv_func_isinfl" = x""yes; then :
23440   cat >>confdefs.h <<_ACEOF
23441 #define HAVE_ISINFL 1
23442 _ACEOF
23443
23444 fi
23445 done
23446
23447   else
23448
23449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23450 $as_echo_n "checking for _isinfl declaration... " >&6; }
23451   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23452     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23453   $as_echo_n "(cached) " >&6
23454 else
23455
23456
23457       ac_ext=cpp
23458 ac_cpp='$CXXCPP $CPPFLAGS'
23459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23462
23463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h.  */
23465 #include <math.h>
23466                       #ifdef HAVE_IEEEFP_H
23467                       #include <ieeefp.h>
23468                       #endif
23469
23470 int
23471 main ()
23472 {
23473  _isinfl(0);
23474   ;
23475   return 0;
23476 }
23477 _ACEOF
23478 if ac_fn_cxx_try_compile "$LINENO"; then :
23479   glibcxx_cv_func__isinfl_use=yes
23480 else
23481   glibcxx_cv_func__isinfl_use=no
23482 fi
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484       ac_ext=c
23485 ac_cpp='$CPP $CPPFLAGS'
23486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23489
23490
23491 fi
23492
23493   fi
23494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23495 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23496
23497     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23498       for ac_func in _isinfl
23499 do :
23500   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23501 if test "x$ac_cv_func__isinfl" = x""yes; then :
23502   cat >>confdefs.h <<_ACEOF
23503 #define HAVE__ISINFL 1
23504 _ACEOF
23505
23506 fi
23507 done
23508
23509     fi
23510   fi
23511
23512
23513
23514
23515
23516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23517 $as_echo_n "checking for atan2l declaration... " >&6; }
23518   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23519     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23520   $as_echo_n "(cached) " >&6
23521 else
23522
23523
23524       ac_ext=cpp
23525 ac_cpp='$CXXCPP $CPPFLAGS'
23526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23529
23530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23531 /* end confdefs.h.  */
23532 #include <math.h>
23533 int
23534 main ()
23535 {
23536  atan2l(0, 0);
23537   ;
23538   return 0;
23539 }
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542   glibcxx_cv_func_atan2l_use=yes
23543 else
23544   glibcxx_cv_func_atan2l_use=no
23545 fi
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547       ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552
23553
23554 fi
23555
23556   fi
23557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23558 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23559
23560   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23561     for ac_func in atan2l
23562 do :
23563   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23564 if test "x$ac_cv_func_atan2l" = x""yes; then :
23565   cat >>confdefs.h <<_ACEOF
23566 #define HAVE_ATAN2L 1
23567 _ACEOF
23568
23569 fi
23570 done
23571
23572   else
23573
23574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23575 $as_echo_n "checking for _atan2l declaration... " >&6; }
23576   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23577     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23578   $as_echo_n "(cached) " >&6
23579 else
23580
23581
23582       ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587
23588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h.  */
23590 #include <math.h>
23591 int
23592 main ()
23593 {
23594  _atan2l(0, 0);
23595   ;
23596   return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600   glibcxx_cv_func__atan2l_use=yes
23601 else
23602   glibcxx_cv_func__atan2l_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605       ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614   fi
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23616 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23617
23618     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23619       for ac_func in _atan2l
23620 do :
23621   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23622 if test "x$ac_cv_func__atan2l" = x""yes; then :
23623   cat >>confdefs.h <<_ACEOF
23624 #define HAVE__ATAN2L 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630     fi
23631   fi
23632
23633
23634
23635
23636
23637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23638 $as_echo_n "checking for expl declaration... " >&6; }
23639   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23640     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23641   $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645       ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h.  */
23653 #include <math.h>
23654                       #ifdef HAVE_IEEEFP_H
23655                       #include <ieeefp.h>
23656                       #endif
23657
23658 int
23659 main ()
23660 {
23661  expl(0);
23662   ;
23663   return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667   glibcxx_cv_func_expl_use=yes
23668 else
23669   glibcxx_cv_func_expl_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672       ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681   fi
23682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23683 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23684
23685   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23686     for ac_func in expl
23687 do :
23688   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23689 if test "x$ac_cv_func_expl" = x""yes; then :
23690   cat >>confdefs.h <<_ACEOF
23691 #define HAVE_EXPL 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697   else
23698
23699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23700 $as_echo_n "checking for _expl declaration... " >&6; }
23701   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23702     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23703   $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707       ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h.  */
23715 #include <math.h>
23716                       #ifdef HAVE_IEEEFP_H
23717                       #include <ieeefp.h>
23718                       #endif
23719
23720 int
23721 main ()
23722 {
23723  _expl(0);
23724   ;
23725   return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729   glibcxx_cv_func__expl_use=yes
23730 else
23731   glibcxx_cv_func__expl_use=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734       ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740
23741 fi
23742
23743   fi
23744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23745 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23746
23747     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23748       for ac_func in _expl
23749 do :
23750   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23751 if test "x$ac_cv_func__expl" = x""yes; then :
23752   cat >>confdefs.h <<_ACEOF
23753 #define HAVE__EXPL 1
23754 _ACEOF
23755
23756 fi
23757 done
23758
23759     fi
23760   fi
23761
23762
23763
23764
23765
23766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23767 $as_echo_n "checking for fabsl declaration... " >&6; }
23768   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23769     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23770   $as_echo_n "(cached) " >&6
23771 else
23772
23773
23774       ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h.  */
23782 #include <math.h>
23783                       #ifdef HAVE_IEEEFP_H
23784                       #include <ieeefp.h>
23785                       #endif
23786
23787 int
23788 main ()
23789 {
23790  fabsl(0);
23791   ;
23792   return 0;
23793 }
23794 _ACEOF
23795 if ac_fn_cxx_try_compile "$LINENO"; then :
23796   glibcxx_cv_func_fabsl_use=yes
23797 else
23798   glibcxx_cv_func_fabsl_use=no
23799 fi
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801       ac_ext=c
23802 ac_cpp='$CPP $CPPFLAGS'
23803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23806
23807
23808 fi
23809
23810   fi
23811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23812 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23813
23814   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23815     for ac_func in fabsl
23816 do :
23817   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23818 if test "x$ac_cv_func_fabsl" = x""yes; then :
23819   cat >>confdefs.h <<_ACEOF
23820 #define HAVE_FABSL 1
23821 _ACEOF
23822
23823 fi
23824 done
23825
23826   else
23827
23828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23829 $as_echo_n "checking for _fabsl declaration... " >&6; }
23830   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23831     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23832   $as_echo_n "(cached) " >&6
23833 else
23834
23835
23836       ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23843 /* end confdefs.h.  */
23844 #include <math.h>
23845                       #ifdef HAVE_IEEEFP_H
23846                       #include <ieeefp.h>
23847                       #endif
23848
23849 int
23850 main ()
23851 {
23852  _fabsl(0);
23853   ;
23854   return 0;
23855 }
23856 _ACEOF
23857 if ac_fn_cxx_try_compile "$LINENO"; then :
23858   glibcxx_cv_func__fabsl_use=yes
23859 else
23860   glibcxx_cv_func__fabsl_use=no
23861 fi
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863       ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868
23869
23870 fi
23871
23872   fi
23873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23874 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23875
23876     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23877       for ac_func in _fabsl
23878 do :
23879   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23880 if test "x$ac_cv_func__fabsl" = x""yes; then :
23881   cat >>confdefs.h <<_ACEOF
23882 #define HAVE__FABSL 1
23883 _ACEOF
23884
23885 fi
23886 done
23887
23888     fi
23889   fi
23890
23891
23892
23893
23894
23895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23896 $as_echo_n "checking for fmodl declaration... " >&6; }
23897   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23898     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23899   $as_echo_n "(cached) " >&6
23900 else
23901
23902
23903       ac_ext=cpp
23904 ac_cpp='$CXXCPP $CPPFLAGS'
23905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23908
23909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h.  */
23911 #include <math.h>
23912 int
23913 main ()
23914 {
23915  fmodl(0, 0);
23916   ;
23917   return 0;
23918 }
23919 _ACEOF
23920 if ac_fn_cxx_try_compile "$LINENO"; then :
23921   glibcxx_cv_func_fmodl_use=yes
23922 else
23923   glibcxx_cv_func_fmodl_use=no
23924 fi
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926       ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23931
23932
23933 fi
23934
23935   fi
23936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23937 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23938
23939   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23940     for ac_func in fmodl
23941 do :
23942   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23943 if test "x$ac_cv_func_fmodl" = x""yes; then :
23944   cat >>confdefs.h <<_ACEOF
23945 #define HAVE_FMODL 1
23946 _ACEOF
23947
23948 fi
23949 done
23950
23951   else
23952
23953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23954 $as_echo_n "checking for _fmodl declaration... " >&6; }
23955   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23956     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23957   $as_echo_n "(cached) " >&6
23958 else
23959
23960
23961       ac_ext=cpp
23962 ac_cpp='$CXXCPP $CPPFLAGS'
23963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23966
23967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h.  */
23969 #include <math.h>
23970 int
23971 main ()
23972 {
23973  _fmodl(0, 0);
23974   ;
23975   return 0;
23976 }
23977 _ACEOF
23978 if ac_fn_cxx_try_compile "$LINENO"; then :
23979   glibcxx_cv_func__fmodl_use=yes
23980 else
23981   glibcxx_cv_func__fmodl_use=no
23982 fi
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984       ac_ext=c
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23989
23990
23991 fi
23992
23993   fi
23994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23995 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23996
23997     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23998       for ac_func in _fmodl
23999 do :
24000   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24001 if test "x$ac_cv_func__fmodl" = x""yes; then :
24002   cat >>confdefs.h <<_ACEOF
24003 #define HAVE__FMODL 1
24004 _ACEOF
24005
24006 fi
24007 done
24008
24009     fi
24010   fi
24011
24012
24013
24014
24015
24016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24017 $as_echo_n "checking for frexpl declaration... " >&6; }
24018   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24019     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24020   $as_echo_n "(cached) " >&6
24021 else
24022
24023
24024       ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029
24030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h.  */
24032 #include <math.h>
24033 int
24034 main ()
24035 {
24036  frexpl(0, 0);
24037   ;
24038   return 0;
24039 }
24040 _ACEOF
24041 if ac_fn_cxx_try_compile "$LINENO"; then :
24042   glibcxx_cv_func_frexpl_use=yes
24043 else
24044   glibcxx_cv_func_frexpl_use=no
24045 fi
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24047       ac_ext=c
24048 ac_cpp='$CPP $CPPFLAGS'
24049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24052
24053
24054 fi
24055
24056   fi
24057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24058 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24059
24060   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24061     for ac_func in frexpl
24062 do :
24063   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24064 if test "x$ac_cv_func_frexpl" = x""yes; then :
24065   cat >>confdefs.h <<_ACEOF
24066 #define HAVE_FREXPL 1
24067 _ACEOF
24068
24069 fi
24070 done
24071
24072   else
24073
24074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24075 $as_echo_n "checking for _frexpl declaration... " >&6; }
24076   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24077     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24078   $as_echo_n "(cached) " >&6
24079 else
24080
24081
24082       ac_ext=cpp
24083 ac_cpp='$CXXCPP $CPPFLAGS'
24084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087
24088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h.  */
24090 #include <math.h>
24091 int
24092 main ()
24093 {
24094  _frexpl(0, 0);
24095   ;
24096   return 0;
24097 }
24098 _ACEOF
24099 if ac_fn_cxx_try_compile "$LINENO"; then :
24100   glibcxx_cv_func__frexpl_use=yes
24101 else
24102   glibcxx_cv_func__frexpl_use=no
24103 fi
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105       ac_ext=c
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24110
24111
24112 fi
24113
24114   fi
24115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24116 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24117
24118     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24119       for ac_func in _frexpl
24120 do :
24121   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24122 if test "x$ac_cv_func__frexpl" = x""yes; then :
24123   cat >>confdefs.h <<_ACEOF
24124 #define HAVE__FREXPL 1
24125 _ACEOF
24126
24127 fi
24128 done
24129
24130     fi
24131   fi
24132
24133
24134
24135
24136
24137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24138 $as_echo_n "checking for hypotl declaration... " >&6; }
24139   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24140     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24141   $as_echo_n "(cached) " >&6
24142 else
24143
24144
24145       ac_ext=cpp
24146 ac_cpp='$CXXCPP $CPPFLAGS'
24147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24150
24151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24152 /* end confdefs.h.  */
24153 #include <math.h>
24154 int
24155 main ()
24156 {
24157  hypotl(0, 0);
24158   ;
24159   return 0;
24160 }
24161 _ACEOF
24162 if ac_fn_cxx_try_compile "$LINENO"; then :
24163   glibcxx_cv_func_hypotl_use=yes
24164 else
24165   glibcxx_cv_func_hypotl_use=no
24166 fi
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24168       ac_ext=c
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173
24174
24175 fi
24176
24177   fi
24178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24179 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24180
24181   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24182     for ac_func in hypotl
24183 do :
24184   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24185 if test "x$ac_cv_func_hypotl" = x""yes; then :
24186   cat >>confdefs.h <<_ACEOF
24187 #define HAVE_HYPOTL 1
24188 _ACEOF
24189
24190 fi
24191 done
24192
24193   else
24194
24195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24196 $as_echo_n "checking for _hypotl declaration... " >&6; }
24197   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24198     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24199   $as_echo_n "(cached) " >&6
24200 else
24201
24202
24203       ac_ext=cpp
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24208
24209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24210 /* end confdefs.h.  */
24211 #include <math.h>
24212 int
24213 main ()
24214 {
24215  _hypotl(0, 0);
24216   ;
24217   return 0;
24218 }
24219 _ACEOF
24220 if ac_fn_cxx_try_compile "$LINENO"; then :
24221   glibcxx_cv_func__hypotl_use=yes
24222 else
24223   glibcxx_cv_func__hypotl_use=no
24224 fi
24225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226       ac_ext=c
24227 ac_cpp='$CPP $CPPFLAGS'
24228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24231
24232
24233 fi
24234
24235   fi
24236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24237 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24238
24239     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24240       for ac_func in _hypotl
24241 do :
24242   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24243 if test "x$ac_cv_func__hypotl" = x""yes; then :
24244   cat >>confdefs.h <<_ACEOF
24245 #define HAVE__HYPOTL 1
24246 _ACEOF
24247
24248 fi
24249 done
24250
24251     fi
24252   fi
24253
24254
24255
24256
24257
24258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24259 $as_echo_n "checking for ldexpl declaration... " >&6; }
24260   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24261     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24262   $as_echo_n "(cached) " >&6
24263 else
24264
24265
24266       ac_ext=cpp
24267 ac_cpp='$CXXCPP $CPPFLAGS'
24268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271
24272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24273 /* end confdefs.h.  */
24274 #include <math.h>
24275 int
24276 main ()
24277 {
24278  ldexpl(0, 0);
24279   ;
24280   return 0;
24281 }
24282 _ACEOF
24283 if ac_fn_cxx_try_compile "$LINENO"; then :
24284   glibcxx_cv_func_ldexpl_use=yes
24285 else
24286   glibcxx_cv_func_ldexpl_use=no
24287 fi
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289       ac_ext=c
24290 ac_cpp='$CPP $CPPFLAGS'
24291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294
24295
24296 fi
24297
24298   fi
24299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24300 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24301
24302   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24303     for ac_func in ldexpl
24304 do :
24305   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24306 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24307   cat >>confdefs.h <<_ACEOF
24308 #define HAVE_LDEXPL 1
24309 _ACEOF
24310
24311 fi
24312 done
24313
24314   else
24315
24316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24317 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24318   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24319     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24320   $as_echo_n "(cached) " >&6
24321 else
24322
24323
24324       ac_ext=cpp
24325 ac_cpp='$CXXCPP $CPPFLAGS'
24326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329
24330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h.  */
24332 #include <math.h>
24333 int
24334 main ()
24335 {
24336  _ldexpl(0, 0);
24337   ;
24338   return 0;
24339 }
24340 _ACEOF
24341 if ac_fn_cxx_try_compile "$LINENO"; then :
24342   glibcxx_cv_func__ldexpl_use=yes
24343 else
24344   glibcxx_cv_func__ldexpl_use=no
24345 fi
24346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24347       ac_ext=c
24348 ac_cpp='$CPP $CPPFLAGS'
24349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24352
24353
24354 fi
24355
24356   fi
24357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24358 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24359
24360     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24361       for ac_func in _ldexpl
24362 do :
24363   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24364 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24365   cat >>confdefs.h <<_ACEOF
24366 #define HAVE__LDEXPL 1
24367 _ACEOF
24368
24369 fi
24370 done
24371
24372     fi
24373   fi
24374
24375
24376
24377
24378
24379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24380 $as_echo_n "checking for logl declaration... " >&6; }
24381   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24382     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24383   $as_echo_n "(cached) " >&6
24384 else
24385
24386
24387       ac_ext=cpp
24388 ac_cpp='$CXXCPP $CPPFLAGS'
24389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392
24393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24394 /* end confdefs.h.  */
24395 #include <math.h>
24396                       #ifdef HAVE_IEEEFP_H
24397                       #include <ieeefp.h>
24398                       #endif
24399
24400 int
24401 main ()
24402 {
24403  logl(0);
24404   ;
24405   return 0;
24406 }
24407 _ACEOF
24408 if ac_fn_cxx_try_compile "$LINENO"; then :
24409   glibcxx_cv_func_logl_use=yes
24410 else
24411   glibcxx_cv_func_logl_use=no
24412 fi
24413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24414       ac_ext=c
24415 ac_cpp='$CPP $CPPFLAGS'
24416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24419
24420
24421 fi
24422
24423   fi
24424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24425 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24426
24427   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24428     for ac_func in logl
24429 do :
24430   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24431 if test "x$ac_cv_func_logl" = x""yes; then :
24432   cat >>confdefs.h <<_ACEOF
24433 #define HAVE_LOGL 1
24434 _ACEOF
24435
24436 fi
24437 done
24438
24439   else
24440
24441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24442 $as_echo_n "checking for _logl declaration... " >&6; }
24443   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24444     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24445   $as_echo_n "(cached) " >&6
24446 else
24447
24448
24449       ac_ext=cpp
24450 ac_cpp='$CXXCPP $CPPFLAGS'
24451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24454
24455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24456 /* end confdefs.h.  */
24457 #include <math.h>
24458                       #ifdef HAVE_IEEEFP_H
24459                       #include <ieeefp.h>
24460                       #endif
24461
24462 int
24463 main ()
24464 {
24465  _logl(0);
24466   ;
24467   return 0;
24468 }
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471   glibcxx_cv_func__logl_use=yes
24472 else
24473   glibcxx_cv_func__logl_use=no
24474 fi
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476       ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24481
24482
24483 fi
24484
24485   fi
24486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24487 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24488
24489     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24490       for ac_func in _logl
24491 do :
24492   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24493 if test "x$ac_cv_func__logl" = x""yes; then :
24494   cat >>confdefs.h <<_ACEOF
24495 #define HAVE__LOGL 1
24496 _ACEOF
24497
24498 fi
24499 done
24500
24501     fi
24502   fi
24503
24504
24505
24506
24507
24508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24509 $as_echo_n "checking for log10l declaration... " >&6; }
24510   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24511     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24512   $as_echo_n "(cached) " >&6
24513 else
24514
24515
24516       ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521
24522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h.  */
24524 #include <math.h>
24525                       #ifdef HAVE_IEEEFP_H
24526                       #include <ieeefp.h>
24527                       #endif
24528
24529 int
24530 main ()
24531 {
24532  log10l(0);
24533   ;
24534   return 0;
24535 }
24536 _ACEOF
24537 if ac_fn_cxx_try_compile "$LINENO"; then :
24538   glibcxx_cv_func_log10l_use=yes
24539 else
24540   glibcxx_cv_func_log10l_use=no
24541 fi
24542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24543       ac_ext=c
24544 ac_cpp='$CPP $CPPFLAGS'
24545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24548
24549
24550 fi
24551
24552   fi
24553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24554 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24555
24556   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24557     for ac_func in log10l
24558 do :
24559   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24560 if test "x$ac_cv_func_log10l" = x""yes; then :
24561   cat >>confdefs.h <<_ACEOF
24562 #define HAVE_LOG10L 1
24563 _ACEOF
24564
24565 fi
24566 done
24567
24568   else
24569
24570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24571 $as_echo_n "checking for _log10l declaration... " >&6; }
24572   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24573     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24574   $as_echo_n "(cached) " >&6
24575 else
24576
24577
24578       ac_ext=cpp
24579 ac_cpp='$CXXCPP $CPPFLAGS'
24580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583
24584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h.  */
24586 #include <math.h>
24587                       #ifdef HAVE_IEEEFP_H
24588                       #include <ieeefp.h>
24589                       #endif
24590
24591 int
24592 main ()
24593 {
24594  _log10l(0);
24595   ;
24596   return 0;
24597 }
24598 _ACEOF
24599 if ac_fn_cxx_try_compile "$LINENO"; then :
24600   glibcxx_cv_func__log10l_use=yes
24601 else
24602   glibcxx_cv_func__log10l_use=no
24603 fi
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605       ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610
24611
24612 fi
24613
24614   fi
24615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24616 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24617
24618     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24619       for ac_func in _log10l
24620 do :
24621   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24622 if test "x$ac_cv_func__log10l" = x""yes; then :
24623   cat >>confdefs.h <<_ACEOF
24624 #define HAVE__LOG10L 1
24625 _ACEOF
24626
24627 fi
24628 done
24629
24630     fi
24631   fi
24632
24633
24634
24635
24636
24637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24638 $as_echo_n "checking for modfl declaration... " >&6; }
24639   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24640     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24641   $as_echo_n "(cached) " >&6
24642 else
24643
24644
24645       ac_ext=cpp
24646 ac_cpp='$CXXCPP $CPPFLAGS'
24647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650
24651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24652 /* end confdefs.h.  */
24653 #include <math.h>
24654 int
24655 main ()
24656 {
24657  modfl(0, 0);
24658   ;
24659   return 0;
24660 }
24661 _ACEOF
24662 if ac_fn_cxx_try_compile "$LINENO"; then :
24663   glibcxx_cv_func_modfl_use=yes
24664 else
24665   glibcxx_cv_func_modfl_use=no
24666 fi
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668       ac_ext=c
24669 ac_cpp='$CPP $CPPFLAGS'
24670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24673
24674
24675 fi
24676
24677   fi
24678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24679 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24680
24681   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24682     for ac_func in modfl
24683 do :
24684   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24685 if test "x$ac_cv_func_modfl" = x""yes; then :
24686   cat >>confdefs.h <<_ACEOF
24687 #define HAVE_MODFL 1
24688 _ACEOF
24689
24690 fi
24691 done
24692
24693   else
24694
24695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24696 $as_echo_n "checking for _modfl declaration... " >&6; }
24697   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24698     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24699   $as_echo_n "(cached) " >&6
24700 else
24701
24702
24703       ac_ext=cpp
24704 ac_cpp='$CXXCPP $CPPFLAGS'
24705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24708
24709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710 /* end confdefs.h.  */
24711 #include <math.h>
24712 int
24713 main ()
24714 {
24715  _modfl(0, 0);
24716   ;
24717   return 0;
24718 }
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721   glibcxx_cv_func__modfl_use=yes
24722 else
24723   glibcxx_cv_func__modfl_use=no
24724 fi
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726       ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731
24732
24733 fi
24734
24735   fi
24736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24737 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24738
24739     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24740       for ac_func in _modfl
24741 do :
24742   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24743 if test "x$ac_cv_func__modfl" = x""yes; then :
24744   cat >>confdefs.h <<_ACEOF
24745 #define HAVE__MODFL 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751     fi
24752   fi
24753
24754
24755
24756
24757
24758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24759 $as_echo_n "checking for powl declaration... " >&6; }
24760   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24761     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24762   $as_echo_n "(cached) " >&6
24763 else
24764
24765
24766       ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771
24772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h.  */
24774 #include <math.h>
24775 int
24776 main ()
24777 {
24778  powl(0, 0);
24779   ;
24780   return 0;
24781 }
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784   glibcxx_cv_func_powl_use=yes
24785 else
24786   glibcxx_cv_func_powl_use=no
24787 fi
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789       ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794
24795
24796 fi
24797
24798   fi
24799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24800 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24801
24802   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24803     for ac_func in powl
24804 do :
24805   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24806 if test "x$ac_cv_func_powl" = x""yes; then :
24807   cat >>confdefs.h <<_ACEOF
24808 #define HAVE_POWL 1
24809 _ACEOF
24810
24811 fi
24812 done
24813
24814   else
24815
24816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24817 $as_echo_n "checking for _powl declaration... " >&6; }
24818   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24819     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24820   $as_echo_n "(cached) " >&6
24821 else
24822
24823
24824       ac_ext=cpp
24825 ac_cpp='$CXXCPP $CPPFLAGS'
24826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24829
24830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h.  */
24832 #include <math.h>
24833 int
24834 main ()
24835 {
24836  _powl(0, 0);
24837   ;
24838   return 0;
24839 }
24840 _ACEOF
24841 if ac_fn_cxx_try_compile "$LINENO"; then :
24842   glibcxx_cv_func__powl_use=yes
24843 else
24844   glibcxx_cv_func__powl_use=no
24845 fi
24846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24847       ac_ext=c
24848 ac_cpp='$CPP $CPPFLAGS'
24849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24852
24853
24854 fi
24855
24856   fi
24857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24858 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24859
24860     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24861       for ac_func in _powl
24862 do :
24863   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24864 if test "x$ac_cv_func__powl" = x""yes; then :
24865   cat >>confdefs.h <<_ACEOF
24866 #define HAVE__POWL 1
24867 _ACEOF
24868
24869 fi
24870 done
24871
24872     fi
24873   fi
24874
24875
24876
24877
24878
24879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24880 $as_echo_n "checking for sqrtl declaration... " >&6; }
24881   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24882     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24883   $as_echo_n "(cached) " >&6
24884 else
24885
24886
24887       ac_ext=cpp
24888 ac_cpp='$CXXCPP $CPPFLAGS'
24889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24892
24893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h.  */
24895 #include <math.h>
24896                       #ifdef HAVE_IEEEFP_H
24897                       #include <ieeefp.h>
24898                       #endif
24899
24900 int
24901 main ()
24902 {
24903  sqrtl(0);
24904   ;
24905   return 0;
24906 }
24907 _ACEOF
24908 if ac_fn_cxx_try_compile "$LINENO"; then :
24909   glibcxx_cv_func_sqrtl_use=yes
24910 else
24911   glibcxx_cv_func_sqrtl_use=no
24912 fi
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914       ac_ext=c
24915 ac_cpp='$CPP $CPPFLAGS'
24916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24919
24920
24921 fi
24922
24923   fi
24924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24925 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24926
24927   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24928     for ac_func in sqrtl
24929 do :
24930   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24931 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24932   cat >>confdefs.h <<_ACEOF
24933 #define HAVE_SQRTL 1
24934 _ACEOF
24935
24936 fi
24937 done
24938
24939   else
24940
24941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24942 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24943   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24944     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24945   $as_echo_n "(cached) " >&6
24946 else
24947
24948
24949       ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24956 /* end confdefs.h.  */
24957 #include <math.h>
24958                       #ifdef HAVE_IEEEFP_H
24959                       #include <ieeefp.h>
24960                       #endif
24961
24962 int
24963 main ()
24964 {
24965  _sqrtl(0);
24966   ;
24967   return 0;
24968 }
24969 _ACEOF
24970 if ac_fn_cxx_try_compile "$LINENO"; then :
24971   glibcxx_cv_func__sqrtl_use=yes
24972 else
24973   glibcxx_cv_func__sqrtl_use=no
24974 fi
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976       ac_ext=c
24977 ac_cpp='$CPP $CPPFLAGS'
24978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24981
24982
24983 fi
24984
24985   fi
24986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24987 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24988
24989     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24990       for ac_func in _sqrtl
24991 do :
24992   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24993 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24994   cat >>confdefs.h <<_ACEOF
24995 #define HAVE__SQRTL 1
24996 _ACEOF
24997
24998 fi
24999 done
25000
25001     fi
25002   fi
25003
25004
25005
25006
25007
25008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25009 $as_echo_n "checking for sincosl declaration... " >&6; }
25010   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25011     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25012   $as_echo_n "(cached) " >&6
25013 else
25014
25015
25016       ac_ext=cpp
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25021
25022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25023 /* end confdefs.h.  */
25024 #include <math.h>
25025 int
25026 main ()
25027 {
25028  sincosl(0, 0, 0);
25029   ;
25030   return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034   glibcxx_cv_func_sincosl_use=yes
25035 else
25036   glibcxx_cv_func_sincosl_use=no
25037 fi
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039       ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048   fi
25049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25050 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25051
25052   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25053     for ac_func in sincosl
25054 do :
25055   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25056 if test "x$ac_cv_func_sincosl" = x""yes; then :
25057   cat >>confdefs.h <<_ACEOF
25058 #define HAVE_SINCOSL 1
25059 _ACEOF
25060
25061 fi
25062 done
25063
25064   else
25065
25066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25067 $as_echo_n "checking for _sincosl declaration... " >&6; }
25068   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25069     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25070   $as_echo_n "(cached) " >&6
25071 else
25072
25073
25074       ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079
25080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h.  */
25082 #include <math.h>
25083 int
25084 main ()
25085 {
25086  _sincosl(0, 0, 0);
25087   ;
25088   return 0;
25089 }
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092   glibcxx_cv_func__sincosl_use=yes
25093 else
25094   glibcxx_cv_func__sincosl_use=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097       ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102
25103
25104 fi
25105
25106   fi
25107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25108 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25109
25110     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25111       for ac_func in _sincosl
25112 do :
25113   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25114 if test "x$ac_cv_func__sincosl" = x""yes; then :
25115   cat >>confdefs.h <<_ACEOF
25116 #define HAVE__SINCOSL 1
25117 _ACEOF
25118
25119 fi
25120 done
25121
25122     fi
25123   fi
25124
25125
25126
25127
25128
25129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25130 $as_echo_n "checking for finitel declaration... " >&6; }
25131   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25132     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25133   $as_echo_n "(cached) " >&6
25134 else
25135
25136
25137       ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142
25143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h.  */
25145 #include <math.h>
25146                       #ifdef HAVE_IEEEFP_H
25147                       #include <ieeefp.h>
25148                       #endif
25149
25150 int
25151 main ()
25152 {
25153  finitel(0);
25154   ;
25155   return 0;
25156 }
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159   glibcxx_cv_func_finitel_use=yes
25160 else
25161   glibcxx_cv_func_finitel_use=no
25162 fi
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164       ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169
25170
25171 fi
25172
25173   fi
25174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25175 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25176
25177   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25178     for ac_func in finitel
25179 do :
25180   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25181 if test "x$ac_cv_func_finitel" = x""yes; then :
25182   cat >>confdefs.h <<_ACEOF
25183 #define HAVE_FINITEL 1
25184 _ACEOF
25185
25186 fi
25187 done
25188
25189   else
25190
25191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25192 $as_echo_n "checking for _finitel declaration... " >&6; }
25193   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25194     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25195   $as_echo_n "(cached) " >&6
25196 else
25197
25198
25199       ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204
25205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h.  */
25207 #include <math.h>
25208                       #ifdef HAVE_IEEEFP_H
25209                       #include <ieeefp.h>
25210                       #endif
25211
25212 int
25213 main ()
25214 {
25215  _finitel(0);
25216   ;
25217   return 0;
25218 }
25219 _ACEOF
25220 if ac_fn_cxx_try_compile "$LINENO"; then :
25221   glibcxx_cv_func__finitel_use=yes
25222 else
25223   glibcxx_cv_func__finitel_use=no
25224 fi
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226       ac_ext=c
25227 ac_cpp='$CPP $CPPFLAGS'
25228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25231
25232
25233 fi
25234
25235   fi
25236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25237 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25238
25239     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25240       for ac_func in _finitel
25241 do :
25242   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25243 if test "x$ac_cv_func__finitel" = x""yes; then :
25244   cat >>confdefs.h <<_ACEOF
25245 #define HAVE__FINITEL 1
25246 _ACEOF
25247
25248 fi
25249 done
25250
25251     fi
25252   fi
25253
25254
25255
25256
25257   LIBS="$ac_save_LIBS"
25258   CXXFLAGS="$ac_save_CXXFLAGS"
25259
25260
25261   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25262   ac_save_CXXFLAGS="$CXXFLAGS"
25263   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25264
25265
25266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25267 $as_echo_n "checking for strtold declaration... " >&6; }
25268   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25269     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25270   $as_echo_n "(cached) " >&6
25271 else
25272
25273
25274       ac_ext=cpp
25275 ac_cpp='$CXXCPP $CPPFLAGS'
25276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25279
25280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25281 /* end confdefs.h.  */
25282 #include <stdlib.h>
25283 int
25284 main ()
25285 {
25286  strtold(0, 0);
25287   ;
25288   return 0;
25289 }
25290 _ACEOF
25291 if ac_fn_cxx_try_compile "$LINENO"; then :
25292   glibcxx_cv_func_strtold_use=yes
25293 else
25294   glibcxx_cv_func_strtold_use=no
25295 fi
25296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297       ac_ext=c
25298 ac_cpp='$CPP $CPPFLAGS'
25299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25302
25303
25304 fi
25305
25306   fi
25307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25308 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25309   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25310     for ac_func in strtold
25311 do :
25312   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25313 if test "x$ac_cv_func_strtold" = x""yes; then :
25314   cat >>confdefs.h <<_ACEOF
25315 #define HAVE_STRTOLD 1
25316 _ACEOF
25317
25318 fi
25319 done
25320
25321   fi
25322
25323
25324
25325
25326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25327 $as_echo_n "checking for strtof declaration... " >&6; }
25328   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25329     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25330   $as_echo_n "(cached) " >&6
25331 else
25332
25333
25334       ac_ext=cpp
25335 ac_cpp='$CXXCPP $CPPFLAGS'
25336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25339
25340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25341 /* end confdefs.h.  */
25342 #include <stdlib.h>
25343 int
25344 main ()
25345 {
25346  strtof(0, 0);
25347   ;
25348   return 0;
25349 }
25350 _ACEOF
25351 if ac_fn_cxx_try_compile "$LINENO"; then :
25352   glibcxx_cv_func_strtof_use=yes
25353 else
25354   glibcxx_cv_func_strtof_use=no
25355 fi
25356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25357       ac_ext=c
25358 ac_cpp='$CPP $CPPFLAGS'
25359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362
25363
25364 fi
25365
25366   fi
25367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25368 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25369   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25370     for ac_func in strtof
25371 do :
25372   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25373 if test "x$ac_cv_func_strtof" = x""yes; then :
25374   cat >>confdefs.h <<_ACEOF
25375 #define HAVE_STRTOF 1
25376 _ACEOF
25377
25378 fi
25379 done
25380
25381   fi
25382
25383
25384
25385
25386   CXXFLAGS="$ac_save_CXXFLAGS"
25387
25388
25389   # For /dev/random and /dev/urandom for TR1.
25390
25391
25392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25393 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25394   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25395   $as_echo_n "(cached) " >&6
25396 else
25397
25398     if test -r /dev/random && test -r /dev/urandom; then
25399       glibcxx_cv_random_tr1=yes;
25400     else
25401       glibcxx_cv_random_tr1=no;
25402     fi
25403
25404 fi
25405
25406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25407 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25408
25409   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25410
25411 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25412
25413   fi
25414
25415
25416
25417   # For TLS support.
25418
25419
25420    # Check whether --enable-tls was given.
25421 if test "${enable_tls+set}" = set; then :
25422   enableval=$enable_tls;
25423       case "$enableval" in
25424        yes|no) ;;
25425        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25426       esac
25427
25428 else
25429   enable_tls=yes
25430 fi
25431
25432
25433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25434 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25435 if test "${gcc_cv_have_tls+set}" = set; then :
25436   $as_echo_n "(cached) " >&6
25437 else
25438
25439     if test "$cross_compiling" = yes; then :
25440                 if test x$gcc_no_link = xyes; then
25441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25442 fi
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h.  */
25445 __thread int a; int b; int main() { return a = b; }
25446 _ACEOF
25447 if ac_fn_c_try_link "$LINENO"; then :
25448   chktls_save_LDFLAGS="$LDFLAGS"
25449                           case $host in
25450             *-*-linux*)
25451               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25452               ;;
25453           esac
25454           chktls_save_CFLAGS="$CFLAGS"
25455           CFLAGS="-fPIC $CFLAGS"
25456                   if test x$gcc_no_link = xyes; then
25457   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25458 fi
25459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25460 /* end confdefs.h.  */
25461 int f() { return 0; }
25462 _ACEOF
25463 if ac_fn_c_try_link "$LINENO"; then :
25464   if test x$gcc_no_link = xyes; then
25465   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25466 fi
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h.  */
25469 __thread int a; int b; int f() { return a = b; }
25470 _ACEOF
25471 if ac_fn_c_try_link "$LINENO"; then :
25472   gcc_cv_have_tls=yes
25473 else
25474   gcc_cv_have_tls=no
25475 fi
25476 rm -f core conftest.err conftest.$ac_objext \
25477     conftest$ac_exeext conftest.$ac_ext
25478 else
25479   gcc_cv_have_tls=yes
25480 fi
25481 rm -f core conftest.err conftest.$ac_objext \
25482     conftest$ac_exeext conftest.$ac_ext
25483           CFLAGS="$chktls_save_CFLAGS"
25484           LDFLAGS="$chktls_save_LDFLAGS"
25485 else
25486   gcc_cv_have_tls=no
25487 fi
25488 rm -f core conftest.err conftest.$ac_objext \
25489     conftest$ac_exeext conftest.$ac_ext
25490
25491
25492 else
25493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25494 /* end confdefs.h.  */
25495 __thread int a; int b; int main() { return a = b; }
25496 _ACEOF
25497 if ac_fn_c_try_run "$LINENO"; then :
25498                       chktls_save_LDFLAGS="$LDFLAGS"
25499       LDFLAGS="-static $LDFLAGS"
25500       if test x$gcc_no_link = xyes; then
25501   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25502 fi
25503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h.  */
25505 int main() { return 0; }
25506 _ACEOF
25507 if ac_fn_c_try_link "$LINENO"; then :
25508   if test "$cross_compiling" = yes; then :
25509   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25511 as_fn_error "cannot run test program while cross compiling
25512 See \`config.log' for more details." "$LINENO" 5; }
25513 else
25514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h.  */
25516 __thread int a; int b; int main() { return a = b; }
25517 _ACEOF
25518 if ac_fn_c_try_run "$LINENO"; then :
25519   gcc_cv_have_tls=yes
25520 else
25521   gcc_cv_have_tls=no
25522 fi
25523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25524   conftest.$ac_objext conftest.beam conftest.$ac_ext
25525 fi
25526
25527 else
25528   gcc_cv_have_tls=yes
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext \
25531     conftest$ac_exeext conftest.$ac_ext
25532       LDFLAGS="$chktls_save_LDFLAGS"
25533       if test $gcc_cv_have_tls = yes; then
25534                                                 chktls_save_CFLAGS="$CFLAGS"
25535         thread_CFLAGS=failed
25536         for flag in '' '-pthread' '-lpthread'; do
25537           CFLAGS="$flag $chktls_save_CFLAGS"
25538           if test x$gcc_no_link = xyes; then
25539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25540 fi
25541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25542 /* end confdefs.h.  */
25543 #include <pthread.h>
25544                 void *g(void *d) { return NULL; }
25545 int
25546 main ()
25547 {
25548 pthread_t t; pthread_create(&t,NULL,g,NULL);
25549   ;
25550   return 0;
25551 }
25552 _ACEOF
25553 if ac_fn_c_try_link "$LINENO"; then :
25554   thread_CFLAGS="$flag"
25555 fi
25556 rm -f core conftest.err conftest.$ac_objext \
25557     conftest$ac_exeext conftest.$ac_ext
25558           if test "X$thread_CFLAGS" != Xfailed; then
25559             break
25560           fi
25561         done
25562         CFLAGS="$chktls_save_CFLAGS"
25563         if test "X$thread_CFLAGS" != Xfailed; then
25564           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25565           if test "$cross_compiling" = yes; then :
25566   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25568 as_fn_error "cannot run test program while cross compiling
25569 See \`config.log' for more details." "$LINENO" 5; }
25570 else
25571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h.  */
25573 #include <pthread.h>
25574                 __thread int a;
25575                 static int *a_in_other_thread;
25576                 static void *
25577                 thread_func (void *arg)
25578                 {
25579                   a_in_other_thread = &a;
25580                   return (void *)0;
25581                 }
25582 int
25583 main ()
25584 {
25585 pthread_t thread;
25586                 void *thread_retval;
25587                 int *a_in_main_thread;
25588                 if (pthread_create (&thread, (pthread_attr_t *)0,
25589                                     thread_func, (void *)0))
25590                   return 0;
25591                 a_in_main_thread = &a;
25592                 if (pthread_join (thread, &thread_retval))
25593                   return 0;
25594                 return (a_in_other_thread == a_in_main_thread);
25595   ;
25596   return 0;
25597 }
25598 _ACEOF
25599 if ac_fn_c_try_run "$LINENO"; then :
25600   gcc_cv_have_tls=yes
25601 else
25602   gcc_cv_have_tls=no
25603 fi
25604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25605   conftest.$ac_objext conftest.beam conftest.$ac_ext
25606 fi
25607
25608           CFLAGS="$chktls_save_CFLAGS"
25609         fi
25610       fi
25611 else
25612   gcc_cv_have_tls=no
25613 fi
25614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25615   conftest.$ac_objext conftest.beam conftest.$ac_ext
25616 fi
25617
25618 fi
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25620 $as_echo "$gcc_cv_have_tls" >&6; }
25621   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25622
25623 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25624
25625   fi
25626
25627   # For iconv support.
25628
25629       if test "X$prefix" = "XNONE"; then
25630     acl_final_prefix="$ac_default_prefix"
25631   else
25632     acl_final_prefix="$prefix"
25633   fi
25634   if test "X$exec_prefix" = "XNONE"; then
25635     acl_final_exec_prefix='${prefix}'
25636   else
25637     acl_final_exec_prefix="$exec_prefix"
25638   fi
25639   acl_save_prefix="$prefix"
25640   prefix="$acl_final_prefix"
25641   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25642   prefix="$acl_save_prefix"
25643
25644
25645 # Check whether --with-gnu-ld was given.
25646 if test "${with_gnu_ld+set}" = set; then :
25647   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25648 else
25649   with_gnu_ld=no
25650 fi
25651
25652 # Prepare PATH_SEPARATOR.
25653 # The user is always right.
25654 if test "${PATH_SEPARATOR+set}" != set; then
25655   echo "#! /bin/sh" >conf$$.sh
25656   echo  "exit 0"   >>conf$$.sh
25657   chmod +x conf$$.sh
25658   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25659     PATH_SEPARATOR=';'
25660   else
25661     PATH_SEPARATOR=:
25662   fi
25663   rm -f conf$$.sh
25664 fi
25665 ac_prog=ld
25666 if test "$GCC" = yes; then
25667   # Check if gcc -print-prog-name=ld gives a path.
25668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25669 $as_echo_n "checking for ld used by GCC... " >&6; }
25670   case $host in
25671   *-*-mingw*)
25672     # gcc leaves a trailing carriage return which upsets mingw
25673     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25674   *)
25675     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25676   esac
25677   case $ac_prog in
25678     # Accept absolute paths.
25679     [\\/]* | [A-Za-z]:[\\/]*)
25680       re_direlt='/[^/][^/]*/\.\./'
25681       # Canonicalize the path of ld
25682       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25683       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25684         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25685       done
25686       test -z "$LD" && LD="$ac_prog"
25687       ;;
25688   "")
25689     # If it fails, then pretend we aren't using GCC.
25690     ac_prog=ld
25691     ;;
25692   *)
25693     # If it is relative, then search for the first ld in PATH.
25694     with_gnu_ld=unknown
25695     ;;
25696   esac
25697 elif test "$with_gnu_ld" = yes; then
25698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25699 $as_echo_n "checking for GNU ld... " >&6; }
25700 else
25701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25702 $as_echo_n "checking for non-GNU ld... " >&6; }
25703 fi
25704 if test "${acl_cv_path_LD+set}" = set; then :
25705   $as_echo_n "(cached) " >&6
25706 else
25707   if test -z "$LD"; then
25708   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25709   for ac_dir in $PATH; do
25710     test -z "$ac_dir" && ac_dir=.
25711     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25712       acl_cv_path_LD="$ac_dir/$ac_prog"
25713       # Check to see if the program is GNU ld.  I'd rather use --version,
25714       # but apparently some GNU ld's only accept -v.
25715       # Break only if it was the GNU/non-GNU ld that we prefer.
25716       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25717         test "$with_gnu_ld" != no && break
25718       else
25719         test "$with_gnu_ld" != yes && break
25720       fi
25721     fi
25722   done
25723   IFS="$ac_save_ifs"
25724 else
25725   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25726 fi
25727 fi
25728
25729 LD="$acl_cv_path_LD"
25730 if test -n "$LD"; then
25731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25732 $as_echo "$LD" >&6; }
25733 else
25734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25735 $as_echo "no" >&6; }
25736 fi
25737 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25739 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25740 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25741   $as_echo_n "(cached) " >&6
25742 else
25743   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25744 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25745   acl_cv_prog_gnu_ld=yes
25746 else
25747   acl_cv_prog_gnu_ld=no
25748 fi
25749 fi
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25751 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25752 with_gnu_ld=$acl_cv_prog_gnu_ld
25753
25754
25755
25756                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25757 $as_echo_n "checking for shared library run path origin... " >&6; }
25758 if test "${acl_cv_rpath+set}" = set; then :
25759   $as_echo_n "(cached) " >&6
25760 else
25761
25762     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25763     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25764     . ./conftest.sh
25765     rm -f ./conftest.sh
25766     acl_cv_rpath=done
25767
25768 fi
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25770 $as_echo "$acl_cv_rpath" >&6; }
25771   wl="$acl_cv_wl"
25772   libext="$acl_cv_libext"
25773   shlibext="$acl_cv_shlibext"
25774   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25775   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25776   hardcode_direct="$acl_cv_hardcode_direct"
25777   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25778     # Check whether --enable-rpath was given.
25779 if test "${enable_rpath+set}" = set; then :
25780   enableval=$enable_rpath; :
25781 else
25782   enable_rpath=yes
25783 fi
25784
25785
25786
25787
25788
25789
25790
25791
25792     use_additional=yes
25793
25794   acl_save_prefix="$prefix"
25795   prefix="$acl_final_prefix"
25796   acl_save_exec_prefix="$exec_prefix"
25797   exec_prefix="$acl_final_exec_prefix"
25798
25799     eval additional_includedir=\"$includedir\"
25800     eval additional_libdir=\"$libdir\"
25801
25802   exec_prefix="$acl_save_exec_prefix"
25803   prefix="$acl_save_prefix"
25804
25805
25806 # Check whether --with-libiconv-prefix was given.
25807 if test "${with_libiconv_prefix+set}" = set; then :
25808   withval=$with_libiconv_prefix;
25809     if test "X$withval" = "Xno"; then
25810       use_additional=no
25811     else
25812       if test "X$withval" = "X"; then
25813
25814   acl_save_prefix="$prefix"
25815   prefix="$acl_final_prefix"
25816   acl_save_exec_prefix="$exec_prefix"
25817   exec_prefix="$acl_final_exec_prefix"
25818
25819           eval additional_includedir=\"$includedir\"
25820           eval additional_libdir=\"$libdir\"
25821
25822   exec_prefix="$acl_save_exec_prefix"
25823   prefix="$acl_save_prefix"
25824
25825       else
25826         additional_includedir="$withval/include"
25827         additional_libdir="$withval/lib"
25828       fi
25829     fi
25830
25831 fi
25832
25833       LIBICONV=
25834   LTLIBICONV=
25835   INCICONV=
25836   rpathdirs=
25837   ltrpathdirs=
25838   names_already_handled=
25839   names_next_round='iconv '
25840   while test -n "$names_next_round"; do
25841     names_this_round="$names_next_round"
25842     names_next_round=
25843     for name in $names_this_round; do
25844       already_handled=
25845       for n in $names_already_handled; do
25846         if test "$n" = "$name"; then
25847           already_handled=yes
25848           break
25849         fi
25850       done
25851       if test -z "$already_handled"; then
25852         names_already_handled="$names_already_handled $name"
25853                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25854         eval value=\"\$HAVE_LIB$uppername\"
25855         if test -n "$value"; then
25856           if test "$value" = yes; then
25857             eval value=\"\$LIB$uppername\"
25858             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25859             eval value=\"\$LTLIB$uppername\"
25860             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25861           else
25862                                     :
25863           fi
25864         else
25865                               found_dir=
25866           found_la=
25867           found_so=
25868           found_a=
25869           if test $use_additional = yes; then
25870             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25871               found_dir="$additional_libdir"
25872               found_so="$additional_libdir/lib$name.$shlibext"
25873               if test -f "$additional_libdir/lib$name.la"; then
25874                 found_la="$additional_libdir/lib$name.la"
25875               fi
25876             else
25877               if test -f "$additional_libdir/lib$name.$libext"; then
25878                 found_dir="$additional_libdir"
25879                 found_a="$additional_libdir/lib$name.$libext"
25880                 if test -f "$additional_libdir/lib$name.la"; then
25881                   found_la="$additional_libdir/lib$name.la"
25882                 fi
25883               fi
25884             fi
25885           fi
25886           if test "X$found_dir" = "X"; then
25887             for x in $LDFLAGS $LTLIBICONV; do
25888
25889   acl_save_prefix="$prefix"
25890   prefix="$acl_final_prefix"
25891   acl_save_exec_prefix="$exec_prefix"
25892   exec_prefix="$acl_final_exec_prefix"
25893   eval x=\"$x\"
25894   exec_prefix="$acl_save_exec_prefix"
25895   prefix="$acl_save_prefix"
25896
25897               case "$x" in
25898                 -L*)
25899                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25900                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25901                     found_dir="$dir"
25902                     found_so="$dir/lib$name.$shlibext"
25903                     if test -f "$dir/lib$name.la"; then
25904                       found_la="$dir/lib$name.la"
25905                     fi
25906                   else
25907                     if test -f "$dir/lib$name.$libext"; then
25908                       found_dir="$dir"
25909                       found_a="$dir/lib$name.$libext"
25910                       if test -f "$dir/lib$name.la"; then
25911                         found_la="$dir/lib$name.la"
25912                       fi
25913                     fi
25914                   fi
25915                   ;;
25916               esac
25917               if test "X$found_dir" != "X"; then
25918                 break
25919               fi
25920             done
25921           fi
25922           if test "X$found_dir" != "X"; then
25923                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25924             if test "X$found_so" != "X"; then
25925                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25926                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25927               else
25928                                                                                 haveit=
25929                 for x in $ltrpathdirs; do
25930                   if test "X$x" = "X$found_dir"; then
25931                     haveit=yes
25932                     break
25933                   fi
25934                 done
25935                 if test -z "$haveit"; then
25936                   ltrpathdirs="$ltrpathdirs $found_dir"
25937                 fi
25938                                 if test "$hardcode_direct" = yes; then
25939                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25940                 else
25941                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25942                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25943                                                             haveit=
25944                     for x in $rpathdirs; do
25945                       if test "X$x" = "X$found_dir"; then
25946                         haveit=yes
25947                         break
25948                       fi
25949                     done
25950                     if test -z "$haveit"; then
25951                       rpathdirs="$rpathdirs $found_dir"
25952                     fi
25953                   else
25954                                                                                 haveit=
25955                     for x in $LDFLAGS $LIBICONV; do
25956
25957   acl_save_prefix="$prefix"
25958   prefix="$acl_final_prefix"
25959   acl_save_exec_prefix="$exec_prefix"
25960   exec_prefix="$acl_final_exec_prefix"
25961   eval x=\"$x\"
25962   exec_prefix="$acl_save_exec_prefix"
25963   prefix="$acl_save_prefix"
25964
25965                       if test "X$x" = "X-L$found_dir"; then
25966                         haveit=yes
25967                         break
25968                       fi
25969                     done
25970                     if test -z "$haveit"; then
25971                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25972                     fi
25973                     if test "$hardcode_minus_L" != no; then
25974                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25975                     else
25976                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25977                     fi
25978                   fi
25979                 fi
25980               fi
25981             else
25982               if test "X$found_a" != "X"; then
25983                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25984               else
25985                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25986               fi
25987             fi
25988                         additional_includedir=
25989             case "$found_dir" in
25990               */lib | */lib/)
25991                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25992                 additional_includedir="$basedir/include"
25993                 ;;
25994             esac
25995             if test "X$additional_includedir" != "X"; then
25996                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25997                 haveit=
25998                 if test "X$additional_includedir" = "X/usr/local/include"; then
25999                   if test -n "$GCC"; then
26000                     case $host_os in
26001                       linux*) haveit=yes;;
26002                     esac
26003                   fi
26004                 fi
26005                 if test -z "$haveit"; then
26006                   for x in $CPPFLAGS $INCICONV; do
26007
26008   acl_save_prefix="$prefix"
26009   prefix="$acl_final_prefix"
26010   acl_save_exec_prefix="$exec_prefix"
26011   exec_prefix="$acl_final_exec_prefix"
26012   eval x=\"$x\"
26013   exec_prefix="$acl_save_exec_prefix"
26014   prefix="$acl_save_prefix"
26015
26016                     if test "X$x" = "X-I$additional_includedir"; then
26017                       haveit=yes
26018                       break
26019                     fi
26020                   done
26021                   if test -z "$haveit"; then
26022                     if test -d "$additional_includedir"; then
26023                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26024                     fi
26025                   fi
26026                 fi
26027               fi
26028             fi
26029                         if test -n "$found_la"; then
26030                                                         save_libdir="$libdir"
26031               case "$found_la" in
26032                 */* | *\\*) . "$found_la" ;;
26033                 *) . "./$found_la" ;;
26034               esac
26035               libdir="$save_libdir"
26036                             for dep in $dependency_libs; do
26037                 case "$dep" in
26038                   -L*)
26039                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26040                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26041                       haveit=
26042                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26043                         if test -n "$GCC"; then
26044                           case $host_os in
26045                             linux*) haveit=yes;;
26046                           esac
26047                         fi
26048                       fi
26049                       if test -z "$haveit"; then
26050                         haveit=
26051                         for x in $LDFLAGS $LIBICONV; do
26052
26053   acl_save_prefix="$prefix"
26054   prefix="$acl_final_prefix"
26055   acl_save_exec_prefix="$exec_prefix"
26056   exec_prefix="$acl_final_exec_prefix"
26057   eval x=\"$x\"
26058   exec_prefix="$acl_save_exec_prefix"
26059   prefix="$acl_save_prefix"
26060
26061                           if test "X$x" = "X-L$additional_libdir"; then
26062                             haveit=yes
26063                             break
26064                           fi
26065                         done
26066                         if test -z "$haveit"; then
26067                           if test -d "$additional_libdir"; then
26068                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26069                           fi
26070                         fi
26071                         haveit=
26072                         for x in $LDFLAGS $LTLIBICONV; do
26073
26074   acl_save_prefix="$prefix"
26075   prefix="$acl_final_prefix"
26076   acl_save_exec_prefix="$exec_prefix"
26077   exec_prefix="$acl_final_exec_prefix"
26078   eval x=\"$x\"
26079   exec_prefix="$acl_save_exec_prefix"
26080   prefix="$acl_save_prefix"
26081
26082                           if test "X$x" = "X-L$additional_libdir"; then
26083                             haveit=yes
26084                             break
26085                           fi
26086                         done
26087                         if test -z "$haveit"; then
26088                           if test -d "$additional_libdir"; then
26089                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26090                           fi
26091                         fi
26092                       fi
26093                     fi
26094                     ;;
26095                   -R*)
26096                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26097                     if test "$enable_rpath" != no; then
26098                                                                   haveit=
26099                       for x in $rpathdirs; do
26100                         if test "X$x" = "X$dir"; then
26101                           haveit=yes
26102                           break
26103                         fi
26104                       done
26105                       if test -z "$haveit"; then
26106                         rpathdirs="$rpathdirs $dir"
26107                       fi
26108                                                                   haveit=
26109                       for x in $ltrpathdirs; do
26110                         if test "X$x" = "X$dir"; then
26111                           haveit=yes
26112                           break
26113                         fi
26114                       done
26115                       if test -z "$haveit"; then
26116                         ltrpathdirs="$ltrpathdirs $dir"
26117                       fi
26118                     fi
26119                     ;;
26120                   -l*)
26121                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26122                     ;;
26123                   *.la)
26124                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26125                     ;;
26126                   *)
26127                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26128                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26129                     ;;
26130                 esac
26131               done
26132             fi
26133           else
26134                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26135             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26136           fi
26137         fi
26138       fi
26139     done
26140   done
26141   if test "X$rpathdirs" != "X"; then
26142     if test -n "$hardcode_libdir_separator"; then
26143                         alldirs=
26144       for found_dir in $rpathdirs; do
26145         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26146       done
26147             acl_save_libdir="$libdir"
26148       libdir="$alldirs"
26149       eval flag=\"$hardcode_libdir_flag_spec\"
26150       libdir="$acl_save_libdir"
26151       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26152     else
26153             for found_dir in $rpathdirs; do
26154         acl_save_libdir="$libdir"
26155         libdir="$found_dir"
26156         eval flag=\"$hardcode_libdir_flag_spec\"
26157         libdir="$acl_save_libdir"
26158         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26159       done
26160     fi
26161   fi
26162   if test "X$ltrpathdirs" != "X"; then
26163             for found_dir in $ltrpathdirs; do
26164       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26165     done
26166   fi
26167
26168
26169
26170
26171
26172
26173
26174           am_save_CPPFLAGS="$CPPFLAGS"
26175
26176   for element in $INCICONV; do
26177     haveit=
26178     for x in $CPPFLAGS; do
26179
26180   acl_save_prefix="$prefix"
26181   prefix="$acl_final_prefix"
26182   acl_save_exec_prefix="$exec_prefix"
26183   exec_prefix="$acl_final_exec_prefix"
26184   eval x=\"$x\"
26185   exec_prefix="$acl_save_exec_prefix"
26186   prefix="$acl_save_prefix"
26187
26188       if test "X$x" = "X$element"; then
26189         haveit=yes
26190         break
26191       fi
26192     done
26193     if test -z "$haveit"; then
26194       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26195     fi
26196   done
26197
26198
26199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26200 $as_echo_n "checking for iconv... " >&6; }
26201 if test "${am_cv_func_iconv+set}" = set; then :
26202   $as_echo_n "(cached) " >&6
26203 else
26204
26205     am_cv_func_iconv="no, consider installing GNU libiconv"
26206     am_cv_lib_iconv=no
26207     if test x$gcc_no_link = xyes; then
26208   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26209 fi
26210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26211 /* end confdefs.h.  */
26212 #include <stdlib.h>
26213 #include <iconv.h>
26214 int
26215 main ()
26216 {
26217 iconv_t cd = iconv_open("","");
26218        iconv(cd,NULL,NULL,NULL,NULL);
26219        iconv_close(cd);
26220   ;
26221   return 0;
26222 }
26223 _ACEOF
26224 if ac_fn_c_try_link "$LINENO"; then :
26225   am_cv_func_iconv=yes
26226 fi
26227 rm -f core conftest.err conftest.$ac_objext \
26228     conftest$ac_exeext conftest.$ac_ext
26229     if test "$am_cv_func_iconv" != yes; then
26230       am_save_LIBS="$LIBS"
26231       LIBS="$LIBS $LIBICONV"
26232       if test x$gcc_no_link = xyes; then
26233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26234 fi
26235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26236 /* end confdefs.h.  */
26237 #include <stdlib.h>
26238 #include <iconv.h>
26239 int
26240 main ()
26241 {
26242 iconv_t cd = iconv_open("","");
26243          iconv(cd,NULL,NULL,NULL,NULL);
26244          iconv_close(cd);
26245   ;
26246   return 0;
26247 }
26248 _ACEOF
26249 if ac_fn_c_try_link "$LINENO"; then :
26250   am_cv_lib_iconv=yes
26251         am_cv_func_iconv=yes
26252 fi
26253 rm -f core conftest.err conftest.$ac_objext \
26254     conftest$ac_exeext conftest.$ac_ext
26255       LIBS="$am_save_LIBS"
26256     fi
26257
26258 fi
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26260 $as_echo "$am_cv_func_iconv" >&6; }
26261   if test "$am_cv_func_iconv" = yes; then
26262
26263 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26264
26265   fi
26266   if test "$am_cv_lib_iconv" = yes; then
26267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26268 $as_echo_n "checking how to link with libiconv... " >&6; }
26269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26270 $as_echo "$LIBICONV" >&6; }
26271   else
26272             CPPFLAGS="$am_save_CPPFLAGS"
26273     LIBICONV=
26274     LTLIBICONV=
26275   fi
26276
26277
26278
26279   if test "$am_cv_func_iconv" = yes; then
26280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26281 $as_echo_n "checking for iconv declaration... " >&6; }
26282     if test "${am_cv_proto_iconv+set}" = set; then :
26283   $as_echo_n "(cached) " >&6
26284 else
26285
26286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26287 /* end confdefs.h.  */
26288
26289 #include <stdlib.h>
26290 #include <iconv.h>
26291 extern
26292 #ifdef __cplusplus
26293 "C"
26294 #endif
26295 #if defined(__STDC__) || defined(__cplusplus)
26296 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26297 #else
26298 size_t iconv();
26299 #endif
26300
26301 int
26302 main ()
26303 {
26304
26305   ;
26306   return 0;
26307 }
26308 _ACEOF
26309 if ac_fn_c_try_compile "$LINENO"; then :
26310   am_cv_proto_iconv_arg1=""
26311 else
26312   am_cv_proto_iconv_arg1="const"
26313 fi
26314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315       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);"
26316 fi
26317
26318     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26320          }$am_cv_proto_iconv" >&5
26321 $as_echo "${ac_t:-
26322          }$am_cv_proto_iconv" >&6; }
26323
26324 cat >>confdefs.h <<_ACEOF
26325 #define ICONV_CONST $am_cv_proto_iconv_arg1
26326 _ACEOF
26327
26328   fi
26329
26330
26331 else
26332
26333   # This lets us hard-code the functionality we know we'll have in the cross
26334   # target environment.  "Let" is a sugar-coated word placed on an especially
26335   # dull and tedious hack, actually.
26336   #
26337   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26338   # that involve linking, can't be used:
26339   #    "cannot open sim-crt0.o"
26340   #    "cannot open crt0.o"
26341   # etc.  All this is because there currently exists no unified, consistent
26342   # way for top level CC information to be passed down to target directories:
26343   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26344   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26345   # crosses can be removed.
26346
26347   # If Canadian cross, then don't pick up tools from the build directory.
26348   # Used only in GLIBCXX_EXPORT_INCLUDES.
26349   if test -n "$with_cross_host" &&
26350      test x"$build_alias" != x"$with_cross_host" &&
26351      test x"$build" != x"$target";
26352   then
26353     CANADIAN=yes
26354   else
26355     CANADIAN=no
26356   fi
26357
26358   # Construct crosses by hand, eliminating bits that need ld...
26359   # GLIBCXX_CHECK_MATH_SUPPORT
26360
26361   # First, test for "known" system libraries.  We may be using newlib even
26362   # on a hosted environment.
26363   if test "x${with_newlib}" = "xyes"; then
26364     os_include_dir="os/newlib"
26365     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26366
26367
26368     # GLIBCXX_CHECK_STDLIB_SUPPORT
26369     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26370
26371
26372     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26373
26374     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26375
26376     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26377
26378     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26379
26380     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26381
26382     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26383
26384     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26385
26386     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26387
26388     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26389
26390     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26391
26392     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26393
26394     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26395
26396     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26397
26398     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26399
26400     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26401
26402     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26403
26404     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26405
26406     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26407
26408     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26409
26410     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26411
26412     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26413
26414     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26415
26416
26417     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26418
26419   else
26420
26421 # Base decisions on target environment.
26422 case "${host}" in
26423   arm*-*-symbianelf*)
26424     # This is a freestanding configuration; there is nothing to do here.
26425     ;;
26426
26427   mips*-sde-elf*)
26428     # These definitions are for the SDE C library rather than newlib.
26429     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26430
26431
26432   # All these tests are for C++; save the language and the compiler flags.
26433   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26434   # found in GLIBCXX_CONFIGURE.
26435
26436   ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441
26442   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26443   ac_save_CXXFLAGS="$CXXFLAGS"
26444
26445   # Check for maintainer-mode bits.
26446   if test x"$USE_MAINTAINER_MODE" = xno; then
26447     WERROR=''
26448   else
26449     WERROR='-Werror'
26450   fi
26451
26452   # Check for -ffunction-sections -fdata-sections
26453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26454 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26455   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26457 /* end confdefs.h.  */
26458 int foo; void bar() { };
26459 int
26460 main ()
26461 {
26462
26463   ;
26464   return 0;
26465 }
26466 _ACEOF
26467 if ac_fn_cxx_try_compile "$LINENO"; then :
26468   ac_fdsections=yes
26469 else
26470   ac_fdsections=no
26471 fi
26472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26473   if test "$ac_test_CXXFLAGS" = set; then
26474     CXXFLAGS="$ac_save_CXXFLAGS"
26475   else
26476     # this is the suspicious part
26477     CXXFLAGS=''
26478   fi
26479   if test x"$ac_fdsections" = x"yes"; then
26480     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26481   fi
26482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26483 $as_echo "$ac_fdsections" >&6; }
26484
26485   ac_ext=c
26486 ac_cpp='$CPP $CPPFLAGS'
26487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26490
26491
26492
26493
26494
26495   # If we're not using GNU ld, then there's no point in even trying these
26496   # tests.  Check for that first.  We should have already tested for gld
26497   # by now (in libtool), but require it now just to be safe...
26498   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26499   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26500
26501
26502
26503   # The name set by libtool depends on the version of libtool.  Shame on us
26504   # for depending on an impl detail, but c'est la vie.  Older versions used
26505   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26506   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26507   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26508   # set (hence we're using an older libtool), then set it.
26509   if test x${with_gnu_ld+set} != xset; then
26510     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26511       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26512       with_gnu_ld=no
26513     else
26514       with_gnu_ld=$ac_cv_prog_gnu_ld
26515     fi
26516   fi
26517
26518   # Start by getting the version number.  I think the libtool test already
26519   # does some of this, but throws away the result.
26520   glibcxx_ld_is_gold=no
26521   if test x"$with_gnu_ld" = x"yes"; then
26522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26523 $as_echo_n "checking for ld version... " >&6; }
26524
26525     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26526       glibcxx_ld_is_gold=yes
26527     fi
26528     ldver=`$LD --version 2>/dev/null |
26529            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'`
26530
26531     glibcxx_gnu_ld_version=`echo $ldver | \
26532            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26534 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26535   fi
26536
26537   # Set --gc-sections.
26538   glibcxx_have_gc_sections=no
26539   if test "$glibcxx_ld_is_gold" = "yes"; then
26540     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26541       glibcxx_have_gc_sections=yes
26542     fi
26543   else
26544     glibcxx_gcsections_min_ld=21602
26545     if test x"$with_gnu_ld" = x"yes" &&
26546         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26547       glibcxx_have_gc_sections=yes
26548     fi
26549   fi
26550   if test "$glibcxx_have_gc_sections" = "yes"; then
26551     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26552     # NB: This flag only works reliably after 2.16.1. Configure tests
26553     # for this are difficult, so hard wire a value that should work.
26554
26555     ac_test_CFLAGS="${CFLAGS+set}"
26556     ac_save_CFLAGS="$CFLAGS"
26557     CFLAGS='-Wl,--gc-sections'
26558
26559     # Check for -Wl,--gc-sections
26560     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26561 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26562     if test x$gcc_no_link = xyes; then
26563   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26564 fi
26565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26566 /* end confdefs.h.  */
26567  int one(void) { return 1; }
26568      int two(void) { return 2; }
26569
26570 int
26571 main ()
26572 {
26573  two();
26574   ;
26575   return 0;
26576 }
26577 _ACEOF
26578 if ac_fn_c_try_link "$LINENO"; then :
26579   ac_gcsections=yes
26580 else
26581   ac_gcsections=no
26582 fi
26583 rm -f core conftest.err conftest.$ac_objext \
26584     conftest$ac_exeext conftest.$ac_ext
26585     if test "$ac_gcsections" = "yes"; then
26586       rm -f conftest.c
26587       touch conftest.c
26588       if $CC -c conftest.c; then
26589         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26590            grep "Warning: gc-sections option ignored" > /dev/null; then
26591           ac_gcsections=no
26592         fi
26593       fi
26594       rm -f conftest.c conftest.o conftest
26595     fi
26596     if test "$ac_gcsections" = "yes"; then
26597       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26598     fi
26599     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26600 $as_echo "$ac_gcsections" >&6; }
26601
26602     if test "$ac_test_CFLAGS" = set; then
26603       CFLAGS="$ac_save_CFLAGS"
26604     else
26605       # this is the suspicious part
26606       CFLAGS=''
26607     fi
26608   fi
26609
26610   # Set -z,relro.
26611   # Note this is only for shared objects.
26612   ac_ld_relro=no
26613   if test x"$with_gnu_ld" = x"yes"; then
26614     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26615 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26616     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26617     if test -n "$cxx_z_relo"; then
26618       OPT_LDFLAGS="-Wl,-z,relro"
26619       ac_ld_relro=yes
26620     fi
26621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26622 $as_echo "$ac_ld_relro" >&6; }
26623   fi
26624
26625   # Set linker optimization flags.
26626   if test x"$with_gnu_ld" = x"yes"; then
26627     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26628   fi
26629
26630
26631
26632
26633
26634   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26635   ac_save_CXXFLAGS="$CXXFLAGS"
26636   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26637
26638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26639 $as_echo_n "checking for sin in -lm... " >&6; }
26640 if test "${ac_cv_lib_m_sin+set}" = set; then :
26641   $as_echo_n "(cached) " >&6
26642 else
26643   ac_check_lib_save_LIBS=$LIBS
26644 LIBS="-lm  $LIBS"
26645 if test x$gcc_no_link = xyes; then
26646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26647 fi
26648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26649 /* end confdefs.h.  */
26650
26651 /* Override any GCC internal prototype to avoid an error.
26652    Use char because int might match the return type of a GCC
26653    builtin and then its argument prototype would still apply.  */
26654 #ifdef __cplusplus
26655 extern "C"
26656 #endif
26657 char sin ();
26658 int
26659 main ()
26660 {
26661 return sin ();
26662   ;
26663   return 0;
26664 }
26665 _ACEOF
26666 if ac_fn_c_try_link "$LINENO"; then :
26667   ac_cv_lib_m_sin=yes
26668 else
26669   ac_cv_lib_m_sin=no
26670 fi
26671 rm -f core conftest.err conftest.$ac_objext \
26672     conftest$ac_exeext conftest.$ac_ext
26673 LIBS=$ac_check_lib_save_LIBS
26674 fi
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26676 $as_echo "$ac_cv_lib_m_sin" >&6; }
26677 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26678   libm="-lm"
26679 fi
26680
26681   ac_save_LIBS="$LIBS"
26682   LIBS="$LIBS $libm"
26683
26684
26685
26686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26687 $as_echo_n "checking for isinf declaration... " >&6; }
26688   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26689     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26690   $as_echo_n "(cached) " >&6
26691 else
26692
26693
26694       ac_ext=cpp
26695 ac_cpp='$CXXCPP $CPPFLAGS'
26696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26699
26700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26701 /* end confdefs.h.  */
26702 #include <math.h>
26703                       #ifdef HAVE_IEEEFP_H
26704                       #include <ieeefp.h>
26705                       #endif
26706
26707 int
26708 main ()
26709 {
26710  isinf(0);
26711   ;
26712   return 0;
26713 }
26714 _ACEOF
26715 if ac_fn_cxx_try_compile "$LINENO"; then :
26716   glibcxx_cv_func_isinf_use=yes
26717 else
26718   glibcxx_cv_func_isinf_use=no
26719 fi
26720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26721       ac_ext=c
26722 ac_cpp='$CPP $CPPFLAGS'
26723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26726
26727
26728 fi
26729
26730   fi
26731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26732 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26733
26734   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26735     for ac_func in isinf
26736 do :
26737   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26738 if test "x$ac_cv_func_isinf" = x""yes; then :
26739   cat >>confdefs.h <<_ACEOF
26740 #define HAVE_ISINF 1
26741 _ACEOF
26742
26743 fi
26744 done
26745
26746   else
26747
26748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26749 $as_echo_n "checking for _isinf declaration... " >&6; }
26750   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26751     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26752   $as_echo_n "(cached) " >&6
26753 else
26754
26755
26756       ac_ext=cpp
26757 ac_cpp='$CXXCPP $CPPFLAGS'
26758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26761
26762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26763 /* end confdefs.h.  */
26764 #include <math.h>
26765                       #ifdef HAVE_IEEEFP_H
26766                       #include <ieeefp.h>
26767                       #endif
26768
26769 int
26770 main ()
26771 {
26772  _isinf(0);
26773   ;
26774   return 0;
26775 }
26776 _ACEOF
26777 if ac_fn_cxx_try_compile "$LINENO"; then :
26778   glibcxx_cv_func__isinf_use=yes
26779 else
26780   glibcxx_cv_func__isinf_use=no
26781 fi
26782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26783       ac_ext=c
26784 ac_cpp='$CPP $CPPFLAGS'
26785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26788
26789
26790 fi
26791
26792   fi
26793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26794 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26795
26796     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26797       for ac_func in _isinf
26798 do :
26799   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26800 if test "x$ac_cv_func__isinf" = x""yes; then :
26801   cat >>confdefs.h <<_ACEOF
26802 #define HAVE__ISINF 1
26803 _ACEOF
26804
26805 fi
26806 done
26807
26808     fi
26809   fi
26810
26811
26812
26813
26814
26815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26816 $as_echo_n "checking for isnan declaration... " >&6; }
26817   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26818     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26819   $as_echo_n "(cached) " >&6
26820 else
26821
26822
26823       ac_ext=cpp
26824 ac_cpp='$CXXCPP $CPPFLAGS'
26825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26828
26829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26830 /* end confdefs.h.  */
26831 #include <math.h>
26832                       #ifdef HAVE_IEEEFP_H
26833                       #include <ieeefp.h>
26834                       #endif
26835
26836 int
26837 main ()
26838 {
26839  isnan(0);
26840   ;
26841   return 0;
26842 }
26843 _ACEOF
26844 if ac_fn_cxx_try_compile "$LINENO"; then :
26845   glibcxx_cv_func_isnan_use=yes
26846 else
26847   glibcxx_cv_func_isnan_use=no
26848 fi
26849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26850       ac_ext=c
26851 ac_cpp='$CPP $CPPFLAGS'
26852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26855
26856
26857 fi
26858
26859   fi
26860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26861 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26862
26863   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26864     for ac_func in isnan
26865 do :
26866   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26867 if test "x$ac_cv_func_isnan" = x""yes; then :
26868   cat >>confdefs.h <<_ACEOF
26869 #define HAVE_ISNAN 1
26870 _ACEOF
26871
26872 fi
26873 done
26874
26875   else
26876
26877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26878 $as_echo_n "checking for _isnan declaration... " >&6; }
26879   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26880     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26881   $as_echo_n "(cached) " >&6
26882 else
26883
26884
26885       ac_ext=cpp
26886 ac_cpp='$CXXCPP $CPPFLAGS'
26887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26890
26891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26892 /* end confdefs.h.  */
26893 #include <math.h>
26894                       #ifdef HAVE_IEEEFP_H
26895                       #include <ieeefp.h>
26896                       #endif
26897
26898 int
26899 main ()
26900 {
26901  _isnan(0);
26902   ;
26903   return 0;
26904 }
26905 _ACEOF
26906 if ac_fn_cxx_try_compile "$LINENO"; then :
26907   glibcxx_cv_func__isnan_use=yes
26908 else
26909   glibcxx_cv_func__isnan_use=no
26910 fi
26911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26912       ac_ext=c
26913 ac_cpp='$CPP $CPPFLAGS'
26914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26917
26918
26919 fi
26920
26921   fi
26922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26923 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26924
26925     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26926       for ac_func in _isnan
26927 do :
26928   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26929 if test "x$ac_cv_func__isnan" = x""yes; then :
26930   cat >>confdefs.h <<_ACEOF
26931 #define HAVE__ISNAN 1
26932 _ACEOF
26933
26934 fi
26935 done
26936
26937     fi
26938   fi
26939
26940
26941
26942
26943
26944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26945 $as_echo_n "checking for finite declaration... " >&6; }
26946   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26947     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26948   $as_echo_n "(cached) " >&6
26949 else
26950
26951
26952       ac_ext=cpp
26953 ac_cpp='$CXXCPP $CPPFLAGS'
26954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26957
26958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h.  */
26960 #include <math.h>
26961                       #ifdef HAVE_IEEEFP_H
26962                       #include <ieeefp.h>
26963                       #endif
26964
26965 int
26966 main ()
26967 {
26968  finite(0);
26969   ;
26970   return 0;
26971 }
26972 _ACEOF
26973 if ac_fn_cxx_try_compile "$LINENO"; then :
26974   glibcxx_cv_func_finite_use=yes
26975 else
26976   glibcxx_cv_func_finite_use=no
26977 fi
26978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26979       ac_ext=c
26980 ac_cpp='$CPP $CPPFLAGS'
26981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26984
26985
26986 fi
26987
26988   fi
26989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26990 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26991
26992   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26993     for ac_func in finite
26994 do :
26995   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26996 if test "x$ac_cv_func_finite" = x""yes; then :
26997   cat >>confdefs.h <<_ACEOF
26998 #define HAVE_FINITE 1
26999 _ACEOF
27000
27001 fi
27002 done
27003
27004   else
27005
27006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27007 $as_echo_n "checking for _finite declaration... " >&6; }
27008   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27009     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27010   $as_echo_n "(cached) " >&6
27011 else
27012
27013
27014       ac_ext=cpp
27015 ac_cpp='$CXXCPP $CPPFLAGS'
27016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27019
27020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h.  */
27022 #include <math.h>
27023                       #ifdef HAVE_IEEEFP_H
27024                       #include <ieeefp.h>
27025                       #endif
27026
27027 int
27028 main ()
27029 {
27030  _finite(0);
27031   ;
27032   return 0;
27033 }
27034 _ACEOF
27035 if ac_fn_cxx_try_compile "$LINENO"; then :
27036   glibcxx_cv_func__finite_use=yes
27037 else
27038   glibcxx_cv_func__finite_use=no
27039 fi
27040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27041       ac_ext=c
27042 ac_cpp='$CPP $CPPFLAGS'
27043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27046
27047
27048 fi
27049
27050   fi
27051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27052 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27053
27054     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27055       for ac_func in _finite
27056 do :
27057   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27058 if test "x$ac_cv_func__finite" = x""yes; then :
27059   cat >>confdefs.h <<_ACEOF
27060 #define HAVE__FINITE 1
27061 _ACEOF
27062
27063 fi
27064 done
27065
27066     fi
27067   fi
27068
27069
27070
27071
27072
27073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27074 $as_echo_n "checking for sincos declaration... " >&6; }
27075   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27076     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27077   $as_echo_n "(cached) " >&6
27078 else
27079
27080
27081       ac_ext=cpp
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27086
27087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27088 /* end confdefs.h.  */
27089 #include <math.h>
27090 int
27091 main ()
27092 {
27093  sincos(0, 0, 0);
27094   ;
27095   return 0;
27096 }
27097 _ACEOF
27098 if ac_fn_cxx_try_compile "$LINENO"; then :
27099   glibcxx_cv_func_sincos_use=yes
27100 else
27101   glibcxx_cv_func_sincos_use=no
27102 fi
27103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27104       ac_ext=c
27105 ac_cpp='$CPP $CPPFLAGS'
27106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27109
27110
27111 fi
27112
27113   fi
27114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27115 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27116
27117   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27118     for ac_func in sincos
27119 do :
27120   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27121 if test "x$ac_cv_func_sincos" = x""yes; then :
27122   cat >>confdefs.h <<_ACEOF
27123 #define HAVE_SINCOS 1
27124 _ACEOF
27125
27126 fi
27127 done
27128
27129   else
27130
27131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27132 $as_echo_n "checking for _sincos declaration... " >&6; }
27133   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27134     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27135   $as_echo_n "(cached) " >&6
27136 else
27137
27138
27139       ac_ext=cpp
27140 ac_cpp='$CXXCPP $CPPFLAGS'
27141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27144
27145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27146 /* end confdefs.h.  */
27147 #include <math.h>
27148 int
27149 main ()
27150 {
27151  _sincos(0, 0, 0);
27152   ;
27153   return 0;
27154 }
27155 _ACEOF
27156 if ac_fn_cxx_try_compile "$LINENO"; then :
27157   glibcxx_cv_func__sincos_use=yes
27158 else
27159   glibcxx_cv_func__sincos_use=no
27160 fi
27161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162       ac_ext=c
27163 ac_cpp='$CPP $CPPFLAGS'
27164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27167
27168
27169 fi
27170
27171   fi
27172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27173 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27174
27175     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27176       for ac_func in _sincos
27177 do :
27178   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27179 if test "x$ac_cv_func__sincos" = x""yes; then :
27180   cat >>confdefs.h <<_ACEOF
27181 #define HAVE__SINCOS 1
27182 _ACEOF
27183
27184 fi
27185 done
27186
27187     fi
27188   fi
27189
27190
27191
27192
27193
27194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27195 $as_echo_n "checking for fpclass declaration... " >&6; }
27196   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27197     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27198   $as_echo_n "(cached) " >&6
27199 else
27200
27201
27202       ac_ext=cpp
27203 ac_cpp='$CXXCPP $CPPFLAGS'
27204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27207
27208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h.  */
27210 #include <math.h>
27211                       #ifdef HAVE_IEEEFP_H
27212                       #include <ieeefp.h>
27213                       #endif
27214
27215 int
27216 main ()
27217 {
27218  fpclass(0);
27219   ;
27220   return 0;
27221 }
27222 _ACEOF
27223 if ac_fn_cxx_try_compile "$LINENO"; then :
27224   glibcxx_cv_func_fpclass_use=yes
27225 else
27226   glibcxx_cv_func_fpclass_use=no
27227 fi
27228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27229       ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27234
27235
27236 fi
27237
27238   fi
27239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27240 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27241
27242   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27243     for ac_func in fpclass
27244 do :
27245   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27246 if test "x$ac_cv_func_fpclass" = x""yes; then :
27247   cat >>confdefs.h <<_ACEOF
27248 #define HAVE_FPCLASS 1
27249 _ACEOF
27250
27251 fi
27252 done
27253
27254   else
27255
27256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27257 $as_echo_n "checking for _fpclass declaration... " >&6; }
27258   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27259     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27260   $as_echo_n "(cached) " >&6
27261 else
27262
27263
27264       ac_ext=cpp
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27269
27270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27271 /* end confdefs.h.  */
27272 #include <math.h>
27273                       #ifdef HAVE_IEEEFP_H
27274                       #include <ieeefp.h>
27275                       #endif
27276
27277 int
27278 main ()
27279 {
27280  _fpclass(0);
27281   ;
27282   return 0;
27283 }
27284 _ACEOF
27285 if ac_fn_cxx_try_compile "$LINENO"; then :
27286   glibcxx_cv_func__fpclass_use=yes
27287 else
27288   glibcxx_cv_func__fpclass_use=no
27289 fi
27290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291       ac_ext=c
27292 ac_cpp='$CPP $CPPFLAGS'
27293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27296
27297
27298 fi
27299
27300   fi
27301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27302 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27303
27304     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27305       for ac_func in _fpclass
27306 do :
27307   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27308 if test "x$ac_cv_func__fpclass" = x""yes; then :
27309   cat >>confdefs.h <<_ACEOF
27310 #define HAVE__FPCLASS 1
27311 _ACEOF
27312
27313 fi
27314 done
27315
27316     fi
27317   fi
27318
27319
27320
27321
27322
27323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27324 $as_echo_n "checking for qfpclass declaration... " >&6; }
27325   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27326     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27327   $as_echo_n "(cached) " >&6
27328 else
27329
27330
27331       ac_ext=cpp
27332 ac_cpp='$CXXCPP $CPPFLAGS'
27333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27336
27337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27338 /* end confdefs.h.  */
27339 #include <math.h>
27340                       #ifdef HAVE_IEEEFP_H
27341                       #include <ieeefp.h>
27342                       #endif
27343
27344 int
27345 main ()
27346 {
27347  qfpclass(0);
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 if ac_fn_cxx_try_compile "$LINENO"; then :
27353   glibcxx_cv_func_qfpclass_use=yes
27354 else
27355   glibcxx_cv_func_qfpclass_use=no
27356 fi
27357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27358       ac_ext=c
27359 ac_cpp='$CPP $CPPFLAGS'
27360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27363
27364
27365 fi
27366
27367   fi
27368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27369 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27370
27371   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27372     for ac_func in qfpclass
27373 do :
27374   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27375 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27376   cat >>confdefs.h <<_ACEOF
27377 #define HAVE_QFPCLASS 1
27378 _ACEOF
27379
27380 fi
27381 done
27382
27383   else
27384
27385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27386 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27387   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27388     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27389   $as_echo_n "(cached) " >&6
27390 else
27391
27392
27393       ac_ext=cpp
27394 ac_cpp='$CXXCPP $CPPFLAGS'
27395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27398
27399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27400 /* end confdefs.h.  */
27401 #include <math.h>
27402                       #ifdef HAVE_IEEEFP_H
27403                       #include <ieeefp.h>
27404                       #endif
27405
27406 int
27407 main ()
27408 {
27409  _qfpclass(0);
27410   ;
27411   return 0;
27412 }
27413 _ACEOF
27414 if ac_fn_cxx_try_compile "$LINENO"; then :
27415   glibcxx_cv_func__qfpclass_use=yes
27416 else
27417   glibcxx_cv_func__qfpclass_use=no
27418 fi
27419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27420       ac_ext=c
27421 ac_cpp='$CPP $CPPFLAGS'
27422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27425
27426
27427 fi
27428
27429   fi
27430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27431 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27432
27433     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27434       for ac_func in _qfpclass
27435 do :
27436   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27437 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27438   cat >>confdefs.h <<_ACEOF
27439 #define HAVE__QFPCLASS 1
27440 _ACEOF
27441
27442 fi
27443 done
27444
27445     fi
27446   fi
27447
27448
27449
27450
27451
27452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27453 $as_echo_n "checking for hypot declaration... " >&6; }
27454   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27455     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27456   $as_echo_n "(cached) " >&6
27457 else
27458
27459
27460       ac_ext=cpp
27461 ac_cpp='$CXXCPP $CPPFLAGS'
27462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27465
27466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27467 /* end confdefs.h.  */
27468 #include <math.h>
27469 int
27470 main ()
27471 {
27472  hypot(0, 0);
27473   ;
27474   return 0;
27475 }
27476 _ACEOF
27477 if ac_fn_cxx_try_compile "$LINENO"; then :
27478   glibcxx_cv_func_hypot_use=yes
27479 else
27480   glibcxx_cv_func_hypot_use=no
27481 fi
27482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27483       ac_ext=c
27484 ac_cpp='$CPP $CPPFLAGS'
27485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27488
27489
27490 fi
27491
27492   fi
27493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27494 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27495
27496   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27497     for ac_func in hypot
27498 do :
27499   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27500 if test "x$ac_cv_func_hypot" = x""yes; then :
27501   cat >>confdefs.h <<_ACEOF
27502 #define HAVE_HYPOT 1
27503 _ACEOF
27504
27505 fi
27506 done
27507
27508   else
27509
27510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27511 $as_echo_n "checking for _hypot declaration... " >&6; }
27512   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27513     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27514   $as_echo_n "(cached) " >&6
27515 else
27516
27517
27518       ac_ext=cpp
27519 ac_cpp='$CXXCPP $CPPFLAGS'
27520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27523
27524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27525 /* end confdefs.h.  */
27526 #include <math.h>
27527 int
27528 main ()
27529 {
27530  _hypot(0, 0);
27531   ;
27532   return 0;
27533 }
27534 _ACEOF
27535 if ac_fn_cxx_try_compile "$LINENO"; then :
27536   glibcxx_cv_func__hypot_use=yes
27537 else
27538   glibcxx_cv_func__hypot_use=no
27539 fi
27540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27541       ac_ext=c
27542 ac_cpp='$CPP $CPPFLAGS'
27543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27546
27547
27548 fi
27549
27550   fi
27551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27552 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27553
27554     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27555       for ac_func in _hypot
27556 do :
27557   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27558 if test "x$ac_cv_func__hypot" = x""yes; then :
27559   cat >>confdefs.h <<_ACEOF
27560 #define HAVE__HYPOT 1
27561 _ACEOF
27562
27563 fi
27564 done
27565
27566     fi
27567   fi
27568
27569
27570
27571
27572
27573     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27574 $as_echo_n "checking for float trig functions... " >&6; }
27575   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27576   $as_echo_n "(cached) " >&6
27577 else
27578
27579
27580     ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27585
27586     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h.  */
27588 #include <math.h>
27589 int
27590 main ()
27591 {
27592 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27593   ;
27594   return 0;
27595 }
27596 _ACEOF
27597 if ac_fn_cxx_try_compile "$LINENO"; then :
27598   glibcxx_cv_func_float_trig_use=yes
27599 else
27600   glibcxx_cv_func_float_trig_use=no
27601 fi
27602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603     ac_ext=c
27604 ac_cpp='$CPP $CPPFLAGS'
27605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27608
27609 fi
27610
27611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27612 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27613   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27614     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27615 do :
27616   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27618 eval as_val=\$$as_ac_var
27619    if test "x$as_val" = x""yes; then :
27620   cat >>confdefs.h <<_ACEOF
27621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27622 _ACEOF
27623
27624 fi
27625 done
27626
27627   else
27628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27629 $as_echo_n "checking for _float trig functions... " >&6; }
27630     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27631   $as_echo_n "(cached) " >&6
27632 else
27633
27634
27635       ac_ext=cpp
27636 ac_cpp='$CXXCPP $CPPFLAGS'
27637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27640
27641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27642 /* end confdefs.h.  */
27643 #include <math.h>
27644 int
27645 main ()
27646 {
27647 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27648   ;
27649   return 0;
27650 }
27651 _ACEOF
27652 if ac_fn_cxx_try_compile "$LINENO"; then :
27653   glibcxx_cv_func__float_trig_use=yes
27654 else
27655   glibcxx_cv_func__float_trig_use=no
27656 fi
27657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658       ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27663
27664 fi
27665
27666     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27667 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27668     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27669       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27670 do :
27671   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27673 eval as_val=\$$as_ac_var
27674    if test "x$as_val" = x""yes; then :
27675   cat >>confdefs.h <<_ACEOF
27676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27677 _ACEOF
27678
27679 fi
27680 done
27681
27682     fi
27683   fi
27684
27685
27686
27687
27688
27689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27690 $as_echo_n "checking for float round functions... " >&6; }
27691   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27692   $as_echo_n "(cached) " >&6
27693 else
27694
27695
27696     ac_ext=cpp
27697 ac_cpp='$CXXCPP $CPPFLAGS'
27698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27701
27702     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27703 /* end confdefs.h.  */
27704 #include <math.h>
27705 int
27706 main ()
27707 {
27708 ceilf (0); floorf (0);
27709   ;
27710   return 0;
27711 }
27712 _ACEOF
27713 if ac_fn_cxx_try_compile "$LINENO"; then :
27714   glibcxx_cv_func_float_round_use=yes
27715 else
27716   glibcxx_cv_func_float_round_use=no
27717 fi
27718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27719     ac_ext=c
27720 ac_cpp='$CPP $CPPFLAGS'
27721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724
27725 fi
27726
27727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27728 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27729   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27730     for ac_func in ceilf floorf
27731 do :
27732   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27734 eval as_val=\$$as_ac_var
27735    if test "x$as_val" = x""yes; then :
27736   cat >>confdefs.h <<_ACEOF
27737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27738 _ACEOF
27739
27740 fi
27741 done
27742
27743   else
27744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27745 $as_echo_n "checking for _float round functions... " >&6; }
27746     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27747   $as_echo_n "(cached) " >&6
27748 else
27749
27750
27751       ac_ext=cpp
27752 ac_cpp='$CXXCPP $CPPFLAGS'
27753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756
27757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27758 /* end confdefs.h.  */
27759 #include <math.h>
27760 int
27761 main ()
27762 {
27763 _ceilf (0); _floorf (0);
27764   ;
27765   return 0;
27766 }
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769   glibcxx_cv_func__float_round_use=yes
27770 else
27771   glibcxx_cv_func__float_round_use=no
27772 fi
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774       ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27779
27780 fi
27781
27782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27783 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27784     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27785       for ac_func in _ceilf _floorf
27786 do :
27787   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27789 eval as_val=\$$as_ac_var
27790    if test "x$as_val" = x""yes; then :
27791   cat >>confdefs.h <<_ACEOF
27792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27793 _ACEOF
27794
27795 fi
27796 done
27797
27798     fi
27799   fi
27800
27801
27802
27803
27804
27805
27806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27807 $as_echo_n "checking for expf declaration... " >&6; }
27808   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27809     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27810   $as_echo_n "(cached) " >&6
27811 else
27812
27813
27814       ac_ext=cpp
27815 ac_cpp='$CXXCPP $CPPFLAGS'
27816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27819
27820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27821 /* end confdefs.h.  */
27822 #include <math.h>
27823                       #ifdef HAVE_IEEEFP_H
27824                       #include <ieeefp.h>
27825                       #endif
27826
27827 int
27828 main ()
27829 {
27830  expf(0);
27831   ;
27832   return 0;
27833 }
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836   glibcxx_cv_func_expf_use=yes
27837 else
27838   glibcxx_cv_func_expf_use=no
27839 fi
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841       ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848 fi
27849
27850   fi
27851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27852 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27853
27854   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27855     for ac_func in expf
27856 do :
27857   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27858 if test "x$ac_cv_func_expf" = x""yes; then :
27859   cat >>confdefs.h <<_ACEOF
27860 #define HAVE_EXPF 1
27861 _ACEOF
27862
27863 fi
27864 done
27865
27866   else
27867
27868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27869 $as_echo_n "checking for _expf declaration... " >&6; }
27870   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27871     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27872   $as_echo_n "(cached) " >&6
27873 else
27874
27875
27876       ac_ext=cpp
27877 ac_cpp='$CXXCPP $CPPFLAGS'
27878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27881
27882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h.  */
27884 #include <math.h>
27885                       #ifdef HAVE_IEEEFP_H
27886                       #include <ieeefp.h>
27887                       #endif
27888
27889 int
27890 main ()
27891 {
27892  _expf(0);
27893   ;
27894   return 0;
27895 }
27896 _ACEOF
27897 if ac_fn_cxx_try_compile "$LINENO"; then :
27898   glibcxx_cv_func__expf_use=yes
27899 else
27900   glibcxx_cv_func__expf_use=no
27901 fi
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903       ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908
27909
27910 fi
27911
27912   fi
27913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27914 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27915
27916     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27917       for ac_func in _expf
27918 do :
27919   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27920 if test "x$ac_cv_func__expf" = x""yes; then :
27921   cat >>confdefs.h <<_ACEOF
27922 #define HAVE__EXPF 1
27923 _ACEOF
27924
27925 fi
27926 done
27927
27928     fi
27929   fi
27930
27931
27932
27933
27934
27935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27936 $as_echo_n "checking for isnanf declaration... " >&6; }
27937   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27938     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27939   $as_echo_n "(cached) " >&6
27940 else
27941
27942
27943       ac_ext=cpp
27944 ac_cpp='$CXXCPP $CPPFLAGS'
27945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27948
27949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27950 /* end confdefs.h.  */
27951 #include <math.h>
27952                       #ifdef HAVE_IEEEFP_H
27953                       #include <ieeefp.h>
27954                       #endif
27955
27956 int
27957 main ()
27958 {
27959  isnanf(0);
27960   ;
27961   return 0;
27962 }
27963 _ACEOF
27964 if ac_fn_cxx_try_compile "$LINENO"; then :
27965   glibcxx_cv_func_isnanf_use=yes
27966 else
27967   glibcxx_cv_func_isnanf_use=no
27968 fi
27969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27970       ac_ext=c
27971 ac_cpp='$CPP $CPPFLAGS'
27972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27975
27976
27977 fi
27978
27979   fi
27980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27981 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27982
27983   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27984     for ac_func in isnanf
27985 do :
27986   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27987 if test "x$ac_cv_func_isnanf" = x""yes; then :
27988   cat >>confdefs.h <<_ACEOF
27989 #define HAVE_ISNANF 1
27990 _ACEOF
27991
27992 fi
27993 done
27994
27995   else
27996
27997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27998 $as_echo_n "checking for _isnanf declaration... " >&6; }
27999   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28000     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28001   $as_echo_n "(cached) " >&6
28002 else
28003
28004
28005       ac_ext=cpp
28006 ac_cpp='$CXXCPP $CPPFLAGS'
28007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28010
28011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28012 /* end confdefs.h.  */
28013 #include <math.h>
28014                       #ifdef HAVE_IEEEFP_H
28015                       #include <ieeefp.h>
28016                       #endif
28017
28018 int
28019 main ()
28020 {
28021  _isnanf(0);
28022   ;
28023   return 0;
28024 }
28025 _ACEOF
28026 if ac_fn_cxx_try_compile "$LINENO"; then :
28027   glibcxx_cv_func__isnanf_use=yes
28028 else
28029   glibcxx_cv_func__isnanf_use=no
28030 fi
28031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28032       ac_ext=c
28033 ac_cpp='$CPP $CPPFLAGS'
28034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28037
28038
28039 fi
28040
28041   fi
28042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28043 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28044
28045     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28046       for ac_func in _isnanf
28047 do :
28048   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28049 if test "x$ac_cv_func__isnanf" = x""yes; then :
28050   cat >>confdefs.h <<_ACEOF
28051 #define HAVE__ISNANF 1
28052 _ACEOF
28053
28054 fi
28055 done
28056
28057     fi
28058   fi
28059
28060
28061
28062
28063
28064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28065 $as_echo_n "checking for isinff declaration... " >&6; }
28066   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28067     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28068   $as_echo_n "(cached) " >&6
28069 else
28070
28071
28072       ac_ext=cpp
28073 ac_cpp='$CXXCPP $CPPFLAGS'
28074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28077
28078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28079 /* end confdefs.h.  */
28080 #include <math.h>
28081                       #ifdef HAVE_IEEEFP_H
28082                       #include <ieeefp.h>
28083                       #endif
28084
28085 int
28086 main ()
28087 {
28088  isinff(0);
28089   ;
28090   return 0;
28091 }
28092 _ACEOF
28093 if ac_fn_cxx_try_compile "$LINENO"; then :
28094   glibcxx_cv_func_isinff_use=yes
28095 else
28096   glibcxx_cv_func_isinff_use=no
28097 fi
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099       ac_ext=c
28100 ac_cpp='$CPP $CPPFLAGS'
28101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28104
28105
28106 fi
28107
28108   fi
28109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28110 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28111
28112   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28113     for ac_func in isinff
28114 do :
28115   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28116 if test "x$ac_cv_func_isinff" = x""yes; then :
28117   cat >>confdefs.h <<_ACEOF
28118 #define HAVE_ISINFF 1
28119 _ACEOF
28120
28121 fi
28122 done
28123
28124   else
28125
28126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28127 $as_echo_n "checking for _isinff declaration... " >&6; }
28128   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28129     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28130   $as_echo_n "(cached) " >&6
28131 else
28132
28133
28134       ac_ext=cpp
28135 ac_cpp='$CXXCPP $CPPFLAGS'
28136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28139
28140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28141 /* end confdefs.h.  */
28142 #include <math.h>
28143                       #ifdef HAVE_IEEEFP_H
28144                       #include <ieeefp.h>
28145                       #endif
28146
28147 int
28148 main ()
28149 {
28150  _isinff(0);
28151   ;
28152   return 0;
28153 }
28154 _ACEOF
28155 if ac_fn_cxx_try_compile "$LINENO"; then :
28156   glibcxx_cv_func__isinff_use=yes
28157 else
28158   glibcxx_cv_func__isinff_use=no
28159 fi
28160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28161       ac_ext=c
28162 ac_cpp='$CPP $CPPFLAGS'
28163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28166
28167
28168 fi
28169
28170   fi
28171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28172 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28173
28174     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28175       for ac_func in _isinff
28176 do :
28177   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28178 if test "x$ac_cv_func__isinff" = x""yes; then :
28179   cat >>confdefs.h <<_ACEOF
28180 #define HAVE__ISINFF 1
28181 _ACEOF
28182
28183 fi
28184 done
28185
28186     fi
28187   fi
28188
28189
28190
28191
28192
28193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28194 $as_echo_n "checking for atan2f declaration... " >&6; }
28195   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28196     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28197   $as_echo_n "(cached) " >&6
28198 else
28199
28200
28201       ac_ext=cpp
28202 ac_cpp='$CXXCPP $CPPFLAGS'
28203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28206
28207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28208 /* end confdefs.h.  */
28209 #include <math.h>
28210 int
28211 main ()
28212 {
28213  atan2f(0, 0);
28214   ;
28215   return 0;
28216 }
28217 _ACEOF
28218 if ac_fn_cxx_try_compile "$LINENO"; then :
28219   glibcxx_cv_func_atan2f_use=yes
28220 else
28221   glibcxx_cv_func_atan2f_use=no
28222 fi
28223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28224       ac_ext=c
28225 ac_cpp='$CPP $CPPFLAGS'
28226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28229
28230
28231 fi
28232
28233   fi
28234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28235 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28236
28237   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28238     for ac_func in atan2f
28239 do :
28240   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28241 if test "x$ac_cv_func_atan2f" = x""yes; then :
28242   cat >>confdefs.h <<_ACEOF
28243 #define HAVE_ATAN2F 1
28244 _ACEOF
28245
28246 fi
28247 done
28248
28249   else
28250
28251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28252 $as_echo_n "checking for _atan2f declaration... " >&6; }
28253   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28254     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28255   $as_echo_n "(cached) " >&6
28256 else
28257
28258
28259       ac_ext=cpp
28260 ac_cpp='$CXXCPP $CPPFLAGS'
28261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28264
28265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h.  */
28267 #include <math.h>
28268 int
28269 main ()
28270 {
28271  _atan2f(0, 0);
28272   ;
28273   return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277   glibcxx_cv_func__atan2f_use=yes
28278 else
28279   glibcxx_cv_func__atan2f_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282       ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288
28289 fi
28290
28291   fi
28292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28293 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28294
28295     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28296       for ac_func in _atan2f
28297 do :
28298   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28299 if test "x$ac_cv_func__atan2f" = x""yes; then :
28300   cat >>confdefs.h <<_ACEOF
28301 #define HAVE__ATAN2F 1
28302 _ACEOF
28303
28304 fi
28305 done
28306
28307     fi
28308   fi
28309
28310
28311
28312
28313
28314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28315 $as_echo_n "checking for fabsf declaration... " >&6; }
28316   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28317     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28318   $as_echo_n "(cached) " >&6
28319 else
28320
28321
28322       ac_ext=cpp
28323 ac_cpp='$CXXCPP $CPPFLAGS'
28324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28327
28328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h.  */
28330 #include <math.h>
28331                       #ifdef HAVE_IEEEFP_H
28332                       #include <ieeefp.h>
28333                       #endif
28334
28335 int
28336 main ()
28337 {
28338  fabsf(0);
28339   ;
28340   return 0;
28341 }
28342 _ACEOF
28343 if ac_fn_cxx_try_compile "$LINENO"; then :
28344   glibcxx_cv_func_fabsf_use=yes
28345 else
28346   glibcxx_cv_func_fabsf_use=no
28347 fi
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349       ac_ext=c
28350 ac_cpp='$CPP $CPPFLAGS'
28351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28354
28355
28356 fi
28357
28358   fi
28359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28360 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28361
28362   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28363     for ac_func in fabsf
28364 do :
28365   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28366 if test "x$ac_cv_func_fabsf" = x""yes; then :
28367   cat >>confdefs.h <<_ACEOF
28368 #define HAVE_FABSF 1
28369 _ACEOF
28370
28371 fi
28372 done
28373
28374   else
28375
28376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28377 $as_echo_n "checking for _fabsf declaration... " >&6; }
28378   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28379     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28380   $as_echo_n "(cached) " >&6
28381 else
28382
28383
28384       ac_ext=cpp
28385 ac_cpp='$CXXCPP $CPPFLAGS'
28386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28389
28390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 /* end confdefs.h.  */
28392 #include <math.h>
28393                       #ifdef HAVE_IEEEFP_H
28394                       #include <ieeefp.h>
28395                       #endif
28396
28397 int
28398 main ()
28399 {
28400  _fabsf(0);
28401   ;
28402   return 0;
28403 }
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406   glibcxx_cv_func__fabsf_use=yes
28407 else
28408   glibcxx_cv_func__fabsf_use=no
28409 fi
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411       ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28416
28417
28418 fi
28419
28420   fi
28421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28422 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28423
28424     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28425       for ac_func in _fabsf
28426 do :
28427   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28428 if test "x$ac_cv_func__fabsf" = x""yes; then :
28429   cat >>confdefs.h <<_ACEOF
28430 #define HAVE__FABSF 1
28431 _ACEOF
28432
28433 fi
28434 done
28435
28436     fi
28437   fi
28438
28439
28440
28441
28442
28443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28444 $as_echo_n "checking for fmodf declaration... " >&6; }
28445   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28446     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28447   $as_echo_n "(cached) " >&6
28448 else
28449
28450
28451       ac_ext=cpp
28452 ac_cpp='$CXXCPP $CPPFLAGS'
28453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28456
28457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28458 /* end confdefs.h.  */
28459 #include <math.h>
28460 int
28461 main ()
28462 {
28463  fmodf(0, 0);
28464   ;
28465   return 0;
28466 }
28467 _ACEOF
28468 if ac_fn_cxx_try_compile "$LINENO"; then :
28469   glibcxx_cv_func_fmodf_use=yes
28470 else
28471   glibcxx_cv_func_fmodf_use=no
28472 fi
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28474       ac_ext=c
28475 ac_cpp='$CPP $CPPFLAGS'
28476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28479
28480
28481 fi
28482
28483   fi
28484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28485 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28486
28487   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28488     for ac_func in fmodf
28489 do :
28490   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28491 if test "x$ac_cv_func_fmodf" = x""yes; then :
28492   cat >>confdefs.h <<_ACEOF
28493 #define HAVE_FMODF 1
28494 _ACEOF
28495
28496 fi
28497 done
28498
28499   else
28500
28501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28502 $as_echo_n "checking for _fmodf declaration... " >&6; }
28503   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28504     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28505   $as_echo_n "(cached) " >&6
28506 else
28507
28508
28509       ac_ext=cpp
28510 ac_cpp='$CXXCPP $CPPFLAGS'
28511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28514
28515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h.  */
28517 #include <math.h>
28518 int
28519 main ()
28520 {
28521  _fmodf(0, 0);
28522   ;
28523   return 0;
28524 }
28525 _ACEOF
28526 if ac_fn_cxx_try_compile "$LINENO"; then :
28527   glibcxx_cv_func__fmodf_use=yes
28528 else
28529   glibcxx_cv_func__fmodf_use=no
28530 fi
28531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28532       ac_ext=c
28533 ac_cpp='$CPP $CPPFLAGS'
28534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28537
28538
28539 fi
28540
28541   fi
28542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28543 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28544
28545     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28546       for ac_func in _fmodf
28547 do :
28548   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28549 if test "x$ac_cv_func__fmodf" = x""yes; then :
28550   cat >>confdefs.h <<_ACEOF
28551 #define HAVE__FMODF 1
28552 _ACEOF
28553
28554 fi
28555 done
28556
28557     fi
28558   fi
28559
28560
28561
28562
28563
28564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28565 $as_echo_n "checking for frexpf declaration... " >&6; }
28566   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28567     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28568   $as_echo_n "(cached) " >&6
28569 else
28570
28571
28572       ac_ext=cpp
28573 ac_cpp='$CXXCPP $CPPFLAGS'
28574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28577
28578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28579 /* end confdefs.h.  */
28580 #include <math.h>
28581 int
28582 main ()
28583 {
28584  frexpf(0, 0);
28585   ;
28586   return 0;
28587 }
28588 _ACEOF
28589 if ac_fn_cxx_try_compile "$LINENO"; then :
28590   glibcxx_cv_func_frexpf_use=yes
28591 else
28592   glibcxx_cv_func_frexpf_use=no
28593 fi
28594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28595       ac_ext=c
28596 ac_cpp='$CPP $CPPFLAGS'
28597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28600
28601
28602 fi
28603
28604   fi
28605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28606 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28607
28608   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28609     for ac_func in frexpf
28610 do :
28611   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28612 if test "x$ac_cv_func_frexpf" = x""yes; then :
28613   cat >>confdefs.h <<_ACEOF
28614 #define HAVE_FREXPF 1
28615 _ACEOF
28616
28617 fi
28618 done
28619
28620   else
28621
28622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28623 $as_echo_n "checking for _frexpf declaration... " >&6; }
28624   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28625     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28626   $as_echo_n "(cached) " >&6
28627 else
28628
28629
28630       ac_ext=cpp
28631 ac_cpp='$CXXCPP $CPPFLAGS'
28632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28635
28636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h.  */
28638 #include <math.h>
28639 int
28640 main ()
28641 {
28642  _frexpf(0, 0);
28643   ;
28644   return 0;
28645 }
28646 _ACEOF
28647 if ac_fn_cxx_try_compile "$LINENO"; then :
28648   glibcxx_cv_func__frexpf_use=yes
28649 else
28650   glibcxx_cv_func__frexpf_use=no
28651 fi
28652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28653       ac_ext=c
28654 ac_cpp='$CPP $CPPFLAGS'
28655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28658
28659
28660 fi
28661
28662   fi
28663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28664 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28665
28666     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28667       for ac_func in _frexpf
28668 do :
28669   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28670 if test "x$ac_cv_func__frexpf" = x""yes; then :
28671   cat >>confdefs.h <<_ACEOF
28672 #define HAVE__FREXPF 1
28673 _ACEOF
28674
28675 fi
28676 done
28677
28678     fi
28679   fi
28680
28681
28682
28683
28684
28685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28686 $as_echo_n "checking for hypotf declaration... " >&6; }
28687   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28688     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28689   $as_echo_n "(cached) " >&6
28690 else
28691
28692
28693       ac_ext=cpp
28694 ac_cpp='$CXXCPP $CPPFLAGS'
28695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28698
28699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h.  */
28701 #include <math.h>
28702 int
28703 main ()
28704 {
28705  hypotf(0, 0);
28706   ;
28707   return 0;
28708 }
28709 _ACEOF
28710 if ac_fn_cxx_try_compile "$LINENO"; then :
28711   glibcxx_cv_func_hypotf_use=yes
28712 else
28713   glibcxx_cv_func_hypotf_use=no
28714 fi
28715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28716       ac_ext=c
28717 ac_cpp='$CPP $CPPFLAGS'
28718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28721
28722
28723 fi
28724
28725   fi
28726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28727 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28728
28729   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28730     for ac_func in hypotf
28731 do :
28732   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28733 if test "x$ac_cv_func_hypotf" = x""yes; then :
28734   cat >>confdefs.h <<_ACEOF
28735 #define HAVE_HYPOTF 1
28736 _ACEOF
28737
28738 fi
28739 done
28740
28741   else
28742
28743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28744 $as_echo_n "checking for _hypotf declaration... " >&6; }
28745   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28746     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28747   $as_echo_n "(cached) " >&6
28748 else
28749
28750
28751       ac_ext=cpp
28752 ac_cpp='$CXXCPP $CPPFLAGS'
28753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28756
28757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28758 /* end confdefs.h.  */
28759 #include <math.h>
28760 int
28761 main ()
28762 {
28763  _hypotf(0, 0);
28764   ;
28765   return 0;
28766 }
28767 _ACEOF
28768 if ac_fn_cxx_try_compile "$LINENO"; then :
28769   glibcxx_cv_func__hypotf_use=yes
28770 else
28771   glibcxx_cv_func__hypotf_use=no
28772 fi
28773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28774       ac_ext=c
28775 ac_cpp='$CPP $CPPFLAGS'
28776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28779
28780
28781 fi
28782
28783   fi
28784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28785 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28786
28787     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28788       for ac_func in _hypotf
28789 do :
28790   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28791 if test "x$ac_cv_func__hypotf" = x""yes; then :
28792   cat >>confdefs.h <<_ACEOF
28793 #define HAVE__HYPOTF 1
28794 _ACEOF
28795
28796 fi
28797 done
28798
28799     fi
28800   fi
28801
28802
28803
28804
28805
28806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28807 $as_echo_n "checking for ldexpf declaration... " >&6; }
28808   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28809     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28810   $as_echo_n "(cached) " >&6
28811 else
28812
28813
28814       ac_ext=cpp
28815 ac_cpp='$CXXCPP $CPPFLAGS'
28816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28819
28820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28821 /* end confdefs.h.  */
28822 #include <math.h>
28823 int
28824 main ()
28825 {
28826  ldexpf(0, 0);
28827   ;
28828   return 0;
28829 }
28830 _ACEOF
28831 if ac_fn_cxx_try_compile "$LINENO"; then :
28832   glibcxx_cv_func_ldexpf_use=yes
28833 else
28834   glibcxx_cv_func_ldexpf_use=no
28835 fi
28836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28837       ac_ext=c
28838 ac_cpp='$CPP $CPPFLAGS'
28839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28842
28843
28844 fi
28845
28846   fi
28847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28848 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28849
28850   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28851     for ac_func in ldexpf
28852 do :
28853   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28854 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28855   cat >>confdefs.h <<_ACEOF
28856 #define HAVE_LDEXPF 1
28857 _ACEOF
28858
28859 fi
28860 done
28861
28862   else
28863
28864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28865 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28866   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28867     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28868   $as_echo_n "(cached) " >&6
28869 else
28870
28871
28872       ac_ext=cpp
28873 ac_cpp='$CXXCPP $CPPFLAGS'
28874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28877
28878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28879 /* end confdefs.h.  */
28880 #include <math.h>
28881 int
28882 main ()
28883 {
28884  _ldexpf(0, 0);
28885   ;
28886   return 0;
28887 }
28888 _ACEOF
28889 if ac_fn_cxx_try_compile "$LINENO"; then :
28890   glibcxx_cv_func__ldexpf_use=yes
28891 else
28892   glibcxx_cv_func__ldexpf_use=no
28893 fi
28894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28895       ac_ext=c
28896 ac_cpp='$CPP $CPPFLAGS'
28897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28900
28901
28902 fi
28903
28904   fi
28905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28906 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28907
28908     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28909       for ac_func in _ldexpf
28910 do :
28911   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28912 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28913   cat >>confdefs.h <<_ACEOF
28914 #define HAVE__LDEXPF 1
28915 _ACEOF
28916
28917 fi
28918 done
28919
28920     fi
28921   fi
28922
28923
28924
28925
28926
28927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28928 $as_echo_n "checking for logf declaration... " >&6; }
28929   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28930     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28931   $as_echo_n "(cached) " >&6
28932 else
28933
28934
28935       ac_ext=cpp
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28940
28941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28942 /* end confdefs.h.  */
28943 #include <math.h>
28944                       #ifdef HAVE_IEEEFP_H
28945                       #include <ieeefp.h>
28946                       #endif
28947
28948 int
28949 main ()
28950 {
28951  logf(0);
28952   ;
28953   return 0;
28954 }
28955 _ACEOF
28956 if ac_fn_cxx_try_compile "$LINENO"; then :
28957   glibcxx_cv_func_logf_use=yes
28958 else
28959   glibcxx_cv_func_logf_use=no
28960 fi
28961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28962       ac_ext=c
28963 ac_cpp='$CPP $CPPFLAGS'
28964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28967
28968
28969 fi
28970
28971   fi
28972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28973 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28974
28975   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28976     for ac_func in logf
28977 do :
28978   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28979 if test "x$ac_cv_func_logf" = x""yes; then :
28980   cat >>confdefs.h <<_ACEOF
28981 #define HAVE_LOGF 1
28982 _ACEOF
28983
28984 fi
28985 done
28986
28987   else
28988
28989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28990 $as_echo_n "checking for _logf declaration... " >&6; }
28991   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28992     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28993   $as_echo_n "(cached) " >&6
28994 else
28995
28996
28997       ac_ext=cpp
28998 ac_cpp='$CXXCPP $CPPFLAGS'
28999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29002
29003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29004 /* end confdefs.h.  */
29005 #include <math.h>
29006                       #ifdef HAVE_IEEEFP_H
29007                       #include <ieeefp.h>
29008                       #endif
29009
29010 int
29011 main ()
29012 {
29013  _logf(0);
29014   ;
29015   return 0;
29016 }
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019   glibcxx_cv_func__logf_use=yes
29020 else
29021   glibcxx_cv_func__logf_use=no
29022 fi
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024       ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029
29030
29031 fi
29032
29033   fi
29034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29035 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29036
29037     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29038       for ac_func in _logf
29039 do :
29040   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29041 if test "x$ac_cv_func__logf" = x""yes; then :
29042   cat >>confdefs.h <<_ACEOF
29043 #define HAVE__LOGF 1
29044 _ACEOF
29045
29046 fi
29047 done
29048
29049     fi
29050   fi
29051
29052
29053
29054
29055
29056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29057 $as_echo_n "checking for log10f declaration... " >&6; }
29058   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29059     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29060   $as_echo_n "(cached) " >&6
29061 else
29062
29063
29064       ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069
29070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h.  */
29072 #include <math.h>
29073                       #ifdef HAVE_IEEEFP_H
29074                       #include <ieeefp.h>
29075                       #endif
29076
29077 int
29078 main ()
29079 {
29080  log10f(0);
29081   ;
29082   return 0;
29083 }
29084 _ACEOF
29085 if ac_fn_cxx_try_compile "$LINENO"; then :
29086   glibcxx_cv_func_log10f_use=yes
29087 else
29088   glibcxx_cv_func_log10f_use=no
29089 fi
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091       ac_ext=c
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096
29097
29098 fi
29099
29100   fi
29101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29102 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29103
29104   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29105     for ac_func in log10f
29106 do :
29107   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29108 if test "x$ac_cv_func_log10f" = x""yes; then :
29109   cat >>confdefs.h <<_ACEOF
29110 #define HAVE_LOG10F 1
29111 _ACEOF
29112
29113 fi
29114 done
29115
29116   else
29117
29118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29119 $as_echo_n "checking for _log10f declaration... " >&6; }
29120   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29121     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29122   $as_echo_n "(cached) " >&6
29123 else
29124
29125
29126       ac_ext=cpp
29127 ac_cpp='$CXXCPP $CPPFLAGS'
29128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29131
29132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29133 /* end confdefs.h.  */
29134 #include <math.h>
29135                       #ifdef HAVE_IEEEFP_H
29136                       #include <ieeefp.h>
29137                       #endif
29138
29139 int
29140 main ()
29141 {
29142  _log10f(0);
29143   ;
29144   return 0;
29145 }
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148   glibcxx_cv_func__log10f_use=yes
29149 else
29150   glibcxx_cv_func__log10f_use=no
29151 fi
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153       ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29158
29159
29160 fi
29161
29162   fi
29163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29164 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29165
29166     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29167       for ac_func in _log10f
29168 do :
29169   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29170 if test "x$ac_cv_func__log10f" = x""yes; then :
29171   cat >>confdefs.h <<_ACEOF
29172 #define HAVE__LOG10F 1
29173 _ACEOF
29174
29175 fi
29176 done
29177
29178     fi
29179   fi
29180
29181
29182
29183
29184
29185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29186 $as_echo_n "checking for modff declaration... " >&6; }
29187   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29188     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29189   $as_echo_n "(cached) " >&6
29190 else
29191
29192
29193       ac_ext=cpp
29194 ac_cpp='$CXXCPP $CPPFLAGS'
29195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29198
29199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29200 /* end confdefs.h.  */
29201 #include <math.h>
29202 int
29203 main ()
29204 {
29205  modff(0, 0);
29206   ;
29207   return 0;
29208 }
29209 _ACEOF
29210 if ac_fn_cxx_try_compile "$LINENO"; then :
29211   glibcxx_cv_func_modff_use=yes
29212 else
29213   glibcxx_cv_func_modff_use=no
29214 fi
29215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29216       ac_ext=c
29217 ac_cpp='$CPP $CPPFLAGS'
29218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29221
29222
29223 fi
29224
29225   fi
29226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29227 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29228
29229   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29230     for ac_func in modff
29231 do :
29232   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29233 if test "x$ac_cv_func_modff" = x""yes; then :
29234   cat >>confdefs.h <<_ACEOF
29235 #define HAVE_MODFF 1
29236 _ACEOF
29237
29238 fi
29239 done
29240
29241   else
29242
29243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29244 $as_echo_n "checking for _modff declaration... " >&6; }
29245   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29246     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29247   $as_echo_n "(cached) " >&6
29248 else
29249
29250
29251       ac_ext=cpp
29252 ac_cpp='$CXXCPP $CPPFLAGS'
29253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29256
29257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29258 /* end confdefs.h.  */
29259 #include <math.h>
29260 int
29261 main ()
29262 {
29263  _modff(0, 0);
29264   ;
29265   return 0;
29266 }
29267 _ACEOF
29268 if ac_fn_cxx_try_compile "$LINENO"; then :
29269   glibcxx_cv_func__modff_use=yes
29270 else
29271   glibcxx_cv_func__modff_use=no
29272 fi
29273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29274       ac_ext=c
29275 ac_cpp='$CPP $CPPFLAGS'
29276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279
29280
29281 fi
29282
29283   fi
29284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29285 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29286
29287     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29288       for ac_func in _modff
29289 do :
29290   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29291 if test "x$ac_cv_func__modff" = x""yes; then :
29292   cat >>confdefs.h <<_ACEOF
29293 #define HAVE__MODFF 1
29294 _ACEOF
29295
29296 fi
29297 done
29298
29299     fi
29300   fi
29301
29302
29303
29304
29305
29306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29307 $as_echo_n "checking for modf declaration... " >&6; }
29308   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29309     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29310   $as_echo_n "(cached) " >&6
29311 else
29312
29313
29314       ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29319
29320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h.  */
29322 #include <math.h>
29323 int
29324 main ()
29325 {
29326  modf(0, 0);
29327   ;
29328   return 0;
29329 }
29330 _ACEOF
29331 if ac_fn_cxx_try_compile "$LINENO"; then :
29332   glibcxx_cv_func_modf_use=yes
29333 else
29334   glibcxx_cv_func_modf_use=no
29335 fi
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29337       ac_ext=c
29338 ac_cpp='$CPP $CPPFLAGS'
29339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29342
29343
29344 fi
29345
29346   fi
29347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29348 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29349
29350   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29351     for ac_func in modf
29352 do :
29353   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29354 if test "x$ac_cv_func_modf" = x""yes; then :
29355   cat >>confdefs.h <<_ACEOF
29356 #define HAVE_MODF 1
29357 _ACEOF
29358
29359 fi
29360 done
29361
29362   else
29363
29364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29365 $as_echo_n "checking for _modf declaration... " >&6; }
29366   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29367     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29368   $as_echo_n "(cached) " >&6
29369 else
29370
29371
29372       ac_ext=cpp
29373 ac_cpp='$CXXCPP $CPPFLAGS'
29374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29377
29378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29379 /* end confdefs.h.  */
29380 #include <math.h>
29381 int
29382 main ()
29383 {
29384  _modf(0, 0);
29385   ;
29386   return 0;
29387 }
29388 _ACEOF
29389 if ac_fn_cxx_try_compile "$LINENO"; then :
29390   glibcxx_cv_func__modf_use=yes
29391 else
29392   glibcxx_cv_func__modf_use=no
29393 fi
29394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29395       ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400
29401
29402 fi
29403
29404   fi
29405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29406 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29407
29408     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29409       for ac_func in _modf
29410 do :
29411   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29412 if test "x$ac_cv_func__modf" = x""yes; then :
29413   cat >>confdefs.h <<_ACEOF
29414 #define HAVE__MODF 1
29415 _ACEOF
29416
29417 fi
29418 done
29419
29420     fi
29421   fi
29422
29423
29424
29425
29426
29427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29428 $as_echo_n "checking for powf declaration... " >&6; }
29429   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29430     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29431   $as_echo_n "(cached) " >&6
29432 else
29433
29434
29435       ac_ext=cpp
29436 ac_cpp='$CXXCPP $CPPFLAGS'
29437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29440
29441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29442 /* end confdefs.h.  */
29443 #include <math.h>
29444 int
29445 main ()
29446 {
29447  powf(0, 0);
29448   ;
29449   return 0;
29450 }
29451 _ACEOF
29452 if ac_fn_cxx_try_compile "$LINENO"; then :
29453   glibcxx_cv_func_powf_use=yes
29454 else
29455   glibcxx_cv_func_powf_use=no
29456 fi
29457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458       ac_ext=c
29459 ac_cpp='$CPP $CPPFLAGS'
29460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463
29464
29465 fi
29466
29467   fi
29468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29469 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29470
29471   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29472     for ac_func in powf
29473 do :
29474   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29475 if test "x$ac_cv_func_powf" = x""yes; then :
29476   cat >>confdefs.h <<_ACEOF
29477 #define HAVE_POWF 1
29478 _ACEOF
29479
29480 fi
29481 done
29482
29483   else
29484
29485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29486 $as_echo_n "checking for _powf declaration... " >&6; }
29487   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29488     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29489   $as_echo_n "(cached) " >&6
29490 else
29491
29492
29493       ac_ext=cpp
29494 ac_cpp='$CXXCPP $CPPFLAGS'
29495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29498
29499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29500 /* end confdefs.h.  */
29501 #include <math.h>
29502 int
29503 main ()
29504 {
29505  _powf(0, 0);
29506   ;
29507   return 0;
29508 }
29509 _ACEOF
29510 if ac_fn_cxx_try_compile "$LINENO"; then :
29511   glibcxx_cv_func__powf_use=yes
29512 else
29513   glibcxx_cv_func__powf_use=no
29514 fi
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29516       ac_ext=c
29517 ac_cpp='$CPP $CPPFLAGS'
29518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29521
29522
29523 fi
29524
29525   fi
29526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29527 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29528
29529     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29530       for ac_func in _powf
29531 do :
29532   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29533 if test "x$ac_cv_func__powf" = x""yes; then :
29534   cat >>confdefs.h <<_ACEOF
29535 #define HAVE__POWF 1
29536 _ACEOF
29537
29538 fi
29539 done
29540
29541     fi
29542   fi
29543
29544
29545
29546
29547
29548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29549 $as_echo_n "checking for sqrtf declaration... " >&6; }
29550   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29551     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29552   $as_echo_n "(cached) " >&6
29553 else
29554
29555
29556       ac_ext=cpp
29557 ac_cpp='$CXXCPP $CPPFLAGS'
29558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29561
29562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29563 /* end confdefs.h.  */
29564 #include <math.h>
29565                       #ifdef HAVE_IEEEFP_H
29566                       #include <ieeefp.h>
29567                       #endif
29568
29569 int
29570 main ()
29571 {
29572  sqrtf(0);
29573   ;
29574   return 0;
29575 }
29576 _ACEOF
29577 if ac_fn_cxx_try_compile "$LINENO"; then :
29578   glibcxx_cv_func_sqrtf_use=yes
29579 else
29580   glibcxx_cv_func_sqrtf_use=no
29581 fi
29582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29583       ac_ext=c
29584 ac_cpp='$CPP $CPPFLAGS'
29585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29588
29589
29590 fi
29591
29592   fi
29593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29594 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29595
29596   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29597     for ac_func in sqrtf
29598 do :
29599   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29600 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29601   cat >>confdefs.h <<_ACEOF
29602 #define HAVE_SQRTF 1
29603 _ACEOF
29604
29605 fi
29606 done
29607
29608   else
29609
29610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29611 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29612   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29613     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29614   $as_echo_n "(cached) " >&6
29615 else
29616
29617
29618       ac_ext=cpp
29619 ac_cpp='$CXXCPP $CPPFLAGS'
29620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29623
29624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h.  */
29626 #include <math.h>
29627                       #ifdef HAVE_IEEEFP_H
29628                       #include <ieeefp.h>
29629                       #endif
29630
29631 int
29632 main ()
29633 {
29634  _sqrtf(0);
29635   ;
29636   return 0;
29637 }
29638 _ACEOF
29639 if ac_fn_cxx_try_compile "$LINENO"; then :
29640   glibcxx_cv_func__sqrtf_use=yes
29641 else
29642   glibcxx_cv_func__sqrtf_use=no
29643 fi
29644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645       ac_ext=c
29646 ac_cpp='$CPP $CPPFLAGS'
29647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29650
29651
29652 fi
29653
29654   fi
29655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29656 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29657
29658     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29659       for ac_func in _sqrtf
29660 do :
29661   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29662 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29663   cat >>confdefs.h <<_ACEOF
29664 #define HAVE__SQRTF 1
29665 _ACEOF
29666
29667 fi
29668 done
29669
29670     fi
29671   fi
29672
29673
29674
29675
29676
29677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29678 $as_echo_n "checking for sincosf declaration... " >&6; }
29679   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29680     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29681   $as_echo_n "(cached) " >&6
29682 else
29683
29684
29685       ac_ext=cpp
29686 ac_cpp='$CXXCPP $CPPFLAGS'
29687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29690
29691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692 /* end confdefs.h.  */
29693 #include <math.h>
29694 int
29695 main ()
29696 {
29697  sincosf(0, 0, 0);
29698   ;
29699   return 0;
29700 }
29701 _ACEOF
29702 if ac_fn_cxx_try_compile "$LINENO"; then :
29703   glibcxx_cv_func_sincosf_use=yes
29704 else
29705   glibcxx_cv_func_sincosf_use=no
29706 fi
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708       ac_ext=c
29709 ac_cpp='$CPP $CPPFLAGS'
29710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29713
29714
29715 fi
29716
29717   fi
29718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29719 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29720
29721   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29722     for ac_func in sincosf
29723 do :
29724   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29725 if test "x$ac_cv_func_sincosf" = x""yes; then :
29726   cat >>confdefs.h <<_ACEOF
29727 #define HAVE_SINCOSF 1
29728 _ACEOF
29729
29730 fi
29731 done
29732
29733   else
29734
29735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29736 $as_echo_n "checking for _sincosf declaration... " >&6; }
29737   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29738     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29739   $as_echo_n "(cached) " >&6
29740 else
29741
29742
29743       ac_ext=cpp
29744 ac_cpp='$CXXCPP $CPPFLAGS'
29745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748
29749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29750 /* end confdefs.h.  */
29751 #include <math.h>
29752 int
29753 main ()
29754 {
29755  _sincosf(0, 0, 0);
29756   ;
29757   return 0;
29758 }
29759 _ACEOF
29760 if ac_fn_cxx_try_compile "$LINENO"; then :
29761   glibcxx_cv_func__sincosf_use=yes
29762 else
29763   glibcxx_cv_func__sincosf_use=no
29764 fi
29765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29766       ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29771
29772
29773 fi
29774
29775   fi
29776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29777 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29778
29779     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29780       for ac_func in _sincosf
29781 do :
29782   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29783 if test "x$ac_cv_func__sincosf" = x""yes; then :
29784   cat >>confdefs.h <<_ACEOF
29785 #define HAVE__SINCOSF 1
29786 _ACEOF
29787
29788 fi
29789 done
29790
29791     fi
29792   fi
29793
29794
29795
29796
29797
29798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29799 $as_echo_n "checking for finitef declaration... " >&6; }
29800   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29801     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29802   $as_echo_n "(cached) " >&6
29803 else
29804
29805
29806       ac_ext=cpp
29807 ac_cpp='$CXXCPP $CPPFLAGS'
29808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29811
29812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29813 /* end confdefs.h.  */
29814 #include <math.h>
29815                       #ifdef HAVE_IEEEFP_H
29816                       #include <ieeefp.h>
29817                       #endif
29818
29819 int
29820 main ()
29821 {
29822  finitef(0);
29823   ;
29824   return 0;
29825 }
29826 _ACEOF
29827 if ac_fn_cxx_try_compile "$LINENO"; then :
29828   glibcxx_cv_func_finitef_use=yes
29829 else
29830   glibcxx_cv_func_finitef_use=no
29831 fi
29832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29833       ac_ext=c
29834 ac_cpp='$CPP $CPPFLAGS'
29835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29838
29839
29840 fi
29841
29842   fi
29843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29844 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29845
29846   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29847     for ac_func in finitef
29848 do :
29849   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29850 if test "x$ac_cv_func_finitef" = x""yes; then :
29851   cat >>confdefs.h <<_ACEOF
29852 #define HAVE_FINITEF 1
29853 _ACEOF
29854
29855 fi
29856 done
29857
29858   else
29859
29860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29861 $as_echo_n "checking for _finitef declaration... " >&6; }
29862   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29863     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29864   $as_echo_n "(cached) " >&6
29865 else
29866
29867
29868       ac_ext=cpp
29869 ac_cpp='$CXXCPP $CPPFLAGS'
29870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873
29874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29875 /* end confdefs.h.  */
29876 #include <math.h>
29877                       #ifdef HAVE_IEEEFP_H
29878                       #include <ieeefp.h>
29879                       #endif
29880
29881 int
29882 main ()
29883 {
29884  _finitef(0);
29885   ;
29886   return 0;
29887 }
29888 _ACEOF
29889 if ac_fn_cxx_try_compile "$LINENO"; then :
29890   glibcxx_cv_func__finitef_use=yes
29891 else
29892   glibcxx_cv_func__finitef_use=no
29893 fi
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895       ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29900
29901
29902 fi
29903
29904   fi
29905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29906 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29907
29908     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29909       for ac_func in _finitef
29910 do :
29911   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29912 if test "x$ac_cv_func__finitef" = x""yes; then :
29913   cat >>confdefs.h <<_ACEOF
29914 #define HAVE__FINITEF 1
29915 _ACEOF
29916
29917 fi
29918 done
29919
29920     fi
29921   fi
29922
29923
29924
29925
29926
29927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29928 $as_echo_n "checking for long double trig functions... " >&6; }
29929   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29930   $as_echo_n "(cached) " >&6
29931 else
29932
29933
29934     ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939
29940     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h.  */
29942 #include <math.h>
29943 int
29944 main ()
29945 {
29946 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29947   ;
29948   return 0;
29949 }
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952   glibcxx_cv_func_long_double_trig_use=yes
29953 else
29954   glibcxx_cv_func_long_double_trig_use=no
29955 fi
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957     ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29962
29963 fi
29964
29965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29966 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29967   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29968     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29969 do :
29970   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29972 eval as_val=\$$as_ac_var
29973    if test "x$as_val" = x""yes; then :
29974   cat >>confdefs.h <<_ACEOF
29975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29976 _ACEOF
29977
29978 fi
29979 done
29980
29981   else
29982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29983 $as_echo_n "checking for _long double trig functions... " >&6; }
29984     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29985   $as_echo_n "(cached) " >&6
29986 else
29987
29988
29989       ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29994
29995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h.  */
29997 #include <math.h>
29998 int
29999 main ()
30000 {
30001 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30002   ;
30003   return 0;
30004 }
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007   glibcxx_cv_func__long_double_trig_use=yes
30008 else
30009   glibcxx_cv_func__long_double_trig_use=no
30010 fi
30011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30012       ac_ext=c
30013 ac_cpp='$CPP $CPPFLAGS'
30014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30017
30018 fi
30019
30020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30021 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30022     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30023       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30024 do :
30025   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30027 eval as_val=\$$as_ac_var
30028    if test "x$as_val" = x""yes; then :
30029   cat >>confdefs.h <<_ACEOF
30030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30031 _ACEOF
30032
30033 fi
30034 done
30035
30036     fi
30037   fi
30038
30039
30040
30041
30042
30043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30044 $as_echo_n "checking for long double round functions... " >&6; }
30045   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30046   $as_echo_n "(cached) " >&6
30047 else
30048
30049
30050     ac_ext=cpp
30051 ac_cpp='$CXXCPP $CPPFLAGS'
30052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30055
30056     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h.  */
30058 #include <math.h>
30059 int
30060 main ()
30061 {
30062 ceill (0); floorl (0);
30063   ;
30064   return 0;
30065 }
30066 _ACEOF
30067 if ac_fn_cxx_try_compile "$LINENO"; then :
30068   glibcxx_cv_func_long_double_round_use=yes
30069 else
30070   glibcxx_cv_func_long_double_round_use=no
30071 fi
30072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30073     ac_ext=c
30074 ac_cpp='$CPP $CPPFLAGS'
30075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30078
30079 fi
30080
30081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30082 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30083   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30084     for ac_func in ceill floorl
30085 do :
30086   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30088 eval as_val=\$$as_ac_var
30089    if test "x$as_val" = x""yes; then :
30090   cat >>confdefs.h <<_ACEOF
30091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30092 _ACEOF
30093
30094 fi
30095 done
30096
30097   else
30098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30099 $as_echo_n "checking for _long double round functions... " >&6; }
30100     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30101   $as_echo_n "(cached) " >&6
30102 else
30103
30104
30105       ac_ext=cpp
30106 ac_cpp='$CXXCPP $CPPFLAGS'
30107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30110
30111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30112 /* end confdefs.h.  */
30113 #include <math.h>
30114 int
30115 main ()
30116 {
30117 _ceill (0); _floorl (0);
30118   ;
30119   return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123   glibcxx_cv_func__long_double_round_use=yes
30124 else
30125   glibcxx_cv_func__long_double_round_use=no
30126 fi
30127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128       ac_ext=c
30129 ac_cpp='$CPP $CPPFLAGS'
30130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30133
30134 fi
30135
30136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30137 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30138     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30139       for ac_func in _ceill _floorl
30140 do :
30141   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30143 eval as_val=\$$as_ac_var
30144    if test "x$as_val" = x""yes; then :
30145   cat >>confdefs.h <<_ACEOF
30146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30147 _ACEOF
30148
30149 fi
30150 done
30151
30152     fi
30153   fi
30154
30155
30156
30157
30158
30159
30160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30161 $as_echo_n "checking for isnanl declaration... " >&6; }
30162   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30163     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30164   $as_echo_n "(cached) " >&6
30165 else
30166
30167
30168       ac_ext=cpp
30169 ac_cpp='$CXXCPP $CPPFLAGS'
30170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30173
30174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30175 /* end confdefs.h.  */
30176 #include <math.h>
30177                       #ifdef HAVE_IEEEFP_H
30178                       #include <ieeefp.h>
30179                       #endif
30180
30181 int
30182 main ()
30183 {
30184  isnanl(0);
30185   ;
30186   return 0;
30187 }
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190   glibcxx_cv_func_isnanl_use=yes
30191 else
30192   glibcxx_cv_func_isnanl_use=no
30193 fi
30194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30195       ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30200
30201
30202 fi
30203
30204   fi
30205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30206 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30207
30208   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30209     for ac_func in isnanl
30210 do :
30211   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30212 if test "x$ac_cv_func_isnanl" = x""yes; then :
30213   cat >>confdefs.h <<_ACEOF
30214 #define HAVE_ISNANL 1
30215 _ACEOF
30216
30217 fi
30218 done
30219
30220   else
30221
30222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30223 $as_echo_n "checking for _isnanl declaration... " >&6; }
30224   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30225     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30226   $as_echo_n "(cached) " >&6
30227 else
30228
30229
30230       ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235
30236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h.  */
30238 #include <math.h>
30239                       #ifdef HAVE_IEEEFP_H
30240                       #include <ieeefp.h>
30241                       #endif
30242
30243 int
30244 main ()
30245 {
30246  _isnanl(0);
30247   ;
30248   return 0;
30249 }
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252   glibcxx_cv_func__isnanl_use=yes
30253 else
30254   glibcxx_cv_func__isnanl_use=no
30255 fi
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257       ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30262
30263
30264 fi
30265
30266   fi
30267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30268 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30269
30270     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30271       for ac_func in _isnanl
30272 do :
30273   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30274 if test "x$ac_cv_func__isnanl" = x""yes; then :
30275   cat >>confdefs.h <<_ACEOF
30276 #define HAVE__ISNANL 1
30277 _ACEOF
30278
30279 fi
30280 done
30281
30282     fi
30283   fi
30284
30285
30286
30287
30288
30289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30290 $as_echo_n "checking for isinfl declaration... " >&6; }
30291   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30292     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30293   $as_echo_n "(cached) " >&6
30294 else
30295
30296
30297       ac_ext=cpp
30298 ac_cpp='$CXXCPP $CPPFLAGS'
30299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30302
30303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30304 /* end confdefs.h.  */
30305 #include <math.h>
30306                       #ifdef HAVE_IEEEFP_H
30307                       #include <ieeefp.h>
30308                       #endif
30309
30310 int
30311 main ()
30312 {
30313  isinfl(0);
30314   ;
30315   return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319   glibcxx_cv_func_isinfl_use=yes
30320 else
30321   glibcxx_cv_func_isinfl_use=no
30322 fi
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324       ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329
30330
30331 fi
30332
30333   fi
30334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30335 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30336
30337   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30338     for ac_func in isinfl
30339 do :
30340   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30341 if test "x$ac_cv_func_isinfl" = x""yes; then :
30342   cat >>confdefs.h <<_ACEOF
30343 #define HAVE_ISINFL 1
30344 _ACEOF
30345
30346 fi
30347 done
30348
30349   else
30350
30351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30352 $as_echo_n "checking for _isinfl declaration... " >&6; }
30353   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30354     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30355   $as_echo_n "(cached) " >&6
30356 else
30357
30358
30359       ac_ext=cpp
30360 ac_cpp='$CXXCPP $CPPFLAGS'
30361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30364
30365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h.  */
30367 #include <math.h>
30368                       #ifdef HAVE_IEEEFP_H
30369                       #include <ieeefp.h>
30370                       #endif
30371
30372 int
30373 main ()
30374 {
30375  _isinfl(0);
30376   ;
30377   return 0;
30378 }
30379 _ACEOF
30380 if ac_fn_cxx_try_compile "$LINENO"; then :
30381   glibcxx_cv_func__isinfl_use=yes
30382 else
30383   glibcxx_cv_func__isinfl_use=no
30384 fi
30385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30386       ac_ext=c
30387 ac_cpp='$CPP $CPPFLAGS'
30388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30391
30392
30393 fi
30394
30395   fi
30396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30397 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30398
30399     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30400       for ac_func in _isinfl
30401 do :
30402   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30403 if test "x$ac_cv_func__isinfl" = x""yes; then :
30404   cat >>confdefs.h <<_ACEOF
30405 #define HAVE__ISINFL 1
30406 _ACEOF
30407
30408 fi
30409 done
30410
30411     fi
30412   fi
30413
30414
30415
30416
30417
30418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30419 $as_echo_n "checking for atan2l declaration... " >&6; }
30420   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30421     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30422   $as_echo_n "(cached) " >&6
30423 else
30424
30425
30426       ac_ext=cpp
30427 ac_cpp='$CXXCPP $CPPFLAGS'
30428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30431
30432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h.  */
30434 #include <math.h>
30435 int
30436 main ()
30437 {
30438  atan2l(0, 0);
30439   ;
30440   return 0;
30441 }
30442 _ACEOF
30443 if ac_fn_cxx_try_compile "$LINENO"; then :
30444   glibcxx_cv_func_atan2l_use=yes
30445 else
30446   glibcxx_cv_func_atan2l_use=no
30447 fi
30448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30449       ac_ext=c
30450 ac_cpp='$CPP $CPPFLAGS'
30451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30454
30455
30456 fi
30457
30458   fi
30459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30460 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30461
30462   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30463     for ac_func in atan2l
30464 do :
30465   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30466 if test "x$ac_cv_func_atan2l" = x""yes; then :
30467   cat >>confdefs.h <<_ACEOF
30468 #define HAVE_ATAN2L 1
30469 _ACEOF
30470
30471 fi
30472 done
30473
30474   else
30475
30476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30477 $as_echo_n "checking for _atan2l declaration... " >&6; }
30478   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30479     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30480   $as_echo_n "(cached) " >&6
30481 else
30482
30483
30484       ac_ext=cpp
30485 ac_cpp='$CXXCPP $CPPFLAGS'
30486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489
30490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30491 /* end confdefs.h.  */
30492 #include <math.h>
30493 int
30494 main ()
30495 {
30496  _atan2l(0, 0);
30497   ;
30498   return 0;
30499 }
30500 _ACEOF
30501 if ac_fn_cxx_try_compile "$LINENO"; then :
30502   glibcxx_cv_func__atan2l_use=yes
30503 else
30504   glibcxx_cv_func__atan2l_use=no
30505 fi
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507       ac_ext=c
30508 ac_cpp='$CPP $CPPFLAGS'
30509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512
30513
30514 fi
30515
30516   fi
30517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30518 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30519
30520     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30521       for ac_func in _atan2l
30522 do :
30523   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30524 if test "x$ac_cv_func__atan2l" = x""yes; then :
30525   cat >>confdefs.h <<_ACEOF
30526 #define HAVE__ATAN2L 1
30527 _ACEOF
30528
30529 fi
30530 done
30531
30532     fi
30533   fi
30534
30535
30536
30537
30538
30539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30540 $as_echo_n "checking for expl declaration... " >&6; }
30541   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30542     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30543   $as_echo_n "(cached) " >&6
30544 else
30545
30546
30547       ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552
30553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h.  */
30555 #include <math.h>
30556                       #ifdef HAVE_IEEEFP_H
30557                       #include <ieeefp.h>
30558                       #endif
30559
30560 int
30561 main ()
30562 {
30563  expl(0);
30564   ;
30565   return 0;
30566 }
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569   glibcxx_cv_func_expl_use=yes
30570 else
30571   glibcxx_cv_func_expl_use=no
30572 fi
30573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30574       ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30579
30580
30581 fi
30582
30583   fi
30584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30585 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30586
30587   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30588     for ac_func in expl
30589 do :
30590   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30591 if test "x$ac_cv_func_expl" = x""yes; then :
30592   cat >>confdefs.h <<_ACEOF
30593 #define HAVE_EXPL 1
30594 _ACEOF
30595
30596 fi
30597 done
30598
30599   else
30600
30601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30602 $as_echo_n "checking for _expl declaration... " >&6; }
30603   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30604     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30605   $as_echo_n "(cached) " >&6
30606 else
30607
30608
30609       ac_ext=cpp
30610 ac_cpp='$CXXCPP $CPPFLAGS'
30611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614
30615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30616 /* end confdefs.h.  */
30617 #include <math.h>
30618                       #ifdef HAVE_IEEEFP_H
30619                       #include <ieeefp.h>
30620                       #endif
30621
30622 int
30623 main ()
30624 {
30625  _expl(0);
30626   ;
30627   return 0;
30628 }
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631   glibcxx_cv_func__expl_use=yes
30632 else
30633   glibcxx_cv_func__expl_use=no
30634 fi
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636       ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641
30642
30643 fi
30644
30645   fi
30646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30647 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30648
30649     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30650       for ac_func in _expl
30651 do :
30652   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30653 if test "x$ac_cv_func__expl" = x""yes; then :
30654   cat >>confdefs.h <<_ACEOF
30655 #define HAVE__EXPL 1
30656 _ACEOF
30657
30658 fi
30659 done
30660
30661     fi
30662   fi
30663
30664
30665
30666
30667
30668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30669 $as_echo_n "checking for fabsl declaration... " >&6; }
30670   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30671     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30672   $as_echo_n "(cached) " >&6
30673 else
30674
30675
30676       ac_ext=cpp
30677 ac_cpp='$CXXCPP $CPPFLAGS'
30678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681
30682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30683 /* end confdefs.h.  */
30684 #include <math.h>
30685                       #ifdef HAVE_IEEEFP_H
30686                       #include <ieeefp.h>
30687                       #endif
30688
30689 int
30690 main ()
30691 {
30692  fabsl(0);
30693   ;
30694   return 0;
30695 }
30696 _ACEOF
30697 if ac_fn_cxx_try_compile "$LINENO"; then :
30698   glibcxx_cv_func_fabsl_use=yes
30699 else
30700   glibcxx_cv_func_fabsl_use=no
30701 fi
30702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30703       ac_ext=c
30704 ac_cpp='$CPP $CPPFLAGS'
30705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30708
30709
30710 fi
30711
30712   fi
30713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30714 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30715
30716   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30717     for ac_func in fabsl
30718 do :
30719   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30720 if test "x$ac_cv_func_fabsl" = x""yes; then :
30721   cat >>confdefs.h <<_ACEOF
30722 #define HAVE_FABSL 1
30723 _ACEOF
30724
30725 fi
30726 done
30727
30728   else
30729
30730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30731 $as_echo_n "checking for _fabsl declaration... " >&6; }
30732   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30733     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30734   $as_echo_n "(cached) " >&6
30735 else
30736
30737
30738       ac_ext=cpp
30739 ac_cpp='$CXXCPP $CPPFLAGS'
30740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743
30744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h.  */
30746 #include <math.h>
30747                       #ifdef HAVE_IEEEFP_H
30748                       #include <ieeefp.h>
30749                       #endif
30750
30751 int
30752 main ()
30753 {
30754  _fabsl(0);
30755   ;
30756   return 0;
30757 }
30758 _ACEOF
30759 if ac_fn_cxx_try_compile "$LINENO"; then :
30760   glibcxx_cv_func__fabsl_use=yes
30761 else
30762   glibcxx_cv_func__fabsl_use=no
30763 fi
30764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30765       ac_ext=c
30766 ac_cpp='$CPP $CPPFLAGS'
30767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770
30771
30772 fi
30773
30774   fi
30775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30776 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30777
30778     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30779       for ac_func in _fabsl
30780 do :
30781   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30782 if test "x$ac_cv_func__fabsl" = x""yes; then :
30783   cat >>confdefs.h <<_ACEOF
30784 #define HAVE__FABSL 1
30785 _ACEOF
30786
30787 fi
30788 done
30789
30790     fi
30791   fi
30792
30793
30794
30795
30796
30797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30798 $as_echo_n "checking for fmodl declaration... " >&6; }
30799   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30800     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30801   $as_echo_n "(cached) " >&6
30802 else
30803
30804
30805       ac_ext=cpp
30806 ac_cpp='$CXXCPP $CPPFLAGS'
30807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810
30811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30812 /* end confdefs.h.  */
30813 #include <math.h>
30814 int
30815 main ()
30816 {
30817  fmodl(0, 0);
30818   ;
30819   return 0;
30820 }
30821 _ACEOF
30822 if ac_fn_cxx_try_compile "$LINENO"; then :
30823   glibcxx_cv_func_fmodl_use=yes
30824 else
30825   glibcxx_cv_func_fmodl_use=no
30826 fi
30827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30828       ac_ext=c
30829 ac_cpp='$CPP $CPPFLAGS'
30830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30833
30834
30835 fi
30836
30837   fi
30838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30839 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30840
30841   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30842     for ac_func in fmodl
30843 do :
30844   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30845 if test "x$ac_cv_func_fmodl" = x""yes; then :
30846   cat >>confdefs.h <<_ACEOF
30847 #define HAVE_FMODL 1
30848 _ACEOF
30849
30850 fi
30851 done
30852
30853   else
30854
30855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30856 $as_echo_n "checking for _fmodl declaration... " >&6; }
30857   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30858     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30859   $as_echo_n "(cached) " >&6
30860 else
30861
30862
30863       ac_ext=cpp
30864 ac_cpp='$CXXCPP $CPPFLAGS'
30865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30868
30869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30870 /* end confdefs.h.  */
30871 #include <math.h>
30872 int
30873 main ()
30874 {
30875  _fmodl(0, 0);
30876   ;
30877   return 0;
30878 }
30879 _ACEOF
30880 if ac_fn_cxx_try_compile "$LINENO"; then :
30881   glibcxx_cv_func__fmodl_use=yes
30882 else
30883   glibcxx_cv_func__fmodl_use=no
30884 fi
30885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30886       ac_ext=c
30887 ac_cpp='$CPP $CPPFLAGS'
30888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30891
30892
30893 fi
30894
30895   fi
30896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30897 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30898
30899     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30900       for ac_func in _fmodl
30901 do :
30902   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30903 if test "x$ac_cv_func__fmodl" = x""yes; then :
30904   cat >>confdefs.h <<_ACEOF
30905 #define HAVE__FMODL 1
30906 _ACEOF
30907
30908 fi
30909 done
30910
30911     fi
30912   fi
30913
30914
30915
30916
30917
30918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30919 $as_echo_n "checking for frexpl declaration... " >&6; }
30920   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30921     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30922   $as_echo_n "(cached) " >&6
30923 else
30924
30925
30926       ac_ext=cpp
30927 ac_cpp='$CXXCPP $CPPFLAGS'
30928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931
30932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30933 /* end confdefs.h.  */
30934 #include <math.h>
30935 int
30936 main ()
30937 {
30938  frexpl(0, 0);
30939   ;
30940   return 0;
30941 }
30942 _ACEOF
30943 if ac_fn_cxx_try_compile "$LINENO"; then :
30944   glibcxx_cv_func_frexpl_use=yes
30945 else
30946   glibcxx_cv_func_frexpl_use=no
30947 fi
30948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30949       ac_ext=c
30950 ac_cpp='$CPP $CPPFLAGS'
30951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30954
30955
30956 fi
30957
30958   fi
30959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30960 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30961
30962   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30963     for ac_func in frexpl
30964 do :
30965   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30966 if test "x$ac_cv_func_frexpl" = x""yes; then :
30967   cat >>confdefs.h <<_ACEOF
30968 #define HAVE_FREXPL 1
30969 _ACEOF
30970
30971 fi
30972 done
30973
30974   else
30975
30976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30977 $as_echo_n "checking for _frexpl declaration... " >&6; }
30978   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30979     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30980   $as_echo_n "(cached) " >&6
30981 else
30982
30983
30984       ac_ext=cpp
30985 ac_cpp='$CXXCPP $CPPFLAGS'
30986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30989
30990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30991 /* end confdefs.h.  */
30992 #include <math.h>
30993 int
30994 main ()
30995 {
30996  _frexpl(0, 0);
30997   ;
30998   return 0;
30999 }
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002   glibcxx_cv_func__frexpl_use=yes
31003 else
31004   glibcxx_cv_func__frexpl_use=no
31005 fi
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007       ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31012
31013
31014 fi
31015
31016   fi
31017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31018 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31019
31020     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31021       for ac_func in _frexpl
31022 do :
31023   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31024 if test "x$ac_cv_func__frexpl" = x""yes; then :
31025   cat >>confdefs.h <<_ACEOF
31026 #define HAVE__FREXPL 1
31027 _ACEOF
31028
31029 fi
31030 done
31031
31032     fi
31033   fi
31034
31035
31036
31037
31038
31039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31040 $as_echo_n "checking for hypotl declaration... " >&6; }
31041   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31042     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31043   $as_echo_n "(cached) " >&6
31044 else
31045
31046
31047       ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31052
31053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h.  */
31055 #include <math.h>
31056 int
31057 main ()
31058 {
31059  hypotl(0, 0);
31060   ;
31061   return 0;
31062 }
31063 _ACEOF
31064 if ac_fn_cxx_try_compile "$LINENO"; then :
31065   glibcxx_cv_func_hypotl_use=yes
31066 else
31067   glibcxx_cv_func_hypotl_use=no
31068 fi
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070       ac_ext=c
31071 ac_cpp='$CPP $CPPFLAGS'
31072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075
31076
31077 fi
31078
31079   fi
31080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31081 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31082
31083   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31084     for ac_func in hypotl
31085 do :
31086   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31087 if test "x$ac_cv_func_hypotl" = x""yes; then :
31088   cat >>confdefs.h <<_ACEOF
31089 #define HAVE_HYPOTL 1
31090 _ACEOF
31091
31092 fi
31093 done
31094
31095   else
31096
31097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31098 $as_echo_n "checking for _hypotl declaration... " >&6; }
31099   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31100     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31101   $as_echo_n "(cached) " >&6
31102 else
31103
31104
31105       ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31110
31111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h.  */
31113 #include <math.h>
31114 int
31115 main ()
31116 {
31117  _hypotl(0, 0);
31118   ;
31119   return 0;
31120 }
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123   glibcxx_cv_func__hypotl_use=yes
31124 else
31125   glibcxx_cv_func__hypotl_use=no
31126 fi
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128       ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31133
31134
31135 fi
31136
31137   fi
31138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31139 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31140
31141     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31142       for ac_func in _hypotl
31143 do :
31144   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31145 if test "x$ac_cv_func__hypotl" = x""yes; then :
31146   cat >>confdefs.h <<_ACEOF
31147 #define HAVE__HYPOTL 1
31148 _ACEOF
31149
31150 fi
31151 done
31152
31153     fi
31154   fi
31155
31156
31157
31158
31159
31160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31161 $as_echo_n "checking for ldexpl declaration... " >&6; }
31162   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31163     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31164   $as_echo_n "(cached) " >&6
31165 else
31166
31167
31168       ac_ext=cpp
31169 ac_cpp='$CXXCPP $CPPFLAGS'
31170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31173
31174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h.  */
31176 #include <math.h>
31177 int
31178 main ()
31179 {
31180  ldexpl(0, 0);
31181   ;
31182   return 0;
31183 }
31184 _ACEOF
31185 if ac_fn_cxx_try_compile "$LINENO"; then :
31186   glibcxx_cv_func_ldexpl_use=yes
31187 else
31188   glibcxx_cv_func_ldexpl_use=no
31189 fi
31190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31191       ac_ext=c
31192 ac_cpp='$CPP $CPPFLAGS'
31193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31196
31197
31198 fi
31199
31200   fi
31201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31202 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31203
31204   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31205     for ac_func in ldexpl
31206 do :
31207   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31208 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31209   cat >>confdefs.h <<_ACEOF
31210 #define HAVE_LDEXPL 1
31211 _ACEOF
31212
31213 fi
31214 done
31215
31216   else
31217
31218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31219 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31220   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31221     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31222   $as_echo_n "(cached) " >&6
31223 else
31224
31225
31226       ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31231
31232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h.  */
31234 #include <math.h>
31235 int
31236 main ()
31237 {
31238  _ldexpl(0, 0);
31239   ;
31240   return 0;
31241 }
31242 _ACEOF
31243 if ac_fn_cxx_try_compile "$LINENO"; then :
31244   glibcxx_cv_func__ldexpl_use=yes
31245 else
31246   glibcxx_cv_func__ldexpl_use=no
31247 fi
31248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31249       ac_ext=c
31250 ac_cpp='$CPP $CPPFLAGS'
31251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31254
31255
31256 fi
31257
31258   fi
31259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31260 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31261
31262     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31263       for ac_func in _ldexpl
31264 do :
31265   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31266 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31267   cat >>confdefs.h <<_ACEOF
31268 #define HAVE__LDEXPL 1
31269 _ACEOF
31270
31271 fi
31272 done
31273
31274     fi
31275   fi
31276
31277
31278
31279
31280
31281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31282 $as_echo_n "checking for logl declaration... " >&6; }
31283   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31284     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31285   $as_echo_n "(cached) " >&6
31286 else
31287
31288
31289       ac_ext=cpp
31290 ac_cpp='$CXXCPP $CPPFLAGS'
31291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294
31295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31296 /* end confdefs.h.  */
31297 #include <math.h>
31298                       #ifdef HAVE_IEEEFP_H
31299                       #include <ieeefp.h>
31300                       #endif
31301
31302 int
31303 main ()
31304 {
31305  logl(0);
31306   ;
31307   return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_cxx_try_compile "$LINENO"; then :
31311   glibcxx_cv_func_logl_use=yes
31312 else
31313   glibcxx_cv_func_logl_use=no
31314 fi
31315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31316       ac_ext=c
31317 ac_cpp='$CPP $CPPFLAGS'
31318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31321
31322
31323 fi
31324
31325   fi
31326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31327 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31328
31329   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31330     for ac_func in logl
31331 do :
31332   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31333 if test "x$ac_cv_func_logl" = x""yes; then :
31334   cat >>confdefs.h <<_ACEOF
31335 #define HAVE_LOGL 1
31336 _ACEOF
31337
31338 fi
31339 done
31340
31341   else
31342
31343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31344 $as_echo_n "checking for _logl declaration... " >&6; }
31345   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31346     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31347   $as_echo_n "(cached) " >&6
31348 else
31349
31350
31351       ac_ext=cpp
31352 ac_cpp='$CXXCPP $CPPFLAGS'
31353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31356
31357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31358 /* end confdefs.h.  */
31359 #include <math.h>
31360                       #ifdef HAVE_IEEEFP_H
31361                       #include <ieeefp.h>
31362                       #endif
31363
31364 int
31365 main ()
31366 {
31367  _logl(0);
31368   ;
31369   return 0;
31370 }
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373   glibcxx_cv_func__logl_use=yes
31374 else
31375   glibcxx_cv_func__logl_use=no
31376 fi
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378       ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383
31384
31385 fi
31386
31387   fi
31388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31389 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31390
31391     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31392       for ac_func in _logl
31393 do :
31394   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31395 if test "x$ac_cv_func__logl" = x""yes; then :
31396   cat >>confdefs.h <<_ACEOF
31397 #define HAVE__LOGL 1
31398 _ACEOF
31399
31400 fi
31401 done
31402
31403     fi
31404   fi
31405
31406
31407
31408
31409
31410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31411 $as_echo_n "checking for log10l declaration... " >&6; }
31412   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31413     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31414   $as_echo_n "(cached) " >&6
31415 else
31416
31417
31418       ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423
31424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h.  */
31426 #include <math.h>
31427                       #ifdef HAVE_IEEEFP_H
31428                       #include <ieeefp.h>
31429                       #endif
31430
31431 int
31432 main ()
31433 {
31434  log10l(0);
31435   ;
31436   return 0;
31437 }
31438 _ACEOF
31439 if ac_fn_cxx_try_compile "$LINENO"; then :
31440   glibcxx_cv_func_log10l_use=yes
31441 else
31442   glibcxx_cv_func_log10l_use=no
31443 fi
31444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31445       ac_ext=c
31446 ac_cpp='$CPP $CPPFLAGS'
31447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450
31451
31452 fi
31453
31454   fi
31455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31456 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31457
31458   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31459     for ac_func in log10l
31460 do :
31461   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31462 if test "x$ac_cv_func_log10l" = x""yes; then :
31463   cat >>confdefs.h <<_ACEOF
31464 #define HAVE_LOG10L 1
31465 _ACEOF
31466
31467 fi
31468 done
31469
31470   else
31471
31472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31473 $as_echo_n "checking for _log10l declaration... " >&6; }
31474   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31475     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31476   $as_echo_n "(cached) " >&6
31477 else
31478
31479
31480       ac_ext=cpp
31481 ac_cpp='$CXXCPP $CPPFLAGS'
31482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31485
31486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31487 /* end confdefs.h.  */
31488 #include <math.h>
31489                       #ifdef HAVE_IEEEFP_H
31490                       #include <ieeefp.h>
31491                       #endif
31492
31493 int
31494 main ()
31495 {
31496  _log10l(0);
31497   ;
31498   return 0;
31499 }
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502   glibcxx_cv_func__log10l_use=yes
31503 else
31504   glibcxx_cv_func__log10l_use=no
31505 fi
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507       ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512
31513
31514 fi
31515
31516   fi
31517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31518 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31519
31520     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31521       for ac_func in _log10l
31522 do :
31523   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31524 if test "x$ac_cv_func__log10l" = x""yes; then :
31525   cat >>confdefs.h <<_ACEOF
31526 #define HAVE__LOG10L 1
31527 _ACEOF
31528
31529 fi
31530 done
31531
31532     fi
31533   fi
31534
31535
31536
31537
31538
31539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31540 $as_echo_n "checking for modfl declaration... " >&6; }
31541   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31542     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31543   $as_echo_n "(cached) " >&6
31544 else
31545
31546
31547       ac_ext=cpp
31548 ac_cpp='$CXXCPP $CPPFLAGS'
31549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31552
31553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31554 /* end confdefs.h.  */
31555 #include <math.h>
31556 int
31557 main ()
31558 {
31559  modfl(0, 0);
31560   ;
31561   return 0;
31562 }
31563 _ACEOF
31564 if ac_fn_cxx_try_compile "$LINENO"; then :
31565   glibcxx_cv_func_modfl_use=yes
31566 else
31567   glibcxx_cv_func_modfl_use=no
31568 fi
31569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31570       ac_ext=c
31571 ac_cpp='$CPP $CPPFLAGS'
31572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31575
31576
31577 fi
31578
31579   fi
31580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31581 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31582
31583   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31584     for ac_func in modfl
31585 do :
31586   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31587 if test "x$ac_cv_func_modfl" = x""yes; then :
31588   cat >>confdefs.h <<_ACEOF
31589 #define HAVE_MODFL 1
31590 _ACEOF
31591
31592 fi
31593 done
31594
31595   else
31596
31597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31598 $as_echo_n "checking for _modfl declaration... " >&6; }
31599   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31600     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31601   $as_echo_n "(cached) " >&6
31602 else
31603
31604
31605       ac_ext=cpp
31606 ac_cpp='$CXXCPP $CPPFLAGS'
31607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610
31611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31612 /* end confdefs.h.  */
31613 #include <math.h>
31614 int
31615 main ()
31616 {
31617  _modfl(0, 0);
31618   ;
31619   return 0;
31620 }
31621 _ACEOF
31622 if ac_fn_cxx_try_compile "$LINENO"; then :
31623   glibcxx_cv_func__modfl_use=yes
31624 else
31625   glibcxx_cv_func__modfl_use=no
31626 fi
31627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31628       ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633
31634
31635 fi
31636
31637   fi
31638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31639 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31640
31641     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31642       for ac_func in _modfl
31643 do :
31644   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31645 if test "x$ac_cv_func__modfl" = x""yes; then :
31646   cat >>confdefs.h <<_ACEOF
31647 #define HAVE__MODFL 1
31648 _ACEOF
31649
31650 fi
31651 done
31652
31653     fi
31654   fi
31655
31656
31657
31658
31659
31660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31661 $as_echo_n "checking for powl declaration... " >&6; }
31662   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31663     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31664   $as_echo_n "(cached) " >&6
31665 else
31666
31667
31668       ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673
31674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h.  */
31676 #include <math.h>
31677 int
31678 main ()
31679 {
31680  powl(0, 0);
31681   ;
31682   return 0;
31683 }
31684 _ACEOF
31685 if ac_fn_cxx_try_compile "$LINENO"; then :
31686   glibcxx_cv_func_powl_use=yes
31687 else
31688   glibcxx_cv_func_powl_use=no
31689 fi
31690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31691       ac_ext=c
31692 ac_cpp='$CPP $CPPFLAGS'
31693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31696
31697
31698 fi
31699
31700   fi
31701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31702 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31703
31704   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31705     for ac_func in powl
31706 do :
31707   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31708 if test "x$ac_cv_func_powl" = x""yes; then :
31709   cat >>confdefs.h <<_ACEOF
31710 #define HAVE_POWL 1
31711 _ACEOF
31712
31713 fi
31714 done
31715
31716   else
31717
31718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31719 $as_echo_n "checking for _powl declaration... " >&6; }
31720   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31721     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31722   $as_echo_n "(cached) " >&6
31723 else
31724
31725
31726       ac_ext=cpp
31727 ac_cpp='$CXXCPP $CPPFLAGS'
31728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31731
31732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733 /* end confdefs.h.  */
31734 #include <math.h>
31735 int
31736 main ()
31737 {
31738  _powl(0, 0);
31739   ;
31740   return 0;
31741 }
31742 _ACEOF
31743 if ac_fn_cxx_try_compile "$LINENO"; then :
31744   glibcxx_cv_func__powl_use=yes
31745 else
31746   glibcxx_cv_func__powl_use=no
31747 fi
31748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31749       ac_ext=c
31750 ac_cpp='$CPP $CPPFLAGS'
31751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754
31755
31756 fi
31757
31758   fi
31759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31760 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31761
31762     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31763       for ac_func in _powl
31764 do :
31765   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31766 if test "x$ac_cv_func__powl" = x""yes; then :
31767   cat >>confdefs.h <<_ACEOF
31768 #define HAVE__POWL 1
31769 _ACEOF
31770
31771 fi
31772 done
31773
31774     fi
31775   fi
31776
31777
31778
31779
31780
31781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31782 $as_echo_n "checking for sqrtl declaration... " >&6; }
31783   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31784     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31785   $as_echo_n "(cached) " >&6
31786 else
31787
31788
31789       ac_ext=cpp
31790 ac_cpp='$CXXCPP $CPPFLAGS'
31791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31794
31795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31796 /* end confdefs.h.  */
31797 #include <math.h>
31798                       #ifdef HAVE_IEEEFP_H
31799                       #include <ieeefp.h>
31800                       #endif
31801
31802 int
31803 main ()
31804 {
31805  sqrtl(0);
31806   ;
31807   return 0;
31808 }
31809 _ACEOF
31810 if ac_fn_cxx_try_compile "$LINENO"; then :
31811   glibcxx_cv_func_sqrtl_use=yes
31812 else
31813   glibcxx_cv_func_sqrtl_use=no
31814 fi
31815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31816       ac_ext=c
31817 ac_cpp='$CPP $CPPFLAGS'
31818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31821
31822
31823 fi
31824
31825   fi
31826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31827 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31828
31829   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31830     for ac_func in sqrtl
31831 do :
31832   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31833 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31834   cat >>confdefs.h <<_ACEOF
31835 #define HAVE_SQRTL 1
31836 _ACEOF
31837
31838 fi
31839 done
31840
31841   else
31842
31843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31844 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31845   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31846     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31847   $as_echo_n "(cached) " >&6
31848 else
31849
31850
31851       ac_ext=cpp
31852 ac_cpp='$CXXCPP $CPPFLAGS'
31853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31856
31857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31858 /* end confdefs.h.  */
31859 #include <math.h>
31860                       #ifdef HAVE_IEEEFP_H
31861                       #include <ieeefp.h>
31862                       #endif
31863
31864 int
31865 main ()
31866 {
31867  _sqrtl(0);
31868   ;
31869   return 0;
31870 }
31871 _ACEOF
31872 if ac_fn_cxx_try_compile "$LINENO"; then :
31873   glibcxx_cv_func__sqrtl_use=yes
31874 else
31875   glibcxx_cv_func__sqrtl_use=no
31876 fi
31877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31878       ac_ext=c
31879 ac_cpp='$CPP $CPPFLAGS'
31880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883
31884
31885 fi
31886
31887   fi
31888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31889 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31890
31891     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31892       for ac_func in _sqrtl
31893 do :
31894   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31895 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31896   cat >>confdefs.h <<_ACEOF
31897 #define HAVE__SQRTL 1
31898 _ACEOF
31899
31900 fi
31901 done
31902
31903     fi
31904   fi
31905
31906
31907
31908
31909
31910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31911 $as_echo_n "checking for sincosl declaration... " >&6; }
31912   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31913     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31914   $as_echo_n "(cached) " >&6
31915 else
31916
31917
31918       ac_ext=cpp
31919 ac_cpp='$CXXCPP $CPPFLAGS'
31920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31923
31924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31925 /* end confdefs.h.  */
31926 #include <math.h>
31927 int
31928 main ()
31929 {
31930  sincosl(0, 0, 0);
31931   ;
31932   return 0;
31933 }
31934 _ACEOF
31935 if ac_fn_cxx_try_compile "$LINENO"; then :
31936   glibcxx_cv_func_sincosl_use=yes
31937 else
31938   glibcxx_cv_func_sincosl_use=no
31939 fi
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941       ac_ext=c
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31946
31947
31948 fi
31949
31950   fi
31951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31952 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31953
31954   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31955     for ac_func in sincosl
31956 do :
31957   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31958 if test "x$ac_cv_func_sincosl" = x""yes; then :
31959   cat >>confdefs.h <<_ACEOF
31960 #define HAVE_SINCOSL 1
31961 _ACEOF
31962
31963 fi
31964 done
31965
31966   else
31967
31968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31969 $as_echo_n "checking for _sincosl declaration... " >&6; }
31970   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31971     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31972   $as_echo_n "(cached) " >&6
31973 else
31974
31975
31976       ac_ext=cpp
31977 ac_cpp='$CXXCPP $CPPFLAGS'
31978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981
31982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h.  */
31984 #include <math.h>
31985 int
31986 main ()
31987 {
31988  _sincosl(0, 0, 0);
31989   ;
31990   return 0;
31991 }
31992 _ACEOF
31993 if ac_fn_cxx_try_compile "$LINENO"; then :
31994   glibcxx_cv_func__sincosl_use=yes
31995 else
31996   glibcxx_cv_func__sincosl_use=no
31997 fi
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999       ac_ext=c
32000 ac_cpp='$CPP $CPPFLAGS'
32001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32004
32005
32006 fi
32007
32008   fi
32009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32010 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32011
32012     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32013       for ac_func in _sincosl
32014 do :
32015   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32016 if test "x$ac_cv_func__sincosl" = x""yes; then :
32017   cat >>confdefs.h <<_ACEOF
32018 #define HAVE__SINCOSL 1
32019 _ACEOF
32020
32021 fi
32022 done
32023
32024     fi
32025   fi
32026
32027
32028
32029
32030
32031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32032 $as_echo_n "checking for finitel declaration... " >&6; }
32033   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32034     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32035   $as_echo_n "(cached) " >&6
32036 else
32037
32038
32039       ac_ext=cpp
32040 ac_cpp='$CXXCPP $CPPFLAGS'
32041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32044
32045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32046 /* end confdefs.h.  */
32047 #include <math.h>
32048                       #ifdef HAVE_IEEEFP_H
32049                       #include <ieeefp.h>
32050                       #endif
32051
32052 int
32053 main ()
32054 {
32055  finitel(0);
32056   ;
32057   return 0;
32058 }
32059 _ACEOF
32060 if ac_fn_cxx_try_compile "$LINENO"; then :
32061   glibcxx_cv_func_finitel_use=yes
32062 else
32063   glibcxx_cv_func_finitel_use=no
32064 fi
32065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32066       ac_ext=c
32067 ac_cpp='$CPP $CPPFLAGS'
32068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071
32072
32073 fi
32074
32075   fi
32076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32077 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32078
32079   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32080     for ac_func in finitel
32081 do :
32082   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32083 if test "x$ac_cv_func_finitel" = x""yes; then :
32084   cat >>confdefs.h <<_ACEOF
32085 #define HAVE_FINITEL 1
32086 _ACEOF
32087
32088 fi
32089 done
32090
32091   else
32092
32093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32094 $as_echo_n "checking for _finitel declaration... " >&6; }
32095   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32096     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32097   $as_echo_n "(cached) " >&6
32098 else
32099
32100
32101       ac_ext=cpp
32102 ac_cpp='$CXXCPP $CPPFLAGS'
32103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32106
32107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32108 /* end confdefs.h.  */
32109 #include <math.h>
32110                       #ifdef HAVE_IEEEFP_H
32111                       #include <ieeefp.h>
32112                       #endif
32113
32114 int
32115 main ()
32116 {
32117  _finitel(0);
32118   ;
32119   return 0;
32120 }
32121 _ACEOF
32122 if ac_fn_cxx_try_compile "$LINENO"; then :
32123   glibcxx_cv_func__finitel_use=yes
32124 else
32125   glibcxx_cv_func__finitel_use=no
32126 fi
32127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32128       ac_ext=c
32129 ac_cpp='$CPP $CPPFLAGS'
32130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32133
32134
32135 fi
32136
32137   fi
32138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32139 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32140
32141     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32142       for ac_func in _finitel
32143 do :
32144   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32145 if test "x$ac_cv_func__finitel" = x""yes; then :
32146   cat >>confdefs.h <<_ACEOF
32147 #define HAVE__FINITEL 1
32148 _ACEOF
32149
32150 fi
32151 done
32152
32153     fi
32154   fi
32155
32156
32157
32158
32159   LIBS="$ac_save_LIBS"
32160   CXXFLAGS="$ac_save_CXXFLAGS"
32161
32162
32163   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32164   ac_save_CXXFLAGS="$CXXFLAGS"
32165   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32166
32167
32168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32169 $as_echo_n "checking for strtold declaration... " >&6; }
32170   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32171     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32172   $as_echo_n "(cached) " >&6
32173 else
32174
32175
32176       ac_ext=cpp
32177 ac_cpp='$CXXCPP $CPPFLAGS'
32178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32181
32182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32183 /* end confdefs.h.  */
32184 #include <stdlib.h>
32185 int
32186 main ()
32187 {
32188  strtold(0, 0);
32189   ;
32190   return 0;
32191 }
32192 _ACEOF
32193 if ac_fn_cxx_try_compile "$LINENO"; then :
32194   glibcxx_cv_func_strtold_use=yes
32195 else
32196   glibcxx_cv_func_strtold_use=no
32197 fi
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32199       ac_ext=c
32200 ac_cpp='$CPP $CPPFLAGS'
32201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204
32205
32206 fi
32207
32208   fi
32209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32210 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32211   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32212     for ac_func in strtold
32213 do :
32214   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32215 if test "x$ac_cv_func_strtold" = x""yes; then :
32216   cat >>confdefs.h <<_ACEOF
32217 #define HAVE_STRTOLD 1
32218 _ACEOF
32219
32220 fi
32221 done
32222
32223   fi
32224
32225
32226
32227
32228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32229 $as_echo_n "checking for strtof declaration... " >&6; }
32230   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32231     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32232   $as_echo_n "(cached) " >&6
32233 else
32234
32235
32236       ac_ext=cpp
32237 ac_cpp='$CXXCPP $CPPFLAGS'
32238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32241
32242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32243 /* end confdefs.h.  */
32244 #include <stdlib.h>
32245 int
32246 main ()
32247 {
32248  strtof(0, 0);
32249   ;
32250   return 0;
32251 }
32252 _ACEOF
32253 if ac_fn_cxx_try_compile "$LINENO"; then :
32254   glibcxx_cv_func_strtof_use=yes
32255 else
32256   glibcxx_cv_func_strtof_use=no
32257 fi
32258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259       ac_ext=c
32260 ac_cpp='$CPP $CPPFLAGS'
32261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264
32265
32266 fi
32267
32268   fi
32269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32270 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32271   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32272     for ac_func in strtof
32273 do :
32274   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32275 if test "x$ac_cv_func_strtof" = x""yes; then :
32276   cat >>confdefs.h <<_ACEOF
32277 #define HAVE_STRTOF 1
32278 _ACEOF
32279
32280 fi
32281 done
32282
32283   fi
32284
32285
32286
32287
32288   CXXFLAGS="$ac_save_CXXFLAGS"
32289
32290
32291     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32292
32293     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32294
32295     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32296
32297     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32298
32299
32300     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32301
32302     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32303
32304     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32305
32306     ;;
32307
32308   *-aix*)
32309
32310   # If we're not using GNU ld, then there's no point in even trying these
32311   # tests.  Check for that first.  We should have already tested for gld
32312   # by now (in libtool), but require it now just to be safe...
32313   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32314   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32315
32316
32317
32318   # The name set by libtool depends on the version of libtool.  Shame on us
32319   # for depending on an impl detail, but c'est la vie.  Older versions used
32320   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32321   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32322   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32323   # set (hence we're using an older libtool), then set it.
32324   if test x${with_gnu_ld+set} != xset; then
32325     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32326       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32327       with_gnu_ld=no
32328     else
32329       with_gnu_ld=$ac_cv_prog_gnu_ld
32330     fi
32331   fi
32332
32333   # Start by getting the version number.  I think the libtool test already
32334   # does some of this, but throws away the result.
32335   glibcxx_ld_is_gold=no
32336   if test x"$with_gnu_ld" = x"yes"; then
32337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32338 $as_echo_n "checking for ld version... " >&6; }
32339
32340     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32341       glibcxx_ld_is_gold=yes
32342     fi
32343     ldver=`$LD --version 2>/dev/null |
32344            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'`
32345
32346     glibcxx_gnu_ld_version=`echo $ldver | \
32347            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32348     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32349 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32350   fi
32351
32352   # Set --gc-sections.
32353   glibcxx_have_gc_sections=no
32354   if test "$glibcxx_ld_is_gold" = "yes"; then
32355     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32356       glibcxx_have_gc_sections=yes
32357     fi
32358   else
32359     glibcxx_gcsections_min_ld=21602
32360     if test x"$with_gnu_ld" = x"yes" &&
32361         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32362       glibcxx_have_gc_sections=yes
32363     fi
32364   fi
32365   if test "$glibcxx_have_gc_sections" = "yes"; then
32366     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32367     # NB: This flag only works reliably after 2.16.1. Configure tests
32368     # for this are difficult, so hard wire a value that should work.
32369
32370     ac_test_CFLAGS="${CFLAGS+set}"
32371     ac_save_CFLAGS="$CFLAGS"
32372     CFLAGS='-Wl,--gc-sections'
32373
32374     # Check for -Wl,--gc-sections
32375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32376 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32377     if test x$gcc_no_link = xyes; then
32378   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32379 fi
32380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32381 /* end confdefs.h.  */
32382  int one(void) { return 1; }
32383      int two(void) { return 2; }
32384
32385 int
32386 main ()
32387 {
32388  two();
32389   ;
32390   return 0;
32391 }
32392 _ACEOF
32393 if ac_fn_c_try_link "$LINENO"; then :
32394   ac_gcsections=yes
32395 else
32396   ac_gcsections=no
32397 fi
32398 rm -f core conftest.err conftest.$ac_objext \
32399     conftest$ac_exeext conftest.$ac_ext
32400     if test "$ac_gcsections" = "yes"; then
32401       rm -f conftest.c
32402       touch conftest.c
32403       if $CC -c conftest.c; then
32404         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32405            grep "Warning: gc-sections option ignored" > /dev/null; then
32406           ac_gcsections=no
32407         fi
32408       fi
32409       rm -f conftest.c conftest.o conftest
32410     fi
32411     if test "$ac_gcsections" = "yes"; then
32412       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32413     fi
32414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32415 $as_echo "$ac_gcsections" >&6; }
32416
32417     if test "$ac_test_CFLAGS" = set; then
32418       CFLAGS="$ac_save_CFLAGS"
32419     else
32420       # this is the suspicious part
32421       CFLAGS=''
32422     fi
32423   fi
32424
32425   # Set -z,relro.
32426   # Note this is only for shared objects.
32427   ac_ld_relro=no
32428   if test x"$with_gnu_ld" = x"yes"; then
32429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32430 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32431     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32432     if test -n "$cxx_z_relo"; then
32433       OPT_LDFLAGS="-Wl,-z,relro"
32434       ac_ld_relro=yes
32435     fi
32436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32437 $as_echo "$ac_ld_relro" >&6; }
32438   fi
32439
32440   # Set linker optimization flags.
32441   if test x"$with_gnu_ld" = x"yes"; then
32442     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32443   fi
32444
32445
32446
32447
32448
32449   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32450   ac_save_CXXFLAGS="$CXXFLAGS"
32451   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32452
32453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32454 $as_echo_n "checking for sin in -lm... " >&6; }
32455 if test "${ac_cv_lib_m_sin+set}" = set; then :
32456   $as_echo_n "(cached) " >&6
32457 else
32458   ac_check_lib_save_LIBS=$LIBS
32459 LIBS="-lm  $LIBS"
32460 if test x$gcc_no_link = xyes; then
32461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32462 fi
32463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32464 /* end confdefs.h.  */
32465
32466 /* Override any GCC internal prototype to avoid an error.
32467    Use char because int might match the return type of a GCC
32468    builtin and then its argument prototype would still apply.  */
32469 #ifdef __cplusplus
32470 extern "C"
32471 #endif
32472 char sin ();
32473 int
32474 main ()
32475 {
32476 return sin ();
32477   ;
32478   return 0;
32479 }
32480 _ACEOF
32481 if ac_fn_c_try_link "$LINENO"; then :
32482   ac_cv_lib_m_sin=yes
32483 else
32484   ac_cv_lib_m_sin=no
32485 fi
32486 rm -f core conftest.err conftest.$ac_objext \
32487     conftest$ac_exeext conftest.$ac_ext
32488 LIBS=$ac_check_lib_save_LIBS
32489 fi
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32491 $as_echo "$ac_cv_lib_m_sin" >&6; }
32492 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32493   libm="-lm"
32494 fi
32495
32496   ac_save_LIBS="$LIBS"
32497   LIBS="$LIBS $libm"
32498
32499
32500
32501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32502 $as_echo_n "checking for isinf declaration... " >&6; }
32503   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32504     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32505   $as_echo_n "(cached) " >&6
32506 else
32507
32508
32509       ac_ext=cpp
32510 ac_cpp='$CXXCPP $CPPFLAGS'
32511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32514
32515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32516 /* end confdefs.h.  */
32517 #include <math.h>
32518                       #ifdef HAVE_IEEEFP_H
32519                       #include <ieeefp.h>
32520                       #endif
32521
32522 int
32523 main ()
32524 {
32525  isinf(0);
32526   ;
32527   return 0;
32528 }
32529 _ACEOF
32530 if ac_fn_cxx_try_compile "$LINENO"; then :
32531   glibcxx_cv_func_isinf_use=yes
32532 else
32533   glibcxx_cv_func_isinf_use=no
32534 fi
32535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32536       ac_ext=c
32537 ac_cpp='$CPP $CPPFLAGS'
32538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32541
32542
32543 fi
32544
32545   fi
32546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32547 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32548
32549   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32550     for ac_func in isinf
32551 do :
32552   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32553 if test "x$ac_cv_func_isinf" = x""yes; then :
32554   cat >>confdefs.h <<_ACEOF
32555 #define HAVE_ISINF 1
32556 _ACEOF
32557
32558 fi
32559 done
32560
32561   else
32562
32563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32564 $as_echo_n "checking for _isinf declaration... " >&6; }
32565   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32566     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32567   $as_echo_n "(cached) " >&6
32568 else
32569
32570
32571       ac_ext=cpp
32572 ac_cpp='$CXXCPP $CPPFLAGS'
32573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32576
32577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32578 /* end confdefs.h.  */
32579 #include <math.h>
32580                       #ifdef HAVE_IEEEFP_H
32581                       #include <ieeefp.h>
32582                       #endif
32583
32584 int
32585 main ()
32586 {
32587  _isinf(0);
32588   ;
32589   return 0;
32590 }
32591 _ACEOF
32592 if ac_fn_cxx_try_compile "$LINENO"; then :
32593   glibcxx_cv_func__isinf_use=yes
32594 else
32595   glibcxx_cv_func__isinf_use=no
32596 fi
32597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32598       ac_ext=c
32599 ac_cpp='$CPP $CPPFLAGS'
32600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32603
32604
32605 fi
32606
32607   fi
32608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32609 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32610
32611     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32612       for ac_func in _isinf
32613 do :
32614   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32615 if test "x$ac_cv_func__isinf" = x""yes; then :
32616   cat >>confdefs.h <<_ACEOF
32617 #define HAVE__ISINF 1
32618 _ACEOF
32619
32620 fi
32621 done
32622
32623     fi
32624   fi
32625
32626
32627
32628
32629
32630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32631 $as_echo_n "checking for isnan declaration... " >&6; }
32632   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32633     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32634   $as_echo_n "(cached) " >&6
32635 else
32636
32637
32638       ac_ext=cpp
32639 ac_cpp='$CXXCPP $CPPFLAGS'
32640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32643
32644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32645 /* end confdefs.h.  */
32646 #include <math.h>
32647                       #ifdef HAVE_IEEEFP_H
32648                       #include <ieeefp.h>
32649                       #endif
32650
32651 int
32652 main ()
32653 {
32654  isnan(0);
32655   ;
32656   return 0;
32657 }
32658 _ACEOF
32659 if ac_fn_cxx_try_compile "$LINENO"; then :
32660   glibcxx_cv_func_isnan_use=yes
32661 else
32662   glibcxx_cv_func_isnan_use=no
32663 fi
32664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32665       ac_ext=c
32666 ac_cpp='$CPP $CPPFLAGS'
32667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32670
32671
32672 fi
32673
32674   fi
32675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32676 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32677
32678   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32679     for ac_func in isnan
32680 do :
32681   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32682 if test "x$ac_cv_func_isnan" = x""yes; then :
32683   cat >>confdefs.h <<_ACEOF
32684 #define HAVE_ISNAN 1
32685 _ACEOF
32686
32687 fi
32688 done
32689
32690   else
32691
32692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32693 $as_echo_n "checking for _isnan declaration... " >&6; }
32694   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32695     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32696   $as_echo_n "(cached) " >&6
32697 else
32698
32699
32700       ac_ext=cpp
32701 ac_cpp='$CXXCPP $CPPFLAGS'
32702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32705
32706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32707 /* end confdefs.h.  */
32708 #include <math.h>
32709                       #ifdef HAVE_IEEEFP_H
32710                       #include <ieeefp.h>
32711                       #endif
32712
32713 int
32714 main ()
32715 {
32716  _isnan(0);
32717   ;
32718   return 0;
32719 }
32720 _ACEOF
32721 if ac_fn_cxx_try_compile "$LINENO"; then :
32722   glibcxx_cv_func__isnan_use=yes
32723 else
32724   glibcxx_cv_func__isnan_use=no
32725 fi
32726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32727       ac_ext=c
32728 ac_cpp='$CPP $CPPFLAGS'
32729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32732
32733
32734 fi
32735
32736   fi
32737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32738 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32739
32740     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32741       for ac_func in _isnan
32742 do :
32743   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32744 if test "x$ac_cv_func__isnan" = x""yes; then :
32745   cat >>confdefs.h <<_ACEOF
32746 #define HAVE__ISNAN 1
32747 _ACEOF
32748
32749 fi
32750 done
32751
32752     fi
32753   fi
32754
32755
32756
32757
32758
32759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32760 $as_echo_n "checking for finite declaration... " >&6; }
32761   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32762     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32763   $as_echo_n "(cached) " >&6
32764 else
32765
32766
32767       ac_ext=cpp
32768 ac_cpp='$CXXCPP $CPPFLAGS'
32769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32772
32773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32774 /* end confdefs.h.  */
32775 #include <math.h>
32776                       #ifdef HAVE_IEEEFP_H
32777                       #include <ieeefp.h>
32778                       #endif
32779
32780 int
32781 main ()
32782 {
32783  finite(0);
32784   ;
32785   return 0;
32786 }
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789   glibcxx_cv_func_finite_use=yes
32790 else
32791   glibcxx_cv_func_finite_use=no
32792 fi
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794       ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32799
32800
32801 fi
32802
32803   fi
32804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32805 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32806
32807   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32808     for ac_func in finite
32809 do :
32810   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32811 if test "x$ac_cv_func_finite" = x""yes; then :
32812   cat >>confdefs.h <<_ACEOF
32813 #define HAVE_FINITE 1
32814 _ACEOF
32815
32816 fi
32817 done
32818
32819   else
32820
32821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32822 $as_echo_n "checking for _finite declaration... " >&6; }
32823   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32824     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32825   $as_echo_n "(cached) " >&6
32826 else
32827
32828
32829       ac_ext=cpp
32830 ac_cpp='$CXXCPP $CPPFLAGS'
32831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32834
32835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32836 /* end confdefs.h.  */
32837 #include <math.h>
32838                       #ifdef HAVE_IEEEFP_H
32839                       #include <ieeefp.h>
32840                       #endif
32841
32842 int
32843 main ()
32844 {
32845  _finite(0);
32846   ;
32847   return 0;
32848 }
32849 _ACEOF
32850 if ac_fn_cxx_try_compile "$LINENO"; then :
32851   glibcxx_cv_func__finite_use=yes
32852 else
32853   glibcxx_cv_func__finite_use=no
32854 fi
32855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32856       ac_ext=c
32857 ac_cpp='$CPP $CPPFLAGS'
32858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32861
32862
32863 fi
32864
32865   fi
32866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32867 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32868
32869     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32870       for ac_func in _finite
32871 do :
32872   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32873 if test "x$ac_cv_func__finite" = x""yes; then :
32874   cat >>confdefs.h <<_ACEOF
32875 #define HAVE__FINITE 1
32876 _ACEOF
32877
32878 fi
32879 done
32880
32881     fi
32882   fi
32883
32884
32885
32886
32887
32888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32889 $as_echo_n "checking for sincos declaration... " >&6; }
32890   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32891     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32892   $as_echo_n "(cached) " >&6
32893 else
32894
32895
32896       ac_ext=cpp
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32901
32902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903 /* end confdefs.h.  */
32904 #include <math.h>
32905 int
32906 main ()
32907 {
32908  sincos(0, 0, 0);
32909   ;
32910   return 0;
32911 }
32912 _ACEOF
32913 if ac_fn_cxx_try_compile "$LINENO"; then :
32914   glibcxx_cv_func_sincos_use=yes
32915 else
32916   glibcxx_cv_func_sincos_use=no
32917 fi
32918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32919       ac_ext=c
32920 ac_cpp='$CPP $CPPFLAGS'
32921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32924
32925
32926 fi
32927
32928   fi
32929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32930 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32931
32932   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32933     for ac_func in sincos
32934 do :
32935   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32936 if test "x$ac_cv_func_sincos" = x""yes; then :
32937   cat >>confdefs.h <<_ACEOF
32938 #define HAVE_SINCOS 1
32939 _ACEOF
32940
32941 fi
32942 done
32943
32944   else
32945
32946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32947 $as_echo_n "checking for _sincos declaration... " >&6; }
32948   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32949     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32950   $as_echo_n "(cached) " >&6
32951 else
32952
32953
32954       ac_ext=cpp
32955 ac_cpp='$CXXCPP $CPPFLAGS'
32956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32959
32960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32961 /* end confdefs.h.  */
32962 #include <math.h>
32963 int
32964 main ()
32965 {
32966  _sincos(0, 0, 0);
32967   ;
32968   return 0;
32969 }
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972   glibcxx_cv_func__sincos_use=yes
32973 else
32974   glibcxx_cv_func__sincos_use=no
32975 fi
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977       ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32982
32983
32984 fi
32985
32986   fi
32987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32988 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32989
32990     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32991       for ac_func in _sincos
32992 do :
32993   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32994 if test "x$ac_cv_func__sincos" = x""yes; then :
32995   cat >>confdefs.h <<_ACEOF
32996 #define HAVE__SINCOS 1
32997 _ACEOF
32998
32999 fi
33000 done
33001
33002     fi
33003   fi
33004
33005
33006
33007
33008
33009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33010 $as_echo_n "checking for fpclass declaration... " >&6; }
33011   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33012     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33013   $as_echo_n "(cached) " >&6
33014 else
33015
33016
33017       ac_ext=cpp
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33022
33023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33024 /* end confdefs.h.  */
33025 #include <math.h>
33026                       #ifdef HAVE_IEEEFP_H
33027                       #include <ieeefp.h>
33028                       #endif
33029
33030 int
33031 main ()
33032 {
33033  fpclass(0);
33034   ;
33035   return 0;
33036 }
33037 _ACEOF
33038 if ac_fn_cxx_try_compile "$LINENO"; then :
33039   glibcxx_cv_func_fpclass_use=yes
33040 else
33041   glibcxx_cv_func_fpclass_use=no
33042 fi
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044       ac_ext=c
33045 ac_cpp='$CPP $CPPFLAGS'
33046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049
33050
33051 fi
33052
33053   fi
33054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33055 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33056
33057   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33058     for ac_func in fpclass
33059 do :
33060   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33061 if test "x$ac_cv_func_fpclass" = x""yes; then :
33062   cat >>confdefs.h <<_ACEOF
33063 #define HAVE_FPCLASS 1
33064 _ACEOF
33065
33066 fi
33067 done
33068
33069   else
33070
33071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33072 $as_echo_n "checking for _fpclass declaration... " >&6; }
33073   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33074     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33075   $as_echo_n "(cached) " >&6
33076 else
33077
33078
33079       ac_ext=cpp
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33084
33085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33086 /* end confdefs.h.  */
33087 #include <math.h>
33088                       #ifdef HAVE_IEEEFP_H
33089                       #include <ieeefp.h>
33090                       #endif
33091
33092 int
33093 main ()
33094 {
33095  _fpclass(0);
33096   ;
33097   return 0;
33098 }
33099 _ACEOF
33100 if ac_fn_cxx_try_compile "$LINENO"; then :
33101   glibcxx_cv_func__fpclass_use=yes
33102 else
33103   glibcxx_cv_func__fpclass_use=no
33104 fi
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106       ac_ext=c
33107 ac_cpp='$CPP $CPPFLAGS'
33108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33111
33112
33113 fi
33114
33115   fi
33116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33117 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33118
33119     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33120       for ac_func in _fpclass
33121 do :
33122   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33123 if test "x$ac_cv_func__fpclass" = x""yes; then :
33124   cat >>confdefs.h <<_ACEOF
33125 #define HAVE__FPCLASS 1
33126 _ACEOF
33127
33128 fi
33129 done
33130
33131     fi
33132   fi
33133
33134
33135
33136
33137
33138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33139 $as_echo_n "checking for qfpclass declaration... " >&6; }
33140   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33141     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33142   $as_echo_n "(cached) " >&6
33143 else
33144
33145
33146       ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33151
33152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h.  */
33154 #include <math.h>
33155                       #ifdef HAVE_IEEEFP_H
33156                       #include <ieeefp.h>
33157                       #endif
33158
33159 int
33160 main ()
33161 {
33162  qfpclass(0);
33163   ;
33164   return 0;
33165 }
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168   glibcxx_cv_func_qfpclass_use=yes
33169 else
33170   glibcxx_cv_func_qfpclass_use=no
33171 fi
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173       ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33178
33179
33180 fi
33181
33182   fi
33183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33184 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33185
33186   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33187     for ac_func in qfpclass
33188 do :
33189   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33190 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33191   cat >>confdefs.h <<_ACEOF
33192 #define HAVE_QFPCLASS 1
33193 _ACEOF
33194
33195 fi
33196 done
33197
33198   else
33199
33200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33201 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33202   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33203     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33204   $as_echo_n "(cached) " >&6
33205 else
33206
33207
33208       ac_ext=cpp
33209 ac_cpp='$CXXCPP $CPPFLAGS'
33210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213
33214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33215 /* end confdefs.h.  */
33216 #include <math.h>
33217                       #ifdef HAVE_IEEEFP_H
33218                       #include <ieeefp.h>
33219                       #endif
33220
33221 int
33222 main ()
33223 {
33224  _qfpclass(0);
33225   ;
33226   return 0;
33227 }
33228 _ACEOF
33229 if ac_fn_cxx_try_compile "$LINENO"; then :
33230   glibcxx_cv_func__qfpclass_use=yes
33231 else
33232   glibcxx_cv_func__qfpclass_use=no
33233 fi
33234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33235       ac_ext=c
33236 ac_cpp='$CPP $CPPFLAGS'
33237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33240
33241
33242 fi
33243
33244   fi
33245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33246 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33247
33248     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33249       for ac_func in _qfpclass
33250 do :
33251   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33252 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33253   cat >>confdefs.h <<_ACEOF
33254 #define HAVE__QFPCLASS 1
33255 _ACEOF
33256
33257 fi
33258 done
33259
33260     fi
33261   fi
33262
33263
33264
33265
33266
33267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33268 $as_echo_n "checking for hypot declaration... " >&6; }
33269   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33270     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33271   $as_echo_n "(cached) " >&6
33272 else
33273
33274
33275       ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280
33281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h.  */
33283 #include <math.h>
33284 int
33285 main ()
33286 {
33287  hypot(0, 0);
33288   ;
33289   return 0;
33290 }
33291 _ACEOF
33292 if ac_fn_cxx_try_compile "$LINENO"; then :
33293   glibcxx_cv_func_hypot_use=yes
33294 else
33295   glibcxx_cv_func_hypot_use=no
33296 fi
33297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33298       ac_ext=c
33299 ac_cpp='$CPP $CPPFLAGS'
33300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33303
33304
33305 fi
33306
33307   fi
33308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33309 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33310
33311   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33312     for ac_func in hypot
33313 do :
33314   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33315 if test "x$ac_cv_func_hypot" = x""yes; then :
33316   cat >>confdefs.h <<_ACEOF
33317 #define HAVE_HYPOT 1
33318 _ACEOF
33319
33320 fi
33321 done
33322
33323   else
33324
33325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33326 $as_echo_n "checking for _hypot declaration... " >&6; }
33327   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33328     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33329   $as_echo_n "(cached) " >&6
33330 else
33331
33332
33333       ac_ext=cpp
33334 ac_cpp='$CXXCPP $CPPFLAGS'
33335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33338
33339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33340 /* end confdefs.h.  */
33341 #include <math.h>
33342 int
33343 main ()
33344 {
33345  _hypot(0, 0);
33346   ;
33347   return 0;
33348 }
33349 _ACEOF
33350 if ac_fn_cxx_try_compile "$LINENO"; then :
33351   glibcxx_cv_func__hypot_use=yes
33352 else
33353   glibcxx_cv_func__hypot_use=no
33354 fi
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33356       ac_ext=c
33357 ac_cpp='$CPP $CPPFLAGS'
33358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33361
33362
33363 fi
33364
33365   fi
33366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33367 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33368
33369     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33370       for ac_func in _hypot
33371 do :
33372   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33373 if test "x$ac_cv_func__hypot" = x""yes; then :
33374   cat >>confdefs.h <<_ACEOF
33375 #define HAVE__HYPOT 1
33376 _ACEOF
33377
33378 fi
33379 done
33380
33381     fi
33382   fi
33383
33384
33385
33386
33387
33388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33389 $as_echo_n "checking for float trig functions... " >&6; }
33390   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33391   $as_echo_n "(cached) " >&6
33392 else
33393
33394
33395     ac_ext=cpp
33396 ac_cpp='$CXXCPP $CPPFLAGS'
33397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400
33401     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33402 /* end confdefs.h.  */
33403 #include <math.h>
33404 int
33405 main ()
33406 {
33407 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33408   ;
33409   return 0;
33410 }
33411 _ACEOF
33412 if ac_fn_cxx_try_compile "$LINENO"; then :
33413   glibcxx_cv_func_float_trig_use=yes
33414 else
33415   glibcxx_cv_func_float_trig_use=no
33416 fi
33417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33418     ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423
33424 fi
33425
33426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33427 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33428   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33429     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33430 do :
33431   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33433 eval as_val=\$$as_ac_var
33434    if test "x$as_val" = x""yes; then :
33435   cat >>confdefs.h <<_ACEOF
33436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33437 _ACEOF
33438
33439 fi
33440 done
33441
33442   else
33443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33444 $as_echo_n "checking for _float trig functions... " >&6; }
33445     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33446   $as_echo_n "(cached) " >&6
33447 else
33448
33449
33450       ac_ext=cpp
33451 ac_cpp='$CXXCPP $CPPFLAGS'
33452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33455
33456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33457 /* end confdefs.h.  */
33458 #include <math.h>
33459 int
33460 main ()
33461 {
33462 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33463   ;
33464   return 0;
33465 }
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468   glibcxx_cv_func__float_trig_use=yes
33469 else
33470   glibcxx_cv_func__float_trig_use=no
33471 fi
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473       ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33478
33479 fi
33480
33481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33482 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33483     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33484       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33485 do :
33486   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33488 eval as_val=\$$as_ac_var
33489    if test "x$as_val" = x""yes; then :
33490   cat >>confdefs.h <<_ACEOF
33491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33492 _ACEOF
33493
33494 fi
33495 done
33496
33497     fi
33498   fi
33499
33500
33501
33502
33503
33504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33505 $as_echo_n "checking for float round functions... " >&6; }
33506   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33507   $as_echo_n "(cached) " >&6
33508 else
33509
33510
33511     ac_ext=cpp
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33516
33517     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518 /* end confdefs.h.  */
33519 #include <math.h>
33520 int
33521 main ()
33522 {
33523 ceilf (0); floorf (0);
33524   ;
33525   return 0;
33526 }
33527 _ACEOF
33528 if ac_fn_cxx_try_compile "$LINENO"; then :
33529   glibcxx_cv_func_float_round_use=yes
33530 else
33531   glibcxx_cv_func_float_round_use=no
33532 fi
33533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33534     ac_ext=c
33535 ac_cpp='$CPP $CPPFLAGS'
33536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539
33540 fi
33541
33542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33543 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33544   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33545     for ac_func in ceilf floorf
33546 do :
33547   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33549 eval as_val=\$$as_ac_var
33550    if test "x$as_val" = x""yes; then :
33551   cat >>confdefs.h <<_ACEOF
33552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33553 _ACEOF
33554
33555 fi
33556 done
33557
33558   else
33559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33560 $as_echo_n "checking for _float round functions... " >&6; }
33561     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33562   $as_echo_n "(cached) " >&6
33563 else
33564
33565
33566       ac_ext=cpp
33567 ac_cpp='$CXXCPP $CPPFLAGS'
33568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33571
33572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33573 /* end confdefs.h.  */
33574 #include <math.h>
33575 int
33576 main ()
33577 {
33578 _ceilf (0); _floorf (0);
33579   ;
33580   return 0;
33581 }
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584   glibcxx_cv_func__float_round_use=yes
33585 else
33586   glibcxx_cv_func__float_round_use=no
33587 fi
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589       ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595 fi
33596
33597     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33598 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33599     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33600       for ac_func in _ceilf _floorf
33601 do :
33602   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33604 eval as_val=\$$as_ac_var
33605    if test "x$as_val" = x""yes; then :
33606   cat >>confdefs.h <<_ACEOF
33607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33608 _ACEOF
33609
33610 fi
33611 done
33612
33613     fi
33614   fi
33615
33616
33617
33618
33619
33620
33621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33622 $as_echo_n "checking for expf declaration... " >&6; }
33623   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33624     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33625   $as_echo_n "(cached) " >&6
33626 else
33627
33628
33629       ac_ext=cpp
33630 ac_cpp='$CXXCPP $CPPFLAGS'
33631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33634
33635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33636 /* end confdefs.h.  */
33637 #include <math.h>
33638                       #ifdef HAVE_IEEEFP_H
33639                       #include <ieeefp.h>
33640                       #endif
33641
33642 int
33643 main ()
33644 {
33645  expf(0);
33646   ;
33647   return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651   glibcxx_cv_func_expf_use=yes
33652 else
33653   glibcxx_cv_func_expf_use=no
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656       ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662
33663 fi
33664
33665   fi
33666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33667 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33668
33669   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33670     for ac_func in expf
33671 do :
33672   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33673 if test "x$ac_cv_func_expf" = x""yes; then :
33674   cat >>confdefs.h <<_ACEOF
33675 #define HAVE_EXPF 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681   else
33682
33683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33684 $as_echo_n "checking for _expf declaration... " >&6; }
33685   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33686     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33687   $as_echo_n "(cached) " >&6
33688 else
33689
33690
33691       ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696
33697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h.  */
33699 #include <math.h>
33700                       #ifdef HAVE_IEEEFP_H
33701                       #include <ieeefp.h>
33702                       #endif
33703
33704 int
33705 main ()
33706 {
33707  _expf(0);
33708   ;
33709   return 0;
33710 }
33711 _ACEOF
33712 if ac_fn_cxx_try_compile "$LINENO"; then :
33713   glibcxx_cv_func__expf_use=yes
33714 else
33715   glibcxx_cv_func__expf_use=no
33716 fi
33717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718       ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723
33724
33725 fi
33726
33727   fi
33728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33729 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33730
33731     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33732       for ac_func in _expf
33733 do :
33734   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33735 if test "x$ac_cv_func__expf" = x""yes; then :
33736   cat >>confdefs.h <<_ACEOF
33737 #define HAVE__EXPF 1
33738 _ACEOF
33739
33740 fi
33741 done
33742
33743     fi
33744   fi
33745
33746
33747
33748
33749
33750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33751 $as_echo_n "checking for isnanf declaration... " >&6; }
33752   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33753     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33754   $as_echo_n "(cached) " >&6
33755 else
33756
33757
33758       ac_ext=cpp
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763
33764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33765 /* end confdefs.h.  */
33766 #include <math.h>
33767                       #ifdef HAVE_IEEEFP_H
33768                       #include <ieeefp.h>
33769                       #endif
33770
33771 int
33772 main ()
33773 {
33774  isnanf(0);
33775   ;
33776   return 0;
33777 }
33778 _ACEOF
33779 if ac_fn_cxx_try_compile "$LINENO"; then :
33780   glibcxx_cv_func_isnanf_use=yes
33781 else
33782   glibcxx_cv_func_isnanf_use=no
33783 fi
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33785       ac_ext=c
33786 ac_cpp='$CPP $CPPFLAGS'
33787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33790
33791
33792 fi
33793
33794   fi
33795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33796 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33797
33798   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33799     for ac_func in isnanf
33800 do :
33801   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33802 if test "x$ac_cv_func_isnanf" = x""yes; then :
33803   cat >>confdefs.h <<_ACEOF
33804 #define HAVE_ISNANF 1
33805 _ACEOF
33806
33807 fi
33808 done
33809
33810   else
33811
33812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33813 $as_echo_n "checking for _isnanf declaration... " >&6; }
33814   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33815     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33816   $as_echo_n "(cached) " >&6
33817 else
33818
33819
33820       ac_ext=cpp
33821 ac_cpp='$CXXCPP $CPPFLAGS'
33822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33825
33826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33827 /* end confdefs.h.  */
33828 #include <math.h>
33829                       #ifdef HAVE_IEEEFP_H
33830                       #include <ieeefp.h>
33831                       #endif
33832
33833 int
33834 main ()
33835 {
33836  _isnanf(0);
33837   ;
33838   return 0;
33839 }
33840 _ACEOF
33841 if ac_fn_cxx_try_compile "$LINENO"; then :
33842   glibcxx_cv_func__isnanf_use=yes
33843 else
33844   glibcxx_cv_func__isnanf_use=no
33845 fi
33846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847       ac_ext=c
33848 ac_cpp='$CPP $CPPFLAGS'
33849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33852
33853
33854 fi
33855
33856   fi
33857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33858 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33859
33860     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33861       for ac_func in _isnanf
33862 do :
33863   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33864 if test "x$ac_cv_func__isnanf" = x""yes; then :
33865   cat >>confdefs.h <<_ACEOF
33866 #define HAVE__ISNANF 1
33867 _ACEOF
33868
33869 fi
33870 done
33871
33872     fi
33873   fi
33874
33875
33876
33877
33878
33879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33880 $as_echo_n "checking for isinff declaration... " >&6; }
33881   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33882     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33883   $as_echo_n "(cached) " >&6
33884 else
33885
33886
33887       ac_ext=cpp
33888 ac_cpp='$CXXCPP $CPPFLAGS'
33889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892
33893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33894 /* end confdefs.h.  */
33895 #include <math.h>
33896                       #ifdef HAVE_IEEEFP_H
33897                       #include <ieeefp.h>
33898                       #endif
33899
33900 int
33901 main ()
33902 {
33903  isinff(0);
33904   ;
33905   return 0;
33906 }
33907 _ACEOF
33908 if ac_fn_cxx_try_compile "$LINENO"; then :
33909   glibcxx_cv_func_isinff_use=yes
33910 else
33911   glibcxx_cv_func_isinff_use=no
33912 fi
33913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914       ac_ext=c
33915 ac_cpp='$CPP $CPPFLAGS'
33916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919
33920
33921 fi
33922
33923   fi
33924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33925 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33926
33927   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33928     for ac_func in isinff
33929 do :
33930   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33931 if test "x$ac_cv_func_isinff" = x""yes; then :
33932   cat >>confdefs.h <<_ACEOF
33933 #define HAVE_ISINFF 1
33934 _ACEOF
33935
33936 fi
33937 done
33938
33939   else
33940
33941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33942 $as_echo_n "checking for _isinff declaration... " >&6; }
33943   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33944     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33945   $as_echo_n "(cached) " >&6
33946 else
33947
33948
33949       ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954
33955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h.  */
33957 #include <math.h>
33958                       #ifdef HAVE_IEEEFP_H
33959                       #include <ieeefp.h>
33960                       #endif
33961
33962 int
33963 main ()
33964 {
33965  _isinff(0);
33966   ;
33967   return 0;
33968 }
33969 _ACEOF
33970 if ac_fn_cxx_try_compile "$LINENO"; then :
33971   glibcxx_cv_func__isinff_use=yes
33972 else
33973   glibcxx_cv_func__isinff_use=no
33974 fi
33975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33976       ac_ext=c
33977 ac_cpp='$CPP $CPPFLAGS'
33978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33981
33982
33983 fi
33984
33985   fi
33986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33987 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33988
33989     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33990       for ac_func in _isinff
33991 do :
33992   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33993 if test "x$ac_cv_func__isinff" = x""yes; then :
33994   cat >>confdefs.h <<_ACEOF
33995 #define HAVE__ISINFF 1
33996 _ACEOF
33997
33998 fi
33999 done
34000
34001     fi
34002   fi
34003
34004
34005
34006
34007
34008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34009 $as_echo_n "checking for atan2f declaration... " >&6; }
34010   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34011     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34012   $as_echo_n "(cached) " >&6
34013 else
34014
34015
34016       ac_ext=cpp
34017 ac_cpp='$CXXCPP $CPPFLAGS'
34018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34021
34022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34023 /* end confdefs.h.  */
34024 #include <math.h>
34025 int
34026 main ()
34027 {
34028  atan2f(0, 0);
34029   ;
34030   return 0;
34031 }
34032 _ACEOF
34033 if ac_fn_cxx_try_compile "$LINENO"; then :
34034   glibcxx_cv_func_atan2f_use=yes
34035 else
34036   glibcxx_cv_func_atan2f_use=no
34037 fi
34038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34039       ac_ext=c
34040 ac_cpp='$CPP $CPPFLAGS'
34041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34044
34045
34046 fi
34047
34048   fi
34049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34050 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34051
34052   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34053     for ac_func in atan2f
34054 do :
34055   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34056 if test "x$ac_cv_func_atan2f" = x""yes; then :
34057   cat >>confdefs.h <<_ACEOF
34058 #define HAVE_ATAN2F 1
34059 _ACEOF
34060
34061 fi
34062 done
34063
34064   else
34065
34066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34067 $as_echo_n "checking for _atan2f declaration... " >&6; }
34068   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34069     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34070   $as_echo_n "(cached) " >&6
34071 else
34072
34073
34074       ac_ext=cpp
34075 ac_cpp='$CXXCPP $CPPFLAGS'
34076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34079
34080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h.  */
34082 #include <math.h>
34083 int
34084 main ()
34085 {
34086  _atan2f(0, 0);
34087   ;
34088   return 0;
34089 }
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092   glibcxx_cv_func__atan2f_use=yes
34093 else
34094   glibcxx_cv_func__atan2f_use=no
34095 fi
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097       ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103
34104 fi
34105
34106   fi
34107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34108 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34109
34110     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34111       for ac_func in _atan2f
34112 do :
34113   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34114 if test "x$ac_cv_func__atan2f" = x""yes; then :
34115   cat >>confdefs.h <<_ACEOF
34116 #define HAVE__ATAN2F 1
34117 _ACEOF
34118
34119 fi
34120 done
34121
34122     fi
34123   fi
34124
34125
34126
34127
34128
34129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34130 $as_echo_n "checking for fabsf declaration... " >&6; }
34131   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34132     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34133   $as_echo_n "(cached) " >&6
34134 else
34135
34136
34137       ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142
34143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h.  */
34145 #include <math.h>
34146                       #ifdef HAVE_IEEEFP_H
34147                       #include <ieeefp.h>
34148                       #endif
34149
34150 int
34151 main ()
34152 {
34153  fabsf(0);
34154   ;
34155   return 0;
34156 }
34157 _ACEOF
34158 if ac_fn_cxx_try_compile "$LINENO"; then :
34159   glibcxx_cv_func_fabsf_use=yes
34160 else
34161   glibcxx_cv_func_fabsf_use=no
34162 fi
34163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34164       ac_ext=c
34165 ac_cpp='$CPP $CPPFLAGS'
34166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34169
34170
34171 fi
34172
34173   fi
34174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34175 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34176
34177   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34178     for ac_func in fabsf
34179 do :
34180   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34181 if test "x$ac_cv_func_fabsf" = x""yes; then :
34182   cat >>confdefs.h <<_ACEOF
34183 #define HAVE_FABSF 1
34184 _ACEOF
34185
34186 fi
34187 done
34188
34189   else
34190
34191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34192 $as_echo_n "checking for _fabsf declaration... " >&6; }
34193   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34194     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34195   $as_echo_n "(cached) " >&6
34196 else
34197
34198
34199       ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h.  */
34207 #include <math.h>
34208                       #ifdef HAVE_IEEEFP_H
34209                       #include <ieeefp.h>
34210                       #endif
34211
34212 int
34213 main ()
34214 {
34215  _fabsf(0);
34216   ;
34217   return 0;
34218 }
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221   glibcxx_cv_func__fabsf_use=yes
34222 else
34223   glibcxx_cv_func__fabsf_use=no
34224 fi
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226       ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231
34232
34233 fi
34234
34235   fi
34236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34237 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34238
34239     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34240       for ac_func in _fabsf
34241 do :
34242   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34243 if test "x$ac_cv_func__fabsf" = x""yes; then :
34244   cat >>confdefs.h <<_ACEOF
34245 #define HAVE__FABSF 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251     fi
34252   fi
34253
34254
34255
34256
34257
34258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34259 $as_echo_n "checking for fmodf declaration... " >&6; }
34260   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34261     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34262   $as_echo_n "(cached) " >&6
34263 else
34264
34265
34266       ac_ext=cpp
34267 ac_cpp='$CXXCPP $CPPFLAGS'
34268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34271
34272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34273 /* end confdefs.h.  */
34274 #include <math.h>
34275 int
34276 main ()
34277 {
34278  fmodf(0, 0);
34279   ;
34280   return 0;
34281 }
34282 _ACEOF
34283 if ac_fn_cxx_try_compile "$LINENO"; then :
34284   glibcxx_cv_func_fmodf_use=yes
34285 else
34286   glibcxx_cv_func_fmodf_use=no
34287 fi
34288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34289       ac_ext=c
34290 ac_cpp='$CPP $CPPFLAGS'
34291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34294
34295
34296 fi
34297
34298   fi
34299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34300 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34301
34302   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34303     for ac_func in fmodf
34304 do :
34305   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34306 if test "x$ac_cv_func_fmodf" = x""yes; then :
34307   cat >>confdefs.h <<_ACEOF
34308 #define HAVE_FMODF 1
34309 _ACEOF
34310
34311 fi
34312 done
34313
34314   else
34315
34316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34317 $as_echo_n "checking for _fmodf declaration... " >&6; }
34318   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34319     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34320   $as_echo_n "(cached) " >&6
34321 else
34322
34323
34324       ac_ext=cpp
34325 ac_cpp='$CXXCPP $CPPFLAGS'
34326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329
34330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34331 /* end confdefs.h.  */
34332 #include <math.h>
34333 int
34334 main ()
34335 {
34336  _fmodf(0, 0);
34337   ;
34338   return 0;
34339 }
34340 _ACEOF
34341 if ac_fn_cxx_try_compile "$LINENO"; then :
34342   glibcxx_cv_func__fmodf_use=yes
34343 else
34344   glibcxx_cv_func__fmodf_use=no
34345 fi
34346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347       ac_ext=c
34348 ac_cpp='$CPP $CPPFLAGS'
34349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34352
34353
34354 fi
34355
34356   fi
34357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34358 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34359
34360     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34361       for ac_func in _fmodf
34362 do :
34363   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34364 if test "x$ac_cv_func__fmodf" = x""yes; then :
34365   cat >>confdefs.h <<_ACEOF
34366 #define HAVE__FMODF 1
34367 _ACEOF
34368
34369 fi
34370 done
34371
34372     fi
34373   fi
34374
34375
34376
34377
34378
34379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34380 $as_echo_n "checking for frexpf declaration... " >&6; }
34381   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34382     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34383   $as_echo_n "(cached) " >&6
34384 else
34385
34386
34387       ac_ext=cpp
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392
34393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34394 /* end confdefs.h.  */
34395 #include <math.h>
34396 int
34397 main ()
34398 {
34399  frexpf(0, 0);
34400   ;
34401   return 0;
34402 }
34403 _ACEOF
34404 if ac_fn_cxx_try_compile "$LINENO"; then :
34405   glibcxx_cv_func_frexpf_use=yes
34406 else
34407   glibcxx_cv_func_frexpf_use=no
34408 fi
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410       ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 fi
34418
34419   fi
34420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34421 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34422
34423   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34424     for ac_func in frexpf
34425 do :
34426   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34427 if test "x$ac_cv_func_frexpf" = x""yes; then :
34428   cat >>confdefs.h <<_ACEOF
34429 #define HAVE_FREXPF 1
34430 _ACEOF
34431
34432 fi
34433 done
34434
34435   else
34436
34437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34438 $as_echo_n "checking for _frexpf declaration... " >&6; }
34439   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34440     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34441   $as_echo_n "(cached) " >&6
34442 else
34443
34444
34445       ac_ext=cpp
34446 ac_cpp='$CXXCPP $CPPFLAGS'
34447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34450
34451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34452 /* end confdefs.h.  */
34453 #include <math.h>
34454 int
34455 main ()
34456 {
34457  _frexpf(0, 0);
34458   ;
34459   return 0;
34460 }
34461 _ACEOF
34462 if ac_fn_cxx_try_compile "$LINENO"; then :
34463   glibcxx_cv_func__frexpf_use=yes
34464 else
34465   glibcxx_cv_func__frexpf_use=no
34466 fi
34467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34468       ac_ext=c
34469 ac_cpp='$CPP $CPPFLAGS'
34470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34473
34474
34475 fi
34476
34477   fi
34478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34479 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34480
34481     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34482       for ac_func in _frexpf
34483 do :
34484   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34485 if test "x$ac_cv_func__frexpf" = x""yes; then :
34486   cat >>confdefs.h <<_ACEOF
34487 #define HAVE__FREXPF 1
34488 _ACEOF
34489
34490 fi
34491 done
34492
34493     fi
34494   fi
34495
34496
34497
34498
34499
34500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34501 $as_echo_n "checking for hypotf declaration... " >&6; }
34502   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34503     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34504   $as_echo_n "(cached) " >&6
34505 else
34506
34507
34508       ac_ext=cpp
34509 ac_cpp='$CXXCPP $CPPFLAGS'
34510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34513
34514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34515 /* end confdefs.h.  */
34516 #include <math.h>
34517 int
34518 main ()
34519 {
34520  hypotf(0, 0);
34521   ;
34522   return 0;
34523 }
34524 _ACEOF
34525 if ac_fn_cxx_try_compile "$LINENO"; then :
34526   glibcxx_cv_func_hypotf_use=yes
34527 else
34528   glibcxx_cv_func_hypotf_use=no
34529 fi
34530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34531       ac_ext=c
34532 ac_cpp='$CPP $CPPFLAGS'
34533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34536
34537
34538 fi
34539
34540   fi
34541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34542 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34543
34544   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34545     for ac_func in hypotf
34546 do :
34547   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34548 if test "x$ac_cv_func_hypotf" = x""yes; then :
34549   cat >>confdefs.h <<_ACEOF
34550 #define HAVE_HYPOTF 1
34551 _ACEOF
34552
34553 fi
34554 done
34555
34556   else
34557
34558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34559 $as_echo_n "checking for _hypotf declaration... " >&6; }
34560   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34561     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34562   $as_echo_n "(cached) " >&6
34563 else
34564
34565
34566       ac_ext=cpp
34567 ac_cpp='$CXXCPP $CPPFLAGS'
34568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571
34572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h.  */
34574 #include <math.h>
34575 int
34576 main ()
34577 {
34578  _hypotf(0, 0);
34579   ;
34580   return 0;
34581 }
34582 _ACEOF
34583 if ac_fn_cxx_try_compile "$LINENO"; then :
34584   glibcxx_cv_func__hypotf_use=yes
34585 else
34586   glibcxx_cv_func__hypotf_use=no
34587 fi
34588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34589       ac_ext=c
34590 ac_cpp='$CPP $CPPFLAGS'
34591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34594
34595
34596 fi
34597
34598   fi
34599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34600 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34601
34602     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34603       for ac_func in _hypotf
34604 do :
34605   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34606 if test "x$ac_cv_func__hypotf" = x""yes; then :
34607   cat >>confdefs.h <<_ACEOF
34608 #define HAVE__HYPOTF 1
34609 _ACEOF
34610
34611 fi
34612 done
34613
34614     fi
34615   fi
34616
34617
34618
34619
34620
34621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34622 $as_echo_n "checking for ldexpf declaration... " >&6; }
34623   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34624     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34625   $as_echo_n "(cached) " >&6
34626 else
34627
34628
34629       ac_ext=cpp
34630 ac_cpp='$CXXCPP $CPPFLAGS'
34631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34634
34635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34636 /* end confdefs.h.  */
34637 #include <math.h>
34638 int
34639 main ()
34640 {
34641  ldexpf(0, 0);
34642   ;
34643   return 0;
34644 }
34645 _ACEOF
34646 if ac_fn_cxx_try_compile "$LINENO"; then :
34647   glibcxx_cv_func_ldexpf_use=yes
34648 else
34649   glibcxx_cv_func_ldexpf_use=no
34650 fi
34651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34652       ac_ext=c
34653 ac_cpp='$CPP $CPPFLAGS'
34654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34657
34658
34659 fi
34660
34661   fi
34662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34663 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34664
34665   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34666     for ac_func in ldexpf
34667 do :
34668   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34669 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34670   cat >>confdefs.h <<_ACEOF
34671 #define HAVE_LDEXPF 1
34672 _ACEOF
34673
34674 fi
34675 done
34676
34677   else
34678
34679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34680 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34681   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34682     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34683   $as_echo_n "(cached) " >&6
34684 else
34685
34686
34687       ac_ext=cpp
34688 ac_cpp='$CXXCPP $CPPFLAGS'
34689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34692
34693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34694 /* end confdefs.h.  */
34695 #include <math.h>
34696 int
34697 main ()
34698 {
34699  _ldexpf(0, 0);
34700   ;
34701   return 0;
34702 }
34703 _ACEOF
34704 if ac_fn_cxx_try_compile "$LINENO"; then :
34705   glibcxx_cv_func__ldexpf_use=yes
34706 else
34707   glibcxx_cv_func__ldexpf_use=no
34708 fi
34709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34710       ac_ext=c
34711 ac_cpp='$CPP $CPPFLAGS'
34712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34715
34716
34717 fi
34718
34719   fi
34720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34721 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34722
34723     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34724       for ac_func in _ldexpf
34725 do :
34726   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34727 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34728   cat >>confdefs.h <<_ACEOF
34729 #define HAVE__LDEXPF 1
34730 _ACEOF
34731
34732 fi
34733 done
34734
34735     fi
34736   fi
34737
34738
34739
34740
34741
34742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34743 $as_echo_n "checking for logf declaration... " >&6; }
34744   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34745     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34746   $as_echo_n "(cached) " >&6
34747 else
34748
34749
34750       ac_ext=cpp
34751 ac_cpp='$CXXCPP $CPPFLAGS'
34752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34755
34756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34757 /* end confdefs.h.  */
34758 #include <math.h>
34759                       #ifdef HAVE_IEEEFP_H
34760                       #include <ieeefp.h>
34761                       #endif
34762
34763 int
34764 main ()
34765 {
34766  logf(0);
34767   ;
34768   return 0;
34769 }
34770 _ACEOF
34771 if ac_fn_cxx_try_compile "$LINENO"; then :
34772   glibcxx_cv_func_logf_use=yes
34773 else
34774   glibcxx_cv_func_logf_use=no
34775 fi
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34777       ac_ext=c
34778 ac_cpp='$CPP $CPPFLAGS'
34779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34782
34783
34784 fi
34785
34786   fi
34787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34788 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34789
34790   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34791     for ac_func in logf
34792 do :
34793   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34794 if test "x$ac_cv_func_logf" = x""yes; then :
34795   cat >>confdefs.h <<_ACEOF
34796 #define HAVE_LOGF 1
34797 _ACEOF
34798
34799 fi
34800 done
34801
34802   else
34803
34804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34805 $as_echo_n "checking for _logf declaration... " >&6; }
34806   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34807     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34808   $as_echo_n "(cached) " >&6
34809 else
34810
34811
34812       ac_ext=cpp
34813 ac_cpp='$CXXCPP $CPPFLAGS'
34814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34817
34818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34819 /* end confdefs.h.  */
34820 #include <math.h>
34821                       #ifdef HAVE_IEEEFP_H
34822                       #include <ieeefp.h>
34823                       #endif
34824
34825 int
34826 main ()
34827 {
34828  _logf(0);
34829   ;
34830   return 0;
34831 }
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834   glibcxx_cv_func__logf_use=yes
34835 else
34836   glibcxx_cv_func__logf_use=no
34837 fi
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839       ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844
34845
34846 fi
34847
34848   fi
34849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34850 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34851
34852     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34853       for ac_func in _logf
34854 do :
34855   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34856 if test "x$ac_cv_func__logf" = x""yes; then :
34857   cat >>confdefs.h <<_ACEOF
34858 #define HAVE__LOGF 1
34859 _ACEOF
34860
34861 fi
34862 done
34863
34864     fi
34865   fi
34866
34867
34868
34869
34870
34871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34872 $as_echo_n "checking for log10f declaration... " >&6; }
34873   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34874     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34875   $as_echo_n "(cached) " >&6
34876 else
34877
34878
34879       ac_ext=cpp
34880 ac_cpp='$CXXCPP $CPPFLAGS'
34881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884
34885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34886 /* end confdefs.h.  */
34887 #include <math.h>
34888                       #ifdef HAVE_IEEEFP_H
34889                       #include <ieeefp.h>
34890                       #endif
34891
34892 int
34893 main ()
34894 {
34895  log10f(0);
34896   ;
34897   return 0;
34898 }
34899 _ACEOF
34900 if ac_fn_cxx_try_compile "$LINENO"; then :
34901   glibcxx_cv_func_log10f_use=yes
34902 else
34903   glibcxx_cv_func_log10f_use=no
34904 fi
34905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34906       ac_ext=c
34907 ac_cpp='$CPP $CPPFLAGS'
34908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34911
34912
34913 fi
34914
34915   fi
34916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34917 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34918
34919   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34920     for ac_func in log10f
34921 do :
34922   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34923 if test "x$ac_cv_func_log10f" = x""yes; then :
34924   cat >>confdefs.h <<_ACEOF
34925 #define HAVE_LOG10F 1
34926 _ACEOF
34927
34928 fi
34929 done
34930
34931   else
34932
34933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34934 $as_echo_n "checking for _log10f declaration... " >&6; }
34935   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34936     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34937   $as_echo_n "(cached) " >&6
34938 else
34939
34940
34941       ac_ext=cpp
34942 ac_cpp='$CXXCPP $CPPFLAGS'
34943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946
34947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h.  */
34949 #include <math.h>
34950                       #ifdef HAVE_IEEEFP_H
34951                       #include <ieeefp.h>
34952                       #endif
34953
34954 int
34955 main ()
34956 {
34957  _log10f(0);
34958   ;
34959   return 0;
34960 }
34961 _ACEOF
34962 if ac_fn_cxx_try_compile "$LINENO"; then :
34963   glibcxx_cv_func__log10f_use=yes
34964 else
34965   glibcxx_cv_func__log10f_use=no
34966 fi
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968       ac_ext=c
34969 ac_cpp='$CPP $CPPFLAGS'
34970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34973
34974
34975 fi
34976
34977   fi
34978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34979 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34980
34981     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34982       for ac_func in _log10f
34983 do :
34984   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34985 if test "x$ac_cv_func__log10f" = x""yes; then :
34986   cat >>confdefs.h <<_ACEOF
34987 #define HAVE__LOG10F 1
34988 _ACEOF
34989
34990 fi
34991 done
34992
34993     fi
34994   fi
34995
34996
34997
34998
34999
35000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35001 $as_echo_n "checking for modff declaration... " >&6; }
35002   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35003     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35004   $as_echo_n "(cached) " >&6
35005 else
35006
35007
35008       ac_ext=cpp
35009 ac_cpp='$CXXCPP $CPPFLAGS'
35010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35013
35014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35015 /* end confdefs.h.  */
35016 #include <math.h>
35017 int
35018 main ()
35019 {
35020  modff(0, 0);
35021   ;
35022   return 0;
35023 }
35024 _ACEOF
35025 if ac_fn_cxx_try_compile "$LINENO"; then :
35026   glibcxx_cv_func_modff_use=yes
35027 else
35028   glibcxx_cv_func_modff_use=no
35029 fi
35030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35031       ac_ext=c
35032 ac_cpp='$CPP $CPPFLAGS'
35033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35036
35037
35038 fi
35039
35040   fi
35041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35042 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35043
35044   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35045     for ac_func in modff
35046 do :
35047   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35048 if test "x$ac_cv_func_modff" = x""yes; then :
35049   cat >>confdefs.h <<_ACEOF
35050 #define HAVE_MODFF 1
35051 _ACEOF
35052
35053 fi
35054 done
35055
35056   else
35057
35058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35059 $as_echo_n "checking for _modff declaration... " >&6; }
35060   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35061     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35062   $as_echo_n "(cached) " >&6
35063 else
35064
35065
35066       ac_ext=cpp
35067 ac_cpp='$CXXCPP $CPPFLAGS'
35068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35071
35072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35073 /* end confdefs.h.  */
35074 #include <math.h>
35075 int
35076 main ()
35077 {
35078  _modff(0, 0);
35079   ;
35080   return 0;
35081 }
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084   glibcxx_cv_func__modff_use=yes
35085 else
35086   glibcxx_cv_func__modff_use=no
35087 fi
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089       ac_ext=c
35090 ac_cpp='$CPP $CPPFLAGS'
35091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35094
35095
35096 fi
35097
35098   fi
35099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35100 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35101
35102     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35103       for ac_func in _modff
35104 do :
35105   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35106 if test "x$ac_cv_func__modff" = x""yes; then :
35107   cat >>confdefs.h <<_ACEOF
35108 #define HAVE__MODFF 1
35109 _ACEOF
35110
35111 fi
35112 done
35113
35114     fi
35115   fi
35116
35117
35118
35119
35120
35121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35122 $as_echo_n "checking for modf declaration... " >&6; }
35123   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35124     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35125   $as_echo_n "(cached) " >&6
35126 else
35127
35128
35129       ac_ext=cpp
35130 ac_cpp='$CXXCPP $CPPFLAGS'
35131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134
35135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h.  */
35137 #include <math.h>
35138 int
35139 main ()
35140 {
35141  modf(0, 0);
35142   ;
35143   return 0;
35144 }
35145 _ACEOF
35146 if ac_fn_cxx_try_compile "$LINENO"; then :
35147   glibcxx_cv_func_modf_use=yes
35148 else
35149   glibcxx_cv_func_modf_use=no
35150 fi
35151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35152       ac_ext=c
35153 ac_cpp='$CPP $CPPFLAGS'
35154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157
35158
35159 fi
35160
35161   fi
35162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35163 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35164
35165   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35166     for ac_func in modf
35167 do :
35168   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35169 if test "x$ac_cv_func_modf" = x""yes; then :
35170   cat >>confdefs.h <<_ACEOF
35171 #define HAVE_MODF 1
35172 _ACEOF
35173
35174 fi
35175 done
35176
35177   else
35178
35179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35180 $as_echo_n "checking for _modf declaration... " >&6; }
35181   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35182     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35183   $as_echo_n "(cached) " >&6
35184 else
35185
35186
35187       ac_ext=cpp
35188 ac_cpp='$CXXCPP $CPPFLAGS'
35189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192
35193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35194 /* end confdefs.h.  */
35195 #include <math.h>
35196 int
35197 main ()
35198 {
35199  _modf(0, 0);
35200   ;
35201   return 0;
35202 }
35203 _ACEOF
35204 if ac_fn_cxx_try_compile "$LINENO"; then :
35205   glibcxx_cv_func__modf_use=yes
35206 else
35207   glibcxx_cv_func__modf_use=no
35208 fi
35209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35210       ac_ext=c
35211 ac_cpp='$CPP $CPPFLAGS'
35212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35215
35216
35217 fi
35218
35219   fi
35220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35221 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35222
35223     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35224       for ac_func in _modf
35225 do :
35226   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35227 if test "x$ac_cv_func__modf" = x""yes; then :
35228   cat >>confdefs.h <<_ACEOF
35229 #define HAVE__MODF 1
35230 _ACEOF
35231
35232 fi
35233 done
35234
35235     fi
35236   fi
35237
35238
35239
35240
35241
35242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35243 $as_echo_n "checking for powf declaration... " >&6; }
35244   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35245     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35246   $as_echo_n "(cached) " >&6
35247 else
35248
35249
35250       ac_ext=cpp
35251 ac_cpp='$CXXCPP $CPPFLAGS'
35252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35255
35256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35257 /* end confdefs.h.  */
35258 #include <math.h>
35259 int
35260 main ()
35261 {
35262  powf(0, 0);
35263   ;
35264   return 0;
35265 }
35266 _ACEOF
35267 if ac_fn_cxx_try_compile "$LINENO"; then :
35268   glibcxx_cv_func_powf_use=yes
35269 else
35270   glibcxx_cv_func_powf_use=no
35271 fi
35272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273       ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278
35279
35280 fi
35281
35282   fi
35283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35284 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35285
35286   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35287     for ac_func in powf
35288 do :
35289   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35290 if test "x$ac_cv_func_powf" = x""yes; then :
35291   cat >>confdefs.h <<_ACEOF
35292 #define HAVE_POWF 1
35293 _ACEOF
35294
35295 fi
35296 done
35297
35298   else
35299
35300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35301 $as_echo_n "checking for _powf declaration... " >&6; }
35302   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35303     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35304   $as_echo_n "(cached) " >&6
35305 else
35306
35307
35308       ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35313
35314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h.  */
35316 #include <math.h>
35317 int
35318 main ()
35319 {
35320  _powf(0, 0);
35321   ;
35322   return 0;
35323 }
35324 _ACEOF
35325 if ac_fn_cxx_try_compile "$LINENO"; then :
35326   glibcxx_cv_func__powf_use=yes
35327 else
35328   glibcxx_cv_func__powf_use=no
35329 fi
35330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35331       ac_ext=c
35332 ac_cpp='$CPP $CPPFLAGS'
35333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336
35337
35338 fi
35339
35340   fi
35341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35342 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35343
35344     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35345       for ac_func in _powf
35346 do :
35347   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35348 if test "x$ac_cv_func__powf" = x""yes; then :
35349   cat >>confdefs.h <<_ACEOF
35350 #define HAVE__POWF 1
35351 _ACEOF
35352
35353 fi
35354 done
35355
35356     fi
35357   fi
35358
35359
35360
35361
35362
35363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35364 $as_echo_n "checking for sqrtf declaration... " >&6; }
35365   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35366     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35367   $as_echo_n "(cached) " >&6
35368 else
35369
35370
35371       ac_ext=cpp
35372 ac_cpp='$CXXCPP $CPPFLAGS'
35373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35376
35377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35378 /* end confdefs.h.  */
35379 #include <math.h>
35380                       #ifdef HAVE_IEEEFP_H
35381                       #include <ieeefp.h>
35382                       #endif
35383
35384 int
35385 main ()
35386 {
35387  sqrtf(0);
35388   ;
35389   return 0;
35390 }
35391 _ACEOF
35392 if ac_fn_cxx_try_compile "$LINENO"; then :
35393   glibcxx_cv_func_sqrtf_use=yes
35394 else
35395   glibcxx_cv_func_sqrtf_use=no
35396 fi
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398       ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403
35404
35405 fi
35406
35407   fi
35408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35409 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35410
35411   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35412     for ac_func in sqrtf
35413 do :
35414   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35415 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35416   cat >>confdefs.h <<_ACEOF
35417 #define HAVE_SQRTF 1
35418 _ACEOF
35419
35420 fi
35421 done
35422
35423   else
35424
35425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35426 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35427   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35428     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35429   $as_echo_n "(cached) " >&6
35430 else
35431
35432
35433       ac_ext=cpp
35434 ac_cpp='$CXXCPP $CPPFLAGS'
35435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35438
35439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35440 /* end confdefs.h.  */
35441 #include <math.h>
35442                       #ifdef HAVE_IEEEFP_H
35443                       #include <ieeefp.h>
35444                       #endif
35445
35446 int
35447 main ()
35448 {
35449  _sqrtf(0);
35450   ;
35451   return 0;
35452 }
35453 _ACEOF
35454 if ac_fn_cxx_try_compile "$LINENO"; then :
35455   glibcxx_cv_func__sqrtf_use=yes
35456 else
35457   glibcxx_cv_func__sqrtf_use=no
35458 fi
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35460       ac_ext=c
35461 ac_cpp='$CPP $CPPFLAGS'
35462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35465
35466
35467 fi
35468
35469   fi
35470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35471 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35472
35473     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35474       for ac_func in _sqrtf
35475 do :
35476   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35477 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35478   cat >>confdefs.h <<_ACEOF
35479 #define HAVE__SQRTF 1
35480 _ACEOF
35481
35482 fi
35483 done
35484
35485     fi
35486   fi
35487
35488
35489
35490
35491
35492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35493 $as_echo_n "checking for sincosf declaration... " >&6; }
35494   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35495     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35496   $as_echo_n "(cached) " >&6
35497 else
35498
35499
35500       ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505
35506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h.  */
35508 #include <math.h>
35509 int
35510 main ()
35511 {
35512  sincosf(0, 0, 0);
35513   ;
35514   return 0;
35515 }
35516 _ACEOF
35517 if ac_fn_cxx_try_compile "$LINENO"; then :
35518   glibcxx_cv_func_sincosf_use=yes
35519 else
35520   glibcxx_cv_func_sincosf_use=no
35521 fi
35522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35523       ac_ext=c
35524 ac_cpp='$CPP $CPPFLAGS'
35525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528
35529
35530 fi
35531
35532   fi
35533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35534 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35535
35536   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35537     for ac_func in sincosf
35538 do :
35539   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35540 if test "x$ac_cv_func_sincosf" = x""yes; then :
35541   cat >>confdefs.h <<_ACEOF
35542 #define HAVE_SINCOSF 1
35543 _ACEOF
35544
35545 fi
35546 done
35547
35548   else
35549
35550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35551 $as_echo_n "checking for _sincosf declaration... " >&6; }
35552   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35553     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35554   $as_echo_n "(cached) " >&6
35555 else
35556
35557
35558       ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35563
35564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h.  */
35566 #include <math.h>
35567 int
35568 main ()
35569 {
35570  _sincosf(0, 0, 0);
35571   ;
35572   return 0;
35573 }
35574 _ACEOF
35575 if ac_fn_cxx_try_compile "$LINENO"; then :
35576   glibcxx_cv_func__sincosf_use=yes
35577 else
35578   glibcxx_cv_func__sincosf_use=no
35579 fi
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581       ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586
35587
35588 fi
35589
35590   fi
35591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35592 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35593
35594     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35595       for ac_func in _sincosf
35596 do :
35597   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35598 if test "x$ac_cv_func__sincosf" = x""yes; then :
35599   cat >>confdefs.h <<_ACEOF
35600 #define HAVE__SINCOSF 1
35601 _ACEOF
35602
35603 fi
35604 done
35605
35606     fi
35607   fi
35608
35609
35610
35611
35612
35613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35614 $as_echo_n "checking for finitef declaration... " >&6; }
35615   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35616     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35617   $as_echo_n "(cached) " >&6
35618 else
35619
35620
35621       ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626
35627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h.  */
35629 #include <math.h>
35630                       #ifdef HAVE_IEEEFP_H
35631                       #include <ieeefp.h>
35632                       #endif
35633
35634 int
35635 main ()
35636 {
35637  finitef(0);
35638   ;
35639   return 0;
35640 }
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643   glibcxx_cv_func_finitef_use=yes
35644 else
35645   glibcxx_cv_func_finitef_use=no
35646 fi
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35648       ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35653
35654
35655 fi
35656
35657   fi
35658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35660
35661   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35662     for ac_func in finitef
35663 do :
35664   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35665 if test "x$ac_cv_func_finitef" = x""yes; then :
35666   cat >>confdefs.h <<_ACEOF
35667 #define HAVE_FINITEF 1
35668 _ACEOF
35669
35670 fi
35671 done
35672
35673   else
35674
35675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35676 $as_echo_n "checking for _finitef declaration... " >&6; }
35677   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35678     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35679   $as_echo_n "(cached) " >&6
35680 else
35681
35682
35683       ac_ext=cpp
35684 ac_cpp='$CXXCPP $CPPFLAGS'
35685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688
35689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35690 /* end confdefs.h.  */
35691 #include <math.h>
35692                       #ifdef HAVE_IEEEFP_H
35693                       #include <ieeefp.h>
35694                       #endif
35695
35696 int
35697 main ()
35698 {
35699  _finitef(0);
35700   ;
35701   return 0;
35702 }
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705   glibcxx_cv_func__finitef_use=yes
35706 else
35707   glibcxx_cv_func__finitef_use=no
35708 fi
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710       ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35715
35716
35717 fi
35718
35719   fi
35720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35721 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35722
35723     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35724       for ac_func in _finitef
35725 do :
35726   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35727 if test "x$ac_cv_func__finitef" = x""yes; then :
35728   cat >>confdefs.h <<_ACEOF
35729 #define HAVE__FINITEF 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735     fi
35736   fi
35737
35738
35739
35740
35741
35742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35743 $as_echo_n "checking for long double trig functions... " >&6; }
35744   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35745   $as_echo_n "(cached) " >&6
35746 else
35747
35748
35749     ac_ext=cpp
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754
35755     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35756 /* end confdefs.h.  */
35757 #include <math.h>
35758 int
35759 main ()
35760 {
35761 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35762   ;
35763   return 0;
35764 }
35765 _ACEOF
35766 if ac_fn_cxx_try_compile "$LINENO"; then :
35767   glibcxx_cv_func_long_double_trig_use=yes
35768 else
35769   glibcxx_cv_func_long_double_trig_use=no
35770 fi
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772     ac_ext=c
35773 ac_cpp='$CPP $CPPFLAGS'
35774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35777
35778 fi
35779
35780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35781 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35782   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35783     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35784 do :
35785   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35787 eval as_val=\$$as_ac_var
35788    if test "x$as_val" = x""yes; then :
35789   cat >>confdefs.h <<_ACEOF
35790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 _ACEOF
35792
35793 fi
35794 done
35795
35796   else
35797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35798 $as_echo_n "checking for _long double trig functions... " >&6; }
35799     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35800   $as_echo_n "(cached) " >&6
35801 else
35802
35803
35804       ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809
35810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h.  */
35812 #include <math.h>
35813 int
35814 main ()
35815 {
35816 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35817   ;
35818   return 0;
35819 }
35820 _ACEOF
35821 if ac_fn_cxx_try_compile "$LINENO"; then :
35822   glibcxx_cv_func__long_double_trig_use=yes
35823 else
35824   glibcxx_cv_func__long_double_trig_use=no
35825 fi
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827       ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35832
35833 fi
35834
35835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35836 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35837     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35838       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35839 do :
35840   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35842 eval as_val=\$$as_ac_var
35843    if test "x$as_val" = x""yes; then :
35844   cat >>confdefs.h <<_ACEOF
35845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851     fi
35852   fi
35853
35854
35855
35856
35857
35858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35859 $as_echo_n "checking for long double round functions... " >&6; }
35860   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35861   $as_echo_n "(cached) " >&6
35862 else
35863
35864
35865     ac_ext=cpp
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870
35871     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35872 /* end confdefs.h.  */
35873 #include <math.h>
35874 int
35875 main ()
35876 {
35877 ceill (0); floorl (0);
35878   ;
35879   return 0;
35880 }
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883   glibcxx_cv_func_long_double_round_use=yes
35884 else
35885   glibcxx_cv_func_long_double_round_use=no
35886 fi
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888     ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893
35894 fi
35895
35896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35897 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35898   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35899     for ac_func in ceill floorl
35900 do :
35901   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35903 eval as_val=\$$as_ac_var
35904    if test "x$as_val" = x""yes; then :
35905   cat >>confdefs.h <<_ACEOF
35906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35907 _ACEOF
35908
35909 fi
35910 done
35911
35912   else
35913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35914 $as_echo_n "checking for _long double round functions... " >&6; }
35915     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35916   $as_echo_n "(cached) " >&6
35917 else
35918
35919
35920       ac_ext=cpp
35921 ac_cpp='$CXXCPP $CPPFLAGS'
35922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35925
35926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35927 /* end confdefs.h.  */
35928 #include <math.h>
35929 int
35930 main ()
35931 {
35932 _ceill (0); _floorl (0);
35933   ;
35934   return 0;
35935 }
35936 _ACEOF
35937 if ac_fn_cxx_try_compile "$LINENO"; then :
35938   glibcxx_cv_func__long_double_round_use=yes
35939 else
35940   glibcxx_cv_func__long_double_round_use=no
35941 fi
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35943       ac_ext=c
35944 ac_cpp='$CPP $CPPFLAGS'
35945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35948
35949 fi
35950
35951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35952 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35953     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35954       for ac_func in _ceill _floorl
35955 do :
35956   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35958 eval as_val=\$$as_ac_var
35959    if test "x$as_val" = x""yes; then :
35960   cat >>confdefs.h <<_ACEOF
35961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35962 _ACEOF
35963
35964 fi
35965 done
35966
35967     fi
35968   fi
35969
35970
35971
35972
35973
35974
35975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35976 $as_echo_n "checking for isnanl declaration... " >&6; }
35977   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35978     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35979   $as_echo_n "(cached) " >&6
35980 else
35981
35982
35983       ac_ext=cpp
35984 ac_cpp='$CXXCPP $CPPFLAGS'
35985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35988
35989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35990 /* end confdefs.h.  */
35991 #include <math.h>
35992                       #ifdef HAVE_IEEEFP_H
35993                       #include <ieeefp.h>
35994                       #endif
35995
35996 int
35997 main ()
35998 {
35999  isnanl(0);
36000   ;
36001   return 0;
36002 }
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005   glibcxx_cv_func_isnanl_use=yes
36006 else
36007   glibcxx_cv_func_isnanl_use=no
36008 fi
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010       ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015
36016
36017 fi
36018
36019   fi
36020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36021 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36022
36023   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36024     for ac_func in isnanl
36025 do :
36026   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36027 if test "x$ac_cv_func_isnanl" = x""yes; then :
36028   cat >>confdefs.h <<_ACEOF
36029 #define HAVE_ISNANL 1
36030 _ACEOF
36031
36032 fi
36033 done
36034
36035   else
36036
36037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36038 $as_echo_n "checking for _isnanl declaration... " >&6; }
36039   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36040     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36041   $as_echo_n "(cached) " >&6
36042 else
36043
36044
36045       ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050
36051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h.  */
36053 #include <math.h>
36054                       #ifdef HAVE_IEEEFP_H
36055                       #include <ieeefp.h>
36056                       #endif
36057
36058 int
36059 main ()
36060 {
36061  _isnanl(0);
36062   ;
36063   return 0;
36064 }
36065 _ACEOF
36066 if ac_fn_cxx_try_compile "$LINENO"; then :
36067   glibcxx_cv_func__isnanl_use=yes
36068 else
36069   glibcxx_cv_func__isnanl_use=no
36070 fi
36071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36072       ac_ext=c
36073 ac_cpp='$CPP $CPPFLAGS'
36074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077
36078
36079 fi
36080
36081   fi
36082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36083 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36084
36085     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36086       for ac_func in _isnanl
36087 do :
36088   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36089 if test "x$ac_cv_func__isnanl" = x""yes; then :
36090   cat >>confdefs.h <<_ACEOF
36091 #define HAVE__ISNANL 1
36092 _ACEOF
36093
36094 fi
36095 done
36096
36097     fi
36098   fi
36099
36100
36101
36102
36103
36104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36105 $as_echo_n "checking for isinfl declaration... " >&6; }
36106   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36107     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36108   $as_echo_n "(cached) " >&6
36109 else
36110
36111
36112       ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117
36118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36119 /* end confdefs.h.  */
36120 #include <math.h>
36121                       #ifdef HAVE_IEEEFP_H
36122                       #include <ieeefp.h>
36123                       #endif
36124
36125 int
36126 main ()
36127 {
36128  isinfl(0);
36129   ;
36130   return 0;
36131 }
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134   glibcxx_cv_func_isinfl_use=yes
36135 else
36136   glibcxx_cv_func_isinfl_use=no
36137 fi
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139       ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144
36145
36146 fi
36147
36148   fi
36149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36150 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36151
36152   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36153     for ac_func in isinfl
36154 do :
36155   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36156 if test "x$ac_cv_func_isinfl" = x""yes; then :
36157   cat >>confdefs.h <<_ACEOF
36158 #define HAVE_ISINFL 1
36159 _ACEOF
36160
36161 fi
36162 done
36163
36164   else
36165
36166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36167 $as_echo_n "checking for _isinfl declaration... " >&6; }
36168   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36169     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36170   $as_echo_n "(cached) " >&6
36171 else
36172
36173
36174       ac_ext=cpp
36175 ac_cpp='$CXXCPP $CPPFLAGS'
36176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179
36180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36181 /* end confdefs.h.  */
36182 #include <math.h>
36183                       #ifdef HAVE_IEEEFP_H
36184                       #include <ieeefp.h>
36185                       #endif
36186
36187 int
36188 main ()
36189 {
36190  _isinfl(0);
36191   ;
36192   return 0;
36193 }
36194 _ACEOF
36195 if ac_fn_cxx_try_compile "$LINENO"; then :
36196   glibcxx_cv_func__isinfl_use=yes
36197 else
36198   glibcxx_cv_func__isinfl_use=no
36199 fi
36200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36201       ac_ext=c
36202 ac_cpp='$CPP $CPPFLAGS'
36203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36206
36207
36208 fi
36209
36210   fi
36211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36212 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36213
36214     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36215       for ac_func in _isinfl
36216 do :
36217   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36218 if test "x$ac_cv_func__isinfl" = x""yes; then :
36219   cat >>confdefs.h <<_ACEOF
36220 #define HAVE__ISINFL 1
36221 _ACEOF
36222
36223 fi
36224 done
36225
36226     fi
36227   fi
36228
36229
36230
36231
36232
36233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36234 $as_echo_n "checking for atan2l declaration... " >&6; }
36235   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36236     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36237   $as_echo_n "(cached) " >&6
36238 else
36239
36240
36241       ac_ext=cpp
36242 ac_cpp='$CXXCPP $CPPFLAGS'
36243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36246
36247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36248 /* end confdefs.h.  */
36249 #include <math.h>
36250 int
36251 main ()
36252 {
36253  atan2l(0, 0);
36254   ;
36255   return 0;
36256 }
36257 _ACEOF
36258 if ac_fn_cxx_try_compile "$LINENO"; then :
36259   glibcxx_cv_func_atan2l_use=yes
36260 else
36261   glibcxx_cv_func_atan2l_use=no
36262 fi
36263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36264       ac_ext=c
36265 ac_cpp='$CPP $CPPFLAGS'
36266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36269
36270
36271 fi
36272
36273   fi
36274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36275 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36276
36277   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36278     for ac_func in atan2l
36279 do :
36280   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36281 if test "x$ac_cv_func_atan2l" = x""yes; then :
36282   cat >>confdefs.h <<_ACEOF
36283 #define HAVE_ATAN2L 1
36284 _ACEOF
36285
36286 fi
36287 done
36288
36289   else
36290
36291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36292 $as_echo_n "checking for _atan2l declaration... " >&6; }
36293   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36294     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36295   $as_echo_n "(cached) " >&6
36296 else
36297
36298
36299       ac_ext=cpp
36300 ac_cpp='$CXXCPP $CPPFLAGS'
36301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36304
36305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36306 /* end confdefs.h.  */
36307 #include <math.h>
36308 int
36309 main ()
36310 {
36311  _atan2l(0, 0);
36312   ;
36313   return 0;
36314 }
36315 _ACEOF
36316 if ac_fn_cxx_try_compile "$LINENO"; then :
36317   glibcxx_cv_func__atan2l_use=yes
36318 else
36319   glibcxx_cv_func__atan2l_use=no
36320 fi
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322       ac_ext=c
36323 ac_cpp='$CPP $CPPFLAGS'
36324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36327
36328
36329 fi
36330
36331   fi
36332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36333 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36334
36335     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36336       for ac_func in _atan2l
36337 do :
36338   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36339 if test "x$ac_cv_func__atan2l" = x""yes; then :
36340   cat >>confdefs.h <<_ACEOF
36341 #define HAVE__ATAN2L 1
36342 _ACEOF
36343
36344 fi
36345 done
36346
36347     fi
36348   fi
36349
36350
36351
36352
36353
36354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36355 $as_echo_n "checking for expl declaration... " >&6; }
36356   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36357     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36358   $as_echo_n "(cached) " >&6
36359 else
36360
36361
36362       ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367
36368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h.  */
36370 #include <math.h>
36371                       #ifdef HAVE_IEEEFP_H
36372                       #include <ieeefp.h>
36373                       #endif
36374
36375 int
36376 main ()
36377 {
36378  expl(0);
36379   ;
36380   return 0;
36381 }
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384   glibcxx_cv_func_expl_use=yes
36385 else
36386   glibcxx_cv_func_expl_use=no
36387 fi
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389       ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36394
36395
36396 fi
36397
36398   fi
36399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36400 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36401
36402   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36403     for ac_func in expl
36404 do :
36405   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36406 if test "x$ac_cv_func_expl" = x""yes; then :
36407   cat >>confdefs.h <<_ACEOF
36408 #define HAVE_EXPL 1
36409 _ACEOF
36410
36411 fi
36412 done
36413
36414   else
36415
36416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36417 $as_echo_n "checking for _expl declaration... " >&6; }
36418   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36419     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36420   $as_echo_n "(cached) " >&6
36421 else
36422
36423
36424       ac_ext=cpp
36425 ac_cpp='$CXXCPP $CPPFLAGS'
36426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429
36430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36431 /* end confdefs.h.  */
36432 #include <math.h>
36433                       #ifdef HAVE_IEEEFP_H
36434                       #include <ieeefp.h>
36435                       #endif
36436
36437 int
36438 main ()
36439 {
36440  _expl(0);
36441   ;
36442   return 0;
36443 }
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446   glibcxx_cv_func__expl_use=yes
36447 else
36448   glibcxx_cv_func__expl_use=no
36449 fi
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451       ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36456
36457
36458 fi
36459
36460   fi
36461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36462 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36463
36464     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36465       for ac_func in _expl
36466 do :
36467   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36468 if test "x$ac_cv_func__expl" = x""yes; then :
36469   cat >>confdefs.h <<_ACEOF
36470 #define HAVE__EXPL 1
36471 _ACEOF
36472
36473 fi
36474 done
36475
36476     fi
36477   fi
36478
36479
36480
36481
36482
36483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36484 $as_echo_n "checking for fabsl declaration... " >&6; }
36485   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36486     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36487   $as_echo_n "(cached) " >&6
36488 else
36489
36490
36491       ac_ext=cpp
36492 ac_cpp='$CXXCPP $CPPFLAGS'
36493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36496
36497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36498 /* end confdefs.h.  */
36499 #include <math.h>
36500                       #ifdef HAVE_IEEEFP_H
36501                       #include <ieeefp.h>
36502                       #endif
36503
36504 int
36505 main ()
36506 {
36507  fabsl(0);
36508   ;
36509   return 0;
36510 }
36511 _ACEOF
36512 if ac_fn_cxx_try_compile "$LINENO"; then :
36513   glibcxx_cv_func_fabsl_use=yes
36514 else
36515   glibcxx_cv_func_fabsl_use=no
36516 fi
36517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36518       ac_ext=c
36519 ac_cpp='$CPP $CPPFLAGS'
36520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36523
36524
36525 fi
36526
36527   fi
36528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36529 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36530
36531   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36532     for ac_func in fabsl
36533 do :
36534   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36535 if test "x$ac_cv_func_fabsl" = x""yes; then :
36536   cat >>confdefs.h <<_ACEOF
36537 #define HAVE_FABSL 1
36538 _ACEOF
36539
36540 fi
36541 done
36542
36543   else
36544
36545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36546 $as_echo_n "checking for _fabsl declaration... " >&6; }
36547   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36548     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36549   $as_echo_n "(cached) " >&6
36550 else
36551
36552
36553       ac_ext=cpp
36554 ac_cpp='$CXXCPP $CPPFLAGS'
36555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558
36559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36560 /* end confdefs.h.  */
36561 #include <math.h>
36562                       #ifdef HAVE_IEEEFP_H
36563                       #include <ieeefp.h>
36564                       #endif
36565
36566 int
36567 main ()
36568 {
36569  _fabsl(0);
36570   ;
36571   return 0;
36572 }
36573 _ACEOF
36574 if ac_fn_cxx_try_compile "$LINENO"; then :
36575   glibcxx_cv_func__fabsl_use=yes
36576 else
36577   glibcxx_cv_func__fabsl_use=no
36578 fi
36579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36580       ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585
36586
36587 fi
36588
36589   fi
36590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36591 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36592
36593     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36594       for ac_func in _fabsl
36595 do :
36596   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36597 if test "x$ac_cv_func__fabsl" = x""yes; then :
36598   cat >>confdefs.h <<_ACEOF
36599 #define HAVE__FABSL 1
36600 _ACEOF
36601
36602 fi
36603 done
36604
36605     fi
36606   fi
36607
36608
36609
36610
36611
36612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36613 $as_echo_n "checking for fmodl declaration... " >&6; }
36614   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36615     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36616   $as_echo_n "(cached) " >&6
36617 else
36618
36619
36620       ac_ext=cpp
36621 ac_cpp='$CXXCPP $CPPFLAGS'
36622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625
36626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36627 /* end confdefs.h.  */
36628 #include <math.h>
36629 int
36630 main ()
36631 {
36632  fmodl(0, 0);
36633   ;
36634   return 0;
36635 }
36636 _ACEOF
36637 if ac_fn_cxx_try_compile "$LINENO"; then :
36638   glibcxx_cv_func_fmodl_use=yes
36639 else
36640   glibcxx_cv_func_fmodl_use=no
36641 fi
36642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36643       ac_ext=c
36644 ac_cpp='$CPP $CPPFLAGS'
36645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36648
36649
36650 fi
36651
36652   fi
36653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36654 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36655
36656   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36657     for ac_func in fmodl
36658 do :
36659   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36660 if test "x$ac_cv_func_fmodl" = x""yes; then :
36661   cat >>confdefs.h <<_ACEOF
36662 #define HAVE_FMODL 1
36663 _ACEOF
36664
36665 fi
36666 done
36667
36668   else
36669
36670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36671 $as_echo_n "checking for _fmodl declaration... " >&6; }
36672   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36673     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36674   $as_echo_n "(cached) " >&6
36675 else
36676
36677
36678       ac_ext=cpp
36679 ac_cpp='$CXXCPP $CPPFLAGS'
36680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36683
36684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36685 /* end confdefs.h.  */
36686 #include <math.h>
36687 int
36688 main ()
36689 {
36690  _fmodl(0, 0);
36691   ;
36692   return 0;
36693 }
36694 _ACEOF
36695 if ac_fn_cxx_try_compile "$LINENO"; then :
36696   glibcxx_cv_func__fmodl_use=yes
36697 else
36698   glibcxx_cv_func__fmodl_use=no
36699 fi
36700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36701       ac_ext=c
36702 ac_cpp='$CPP $CPPFLAGS'
36703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706
36707
36708 fi
36709
36710   fi
36711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36712 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36713
36714     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36715       for ac_func in _fmodl
36716 do :
36717   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36718 if test "x$ac_cv_func__fmodl" = x""yes; then :
36719   cat >>confdefs.h <<_ACEOF
36720 #define HAVE__FMODL 1
36721 _ACEOF
36722
36723 fi
36724 done
36725
36726     fi
36727   fi
36728
36729
36730
36731
36732
36733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36734 $as_echo_n "checking for frexpl declaration... " >&6; }
36735   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36736     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36737   $as_echo_n "(cached) " >&6
36738 else
36739
36740
36741       ac_ext=cpp
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746
36747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 /* end confdefs.h.  */
36749 #include <math.h>
36750 int
36751 main ()
36752 {
36753  frexpl(0, 0);
36754   ;
36755   return 0;
36756 }
36757 _ACEOF
36758 if ac_fn_cxx_try_compile "$LINENO"; then :
36759   glibcxx_cv_func_frexpl_use=yes
36760 else
36761   glibcxx_cv_func_frexpl_use=no
36762 fi
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764       ac_ext=c
36765 ac_cpp='$CPP $CPPFLAGS'
36766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36769
36770
36771 fi
36772
36773   fi
36774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36775 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36776
36777   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36778     for ac_func in frexpl
36779 do :
36780   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36781 if test "x$ac_cv_func_frexpl" = x""yes; then :
36782   cat >>confdefs.h <<_ACEOF
36783 #define HAVE_FREXPL 1
36784 _ACEOF
36785
36786 fi
36787 done
36788
36789   else
36790
36791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36792 $as_echo_n "checking for _frexpl declaration... " >&6; }
36793   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36794     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36795   $as_echo_n "(cached) " >&6
36796 else
36797
36798
36799       ac_ext=cpp
36800 ac_cpp='$CXXCPP $CPPFLAGS'
36801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804
36805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36806 /* end confdefs.h.  */
36807 #include <math.h>
36808 int
36809 main ()
36810 {
36811  _frexpl(0, 0);
36812   ;
36813   return 0;
36814 }
36815 _ACEOF
36816 if ac_fn_cxx_try_compile "$LINENO"; then :
36817   glibcxx_cv_func__frexpl_use=yes
36818 else
36819   glibcxx_cv_func__frexpl_use=no
36820 fi
36821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822       ac_ext=c
36823 ac_cpp='$CPP $CPPFLAGS'
36824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36827
36828
36829 fi
36830
36831   fi
36832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36833 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36834
36835     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36836       for ac_func in _frexpl
36837 do :
36838   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36839 if test "x$ac_cv_func__frexpl" = x""yes; then :
36840   cat >>confdefs.h <<_ACEOF
36841 #define HAVE__FREXPL 1
36842 _ACEOF
36843
36844 fi
36845 done
36846
36847     fi
36848   fi
36849
36850
36851
36852
36853
36854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36855 $as_echo_n "checking for hypotl declaration... " >&6; }
36856   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36857     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36858   $as_echo_n "(cached) " >&6
36859 else
36860
36861
36862       ac_ext=cpp
36863 ac_cpp='$CXXCPP $CPPFLAGS'
36864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36867
36868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36869 /* end confdefs.h.  */
36870 #include <math.h>
36871 int
36872 main ()
36873 {
36874  hypotl(0, 0);
36875   ;
36876   return 0;
36877 }
36878 _ACEOF
36879 if ac_fn_cxx_try_compile "$LINENO"; then :
36880   glibcxx_cv_func_hypotl_use=yes
36881 else
36882   glibcxx_cv_func_hypotl_use=no
36883 fi
36884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36885       ac_ext=c
36886 ac_cpp='$CPP $CPPFLAGS'
36887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36890
36891
36892 fi
36893
36894   fi
36895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36896 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36897
36898   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36899     for ac_func in hypotl
36900 do :
36901   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36902 if test "x$ac_cv_func_hypotl" = x""yes; then :
36903   cat >>confdefs.h <<_ACEOF
36904 #define HAVE_HYPOTL 1
36905 _ACEOF
36906
36907 fi
36908 done
36909
36910   else
36911
36912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36913 $as_echo_n "checking for _hypotl declaration... " >&6; }
36914   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36915     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36916   $as_echo_n "(cached) " >&6
36917 else
36918
36919
36920       ac_ext=cpp
36921 ac_cpp='$CXXCPP $CPPFLAGS'
36922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925
36926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36927 /* end confdefs.h.  */
36928 #include <math.h>
36929 int
36930 main ()
36931 {
36932  _hypotl(0, 0);
36933   ;
36934   return 0;
36935 }
36936 _ACEOF
36937 if ac_fn_cxx_try_compile "$LINENO"; then :
36938   glibcxx_cv_func__hypotl_use=yes
36939 else
36940   glibcxx_cv_func__hypotl_use=no
36941 fi
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36943       ac_ext=c
36944 ac_cpp='$CPP $CPPFLAGS'
36945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36948
36949
36950 fi
36951
36952   fi
36953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36954 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36955
36956     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36957       for ac_func in _hypotl
36958 do :
36959   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36960 if test "x$ac_cv_func__hypotl" = x""yes; then :
36961   cat >>confdefs.h <<_ACEOF
36962 #define HAVE__HYPOTL 1
36963 _ACEOF
36964
36965 fi
36966 done
36967
36968     fi
36969   fi
36970
36971
36972
36973
36974
36975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36976 $as_echo_n "checking for ldexpl declaration... " >&6; }
36977   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36978     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36979   $as_echo_n "(cached) " >&6
36980 else
36981
36982
36983       ac_ext=cpp
36984 ac_cpp='$CXXCPP $CPPFLAGS'
36985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36988
36989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36990 /* end confdefs.h.  */
36991 #include <math.h>
36992 int
36993 main ()
36994 {
36995  ldexpl(0, 0);
36996   ;
36997   return 0;
36998 }
36999 _ACEOF
37000 if ac_fn_cxx_try_compile "$LINENO"; then :
37001   glibcxx_cv_func_ldexpl_use=yes
37002 else
37003   glibcxx_cv_func_ldexpl_use=no
37004 fi
37005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37006       ac_ext=c
37007 ac_cpp='$CPP $CPPFLAGS'
37008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37011
37012
37013 fi
37014
37015   fi
37016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37017 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37018
37019   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37020     for ac_func in ldexpl
37021 do :
37022   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37023 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37024   cat >>confdefs.h <<_ACEOF
37025 #define HAVE_LDEXPL 1
37026 _ACEOF
37027
37028 fi
37029 done
37030
37031   else
37032
37033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37034 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37035   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37036     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37037   $as_echo_n "(cached) " >&6
37038 else
37039
37040
37041       ac_ext=cpp
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37046
37047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37048 /* end confdefs.h.  */
37049 #include <math.h>
37050 int
37051 main ()
37052 {
37053  _ldexpl(0, 0);
37054   ;
37055   return 0;
37056 }
37057 _ACEOF
37058 if ac_fn_cxx_try_compile "$LINENO"; then :
37059   glibcxx_cv_func__ldexpl_use=yes
37060 else
37061   glibcxx_cv_func__ldexpl_use=no
37062 fi
37063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37064       ac_ext=c
37065 ac_cpp='$CPP $CPPFLAGS'
37066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37069
37070
37071 fi
37072
37073   fi
37074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37075 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37076
37077     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37078       for ac_func in _ldexpl
37079 do :
37080   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37081 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37082   cat >>confdefs.h <<_ACEOF
37083 #define HAVE__LDEXPL 1
37084 _ACEOF
37085
37086 fi
37087 done
37088
37089     fi
37090   fi
37091
37092
37093
37094
37095
37096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37097 $as_echo_n "checking for logl declaration... " >&6; }
37098   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37099     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37100   $as_echo_n "(cached) " >&6
37101 else
37102
37103
37104       ac_ext=cpp
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109
37110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37111 /* end confdefs.h.  */
37112 #include <math.h>
37113                       #ifdef HAVE_IEEEFP_H
37114                       #include <ieeefp.h>
37115                       #endif
37116
37117 int
37118 main ()
37119 {
37120  logl(0);
37121   ;
37122   return 0;
37123 }
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126   glibcxx_cv_func_logl_use=yes
37127 else
37128   glibcxx_cv_func_logl_use=no
37129 fi
37130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131       ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136
37137
37138 fi
37139
37140   fi
37141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37142 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37143
37144   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37145     for ac_func in logl
37146 do :
37147   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37148 if test "x$ac_cv_func_logl" = x""yes; then :
37149   cat >>confdefs.h <<_ACEOF
37150 #define HAVE_LOGL 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156   else
37157
37158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37159 $as_echo_n "checking for _logl declaration... " >&6; }
37160   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37161     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37162   $as_echo_n "(cached) " >&6
37163 else
37164
37165
37166       ac_ext=cpp
37167 ac_cpp='$CXXCPP $CPPFLAGS'
37168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37171
37172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37173 /* end confdefs.h.  */
37174 #include <math.h>
37175                       #ifdef HAVE_IEEEFP_H
37176                       #include <ieeefp.h>
37177                       #endif
37178
37179 int
37180 main ()
37181 {
37182  _logl(0);
37183   ;
37184   return 0;
37185 }
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188   glibcxx_cv_func__logl_use=yes
37189 else
37190   glibcxx_cv_func__logl_use=no
37191 fi
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193       ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198
37199
37200 fi
37201
37202   fi
37203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37204 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37205
37206     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37207       for ac_func in _logl
37208 do :
37209   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37210 if test "x$ac_cv_func__logl" = x""yes; then :
37211   cat >>confdefs.h <<_ACEOF
37212 #define HAVE__LOGL 1
37213 _ACEOF
37214
37215 fi
37216 done
37217
37218     fi
37219   fi
37220
37221
37222
37223
37224
37225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37226 $as_echo_n "checking for log10l declaration... " >&6; }
37227   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37228     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37229   $as_echo_n "(cached) " >&6
37230 else
37231
37232
37233       ac_ext=cpp
37234 ac_cpp='$CXXCPP $CPPFLAGS'
37235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238
37239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37240 /* end confdefs.h.  */
37241 #include <math.h>
37242                       #ifdef HAVE_IEEEFP_H
37243                       #include <ieeefp.h>
37244                       #endif
37245
37246 int
37247 main ()
37248 {
37249  log10l(0);
37250   ;
37251   return 0;
37252 }
37253 _ACEOF
37254 if ac_fn_cxx_try_compile "$LINENO"; then :
37255   glibcxx_cv_func_log10l_use=yes
37256 else
37257   glibcxx_cv_func_log10l_use=no
37258 fi
37259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37260       ac_ext=c
37261 ac_cpp='$CPP $CPPFLAGS'
37262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37265
37266
37267 fi
37268
37269   fi
37270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37271 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37272
37273   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37274     for ac_func in log10l
37275 do :
37276   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37277 if test "x$ac_cv_func_log10l" = x""yes; then :
37278   cat >>confdefs.h <<_ACEOF
37279 #define HAVE_LOG10L 1
37280 _ACEOF
37281
37282 fi
37283 done
37284
37285   else
37286
37287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37288 $as_echo_n "checking for _log10l declaration... " >&6; }
37289   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37290     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37291   $as_echo_n "(cached) " >&6
37292 else
37293
37294
37295       ac_ext=cpp
37296 ac_cpp='$CXXCPP $CPPFLAGS'
37297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300
37301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37302 /* end confdefs.h.  */
37303 #include <math.h>
37304                       #ifdef HAVE_IEEEFP_H
37305                       #include <ieeefp.h>
37306                       #endif
37307
37308 int
37309 main ()
37310 {
37311  _log10l(0);
37312   ;
37313   return 0;
37314 }
37315 _ACEOF
37316 if ac_fn_cxx_try_compile "$LINENO"; then :
37317   glibcxx_cv_func__log10l_use=yes
37318 else
37319   glibcxx_cv_func__log10l_use=no
37320 fi
37321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37322       ac_ext=c
37323 ac_cpp='$CPP $CPPFLAGS'
37324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37327
37328
37329 fi
37330
37331   fi
37332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37333 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37334
37335     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37336       for ac_func in _log10l
37337 do :
37338   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37339 if test "x$ac_cv_func__log10l" = x""yes; then :
37340   cat >>confdefs.h <<_ACEOF
37341 #define HAVE__LOG10L 1
37342 _ACEOF
37343
37344 fi
37345 done
37346
37347     fi
37348   fi
37349
37350
37351
37352
37353
37354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37355 $as_echo_n "checking for modfl declaration... " >&6; }
37356   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37357     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37358   $as_echo_n "(cached) " >&6
37359 else
37360
37361
37362       ac_ext=cpp
37363 ac_cpp='$CXXCPP $CPPFLAGS'
37364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37367
37368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37369 /* end confdefs.h.  */
37370 #include <math.h>
37371 int
37372 main ()
37373 {
37374  modfl(0, 0);
37375   ;
37376   return 0;
37377 }
37378 _ACEOF
37379 if ac_fn_cxx_try_compile "$LINENO"; then :
37380   glibcxx_cv_func_modfl_use=yes
37381 else
37382   glibcxx_cv_func_modfl_use=no
37383 fi
37384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37385       ac_ext=c
37386 ac_cpp='$CPP $CPPFLAGS'
37387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37390
37391
37392 fi
37393
37394   fi
37395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37396 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37397
37398   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37399     for ac_func in modfl
37400 do :
37401   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37402 if test "x$ac_cv_func_modfl" = x""yes; then :
37403   cat >>confdefs.h <<_ACEOF
37404 #define HAVE_MODFL 1
37405 _ACEOF
37406
37407 fi
37408 done
37409
37410   else
37411
37412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37413 $as_echo_n "checking for _modfl declaration... " >&6; }
37414   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37415     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37416   $as_echo_n "(cached) " >&6
37417 else
37418
37419
37420       ac_ext=cpp
37421 ac_cpp='$CXXCPP $CPPFLAGS'
37422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37425
37426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37427 /* end confdefs.h.  */
37428 #include <math.h>
37429 int
37430 main ()
37431 {
37432  _modfl(0, 0);
37433   ;
37434   return 0;
37435 }
37436 _ACEOF
37437 if ac_fn_cxx_try_compile "$LINENO"; then :
37438   glibcxx_cv_func__modfl_use=yes
37439 else
37440   glibcxx_cv_func__modfl_use=no
37441 fi
37442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37443       ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448
37449
37450 fi
37451
37452   fi
37453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37454 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37455
37456     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37457       for ac_func in _modfl
37458 do :
37459   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37460 if test "x$ac_cv_func__modfl" = x""yes; then :
37461   cat >>confdefs.h <<_ACEOF
37462 #define HAVE__MODFL 1
37463 _ACEOF
37464
37465 fi
37466 done
37467
37468     fi
37469   fi
37470
37471
37472
37473
37474
37475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37476 $as_echo_n "checking for powl declaration... " >&6; }
37477   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37478     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37479   $as_echo_n "(cached) " >&6
37480 else
37481
37482
37483       ac_ext=cpp
37484 ac_cpp='$CXXCPP $CPPFLAGS'
37485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37488
37489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37490 /* end confdefs.h.  */
37491 #include <math.h>
37492 int
37493 main ()
37494 {
37495  powl(0, 0);
37496   ;
37497   return 0;
37498 }
37499 _ACEOF
37500 if ac_fn_cxx_try_compile "$LINENO"; then :
37501   glibcxx_cv_func_powl_use=yes
37502 else
37503   glibcxx_cv_func_powl_use=no
37504 fi
37505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37506       ac_ext=c
37507 ac_cpp='$CPP $CPPFLAGS'
37508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511
37512
37513 fi
37514
37515   fi
37516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37517 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37518
37519   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37520     for ac_func in powl
37521 do :
37522   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37523 if test "x$ac_cv_func_powl" = x""yes; then :
37524   cat >>confdefs.h <<_ACEOF
37525 #define HAVE_POWL 1
37526 _ACEOF
37527
37528 fi
37529 done
37530
37531   else
37532
37533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37534 $as_echo_n "checking for _powl declaration... " >&6; }
37535   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37536     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37537   $as_echo_n "(cached) " >&6
37538 else
37539
37540
37541       ac_ext=cpp
37542 ac_cpp='$CXXCPP $CPPFLAGS'
37543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37546
37547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37548 /* end confdefs.h.  */
37549 #include <math.h>
37550 int
37551 main ()
37552 {
37553  _powl(0, 0);
37554   ;
37555   return 0;
37556 }
37557 _ACEOF
37558 if ac_fn_cxx_try_compile "$LINENO"; then :
37559   glibcxx_cv_func__powl_use=yes
37560 else
37561   glibcxx_cv_func__powl_use=no
37562 fi
37563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37564       ac_ext=c
37565 ac_cpp='$CPP $CPPFLAGS'
37566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569
37570
37571 fi
37572
37573   fi
37574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37575 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37576
37577     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37578       for ac_func in _powl
37579 do :
37580   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37581 if test "x$ac_cv_func__powl" = x""yes; then :
37582   cat >>confdefs.h <<_ACEOF
37583 #define HAVE__POWL 1
37584 _ACEOF
37585
37586 fi
37587 done
37588
37589     fi
37590   fi
37591
37592
37593
37594
37595
37596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37597 $as_echo_n "checking for sqrtl declaration... " >&6; }
37598   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37599     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37600   $as_echo_n "(cached) " >&6
37601 else
37602
37603
37604       ac_ext=cpp
37605 ac_cpp='$CXXCPP $CPPFLAGS'
37606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609
37610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37611 /* end confdefs.h.  */
37612 #include <math.h>
37613                       #ifdef HAVE_IEEEFP_H
37614                       #include <ieeefp.h>
37615                       #endif
37616
37617 int
37618 main ()
37619 {
37620  sqrtl(0);
37621   ;
37622   return 0;
37623 }
37624 _ACEOF
37625 if ac_fn_cxx_try_compile "$LINENO"; then :
37626   glibcxx_cv_func_sqrtl_use=yes
37627 else
37628   glibcxx_cv_func_sqrtl_use=no
37629 fi
37630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37631       ac_ext=c
37632 ac_cpp='$CPP $CPPFLAGS'
37633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37636
37637
37638 fi
37639
37640   fi
37641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37642 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37643
37644   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37645     for ac_func in sqrtl
37646 do :
37647   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37648 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37649   cat >>confdefs.h <<_ACEOF
37650 #define HAVE_SQRTL 1
37651 _ACEOF
37652
37653 fi
37654 done
37655
37656   else
37657
37658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37659 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37660   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37661     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37662   $as_echo_n "(cached) " >&6
37663 else
37664
37665
37666       ac_ext=cpp
37667 ac_cpp='$CXXCPP $CPPFLAGS'
37668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671
37672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37673 /* end confdefs.h.  */
37674 #include <math.h>
37675                       #ifdef HAVE_IEEEFP_H
37676                       #include <ieeefp.h>
37677                       #endif
37678
37679 int
37680 main ()
37681 {
37682  _sqrtl(0);
37683   ;
37684   return 0;
37685 }
37686 _ACEOF
37687 if ac_fn_cxx_try_compile "$LINENO"; then :
37688   glibcxx_cv_func__sqrtl_use=yes
37689 else
37690   glibcxx_cv_func__sqrtl_use=no
37691 fi
37692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37693       ac_ext=c
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698
37699
37700 fi
37701
37702   fi
37703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37704 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37705
37706     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37707       for ac_func in _sqrtl
37708 do :
37709   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37710 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37711   cat >>confdefs.h <<_ACEOF
37712 #define HAVE__SQRTL 1
37713 _ACEOF
37714
37715 fi
37716 done
37717
37718     fi
37719   fi
37720
37721
37722
37723
37724
37725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37726 $as_echo_n "checking for sincosl declaration... " >&6; }
37727   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37728     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37729   $as_echo_n "(cached) " >&6
37730 else
37731
37732
37733       ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738
37739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37740 /* end confdefs.h.  */
37741 #include <math.h>
37742 int
37743 main ()
37744 {
37745  sincosl(0, 0, 0);
37746   ;
37747   return 0;
37748 }
37749 _ACEOF
37750 if ac_fn_cxx_try_compile "$LINENO"; then :
37751   glibcxx_cv_func_sincosl_use=yes
37752 else
37753   glibcxx_cv_func_sincosl_use=no
37754 fi
37755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756       ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37761
37762
37763 fi
37764
37765   fi
37766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37767 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37768
37769   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37770     for ac_func in sincosl
37771 do :
37772   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37773 if test "x$ac_cv_func_sincosl" = x""yes; then :
37774   cat >>confdefs.h <<_ACEOF
37775 #define HAVE_SINCOSL 1
37776 _ACEOF
37777
37778 fi
37779 done
37780
37781   else
37782
37783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37784 $as_echo_n "checking for _sincosl declaration... " >&6; }
37785   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37786     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37787   $as_echo_n "(cached) " >&6
37788 else
37789
37790
37791       ac_ext=cpp
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796
37797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37798 /* end confdefs.h.  */
37799 #include <math.h>
37800 int
37801 main ()
37802 {
37803  _sincosl(0, 0, 0);
37804   ;
37805   return 0;
37806 }
37807 _ACEOF
37808 if ac_fn_cxx_try_compile "$LINENO"; then :
37809   glibcxx_cv_func__sincosl_use=yes
37810 else
37811   glibcxx_cv_func__sincosl_use=no
37812 fi
37813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37814       ac_ext=c
37815 ac_cpp='$CPP $CPPFLAGS'
37816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37819
37820
37821 fi
37822
37823   fi
37824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37825 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37826
37827     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37828       for ac_func in _sincosl
37829 do :
37830   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37831 if test "x$ac_cv_func__sincosl" = x""yes; then :
37832   cat >>confdefs.h <<_ACEOF
37833 #define HAVE__SINCOSL 1
37834 _ACEOF
37835
37836 fi
37837 done
37838
37839     fi
37840   fi
37841
37842
37843
37844
37845
37846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37847 $as_echo_n "checking for finitel declaration... " >&6; }
37848   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37849     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37850   $as_echo_n "(cached) " >&6
37851 else
37852
37853
37854       ac_ext=cpp
37855 ac_cpp='$CXXCPP $CPPFLAGS'
37856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37859
37860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37861 /* end confdefs.h.  */
37862 #include <math.h>
37863                       #ifdef HAVE_IEEEFP_H
37864                       #include <ieeefp.h>
37865                       #endif
37866
37867 int
37868 main ()
37869 {
37870  finitel(0);
37871   ;
37872   return 0;
37873 }
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876   glibcxx_cv_func_finitel_use=yes
37877 else
37878   glibcxx_cv_func_finitel_use=no
37879 fi
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881       ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37886
37887
37888 fi
37889
37890   fi
37891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37892 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37893
37894   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37895     for ac_func in finitel
37896 do :
37897   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37898 if test "x$ac_cv_func_finitel" = x""yes; then :
37899   cat >>confdefs.h <<_ACEOF
37900 #define HAVE_FINITEL 1
37901 _ACEOF
37902
37903 fi
37904 done
37905
37906   else
37907
37908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37909 $as_echo_n "checking for _finitel declaration... " >&6; }
37910   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37911     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37912   $as_echo_n "(cached) " >&6
37913 else
37914
37915
37916       ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921
37922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37923 /* end confdefs.h.  */
37924 #include <math.h>
37925                       #ifdef HAVE_IEEEFP_H
37926                       #include <ieeefp.h>
37927                       #endif
37928
37929 int
37930 main ()
37931 {
37932  _finitel(0);
37933   ;
37934   return 0;
37935 }
37936 _ACEOF
37937 if ac_fn_cxx_try_compile "$LINENO"; then :
37938   glibcxx_cv_func__finitel_use=yes
37939 else
37940   glibcxx_cv_func__finitel_use=no
37941 fi
37942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37943       ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37948
37949
37950 fi
37951
37952   fi
37953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37954 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37955
37956     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37957       for ac_func in _finitel
37958 do :
37959   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37960 if test "x$ac_cv_func__finitel" = x""yes; then :
37961   cat >>confdefs.h <<_ACEOF
37962 #define HAVE__FINITEL 1
37963 _ACEOF
37964
37965 fi
37966 done
37967
37968     fi
37969   fi
37970
37971
37972
37973
37974   LIBS="$ac_save_LIBS"
37975   CXXFLAGS="$ac_save_CXXFLAGS"
37976
37977
37978   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37979   ac_save_CXXFLAGS="$CXXFLAGS"
37980   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37981
37982
37983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37984 $as_echo_n "checking for strtold declaration... " >&6; }
37985   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37986     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37987   $as_echo_n "(cached) " >&6
37988 else
37989
37990
37991       ac_ext=cpp
37992 ac_cpp='$CXXCPP $CPPFLAGS'
37993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37996
37997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37998 /* end confdefs.h.  */
37999 #include <stdlib.h>
38000 int
38001 main ()
38002 {
38003  strtold(0, 0);
38004   ;
38005   return 0;
38006 }
38007 _ACEOF
38008 if ac_fn_cxx_try_compile "$LINENO"; then :
38009   glibcxx_cv_func_strtold_use=yes
38010 else
38011   glibcxx_cv_func_strtold_use=no
38012 fi
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38014       ac_ext=c
38015 ac_cpp='$CPP $CPPFLAGS'
38016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38019
38020
38021 fi
38022
38023   fi
38024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38025 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38026   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38027     for ac_func in strtold
38028 do :
38029   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38030 if test "x$ac_cv_func_strtold" = x""yes; then :
38031   cat >>confdefs.h <<_ACEOF
38032 #define HAVE_STRTOLD 1
38033 _ACEOF
38034
38035 fi
38036 done
38037
38038   fi
38039
38040
38041
38042
38043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38044 $as_echo_n "checking for strtof declaration... " >&6; }
38045   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38046     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38047   $as_echo_n "(cached) " >&6
38048 else
38049
38050
38051       ac_ext=cpp
38052 ac_cpp='$CXXCPP $CPPFLAGS'
38053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38056
38057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38058 /* end confdefs.h.  */
38059 #include <stdlib.h>
38060 int
38061 main ()
38062 {
38063  strtof(0, 0);
38064   ;
38065   return 0;
38066 }
38067 _ACEOF
38068 if ac_fn_cxx_try_compile "$LINENO"; then :
38069   glibcxx_cv_func_strtof_use=yes
38070 else
38071   glibcxx_cv_func_strtof_use=no
38072 fi
38073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38074       ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38079
38080
38081 fi
38082
38083   fi
38084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38085 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38086   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38087     for ac_func in strtof
38088 do :
38089   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38090 if test "x$ac_cv_func_strtof" = x""yes; then :
38091   cat >>confdefs.h <<_ACEOF
38092 #define HAVE_STRTOF 1
38093 _ACEOF
38094
38095 fi
38096 done
38097
38098   fi
38099
38100
38101
38102
38103   CXXFLAGS="$ac_save_CXXFLAGS"
38104
38105     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38106
38107     # We don't yet support AIX's TLS ABI.
38108     #GCC_CHECK_TLS
38109
38110
38111
38112
38113
38114           am_save_CPPFLAGS="$CPPFLAGS"
38115
38116   for element in $INCICONV; do
38117     haveit=
38118     for x in $CPPFLAGS; do
38119
38120   acl_save_prefix="$prefix"
38121   prefix="$acl_final_prefix"
38122   acl_save_exec_prefix="$exec_prefix"
38123   exec_prefix="$acl_final_exec_prefix"
38124   eval x=\"$x\"
38125   exec_prefix="$acl_save_exec_prefix"
38126   prefix="$acl_save_prefix"
38127
38128       if test "X$x" = "X$element"; then
38129         haveit=yes
38130         break
38131       fi
38132     done
38133     if test -z "$haveit"; then
38134       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38135     fi
38136   done
38137
38138
38139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38140 $as_echo_n "checking for iconv... " >&6; }
38141 if test "${am_cv_func_iconv+set}" = set; then :
38142   $as_echo_n "(cached) " >&6
38143 else
38144
38145     am_cv_func_iconv="no, consider installing GNU libiconv"
38146     am_cv_lib_iconv=no
38147     if test x$gcc_no_link = xyes; then
38148   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38149 fi
38150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38151 /* end confdefs.h.  */
38152 #include <stdlib.h>
38153 #include <iconv.h>
38154 int
38155 main ()
38156 {
38157 iconv_t cd = iconv_open("","");
38158        iconv(cd,NULL,NULL,NULL,NULL);
38159        iconv_close(cd);
38160   ;
38161   return 0;
38162 }
38163 _ACEOF
38164 if ac_fn_c_try_link "$LINENO"; then :
38165   am_cv_func_iconv=yes
38166 fi
38167 rm -f core conftest.err conftest.$ac_objext \
38168     conftest$ac_exeext conftest.$ac_ext
38169     if test "$am_cv_func_iconv" != yes; then
38170       am_save_LIBS="$LIBS"
38171       LIBS="$LIBS $LIBICONV"
38172       if test x$gcc_no_link = xyes; then
38173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38174 fi
38175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38176 /* end confdefs.h.  */
38177 #include <stdlib.h>
38178 #include <iconv.h>
38179 int
38180 main ()
38181 {
38182 iconv_t cd = iconv_open("","");
38183          iconv(cd,NULL,NULL,NULL,NULL);
38184          iconv_close(cd);
38185   ;
38186   return 0;
38187 }
38188 _ACEOF
38189 if ac_fn_c_try_link "$LINENO"; then :
38190   am_cv_lib_iconv=yes
38191         am_cv_func_iconv=yes
38192 fi
38193 rm -f core conftest.err conftest.$ac_objext \
38194     conftest$ac_exeext conftest.$ac_ext
38195       LIBS="$am_save_LIBS"
38196     fi
38197
38198 fi
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38200 $as_echo "$am_cv_func_iconv" >&6; }
38201   if test "$am_cv_func_iconv" = yes; then
38202
38203 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38204
38205   fi
38206   if test "$am_cv_lib_iconv" = yes; then
38207     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38208 $as_echo_n "checking how to link with libiconv... " >&6; }
38209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38210 $as_echo "$LIBICONV" >&6; }
38211   else
38212             CPPFLAGS="$am_save_CPPFLAGS"
38213     LIBICONV=
38214     LTLIBICONV=
38215   fi
38216
38217
38218
38219   if test "$am_cv_func_iconv" = yes; then
38220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38221 $as_echo_n "checking for iconv declaration... " >&6; }
38222     if test "${am_cv_proto_iconv+set}" = set; then :
38223   $as_echo_n "(cached) " >&6
38224 else
38225
38226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h.  */
38228
38229 #include <stdlib.h>
38230 #include <iconv.h>
38231 extern
38232 #ifdef __cplusplus
38233 "C"
38234 #endif
38235 #if defined(__STDC__) || defined(__cplusplus)
38236 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38237 #else
38238 size_t iconv();
38239 #endif
38240
38241 int
38242 main ()
38243 {
38244
38245   ;
38246   return 0;
38247 }
38248 _ACEOF
38249 if ac_fn_c_try_compile "$LINENO"; then :
38250   am_cv_proto_iconv_arg1=""
38251 else
38252   am_cv_proto_iconv_arg1="const"
38253 fi
38254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38255       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);"
38256 fi
38257
38258     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38260          }$am_cv_proto_iconv" >&5
38261 $as_echo "${ac_t:-
38262          }$am_cv_proto_iconv" >&6; }
38263
38264 cat >>confdefs.h <<_ACEOF
38265 #define ICONV_CONST $am_cv_proto_iconv_arg1
38266 _ACEOF
38267
38268   fi
38269
38270     ;;
38271
38272   *-darwin*)
38273     # Darwin versions vary, but the linker should work in a cross environment,
38274     # so we just check for all the features here.
38275     # Check for available headers.
38276
38277     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38278
38279   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38280   ac_save_CXXFLAGS="$CXXFLAGS"
38281   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38282
38283     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38284 $as_echo_n "checking for sin in -lm... " >&6; }
38285 if test "${ac_cv_lib_m_sin+set}" = set; then :
38286   $as_echo_n "(cached) " >&6
38287 else
38288   ac_check_lib_save_LIBS=$LIBS
38289 LIBS="-lm  $LIBS"
38290 if test x$gcc_no_link = xyes; then
38291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38292 fi
38293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38294 /* end confdefs.h.  */
38295
38296 /* Override any GCC internal prototype to avoid an error.
38297    Use char because int might match the return type of a GCC
38298    builtin and then its argument prototype would still apply.  */
38299 #ifdef __cplusplus
38300 extern "C"
38301 #endif
38302 char sin ();
38303 int
38304 main ()
38305 {
38306 return sin ();
38307   ;
38308   return 0;
38309 }
38310 _ACEOF
38311 if ac_fn_c_try_link "$LINENO"; then :
38312   ac_cv_lib_m_sin=yes
38313 else
38314   ac_cv_lib_m_sin=no
38315 fi
38316 rm -f core conftest.err conftest.$ac_objext \
38317     conftest$ac_exeext conftest.$ac_ext
38318 LIBS=$ac_check_lib_save_LIBS
38319 fi
38320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38321 $as_echo "$ac_cv_lib_m_sin" >&6; }
38322 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38323   libm="-lm"
38324 fi
38325
38326   ac_save_LIBS="$LIBS"
38327   LIBS="$LIBS $libm"
38328
38329
38330
38331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38332 $as_echo_n "checking for isinf declaration... " >&6; }
38333   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38334     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38335   $as_echo_n "(cached) " >&6
38336 else
38337
38338
38339       ac_ext=cpp
38340 ac_cpp='$CXXCPP $CPPFLAGS'
38341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38344
38345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38346 /* end confdefs.h.  */
38347 #include <math.h>
38348                       #ifdef HAVE_IEEEFP_H
38349                       #include <ieeefp.h>
38350                       #endif
38351
38352 int
38353 main ()
38354 {
38355  isinf(0);
38356   ;
38357   return 0;
38358 }
38359 _ACEOF
38360 if ac_fn_cxx_try_compile "$LINENO"; then :
38361   glibcxx_cv_func_isinf_use=yes
38362 else
38363   glibcxx_cv_func_isinf_use=no
38364 fi
38365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38366       ac_ext=c
38367 ac_cpp='$CPP $CPPFLAGS'
38368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38371
38372
38373 fi
38374
38375   fi
38376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38377 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38378
38379   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38380     for ac_func in isinf
38381 do :
38382   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38383 if test "x$ac_cv_func_isinf" = x""yes; then :
38384   cat >>confdefs.h <<_ACEOF
38385 #define HAVE_ISINF 1
38386 _ACEOF
38387
38388 fi
38389 done
38390
38391   else
38392
38393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38394 $as_echo_n "checking for _isinf declaration... " >&6; }
38395   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38396     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38397   $as_echo_n "(cached) " >&6
38398 else
38399
38400
38401       ac_ext=cpp
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38406
38407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38408 /* end confdefs.h.  */
38409 #include <math.h>
38410                       #ifdef HAVE_IEEEFP_H
38411                       #include <ieeefp.h>
38412                       #endif
38413
38414 int
38415 main ()
38416 {
38417  _isinf(0);
38418   ;
38419   return 0;
38420 }
38421 _ACEOF
38422 if ac_fn_cxx_try_compile "$LINENO"; then :
38423   glibcxx_cv_func__isinf_use=yes
38424 else
38425   glibcxx_cv_func__isinf_use=no
38426 fi
38427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38428       ac_ext=c
38429 ac_cpp='$CPP $CPPFLAGS'
38430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38433
38434
38435 fi
38436
38437   fi
38438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38439 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38440
38441     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38442       for ac_func in _isinf
38443 do :
38444   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38445 if test "x$ac_cv_func__isinf" = x""yes; then :
38446   cat >>confdefs.h <<_ACEOF
38447 #define HAVE__ISINF 1
38448 _ACEOF
38449
38450 fi
38451 done
38452
38453     fi
38454   fi
38455
38456
38457
38458
38459
38460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38461 $as_echo_n "checking for isnan declaration... " >&6; }
38462   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38463     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38464   $as_echo_n "(cached) " >&6
38465 else
38466
38467
38468       ac_ext=cpp
38469 ac_cpp='$CXXCPP $CPPFLAGS'
38470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38473
38474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38475 /* end confdefs.h.  */
38476 #include <math.h>
38477                       #ifdef HAVE_IEEEFP_H
38478                       #include <ieeefp.h>
38479                       #endif
38480
38481 int
38482 main ()
38483 {
38484  isnan(0);
38485   ;
38486   return 0;
38487 }
38488 _ACEOF
38489 if ac_fn_cxx_try_compile "$LINENO"; then :
38490   glibcxx_cv_func_isnan_use=yes
38491 else
38492   glibcxx_cv_func_isnan_use=no
38493 fi
38494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38495       ac_ext=c
38496 ac_cpp='$CPP $CPPFLAGS'
38497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500
38501
38502 fi
38503
38504   fi
38505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38506 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38507
38508   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38509     for ac_func in isnan
38510 do :
38511   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38512 if test "x$ac_cv_func_isnan" = x""yes; then :
38513   cat >>confdefs.h <<_ACEOF
38514 #define HAVE_ISNAN 1
38515 _ACEOF
38516
38517 fi
38518 done
38519
38520   else
38521
38522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38523 $as_echo_n "checking for _isnan declaration... " >&6; }
38524   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38525     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38526   $as_echo_n "(cached) " >&6
38527 else
38528
38529
38530       ac_ext=cpp
38531 ac_cpp='$CXXCPP $CPPFLAGS'
38532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38535
38536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38537 /* end confdefs.h.  */
38538 #include <math.h>
38539                       #ifdef HAVE_IEEEFP_H
38540                       #include <ieeefp.h>
38541                       #endif
38542
38543 int
38544 main ()
38545 {
38546  _isnan(0);
38547   ;
38548   return 0;
38549 }
38550 _ACEOF
38551 if ac_fn_cxx_try_compile "$LINENO"; then :
38552   glibcxx_cv_func__isnan_use=yes
38553 else
38554   glibcxx_cv_func__isnan_use=no
38555 fi
38556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38557       ac_ext=c
38558 ac_cpp='$CPP $CPPFLAGS'
38559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38562
38563
38564 fi
38565
38566   fi
38567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38568 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38569
38570     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38571       for ac_func in _isnan
38572 do :
38573   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38574 if test "x$ac_cv_func__isnan" = x""yes; then :
38575   cat >>confdefs.h <<_ACEOF
38576 #define HAVE__ISNAN 1
38577 _ACEOF
38578
38579 fi
38580 done
38581
38582     fi
38583   fi
38584
38585
38586
38587
38588
38589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38590 $as_echo_n "checking for finite declaration... " >&6; }
38591   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38592     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38593   $as_echo_n "(cached) " >&6
38594 else
38595
38596
38597       ac_ext=cpp
38598 ac_cpp='$CXXCPP $CPPFLAGS'
38599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38602
38603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38604 /* end confdefs.h.  */
38605 #include <math.h>
38606                       #ifdef HAVE_IEEEFP_H
38607                       #include <ieeefp.h>
38608                       #endif
38609
38610 int
38611 main ()
38612 {
38613  finite(0);
38614   ;
38615   return 0;
38616 }
38617 _ACEOF
38618 if ac_fn_cxx_try_compile "$LINENO"; then :
38619   glibcxx_cv_func_finite_use=yes
38620 else
38621   glibcxx_cv_func_finite_use=no
38622 fi
38623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38624       ac_ext=c
38625 ac_cpp='$CPP $CPPFLAGS'
38626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38629
38630
38631 fi
38632
38633   fi
38634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38635 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38636
38637   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38638     for ac_func in finite
38639 do :
38640   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38641 if test "x$ac_cv_func_finite" = x""yes; then :
38642   cat >>confdefs.h <<_ACEOF
38643 #define HAVE_FINITE 1
38644 _ACEOF
38645
38646 fi
38647 done
38648
38649   else
38650
38651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38652 $as_echo_n "checking for _finite declaration... " >&6; }
38653   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38654     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38655   $as_echo_n "(cached) " >&6
38656 else
38657
38658
38659       ac_ext=cpp
38660 ac_cpp='$CXXCPP $CPPFLAGS'
38661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38664
38665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38666 /* end confdefs.h.  */
38667 #include <math.h>
38668                       #ifdef HAVE_IEEEFP_H
38669                       #include <ieeefp.h>
38670                       #endif
38671
38672 int
38673 main ()
38674 {
38675  _finite(0);
38676   ;
38677   return 0;
38678 }
38679 _ACEOF
38680 if ac_fn_cxx_try_compile "$LINENO"; then :
38681   glibcxx_cv_func__finite_use=yes
38682 else
38683   glibcxx_cv_func__finite_use=no
38684 fi
38685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38686       ac_ext=c
38687 ac_cpp='$CPP $CPPFLAGS'
38688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38691
38692
38693 fi
38694
38695   fi
38696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38697 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38698
38699     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38700       for ac_func in _finite
38701 do :
38702   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38703 if test "x$ac_cv_func__finite" = x""yes; then :
38704   cat >>confdefs.h <<_ACEOF
38705 #define HAVE__FINITE 1
38706 _ACEOF
38707
38708 fi
38709 done
38710
38711     fi
38712   fi
38713
38714
38715
38716
38717
38718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38719 $as_echo_n "checking for sincos declaration... " >&6; }
38720   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38721     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38722   $as_echo_n "(cached) " >&6
38723 else
38724
38725
38726       ac_ext=cpp
38727 ac_cpp='$CXXCPP $CPPFLAGS'
38728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38731
38732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38733 /* end confdefs.h.  */
38734 #include <math.h>
38735 int
38736 main ()
38737 {
38738  sincos(0, 0, 0);
38739   ;
38740   return 0;
38741 }
38742 _ACEOF
38743 if ac_fn_cxx_try_compile "$LINENO"; then :
38744   glibcxx_cv_func_sincos_use=yes
38745 else
38746   glibcxx_cv_func_sincos_use=no
38747 fi
38748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38749       ac_ext=c
38750 ac_cpp='$CPP $CPPFLAGS'
38751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38754
38755
38756 fi
38757
38758   fi
38759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38760 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38761
38762   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38763     for ac_func in sincos
38764 do :
38765   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38766 if test "x$ac_cv_func_sincos" = x""yes; then :
38767   cat >>confdefs.h <<_ACEOF
38768 #define HAVE_SINCOS 1
38769 _ACEOF
38770
38771 fi
38772 done
38773
38774   else
38775
38776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38777 $as_echo_n "checking for _sincos declaration... " >&6; }
38778   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38779     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38780   $as_echo_n "(cached) " >&6
38781 else
38782
38783
38784       ac_ext=cpp
38785 ac_cpp='$CXXCPP $CPPFLAGS'
38786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38789
38790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38791 /* end confdefs.h.  */
38792 #include <math.h>
38793 int
38794 main ()
38795 {
38796  _sincos(0, 0, 0);
38797   ;
38798   return 0;
38799 }
38800 _ACEOF
38801 if ac_fn_cxx_try_compile "$LINENO"; then :
38802   glibcxx_cv_func__sincos_use=yes
38803 else
38804   glibcxx_cv_func__sincos_use=no
38805 fi
38806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38807       ac_ext=c
38808 ac_cpp='$CPP $CPPFLAGS'
38809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38812
38813
38814 fi
38815
38816   fi
38817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38818 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38819
38820     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38821       for ac_func in _sincos
38822 do :
38823   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38824 if test "x$ac_cv_func__sincos" = x""yes; then :
38825   cat >>confdefs.h <<_ACEOF
38826 #define HAVE__SINCOS 1
38827 _ACEOF
38828
38829 fi
38830 done
38831
38832     fi
38833   fi
38834
38835
38836
38837
38838
38839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38840 $as_echo_n "checking for fpclass declaration... " >&6; }
38841   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38842     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38843   $as_echo_n "(cached) " >&6
38844 else
38845
38846
38847       ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38852
38853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h.  */
38855 #include <math.h>
38856                       #ifdef HAVE_IEEEFP_H
38857                       #include <ieeefp.h>
38858                       #endif
38859
38860 int
38861 main ()
38862 {
38863  fpclass(0);
38864   ;
38865   return 0;
38866 }
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869   glibcxx_cv_func_fpclass_use=yes
38870 else
38871   glibcxx_cv_func_fpclass_use=no
38872 fi
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874       ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38879
38880
38881 fi
38882
38883   fi
38884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38885 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38886
38887   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38888     for ac_func in fpclass
38889 do :
38890   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38891 if test "x$ac_cv_func_fpclass" = x""yes; then :
38892   cat >>confdefs.h <<_ACEOF
38893 #define HAVE_FPCLASS 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899   else
38900
38901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38902 $as_echo_n "checking for _fpclass declaration... " >&6; }
38903   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38904     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38905   $as_echo_n "(cached) " >&6
38906 else
38907
38908
38909       ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914
38915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h.  */
38917 #include <math.h>
38918                       #ifdef HAVE_IEEEFP_H
38919                       #include <ieeefp.h>
38920                       #endif
38921
38922 int
38923 main ()
38924 {
38925  _fpclass(0);
38926   ;
38927   return 0;
38928 }
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931   glibcxx_cv_func__fpclass_use=yes
38932 else
38933   glibcxx_cv_func__fpclass_use=no
38934 fi
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936       ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941
38942
38943 fi
38944
38945   fi
38946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38947 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38948
38949     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38950       for ac_func in _fpclass
38951 do :
38952   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38953 if test "x$ac_cv_func__fpclass" = x""yes; then :
38954   cat >>confdefs.h <<_ACEOF
38955 #define HAVE__FPCLASS 1
38956 _ACEOF
38957
38958 fi
38959 done
38960
38961     fi
38962   fi
38963
38964
38965
38966
38967
38968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38969 $as_echo_n "checking for qfpclass declaration... " >&6; }
38970   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38971     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38972   $as_echo_n "(cached) " >&6
38973 else
38974
38975
38976       ac_ext=cpp
38977 ac_cpp='$CXXCPP $CPPFLAGS'
38978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38981
38982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38983 /* end confdefs.h.  */
38984 #include <math.h>
38985                       #ifdef HAVE_IEEEFP_H
38986                       #include <ieeefp.h>
38987                       #endif
38988
38989 int
38990 main ()
38991 {
38992  qfpclass(0);
38993   ;
38994   return 0;
38995 }
38996 _ACEOF
38997 if ac_fn_cxx_try_compile "$LINENO"; then :
38998   glibcxx_cv_func_qfpclass_use=yes
38999 else
39000   glibcxx_cv_func_qfpclass_use=no
39001 fi
39002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39003       ac_ext=c
39004 ac_cpp='$CPP $CPPFLAGS'
39005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39008
39009
39010 fi
39011
39012   fi
39013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39014 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39015
39016   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39017     for ac_func in qfpclass
39018 do :
39019   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39020 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39021   cat >>confdefs.h <<_ACEOF
39022 #define HAVE_QFPCLASS 1
39023 _ACEOF
39024
39025 fi
39026 done
39027
39028   else
39029
39030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39031 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39032   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39033     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39034   $as_echo_n "(cached) " >&6
39035 else
39036
39037
39038       ac_ext=cpp
39039 ac_cpp='$CXXCPP $CPPFLAGS'
39040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39043
39044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39045 /* end confdefs.h.  */
39046 #include <math.h>
39047                       #ifdef HAVE_IEEEFP_H
39048                       #include <ieeefp.h>
39049                       #endif
39050
39051 int
39052 main ()
39053 {
39054  _qfpclass(0);
39055   ;
39056   return 0;
39057 }
39058 _ACEOF
39059 if ac_fn_cxx_try_compile "$LINENO"; then :
39060   glibcxx_cv_func__qfpclass_use=yes
39061 else
39062   glibcxx_cv_func__qfpclass_use=no
39063 fi
39064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39065       ac_ext=c
39066 ac_cpp='$CPP $CPPFLAGS'
39067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070
39071
39072 fi
39073
39074   fi
39075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39076 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39077
39078     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39079       for ac_func in _qfpclass
39080 do :
39081   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39082 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39083   cat >>confdefs.h <<_ACEOF
39084 #define HAVE__QFPCLASS 1
39085 _ACEOF
39086
39087 fi
39088 done
39089
39090     fi
39091   fi
39092
39093
39094
39095
39096
39097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39098 $as_echo_n "checking for hypot declaration... " >&6; }
39099   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39100     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39101   $as_echo_n "(cached) " >&6
39102 else
39103
39104
39105       ac_ext=cpp
39106 ac_cpp='$CXXCPP $CPPFLAGS'
39107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39110
39111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39112 /* end confdefs.h.  */
39113 #include <math.h>
39114 int
39115 main ()
39116 {
39117  hypot(0, 0);
39118   ;
39119   return 0;
39120 }
39121 _ACEOF
39122 if ac_fn_cxx_try_compile "$LINENO"; then :
39123   glibcxx_cv_func_hypot_use=yes
39124 else
39125   glibcxx_cv_func_hypot_use=no
39126 fi
39127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39128       ac_ext=c
39129 ac_cpp='$CPP $CPPFLAGS'
39130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39133
39134
39135 fi
39136
39137   fi
39138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39139 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39140
39141   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39142     for ac_func in hypot
39143 do :
39144   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39145 if test "x$ac_cv_func_hypot" = x""yes; then :
39146   cat >>confdefs.h <<_ACEOF
39147 #define HAVE_HYPOT 1
39148 _ACEOF
39149
39150 fi
39151 done
39152
39153   else
39154
39155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39156 $as_echo_n "checking for _hypot declaration... " >&6; }
39157   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39158     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39159   $as_echo_n "(cached) " >&6
39160 else
39161
39162
39163       ac_ext=cpp
39164 ac_cpp='$CXXCPP $CPPFLAGS'
39165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39168
39169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39170 /* end confdefs.h.  */
39171 #include <math.h>
39172 int
39173 main ()
39174 {
39175  _hypot(0, 0);
39176   ;
39177   return 0;
39178 }
39179 _ACEOF
39180 if ac_fn_cxx_try_compile "$LINENO"; then :
39181   glibcxx_cv_func__hypot_use=yes
39182 else
39183   glibcxx_cv_func__hypot_use=no
39184 fi
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186       ac_ext=c
39187 ac_cpp='$CPP $CPPFLAGS'
39188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39191
39192
39193 fi
39194
39195   fi
39196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39197 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39198
39199     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39200       for ac_func in _hypot
39201 do :
39202   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39203 if test "x$ac_cv_func__hypot" = x""yes; then :
39204   cat >>confdefs.h <<_ACEOF
39205 #define HAVE__HYPOT 1
39206 _ACEOF
39207
39208 fi
39209 done
39210
39211     fi
39212   fi
39213
39214
39215
39216
39217
39218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39219 $as_echo_n "checking for float trig functions... " >&6; }
39220   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39221   $as_echo_n "(cached) " >&6
39222 else
39223
39224
39225     ac_ext=cpp
39226 ac_cpp='$CXXCPP $CPPFLAGS'
39227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39230
39231     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39232 /* end confdefs.h.  */
39233 #include <math.h>
39234 int
39235 main ()
39236 {
39237 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39238   ;
39239   return 0;
39240 }
39241 _ACEOF
39242 if ac_fn_cxx_try_compile "$LINENO"; then :
39243   glibcxx_cv_func_float_trig_use=yes
39244 else
39245   glibcxx_cv_func_float_trig_use=no
39246 fi
39247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248     ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253
39254 fi
39255
39256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39257 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39258   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39259     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39260 do :
39261   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39263 eval as_val=\$$as_ac_var
39264    if test "x$as_val" = x""yes; then :
39265   cat >>confdefs.h <<_ACEOF
39266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39267 _ACEOF
39268
39269 fi
39270 done
39271
39272   else
39273     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39274 $as_echo_n "checking for _float trig functions... " >&6; }
39275     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39276   $as_echo_n "(cached) " >&6
39277 else
39278
39279
39280       ac_ext=cpp
39281 ac_cpp='$CXXCPP $CPPFLAGS'
39282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39285
39286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39287 /* end confdefs.h.  */
39288 #include <math.h>
39289 int
39290 main ()
39291 {
39292 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39293   ;
39294   return 0;
39295 }
39296 _ACEOF
39297 if ac_fn_cxx_try_compile "$LINENO"; then :
39298   glibcxx_cv_func__float_trig_use=yes
39299 else
39300   glibcxx_cv_func__float_trig_use=no
39301 fi
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303       ac_ext=c
39304 ac_cpp='$CPP $CPPFLAGS'
39305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308
39309 fi
39310
39311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39312 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39313     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39314       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39315 do :
39316   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39318 eval as_val=\$$as_ac_var
39319    if test "x$as_val" = x""yes; then :
39320   cat >>confdefs.h <<_ACEOF
39321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39322 _ACEOF
39323
39324 fi
39325 done
39326
39327     fi
39328   fi
39329
39330
39331
39332
39333
39334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39335 $as_echo_n "checking for float round functions... " >&6; }
39336   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39337   $as_echo_n "(cached) " >&6
39338 else
39339
39340
39341     ac_ext=cpp
39342 ac_cpp='$CXXCPP $CPPFLAGS'
39343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39346
39347     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39348 /* end confdefs.h.  */
39349 #include <math.h>
39350 int
39351 main ()
39352 {
39353 ceilf (0); floorf (0);
39354   ;
39355   return 0;
39356 }
39357 _ACEOF
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359   glibcxx_cv_func_float_round_use=yes
39360 else
39361   glibcxx_cv_func_float_round_use=no
39362 fi
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364     ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369
39370 fi
39371
39372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39373 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39374   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39375     for ac_func in ceilf floorf
39376 do :
39377   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39379 eval as_val=\$$as_ac_var
39380    if test "x$as_val" = x""yes; then :
39381   cat >>confdefs.h <<_ACEOF
39382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39383 _ACEOF
39384
39385 fi
39386 done
39387
39388   else
39389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39390 $as_echo_n "checking for _float round functions... " >&6; }
39391     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39392   $as_echo_n "(cached) " >&6
39393 else
39394
39395
39396       ac_ext=cpp
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39401
39402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39403 /* end confdefs.h.  */
39404 #include <math.h>
39405 int
39406 main ()
39407 {
39408 _ceilf (0); _floorf (0);
39409   ;
39410   return 0;
39411 }
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414   glibcxx_cv_func__float_round_use=yes
39415 else
39416   glibcxx_cv_func__float_round_use=no
39417 fi
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419       ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424
39425 fi
39426
39427     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39428 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39429     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39430       for ac_func in _ceilf _floorf
39431 do :
39432   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39434 eval as_val=\$$as_ac_var
39435    if test "x$as_val" = x""yes; then :
39436   cat >>confdefs.h <<_ACEOF
39437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39438 _ACEOF
39439
39440 fi
39441 done
39442
39443     fi
39444   fi
39445
39446
39447
39448
39449
39450
39451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39452 $as_echo_n "checking for expf declaration... " >&6; }
39453   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39454     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39455   $as_echo_n "(cached) " >&6
39456 else
39457
39458
39459       ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464
39465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h.  */
39467 #include <math.h>
39468                       #ifdef HAVE_IEEEFP_H
39469                       #include <ieeefp.h>
39470                       #endif
39471
39472 int
39473 main ()
39474 {
39475  expf(0);
39476   ;
39477   return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481   glibcxx_cv_func_expf_use=yes
39482 else
39483   glibcxx_cv_func_expf_use=no
39484 fi
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486       ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491
39492
39493 fi
39494
39495   fi
39496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39497 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39498
39499   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39500     for ac_func in expf
39501 do :
39502   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39503 if test "x$ac_cv_func_expf" = x""yes; then :
39504   cat >>confdefs.h <<_ACEOF
39505 #define HAVE_EXPF 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511   else
39512
39513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39514 $as_echo_n "checking for _expf declaration... " >&6; }
39515   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39516     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39517   $as_echo_n "(cached) " >&6
39518 else
39519
39520
39521       ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526
39527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h.  */
39529 #include <math.h>
39530                       #ifdef HAVE_IEEEFP_H
39531                       #include <ieeefp.h>
39532                       #endif
39533
39534 int
39535 main ()
39536 {
39537  _expf(0);
39538   ;
39539   return 0;
39540 }
39541 _ACEOF
39542 if ac_fn_cxx_try_compile "$LINENO"; then :
39543   glibcxx_cv_func__expf_use=yes
39544 else
39545   glibcxx_cv_func__expf_use=no
39546 fi
39547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39548       ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553
39554
39555 fi
39556
39557   fi
39558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39559 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39560
39561     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39562       for ac_func in _expf
39563 do :
39564   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39565 if test "x$ac_cv_func__expf" = x""yes; then :
39566   cat >>confdefs.h <<_ACEOF
39567 #define HAVE__EXPF 1
39568 _ACEOF
39569
39570 fi
39571 done
39572
39573     fi
39574   fi
39575
39576
39577
39578
39579
39580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39581 $as_echo_n "checking for isnanf declaration... " >&6; }
39582   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39583     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39584   $as_echo_n "(cached) " >&6
39585 else
39586
39587
39588       ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39593
39594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h.  */
39596 #include <math.h>
39597                       #ifdef HAVE_IEEEFP_H
39598                       #include <ieeefp.h>
39599                       #endif
39600
39601 int
39602 main ()
39603 {
39604  isnanf(0);
39605   ;
39606   return 0;
39607 }
39608 _ACEOF
39609 if ac_fn_cxx_try_compile "$LINENO"; then :
39610   glibcxx_cv_func_isnanf_use=yes
39611 else
39612   glibcxx_cv_func_isnanf_use=no
39613 fi
39614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39615       ac_ext=c
39616 ac_cpp='$CPP $CPPFLAGS'
39617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39620
39621
39622 fi
39623
39624   fi
39625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39626 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39627
39628   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39629     for ac_func in isnanf
39630 do :
39631   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39632 if test "x$ac_cv_func_isnanf" = x""yes; then :
39633   cat >>confdefs.h <<_ACEOF
39634 #define HAVE_ISNANF 1
39635 _ACEOF
39636
39637 fi
39638 done
39639
39640   else
39641
39642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39643 $as_echo_n "checking for _isnanf declaration... " >&6; }
39644   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39645     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39646   $as_echo_n "(cached) " >&6
39647 else
39648
39649
39650       ac_ext=cpp
39651 ac_cpp='$CXXCPP $CPPFLAGS'
39652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39655
39656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39657 /* end confdefs.h.  */
39658 #include <math.h>
39659                       #ifdef HAVE_IEEEFP_H
39660                       #include <ieeefp.h>
39661                       #endif
39662
39663 int
39664 main ()
39665 {
39666  _isnanf(0);
39667   ;
39668   return 0;
39669 }
39670 _ACEOF
39671 if ac_fn_cxx_try_compile "$LINENO"; then :
39672   glibcxx_cv_func__isnanf_use=yes
39673 else
39674   glibcxx_cv_func__isnanf_use=no
39675 fi
39676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39677       ac_ext=c
39678 ac_cpp='$CPP $CPPFLAGS'
39679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39682
39683
39684 fi
39685
39686   fi
39687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39688 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39689
39690     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39691       for ac_func in _isnanf
39692 do :
39693   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39694 if test "x$ac_cv_func__isnanf" = x""yes; then :
39695   cat >>confdefs.h <<_ACEOF
39696 #define HAVE__ISNANF 1
39697 _ACEOF
39698
39699 fi
39700 done
39701
39702     fi
39703   fi
39704
39705
39706
39707
39708
39709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39710 $as_echo_n "checking for isinff declaration... " >&6; }
39711   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39712     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39713   $as_echo_n "(cached) " >&6
39714 else
39715
39716
39717       ac_ext=cpp
39718 ac_cpp='$CXXCPP $CPPFLAGS'
39719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39722
39723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39724 /* end confdefs.h.  */
39725 #include <math.h>
39726                       #ifdef HAVE_IEEEFP_H
39727                       #include <ieeefp.h>
39728                       #endif
39729
39730 int
39731 main ()
39732 {
39733  isinff(0);
39734   ;
39735   return 0;
39736 }
39737 _ACEOF
39738 if ac_fn_cxx_try_compile "$LINENO"; then :
39739   glibcxx_cv_func_isinff_use=yes
39740 else
39741   glibcxx_cv_func_isinff_use=no
39742 fi
39743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39744       ac_ext=c
39745 ac_cpp='$CPP $CPPFLAGS'
39746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39749
39750
39751 fi
39752
39753   fi
39754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39755 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39756
39757   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39758     for ac_func in isinff
39759 do :
39760   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39761 if test "x$ac_cv_func_isinff" = x""yes; then :
39762   cat >>confdefs.h <<_ACEOF
39763 #define HAVE_ISINFF 1
39764 _ACEOF
39765
39766 fi
39767 done
39768
39769   else
39770
39771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39772 $as_echo_n "checking for _isinff declaration... " >&6; }
39773   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39774     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39775   $as_echo_n "(cached) " >&6
39776 else
39777
39778
39779       ac_ext=cpp
39780 ac_cpp='$CXXCPP $CPPFLAGS'
39781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784
39785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39786 /* end confdefs.h.  */
39787 #include <math.h>
39788                       #ifdef HAVE_IEEEFP_H
39789                       #include <ieeefp.h>
39790                       #endif
39791
39792 int
39793 main ()
39794 {
39795  _isinff(0);
39796   ;
39797   return 0;
39798 }
39799 _ACEOF
39800 if ac_fn_cxx_try_compile "$LINENO"; then :
39801   glibcxx_cv_func__isinff_use=yes
39802 else
39803   glibcxx_cv_func__isinff_use=no
39804 fi
39805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39806       ac_ext=c
39807 ac_cpp='$CPP $CPPFLAGS'
39808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39811
39812
39813 fi
39814
39815   fi
39816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39817 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39818
39819     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39820       for ac_func in _isinff
39821 do :
39822   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39823 if test "x$ac_cv_func__isinff" = x""yes; then :
39824   cat >>confdefs.h <<_ACEOF
39825 #define HAVE__ISINFF 1
39826 _ACEOF
39827
39828 fi
39829 done
39830
39831     fi
39832   fi
39833
39834
39835
39836
39837
39838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39839 $as_echo_n "checking for atan2f declaration... " >&6; }
39840   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39841     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39842   $as_echo_n "(cached) " >&6
39843 else
39844
39845
39846       ac_ext=cpp
39847 ac_cpp='$CXXCPP $CPPFLAGS'
39848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39851
39852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39853 /* end confdefs.h.  */
39854 #include <math.h>
39855 int
39856 main ()
39857 {
39858  atan2f(0, 0);
39859   ;
39860   return 0;
39861 }
39862 _ACEOF
39863 if ac_fn_cxx_try_compile "$LINENO"; then :
39864   glibcxx_cv_func_atan2f_use=yes
39865 else
39866   glibcxx_cv_func_atan2f_use=no
39867 fi
39868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39869       ac_ext=c
39870 ac_cpp='$CPP $CPPFLAGS'
39871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39874
39875
39876 fi
39877
39878   fi
39879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39880 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39881
39882   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39883     for ac_func in atan2f
39884 do :
39885   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39886 if test "x$ac_cv_func_atan2f" = x""yes; then :
39887   cat >>confdefs.h <<_ACEOF
39888 #define HAVE_ATAN2F 1
39889 _ACEOF
39890
39891 fi
39892 done
39893
39894   else
39895
39896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39897 $as_echo_n "checking for _atan2f declaration... " >&6; }
39898   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39899     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39900   $as_echo_n "(cached) " >&6
39901 else
39902
39903
39904       ac_ext=cpp
39905 ac_cpp='$CXXCPP $CPPFLAGS'
39906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39909
39910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39911 /* end confdefs.h.  */
39912 #include <math.h>
39913 int
39914 main ()
39915 {
39916  _atan2f(0, 0);
39917   ;
39918   return 0;
39919 }
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922   glibcxx_cv_func__atan2f_use=yes
39923 else
39924   glibcxx_cv_func__atan2f_use=no
39925 fi
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927       ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932
39933
39934 fi
39935
39936   fi
39937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39938 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39939
39940     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39941       for ac_func in _atan2f
39942 do :
39943   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39944 if test "x$ac_cv_func__atan2f" = x""yes; then :
39945   cat >>confdefs.h <<_ACEOF
39946 #define HAVE__ATAN2F 1
39947 _ACEOF
39948
39949 fi
39950 done
39951
39952     fi
39953   fi
39954
39955
39956
39957
39958
39959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39960 $as_echo_n "checking for fabsf declaration... " >&6; }
39961   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39962     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39963   $as_echo_n "(cached) " >&6
39964 else
39965
39966
39967       ac_ext=cpp
39968 ac_cpp='$CXXCPP $CPPFLAGS'
39969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39972
39973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39974 /* end confdefs.h.  */
39975 #include <math.h>
39976                       #ifdef HAVE_IEEEFP_H
39977                       #include <ieeefp.h>
39978                       #endif
39979
39980 int
39981 main ()
39982 {
39983  fabsf(0);
39984   ;
39985   return 0;
39986 }
39987 _ACEOF
39988 if ac_fn_cxx_try_compile "$LINENO"; then :
39989   glibcxx_cv_func_fabsf_use=yes
39990 else
39991   glibcxx_cv_func_fabsf_use=no
39992 fi
39993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39994       ac_ext=c
39995 ac_cpp='$CPP $CPPFLAGS'
39996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39999
40000
40001 fi
40002
40003   fi
40004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40005 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40006
40007   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40008     for ac_func in fabsf
40009 do :
40010   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40011 if test "x$ac_cv_func_fabsf" = x""yes; then :
40012   cat >>confdefs.h <<_ACEOF
40013 #define HAVE_FABSF 1
40014 _ACEOF
40015
40016 fi
40017 done
40018
40019   else
40020
40021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40022 $as_echo_n "checking for _fabsf declaration... " >&6; }
40023   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40024     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40025   $as_echo_n "(cached) " >&6
40026 else
40027
40028
40029       ac_ext=cpp
40030 ac_cpp='$CXXCPP $CPPFLAGS'
40031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40034
40035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40036 /* end confdefs.h.  */
40037 #include <math.h>
40038                       #ifdef HAVE_IEEEFP_H
40039                       #include <ieeefp.h>
40040                       #endif
40041
40042 int
40043 main ()
40044 {
40045  _fabsf(0);
40046   ;
40047   return 0;
40048 }
40049 _ACEOF
40050 if ac_fn_cxx_try_compile "$LINENO"; then :
40051   glibcxx_cv_func__fabsf_use=yes
40052 else
40053   glibcxx_cv_func__fabsf_use=no
40054 fi
40055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40056       ac_ext=c
40057 ac_cpp='$CPP $CPPFLAGS'
40058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40061
40062
40063 fi
40064
40065   fi
40066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40067 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40068
40069     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40070       for ac_func in _fabsf
40071 do :
40072   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40073 if test "x$ac_cv_func__fabsf" = x""yes; then :
40074   cat >>confdefs.h <<_ACEOF
40075 #define HAVE__FABSF 1
40076 _ACEOF
40077
40078 fi
40079 done
40080
40081     fi
40082   fi
40083
40084
40085
40086
40087
40088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40089 $as_echo_n "checking for fmodf declaration... " >&6; }
40090   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40091     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40092   $as_echo_n "(cached) " >&6
40093 else
40094
40095
40096       ac_ext=cpp
40097 ac_cpp='$CXXCPP $CPPFLAGS'
40098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40101
40102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40103 /* end confdefs.h.  */
40104 #include <math.h>
40105 int
40106 main ()
40107 {
40108  fmodf(0, 0);
40109   ;
40110   return 0;
40111 }
40112 _ACEOF
40113 if ac_fn_cxx_try_compile "$LINENO"; then :
40114   glibcxx_cv_func_fmodf_use=yes
40115 else
40116   glibcxx_cv_func_fmodf_use=no
40117 fi
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119       ac_ext=c
40120 ac_cpp='$CPP $CPPFLAGS'
40121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124
40125
40126 fi
40127
40128   fi
40129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40130 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40131
40132   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40133     for ac_func in fmodf
40134 do :
40135   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40136 if test "x$ac_cv_func_fmodf" = x""yes; then :
40137   cat >>confdefs.h <<_ACEOF
40138 #define HAVE_FMODF 1
40139 _ACEOF
40140
40141 fi
40142 done
40143
40144   else
40145
40146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40147 $as_echo_n "checking for _fmodf declaration... " >&6; }
40148   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40149     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40150   $as_echo_n "(cached) " >&6
40151 else
40152
40153
40154       ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40159
40160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h.  */
40162 #include <math.h>
40163 int
40164 main ()
40165 {
40166  _fmodf(0, 0);
40167   ;
40168   return 0;
40169 }
40170 _ACEOF
40171 if ac_fn_cxx_try_compile "$LINENO"; then :
40172   glibcxx_cv_func__fmodf_use=yes
40173 else
40174   glibcxx_cv_func__fmodf_use=no
40175 fi
40176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40177       ac_ext=c
40178 ac_cpp='$CPP $CPPFLAGS'
40179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40182
40183
40184 fi
40185
40186   fi
40187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40188 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40189
40190     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40191       for ac_func in _fmodf
40192 do :
40193   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40194 if test "x$ac_cv_func__fmodf" = x""yes; then :
40195   cat >>confdefs.h <<_ACEOF
40196 #define HAVE__FMODF 1
40197 _ACEOF
40198
40199 fi
40200 done
40201
40202     fi
40203   fi
40204
40205
40206
40207
40208
40209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40210 $as_echo_n "checking for frexpf declaration... " >&6; }
40211   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40212     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40213   $as_echo_n "(cached) " >&6
40214 else
40215
40216
40217       ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222
40223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h.  */
40225 #include <math.h>
40226 int
40227 main ()
40228 {
40229  frexpf(0, 0);
40230   ;
40231   return 0;
40232 }
40233 _ACEOF
40234 if ac_fn_cxx_try_compile "$LINENO"; then :
40235   glibcxx_cv_func_frexpf_use=yes
40236 else
40237   glibcxx_cv_func_frexpf_use=no
40238 fi
40239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40240       ac_ext=c
40241 ac_cpp='$CPP $CPPFLAGS'
40242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40245
40246
40247 fi
40248
40249   fi
40250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40251 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40252
40253   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40254     for ac_func in frexpf
40255 do :
40256   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40257 if test "x$ac_cv_func_frexpf" = x""yes; then :
40258   cat >>confdefs.h <<_ACEOF
40259 #define HAVE_FREXPF 1
40260 _ACEOF
40261
40262 fi
40263 done
40264
40265   else
40266
40267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40268 $as_echo_n "checking for _frexpf declaration... " >&6; }
40269   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40270     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40271   $as_echo_n "(cached) " >&6
40272 else
40273
40274
40275       ac_ext=cpp
40276 ac_cpp='$CXXCPP $CPPFLAGS'
40277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40280
40281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40282 /* end confdefs.h.  */
40283 #include <math.h>
40284 int
40285 main ()
40286 {
40287  _frexpf(0, 0);
40288   ;
40289   return 0;
40290 }
40291 _ACEOF
40292 if ac_fn_cxx_try_compile "$LINENO"; then :
40293   glibcxx_cv_func__frexpf_use=yes
40294 else
40295   glibcxx_cv_func__frexpf_use=no
40296 fi
40297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40298       ac_ext=c
40299 ac_cpp='$CPP $CPPFLAGS'
40300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40303
40304
40305 fi
40306
40307   fi
40308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40309 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40310
40311     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40312       for ac_func in _frexpf
40313 do :
40314   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40315 if test "x$ac_cv_func__frexpf" = x""yes; then :
40316   cat >>confdefs.h <<_ACEOF
40317 #define HAVE__FREXPF 1
40318 _ACEOF
40319
40320 fi
40321 done
40322
40323     fi
40324   fi
40325
40326
40327
40328
40329
40330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40331 $as_echo_n "checking for hypotf declaration... " >&6; }
40332   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40333     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40334   $as_echo_n "(cached) " >&6
40335 else
40336
40337
40338       ac_ext=cpp
40339 ac_cpp='$CXXCPP $CPPFLAGS'
40340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40343
40344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40345 /* end confdefs.h.  */
40346 #include <math.h>
40347 int
40348 main ()
40349 {
40350  hypotf(0, 0);
40351   ;
40352   return 0;
40353 }
40354 _ACEOF
40355 if ac_fn_cxx_try_compile "$LINENO"; then :
40356   glibcxx_cv_func_hypotf_use=yes
40357 else
40358   glibcxx_cv_func_hypotf_use=no
40359 fi
40360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40361       ac_ext=c
40362 ac_cpp='$CPP $CPPFLAGS'
40363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40366
40367
40368 fi
40369
40370   fi
40371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40372 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40373
40374   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40375     for ac_func in hypotf
40376 do :
40377   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40378 if test "x$ac_cv_func_hypotf" = x""yes; then :
40379   cat >>confdefs.h <<_ACEOF
40380 #define HAVE_HYPOTF 1
40381 _ACEOF
40382
40383 fi
40384 done
40385
40386   else
40387
40388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40389 $as_echo_n "checking for _hypotf declaration... " >&6; }
40390   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40391     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40392   $as_echo_n "(cached) " >&6
40393 else
40394
40395
40396       ac_ext=cpp
40397 ac_cpp='$CXXCPP $CPPFLAGS'
40398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40401
40402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40403 /* end confdefs.h.  */
40404 #include <math.h>
40405 int
40406 main ()
40407 {
40408  _hypotf(0, 0);
40409   ;
40410   return 0;
40411 }
40412 _ACEOF
40413 if ac_fn_cxx_try_compile "$LINENO"; then :
40414   glibcxx_cv_func__hypotf_use=yes
40415 else
40416   glibcxx_cv_func__hypotf_use=no
40417 fi
40418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40419       ac_ext=c
40420 ac_cpp='$CPP $CPPFLAGS'
40421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40424
40425
40426 fi
40427
40428   fi
40429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40430 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40431
40432     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40433       for ac_func in _hypotf
40434 do :
40435   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40436 if test "x$ac_cv_func__hypotf" = x""yes; then :
40437   cat >>confdefs.h <<_ACEOF
40438 #define HAVE__HYPOTF 1
40439 _ACEOF
40440
40441 fi
40442 done
40443
40444     fi
40445   fi
40446
40447
40448
40449
40450
40451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40452 $as_echo_n "checking for ldexpf declaration... " >&6; }
40453   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40454     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40455   $as_echo_n "(cached) " >&6
40456 else
40457
40458
40459       ac_ext=cpp
40460 ac_cpp='$CXXCPP $CPPFLAGS'
40461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40464
40465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40466 /* end confdefs.h.  */
40467 #include <math.h>
40468 int
40469 main ()
40470 {
40471  ldexpf(0, 0);
40472   ;
40473   return 0;
40474 }
40475 _ACEOF
40476 if ac_fn_cxx_try_compile "$LINENO"; then :
40477   glibcxx_cv_func_ldexpf_use=yes
40478 else
40479   glibcxx_cv_func_ldexpf_use=no
40480 fi
40481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40482       ac_ext=c
40483 ac_cpp='$CPP $CPPFLAGS'
40484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40487
40488
40489 fi
40490
40491   fi
40492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40493 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40494
40495   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40496     for ac_func in ldexpf
40497 do :
40498   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40499 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40500   cat >>confdefs.h <<_ACEOF
40501 #define HAVE_LDEXPF 1
40502 _ACEOF
40503
40504 fi
40505 done
40506
40507   else
40508
40509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40510 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40511   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40512     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40513   $as_echo_n "(cached) " >&6
40514 else
40515
40516
40517       ac_ext=cpp
40518 ac_cpp='$CXXCPP $CPPFLAGS'
40519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40522
40523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40524 /* end confdefs.h.  */
40525 #include <math.h>
40526 int
40527 main ()
40528 {
40529  _ldexpf(0, 0);
40530   ;
40531   return 0;
40532 }
40533 _ACEOF
40534 if ac_fn_cxx_try_compile "$LINENO"; then :
40535   glibcxx_cv_func__ldexpf_use=yes
40536 else
40537   glibcxx_cv_func__ldexpf_use=no
40538 fi
40539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40540       ac_ext=c
40541 ac_cpp='$CPP $CPPFLAGS'
40542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40545
40546
40547 fi
40548
40549   fi
40550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40551 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40552
40553     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40554       for ac_func in _ldexpf
40555 do :
40556   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40557 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40558   cat >>confdefs.h <<_ACEOF
40559 #define HAVE__LDEXPF 1
40560 _ACEOF
40561
40562 fi
40563 done
40564
40565     fi
40566   fi
40567
40568
40569
40570
40571
40572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40573 $as_echo_n "checking for logf declaration... " >&6; }
40574   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40575     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40576   $as_echo_n "(cached) " >&6
40577 else
40578
40579
40580       ac_ext=cpp
40581 ac_cpp='$CXXCPP $CPPFLAGS'
40582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40585
40586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40587 /* end confdefs.h.  */
40588 #include <math.h>
40589                       #ifdef HAVE_IEEEFP_H
40590                       #include <ieeefp.h>
40591                       #endif
40592
40593 int
40594 main ()
40595 {
40596  logf(0);
40597   ;
40598   return 0;
40599 }
40600 _ACEOF
40601 if ac_fn_cxx_try_compile "$LINENO"; then :
40602   glibcxx_cv_func_logf_use=yes
40603 else
40604   glibcxx_cv_func_logf_use=no
40605 fi
40606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40607       ac_ext=c
40608 ac_cpp='$CPP $CPPFLAGS'
40609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40612
40613
40614 fi
40615
40616   fi
40617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40618 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40619
40620   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40621     for ac_func in logf
40622 do :
40623   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40624 if test "x$ac_cv_func_logf" = x""yes; then :
40625   cat >>confdefs.h <<_ACEOF
40626 #define HAVE_LOGF 1
40627 _ACEOF
40628
40629 fi
40630 done
40631
40632   else
40633
40634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40635 $as_echo_n "checking for _logf declaration... " >&6; }
40636   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40637     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40638   $as_echo_n "(cached) " >&6
40639 else
40640
40641
40642       ac_ext=cpp
40643 ac_cpp='$CXXCPP $CPPFLAGS'
40644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40647
40648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40649 /* end confdefs.h.  */
40650 #include <math.h>
40651                       #ifdef HAVE_IEEEFP_H
40652                       #include <ieeefp.h>
40653                       #endif
40654
40655 int
40656 main ()
40657 {
40658  _logf(0);
40659   ;
40660   return 0;
40661 }
40662 _ACEOF
40663 if ac_fn_cxx_try_compile "$LINENO"; then :
40664   glibcxx_cv_func__logf_use=yes
40665 else
40666   glibcxx_cv_func__logf_use=no
40667 fi
40668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40669       ac_ext=c
40670 ac_cpp='$CPP $CPPFLAGS'
40671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674
40675
40676 fi
40677
40678   fi
40679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40680 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40681
40682     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40683       for ac_func in _logf
40684 do :
40685   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40686 if test "x$ac_cv_func__logf" = x""yes; then :
40687   cat >>confdefs.h <<_ACEOF
40688 #define HAVE__LOGF 1
40689 _ACEOF
40690
40691 fi
40692 done
40693
40694     fi
40695   fi
40696
40697
40698
40699
40700
40701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40702 $as_echo_n "checking for log10f declaration... " >&6; }
40703   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40704     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40705   $as_echo_n "(cached) " >&6
40706 else
40707
40708
40709       ac_ext=cpp
40710 ac_cpp='$CXXCPP $CPPFLAGS'
40711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40714
40715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40716 /* end confdefs.h.  */
40717 #include <math.h>
40718                       #ifdef HAVE_IEEEFP_H
40719                       #include <ieeefp.h>
40720                       #endif
40721
40722 int
40723 main ()
40724 {
40725  log10f(0);
40726   ;
40727   return 0;
40728 }
40729 _ACEOF
40730 if ac_fn_cxx_try_compile "$LINENO"; then :
40731   glibcxx_cv_func_log10f_use=yes
40732 else
40733   glibcxx_cv_func_log10f_use=no
40734 fi
40735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40736       ac_ext=c
40737 ac_cpp='$CPP $CPPFLAGS'
40738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40741
40742
40743 fi
40744
40745   fi
40746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40747 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40748
40749   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40750     for ac_func in log10f
40751 do :
40752   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40753 if test "x$ac_cv_func_log10f" = x""yes; then :
40754   cat >>confdefs.h <<_ACEOF
40755 #define HAVE_LOG10F 1
40756 _ACEOF
40757
40758 fi
40759 done
40760
40761   else
40762
40763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40764 $as_echo_n "checking for _log10f declaration... " >&6; }
40765   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40766     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40767   $as_echo_n "(cached) " >&6
40768 else
40769
40770
40771       ac_ext=cpp
40772 ac_cpp='$CXXCPP $CPPFLAGS'
40773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40776
40777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40778 /* end confdefs.h.  */
40779 #include <math.h>
40780                       #ifdef HAVE_IEEEFP_H
40781                       #include <ieeefp.h>
40782                       #endif
40783
40784 int
40785 main ()
40786 {
40787  _log10f(0);
40788   ;
40789   return 0;
40790 }
40791 _ACEOF
40792 if ac_fn_cxx_try_compile "$LINENO"; then :
40793   glibcxx_cv_func__log10f_use=yes
40794 else
40795   glibcxx_cv_func__log10f_use=no
40796 fi
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798       ac_ext=c
40799 ac_cpp='$CPP $CPPFLAGS'
40800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40803
40804
40805 fi
40806
40807   fi
40808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40809 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40810
40811     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40812       for ac_func in _log10f
40813 do :
40814   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40815 if test "x$ac_cv_func__log10f" = x""yes; then :
40816   cat >>confdefs.h <<_ACEOF
40817 #define HAVE__LOG10F 1
40818 _ACEOF
40819
40820 fi
40821 done
40822
40823     fi
40824   fi
40825
40826
40827
40828
40829
40830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40831 $as_echo_n "checking for modff declaration... " >&6; }
40832   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40833     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40834   $as_echo_n "(cached) " >&6
40835 else
40836
40837
40838       ac_ext=cpp
40839 ac_cpp='$CXXCPP $CPPFLAGS'
40840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40843
40844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40845 /* end confdefs.h.  */
40846 #include <math.h>
40847 int
40848 main ()
40849 {
40850  modff(0, 0);
40851   ;
40852   return 0;
40853 }
40854 _ACEOF
40855 if ac_fn_cxx_try_compile "$LINENO"; then :
40856   glibcxx_cv_func_modff_use=yes
40857 else
40858   glibcxx_cv_func_modff_use=no
40859 fi
40860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40861       ac_ext=c
40862 ac_cpp='$CPP $CPPFLAGS'
40863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40866
40867
40868 fi
40869
40870   fi
40871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40872 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40873
40874   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40875     for ac_func in modff
40876 do :
40877   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40878 if test "x$ac_cv_func_modff" = x""yes; then :
40879   cat >>confdefs.h <<_ACEOF
40880 #define HAVE_MODFF 1
40881 _ACEOF
40882
40883 fi
40884 done
40885
40886   else
40887
40888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40889 $as_echo_n "checking for _modff declaration... " >&6; }
40890   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40891     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40892   $as_echo_n "(cached) " >&6
40893 else
40894
40895
40896       ac_ext=cpp
40897 ac_cpp='$CXXCPP $CPPFLAGS'
40898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40901
40902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40903 /* end confdefs.h.  */
40904 #include <math.h>
40905 int
40906 main ()
40907 {
40908  _modff(0, 0);
40909   ;
40910   return 0;
40911 }
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914   glibcxx_cv_func__modff_use=yes
40915 else
40916   glibcxx_cv_func__modff_use=no
40917 fi
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919       ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924
40925
40926 fi
40927
40928   fi
40929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40930 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40931
40932     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40933       for ac_func in _modff
40934 do :
40935   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40936 if test "x$ac_cv_func__modff" = x""yes; then :
40937   cat >>confdefs.h <<_ACEOF
40938 #define HAVE__MODFF 1
40939 _ACEOF
40940
40941 fi
40942 done
40943
40944     fi
40945   fi
40946
40947
40948
40949
40950
40951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40952 $as_echo_n "checking for modf declaration... " >&6; }
40953   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40954     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40955   $as_echo_n "(cached) " >&6
40956 else
40957
40958
40959       ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40964
40965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h.  */
40967 #include <math.h>
40968 int
40969 main ()
40970 {
40971  modf(0, 0);
40972   ;
40973   return 0;
40974 }
40975 _ACEOF
40976 if ac_fn_cxx_try_compile "$LINENO"; then :
40977   glibcxx_cv_func_modf_use=yes
40978 else
40979   glibcxx_cv_func_modf_use=no
40980 fi
40981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982       ac_ext=c
40983 ac_cpp='$CPP $CPPFLAGS'
40984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987
40988
40989 fi
40990
40991   fi
40992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40993 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40994
40995   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40996     for ac_func in modf
40997 do :
40998   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40999 if test "x$ac_cv_func_modf" = x""yes; then :
41000   cat >>confdefs.h <<_ACEOF
41001 #define HAVE_MODF 1
41002 _ACEOF
41003
41004 fi
41005 done
41006
41007   else
41008
41009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41010 $as_echo_n "checking for _modf declaration... " >&6; }
41011   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41012     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41013   $as_echo_n "(cached) " >&6
41014 else
41015
41016
41017       ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022
41023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h.  */
41025 #include <math.h>
41026 int
41027 main ()
41028 {
41029  _modf(0, 0);
41030   ;
41031   return 0;
41032 }
41033 _ACEOF
41034 if ac_fn_cxx_try_compile "$LINENO"; then :
41035   glibcxx_cv_func__modf_use=yes
41036 else
41037   glibcxx_cv_func__modf_use=no
41038 fi
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040       ac_ext=c
41041 ac_cpp='$CPP $CPPFLAGS'
41042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045
41046
41047 fi
41048
41049   fi
41050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41051 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41052
41053     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41054       for ac_func in _modf
41055 do :
41056   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41057 if test "x$ac_cv_func__modf" = x""yes; then :
41058   cat >>confdefs.h <<_ACEOF
41059 #define HAVE__MODF 1
41060 _ACEOF
41061
41062 fi
41063 done
41064
41065     fi
41066   fi
41067
41068
41069
41070
41071
41072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41073 $as_echo_n "checking for powf declaration... " >&6; }
41074   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41075     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41076   $as_echo_n "(cached) " >&6
41077 else
41078
41079
41080       ac_ext=cpp
41081 ac_cpp='$CXXCPP $CPPFLAGS'
41082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085
41086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41087 /* end confdefs.h.  */
41088 #include <math.h>
41089 int
41090 main ()
41091 {
41092  powf(0, 0);
41093   ;
41094   return 0;
41095 }
41096 _ACEOF
41097 if ac_fn_cxx_try_compile "$LINENO"; then :
41098   glibcxx_cv_func_powf_use=yes
41099 else
41100   glibcxx_cv_func_powf_use=no
41101 fi
41102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41103       ac_ext=c
41104 ac_cpp='$CPP $CPPFLAGS'
41105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41108
41109
41110 fi
41111
41112   fi
41113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41114 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41115
41116   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41117     for ac_func in powf
41118 do :
41119   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41120 if test "x$ac_cv_func_powf" = x""yes; then :
41121   cat >>confdefs.h <<_ACEOF
41122 #define HAVE_POWF 1
41123 _ACEOF
41124
41125 fi
41126 done
41127
41128   else
41129
41130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41131 $as_echo_n "checking for _powf declaration... " >&6; }
41132   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41133     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41134   $as_echo_n "(cached) " >&6
41135 else
41136
41137
41138       ac_ext=cpp
41139 ac_cpp='$CXXCPP $CPPFLAGS'
41140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41143
41144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41145 /* end confdefs.h.  */
41146 #include <math.h>
41147 int
41148 main ()
41149 {
41150  _powf(0, 0);
41151   ;
41152   return 0;
41153 }
41154 _ACEOF
41155 if ac_fn_cxx_try_compile "$LINENO"; then :
41156   glibcxx_cv_func__powf_use=yes
41157 else
41158   glibcxx_cv_func__powf_use=no
41159 fi
41160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41161       ac_ext=c
41162 ac_cpp='$CPP $CPPFLAGS'
41163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41166
41167
41168 fi
41169
41170   fi
41171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41172 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41173
41174     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41175       for ac_func in _powf
41176 do :
41177   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41178 if test "x$ac_cv_func__powf" = x""yes; then :
41179   cat >>confdefs.h <<_ACEOF
41180 #define HAVE__POWF 1
41181 _ACEOF
41182
41183 fi
41184 done
41185
41186     fi
41187   fi
41188
41189
41190
41191
41192
41193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41194 $as_echo_n "checking for sqrtf declaration... " >&6; }
41195   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41196     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41197   $as_echo_n "(cached) " >&6
41198 else
41199
41200
41201       ac_ext=cpp
41202 ac_cpp='$CXXCPP $CPPFLAGS'
41203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41206
41207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41208 /* end confdefs.h.  */
41209 #include <math.h>
41210                       #ifdef HAVE_IEEEFP_H
41211                       #include <ieeefp.h>
41212                       #endif
41213
41214 int
41215 main ()
41216 {
41217  sqrtf(0);
41218   ;
41219   return 0;
41220 }
41221 _ACEOF
41222 if ac_fn_cxx_try_compile "$LINENO"; then :
41223   glibcxx_cv_func_sqrtf_use=yes
41224 else
41225   glibcxx_cv_func_sqrtf_use=no
41226 fi
41227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41228       ac_ext=c
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41233
41234
41235 fi
41236
41237   fi
41238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41239 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41240
41241   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41242     for ac_func in sqrtf
41243 do :
41244   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41245 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41246   cat >>confdefs.h <<_ACEOF
41247 #define HAVE_SQRTF 1
41248 _ACEOF
41249
41250 fi
41251 done
41252
41253   else
41254
41255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41256 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41257   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41258     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41259   $as_echo_n "(cached) " >&6
41260 else
41261
41262
41263       ac_ext=cpp
41264 ac_cpp='$CXXCPP $CPPFLAGS'
41265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41268
41269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41270 /* end confdefs.h.  */
41271 #include <math.h>
41272                       #ifdef HAVE_IEEEFP_H
41273                       #include <ieeefp.h>
41274                       #endif
41275
41276 int
41277 main ()
41278 {
41279  _sqrtf(0);
41280   ;
41281   return 0;
41282 }
41283 _ACEOF
41284 if ac_fn_cxx_try_compile "$LINENO"; then :
41285   glibcxx_cv_func__sqrtf_use=yes
41286 else
41287   glibcxx_cv_func__sqrtf_use=no
41288 fi
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290       ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41295
41296
41297 fi
41298
41299   fi
41300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41301 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41302
41303     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41304       for ac_func in _sqrtf
41305 do :
41306   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41307 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41308   cat >>confdefs.h <<_ACEOF
41309 #define HAVE__SQRTF 1
41310 _ACEOF
41311
41312 fi
41313 done
41314
41315     fi
41316   fi
41317
41318
41319
41320
41321
41322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41323 $as_echo_n "checking for sincosf declaration... " >&6; }
41324   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41325     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41326   $as_echo_n "(cached) " >&6
41327 else
41328
41329
41330       ac_ext=cpp
41331 ac_cpp='$CXXCPP $CPPFLAGS'
41332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41335
41336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41337 /* end confdefs.h.  */
41338 #include <math.h>
41339 int
41340 main ()
41341 {
41342  sincosf(0, 0, 0);
41343   ;
41344   return 0;
41345 }
41346 _ACEOF
41347 if ac_fn_cxx_try_compile "$LINENO"; then :
41348   glibcxx_cv_func_sincosf_use=yes
41349 else
41350   glibcxx_cv_func_sincosf_use=no
41351 fi
41352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41353       ac_ext=c
41354 ac_cpp='$CPP $CPPFLAGS'
41355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41358
41359
41360 fi
41361
41362   fi
41363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41364 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41365
41366   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41367     for ac_func in sincosf
41368 do :
41369   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41370 if test "x$ac_cv_func_sincosf" = x""yes; then :
41371   cat >>confdefs.h <<_ACEOF
41372 #define HAVE_SINCOSF 1
41373 _ACEOF
41374
41375 fi
41376 done
41377
41378   else
41379
41380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41381 $as_echo_n "checking for _sincosf declaration... " >&6; }
41382   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41383     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41384   $as_echo_n "(cached) " >&6
41385 else
41386
41387
41388       ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41393
41394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h.  */
41396 #include <math.h>
41397 int
41398 main ()
41399 {
41400  _sincosf(0, 0, 0);
41401   ;
41402   return 0;
41403 }
41404 _ACEOF
41405 if ac_fn_cxx_try_compile "$LINENO"; then :
41406   glibcxx_cv_func__sincosf_use=yes
41407 else
41408   glibcxx_cv_func__sincosf_use=no
41409 fi
41410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41411       ac_ext=c
41412 ac_cpp='$CPP $CPPFLAGS'
41413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416
41417
41418 fi
41419
41420   fi
41421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41422 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41423
41424     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41425       for ac_func in _sincosf
41426 do :
41427   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41428 if test "x$ac_cv_func__sincosf" = x""yes; then :
41429   cat >>confdefs.h <<_ACEOF
41430 #define HAVE__SINCOSF 1
41431 _ACEOF
41432
41433 fi
41434 done
41435
41436     fi
41437   fi
41438
41439
41440
41441
41442
41443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41444 $as_echo_n "checking for finitef declaration... " >&6; }
41445   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41446     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41447   $as_echo_n "(cached) " >&6
41448 else
41449
41450
41451       ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456
41457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41458 /* end confdefs.h.  */
41459 #include <math.h>
41460                       #ifdef HAVE_IEEEFP_H
41461                       #include <ieeefp.h>
41462                       #endif
41463
41464 int
41465 main ()
41466 {
41467  finitef(0);
41468   ;
41469   return 0;
41470 }
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473   glibcxx_cv_func_finitef_use=yes
41474 else
41475   glibcxx_cv_func_finitef_use=no
41476 fi
41477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41478       ac_ext=c
41479 ac_cpp='$CPP $CPPFLAGS'
41480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41483
41484
41485 fi
41486
41487   fi
41488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41489 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41490
41491   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41492     for ac_func in finitef
41493 do :
41494   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41495 if test "x$ac_cv_func_finitef" = x""yes; then :
41496   cat >>confdefs.h <<_ACEOF
41497 #define HAVE_FINITEF 1
41498 _ACEOF
41499
41500 fi
41501 done
41502
41503   else
41504
41505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41506 $as_echo_n "checking for _finitef declaration... " >&6; }
41507   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41508     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41509   $as_echo_n "(cached) " >&6
41510 else
41511
41512
41513       ac_ext=cpp
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41518
41519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41520 /* end confdefs.h.  */
41521 #include <math.h>
41522                       #ifdef HAVE_IEEEFP_H
41523                       #include <ieeefp.h>
41524                       #endif
41525
41526 int
41527 main ()
41528 {
41529  _finitef(0);
41530   ;
41531   return 0;
41532 }
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535   glibcxx_cv_func__finitef_use=yes
41536 else
41537   glibcxx_cv_func__finitef_use=no
41538 fi
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540       ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41545
41546
41547 fi
41548
41549   fi
41550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41551 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41552
41553     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41554       for ac_func in _finitef
41555 do :
41556   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41557 if test "x$ac_cv_func__finitef" = x""yes; then :
41558   cat >>confdefs.h <<_ACEOF
41559 #define HAVE__FINITEF 1
41560 _ACEOF
41561
41562 fi
41563 done
41564
41565     fi
41566   fi
41567
41568
41569
41570
41571
41572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41573 $as_echo_n "checking for long double trig functions... " >&6; }
41574   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41575   $as_echo_n "(cached) " >&6
41576 else
41577
41578
41579     ac_ext=cpp
41580 ac_cpp='$CXXCPP $CPPFLAGS'
41581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41584
41585     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41586 /* end confdefs.h.  */
41587 #include <math.h>
41588 int
41589 main ()
41590 {
41591 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41592   ;
41593   return 0;
41594 }
41595 _ACEOF
41596 if ac_fn_cxx_try_compile "$LINENO"; then :
41597   glibcxx_cv_func_long_double_trig_use=yes
41598 else
41599   glibcxx_cv_func_long_double_trig_use=no
41600 fi
41601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41602     ac_ext=c
41603 ac_cpp='$CPP $CPPFLAGS'
41604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41607
41608 fi
41609
41610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41611 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41612   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41613     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41614 do :
41615   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41617 eval as_val=\$$as_ac_var
41618    if test "x$as_val" = x""yes; then :
41619   cat >>confdefs.h <<_ACEOF
41620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626   else
41627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41628 $as_echo_n "checking for _long double trig functions... " >&6; }
41629     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41630   $as_echo_n "(cached) " >&6
41631 else
41632
41633
41634       ac_ext=cpp
41635 ac_cpp='$CXXCPP $CPPFLAGS'
41636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639
41640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41641 /* end confdefs.h.  */
41642 #include <math.h>
41643 int
41644 main ()
41645 {
41646 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41647   ;
41648   return 0;
41649 }
41650 _ACEOF
41651 if ac_fn_cxx_try_compile "$LINENO"; then :
41652   glibcxx_cv_func__long_double_trig_use=yes
41653 else
41654   glibcxx_cv_func__long_double_trig_use=no
41655 fi
41656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657       ac_ext=c
41658 ac_cpp='$CPP $CPPFLAGS'
41659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41662
41663 fi
41664
41665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41666 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41667     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41668       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41669 do :
41670   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41672 eval as_val=\$$as_ac_var
41673    if test "x$as_val" = x""yes; then :
41674   cat >>confdefs.h <<_ACEOF
41675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41676 _ACEOF
41677
41678 fi
41679 done
41680
41681     fi
41682   fi
41683
41684
41685
41686
41687
41688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41689 $as_echo_n "checking for long double round functions... " >&6; }
41690   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41691   $as_echo_n "(cached) " >&6
41692 else
41693
41694
41695     ac_ext=cpp
41696 ac_cpp='$CXXCPP $CPPFLAGS'
41697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41700
41701     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41702 /* end confdefs.h.  */
41703 #include <math.h>
41704 int
41705 main ()
41706 {
41707 ceill (0); floorl (0);
41708   ;
41709   return 0;
41710 }
41711 _ACEOF
41712 if ac_fn_cxx_try_compile "$LINENO"; then :
41713   glibcxx_cv_func_long_double_round_use=yes
41714 else
41715   glibcxx_cv_func_long_double_round_use=no
41716 fi
41717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41718     ac_ext=c
41719 ac_cpp='$CPP $CPPFLAGS'
41720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41723
41724 fi
41725
41726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41727 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41728   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41729     for ac_func in ceill floorl
41730 do :
41731   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41733 eval as_val=\$$as_ac_var
41734    if test "x$as_val" = x""yes; then :
41735   cat >>confdefs.h <<_ACEOF
41736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41737 _ACEOF
41738
41739 fi
41740 done
41741
41742   else
41743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41744 $as_echo_n "checking for _long double round functions... " >&6; }
41745     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41746   $as_echo_n "(cached) " >&6
41747 else
41748
41749
41750       ac_ext=cpp
41751 ac_cpp='$CXXCPP $CPPFLAGS'
41752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41755
41756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41757 /* end confdefs.h.  */
41758 #include <math.h>
41759 int
41760 main ()
41761 {
41762 _ceill (0); _floorl (0);
41763   ;
41764   return 0;
41765 }
41766 _ACEOF
41767 if ac_fn_cxx_try_compile "$LINENO"; then :
41768   glibcxx_cv_func__long_double_round_use=yes
41769 else
41770   glibcxx_cv_func__long_double_round_use=no
41771 fi
41772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41773       ac_ext=c
41774 ac_cpp='$CPP $CPPFLAGS'
41775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778
41779 fi
41780
41781     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41782 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41783     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41784       for ac_func in _ceill _floorl
41785 do :
41786   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41788 eval as_val=\$$as_ac_var
41789    if test "x$as_val" = x""yes; then :
41790   cat >>confdefs.h <<_ACEOF
41791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41792 _ACEOF
41793
41794 fi
41795 done
41796
41797     fi
41798   fi
41799
41800
41801
41802
41803
41804
41805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41806 $as_echo_n "checking for isnanl declaration... " >&6; }
41807   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41808     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41809   $as_echo_n "(cached) " >&6
41810 else
41811
41812
41813       ac_ext=cpp
41814 ac_cpp='$CXXCPP $CPPFLAGS'
41815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818
41819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41820 /* end confdefs.h.  */
41821 #include <math.h>
41822                       #ifdef HAVE_IEEEFP_H
41823                       #include <ieeefp.h>
41824                       #endif
41825
41826 int
41827 main ()
41828 {
41829  isnanl(0);
41830   ;
41831   return 0;
41832 }
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835   glibcxx_cv_func_isnanl_use=yes
41836 else
41837   glibcxx_cv_func_isnanl_use=no
41838 fi
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840       ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845
41846
41847 fi
41848
41849   fi
41850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41851 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41852
41853   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41854     for ac_func in isnanl
41855 do :
41856   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41857 if test "x$ac_cv_func_isnanl" = x""yes; then :
41858   cat >>confdefs.h <<_ACEOF
41859 #define HAVE_ISNANL 1
41860 _ACEOF
41861
41862 fi
41863 done
41864
41865   else
41866
41867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41868 $as_echo_n "checking for _isnanl declaration... " >&6; }
41869   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41870     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41871   $as_echo_n "(cached) " >&6
41872 else
41873
41874
41875       ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41880
41881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h.  */
41883 #include <math.h>
41884                       #ifdef HAVE_IEEEFP_H
41885                       #include <ieeefp.h>
41886                       #endif
41887
41888 int
41889 main ()
41890 {
41891  _isnanl(0);
41892   ;
41893   return 0;
41894 }
41895 _ACEOF
41896 if ac_fn_cxx_try_compile "$LINENO"; then :
41897   glibcxx_cv_func__isnanl_use=yes
41898 else
41899   glibcxx_cv_func__isnanl_use=no
41900 fi
41901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41902       ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907
41908
41909 fi
41910
41911   fi
41912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41913 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41914
41915     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41916       for ac_func in _isnanl
41917 do :
41918   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41919 if test "x$ac_cv_func__isnanl" = x""yes; then :
41920   cat >>confdefs.h <<_ACEOF
41921 #define HAVE__ISNANL 1
41922 _ACEOF
41923
41924 fi
41925 done
41926
41927     fi
41928   fi
41929
41930
41931
41932
41933
41934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41935 $as_echo_n "checking for isinfl declaration... " >&6; }
41936   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41937     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41938   $as_echo_n "(cached) " >&6
41939 else
41940
41941
41942       ac_ext=cpp
41943 ac_cpp='$CXXCPP $CPPFLAGS'
41944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41947
41948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949 /* end confdefs.h.  */
41950 #include <math.h>
41951                       #ifdef HAVE_IEEEFP_H
41952                       #include <ieeefp.h>
41953                       #endif
41954
41955 int
41956 main ()
41957 {
41958  isinfl(0);
41959   ;
41960   return 0;
41961 }
41962 _ACEOF
41963 if ac_fn_cxx_try_compile "$LINENO"; then :
41964   glibcxx_cv_func_isinfl_use=yes
41965 else
41966   glibcxx_cv_func_isinfl_use=no
41967 fi
41968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41969       ac_ext=c
41970 ac_cpp='$CPP $CPPFLAGS'
41971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41974
41975
41976 fi
41977
41978   fi
41979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41980 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41981
41982   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41983     for ac_func in isinfl
41984 do :
41985   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41986 if test "x$ac_cv_func_isinfl" = x""yes; then :
41987   cat >>confdefs.h <<_ACEOF
41988 #define HAVE_ISINFL 1
41989 _ACEOF
41990
41991 fi
41992 done
41993
41994   else
41995
41996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41997 $as_echo_n "checking for _isinfl declaration... " >&6; }
41998   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41999     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42000   $as_echo_n "(cached) " >&6
42001 else
42002
42003
42004       ac_ext=cpp
42005 ac_cpp='$CXXCPP $CPPFLAGS'
42006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42009
42010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42011 /* end confdefs.h.  */
42012 #include <math.h>
42013                       #ifdef HAVE_IEEEFP_H
42014                       #include <ieeefp.h>
42015                       #endif
42016
42017 int
42018 main ()
42019 {
42020  _isinfl(0);
42021   ;
42022   return 0;
42023 }
42024 _ACEOF
42025 if ac_fn_cxx_try_compile "$LINENO"; then :
42026   glibcxx_cv_func__isinfl_use=yes
42027 else
42028   glibcxx_cv_func__isinfl_use=no
42029 fi
42030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42031       ac_ext=c
42032 ac_cpp='$CPP $CPPFLAGS'
42033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42036
42037
42038 fi
42039
42040   fi
42041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42042 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42043
42044     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42045       for ac_func in _isinfl
42046 do :
42047   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42048 if test "x$ac_cv_func__isinfl" = x""yes; then :
42049   cat >>confdefs.h <<_ACEOF
42050 #define HAVE__ISINFL 1
42051 _ACEOF
42052
42053 fi
42054 done
42055
42056     fi
42057   fi
42058
42059
42060
42061
42062
42063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42064 $as_echo_n "checking for atan2l declaration... " >&6; }
42065   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42066     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42067   $as_echo_n "(cached) " >&6
42068 else
42069
42070
42071       ac_ext=cpp
42072 ac_cpp='$CXXCPP $CPPFLAGS'
42073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42076
42077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42078 /* end confdefs.h.  */
42079 #include <math.h>
42080 int
42081 main ()
42082 {
42083  atan2l(0, 0);
42084   ;
42085   return 0;
42086 }
42087 _ACEOF
42088 if ac_fn_cxx_try_compile "$LINENO"; then :
42089   glibcxx_cv_func_atan2l_use=yes
42090 else
42091   glibcxx_cv_func_atan2l_use=no
42092 fi
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42094       ac_ext=c
42095 ac_cpp='$CPP $CPPFLAGS'
42096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099
42100
42101 fi
42102
42103   fi
42104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42105 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42106
42107   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42108     for ac_func in atan2l
42109 do :
42110   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42111 if test "x$ac_cv_func_atan2l" = x""yes; then :
42112   cat >>confdefs.h <<_ACEOF
42113 #define HAVE_ATAN2L 1
42114 _ACEOF
42115
42116 fi
42117 done
42118
42119   else
42120
42121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42122 $as_echo_n "checking for _atan2l declaration... " >&6; }
42123   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42124     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42125   $as_echo_n "(cached) " >&6
42126 else
42127
42128
42129       ac_ext=cpp
42130 ac_cpp='$CXXCPP $CPPFLAGS'
42131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42134
42135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42136 /* end confdefs.h.  */
42137 #include <math.h>
42138 int
42139 main ()
42140 {
42141  _atan2l(0, 0);
42142   ;
42143   return 0;
42144 }
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147   glibcxx_cv_func__atan2l_use=yes
42148 else
42149   glibcxx_cv_func__atan2l_use=no
42150 fi
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152       ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157
42158
42159 fi
42160
42161   fi
42162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42163 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42164
42165     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42166       for ac_func in _atan2l
42167 do :
42168   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42169 if test "x$ac_cv_func__atan2l" = x""yes; then :
42170   cat >>confdefs.h <<_ACEOF
42171 #define HAVE__ATAN2L 1
42172 _ACEOF
42173
42174 fi
42175 done
42176
42177     fi
42178   fi
42179
42180
42181
42182
42183
42184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42185 $as_echo_n "checking for expl declaration... " >&6; }
42186   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42187     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42188   $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192       ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h.  */
42200 #include <math.h>
42201                       #ifdef HAVE_IEEEFP_H
42202                       #include <ieeefp.h>
42203                       #endif
42204
42205 int
42206 main ()
42207 {
42208  expl(0);
42209   ;
42210   return 0;
42211 }
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214   glibcxx_cv_func_expl_use=yes
42215 else
42216   glibcxx_cv_func_expl_use=no
42217 fi
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219       ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224
42225
42226 fi
42227
42228   fi
42229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42230 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42231
42232   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42233     for ac_func in expl
42234 do :
42235   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42236 if test "x$ac_cv_func_expl" = x""yes; then :
42237   cat >>confdefs.h <<_ACEOF
42238 #define HAVE_EXPL 1
42239 _ACEOF
42240
42241 fi
42242 done
42243
42244   else
42245
42246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42247 $as_echo_n "checking for _expl declaration... " >&6; }
42248   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42249     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42250   $as_echo_n "(cached) " >&6
42251 else
42252
42253
42254       ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259
42260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42261 /* end confdefs.h.  */
42262 #include <math.h>
42263                       #ifdef HAVE_IEEEFP_H
42264                       #include <ieeefp.h>
42265                       #endif
42266
42267 int
42268 main ()
42269 {
42270  _expl(0);
42271   ;
42272   return 0;
42273 }
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276   glibcxx_cv_func__expl_use=yes
42277 else
42278   glibcxx_cv_func__expl_use=no
42279 fi
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281       ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286
42287
42288 fi
42289
42290   fi
42291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42292 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42293
42294     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42295       for ac_func in _expl
42296 do :
42297   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42298 if test "x$ac_cv_func__expl" = x""yes; then :
42299   cat >>confdefs.h <<_ACEOF
42300 #define HAVE__EXPL 1
42301 _ACEOF
42302
42303 fi
42304 done
42305
42306     fi
42307   fi
42308
42309
42310
42311
42312
42313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42314 $as_echo_n "checking for fabsl declaration... " >&6; }
42315   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42316     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42317   $as_echo_n "(cached) " >&6
42318 else
42319
42320
42321       ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326
42327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h.  */
42329 #include <math.h>
42330                       #ifdef HAVE_IEEEFP_H
42331                       #include <ieeefp.h>
42332                       #endif
42333
42334 int
42335 main ()
42336 {
42337  fabsl(0);
42338   ;
42339   return 0;
42340 }
42341 _ACEOF
42342 if ac_fn_cxx_try_compile "$LINENO"; then :
42343   glibcxx_cv_func_fabsl_use=yes
42344 else
42345   glibcxx_cv_func_fabsl_use=no
42346 fi
42347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348       ac_ext=c
42349 ac_cpp='$CPP $CPPFLAGS'
42350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42353
42354
42355 fi
42356
42357   fi
42358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42359 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42360
42361   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42362     for ac_func in fabsl
42363 do :
42364   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42365 if test "x$ac_cv_func_fabsl" = x""yes; then :
42366   cat >>confdefs.h <<_ACEOF
42367 #define HAVE_FABSL 1
42368 _ACEOF
42369
42370 fi
42371 done
42372
42373   else
42374
42375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42376 $as_echo_n "checking for _fabsl declaration... " >&6; }
42377   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42378     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42379   $as_echo_n "(cached) " >&6
42380 else
42381
42382
42383       ac_ext=cpp
42384 ac_cpp='$CXXCPP $CPPFLAGS'
42385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388
42389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42390 /* end confdefs.h.  */
42391 #include <math.h>
42392                       #ifdef HAVE_IEEEFP_H
42393                       #include <ieeefp.h>
42394                       #endif
42395
42396 int
42397 main ()
42398 {
42399  _fabsl(0);
42400   ;
42401   return 0;
42402 }
42403 _ACEOF
42404 if ac_fn_cxx_try_compile "$LINENO"; then :
42405   glibcxx_cv_func__fabsl_use=yes
42406 else
42407   glibcxx_cv_func__fabsl_use=no
42408 fi
42409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42410       ac_ext=c
42411 ac_cpp='$CPP $CPPFLAGS'
42412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42415
42416
42417 fi
42418
42419   fi
42420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42421 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42422
42423     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42424       for ac_func in _fabsl
42425 do :
42426   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42427 if test "x$ac_cv_func__fabsl" = x""yes; then :
42428   cat >>confdefs.h <<_ACEOF
42429 #define HAVE__FABSL 1
42430 _ACEOF
42431
42432 fi
42433 done
42434
42435     fi
42436   fi
42437
42438
42439
42440
42441
42442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42443 $as_echo_n "checking for fmodl declaration... " >&6; }
42444   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42445     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42446   $as_echo_n "(cached) " >&6
42447 else
42448
42449
42450       ac_ext=cpp
42451 ac_cpp='$CXXCPP $CPPFLAGS'
42452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455
42456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42457 /* end confdefs.h.  */
42458 #include <math.h>
42459 int
42460 main ()
42461 {
42462  fmodl(0, 0);
42463   ;
42464   return 0;
42465 }
42466 _ACEOF
42467 if ac_fn_cxx_try_compile "$LINENO"; then :
42468   glibcxx_cv_func_fmodl_use=yes
42469 else
42470   glibcxx_cv_func_fmodl_use=no
42471 fi
42472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42473       ac_ext=c
42474 ac_cpp='$CPP $CPPFLAGS'
42475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42478
42479
42480 fi
42481
42482   fi
42483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42484 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42485
42486   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42487     for ac_func in fmodl
42488 do :
42489   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42490 if test "x$ac_cv_func_fmodl" = x""yes; then :
42491   cat >>confdefs.h <<_ACEOF
42492 #define HAVE_FMODL 1
42493 _ACEOF
42494
42495 fi
42496 done
42497
42498   else
42499
42500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42501 $as_echo_n "checking for _fmodl declaration... " >&6; }
42502   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42503     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42504   $as_echo_n "(cached) " >&6
42505 else
42506
42507
42508       ac_ext=cpp
42509 ac_cpp='$CXXCPP $CPPFLAGS'
42510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42513
42514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42515 /* end confdefs.h.  */
42516 #include <math.h>
42517 int
42518 main ()
42519 {
42520  _fmodl(0, 0);
42521   ;
42522   return 0;
42523 }
42524 _ACEOF
42525 if ac_fn_cxx_try_compile "$LINENO"; then :
42526   glibcxx_cv_func__fmodl_use=yes
42527 else
42528   glibcxx_cv_func__fmodl_use=no
42529 fi
42530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42531       ac_ext=c
42532 ac_cpp='$CPP $CPPFLAGS'
42533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536
42537
42538 fi
42539
42540   fi
42541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42542 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42543
42544     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42545       for ac_func in _fmodl
42546 do :
42547   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42548 if test "x$ac_cv_func__fmodl" = x""yes; then :
42549   cat >>confdefs.h <<_ACEOF
42550 #define HAVE__FMODL 1
42551 _ACEOF
42552
42553 fi
42554 done
42555
42556     fi
42557   fi
42558
42559
42560
42561
42562
42563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42564 $as_echo_n "checking for frexpl declaration... " >&6; }
42565   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42566     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42567   $as_echo_n "(cached) " >&6
42568 else
42569
42570
42571       ac_ext=cpp
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42576
42577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42578 /* end confdefs.h.  */
42579 #include <math.h>
42580 int
42581 main ()
42582 {
42583  frexpl(0, 0);
42584   ;
42585   return 0;
42586 }
42587 _ACEOF
42588 if ac_fn_cxx_try_compile "$LINENO"; then :
42589   glibcxx_cv_func_frexpl_use=yes
42590 else
42591   glibcxx_cv_func_frexpl_use=no
42592 fi
42593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42594       ac_ext=c
42595 ac_cpp='$CPP $CPPFLAGS'
42596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42599
42600
42601 fi
42602
42603   fi
42604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42605 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42606
42607   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42608     for ac_func in frexpl
42609 do :
42610   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42611 if test "x$ac_cv_func_frexpl" = x""yes; then :
42612   cat >>confdefs.h <<_ACEOF
42613 #define HAVE_FREXPL 1
42614 _ACEOF
42615
42616 fi
42617 done
42618
42619   else
42620
42621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42622 $as_echo_n "checking for _frexpl declaration... " >&6; }
42623   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42624     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42625   $as_echo_n "(cached) " >&6
42626 else
42627
42628
42629       ac_ext=cpp
42630 ac_cpp='$CXXCPP $CPPFLAGS'
42631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42634
42635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42636 /* end confdefs.h.  */
42637 #include <math.h>
42638 int
42639 main ()
42640 {
42641  _frexpl(0, 0);
42642   ;
42643   return 0;
42644 }
42645 _ACEOF
42646 if ac_fn_cxx_try_compile "$LINENO"; then :
42647   glibcxx_cv_func__frexpl_use=yes
42648 else
42649   glibcxx_cv_func__frexpl_use=no
42650 fi
42651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42652       ac_ext=c
42653 ac_cpp='$CPP $CPPFLAGS'
42654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42657
42658
42659 fi
42660
42661   fi
42662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42663 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42664
42665     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42666       for ac_func in _frexpl
42667 do :
42668   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42669 if test "x$ac_cv_func__frexpl" = x""yes; then :
42670   cat >>confdefs.h <<_ACEOF
42671 #define HAVE__FREXPL 1
42672 _ACEOF
42673
42674 fi
42675 done
42676
42677     fi
42678   fi
42679
42680
42681
42682
42683
42684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42685 $as_echo_n "checking for hypotl declaration... " >&6; }
42686   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42687     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42688   $as_echo_n "(cached) " >&6
42689 else
42690
42691
42692       ac_ext=cpp
42693 ac_cpp='$CXXCPP $CPPFLAGS'
42694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42697
42698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42699 /* end confdefs.h.  */
42700 #include <math.h>
42701 int
42702 main ()
42703 {
42704  hypotl(0, 0);
42705   ;
42706   return 0;
42707 }
42708 _ACEOF
42709 if ac_fn_cxx_try_compile "$LINENO"; then :
42710   glibcxx_cv_func_hypotl_use=yes
42711 else
42712   glibcxx_cv_func_hypotl_use=no
42713 fi
42714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715       ac_ext=c
42716 ac_cpp='$CPP $CPPFLAGS'
42717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720
42721
42722 fi
42723
42724   fi
42725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42726 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42727
42728   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42729     for ac_func in hypotl
42730 do :
42731   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42732 if test "x$ac_cv_func_hypotl" = x""yes; then :
42733   cat >>confdefs.h <<_ACEOF
42734 #define HAVE_HYPOTL 1
42735 _ACEOF
42736
42737 fi
42738 done
42739
42740   else
42741
42742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42743 $as_echo_n "checking for _hypotl declaration... " >&6; }
42744   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42745     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42746   $as_echo_n "(cached) " >&6
42747 else
42748
42749
42750       ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42755
42756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h.  */
42758 #include <math.h>
42759 int
42760 main ()
42761 {
42762  _hypotl(0, 0);
42763   ;
42764   return 0;
42765 }
42766 _ACEOF
42767 if ac_fn_cxx_try_compile "$LINENO"; then :
42768   glibcxx_cv_func__hypotl_use=yes
42769 else
42770   glibcxx_cv_func__hypotl_use=no
42771 fi
42772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773       ac_ext=c
42774 ac_cpp='$CPP $CPPFLAGS'
42775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42778
42779
42780 fi
42781
42782   fi
42783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42784 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42785
42786     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42787       for ac_func in _hypotl
42788 do :
42789   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42790 if test "x$ac_cv_func__hypotl" = x""yes; then :
42791   cat >>confdefs.h <<_ACEOF
42792 #define HAVE__HYPOTL 1
42793 _ACEOF
42794
42795 fi
42796 done
42797
42798     fi
42799   fi
42800
42801
42802
42803
42804
42805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42806 $as_echo_n "checking for ldexpl declaration... " >&6; }
42807   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42808     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42809   $as_echo_n "(cached) " >&6
42810 else
42811
42812
42813       ac_ext=cpp
42814 ac_cpp='$CXXCPP $CPPFLAGS'
42815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818
42819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42820 /* end confdefs.h.  */
42821 #include <math.h>
42822 int
42823 main ()
42824 {
42825  ldexpl(0, 0);
42826   ;
42827   return 0;
42828 }
42829 _ACEOF
42830 if ac_fn_cxx_try_compile "$LINENO"; then :
42831   glibcxx_cv_func_ldexpl_use=yes
42832 else
42833   glibcxx_cv_func_ldexpl_use=no
42834 fi
42835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42836       ac_ext=c
42837 ac_cpp='$CPP $CPPFLAGS'
42838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841
42842
42843 fi
42844
42845   fi
42846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42847 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42848
42849   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42850     for ac_func in ldexpl
42851 do :
42852   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42853 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42854   cat >>confdefs.h <<_ACEOF
42855 #define HAVE_LDEXPL 1
42856 _ACEOF
42857
42858 fi
42859 done
42860
42861   else
42862
42863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42864 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42865   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42866     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42867   $as_echo_n "(cached) " >&6
42868 else
42869
42870
42871       ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876
42877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h.  */
42879 #include <math.h>
42880 int
42881 main ()
42882 {
42883  _ldexpl(0, 0);
42884   ;
42885   return 0;
42886 }
42887 _ACEOF
42888 if ac_fn_cxx_try_compile "$LINENO"; then :
42889   glibcxx_cv_func__ldexpl_use=yes
42890 else
42891   glibcxx_cv_func__ldexpl_use=no
42892 fi
42893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42894       ac_ext=c
42895 ac_cpp='$CPP $CPPFLAGS'
42896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899
42900
42901 fi
42902
42903   fi
42904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42905 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42906
42907     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42908       for ac_func in _ldexpl
42909 do :
42910   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42911 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42912   cat >>confdefs.h <<_ACEOF
42913 #define HAVE__LDEXPL 1
42914 _ACEOF
42915
42916 fi
42917 done
42918
42919     fi
42920   fi
42921
42922
42923
42924
42925
42926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42927 $as_echo_n "checking for logl declaration... " >&6; }
42928   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42929     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42930   $as_echo_n "(cached) " >&6
42931 else
42932
42933
42934       ac_ext=cpp
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42941 /* end confdefs.h.  */
42942 #include <math.h>
42943                       #ifdef HAVE_IEEEFP_H
42944                       #include <ieeefp.h>
42945                       #endif
42946
42947 int
42948 main ()
42949 {
42950  logl(0);
42951   ;
42952   return 0;
42953 }
42954 _ACEOF
42955 if ac_fn_cxx_try_compile "$LINENO"; then :
42956   glibcxx_cv_func_logl_use=yes
42957 else
42958   glibcxx_cv_func_logl_use=no
42959 fi
42960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961       ac_ext=c
42962 ac_cpp='$CPP $CPPFLAGS'
42963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42966
42967
42968 fi
42969
42970   fi
42971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42972 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42973
42974   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42975     for ac_func in logl
42976 do :
42977   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42978 if test "x$ac_cv_func_logl" = x""yes; then :
42979   cat >>confdefs.h <<_ACEOF
42980 #define HAVE_LOGL 1
42981 _ACEOF
42982
42983 fi
42984 done
42985
42986   else
42987
42988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42989 $as_echo_n "checking for _logl declaration... " >&6; }
42990   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42991     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42992   $as_echo_n "(cached) " >&6
42993 else
42994
42995
42996       ac_ext=cpp
42997 ac_cpp='$CXXCPP $CPPFLAGS'
42998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43001
43002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43003 /* end confdefs.h.  */
43004 #include <math.h>
43005                       #ifdef HAVE_IEEEFP_H
43006                       #include <ieeefp.h>
43007                       #endif
43008
43009 int
43010 main ()
43011 {
43012  _logl(0);
43013   ;
43014   return 0;
43015 }
43016 _ACEOF
43017 if ac_fn_cxx_try_compile "$LINENO"; then :
43018   glibcxx_cv_func__logl_use=yes
43019 else
43020   glibcxx_cv_func__logl_use=no
43021 fi
43022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023       ac_ext=c
43024 ac_cpp='$CPP $CPPFLAGS'
43025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028
43029
43030 fi
43031
43032   fi
43033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43034 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43035
43036     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43037       for ac_func in _logl
43038 do :
43039   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43040 if test "x$ac_cv_func__logl" = x""yes; then :
43041   cat >>confdefs.h <<_ACEOF
43042 #define HAVE__LOGL 1
43043 _ACEOF
43044
43045 fi
43046 done
43047
43048     fi
43049   fi
43050
43051
43052
43053
43054
43055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43056 $as_echo_n "checking for log10l declaration... " >&6; }
43057   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43058     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43059   $as_echo_n "(cached) " >&6
43060 else
43061
43062
43063       ac_ext=cpp
43064 ac_cpp='$CXXCPP $CPPFLAGS'
43065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068
43069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43070 /* end confdefs.h.  */
43071 #include <math.h>
43072                       #ifdef HAVE_IEEEFP_H
43073                       #include <ieeefp.h>
43074                       #endif
43075
43076 int
43077 main ()
43078 {
43079  log10l(0);
43080   ;
43081   return 0;
43082 }
43083 _ACEOF
43084 if ac_fn_cxx_try_compile "$LINENO"; then :
43085   glibcxx_cv_func_log10l_use=yes
43086 else
43087   glibcxx_cv_func_log10l_use=no
43088 fi
43089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43090       ac_ext=c
43091 ac_cpp='$CPP $CPPFLAGS'
43092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095
43096
43097 fi
43098
43099   fi
43100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43101 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43102
43103   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43104     for ac_func in log10l
43105 do :
43106   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43107 if test "x$ac_cv_func_log10l" = x""yes; then :
43108   cat >>confdefs.h <<_ACEOF
43109 #define HAVE_LOG10L 1
43110 _ACEOF
43111
43112 fi
43113 done
43114
43115   else
43116
43117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43118 $as_echo_n "checking for _log10l declaration... " >&6; }
43119   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43120     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43121   $as_echo_n "(cached) " >&6
43122 else
43123
43124
43125       ac_ext=cpp
43126 ac_cpp='$CXXCPP $CPPFLAGS'
43127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43130
43131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43132 /* end confdefs.h.  */
43133 #include <math.h>
43134                       #ifdef HAVE_IEEEFP_H
43135                       #include <ieeefp.h>
43136                       #endif
43137
43138 int
43139 main ()
43140 {
43141  _log10l(0);
43142   ;
43143   return 0;
43144 }
43145 _ACEOF
43146 if ac_fn_cxx_try_compile "$LINENO"; then :
43147   glibcxx_cv_func__log10l_use=yes
43148 else
43149   glibcxx_cv_func__log10l_use=no
43150 fi
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152       ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157
43158
43159 fi
43160
43161   fi
43162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43163 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43164
43165     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43166       for ac_func in _log10l
43167 do :
43168   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43169 if test "x$ac_cv_func__log10l" = x""yes; then :
43170   cat >>confdefs.h <<_ACEOF
43171 #define HAVE__LOG10L 1
43172 _ACEOF
43173
43174 fi
43175 done
43176
43177     fi
43178   fi
43179
43180
43181
43182
43183
43184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43185 $as_echo_n "checking for modfl declaration... " >&6; }
43186   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43187     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43188   $as_echo_n "(cached) " >&6
43189 else
43190
43191
43192       ac_ext=cpp
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43197
43198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43199 /* end confdefs.h.  */
43200 #include <math.h>
43201 int
43202 main ()
43203 {
43204  modfl(0, 0);
43205   ;
43206   return 0;
43207 }
43208 _ACEOF
43209 if ac_fn_cxx_try_compile "$LINENO"; then :
43210   glibcxx_cv_func_modfl_use=yes
43211 else
43212   glibcxx_cv_func_modfl_use=no
43213 fi
43214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43215       ac_ext=c
43216 ac_cpp='$CPP $CPPFLAGS'
43217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43220
43221
43222 fi
43223
43224   fi
43225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43226 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43227
43228   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43229     for ac_func in modfl
43230 do :
43231   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43232 if test "x$ac_cv_func_modfl" = x""yes; then :
43233   cat >>confdefs.h <<_ACEOF
43234 #define HAVE_MODFL 1
43235 _ACEOF
43236
43237 fi
43238 done
43239
43240   else
43241
43242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43243 $as_echo_n "checking for _modfl declaration... " >&6; }
43244   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43245     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43246   $as_echo_n "(cached) " >&6
43247 else
43248
43249
43250       ac_ext=cpp
43251 ac_cpp='$CXXCPP $CPPFLAGS'
43252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43255
43256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43257 /* end confdefs.h.  */
43258 #include <math.h>
43259 int
43260 main ()
43261 {
43262  _modfl(0, 0);
43263   ;
43264   return 0;
43265 }
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268   glibcxx_cv_func__modfl_use=yes
43269 else
43270   glibcxx_cv_func__modfl_use=no
43271 fi
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273       ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278
43279
43280 fi
43281
43282   fi
43283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43284 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43285
43286     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43287       for ac_func in _modfl
43288 do :
43289   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43290 if test "x$ac_cv_func__modfl" = x""yes; then :
43291   cat >>confdefs.h <<_ACEOF
43292 #define HAVE__MODFL 1
43293 _ACEOF
43294
43295 fi
43296 done
43297
43298     fi
43299   fi
43300
43301
43302
43303
43304
43305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43306 $as_echo_n "checking for powl declaration... " >&6; }
43307   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43308     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43309   $as_echo_n "(cached) " >&6
43310 else
43311
43312
43313       ac_ext=cpp
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43318
43319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320 /* end confdefs.h.  */
43321 #include <math.h>
43322 int
43323 main ()
43324 {
43325  powl(0, 0);
43326   ;
43327   return 0;
43328 }
43329 _ACEOF
43330 if ac_fn_cxx_try_compile "$LINENO"; then :
43331   glibcxx_cv_func_powl_use=yes
43332 else
43333   glibcxx_cv_func_powl_use=no
43334 fi
43335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43336       ac_ext=c
43337 ac_cpp='$CPP $CPPFLAGS'
43338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341
43342
43343 fi
43344
43345   fi
43346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43347 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43348
43349   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43350     for ac_func in powl
43351 do :
43352   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43353 if test "x$ac_cv_func_powl" = x""yes; then :
43354   cat >>confdefs.h <<_ACEOF
43355 #define HAVE_POWL 1
43356 _ACEOF
43357
43358 fi
43359 done
43360
43361   else
43362
43363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43364 $as_echo_n "checking for _powl declaration... " >&6; }
43365   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43366     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43367   $as_echo_n "(cached) " >&6
43368 else
43369
43370
43371       ac_ext=cpp
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43376
43377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378 /* end confdefs.h.  */
43379 #include <math.h>
43380 int
43381 main ()
43382 {
43383  _powl(0, 0);
43384   ;
43385   return 0;
43386 }
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389   glibcxx_cv_func__powl_use=yes
43390 else
43391   glibcxx_cv_func__powl_use=no
43392 fi
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394       ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399
43400
43401 fi
43402
43403   fi
43404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43405 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43406
43407     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43408       for ac_func in _powl
43409 do :
43410   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43411 if test "x$ac_cv_func__powl" = x""yes; then :
43412   cat >>confdefs.h <<_ACEOF
43413 #define HAVE__POWL 1
43414 _ACEOF
43415
43416 fi
43417 done
43418
43419     fi
43420   fi
43421
43422
43423
43424
43425
43426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43427 $as_echo_n "checking for sqrtl declaration... " >&6; }
43428   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43429     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43430   $as_echo_n "(cached) " >&6
43431 else
43432
43433
43434       ac_ext=cpp
43435 ac_cpp='$CXXCPP $CPPFLAGS'
43436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43439
43440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43441 /* end confdefs.h.  */
43442 #include <math.h>
43443                       #ifdef HAVE_IEEEFP_H
43444                       #include <ieeefp.h>
43445                       #endif
43446
43447 int
43448 main ()
43449 {
43450  sqrtl(0);
43451   ;
43452   return 0;
43453 }
43454 _ACEOF
43455 if ac_fn_cxx_try_compile "$LINENO"; then :
43456   glibcxx_cv_func_sqrtl_use=yes
43457 else
43458   glibcxx_cv_func_sqrtl_use=no
43459 fi
43460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43461       ac_ext=c
43462 ac_cpp='$CPP $CPPFLAGS'
43463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43466
43467
43468 fi
43469
43470   fi
43471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43472 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43473
43474   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43475     for ac_func in sqrtl
43476 do :
43477   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43478 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43479   cat >>confdefs.h <<_ACEOF
43480 #define HAVE_SQRTL 1
43481 _ACEOF
43482
43483 fi
43484 done
43485
43486   else
43487
43488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43489 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43490   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43491     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43492   $as_echo_n "(cached) " >&6
43493 else
43494
43495
43496       ac_ext=cpp
43497 ac_cpp='$CXXCPP $CPPFLAGS'
43498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43501
43502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43503 /* end confdefs.h.  */
43504 #include <math.h>
43505                       #ifdef HAVE_IEEEFP_H
43506                       #include <ieeefp.h>
43507                       #endif
43508
43509 int
43510 main ()
43511 {
43512  _sqrtl(0);
43513   ;
43514   return 0;
43515 }
43516 _ACEOF
43517 if ac_fn_cxx_try_compile "$LINENO"; then :
43518   glibcxx_cv_func__sqrtl_use=yes
43519 else
43520   glibcxx_cv_func__sqrtl_use=no
43521 fi
43522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43523       ac_ext=c
43524 ac_cpp='$CPP $CPPFLAGS'
43525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43528
43529
43530 fi
43531
43532   fi
43533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43534 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43535
43536     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43537       for ac_func in _sqrtl
43538 do :
43539   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43540 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43541   cat >>confdefs.h <<_ACEOF
43542 #define HAVE__SQRTL 1
43543 _ACEOF
43544
43545 fi
43546 done
43547
43548     fi
43549   fi
43550
43551
43552
43553
43554
43555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43556 $as_echo_n "checking for sincosl declaration... " >&6; }
43557   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43558     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43559   $as_echo_n "(cached) " >&6
43560 else
43561
43562
43563       ac_ext=cpp
43564 ac_cpp='$CXXCPP $CPPFLAGS'
43565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43568
43569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43570 /* end confdefs.h.  */
43571 #include <math.h>
43572 int
43573 main ()
43574 {
43575  sincosl(0, 0, 0);
43576   ;
43577   return 0;
43578 }
43579 _ACEOF
43580 if ac_fn_cxx_try_compile "$LINENO"; then :
43581   glibcxx_cv_func_sincosl_use=yes
43582 else
43583   glibcxx_cv_func_sincosl_use=no
43584 fi
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43586       ac_ext=c
43587 ac_cpp='$CPP $CPPFLAGS'
43588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43591
43592
43593 fi
43594
43595   fi
43596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43597 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43598
43599   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43600     for ac_func in sincosl
43601 do :
43602   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43603 if test "x$ac_cv_func_sincosl" = x""yes; then :
43604   cat >>confdefs.h <<_ACEOF
43605 #define HAVE_SINCOSL 1
43606 _ACEOF
43607
43608 fi
43609 done
43610
43611   else
43612
43613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43614 $as_echo_n "checking for _sincosl declaration... " >&6; }
43615   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43616     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43617   $as_echo_n "(cached) " >&6
43618 else
43619
43620
43621       ac_ext=cpp
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43626
43627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43628 /* end confdefs.h.  */
43629 #include <math.h>
43630 int
43631 main ()
43632 {
43633  _sincosl(0, 0, 0);
43634   ;
43635   return 0;
43636 }
43637 _ACEOF
43638 if ac_fn_cxx_try_compile "$LINENO"; then :
43639   glibcxx_cv_func__sincosl_use=yes
43640 else
43641   glibcxx_cv_func__sincosl_use=no
43642 fi
43643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43644       ac_ext=c
43645 ac_cpp='$CPP $CPPFLAGS'
43646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43649
43650
43651 fi
43652
43653   fi
43654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43655 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43656
43657     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43658       for ac_func in _sincosl
43659 do :
43660   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43661 if test "x$ac_cv_func__sincosl" = x""yes; then :
43662   cat >>confdefs.h <<_ACEOF
43663 #define HAVE__SINCOSL 1
43664 _ACEOF
43665
43666 fi
43667 done
43668
43669     fi
43670   fi
43671
43672
43673
43674
43675
43676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43677 $as_echo_n "checking for finitel declaration... " >&6; }
43678   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43679     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43680   $as_echo_n "(cached) " >&6
43681 else
43682
43683
43684       ac_ext=cpp
43685 ac_cpp='$CXXCPP $CPPFLAGS'
43686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43689
43690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43691 /* end confdefs.h.  */
43692 #include <math.h>
43693                       #ifdef HAVE_IEEEFP_H
43694                       #include <ieeefp.h>
43695                       #endif
43696
43697 int
43698 main ()
43699 {
43700  finitel(0);
43701   ;
43702   return 0;
43703 }
43704 _ACEOF
43705 if ac_fn_cxx_try_compile "$LINENO"; then :
43706   glibcxx_cv_func_finitel_use=yes
43707 else
43708   glibcxx_cv_func_finitel_use=no
43709 fi
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711       ac_ext=c
43712 ac_cpp='$CPP $CPPFLAGS'
43713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43716
43717
43718 fi
43719
43720   fi
43721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43722 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43723
43724   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43725     for ac_func in finitel
43726 do :
43727   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43728 if test "x$ac_cv_func_finitel" = x""yes; then :
43729   cat >>confdefs.h <<_ACEOF
43730 #define HAVE_FINITEL 1
43731 _ACEOF
43732
43733 fi
43734 done
43735
43736   else
43737
43738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43739 $as_echo_n "checking for _finitel declaration... " >&6; }
43740   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43741     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43742   $as_echo_n "(cached) " >&6
43743 else
43744
43745
43746       ac_ext=cpp
43747 ac_cpp='$CXXCPP $CPPFLAGS'
43748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43751
43752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43753 /* end confdefs.h.  */
43754 #include <math.h>
43755                       #ifdef HAVE_IEEEFP_H
43756                       #include <ieeefp.h>
43757                       #endif
43758
43759 int
43760 main ()
43761 {
43762  _finitel(0);
43763   ;
43764   return 0;
43765 }
43766 _ACEOF
43767 if ac_fn_cxx_try_compile "$LINENO"; then :
43768   glibcxx_cv_func__finitel_use=yes
43769 else
43770   glibcxx_cv_func__finitel_use=no
43771 fi
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773       ac_ext=c
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43778
43779
43780 fi
43781
43782   fi
43783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43784 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43785
43786     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43787       for ac_func in _finitel
43788 do :
43789   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43790 if test "x$ac_cv_func__finitel" = x""yes; then :
43791   cat >>confdefs.h <<_ACEOF
43792 #define HAVE__FINITEL 1
43793 _ACEOF
43794
43795 fi
43796 done
43797
43798     fi
43799   fi
43800
43801
43802
43803
43804   LIBS="$ac_save_LIBS"
43805   CXXFLAGS="$ac_save_CXXFLAGS"
43806
43807
43808   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43809   ac_save_CXXFLAGS="$CXXFLAGS"
43810   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43811
43812
43813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43814 $as_echo_n "checking for strtold declaration... " >&6; }
43815   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43816     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43817   $as_echo_n "(cached) " >&6
43818 else
43819
43820
43821       ac_ext=cpp
43822 ac_cpp='$CXXCPP $CPPFLAGS'
43823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43826
43827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828 /* end confdefs.h.  */
43829 #include <stdlib.h>
43830 int
43831 main ()
43832 {
43833  strtold(0, 0);
43834   ;
43835   return 0;
43836 }
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839   glibcxx_cv_func_strtold_use=yes
43840 else
43841   glibcxx_cv_func_strtold_use=no
43842 fi
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844       ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43849
43850
43851 fi
43852
43853   fi
43854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43855 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43856   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43857     for ac_func in strtold
43858 do :
43859   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43860 if test "x$ac_cv_func_strtold" = x""yes; then :
43861   cat >>confdefs.h <<_ACEOF
43862 #define HAVE_STRTOLD 1
43863 _ACEOF
43864
43865 fi
43866 done
43867
43868   fi
43869
43870
43871
43872
43873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43874 $as_echo_n "checking for strtof declaration... " >&6; }
43875   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43876     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43877   $as_echo_n "(cached) " >&6
43878 else
43879
43880
43881       ac_ext=cpp
43882 ac_cpp='$CXXCPP $CPPFLAGS'
43883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43886
43887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43888 /* end confdefs.h.  */
43889 #include <stdlib.h>
43890 int
43891 main ()
43892 {
43893  strtof(0, 0);
43894   ;
43895   return 0;
43896 }
43897 _ACEOF
43898 if ac_fn_cxx_try_compile "$LINENO"; then :
43899   glibcxx_cv_func_strtof_use=yes
43900 else
43901   glibcxx_cv_func_strtof_use=no
43902 fi
43903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43904       ac_ext=c
43905 ac_cpp='$CPP $CPPFLAGS'
43906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43909
43910
43911 fi
43912
43913   fi
43914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43915 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43916   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43917     for ac_func in strtof
43918 do :
43919   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43920 if test "x$ac_cv_func_strtof" = x""yes; then :
43921   cat >>confdefs.h <<_ACEOF
43922 #define HAVE_STRTOF 1
43923 _ACEOF
43924
43925 fi
43926 done
43927
43928   fi
43929
43930
43931
43932
43933   CXXFLAGS="$ac_save_CXXFLAGS"
43934
43935     ;;
43936
43937   *djgpp)
43938     # GLIBCXX_CHECK_MATH_SUPPORT
43939     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43940
43941     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43942
43943     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43944
43945     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43946
43947     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43948
43949     ;;
43950
43951   *-freebsd*)
43952     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43953
43954
43955   # If we're not using GNU ld, then there's no point in even trying these
43956   # tests.  Check for that first.  We should have already tested for gld
43957   # by now (in libtool), but require it now just to be safe...
43958   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43959   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43960
43961
43962
43963   # The name set by libtool depends on the version of libtool.  Shame on us
43964   # for depending on an impl detail, but c'est la vie.  Older versions used
43965   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43966   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43967   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43968   # set (hence we're using an older libtool), then set it.
43969   if test x${with_gnu_ld+set} != xset; then
43970     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43971       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43972       with_gnu_ld=no
43973     else
43974       with_gnu_ld=$ac_cv_prog_gnu_ld
43975     fi
43976   fi
43977
43978   # Start by getting the version number.  I think the libtool test already
43979   # does some of this, but throws away the result.
43980   glibcxx_ld_is_gold=no
43981   if test x"$with_gnu_ld" = x"yes"; then
43982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43983 $as_echo_n "checking for ld version... " >&6; }
43984
43985     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43986       glibcxx_ld_is_gold=yes
43987     fi
43988     ldver=`$LD --version 2>/dev/null |
43989            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'`
43990
43991     glibcxx_gnu_ld_version=`echo $ldver | \
43992            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43994 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43995   fi
43996
43997   # Set --gc-sections.
43998   glibcxx_have_gc_sections=no
43999   if test "$glibcxx_ld_is_gold" = "yes"; then
44000     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44001       glibcxx_have_gc_sections=yes
44002     fi
44003   else
44004     glibcxx_gcsections_min_ld=21602
44005     if test x"$with_gnu_ld" = x"yes" &&
44006         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44007       glibcxx_have_gc_sections=yes
44008     fi
44009   fi
44010   if test "$glibcxx_have_gc_sections" = "yes"; then
44011     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44012     # NB: This flag only works reliably after 2.16.1. Configure tests
44013     # for this are difficult, so hard wire a value that should work.
44014
44015     ac_test_CFLAGS="${CFLAGS+set}"
44016     ac_save_CFLAGS="$CFLAGS"
44017     CFLAGS='-Wl,--gc-sections'
44018
44019     # Check for -Wl,--gc-sections
44020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44021 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44022     if test x$gcc_no_link = xyes; then
44023   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44024 fi
44025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44026 /* end confdefs.h.  */
44027  int one(void) { return 1; }
44028      int two(void) { return 2; }
44029
44030 int
44031 main ()
44032 {
44033  two();
44034   ;
44035   return 0;
44036 }
44037 _ACEOF
44038 if ac_fn_c_try_link "$LINENO"; then :
44039   ac_gcsections=yes
44040 else
44041   ac_gcsections=no
44042 fi
44043 rm -f core conftest.err conftest.$ac_objext \
44044     conftest$ac_exeext conftest.$ac_ext
44045     if test "$ac_gcsections" = "yes"; then
44046       rm -f conftest.c
44047       touch conftest.c
44048       if $CC -c conftest.c; then
44049         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44050            grep "Warning: gc-sections option ignored" > /dev/null; then
44051           ac_gcsections=no
44052         fi
44053       fi
44054       rm -f conftest.c conftest.o conftest
44055     fi
44056     if test "$ac_gcsections" = "yes"; then
44057       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44058     fi
44059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44060 $as_echo "$ac_gcsections" >&6; }
44061
44062     if test "$ac_test_CFLAGS" = set; then
44063       CFLAGS="$ac_save_CFLAGS"
44064     else
44065       # this is the suspicious part
44066       CFLAGS=''
44067     fi
44068   fi
44069
44070   # Set -z,relro.
44071   # Note this is only for shared objects.
44072   ac_ld_relro=no
44073   if test x"$with_gnu_ld" = x"yes"; then
44074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44075 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44076     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44077     if test -n "$cxx_z_relo"; then
44078       OPT_LDFLAGS="-Wl,-z,relro"
44079       ac_ld_relro=yes
44080     fi
44081     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44082 $as_echo "$ac_ld_relro" >&6; }
44083   fi
44084
44085   # Set linker optimization flags.
44086   if test x"$with_gnu_ld" = x"yes"; then
44087     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44088   fi
44089
44090
44091
44092
44093     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44094
44095     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44096
44097     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44098
44099     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44100
44101     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44102
44103     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44104
44105     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44106
44107     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44108
44109     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44110
44111
44112     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44113
44114     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44115
44116     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44117
44118     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44119
44120     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44121
44122     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44123
44124     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44125
44126     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44127
44128     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44129
44130     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44131
44132     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44133
44134     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44135
44136     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44137
44138     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44139
44140     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44141
44142     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44143
44144     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44145
44146     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44147
44148     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44149
44150     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44151
44152     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44153
44154     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44155
44156     if test x"long_double_math_on_this_cpu" = x"yes"; then
44157       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44158
44159       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44160
44161       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44162
44163     fi
44164     ;;
44165   *-hpux*)
44166     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44167
44168
44169   # If we're not using GNU ld, then there's no point in even trying these
44170   # tests.  Check for that first.  We should have already tested for gld
44171   # by now (in libtool), but require it now just to be safe...
44172   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44173   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44174
44175
44176
44177   # The name set by libtool depends on the version of libtool.  Shame on us
44178   # for depending on an impl detail, but c'est la vie.  Older versions used
44179   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44180   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44181   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44182   # set (hence we're using an older libtool), then set it.
44183   if test x${with_gnu_ld+set} != xset; then
44184     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44185       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44186       with_gnu_ld=no
44187     else
44188       with_gnu_ld=$ac_cv_prog_gnu_ld
44189     fi
44190   fi
44191
44192   # Start by getting the version number.  I think the libtool test already
44193   # does some of this, but throws away the result.
44194   glibcxx_ld_is_gold=no
44195   if test x"$with_gnu_ld" = x"yes"; then
44196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44197 $as_echo_n "checking for ld version... " >&6; }
44198
44199     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44200       glibcxx_ld_is_gold=yes
44201     fi
44202     ldver=`$LD --version 2>/dev/null |
44203            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'`
44204
44205     glibcxx_gnu_ld_version=`echo $ldver | \
44206            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44208 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44209   fi
44210
44211   # Set --gc-sections.
44212   glibcxx_have_gc_sections=no
44213   if test "$glibcxx_ld_is_gold" = "yes"; then
44214     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44215       glibcxx_have_gc_sections=yes
44216     fi
44217   else
44218     glibcxx_gcsections_min_ld=21602
44219     if test x"$with_gnu_ld" = x"yes" &&
44220         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44221       glibcxx_have_gc_sections=yes
44222     fi
44223   fi
44224   if test "$glibcxx_have_gc_sections" = "yes"; then
44225     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44226     # NB: This flag only works reliably after 2.16.1. Configure tests
44227     # for this are difficult, so hard wire a value that should work.
44228
44229     ac_test_CFLAGS="${CFLAGS+set}"
44230     ac_save_CFLAGS="$CFLAGS"
44231     CFLAGS='-Wl,--gc-sections'
44232
44233     # Check for -Wl,--gc-sections
44234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44235 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44236     if test x$gcc_no_link = xyes; then
44237   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44238 fi
44239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44240 /* end confdefs.h.  */
44241  int one(void) { return 1; }
44242      int two(void) { return 2; }
44243
44244 int
44245 main ()
44246 {
44247  two();
44248   ;
44249   return 0;
44250 }
44251 _ACEOF
44252 if ac_fn_c_try_link "$LINENO"; then :
44253   ac_gcsections=yes
44254 else
44255   ac_gcsections=no
44256 fi
44257 rm -f core conftest.err conftest.$ac_objext \
44258     conftest$ac_exeext conftest.$ac_ext
44259     if test "$ac_gcsections" = "yes"; then
44260       rm -f conftest.c
44261       touch conftest.c
44262       if $CC -c conftest.c; then
44263         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44264            grep "Warning: gc-sections option ignored" > /dev/null; then
44265           ac_gcsections=no
44266         fi
44267       fi
44268       rm -f conftest.c conftest.o conftest
44269     fi
44270     if test "$ac_gcsections" = "yes"; then
44271       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44272     fi
44273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44274 $as_echo "$ac_gcsections" >&6; }
44275
44276     if test "$ac_test_CFLAGS" = set; then
44277       CFLAGS="$ac_save_CFLAGS"
44278     else
44279       # this is the suspicious part
44280       CFLAGS=''
44281     fi
44282   fi
44283
44284   # Set -z,relro.
44285   # Note this is only for shared objects.
44286   ac_ld_relro=no
44287   if test x"$with_gnu_ld" = x"yes"; then
44288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44289 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44290     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44291     if test -n "$cxx_z_relo"; then
44292       OPT_LDFLAGS="-Wl,-z,relro"
44293       ac_ld_relro=yes
44294     fi
44295     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44296 $as_echo "$ac_ld_relro" >&6; }
44297   fi
44298
44299   # Set linker optimization flags.
44300   if test x"$with_gnu_ld" = x"yes"; then
44301     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44302   fi
44303
44304
44305
44306
44307
44308     # GLIBCXX_CHECK_MATH_SUPPORT
44309     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44310
44311     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44312
44313     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44314
44315     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44316
44317     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44318
44319     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44320
44321     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44322
44323     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44324
44325     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44326
44327     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44328
44329     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44330
44331     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44332
44333     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44334
44335     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44336
44337     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44338
44339     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44340
44341     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44342
44343     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44344
44345     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44346
44347     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44348
44349     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44350
44351
44352     # GLIBCXX_CHECK_STDLIB_SUPPORT
44353     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44354
44355
44356
44357
44358    # Check whether --enable-tls was given.
44359 if test "${enable_tls+set}" = set; then :
44360   enableval=$enable_tls;
44361       case "$enableval" in
44362        yes|no) ;;
44363        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44364       esac
44365
44366 else
44367   enable_tls=yes
44368 fi
44369
44370
44371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44372 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44373 if test "${gcc_cv_have_tls+set}" = set; then :
44374   $as_echo_n "(cached) " >&6
44375 else
44376
44377     if test "$cross_compiling" = yes; then :
44378                 if test x$gcc_no_link = xyes; then
44379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44380 fi
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h.  */
44383 __thread int a; int b; int main() { return a = b; }
44384 _ACEOF
44385 if ac_fn_c_try_link "$LINENO"; then :
44386   chktls_save_LDFLAGS="$LDFLAGS"
44387                           case $host in
44388             *-*-linux*)
44389               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44390               ;;
44391           esac
44392           chktls_save_CFLAGS="$CFLAGS"
44393           CFLAGS="-fPIC $CFLAGS"
44394                   if test x$gcc_no_link = xyes; then
44395   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44396 fi
44397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44398 /* end confdefs.h.  */
44399 int f() { return 0; }
44400 _ACEOF
44401 if ac_fn_c_try_link "$LINENO"; then :
44402   if test x$gcc_no_link = xyes; then
44403   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44404 fi
44405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44406 /* end confdefs.h.  */
44407 __thread int a; int b; int f() { return a = b; }
44408 _ACEOF
44409 if ac_fn_c_try_link "$LINENO"; then :
44410   gcc_cv_have_tls=yes
44411 else
44412   gcc_cv_have_tls=no
44413 fi
44414 rm -f core conftest.err conftest.$ac_objext \
44415     conftest$ac_exeext conftest.$ac_ext
44416 else
44417   gcc_cv_have_tls=yes
44418 fi
44419 rm -f core conftest.err conftest.$ac_objext \
44420     conftest$ac_exeext conftest.$ac_ext
44421           CFLAGS="$chktls_save_CFLAGS"
44422           LDFLAGS="$chktls_save_LDFLAGS"
44423 else
44424   gcc_cv_have_tls=no
44425 fi
44426 rm -f core conftest.err conftest.$ac_objext \
44427     conftest$ac_exeext conftest.$ac_ext
44428
44429
44430 else
44431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h.  */
44433 __thread int a; int b; int main() { return a = b; }
44434 _ACEOF
44435 if ac_fn_c_try_run "$LINENO"; then :
44436                       chktls_save_LDFLAGS="$LDFLAGS"
44437       LDFLAGS="-static $LDFLAGS"
44438       if test x$gcc_no_link = xyes; then
44439   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44440 fi
44441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44442 /* end confdefs.h.  */
44443 int main() { return 0; }
44444 _ACEOF
44445 if ac_fn_c_try_link "$LINENO"; then :
44446   if test "$cross_compiling" = yes; then :
44447   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44449 as_fn_error "cannot run test program while cross compiling
44450 See \`config.log' for more details." "$LINENO" 5; }
44451 else
44452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44453 /* end confdefs.h.  */
44454 __thread int a; int b; int main() { return a = b; }
44455 _ACEOF
44456 if ac_fn_c_try_run "$LINENO"; then :
44457   gcc_cv_have_tls=yes
44458 else
44459   gcc_cv_have_tls=no
44460 fi
44461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44462   conftest.$ac_objext conftest.beam conftest.$ac_ext
44463 fi
44464
44465 else
44466   gcc_cv_have_tls=yes
44467 fi
44468 rm -f core conftest.err conftest.$ac_objext \
44469     conftest$ac_exeext conftest.$ac_ext
44470       LDFLAGS="$chktls_save_LDFLAGS"
44471       if test $gcc_cv_have_tls = yes; then
44472                                                 chktls_save_CFLAGS="$CFLAGS"
44473         thread_CFLAGS=failed
44474         for flag in '' '-pthread' '-lpthread'; do
44475           CFLAGS="$flag $chktls_save_CFLAGS"
44476           if test x$gcc_no_link = xyes; then
44477   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44478 fi
44479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h.  */
44481 #include <pthread.h>
44482                 void *g(void *d) { return NULL; }
44483 int
44484 main ()
44485 {
44486 pthread_t t; pthread_create(&t,NULL,g,NULL);
44487   ;
44488   return 0;
44489 }
44490 _ACEOF
44491 if ac_fn_c_try_link "$LINENO"; then :
44492   thread_CFLAGS="$flag"
44493 fi
44494 rm -f core conftest.err conftest.$ac_objext \
44495     conftest$ac_exeext conftest.$ac_ext
44496           if test "X$thread_CFLAGS" != Xfailed; then
44497             break
44498           fi
44499         done
44500         CFLAGS="$chktls_save_CFLAGS"
44501         if test "X$thread_CFLAGS" != Xfailed; then
44502           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44503           if test "$cross_compiling" = yes; then :
44504   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44506 as_fn_error "cannot run test program while cross compiling
44507 See \`config.log' for more details." "$LINENO" 5; }
44508 else
44509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h.  */
44511 #include <pthread.h>
44512                 __thread int a;
44513                 static int *a_in_other_thread;
44514                 static void *
44515                 thread_func (void *arg)
44516                 {
44517                   a_in_other_thread = &a;
44518                   return (void *)0;
44519                 }
44520 int
44521 main ()
44522 {
44523 pthread_t thread;
44524                 void *thread_retval;
44525                 int *a_in_main_thread;
44526                 if (pthread_create (&thread, (pthread_attr_t *)0,
44527                                     thread_func, (void *)0))
44528                   return 0;
44529                 a_in_main_thread = &a;
44530                 if (pthread_join (thread, &thread_retval))
44531                   return 0;
44532                 return (a_in_other_thread == a_in_main_thread);
44533   ;
44534   return 0;
44535 }
44536 _ACEOF
44537 if ac_fn_c_try_run "$LINENO"; then :
44538   gcc_cv_have_tls=yes
44539 else
44540   gcc_cv_have_tls=no
44541 fi
44542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44543   conftest.$ac_objext conftest.beam conftest.$ac_ext
44544 fi
44545
44546           CFLAGS="$chktls_save_CFLAGS"
44547         fi
44548       fi
44549 else
44550   gcc_cv_have_tls=no
44551 fi
44552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44553   conftest.$ac_objext conftest.beam conftest.$ac_ext
44554 fi
44555
44556 fi
44557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44558 $as_echo "$gcc_cv_have_tls" >&6; }
44559   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44560
44561 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44562
44563   fi
44564     case "$target" in
44565       *-hpux10*)
44566         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44567
44568         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44569
44570         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44571
44572         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44573
44574         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44575
44576         ;;
44577     esac
44578     ;;
44579   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44580
44581   # All these tests are for C++; save the language and the compiler flags.
44582   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44583   # found in GLIBCXX_CONFIGURE.
44584
44585   ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590
44591   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44592   ac_save_CXXFLAGS="$CXXFLAGS"
44593
44594   # Check for maintainer-mode bits.
44595   if test x"$USE_MAINTAINER_MODE" = xno; then
44596     WERROR=''
44597   else
44598     WERROR='-Werror'
44599   fi
44600
44601   # Check for -ffunction-sections -fdata-sections
44602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44603 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44604   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44606 /* end confdefs.h.  */
44607 int foo; void bar() { };
44608 int
44609 main ()
44610 {
44611
44612   ;
44613   return 0;
44614 }
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617   ac_fdsections=yes
44618 else
44619   ac_fdsections=no
44620 fi
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622   if test "$ac_test_CXXFLAGS" = set; then
44623     CXXFLAGS="$ac_save_CXXFLAGS"
44624   else
44625     # this is the suspicious part
44626     CXXFLAGS=''
44627   fi
44628   if test x"$ac_fdsections" = x"yes"; then
44629     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44630   fi
44631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44632 $as_echo "$ac_fdsections" >&6; }
44633
44634   ac_ext=c
44635 ac_cpp='$CPP $CPPFLAGS'
44636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44639
44640
44641
44642
44643
44644   # If we're not using GNU ld, then there's no point in even trying these
44645   # tests.  Check for that first.  We should have already tested for gld
44646   # by now (in libtool), but require it now just to be safe...
44647   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44648   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44649
44650
44651
44652   # The name set by libtool depends on the version of libtool.  Shame on us
44653   # for depending on an impl detail, but c'est la vie.  Older versions used
44654   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44655   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44656   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44657   # set (hence we're using an older libtool), then set it.
44658   if test x${with_gnu_ld+set} != xset; then
44659     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44660       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44661       with_gnu_ld=no
44662     else
44663       with_gnu_ld=$ac_cv_prog_gnu_ld
44664     fi
44665   fi
44666
44667   # Start by getting the version number.  I think the libtool test already
44668   # does some of this, but throws away the result.
44669   glibcxx_ld_is_gold=no
44670   if test x"$with_gnu_ld" = x"yes"; then
44671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44672 $as_echo_n "checking for ld version... " >&6; }
44673
44674     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44675       glibcxx_ld_is_gold=yes
44676     fi
44677     ldver=`$LD --version 2>/dev/null |
44678            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'`
44679
44680     glibcxx_gnu_ld_version=`echo $ldver | \
44681            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44683 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44684   fi
44685
44686   # Set --gc-sections.
44687   glibcxx_have_gc_sections=no
44688   if test "$glibcxx_ld_is_gold" = "yes"; then
44689     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44690       glibcxx_have_gc_sections=yes
44691     fi
44692   else
44693     glibcxx_gcsections_min_ld=21602
44694     if test x"$with_gnu_ld" = x"yes" &&
44695         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44696       glibcxx_have_gc_sections=yes
44697     fi
44698   fi
44699   if test "$glibcxx_have_gc_sections" = "yes"; then
44700     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44701     # NB: This flag only works reliably after 2.16.1. Configure tests
44702     # for this are difficult, so hard wire a value that should work.
44703
44704     ac_test_CFLAGS="${CFLAGS+set}"
44705     ac_save_CFLAGS="$CFLAGS"
44706     CFLAGS='-Wl,--gc-sections'
44707
44708     # Check for -Wl,--gc-sections
44709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44710 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44711     if test x$gcc_no_link = xyes; then
44712   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44713 fi
44714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44715 /* end confdefs.h.  */
44716  int one(void) { return 1; }
44717      int two(void) { return 2; }
44718
44719 int
44720 main ()
44721 {
44722  two();
44723   ;
44724   return 0;
44725 }
44726 _ACEOF
44727 if ac_fn_c_try_link "$LINENO"; then :
44728   ac_gcsections=yes
44729 else
44730   ac_gcsections=no
44731 fi
44732 rm -f core conftest.err conftest.$ac_objext \
44733     conftest$ac_exeext conftest.$ac_ext
44734     if test "$ac_gcsections" = "yes"; then
44735       rm -f conftest.c
44736       touch conftest.c
44737       if $CC -c conftest.c; then
44738         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44739            grep "Warning: gc-sections option ignored" > /dev/null; then
44740           ac_gcsections=no
44741         fi
44742       fi
44743       rm -f conftest.c conftest.o conftest
44744     fi
44745     if test "$ac_gcsections" = "yes"; then
44746       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44747     fi
44748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44749 $as_echo "$ac_gcsections" >&6; }
44750
44751     if test "$ac_test_CFLAGS" = set; then
44752       CFLAGS="$ac_save_CFLAGS"
44753     else
44754       # this is the suspicious part
44755       CFLAGS=''
44756     fi
44757   fi
44758
44759   # Set -z,relro.
44760   # Note this is only for shared objects.
44761   ac_ld_relro=no
44762   if test x"$with_gnu_ld" = x"yes"; then
44763     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44764 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44765     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44766     if test -n "$cxx_z_relo"; then
44767       OPT_LDFLAGS="-Wl,-z,relro"
44768       ac_ld_relro=yes
44769     fi
44770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44771 $as_echo "$ac_ld_relro" >&6; }
44772   fi
44773
44774   # Set linker optimization flags.
44775   if test x"$with_gnu_ld" = x"yes"; then
44776     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44777   fi
44778
44779
44780
44781
44782
44783   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44784   ac_save_CXXFLAGS="$CXXFLAGS"
44785   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44786
44787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44788 $as_echo_n "checking for sin in -lm... " >&6; }
44789 if test "${ac_cv_lib_m_sin+set}" = set; then :
44790   $as_echo_n "(cached) " >&6
44791 else
44792   ac_check_lib_save_LIBS=$LIBS
44793 LIBS="-lm  $LIBS"
44794 if test x$gcc_no_link = xyes; then
44795   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44796 fi
44797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h.  */
44799
44800 /* Override any GCC internal prototype to avoid an error.
44801    Use char because int might match the return type of a GCC
44802    builtin and then its argument prototype would still apply.  */
44803 #ifdef __cplusplus
44804 extern "C"
44805 #endif
44806 char sin ();
44807 int
44808 main ()
44809 {
44810 return sin ();
44811   ;
44812   return 0;
44813 }
44814 _ACEOF
44815 if ac_fn_c_try_link "$LINENO"; then :
44816   ac_cv_lib_m_sin=yes
44817 else
44818   ac_cv_lib_m_sin=no
44819 fi
44820 rm -f core conftest.err conftest.$ac_objext \
44821     conftest$ac_exeext conftest.$ac_ext
44822 LIBS=$ac_check_lib_save_LIBS
44823 fi
44824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44825 $as_echo "$ac_cv_lib_m_sin" >&6; }
44826 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44827   libm="-lm"
44828 fi
44829
44830   ac_save_LIBS="$LIBS"
44831   LIBS="$LIBS $libm"
44832
44833
44834
44835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44836 $as_echo_n "checking for isinf declaration... " >&6; }
44837   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44838     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44839   $as_echo_n "(cached) " >&6
44840 else
44841
44842
44843       ac_ext=cpp
44844 ac_cpp='$CXXCPP $CPPFLAGS'
44845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44848
44849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44850 /* end confdefs.h.  */
44851 #include <math.h>
44852                       #ifdef HAVE_IEEEFP_H
44853                       #include <ieeefp.h>
44854                       #endif
44855
44856 int
44857 main ()
44858 {
44859  isinf(0);
44860   ;
44861   return 0;
44862 }
44863 _ACEOF
44864 if ac_fn_cxx_try_compile "$LINENO"; then :
44865   glibcxx_cv_func_isinf_use=yes
44866 else
44867   glibcxx_cv_func_isinf_use=no
44868 fi
44869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44870       ac_ext=c
44871 ac_cpp='$CPP $CPPFLAGS'
44872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44875
44876
44877 fi
44878
44879   fi
44880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44881 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44882
44883   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44884     for ac_func in isinf
44885 do :
44886   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44887 if test "x$ac_cv_func_isinf" = x""yes; then :
44888   cat >>confdefs.h <<_ACEOF
44889 #define HAVE_ISINF 1
44890 _ACEOF
44891
44892 fi
44893 done
44894
44895   else
44896
44897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44898 $as_echo_n "checking for _isinf declaration... " >&6; }
44899   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44900     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44901   $as_echo_n "(cached) " >&6
44902 else
44903
44904
44905       ac_ext=cpp
44906 ac_cpp='$CXXCPP $CPPFLAGS'
44907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44910
44911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44912 /* end confdefs.h.  */
44913 #include <math.h>
44914                       #ifdef HAVE_IEEEFP_H
44915                       #include <ieeefp.h>
44916                       #endif
44917
44918 int
44919 main ()
44920 {
44921  _isinf(0);
44922   ;
44923   return 0;
44924 }
44925 _ACEOF
44926 if ac_fn_cxx_try_compile "$LINENO"; then :
44927   glibcxx_cv_func__isinf_use=yes
44928 else
44929   glibcxx_cv_func__isinf_use=no
44930 fi
44931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932       ac_ext=c
44933 ac_cpp='$CPP $CPPFLAGS'
44934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44937
44938
44939 fi
44940
44941   fi
44942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44943 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44944
44945     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44946       for ac_func in _isinf
44947 do :
44948   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44949 if test "x$ac_cv_func__isinf" = x""yes; then :
44950   cat >>confdefs.h <<_ACEOF
44951 #define HAVE__ISINF 1
44952 _ACEOF
44953
44954 fi
44955 done
44956
44957     fi
44958   fi
44959
44960
44961
44962
44963
44964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44965 $as_echo_n "checking for isnan declaration... " >&6; }
44966   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44967     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44968   $as_echo_n "(cached) " >&6
44969 else
44970
44971
44972       ac_ext=cpp
44973 ac_cpp='$CXXCPP $CPPFLAGS'
44974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44977
44978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44979 /* end confdefs.h.  */
44980 #include <math.h>
44981                       #ifdef HAVE_IEEEFP_H
44982                       #include <ieeefp.h>
44983                       #endif
44984
44985 int
44986 main ()
44987 {
44988  isnan(0);
44989   ;
44990   return 0;
44991 }
44992 _ACEOF
44993 if ac_fn_cxx_try_compile "$LINENO"; then :
44994   glibcxx_cv_func_isnan_use=yes
44995 else
44996   glibcxx_cv_func_isnan_use=no
44997 fi
44998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44999       ac_ext=c
45000 ac_cpp='$CPP $CPPFLAGS'
45001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45004
45005
45006 fi
45007
45008   fi
45009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45010 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45011
45012   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45013     for ac_func in isnan
45014 do :
45015   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45016 if test "x$ac_cv_func_isnan" = x""yes; then :
45017   cat >>confdefs.h <<_ACEOF
45018 #define HAVE_ISNAN 1
45019 _ACEOF
45020
45021 fi
45022 done
45023
45024   else
45025
45026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45027 $as_echo_n "checking for _isnan declaration... " >&6; }
45028   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45029     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45030   $as_echo_n "(cached) " >&6
45031 else
45032
45033
45034       ac_ext=cpp
45035 ac_cpp='$CXXCPP $CPPFLAGS'
45036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45039
45040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45041 /* end confdefs.h.  */
45042 #include <math.h>
45043                       #ifdef HAVE_IEEEFP_H
45044                       #include <ieeefp.h>
45045                       #endif
45046
45047 int
45048 main ()
45049 {
45050  _isnan(0);
45051   ;
45052   return 0;
45053 }
45054 _ACEOF
45055 if ac_fn_cxx_try_compile "$LINENO"; then :
45056   glibcxx_cv_func__isnan_use=yes
45057 else
45058   glibcxx_cv_func__isnan_use=no
45059 fi
45060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45061       ac_ext=c
45062 ac_cpp='$CPP $CPPFLAGS'
45063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45066
45067
45068 fi
45069
45070   fi
45071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45072 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45073
45074     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45075       for ac_func in _isnan
45076 do :
45077   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45078 if test "x$ac_cv_func__isnan" = x""yes; then :
45079   cat >>confdefs.h <<_ACEOF
45080 #define HAVE__ISNAN 1
45081 _ACEOF
45082
45083 fi
45084 done
45085
45086     fi
45087   fi
45088
45089
45090
45091
45092
45093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45094 $as_echo_n "checking for finite declaration... " >&6; }
45095   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45096     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45097   $as_echo_n "(cached) " >&6
45098 else
45099
45100
45101       ac_ext=cpp
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106
45107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45108 /* end confdefs.h.  */
45109 #include <math.h>
45110                       #ifdef HAVE_IEEEFP_H
45111                       #include <ieeefp.h>
45112                       #endif
45113
45114 int
45115 main ()
45116 {
45117  finite(0);
45118   ;
45119   return 0;
45120 }
45121 _ACEOF
45122 if ac_fn_cxx_try_compile "$LINENO"; then :
45123   glibcxx_cv_func_finite_use=yes
45124 else
45125   glibcxx_cv_func_finite_use=no
45126 fi
45127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45128       ac_ext=c
45129 ac_cpp='$CPP $CPPFLAGS'
45130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45133
45134
45135 fi
45136
45137   fi
45138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45139 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45140
45141   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45142     for ac_func in finite
45143 do :
45144   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45145 if test "x$ac_cv_func_finite" = x""yes; then :
45146   cat >>confdefs.h <<_ACEOF
45147 #define HAVE_FINITE 1
45148 _ACEOF
45149
45150 fi
45151 done
45152
45153   else
45154
45155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45156 $as_echo_n "checking for _finite declaration... " >&6; }
45157   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45158     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45159   $as_echo_n "(cached) " >&6
45160 else
45161
45162
45163       ac_ext=cpp
45164 ac_cpp='$CXXCPP $CPPFLAGS'
45165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45168
45169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45170 /* end confdefs.h.  */
45171 #include <math.h>
45172                       #ifdef HAVE_IEEEFP_H
45173                       #include <ieeefp.h>
45174                       #endif
45175
45176 int
45177 main ()
45178 {
45179  _finite(0);
45180   ;
45181   return 0;
45182 }
45183 _ACEOF
45184 if ac_fn_cxx_try_compile "$LINENO"; then :
45185   glibcxx_cv_func__finite_use=yes
45186 else
45187   glibcxx_cv_func__finite_use=no
45188 fi
45189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45190       ac_ext=c
45191 ac_cpp='$CPP $CPPFLAGS'
45192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45195
45196
45197 fi
45198
45199   fi
45200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45201 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45202
45203     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45204       for ac_func in _finite
45205 do :
45206   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45207 if test "x$ac_cv_func__finite" = x""yes; then :
45208   cat >>confdefs.h <<_ACEOF
45209 #define HAVE__FINITE 1
45210 _ACEOF
45211
45212 fi
45213 done
45214
45215     fi
45216   fi
45217
45218
45219
45220
45221
45222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45223 $as_echo_n "checking for sincos declaration... " >&6; }
45224   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45225     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45226   $as_echo_n "(cached) " >&6
45227 else
45228
45229
45230       ac_ext=cpp
45231 ac_cpp='$CXXCPP $CPPFLAGS'
45232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45235
45236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45237 /* end confdefs.h.  */
45238 #include <math.h>
45239 int
45240 main ()
45241 {
45242  sincos(0, 0, 0);
45243   ;
45244   return 0;
45245 }
45246 _ACEOF
45247 if ac_fn_cxx_try_compile "$LINENO"; then :
45248   glibcxx_cv_func_sincos_use=yes
45249 else
45250   glibcxx_cv_func_sincos_use=no
45251 fi
45252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45253       ac_ext=c
45254 ac_cpp='$CPP $CPPFLAGS'
45255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45258
45259
45260 fi
45261
45262   fi
45263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45264 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45265
45266   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45267     for ac_func in sincos
45268 do :
45269   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45270 if test "x$ac_cv_func_sincos" = x""yes; then :
45271   cat >>confdefs.h <<_ACEOF
45272 #define HAVE_SINCOS 1
45273 _ACEOF
45274
45275 fi
45276 done
45277
45278   else
45279
45280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45281 $as_echo_n "checking for _sincos declaration... " >&6; }
45282   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45283     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45284   $as_echo_n "(cached) " >&6
45285 else
45286
45287
45288       ac_ext=cpp
45289 ac_cpp='$CXXCPP $CPPFLAGS'
45290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45293
45294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45295 /* end confdefs.h.  */
45296 #include <math.h>
45297 int
45298 main ()
45299 {
45300  _sincos(0, 0, 0);
45301   ;
45302   return 0;
45303 }
45304 _ACEOF
45305 if ac_fn_cxx_try_compile "$LINENO"; then :
45306   glibcxx_cv_func__sincos_use=yes
45307 else
45308   glibcxx_cv_func__sincos_use=no
45309 fi
45310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311       ac_ext=c
45312 ac_cpp='$CPP $CPPFLAGS'
45313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45316
45317
45318 fi
45319
45320   fi
45321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45322 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45323
45324     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45325       for ac_func in _sincos
45326 do :
45327   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45328 if test "x$ac_cv_func__sincos" = x""yes; then :
45329   cat >>confdefs.h <<_ACEOF
45330 #define HAVE__SINCOS 1
45331 _ACEOF
45332
45333 fi
45334 done
45335
45336     fi
45337   fi
45338
45339
45340
45341
45342
45343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45344 $as_echo_n "checking for fpclass declaration... " >&6; }
45345   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45346     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45347   $as_echo_n "(cached) " >&6
45348 else
45349
45350
45351       ac_ext=cpp
45352 ac_cpp='$CXXCPP $CPPFLAGS'
45353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45356
45357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45358 /* end confdefs.h.  */
45359 #include <math.h>
45360                       #ifdef HAVE_IEEEFP_H
45361                       #include <ieeefp.h>
45362                       #endif
45363
45364 int
45365 main ()
45366 {
45367  fpclass(0);
45368   ;
45369   return 0;
45370 }
45371 _ACEOF
45372 if ac_fn_cxx_try_compile "$LINENO"; then :
45373   glibcxx_cv_func_fpclass_use=yes
45374 else
45375   glibcxx_cv_func_fpclass_use=no
45376 fi
45377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45378       ac_ext=c
45379 ac_cpp='$CPP $CPPFLAGS'
45380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45383
45384
45385 fi
45386
45387   fi
45388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45389 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45390
45391   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45392     for ac_func in fpclass
45393 do :
45394   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45395 if test "x$ac_cv_func_fpclass" = x""yes; then :
45396   cat >>confdefs.h <<_ACEOF
45397 #define HAVE_FPCLASS 1
45398 _ACEOF
45399
45400 fi
45401 done
45402
45403   else
45404
45405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45406 $as_echo_n "checking for _fpclass declaration... " >&6; }
45407   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45408     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45409   $as_echo_n "(cached) " >&6
45410 else
45411
45412
45413       ac_ext=cpp
45414 ac_cpp='$CXXCPP $CPPFLAGS'
45415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418
45419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45420 /* end confdefs.h.  */
45421 #include <math.h>
45422                       #ifdef HAVE_IEEEFP_H
45423                       #include <ieeefp.h>
45424                       #endif
45425
45426 int
45427 main ()
45428 {
45429  _fpclass(0);
45430   ;
45431   return 0;
45432 }
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435   glibcxx_cv_func__fpclass_use=yes
45436 else
45437   glibcxx_cv_func__fpclass_use=no
45438 fi
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440       ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447 fi
45448
45449   fi
45450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45451 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45452
45453     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45454       for ac_func in _fpclass
45455 do :
45456   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45457 if test "x$ac_cv_func__fpclass" = x""yes; then :
45458   cat >>confdefs.h <<_ACEOF
45459 #define HAVE__FPCLASS 1
45460 _ACEOF
45461
45462 fi
45463 done
45464
45465     fi
45466   fi
45467
45468
45469
45470
45471
45472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45473 $as_echo_n "checking for qfpclass declaration... " >&6; }
45474   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45475     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45476   $as_echo_n "(cached) " >&6
45477 else
45478
45479
45480       ac_ext=cpp
45481 ac_cpp='$CXXCPP $CPPFLAGS'
45482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45485
45486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45487 /* end confdefs.h.  */
45488 #include <math.h>
45489                       #ifdef HAVE_IEEEFP_H
45490                       #include <ieeefp.h>
45491                       #endif
45492
45493 int
45494 main ()
45495 {
45496  qfpclass(0);
45497   ;
45498   return 0;
45499 }
45500 _ACEOF
45501 if ac_fn_cxx_try_compile "$LINENO"; then :
45502   glibcxx_cv_func_qfpclass_use=yes
45503 else
45504   glibcxx_cv_func_qfpclass_use=no
45505 fi
45506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45507       ac_ext=c
45508 ac_cpp='$CPP $CPPFLAGS'
45509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45512
45513
45514 fi
45515
45516   fi
45517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45518 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45519
45520   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45521     for ac_func in qfpclass
45522 do :
45523   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45524 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45525   cat >>confdefs.h <<_ACEOF
45526 #define HAVE_QFPCLASS 1
45527 _ACEOF
45528
45529 fi
45530 done
45531
45532   else
45533
45534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45535 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45536   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45537     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45538   $as_echo_n "(cached) " >&6
45539 else
45540
45541
45542       ac_ext=cpp
45543 ac_cpp='$CXXCPP $CPPFLAGS'
45544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45547
45548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45549 /* end confdefs.h.  */
45550 #include <math.h>
45551                       #ifdef HAVE_IEEEFP_H
45552                       #include <ieeefp.h>
45553                       #endif
45554
45555 int
45556 main ()
45557 {
45558  _qfpclass(0);
45559   ;
45560   return 0;
45561 }
45562 _ACEOF
45563 if ac_fn_cxx_try_compile "$LINENO"; then :
45564   glibcxx_cv_func__qfpclass_use=yes
45565 else
45566   glibcxx_cv_func__qfpclass_use=no
45567 fi
45568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45569       ac_ext=c
45570 ac_cpp='$CPP $CPPFLAGS'
45571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45574
45575
45576 fi
45577
45578   fi
45579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45580 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45581
45582     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45583       for ac_func in _qfpclass
45584 do :
45585   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45586 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45587   cat >>confdefs.h <<_ACEOF
45588 #define HAVE__QFPCLASS 1
45589 _ACEOF
45590
45591 fi
45592 done
45593
45594     fi
45595   fi
45596
45597
45598
45599
45600
45601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45602 $as_echo_n "checking for hypot declaration... " >&6; }
45603   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45604     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45605   $as_echo_n "(cached) " >&6
45606 else
45607
45608
45609       ac_ext=cpp
45610 ac_cpp='$CXXCPP $CPPFLAGS'
45611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45614
45615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h.  */
45617 #include <math.h>
45618 int
45619 main ()
45620 {
45621  hypot(0, 0);
45622   ;
45623   return 0;
45624 }
45625 _ACEOF
45626 if ac_fn_cxx_try_compile "$LINENO"; then :
45627   glibcxx_cv_func_hypot_use=yes
45628 else
45629   glibcxx_cv_func_hypot_use=no
45630 fi
45631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45632       ac_ext=c
45633 ac_cpp='$CPP $CPPFLAGS'
45634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45637
45638
45639 fi
45640
45641   fi
45642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45643 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45644
45645   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45646     for ac_func in hypot
45647 do :
45648   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45649 if test "x$ac_cv_func_hypot" = x""yes; then :
45650   cat >>confdefs.h <<_ACEOF
45651 #define HAVE_HYPOT 1
45652 _ACEOF
45653
45654 fi
45655 done
45656
45657   else
45658
45659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45660 $as_echo_n "checking for _hypot declaration... " >&6; }
45661   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45662     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45663   $as_echo_n "(cached) " >&6
45664 else
45665
45666
45667       ac_ext=cpp
45668 ac_cpp='$CXXCPP $CPPFLAGS'
45669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45672
45673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45674 /* end confdefs.h.  */
45675 #include <math.h>
45676 int
45677 main ()
45678 {
45679  _hypot(0, 0);
45680   ;
45681   return 0;
45682 }
45683 _ACEOF
45684 if ac_fn_cxx_try_compile "$LINENO"; then :
45685   glibcxx_cv_func__hypot_use=yes
45686 else
45687   glibcxx_cv_func__hypot_use=no
45688 fi
45689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45690       ac_ext=c
45691 ac_cpp='$CPP $CPPFLAGS'
45692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45695
45696
45697 fi
45698
45699   fi
45700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45701 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45702
45703     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45704       for ac_func in _hypot
45705 do :
45706   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45707 if test "x$ac_cv_func__hypot" = x""yes; then :
45708   cat >>confdefs.h <<_ACEOF
45709 #define HAVE__HYPOT 1
45710 _ACEOF
45711
45712 fi
45713 done
45714
45715     fi
45716   fi
45717
45718
45719
45720
45721
45722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45723 $as_echo_n "checking for float trig functions... " >&6; }
45724   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45725   $as_echo_n "(cached) " >&6
45726 else
45727
45728
45729     ac_ext=cpp
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734
45735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45736 /* end confdefs.h.  */
45737 #include <math.h>
45738 int
45739 main ()
45740 {
45741 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45742   ;
45743   return 0;
45744 }
45745 _ACEOF
45746 if ac_fn_cxx_try_compile "$LINENO"; then :
45747   glibcxx_cv_func_float_trig_use=yes
45748 else
45749   glibcxx_cv_func_float_trig_use=no
45750 fi
45751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45752     ac_ext=c
45753 ac_cpp='$CPP $CPPFLAGS'
45754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45757
45758 fi
45759
45760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45761 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45762   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45763     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45764 do :
45765   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45767 eval as_val=\$$as_ac_var
45768    if test "x$as_val" = x""yes; then :
45769   cat >>confdefs.h <<_ACEOF
45770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45771 _ACEOF
45772
45773 fi
45774 done
45775
45776   else
45777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45778 $as_echo_n "checking for _float trig functions... " >&6; }
45779     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45780   $as_echo_n "(cached) " >&6
45781 else
45782
45783
45784       ac_ext=cpp
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45789
45790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45791 /* end confdefs.h.  */
45792 #include <math.h>
45793 int
45794 main ()
45795 {
45796 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45797   ;
45798   return 0;
45799 }
45800 _ACEOF
45801 if ac_fn_cxx_try_compile "$LINENO"; then :
45802   glibcxx_cv_func__float_trig_use=yes
45803 else
45804   glibcxx_cv_func__float_trig_use=no
45805 fi
45806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807       ac_ext=c
45808 ac_cpp='$CPP $CPPFLAGS'
45809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812
45813 fi
45814
45815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45816 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45817     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45818       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45819 do :
45820   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45822 eval as_val=\$$as_ac_var
45823    if test "x$as_val" = x""yes; then :
45824   cat >>confdefs.h <<_ACEOF
45825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45826 _ACEOF
45827
45828 fi
45829 done
45830
45831     fi
45832   fi
45833
45834
45835
45836
45837
45838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45839 $as_echo_n "checking for float round functions... " >&6; }
45840   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45841   $as_echo_n "(cached) " >&6
45842 else
45843
45844
45845     ac_ext=cpp
45846 ac_cpp='$CXXCPP $CPPFLAGS'
45847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45850
45851     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45852 /* end confdefs.h.  */
45853 #include <math.h>
45854 int
45855 main ()
45856 {
45857 ceilf (0); floorf (0);
45858   ;
45859   return 0;
45860 }
45861 _ACEOF
45862 if ac_fn_cxx_try_compile "$LINENO"; then :
45863   glibcxx_cv_func_float_round_use=yes
45864 else
45865   glibcxx_cv_func_float_round_use=no
45866 fi
45867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45868     ac_ext=c
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873
45874 fi
45875
45876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45877 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45878   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45879     for ac_func in ceilf floorf
45880 do :
45881   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45883 eval as_val=\$$as_ac_var
45884    if test "x$as_val" = x""yes; then :
45885   cat >>confdefs.h <<_ACEOF
45886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45887 _ACEOF
45888
45889 fi
45890 done
45891
45892   else
45893     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45894 $as_echo_n "checking for _float round functions... " >&6; }
45895     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45896   $as_echo_n "(cached) " >&6
45897 else
45898
45899
45900       ac_ext=cpp
45901 ac_cpp='$CXXCPP $CPPFLAGS'
45902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45905
45906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45907 /* end confdefs.h.  */
45908 #include <math.h>
45909 int
45910 main ()
45911 {
45912 _ceilf (0); _floorf (0);
45913   ;
45914   return 0;
45915 }
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918   glibcxx_cv_func__float_round_use=yes
45919 else
45920   glibcxx_cv_func__float_round_use=no
45921 fi
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923       ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928
45929 fi
45930
45931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45932 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45933     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45934       for ac_func in _ceilf _floorf
45935 do :
45936   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45938 eval as_val=\$$as_ac_var
45939    if test "x$as_val" = x""yes; then :
45940   cat >>confdefs.h <<_ACEOF
45941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45942 _ACEOF
45943
45944 fi
45945 done
45946
45947     fi
45948   fi
45949
45950
45951
45952
45953
45954
45955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45956 $as_echo_n "checking for expf declaration... " >&6; }
45957   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45958     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45959   $as_echo_n "(cached) " >&6
45960 else
45961
45962
45963       ac_ext=cpp
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968
45969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45970 /* end confdefs.h.  */
45971 #include <math.h>
45972                       #ifdef HAVE_IEEEFP_H
45973                       #include <ieeefp.h>
45974                       #endif
45975
45976 int
45977 main ()
45978 {
45979  expf(0);
45980   ;
45981   return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985   glibcxx_cv_func_expf_use=yes
45986 else
45987   glibcxx_cv_func_expf_use=no
45988 fi
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990       ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995
45996
45997 fi
45998
45999   fi
46000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46001 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46002
46003   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46004     for ac_func in expf
46005 do :
46006   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46007 if test "x$ac_cv_func_expf" = x""yes; then :
46008   cat >>confdefs.h <<_ACEOF
46009 #define HAVE_EXPF 1
46010 _ACEOF
46011
46012 fi
46013 done
46014
46015   else
46016
46017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46018 $as_echo_n "checking for _expf declaration... " >&6; }
46019   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46020     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46021   $as_echo_n "(cached) " >&6
46022 else
46023
46024
46025       ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030
46031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h.  */
46033 #include <math.h>
46034                       #ifdef HAVE_IEEEFP_H
46035                       #include <ieeefp.h>
46036                       #endif
46037
46038 int
46039 main ()
46040 {
46041  _expf(0);
46042   ;
46043   return 0;
46044 }
46045 _ACEOF
46046 if ac_fn_cxx_try_compile "$LINENO"; then :
46047   glibcxx_cv_func__expf_use=yes
46048 else
46049   glibcxx_cv_func__expf_use=no
46050 fi
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052       ac_ext=c
46053 ac_cpp='$CPP $CPPFLAGS'
46054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057
46058
46059 fi
46060
46061   fi
46062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46063 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46064
46065     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46066       for ac_func in _expf
46067 do :
46068   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46069 if test "x$ac_cv_func__expf" = x""yes; then :
46070   cat >>confdefs.h <<_ACEOF
46071 #define HAVE__EXPF 1
46072 _ACEOF
46073
46074 fi
46075 done
46076
46077     fi
46078   fi
46079
46080
46081
46082
46083
46084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46085 $as_echo_n "checking for isnanf declaration... " >&6; }
46086   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46087     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46088   $as_echo_n "(cached) " >&6
46089 else
46090
46091
46092       ac_ext=cpp
46093 ac_cpp='$CXXCPP $CPPFLAGS'
46094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46097
46098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h.  */
46100 #include <math.h>
46101                       #ifdef HAVE_IEEEFP_H
46102                       #include <ieeefp.h>
46103                       #endif
46104
46105 int
46106 main ()
46107 {
46108  isnanf(0);
46109   ;
46110   return 0;
46111 }
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114   glibcxx_cv_func_isnanf_use=yes
46115 else
46116   glibcxx_cv_func_isnanf_use=no
46117 fi
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119       ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46124
46125
46126 fi
46127
46128   fi
46129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46130 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46131
46132   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46133     for ac_func in isnanf
46134 do :
46135   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46136 if test "x$ac_cv_func_isnanf" = x""yes; then :
46137   cat >>confdefs.h <<_ACEOF
46138 #define HAVE_ISNANF 1
46139 _ACEOF
46140
46141 fi
46142 done
46143
46144   else
46145
46146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46147 $as_echo_n "checking for _isnanf declaration... " >&6; }
46148   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46149     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46150   $as_echo_n "(cached) " >&6
46151 else
46152
46153
46154       ac_ext=cpp
46155 ac_cpp='$CXXCPP $CPPFLAGS'
46156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46159
46160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46161 /* end confdefs.h.  */
46162 #include <math.h>
46163                       #ifdef HAVE_IEEEFP_H
46164                       #include <ieeefp.h>
46165                       #endif
46166
46167 int
46168 main ()
46169 {
46170  _isnanf(0);
46171   ;
46172   return 0;
46173 }
46174 _ACEOF
46175 if ac_fn_cxx_try_compile "$LINENO"; then :
46176   glibcxx_cv_func__isnanf_use=yes
46177 else
46178   glibcxx_cv_func__isnanf_use=no
46179 fi
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181       ac_ext=c
46182 ac_cpp='$CPP $CPPFLAGS'
46183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46186
46187
46188 fi
46189
46190   fi
46191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46192 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46193
46194     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46195       for ac_func in _isnanf
46196 do :
46197   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46198 if test "x$ac_cv_func__isnanf" = x""yes; then :
46199   cat >>confdefs.h <<_ACEOF
46200 #define HAVE__ISNANF 1
46201 _ACEOF
46202
46203 fi
46204 done
46205
46206     fi
46207   fi
46208
46209
46210
46211
46212
46213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46214 $as_echo_n "checking for isinff declaration... " >&6; }
46215   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46216     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46217   $as_echo_n "(cached) " >&6
46218 else
46219
46220
46221       ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46226
46227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h.  */
46229 #include <math.h>
46230                       #ifdef HAVE_IEEEFP_H
46231                       #include <ieeefp.h>
46232                       #endif
46233
46234 int
46235 main ()
46236 {
46237  isinff(0);
46238   ;
46239   return 0;
46240 }
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243   glibcxx_cv_func_isinff_use=yes
46244 else
46245   glibcxx_cv_func_isinff_use=no
46246 fi
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248       ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46253
46254
46255 fi
46256
46257   fi
46258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46259 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46260
46261   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46262     for ac_func in isinff
46263 do :
46264   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46265 if test "x$ac_cv_func_isinff" = x""yes; then :
46266   cat >>confdefs.h <<_ACEOF
46267 #define HAVE_ISINFF 1
46268 _ACEOF
46269
46270 fi
46271 done
46272
46273   else
46274
46275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46276 $as_echo_n "checking for _isinff declaration... " >&6; }
46277   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46278     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46279   $as_echo_n "(cached) " >&6
46280 else
46281
46282
46283       ac_ext=cpp
46284 ac_cpp='$CXXCPP $CPPFLAGS'
46285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46288
46289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290 /* end confdefs.h.  */
46291 #include <math.h>
46292                       #ifdef HAVE_IEEEFP_H
46293                       #include <ieeefp.h>
46294                       #endif
46295
46296 int
46297 main ()
46298 {
46299  _isinff(0);
46300   ;
46301   return 0;
46302 }
46303 _ACEOF
46304 if ac_fn_cxx_try_compile "$LINENO"; then :
46305   glibcxx_cv_func__isinff_use=yes
46306 else
46307   glibcxx_cv_func__isinff_use=no
46308 fi
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310       ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46315
46316
46317 fi
46318
46319   fi
46320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46321 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46322
46323     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46324       for ac_func in _isinff
46325 do :
46326   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46327 if test "x$ac_cv_func__isinff" = x""yes; then :
46328   cat >>confdefs.h <<_ACEOF
46329 #define HAVE__ISINFF 1
46330 _ACEOF
46331
46332 fi
46333 done
46334
46335     fi
46336   fi
46337
46338
46339
46340
46341
46342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46343 $as_echo_n "checking for atan2f declaration... " >&6; }
46344   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46345     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46346   $as_echo_n "(cached) " >&6
46347 else
46348
46349
46350       ac_ext=cpp
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355
46356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46357 /* end confdefs.h.  */
46358 #include <math.h>
46359 int
46360 main ()
46361 {
46362  atan2f(0, 0);
46363   ;
46364   return 0;
46365 }
46366 _ACEOF
46367 if ac_fn_cxx_try_compile "$LINENO"; then :
46368   glibcxx_cv_func_atan2f_use=yes
46369 else
46370   glibcxx_cv_func_atan2f_use=no
46371 fi
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373       ac_ext=c
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378
46379
46380 fi
46381
46382   fi
46383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46384 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46385
46386   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46387     for ac_func in atan2f
46388 do :
46389   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46390 if test "x$ac_cv_func_atan2f" = x""yes; then :
46391   cat >>confdefs.h <<_ACEOF
46392 #define HAVE_ATAN2F 1
46393 _ACEOF
46394
46395 fi
46396 done
46397
46398   else
46399
46400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46401 $as_echo_n "checking for _atan2f declaration... " >&6; }
46402   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46403     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46404   $as_echo_n "(cached) " >&6
46405 else
46406
46407
46408       ac_ext=cpp
46409 ac_cpp='$CXXCPP $CPPFLAGS'
46410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46413
46414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46415 /* end confdefs.h.  */
46416 #include <math.h>
46417 int
46418 main ()
46419 {
46420  _atan2f(0, 0);
46421   ;
46422   return 0;
46423 }
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426   glibcxx_cv_func__atan2f_use=yes
46427 else
46428   glibcxx_cv_func__atan2f_use=no
46429 fi
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431       ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436
46437
46438 fi
46439
46440   fi
46441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46442 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46443
46444     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46445       for ac_func in _atan2f
46446 do :
46447   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46448 if test "x$ac_cv_func__atan2f" = x""yes; then :
46449   cat >>confdefs.h <<_ACEOF
46450 #define HAVE__ATAN2F 1
46451 _ACEOF
46452
46453 fi
46454 done
46455
46456     fi
46457   fi
46458
46459
46460
46461
46462
46463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46464 $as_echo_n "checking for fabsf declaration... " >&6; }
46465   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46466     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46467   $as_echo_n "(cached) " >&6
46468 else
46469
46470
46471       ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h.  */
46479 #include <math.h>
46480                       #ifdef HAVE_IEEEFP_H
46481                       #include <ieeefp.h>
46482                       #endif
46483
46484 int
46485 main ()
46486 {
46487  fabsf(0);
46488   ;
46489   return 0;
46490 }
46491 _ACEOF
46492 if ac_fn_cxx_try_compile "$LINENO"; then :
46493   glibcxx_cv_func_fabsf_use=yes
46494 else
46495   glibcxx_cv_func_fabsf_use=no
46496 fi
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46498       ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46503
46504
46505 fi
46506
46507   fi
46508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46509 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46510
46511   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46512     for ac_func in fabsf
46513 do :
46514   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46515 if test "x$ac_cv_func_fabsf" = x""yes; then :
46516   cat >>confdefs.h <<_ACEOF
46517 #define HAVE_FABSF 1
46518 _ACEOF
46519
46520 fi
46521 done
46522
46523   else
46524
46525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46526 $as_echo_n "checking for _fabsf declaration... " >&6; }
46527   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46528     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46529   $as_echo_n "(cached) " >&6
46530 else
46531
46532
46533       ac_ext=cpp
46534 ac_cpp='$CXXCPP $CPPFLAGS'
46535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538
46539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46540 /* end confdefs.h.  */
46541 #include <math.h>
46542                       #ifdef HAVE_IEEEFP_H
46543                       #include <ieeefp.h>
46544                       #endif
46545
46546 int
46547 main ()
46548 {
46549  _fabsf(0);
46550   ;
46551   return 0;
46552 }
46553 _ACEOF
46554 if ac_fn_cxx_try_compile "$LINENO"; then :
46555   glibcxx_cv_func__fabsf_use=yes
46556 else
46557   glibcxx_cv_func__fabsf_use=no
46558 fi
46559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46560       ac_ext=c
46561 ac_cpp='$CPP $CPPFLAGS'
46562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46565
46566
46567 fi
46568
46569   fi
46570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46571 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46572
46573     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46574       for ac_func in _fabsf
46575 do :
46576   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46577 if test "x$ac_cv_func__fabsf" = x""yes; then :
46578   cat >>confdefs.h <<_ACEOF
46579 #define HAVE__FABSF 1
46580 _ACEOF
46581
46582 fi
46583 done
46584
46585     fi
46586   fi
46587
46588
46589
46590
46591
46592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46593 $as_echo_n "checking for fmodf declaration... " >&6; }
46594   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46595     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46596   $as_echo_n "(cached) " >&6
46597 else
46598
46599
46600       ac_ext=cpp
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46605
46606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46607 /* end confdefs.h.  */
46608 #include <math.h>
46609 int
46610 main ()
46611 {
46612  fmodf(0, 0);
46613   ;
46614   return 0;
46615 }
46616 _ACEOF
46617 if ac_fn_cxx_try_compile "$LINENO"; then :
46618   glibcxx_cv_func_fmodf_use=yes
46619 else
46620   glibcxx_cv_func_fmodf_use=no
46621 fi
46622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46623       ac_ext=c
46624 ac_cpp='$CPP $CPPFLAGS'
46625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46628
46629
46630 fi
46631
46632   fi
46633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46634 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46635
46636   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46637     for ac_func in fmodf
46638 do :
46639   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46640 if test "x$ac_cv_func_fmodf" = x""yes; then :
46641   cat >>confdefs.h <<_ACEOF
46642 #define HAVE_FMODF 1
46643 _ACEOF
46644
46645 fi
46646 done
46647
46648   else
46649
46650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46651 $as_echo_n "checking for _fmodf declaration... " >&6; }
46652   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46653     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46654   $as_echo_n "(cached) " >&6
46655 else
46656
46657
46658       ac_ext=cpp
46659 ac_cpp='$CXXCPP $CPPFLAGS'
46660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46663
46664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46665 /* end confdefs.h.  */
46666 #include <math.h>
46667 int
46668 main ()
46669 {
46670  _fmodf(0, 0);
46671   ;
46672   return 0;
46673 }
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676   glibcxx_cv_func__fmodf_use=yes
46677 else
46678   glibcxx_cv_func__fmodf_use=no
46679 fi
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681       ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46686
46687
46688 fi
46689
46690   fi
46691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46692 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46693
46694     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46695       for ac_func in _fmodf
46696 do :
46697   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46698 if test "x$ac_cv_func__fmodf" = x""yes; then :
46699   cat >>confdefs.h <<_ACEOF
46700 #define HAVE__FMODF 1
46701 _ACEOF
46702
46703 fi
46704 done
46705
46706     fi
46707   fi
46708
46709
46710
46711
46712
46713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46714 $as_echo_n "checking for frexpf declaration... " >&6; }
46715   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46716     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46717   $as_echo_n "(cached) " >&6
46718 else
46719
46720
46721       ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46726
46727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h.  */
46729 #include <math.h>
46730 int
46731 main ()
46732 {
46733  frexpf(0, 0);
46734   ;
46735   return 0;
46736 }
46737 _ACEOF
46738 if ac_fn_cxx_try_compile "$LINENO"; then :
46739   glibcxx_cv_func_frexpf_use=yes
46740 else
46741   glibcxx_cv_func_frexpf_use=no
46742 fi
46743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744       ac_ext=c
46745 ac_cpp='$CPP $CPPFLAGS'
46746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46749
46750
46751 fi
46752
46753   fi
46754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46755 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46756
46757   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46758     for ac_func in frexpf
46759 do :
46760   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46761 if test "x$ac_cv_func_frexpf" = x""yes; then :
46762   cat >>confdefs.h <<_ACEOF
46763 #define HAVE_FREXPF 1
46764 _ACEOF
46765
46766 fi
46767 done
46768
46769   else
46770
46771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46772 $as_echo_n "checking for _frexpf declaration... " >&6; }
46773   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46774     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46775   $as_echo_n "(cached) " >&6
46776 else
46777
46778
46779       ac_ext=cpp
46780 ac_cpp='$CXXCPP $CPPFLAGS'
46781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46784
46785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46786 /* end confdefs.h.  */
46787 #include <math.h>
46788 int
46789 main ()
46790 {
46791  _frexpf(0, 0);
46792   ;
46793   return 0;
46794 }
46795 _ACEOF
46796 if ac_fn_cxx_try_compile "$LINENO"; then :
46797   glibcxx_cv_func__frexpf_use=yes
46798 else
46799   glibcxx_cv_func__frexpf_use=no
46800 fi
46801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46802       ac_ext=c
46803 ac_cpp='$CPP $CPPFLAGS'
46804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46807
46808
46809 fi
46810
46811   fi
46812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46813 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46814
46815     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46816       for ac_func in _frexpf
46817 do :
46818   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46819 if test "x$ac_cv_func__frexpf" = x""yes; then :
46820   cat >>confdefs.h <<_ACEOF
46821 #define HAVE__FREXPF 1
46822 _ACEOF
46823
46824 fi
46825 done
46826
46827     fi
46828   fi
46829
46830
46831
46832
46833
46834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46835 $as_echo_n "checking for hypotf declaration... " >&6; }
46836   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46837     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46838   $as_echo_n "(cached) " >&6
46839 else
46840
46841
46842       ac_ext=cpp
46843 ac_cpp='$CXXCPP $CPPFLAGS'
46844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46847
46848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46849 /* end confdefs.h.  */
46850 #include <math.h>
46851 int
46852 main ()
46853 {
46854  hypotf(0, 0);
46855   ;
46856   return 0;
46857 }
46858 _ACEOF
46859 if ac_fn_cxx_try_compile "$LINENO"; then :
46860   glibcxx_cv_func_hypotf_use=yes
46861 else
46862   glibcxx_cv_func_hypotf_use=no
46863 fi
46864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46865       ac_ext=c
46866 ac_cpp='$CPP $CPPFLAGS'
46867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46870
46871
46872 fi
46873
46874   fi
46875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46876 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46877
46878   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46879     for ac_func in hypotf
46880 do :
46881   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46882 if test "x$ac_cv_func_hypotf" = x""yes; then :
46883   cat >>confdefs.h <<_ACEOF
46884 #define HAVE_HYPOTF 1
46885 _ACEOF
46886
46887 fi
46888 done
46889
46890   else
46891
46892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46893 $as_echo_n "checking for _hypotf declaration... " >&6; }
46894   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46895     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46896   $as_echo_n "(cached) " >&6
46897 else
46898
46899
46900       ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905
46906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h.  */
46908 #include <math.h>
46909 int
46910 main ()
46911 {
46912  _hypotf(0, 0);
46913   ;
46914   return 0;
46915 }
46916 _ACEOF
46917 if ac_fn_cxx_try_compile "$LINENO"; then :
46918   glibcxx_cv_func__hypotf_use=yes
46919 else
46920   glibcxx_cv_func__hypotf_use=no
46921 fi
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46923       ac_ext=c
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46928
46929
46930 fi
46931
46932   fi
46933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46934 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46935
46936     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46937       for ac_func in _hypotf
46938 do :
46939   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46940 if test "x$ac_cv_func__hypotf" = x""yes; then :
46941   cat >>confdefs.h <<_ACEOF
46942 #define HAVE__HYPOTF 1
46943 _ACEOF
46944
46945 fi
46946 done
46947
46948     fi
46949   fi
46950
46951
46952
46953
46954
46955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46956 $as_echo_n "checking for ldexpf declaration... " >&6; }
46957   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46958     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46959   $as_echo_n "(cached) " >&6
46960 else
46961
46962
46963       ac_ext=cpp
46964 ac_cpp='$CXXCPP $CPPFLAGS'
46965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46968
46969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46970 /* end confdefs.h.  */
46971 #include <math.h>
46972 int
46973 main ()
46974 {
46975  ldexpf(0, 0);
46976   ;
46977   return 0;
46978 }
46979 _ACEOF
46980 if ac_fn_cxx_try_compile "$LINENO"; then :
46981   glibcxx_cv_func_ldexpf_use=yes
46982 else
46983   glibcxx_cv_func_ldexpf_use=no
46984 fi
46985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46986       ac_ext=c
46987 ac_cpp='$CPP $CPPFLAGS'
46988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991
46992
46993 fi
46994
46995   fi
46996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46997 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46998
46999   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47000     for ac_func in ldexpf
47001 do :
47002   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47003 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47004   cat >>confdefs.h <<_ACEOF
47005 #define HAVE_LDEXPF 1
47006 _ACEOF
47007
47008 fi
47009 done
47010
47011   else
47012
47013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47014 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47015   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47016     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47017   $as_echo_n "(cached) " >&6
47018 else
47019
47020
47021       ac_ext=cpp
47022 ac_cpp='$CXXCPP $CPPFLAGS'
47023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47026
47027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47028 /* end confdefs.h.  */
47029 #include <math.h>
47030 int
47031 main ()
47032 {
47033  _ldexpf(0, 0);
47034   ;
47035   return 0;
47036 }
47037 _ACEOF
47038 if ac_fn_cxx_try_compile "$LINENO"; then :
47039   glibcxx_cv_func__ldexpf_use=yes
47040 else
47041   glibcxx_cv_func__ldexpf_use=no
47042 fi
47043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47044       ac_ext=c
47045 ac_cpp='$CPP $CPPFLAGS'
47046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47049
47050
47051 fi
47052
47053   fi
47054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47055 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47056
47057     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47058       for ac_func in _ldexpf
47059 do :
47060   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47061 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47062   cat >>confdefs.h <<_ACEOF
47063 #define HAVE__LDEXPF 1
47064 _ACEOF
47065
47066 fi
47067 done
47068
47069     fi
47070   fi
47071
47072
47073
47074
47075
47076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47077 $as_echo_n "checking for logf declaration... " >&6; }
47078   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47079     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47080   $as_echo_n "(cached) " >&6
47081 else
47082
47083
47084       ac_ext=cpp
47085 ac_cpp='$CXXCPP $CPPFLAGS'
47086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47089
47090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47091 /* end confdefs.h.  */
47092 #include <math.h>
47093                       #ifdef HAVE_IEEEFP_H
47094                       #include <ieeefp.h>
47095                       #endif
47096
47097 int
47098 main ()
47099 {
47100  logf(0);
47101   ;
47102   return 0;
47103 }
47104 _ACEOF
47105 if ac_fn_cxx_try_compile "$LINENO"; then :
47106   glibcxx_cv_func_logf_use=yes
47107 else
47108   glibcxx_cv_func_logf_use=no
47109 fi
47110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47111       ac_ext=c
47112 ac_cpp='$CPP $CPPFLAGS'
47113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47116
47117
47118 fi
47119
47120   fi
47121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47122 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47123
47124   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47125     for ac_func in logf
47126 do :
47127   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47128 if test "x$ac_cv_func_logf" = x""yes; then :
47129   cat >>confdefs.h <<_ACEOF
47130 #define HAVE_LOGF 1
47131 _ACEOF
47132
47133 fi
47134 done
47135
47136   else
47137
47138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47139 $as_echo_n "checking for _logf declaration... " >&6; }
47140   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47141     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47142   $as_echo_n "(cached) " >&6
47143 else
47144
47145
47146       ac_ext=cpp
47147 ac_cpp='$CXXCPP $CPPFLAGS'
47148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47151
47152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47153 /* end confdefs.h.  */
47154 #include <math.h>
47155                       #ifdef HAVE_IEEEFP_H
47156                       #include <ieeefp.h>
47157                       #endif
47158
47159 int
47160 main ()
47161 {
47162  _logf(0);
47163   ;
47164   return 0;
47165 }
47166 _ACEOF
47167 if ac_fn_cxx_try_compile "$LINENO"; then :
47168   glibcxx_cv_func__logf_use=yes
47169 else
47170   glibcxx_cv_func__logf_use=no
47171 fi
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173       ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178
47179
47180 fi
47181
47182   fi
47183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47184 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47185
47186     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47187       for ac_func in _logf
47188 do :
47189   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47190 if test "x$ac_cv_func__logf" = x""yes; then :
47191   cat >>confdefs.h <<_ACEOF
47192 #define HAVE__LOGF 1
47193 _ACEOF
47194
47195 fi
47196 done
47197
47198     fi
47199   fi
47200
47201
47202
47203
47204
47205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47206 $as_echo_n "checking for log10f declaration... " >&6; }
47207   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47208     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47209   $as_echo_n "(cached) " >&6
47210 else
47211
47212
47213       ac_ext=cpp
47214 ac_cpp='$CXXCPP $CPPFLAGS'
47215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47218
47219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47220 /* end confdefs.h.  */
47221 #include <math.h>
47222                       #ifdef HAVE_IEEEFP_H
47223                       #include <ieeefp.h>
47224                       #endif
47225
47226 int
47227 main ()
47228 {
47229  log10f(0);
47230   ;
47231   return 0;
47232 }
47233 _ACEOF
47234 if ac_fn_cxx_try_compile "$LINENO"; then :
47235   glibcxx_cv_func_log10f_use=yes
47236 else
47237   glibcxx_cv_func_log10f_use=no
47238 fi
47239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47240       ac_ext=c
47241 ac_cpp='$CPP $CPPFLAGS'
47242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47245
47246
47247 fi
47248
47249   fi
47250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47251 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47252
47253   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47254     for ac_func in log10f
47255 do :
47256   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47257 if test "x$ac_cv_func_log10f" = x""yes; then :
47258   cat >>confdefs.h <<_ACEOF
47259 #define HAVE_LOG10F 1
47260 _ACEOF
47261
47262 fi
47263 done
47264
47265   else
47266
47267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47268 $as_echo_n "checking for _log10f declaration... " >&6; }
47269   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47270     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47271   $as_echo_n "(cached) " >&6
47272 else
47273
47274
47275       ac_ext=cpp
47276 ac_cpp='$CXXCPP $CPPFLAGS'
47277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47280
47281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47282 /* end confdefs.h.  */
47283 #include <math.h>
47284                       #ifdef HAVE_IEEEFP_H
47285                       #include <ieeefp.h>
47286                       #endif
47287
47288 int
47289 main ()
47290 {
47291  _log10f(0);
47292   ;
47293   return 0;
47294 }
47295 _ACEOF
47296 if ac_fn_cxx_try_compile "$LINENO"; then :
47297   glibcxx_cv_func__log10f_use=yes
47298 else
47299   glibcxx_cv_func__log10f_use=no
47300 fi
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302       ac_ext=c
47303 ac_cpp='$CPP $CPPFLAGS'
47304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47307
47308
47309 fi
47310
47311   fi
47312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47313 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47314
47315     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47316       for ac_func in _log10f
47317 do :
47318   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47319 if test "x$ac_cv_func__log10f" = x""yes; then :
47320   cat >>confdefs.h <<_ACEOF
47321 #define HAVE__LOG10F 1
47322 _ACEOF
47323
47324 fi
47325 done
47326
47327     fi
47328   fi
47329
47330
47331
47332
47333
47334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47335 $as_echo_n "checking for modff declaration... " >&6; }
47336   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47337     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47338   $as_echo_n "(cached) " >&6
47339 else
47340
47341
47342       ac_ext=cpp
47343 ac_cpp='$CXXCPP $CPPFLAGS'
47344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47347
47348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47349 /* end confdefs.h.  */
47350 #include <math.h>
47351 int
47352 main ()
47353 {
47354  modff(0, 0);
47355   ;
47356   return 0;
47357 }
47358 _ACEOF
47359 if ac_fn_cxx_try_compile "$LINENO"; then :
47360   glibcxx_cv_func_modff_use=yes
47361 else
47362   glibcxx_cv_func_modff_use=no
47363 fi
47364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365       ac_ext=c
47366 ac_cpp='$CPP $CPPFLAGS'
47367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47370
47371
47372 fi
47373
47374   fi
47375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47376 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47377
47378   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47379     for ac_func in modff
47380 do :
47381   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47382 if test "x$ac_cv_func_modff" = x""yes; then :
47383   cat >>confdefs.h <<_ACEOF
47384 #define HAVE_MODFF 1
47385 _ACEOF
47386
47387 fi
47388 done
47389
47390   else
47391
47392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47393 $as_echo_n "checking for _modff declaration... " >&6; }
47394   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47395     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47396   $as_echo_n "(cached) " >&6
47397 else
47398
47399
47400       ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47405
47406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h.  */
47408 #include <math.h>
47409 int
47410 main ()
47411 {
47412  _modff(0, 0);
47413   ;
47414   return 0;
47415 }
47416 _ACEOF
47417 if ac_fn_cxx_try_compile "$LINENO"; then :
47418   glibcxx_cv_func__modff_use=yes
47419 else
47420   glibcxx_cv_func__modff_use=no
47421 fi
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423       ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428
47429
47430 fi
47431
47432   fi
47433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47434 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47435
47436     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47437       for ac_func in _modff
47438 do :
47439   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47440 if test "x$ac_cv_func__modff" = x""yes; then :
47441   cat >>confdefs.h <<_ACEOF
47442 #define HAVE__MODFF 1
47443 _ACEOF
47444
47445 fi
47446 done
47447
47448     fi
47449   fi
47450
47451
47452
47453
47454
47455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47456 $as_echo_n "checking for modf declaration... " >&6; }
47457   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47458     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47459   $as_echo_n "(cached) " >&6
47460 else
47461
47462
47463       ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468
47469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h.  */
47471 #include <math.h>
47472 int
47473 main ()
47474 {
47475  modf(0, 0);
47476   ;
47477   return 0;
47478 }
47479 _ACEOF
47480 if ac_fn_cxx_try_compile "$LINENO"; then :
47481   glibcxx_cv_func_modf_use=yes
47482 else
47483   glibcxx_cv_func_modf_use=no
47484 fi
47485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47486       ac_ext=c
47487 ac_cpp='$CPP $CPPFLAGS'
47488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47491
47492
47493 fi
47494
47495   fi
47496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47497 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47498
47499   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47500     for ac_func in modf
47501 do :
47502   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47503 if test "x$ac_cv_func_modf" = x""yes; then :
47504   cat >>confdefs.h <<_ACEOF
47505 #define HAVE_MODF 1
47506 _ACEOF
47507
47508 fi
47509 done
47510
47511   else
47512
47513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47514 $as_echo_n "checking for _modf declaration... " >&6; }
47515   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47516     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47517   $as_echo_n "(cached) " >&6
47518 else
47519
47520
47521       ac_ext=cpp
47522 ac_cpp='$CXXCPP $CPPFLAGS'
47523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47526
47527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47528 /* end confdefs.h.  */
47529 #include <math.h>
47530 int
47531 main ()
47532 {
47533  _modf(0, 0);
47534   ;
47535   return 0;
47536 }
47537 _ACEOF
47538 if ac_fn_cxx_try_compile "$LINENO"; then :
47539   glibcxx_cv_func__modf_use=yes
47540 else
47541   glibcxx_cv_func__modf_use=no
47542 fi
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544       ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549
47550
47551 fi
47552
47553   fi
47554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47555 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47556
47557     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47558       for ac_func in _modf
47559 do :
47560   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47561 if test "x$ac_cv_func__modf" = x""yes; then :
47562   cat >>confdefs.h <<_ACEOF
47563 #define HAVE__MODF 1
47564 _ACEOF
47565
47566 fi
47567 done
47568
47569     fi
47570   fi
47571
47572
47573
47574
47575
47576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47577 $as_echo_n "checking for powf declaration... " >&6; }
47578   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47579     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47580   $as_echo_n "(cached) " >&6
47581 else
47582
47583
47584       ac_ext=cpp
47585 ac_cpp='$CXXCPP $CPPFLAGS'
47586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47589
47590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47591 /* end confdefs.h.  */
47592 #include <math.h>
47593 int
47594 main ()
47595 {
47596  powf(0, 0);
47597   ;
47598   return 0;
47599 }
47600 _ACEOF
47601 if ac_fn_cxx_try_compile "$LINENO"; then :
47602   glibcxx_cv_func_powf_use=yes
47603 else
47604   glibcxx_cv_func_powf_use=no
47605 fi
47606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47607       ac_ext=c
47608 ac_cpp='$CPP $CPPFLAGS'
47609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47612
47613
47614 fi
47615
47616   fi
47617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47618 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47619
47620   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47621     for ac_func in powf
47622 do :
47623   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47624 if test "x$ac_cv_func_powf" = x""yes; then :
47625   cat >>confdefs.h <<_ACEOF
47626 #define HAVE_POWF 1
47627 _ACEOF
47628
47629 fi
47630 done
47631
47632   else
47633
47634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47635 $as_echo_n "checking for _powf declaration... " >&6; }
47636   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47637     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47638   $as_echo_n "(cached) " >&6
47639 else
47640
47641
47642       ac_ext=cpp
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47647
47648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47649 /* end confdefs.h.  */
47650 #include <math.h>
47651 int
47652 main ()
47653 {
47654  _powf(0, 0);
47655   ;
47656   return 0;
47657 }
47658 _ACEOF
47659 if ac_fn_cxx_try_compile "$LINENO"; then :
47660   glibcxx_cv_func__powf_use=yes
47661 else
47662   glibcxx_cv_func__powf_use=no
47663 fi
47664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47665       ac_ext=c
47666 ac_cpp='$CPP $CPPFLAGS'
47667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47670
47671
47672 fi
47673
47674   fi
47675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47676 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47677
47678     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47679       for ac_func in _powf
47680 do :
47681   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47682 if test "x$ac_cv_func__powf" = x""yes; then :
47683   cat >>confdefs.h <<_ACEOF
47684 #define HAVE__POWF 1
47685 _ACEOF
47686
47687 fi
47688 done
47689
47690     fi
47691   fi
47692
47693
47694
47695
47696
47697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47698 $as_echo_n "checking for sqrtf declaration... " >&6; }
47699   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47700     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47701   $as_echo_n "(cached) " >&6
47702 else
47703
47704
47705       ac_ext=cpp
47706 ac_cpp='$CXXCPP $CPPFLAGS'
47707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47710
47711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47712 /* end confdefs.h.  */
47713 #include <math.h>
47714                       #ifdef HAVE_IEEEFP_H
47715                       #include <ieeefp.h>
47716                       #endif
47717
47718 int
47719 main ()
47720 {
47721  sqrtf(0);
47722   ;
47723   return 0;
47724 }
47725 _ACEOF
47726 if ac_fn_cxx_try_compile "$LINENO"; then :
47727   glibcxx_cv_func_sqrtf_use=yes
47728 else
47729   glibcxx_cv_func_sqrtf_use=no
47730 fi
47731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47732       ac_ext=c
47733 ac_cpp='$CPP $CPPFLAGS'
47734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47737
47738
47739 fi
47740
47741   fi
47742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47743 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47744
47745   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47746     for ac_func in sqrtf
47747 do :
47748   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47749 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47750   cat >>confdefs.h <<_ACEOF
47751 #define HAVE_SQRTF 1
47752 _ACEOF
47753
47754 fi
47755 done
47756
47757   else
47758
47759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47760 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47761   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47762     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47763   $as_echo_n "(cached) " >&6
47764 else
47765
47766
47767       ac_ext=cpp
47768 ac_cpp='$CXXCPP $CPPFLAGS'
47769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47772
47773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47774 /* end confdefs.h.  */
47775 #include <math.h>
47776                       #ifdef HAVE_IEEEFP_H
47777                       #include <ieeefp.h>
47778                       #endif
47779
47780 int
47781 main ()
47782 {
47783  _sqrtf(0);
47784   ;
47785   return 0;
47786 }
47787 _ACEOF
47788 if ac_fn_cxx_try_compile "$LINENO"; then :
47789   glibcxx_cv_func__sqrtf_use=yes
47790 else
47791   glibcxx_cv_func__sqrtf_use=no
47792 fi
47793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794       ac_ext=c
47795 ac_cpp='$CPP $CPPFLAGS'
47796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47799
47800
47801 fi
47802
47803   fi
47804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47805 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47806
47807     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47808       for ac_func in _sqrtf
47809 do :
47810   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47811 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47812   cat >>confdefs.h <<_ACEOF
47813 #define HAVE__SQRTF 1
47814 _ACEOF
47815
47816 fi
47817 done
47818
47819     fi
47820   fi
47821
47822
47823
47824
47825
47826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47827 $as_echo_n "checking for sincosf declaration... " >&6; }
47828   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47829     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47830   $as_echo_n "(cached) " >&6
47831 else
47832
47833
47834       ac_ext=cpp
47835 ac_cpp='$CXXCPP $CPPFLAGS'
47836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47839
47840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47841 /* end confdefs.h.  */
47842 #include <math.h>
47843 int
47844 main ()
47845 {
47846  sincosf(0, 0, 0);
47847   ;
47848   return 0;
47849 }
47850 _ACEOF
47851 if ac_fn_cxx_try_compile "$LINENO"; then :
47852   glibcxx_cv_func_sincosf_use=yes
47853 else
47854   glibcxx_cv_func_sincosf_use=no
47855 fi
47856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47857       ac_ext=c
47858 ac_cpp='$CPP $CPPFLAGS'
47859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47862
47863
47864 fi
47865
47866   fi
47867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47868 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47869
47870   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47871     for ac_func in sincosf
47872 do :
47873   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47874 if test "x$ac_cv_func_sincosf" = x""yes; then :
47875   cat >>confdefs.h <<_ACEOF
47876 #define HAVE_SINCOSF 1
47877 _ACEOF
47878
47879 fi
47880 done
47881
47882   else
47883
47884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47885 $as_echo_n "checking for _sincosf declaration... " >&6; }
47886   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47887     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47888   $as_echo_n "(cached) " >&6
47889 else
47890
47891
47892       ac_ext=cpp
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47897
47898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47899 /* end confdefs.h.  */
47900 #include <math.h>
47901 int
47902 main ()
47903 {
47904  _sincosf(0, 0, 0);
47905   ;
47906   return 0;
47907 }
47908 _ACEOF
47909 if ac_fn_cxx_try_compile "$LINENO"; then :
47910   glibcxx_cv_func__sincosf_use=yes
47911 else
47912   glibcxx_cv_func__sincosf_use=no
47913 fi
47914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47915       ac_ext=c
47916 ac_cpp='$CPP $CPPFLAGS'
47917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47920
47921
47922 fi
47923
47924   fi
47925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47926 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47927
47928     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47929       for ac_func in _sincosf
47930 do :
47931   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47932 if test "x$ac_cv_func__sincosf" = x""yes; then :
47933   cat >>confdefs.h <<_ACEOF
47934 #define HAVE__SINCOSF 1
47935 _ACEOF
47936
47937 fi
47938 done
47939
47940     fi
47941   fi
47942
47943
47944
47945
47946
47947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47948 $as_echo_n "checking for finitef declaration... " >&6; }
47949   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47950     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47951   $as_echo_n "(cached) " >&6
47952 else
47953
47954
47955       ac_ext=cpp
47956 ac_cpp='$CXXCPP $CPPFLAGS'
47957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47960
47961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47962 /* end confdefs.h.  */
47963 #include <math.h>
47964                       #ifdef HAVE_IEEEFP_H
47965                       #include <ieeefp.h>
47966                       #endif
47967
47968 int
47969 main ()
47970 {
47971  finitef(0);
47972   ;
47973   return 0;
47974 }
47975 _ACEOF
47976 if ac_fn_cxx_try_compile "$LINENO"; then :
47977   glibcxx_cv_func_finitef_use=yes
47978 else
47979   glibcxx_cv_func_finitef_use=no
47980 fi
47981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47982       ac_ext=c
47983 ac_cpp='$CPP $CPPFLAGS'
47984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47987
47988
47989 fi
47990
47991   fi
47992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47993 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47994
47995   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47996     for ac_func in finitef
47997 do :
47998   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47999 if test "x$ac_cv_func_finitef" = x""yes; then :
48000   cat >>confdefs.h <<_ACEOF
48001 #define HAVE_FINITEF 1
48002 _ACEOF
48003
48004 fi
48005 done
48006
48007   else
48008
48009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48010 $as_echo_n "checking for _finitef declaration... " >&6; }
48011   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48012     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48013   $as_echo_n "(cached) " >&6
48014 else
48015
48016
48017       ac_ext=cpp
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48022
48023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024 /* end confdefs.h.  */
48025 #include <math.h>
48026                       #ifdef HAVE_IEEEFP_H
48027                       #include <ieeefp.h>
48028                       #endif
48029
48030 int
48031 main ()
48032 {
48033  _finitef(0);
48034   ;
48035   return 0;
48036 }
48037 _ACEOF
48038 if ac_fn_cxx_try_compile "$LINENO"; then :
48039   glibcxx_cv_func__finitef_use=yes
48040 else
48041   glibcxx_cv_func__finitef_use=no
48042 fi
48043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48044       ac_ext=c
48045 ac_cpp='$CPP $CPPFLAGS'
48046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48049
48050
48051 fi
48052
48053   fi
48054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48055 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48056
48057     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48058       for ac_func in _finitef
48059 do :
48060   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48061 if test "x$ac_cv_func__finitef" = x""yes; then :
48062   cat >>confdefs.h <<_ACEOF
48063 #define HAVE__FINITEF 1
48064 _ACEOF
48065
48066 fi
48067 done
48068
48069     fi
48070   fi
48071
48072
48073
48074
48075
48076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48077 $as_echo_n "checking for long double trig functions... " >&6; }
48078   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48079   $as_echo_n "(cached) " >&6
48080 else
48081
48082
48083     ac_ext=cpp
48084 ac_cpp='$CXXCPP $CPPFLAGS'
48085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48088
48089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48090 /* end confdefs.h.  */
48091 #include <math.h>
48092 int
48093 main ()
48094 {
48095 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48096   ;
48097   return 0;
48098 }
48099 _ACEOF
48100 if ac_fn_cxx_try_compile "$LINENO"; then :
48101   glibcxx_cv_func_long_double_trig_use=yes
48102 else
48103   glibcxx_cv_func_long_double_trig_use=no
48104 fi
48105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48106     ac_ext=c
48107 ac_cpp='$CPP $CPPFLAGS'
48108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48111
48112 fi
48113
48114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48115 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48116   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48117     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48118 do :
48119   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48121 eval as_val=\$$as_ac_var
48122    if test "x$as_val" = x""yes; then :
48123   cat >>confdefs.h <<_ACEOF
48124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48125 _ACEOF
48126
48127 fi
48128 done
48129
48130   else
48131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48132 $as_echo_n "checking for _long double trig functions... " >&6; }
48133     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48134   $as_echo_n "(cached) " >&6
48135 else
48136
48137
48138       ac_ext=cpp
48139 ac_cpp='$CXXCPP $CPPFLAGS'
48140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48143
48144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48145 /* end confdefs.h.  */
48146 #include <math.h>
48147 int
48148 main ()
48149 {
48150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48151   ;
48152   return 0;
48153 }
48154 _ACEOF
48155 if ac_fn_cxx_try_compile "$LINENO"; then :
48156   glibcxx_cv_func__long_double_trig_use=yes
48157 else
48158   glibcxx_cv_func__long_double_trig_use=no
48159 fi
48160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48161       ac_ext=c
48162 ac_cpp='$CPP $CPPFLAGS'
48163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48166
48167 fi
48168
48169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48170 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48171     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48172       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48173 do :
48174   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48176 eval as_val=\$$as_ac_var
48177    if test "x$as_val" = x""yes; then :
48178   cat >>confdefs.h <<_ACEOF
48179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48180 _ACEOF
48181
48182 fi
48183 done
48184
48185     fi
48186   fi
48187
48188
48189
48190
48191
48192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48193 $as_echo_n "checking for long double round functions... " >&6; }
48194   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48195   $as_echo_n "(cached) " >&6
48196 else
48197
48198
48199     ac_ext=cpp
48200 ac_cpp='$CXXCPP $CPPFLAGS'
48201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48204
48205     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48206 /* end confdefs.h.  */
48207 #include <math.h>
48208 int
48209 main ()
48210 {
48211 ceill (0); floorl (0);
48212   ;
48213   return 0;
48214 }
48215 _ACEOF
48216 if ac_fn_cxx_try_compile "$LINENO"; then :
48217   glibcxx_cv_func_long_double_round_use=yes
48218 else
48219   glibcxx_cv_func_long_double_round_use=no
48220 fi
48221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48222     ac_ext=c
48223 ac_cpp='$CPP $CPPFLAGS'
48224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48227
48228 fi
48229
48230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48231 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48232   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48233     for ac_func in ceill floorl
48234 do :
48235   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48237 eval as_val=\$$as_ac_var
48238    if test "x$as_val" = x""yes; then :
48239   cat >>confdefs.h <<_ACEOF
48240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48241 _ACEOF
48242
48243 fi
48244 done
48245
48246   else
48247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48248 $as_echo_n "checking for _long double round functions... " >&6; }
48249     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48250   $as_echo_n "(cached) " >&6
48251 else
48252
48253
48254       ac_ext=cpp
48255 ac_cpp='$CXXCPP $CPPFLAGS'
48256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48259
48260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48261 /* end confdefs.h.  */
48262 #include <math.h>
48263 int
48264 main ()
48265 {
48266 _ceill (0); _floorl (0);
48267   ;
48268   return 0;
48269 }
48270 _ACEOF
48271 if ac_fn_cxx_try_compile "$LINENO"; then :
48272   glibcxx_cv_func__long_double_round_use=yes
48273 else
48274   glibcxx_cv_func__long_double_round_use=no
48275 fi
48276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48277       ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282
48283 fi
48284
48285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48286 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48287     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48288       for ac_func in _ceill _floorl
48289 do :
48290   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48292 eval as_val=\$$as_ac_var
48293    if test "x$as_val" = x""yes; then :
48294   cat >>confdefs.h <<_ACEOF
48295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48296 _ACEOF
48297
48298 fi
48299 done
48300
48301     fi
48302   fi
48303
48304
48305
48306
48307
48308
48309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48310 $as_echo_n "checking for isnanl declaration... " >&6; }
48311   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48312     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48313   $as_echo_n "(cached) " >&6
48314 else
48315
48316
48317       ac_ext=cpp
48318 ac_cpp='$CXXCPP $CPPFLAGS'
48319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48322
48323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48324 /* end confdefs.h.  */
48325 #include <math.h>
48326                       #ifdef HAVE_IEEEFP_H
48327                       #include <ieeefp.h>
48328                       #endif
48329
48330 int
48331 main ()
48332 {
48333  isnanl(0);
48334   ;
48335   return 0;
48336 }
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339   glibcxx_cv_func_isnanl_use=yes
48340 else
48341   glibcxx_cv_func_isnanl_use=no
48342 fi
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344       ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349
48350
48351 fi
48352
48353   fi
48354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48355 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48356
48357   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48358     for ac_func in isnanl
48359 do :
48360   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48361 if test "x$ac_cv_func_isnanl" = x""yes; then :
48362   cat >>confdefs.h <<_ACEOF
48363 #define HAVE_ISNANL 1
48364 _ACEOF
48365
48366 fi
48367 done
48368
48369   else
48370
48371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48372 $as_echo_n "checking for _isnanl declaration... " >&6; }
48373   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48374     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48375   $as_echo_n "(cached) " >&6
48376 else
48377
48378
48379       ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48384
48385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h.  */
48387 #include <math.h>
48388                       #ifdef HAVE_IEEEFP_H
48389                       #include <ieeefp.h>
48390                       #endif
48391
48392 int
48393 main ()
48394 {
48395  _isnanl(0);
48396   ;
48397   return 0;
48398 }
48399 _ACEOF
48400 if ac_fn_cxx_try_compile "$LINENO"; then :
48401   glibcxx_cv_func__isnanl_use=yes
48402 else
48403   glibcxx_cv_func__isnanl_use=no
48404 fi
48405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48406       ac_ext=c
48407 ac_cpp='$CPP $CPPFLAGS'
48408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48411
48412
48413 fi
48414
48415   fi
48416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48417 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48418
48419     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48420       for ac_func in _isnanl
48421 do :
48422   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48423 if test "x$ac_cv_func__isnanl" = x""yes; then :
48424   cat >>confdefs.h <<_ACEOF
48425 #define HAVE__ISNANL 1
48426 _ACEOF
48427
48428 fi
48429 done
48430
48431     fi
48432   fi
48433
48434
48435
48436
48437
48438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48439 $as_echo_n "checking for isinfl declaration... " >&6; }
48440   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48441     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48442   $as_echo_n "(cached) " >&6
48443 else
48444
48445
48446       ac_ext=cpp
48447 ac_cpp='$CXXCPP $CPPFLAGS'
48448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48451
48452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48453 /* end confdefs.h.  */
48454 #include <math.h>
48455                       #ifdef HAVE_IEEEFP_H
48456                       #include <ieeefp.h>
48457                       #endif
48458
48459 int
48460 main ()
48461 {
48462  isinfl(0);
48463   ;
48464   return 0;
48465 }
48466 _ACEOF
48467 if ac_fn_cxx_try_compile "$LINENO"; then :
48468   glibcxx_cv_func_isinfl_use=yes
48469 else
48470   glibcxx_cv_func_isinfl_use=no
48471 fi
48472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48473       ac_ext=c
48474 ac_cpp='$CPP $CPPFLAGS'
48475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48478
48479
48480 fi
48481
48482   fi
48483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48484 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48485
48486   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48487     for ac_func in isinfl
48488 do :
48489   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48490 if test "x$ac_cv_func_isinfl" = x""yes; then :
48491   cat >>confdefs.h <<_ACEOF
48492 #define HAVE_ISINFL 1
48493 _ACEOF
48494
48495 fi
48496 done
48497
48498   else
48499
48500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48501 $as_echo_n "checking for _isinfl declaration... " >&6; }
48502   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48503     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48504   $as_echo_n "(cached) " >&6
48505 else
48506
48507
48508       ac_ext=cpp
48509 ac_cpp='$CXXCPP $CPPFLAGS'
48510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48513
48514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48515 /* end confdefs.h.  */
48516 #include <math.h>
48517                       #ifdef HAVE_IEEEFP_H
48518                       #include <ieeefp.h>
48519                       #endif
48520
48521 int
48522 main ()
48523 {
48524  _isinfl(0);
48525   ;
48526   return 0;
48527 }
48528 _ACEOF
48529 if ac_fn_cxx_try_compile "$LINENO"; then :
48530   glibcxx_cv_func__isinfl_use=yes
48531 else
48532   glibcxx_cv_func__isinfl_use=no
48533 fi
48534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48535       ac_ext=c
48536 ac_cpp='$CPP $CPPFLAGS'
48537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48540
48541
48542 fi
48543
48544   fi
48545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48546 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48547
48548     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48549       for ac_func in _isinfl
48550 do :
48551   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48552 if test "x$ac_cv_func__isinfl" = x""yes; then :
48553   cat >>confdefs.h <<_ACEOF
48554 #define HAVE__ISINFL 1
48555 _ACEOF
48556
48557 fi
48558 done
48559
48560     fi
48561   fi
48562
48563
48564
48565
48566
48567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48568 $as_echo_n "checking for atan2l declaration... " >&6; }
48569   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48570     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48571   $as_echo_n "(cached) " >&6
48572 else
48573
48574
48575       ac_ext=cpp
48576 ac_cpp='$CXXCPP $CPPFLAGS'
48577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48580
48581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48582 /* end confdefs.h.  */
48583 #include <math.h>
48584 int
48585 main ()
48586 {
48587  atan2l(0, 0);
48588   ;
48589   return 0;
48590 }
48591 _ACEOF
48592 if ac_fn_cxx_try_compile "$LINENO"; then :
48593   glibcxx_cv_func_atan2l_use=yes
48594 else
48595   glibcxx_cv_func_atan2l_use=no
48596 fi
48597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48598       ac_ext=c
48599 ac_cpp='$CPP $CPPFLAGS'
48600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48603
48604
48605 fi
48606
48607   fi
48608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48609 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48610
48611   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48612     for ac_func in atan2l
48613 do :
48614   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48615 if test "x$ac_cv_func_atan2l" = x""yes; then :
48616   cat >>confdefs.h <<_ACEOF
48617 #define HAVE_ATAN2L 1
48618 _ACEOF
48619
48620 fi
48621 done
48622
48623   else
48624
48625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48626 $as_echo_n "checking for _atan2l declaration... " >&6; }
48627   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48628     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48629   $as_echo_n "(cached) " >&6
48630 else
48631
48632
48633       ac_ext=cpp
48634 ac_cpp='$CXXCPP $CPPFLAGS'
48635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48638
48639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48640 /* end confdefs.h.  */
48641 #include <math.h>
48642 int
48643 main ()
48644 {
48645  _atan2l(0, 0);
48646   ;
48647   return 0;
48648 }
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651   glibcxx_cv_func__atan2l_use=yes
48652 else
48653   glibcxx_cv_func__atan2l_use=no
48654 fi
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656       ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664
48665   fi
48666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48667 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48668
48669     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48670       for ac_func in _atan2l
48671 do :
48672   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48673 if test "x$ac_cv_func__atan2l" = x""yes; then :
48674   cat >>confdefs.h <<_ACEOF
48675 #define HAVE__ATAN2L 1
48676 _ACEOF
48677
48678 fi
48679 done
48680
48681     fi
48682   fi
48683
48684
48685
48686
48687
48688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48689 $as_echo_n "checking for expl declaration... " >&6; }
48690   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48691     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48692   $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696       ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h.  */
48704 #include <math.h>
48705                       #ifdef HAVE_IEEEFP_H
48706                       #include <ieeefp.h>
48707                       #endif
48708
48709 int
48710 main ()
48711 {
48712  expl(0);
48713   ;
48714   return 0;
48715 }
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718   glibcxx_cv_func_expl_use=yes
48719 else
48720   glibcxx_cv_func_expl_use=no
48721 fi
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723       ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48728
48729
48730 fi
48731
48732   fi
48733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48734 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48735
48736   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48737     for ac_func in expl
48738 do :
48739   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48740 if test "x$ac_cv_func_expl" = x""yes; then :
48741   cat >>confdefs.h <<_ACEOF
48742 #define HAVE_EXPL 1
48743 _ACEOF
48744
48745 fi
48746 done
48747
48748   else
48749
48750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48751 $as_echo_n "checking for _expl declaration... " >&6; }
48752   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48753     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48754   $as_echo_n "(cached) " >&6
48755 else
48756
48757
48758       ac_ext=cpp
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48763
48764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48765 /* end confdefs.h.  */
48766 #include <math.h>
48767                       #ifdef HAVE_IEEEFP_H
48768                       #include <ieeefp.h>
48769                       #endif
48770
48771 int
48772 main ()
48773 {
48774  _expl(0);
48775   ;
48776   return 0;
48777 }
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780   glibcxx_cv_func__expl_use=yes
48781 else
48782   glibcxx_cv_func__expl_use=no
48783 fi
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785       ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791
48792 fi
48793
48794   fi
48795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48796 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48797
48798     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48799       for ac_func in _expl
48800 do :
48801   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48802 if test "x$ac_cv_func__expl" = x""yes; then :
48803   cat >>confdefs.h <<_ACEOF
48804 #define HAVE__EXPL 1
48805 _ACEOF
48806
48807 fi
48808 done
48809
48810     fi
48811   fi
48812
48813
48814
48815
48816
48817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48818 $as_echo_n "checking for fabsl declaration... " >&6; }
48819   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48820     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48821   $as_echo_n "(cached) " >&6
48822 else
48823
48824
48825       ac_ext=cpp
48826 ac_cpp='$CXXCPP $CPPFLAGS'
48827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48830
48831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48832 /* end confdefs.h.  */
48833 #include <math.h>
48834                       #ifdef HAVE_IEEEFP_H
48835                       #include <ieeefp.h>
48836                       #endif
48837
48838 int
48839 main ()
48840 {
48841  fabsl(0);
48842   ;
48843   return 0;
48844 }
48845 _ACEOF
48846 if ac_fn_cxx_try_compile "$LINENO"; then :
48847   glibcxx_cv_func_fabsl_use=yes
48848 else
48849   glibcxx_cv_func_fabsl_use=no
48850 fi
48851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48852       ac_ext=c
48853 ac_cpp='$CPP $CPPFLAGS'
48854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48857
48858
48859 fi
48860
48861   fi
48862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48863 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48864
48865   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48866     for ac_func in fabsl
48867 do :
48868   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48869 if test "x$ac_cv_func_fabsl" = x""yes; then :
48870   cat >>confdefs.h <<_ACEOF
48871 #define HAVE_FABSL 1
48872 _ACEOF
48873
48874 fi
48875 done
48876
48877   else
48878
48879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48880 $as_echo_n "checking for _fabsl declaration... " >&6; }
48881   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48882     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48883   $as_echo_n "(cached) " >&6
48884 else
48885
48886
48887       ac_ext=cpp
48888 ac_cpp='$CXXCPP $CPPFLAGS'
48889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48892
48893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48894 /* end confdefs.h.  */
48895 #include <math.h>
48896                       #ifdef HAVE_IEEEFP_H
48897                       #include <ieeefp.h>
48898                       #endif
48899
48900 int
48901 main ()
48902 {
48903  _fabsl(0);
48904   ;
48905   return 0;
48906 }
48907 _ACEOF
48908 if ac_fn_cxx_try_compile "$LINENO"; then :
48909   glibcxx_cv_func__fabsl_use=yes
48910 else
48911   glibcxx_cv_func__fabsl_use=no
48912 fi
48913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48914       ac_ext=c
48915 ac_cpp='$CPP $CPPFLAGS'
48916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48919
48920
48921 fi
48922
48923   fi
48924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48925 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48926
48927     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48928       for ac_func in _fabsl
48929 do :
48930   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48931 if test "x$ac_cv_func__fabsl" = x""yes; then :
48932   cat >>confdefs.h <<_ACEOF
48933 #define HAVE__FABSL 1
48934 _ACEOF
48935
48936 fi
48937 done
48938
48939     fi
48940   fi
48941
48942
48943
48944
48945
48946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48947 $as_echo_n "checking for fmodl declaration... " >&6; }
48948   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48949     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48950   $as_echo_n "(cached) " >&6
48951 else
48952
48953
48954       ac_ext=cpp
48955 ac_cpp='$CXXCPP $CPPFLAGS'
48956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48959
48960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48961 /* end confdefs.h.  */
48962 #include <math.h>
48963 int
48964 main ()
48965 {
48966  fmodl(0, 0);
48967   ;
48968   return 0;
48969 }
48970 _ACEOF
48971 if ac_fn_cxx_try_compile "$LINENO"; then :
48972   glibcxx_cv_func_fmodl_use=yes
48973 else
48974   glibcxx_cv_func_fmodl_use=no
48975 fi
48976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48977       ac_ext=c
48978 ac_cpp='$CPP $CPPFLAGS'
48979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48982
48983
48984 fi
48985
48986   fi
48987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48988 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48989
48990   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48991     for ac_func in fmodl
48992 do :
48993   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48994 if test "x$ac_cv_func_fmodl" = x""yes; then :
48995   cat >>confdefs.h <<_ACEOF
48996 #define HAVE_FMODL 1
48997 _ACEOF
48998
48999 fi
49000 done
49001
49002   else
49003
49004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49005 $as_echo_n "checking for _fmodl declaration... " >&6; }
49006   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49007     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49008   $as_echo_n "(cached) " >&6
49009 else
49010
49011
49012       ac_ext=cpp
49013 ac_cpp='$CXXCPP $CPPFLAGS'
49014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49017
49018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49019 /* end confdefs.h.  */
49020 #include <math.h>
49021 int
49022 main ()
49023 {
49024  _fmodl(0, 0);
49025   ;
49026   return 0;
49027 }
49028 _ACEOF
49029 if ac_fn_cxx_try_compile "$LINENO"; then :
49030   glibcxx_cv_func__fmodl_use=yes
49031 else
49032   glibcxx_cv_func__fmodl_use=no
49033 fi
49034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49035       ac_ext=c
49036 ac_cpp='$CPP $CPPFLAGS'
49037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49040
49041
49042 fi
49043
49044   fi
49045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49046 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49047
49048     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49049       for ac_func in _fmodl
49050 do :
49051   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49052 if test "x$ac_cv_func__fmodl" = x""yes; then :
49053   cat >>confdefs.h <<_ACEOF
49054 #define HAVE__FMODL 1
49055 _ACEOF
49056
49057 fi
49058 done
49059
49060     fi
49061   fi
49062
49063
49064
49065
49066
49067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49068 $as_echo_n "checking for frexpl declaration... " >&6; }
49069   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49070     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49071   $as_echo_n "(cached) " >&6
49072 else
49073
49074
49075       ac_ext=cpp
49076 ac_cpp='$CXXCPP $CPPFLAGS'
49077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49080
49081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49082 /* end confdefs.h.  */
49083 #include <math.h>
49084 int
49085 main ()
49086 {
49087  frexpl(0, 0);
49088   ;
49089   return 0;
49090 }
49091 _ACEOF
49092 if ac_fn_cxx_try_compile "$LINENO"; then :
49093   glibcxx_cv_func_frexpl_use=yes
49094 else
49095   glibcxx_cv_func_frexpl_use=no
49096 fi
49097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49098       ac_ext=c
49099 ac_cpp='$CPP $CPPFLAGS'
49100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49103
49104
49105 fi
49106
49107   fi
49108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49109 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49110
49111   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49112     for ac_func in frexpl
49113 do :
49114   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49115 if test "x$ac_cv_func_frexpl" = x""yes; then :
49116   cat >>confdefs.h <<_ACEOF
49117 #define HAVE_FREXPL 1
49118 _ACEOF
49119
49120 fi
49121 done
49122
49123   else
49124
49125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49126 $as_echo_n "checking for _frexpl declaration... " >&6; }
49127   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49128     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49129   $as_echo_n "(cached) " >&6
49130 else
49131
49132
49133       ac_ext=cpp
49134 ac_cpp='$CXXCPP $CPPFLAGS'
49135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49138
49139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49140 /* end confdefs.h.  */
49141 #include <math.h>
49142 int
49143 main ()
49144 {
49145  _frexpl(0, 0);
49146   ;
49147   return 0;
49148 }
49149 _ACEOF
49150 if ac_fn_cxx_try_compile "$LINENO"; then :
49151   glibcxx_cv_func__frexpl_use=yes
49152 else
49153   glibcxx_cv_func__frexpl_use=no
49154 fi
49155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49156       ac_ext=c
49157 ac_cpp='$CPP $CPPFLAGS'
49158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49161
49162
49163 fi
49164
49165   fi
49166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49167 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49168
49169     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49170       for ac_func in _frexpl
49171 do :
49172   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49173 if test "x$ac_cv_func__frexpl" = x""yes; then :
49174   cat >>confdefs.h <<_ACEOF
49175 #define HAVE__FREXPL 1
49176 _ACEOF
49177
49178 fi
49179 done
49180
49181     fi
49182   fi
49183
49184
49185
49186
49187
49188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49189 $as_echo_n "checking for hypotl declaration... " >&6; }
49190   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49191     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49192   $as_echo_n "(cached) " >&6
49193 else
49194
49195
49196       ac_ext=cpp
49197 ac_cpp='$CXXCPP $CPPFLAGS'
49198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49201
49202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49203 /* end confdefs.h.  */
49204 #include <math.h>
49205 int
49206 main ()
49207 {
49208  hypotl(0, 0);
49209   ;
49210   return 0;
49211 }
49212 _ACEOF
49213 if ac_fn_cxx_try_compile "$LINENO"; then :
49214   glibcxx_cv_func_hypotl_use=yes
49215 else
49216   glibcxx_cv_func_hypotl_use=no
49217 fi
49218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49219       ac_ext=c
49220 ac_cpp='$CPP $CPPFLAGS'
49221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49224
49225
49226 fi
49227
49228   fi
49229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49230 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49231
49232   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49233     for ac_func in hypotl
49234 do :
49235   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49236 if test "x$ac_cv_func_hypotl" = x""yes; then :
49237   cat >>confdefs.h <<_ACEOF
49238 #define HAVE_HYPOTL 1
49239 _ACEOF
49240
49241 fi
49242 done
49243
49244   else
49245
49246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49247 $as_echo_n "checking for _hypotl declaration... " >&6; }
49248   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49249     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49250   $as_echo_n "(cached) " >&6
49251 else
49252
49253
49254       ac_ext=cpp
49255 ac_cpp='$CXXCPP $CPPFLAGS'
49256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49259
49260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49261 /* end confdefs.h.  */
49262 #include <math.h>
49263 int
49264 main ()
49265 {
49266  _hypotl(0, 0);
49267   ;
49268   return 0;
49269 }
49270 _ACEOF
49271 if ac_fn_cxx_try_compile "$LINENO"; then :
49272   glibcxx_cv_func__hypotl_use=yes
49273 else
49274   glibcxx_cv_func__hypotl_use=no
49275 fi
49276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49277       ac_ext=c
49278 ac_cpp='$CPP $CPPFLAGS'
49279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49282
49283
49284 fi
49285
49286   fi
49287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49288 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49289
49290     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49291       for ac_func in _hypotl
49292 do :
49293   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49294 if test "x$ac_cv_func__hypotl" = x""yes; then :
49295   cat >>confdefs.h <<_ACEOF
49296 #define HAVE__HYPOTL 1
49297 _ACEOF
49298
49299 fi
49300 done
49301
49302     fi
49303   fi
49304
49305
49306
49307
49308
49309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49310 $as_echo_n "checking for ldexpl declaration... " >&6; }
49311   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49312     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49313   $as_echo_n "(cached) " >&6
49314 else
49315
49316
49317       ac_ext=cpp
49318 ac_cpp='$CXXCPP $CPPFLAGS'
49319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49322
49323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49324 /* end confdefs.h.  */
49325 #include <math.h>
49326 int
49327 main ()
49328 {
49329  ldexpl(0, 0);
49330   ;
49331   return 0;
49332 }
49333 _ACEOF
49334 if ac_fn_cxx_try_compile "$LINENO"; then :
49335   glibcxx_cv_func_ldexpl_use=yes
49336 else
49337   glibcxx_cv_func_ldexpl_use=no
49338 fi
49339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49340       ac_ext=c
49341 ac_cpp='$CPP $CPPFLAGS'
49342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345
49346
49347 fi
49348
49349   fi
49350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49351 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49352
49353   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49354     for ac_func in ldexpl
49355 do :
49356   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49357 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49358   cat >>confdefs.h <<_ACEOF
49359 #define HAVE_LDEXPL 1
49360 _ACEOF
49361
49362 fi
49363 done
49364
49365   else
49366
49367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49368 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49369   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49370     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49371   $as_echo_n "(cached) " >&6
49372 else
49373
49374
49375       ac_ext=cpp
49376 ac_cpp='$CXXCPP $CPPFLAGS'
49377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49380
49381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49382 /* end confdefs.h.  */
49383 #include <math.h>
49384 int
49385 main ()
49386 {
49387  _ldexpl(0, 0);
49388   ;
49389   return 0;
49390 }
49391 _ACEOF
49392 if ac_fn_cxx_try_compile "$LINENO"; then :
49393   glibcxx_cv_func__ldexpl_use=yes
49394 else
49395   glibcxx_cv_func__ldexpl_use=no
49396 fi
49397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49398       ac_ext=c
49399 ac_cpp='$CPP $CPPFLAGS'
49400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49403
49404
49405 fi
49406
49407   fi
49408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49409 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49410
49411     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49412       for ac_func in _ldexpl
49413 do :
49414   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49415 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49416   cat >>confdefs.h <<_ACEOF
49417 #define HAVE__LDEXPL 1
49418 _ACEOF
49419
49420 fi
49421 done
49422
49423     fi
49424   fi
49425
49426
49427
49428
49429
49430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49431 $as_echo_n "checking for logl declaration... " >&6; }
49432   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49433     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49434   $as_echo_n "(cached) " >&6
49435 else
49436
49437
49438       ac_ext=cpp
49439 ac_cpp='$CXXCPP $CPPFLAGS'
49440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49443
49444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49445 /* end confdefs.h.  */
49446 #include <math.h>
49447                       #ifdef HAVE_IEEEFP_H
49448                       #include <ieeefp.h>
49449                       #endif
49450
49451 int
49452 main ()
49453 {
49454  logl(0);
49455   ;
49456   return 0;
49457 }
49458 _ACEOF
49459 if ac_fn_cxx_try_compile "$LINENO"; then :
49460   glibcxx_cv_func_logl_use=yes
49461 else
49462   glibcxx_cv_func_logl_use=no
49463 fi
49464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49465       ac_ext=c
49466 ac_cpp='$CPP $CPPFLAGS'
49467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49470
49471
49472 fi
49473
49474   fi
49475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49476 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49477
49478   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49479     for ac_func in logl
49480 do :
49481   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49482 if test "x$ac_cv_func_logl" = x""yes; then :
49483   cat >>confdefs.h <<_ACEOF
49484 #define HAVE_LOGL 1
49485 _ACEOF
49486
49487 fi
49488 done
49489
49490   else
49491
49492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49493 $as_echo_n "checking for _logl declaration... " >&6; }
49494   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49495     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49496   $as_echo_n "(cached) " >&6
49497 else
49498
49499
49500       ac_ext=cpp
49501 ac_cpp='$CXXCPP $CPPFLAGS'
49502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49505
49506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49507 /* end confdefs.h.  */
49508 #include <math.h>
49509                       #ifdef HAVE_IEEEFP_H
49510                       #include <ieeefp.h>
49511                       #endif
49512
49513 int
49514 main ()
49515 {
49516  _logl(0);
49517   ;
49518   return 0;
49519 }
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522   glibcxx_cv_func__logl_use=yes
49523 else
49524   glibcxx_cv_func__logl_use=no
49525 fi
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527       ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49532
49533
49534 fi
49535
49536   fi
49537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49538 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49539
49540     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49541       for ac_func in _logl
49542 do :
49543   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49544 if test "x$ac_cv_func__logl" = x""yes; then :
49545   cat >>confdefs.h <<_ACEOF
49546 #define HAVE__LOGL 1
49547 _ACEOF
49548
49549 fi
49550 done
49551
49552     fi
49553   fi
49554
49555
49556
49557
49558
49559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49560 $as_echo_n "checking for log10l declaration... " >&6; }
49561   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49562     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49563   $as_echo_n "(cached) " >&6
49564 else
49565
49566
49567       ac_ext=cpp
49568 ac_cpp='$CXXCPP $CPPFLAGS'
49569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49572
49573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49574 /* end confdefs.h.  */
49575 #include <math.h>
49576                       #ifdef HAVE_IEEEFP_H
49577                       #include <ieeefp.h>
49578                       #endif
49579
49580 int
49581 main ()
49582 {
49583  log10l(0);
49584   ;
49585   return 0;
49586 }
49587 _ACEOF
49588 if ac_fn_cxx_try_compile "$LINENO"; then :
49589   glibcxx_cv_func_log10l_use=yes
49590 else
49591   glibcxx_cv_func_log10l_use=no
49592 fi
49593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49594       ac_ext=c
49595 ac_cpp='$CPP $CPPFLAGS'
49596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49599
49600
49601 fi
49602
49603   fi
49604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49605 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49606
49607   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49608     for ac_func in log10l
49609 do :
49610   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49611 if test "x$ac_cv_func_log10l" = x""yes; then :
49612   cat >>confdefs.h <<_ACEOF
49613 #define HAVE_LOG10L 1
49614 _ACEOF
49615
49616 fi
49617 done
49618
49619   else
49620
49621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49622 $as_echo_n "checking for _log10l declaration... " >&6; }
49623   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49624     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49625   $as_echo_n "(cached) " >&6
49626 else
49627
49628
49629       ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49634
49635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h.  */
49637 #include <math.h>
49638                       #ifdef HAVE_IEEEFP_H
49639                       #include <ieeefp.h>
49640                       #endif
49641
49642 int
49643 main ()
49644 {
49645  _log10l(0);
49646   ;
49647   return 0;
49648 }
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651   glibcxx_cv_func__log10l_use=yes
49652 else
49653   glibcxx_cv_func__log10l_use=no
49654 fi
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656       ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49661
49662
49663 fi
49664
49665   fi
49666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49667 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49668
49669     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49670       for ac_func in _log10l
49671 do :
49672   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49673 if test "x$ac_cv_func__log10l" = x""yes; then :
49674   cat >>confdefs.h <<_ACEOF
49675 #define HAVE__LOG10L 1
49676 _ACEOF
49677
49678 fi
49679 done
49680
49681     fi
49682   fi
49683
49684
49685
49686
49687
49688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49689 $as_echo_n "checking for modfl declaration... " >&6; }
49690   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49691     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49692   $as_echo_n "(cached) " >&6
49693 else
49694
49695
49696       ac_ext=cpp
49697 ac_cpp='$CXXCPP $CPPFLAGS'
49698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49701
49702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49703 /* end confdefs.h.  */
49704 #include <math.h>
49705 int
49706 main ()
49707 {
49708  modfl(0, 0);
49709   ;
49710   return 0;
49711 }
49712 _ACEOF
49713 if ac_fn_cxx_try_compile "$LINENO"; then :
49714   glibcxx_cv_func_modfl_use=yes
49715 else
49716   glibcxx_cv_func_modfl_use=no
49717 fi
49718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49719       ac_ext=c
49720 ac_cpp='$CPP $CPPFLAGS'
49721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49724
49725
49726 fi
49727
49728   fi
49729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49730 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49731
49732   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49733     for ac_func in modfl
49734 do :
49735   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49736 if test "x$ac_cv_func_modfl" = x""yes; then :
49737   cat >>confdefs.h <<_ACEOF
49738 #define HAVE_MODFL 1
49739 _ACEOF
49740
49741 fi
49742 done
49743
49744   else
49745
49746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49747 $as_echo_n "checking for _modfl declaration... " >&6; }
49748   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49749     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49750   $as_echo_n "(cached) " >&6
49751 else
49752
49753
49754       ac_ext=cpp
49755 ac_cpp='$CXXCPP $CPPFLAGS'
49756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49759
49760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49761 /* end confdefs.h.  */
49762 #include <math.h>
49763 int
49764 main ()
49765 {
49766  _modfl(0, 0);
49767   ;
49768   return 0;
49769 }
49770 _ACEOF
49771 if ac_fn_cxx_try_compile "$LINENO"; then :
49772   glibcxx_cv_func__modfl_use=yes
49773 else
49774   glibcxx_cv_func__modfl_use=no
49775 fi
49776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49777       ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782
49783
49784 fi
49785
49786   fi
49787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49788 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49789
49790     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49791       for ac_func in _modfl
49792 do :
49793   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49794 if test "x$ac_cv_func__modfl" = x""yes; then :
49795   cat >>confdefs.h <<_ACEOF
49796 #define HAVE__MODFL 1
49797 _ACEOF
49798
49799 fi
49800 done
49801
49802     fi
49803   fi
49804
49805
49806
49807
49808
49809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49810 $as_echo_n "checking for powl declaration... " >&6; }
49811   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49812     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49813   $as_echo_n "(cached) " >&6
49814 else
49815
49816
49817       ac_ext=cpp
49818 ac_cpp='$CXXCPP $CPPFLAGS'
49819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822
49823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49824 /* end confdefs.h.  */
49825 #include <math.h>
49826 int
49827 main ()
49828 {
49829  powl(0, 0);
49830   ;
49831   return 0;
49832 }
49833 _ACEOF
49834 if ac_fn_cxx_try_compile "$LINENO"; then :
49835   glibcxx_cv_func_powl_use=yes
49836 else
49837   glibcxx_cv_func_powl_use=no
49838 fi
49839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49840       ac_ext=c
49841 ac_cpp='$CPP $CPPFLAGS'
49842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845
49846
49847 fi
49848
49849   fi
49850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49851 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49852
49853   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49854     for ac_func in powl
49855 do :
49856   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49857 if test "x$ac_cv_func_powl" = x""yes; then :
49858   cat >>confdefs.h <<_ACEOF
49859 #define HAVE_POWL 1
49860 _ACEOF
49861
49862 fi
49863 done
49864
49865   else
49866
49867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49868 $as_echo_n "checking for _powl declaration... " >&6; }
49869   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49870     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49871   $as_echo_n "(cached) " >&6
49872 else
49873
49874
49875       ac_ext=cpp
49876 ac_cpp='$CXXCPP $CPPFLAGS'
49877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49880
49881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49882 /* end confdefs.h.  */
49883 #include <math.h>
49884 int
49885 main ()
49886 {
49887  _powl(0, 0);
49888   ;
49889   return 0;
49890 }
49891 _ACEOF
49892 if ac_fn_cxx_try_compile "$LINENO"; then :
49893   glibcxx_cv_func__powl_use=yes
49894 else
49895   glibcxx_cv_func__powl_use=no
49896 fi
49897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49898       ac_ext=c
49899 ac_cpp='$CPP $CPPFLAGS'
49900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49903
49904
49905 fi
49906
49907   fi
49908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49909 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49910
49911     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49912       for ac_func in _powl
49913 do :
49914   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49915 if test "x$ac_cv_func__powl" = x""yes; then :
49916   cat >>confdefs.h <<_ACEOF
49917 #define HAVE__POWL 1
49918 _ACEOF
49919
49920 fi
49921 done
49922
49923     fi
49924   fi
49925
49926
49927
49928
49929
49930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49931 $as_echo_n "checking for sqrtl declaration... " >&6; }
49932   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49933     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49934   $as_echo_n "(cached) " >&6
49935 else
49936
49937
49938       ac_ext=cpp
49939 ac_cpp='$CXXCPP $CPPFLAGS'
49940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49943
49944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945 /* end confdefs.h.  */
49946 #include <math.h>
49947                       #ifdef HAVE_IEEEFP_H
49948                       #include <ieeefp.h>
49949                       #endif
49950
49951 int
49952 main ()
49953 {
49954  sqrtl(0);
49955   ;
49956   return 0;
49957 }
49958 _ACEOF
49959 if ac_fn_cxx_try_compile "$LINENO"; then :
49960   glibcxx_cv_func_sqrtl_use=yes
49961 else
49962   glibcxx_cv_func_sqrtl_use=no
49963 fi
49964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49965       ac_ext=c
49966 ac_cpp='$CPP $CPPFLAGS'
49967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49970
49971
49972 fi
49973
49974   fi
49975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49976 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49977
49978   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49979     for ac_func in sqrtl
49980 do :
49981   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49982 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49983   cat >>confdefs.h <<_ACEOF
49984 #define HAVE_SQRTL 1
49985 _ACEOF
49986
49987 fi
49988 done
49989
49990   else
49991
49992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49993 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49994   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49995     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49996   $as_echo_n "(cached) " >&6
49997 else
49998
49999
50000       ac_ext=cpp
50001 ac_cpp='$CXXCPP $CPPFLAGS'
50002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50005
50006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50007 /* end confdefs.h.  */
50008 #include <math.h>
50009                       #ifdef HAVE_IEEEFP_H
50010                       #include <ieeefp.h>
50011                       #endif
50012
50013 int
50014 main ()
50015 {
50016  _sqrtl(0);
50017   ;
50018   return 0;
50019 }
50020 _ACEOF
50021 if ac_fn_cxx_try_compile "$LINENO"; then :
50022   glibcxx_cv_func__sqrtl_use=yes
50023 else
50024   glibcxx_cv_func__sqrtl_use=no
50025 fi
50026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50027       ac_ext=c
50028 ac_cpp='$CPP $CPPFLAGS'
50029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50032
50033
50034 fi
50035
50036   fi
50037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50038 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50039
50040     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50041       for ac_func in _sqrtl
50042 do :
50043   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50044 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50045   cat >>confdefs.h <<_ACEOF
50046 #define HAVE__SQRTL 1
50047 _ACEOF
50048
50049 fi
50050 done
50051
50052     fi
50053   fi
50054
50055
50056
50057
50058
50059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50060 $as_echo_n "checking for sincosl declaration... " >&6; }
50061   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50062     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50063   $as_echo_n "(cached) " >&6
50064 else
50065
50066
50067       ac_ext=cpp
50068 ac_cpp='$CXXCPP $CPPFLAGS'
50069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50072
50073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50074 /* end confdefs.h.  */
50075 #include <math.h>
50076 int
50077 main ()
50078 {
50079  sincosl(0, 0, 0);
50080   ;
50081   return 0;
50082 }
50083 _ACEOF
50084 if ac_fn_cxx_try_compile "$LINENO"; then :
50085   glibcxx_cv_func_sincosl_use=yes
50086 else
50087   glibcxx_cv_func_sincosl_use=no
50088 fi
50089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50090       ac_ext=c
50091 ac_cpp='$CPP $CPPFLAGS'
50092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50095
50096
50097 fi
50098
50099   fi
50100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50101 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50102
50103   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50104     for ac_func in sincosl
50105 do :
50106   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50107 if test "x$ac_cv_func_sincosl" = x""yes; then :
50108   cat >>confdefs.h <<_ACEOF
50109 #define HAVE_SINCOSL 1
50110 _ACEOF
50111
50112 fi
50113 done
50114
50115   else
50116
50117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50118 $as_echo_n "checking for _sincosl declaration... " >&6; }
50119   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50120     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50121   $as_echo_n "(cached) " >&6
50122 else
50123
50124
50125       ac_ext=cpp
50126 ac_cpp='$CXXCPP $CPPFLAGS'
50127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50130
50131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50132 /* end confdefs.h.  */
50133 #include <math.h>
50134 int
50135 main ()
50136 {
50137  _sincosl(0, 0, 0);
50138   ;
50139   return 0;
50140 }
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143   glibcxx_cv_func__sincosl_use=yes
50144 else
50145   glibcxx_cv_func__sincosl_use=no
50146 fi
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148       ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50153
50154
50155 fi
50156
50157   fi
50158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50159 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50160
50161     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50162       for ac_func in _sincosl
50163 do :
50164   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50165 if test "x$ac_cv_func__sincosl" = x""yes; then :
50166   cat >>confdefs.h <<_ACEOF
50167 #define HAVE__SINCOSL 1
50168 _ACEOF
50169
50170 fi
50171 done
50172
50173     fi
50174   fi
50175
50176
50177
50178
50179
50180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50181 $as_echo_n "checking for finitel declaration... " >&6; }
50182   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50183     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50184   $as_echo_n "(cached) " >&6
50185 else
50186
50187
50188       ac_ext=cpp
50189 ac_cpp='$CXXCPP $CPPFLAGS'
50190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50193
50194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50195 /* end confdefs.h.  */
50196 #include <math.h>
50197                       #ifdef HAVE_IEEEFP_H
50198                       #include <ieeefp.h>
50199                       #endif
50200
50201 int
50202 main ()
50203 {
50204  finitel(0);
50205   ;
50206   return 0;
50207 }
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210   glibcxx_cv_func_finitel_use=yes
50211 else
50212   glibcxx_cv_func_finitel_use=no
50213 fi
50214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50215       ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50220
50221
50222 fi
50223
50224   fi
50225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50226 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50227
50228   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50229     for ac_func in finitel
50230 do :
50231   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50232 if test "x$ac_cv_func_finitel" = x""yes; then :
50233   cat >>confdefs.h <<_ACEOF
50234 #define HAVE_FINITEL 1
50235 _ACEOF
50236
50237 fi
50238 done
50239
50240   else
50241
50242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50243 $as_echo_n "checking for _finitel declaration... " >&6; }
50244   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50245     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50246   $as_echo_n "(cached) " >&6
50247 else
50248
50249
50250       ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255
50256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h.  */
50258 #include <math.h>
50259                       #ifdef HAVE_IEEEFP_H
50260                       #include <ieeefp.h>
50261                       #endif
50262
50263 int
50264 main ()
50265 {
50266  _finitel(0);
50267   ;
50268   return 0;
50269 }
50270 _ACEOF
50271 if ac_fn_cxx_try_compile "$LINENO"; then :
50272   glibcxx_cv_func__finitel_use=yes
50273 else
50274   glibcxx_cv_func__finitel_use=no
50275 fi
50276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50277       ac_ext=c
50278 ac_cpp='$CPP $CPPFLAGS'
50279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50282
50283
50284 fi
50285
50286   fi
50287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50288 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50289
50290     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50291       for ac_func in _finitel
50292 do :
50293   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50294 if test "x$ac_cv_func__finitel" = x""yes; then :
50295   cat >>confdefs.h <<_ACEOF
50296 #define HAVE__FINITEL 1
50297 _ACEOF
50298
50299 fi
50300 done
50301
50302     fi
50303   fi
50304
50305
50306
50307
50308   LIBS="$ac_save_LIBS"
50309   CXXFLAGS="$ac_save_CXXFLAGS"
50310
50311
50312   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50313   ac_save_CXXFLAGS="$CXXFLAGS"
50314   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50315
50316
50317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50318 $as_echo_n "checking for strtold declaration... " >&6; }
50319   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50320     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50321   $as_echo_n "(cached) " >&6
50322 else
50323
50324
50325       ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330
50331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h.  */
50333 #include <stdlib.h>
50334 int
50335 main ()
50336 {
50337  strtold(0, 0);
50338   ;
50339   return 0;
50340 }
50341 _ACEOF
50342 if ac_fn_cxx_try_compile "$LINENO"; then :
50343   glibcxx_cv_func_strtold_use=yes
50344 else
50345   glibcxx_cv_func_strtold_use=no
50346 fi
50347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50348       ac_ext=c
50349 ac_cpp='$CPP $CPPFLAGS'
50350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50353
50354
50355 fi
50356
50357   fi
50358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50359 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50360   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50361     for ac_func in strtold
50362 do :
50363   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50364 if test "x$ac_cv_func_strtold" = x""yes; then :
50365   cat >>confdefs.h <<_ACEOF
50366 #define HAVE_STRTOLD 1
50367 _ACEOF
50368
50369 fi
50370 done
50371
50372   fi
50373
50374
50375
50376
50377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50378 $as_echo_n "checking for strtof declaration... " >&6; }
50379   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50380     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50381   $as_echo_n "(cached) " >&6
50382 else
50383
50384
50385       ac_ext=cpp
50386 ac_cpp='$CXXCPP $CPPFLAGS'
50387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50390
50391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50392 /* end confdefs.h.  */
50393 #include <stdlib.h>
50394 int
50395 main ()
50396 {
50397  strtof(0, 0);
50398   ;
50399   return 0;
50400 }
50401 _ACEOF
50402 if ac_fn_cxx_try_compile "$LINENO"; then :
50403   glibcxx_cv_func_strtof_use=yes
50404 else
50405   glibcxx_cv_func_strtof_use=no
50406 fi
50407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50408       ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50413
50414
50415 fi
50416
50417   fi
50418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50419 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50420   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50421     for ac_func in strtof
50422 do :
50423   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50424 if test "x$ac_cv_func_strtof" = x""yes; then :
50425   cat >>confdefs.h <<_ACEOF
50426 #define HAVE_STRTOF 1
50427 _ACEOF
50428
50429 fi
50430 done
50431
50432   fi
50433
50434
50435
50436
50437   CXXFLAGS="$ac_save_CXXFLAGS"
50438
50439     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50440
50441
50442
50443    # Check whether --enable-tls was given.
50444 if test "${enable_tls+set}" = set; then :
50445   enableval=$enable_tls;
50446       case "$enableval" in
50447        yes|no) ;;
50448        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50449       esac
50450
50451 else
50452   enable_tls=yes
50453 fi
50454
50455
50456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50457 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50458 if test "${gcc_cv_have_tls+set}" = set; then :
50459   $as_echo_n "(cached) " >&6
50460 else
50461
50462     if test "$cross_compiling" = yes; then :
50463                 if test x$gcc_no_link = xyes; then
50464   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50465 fi
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h.  */
50468 __thread int a; int b; int main() { return a = b; }
50469 _ACEOF
50470 if ac_fn_c_try_link "$LINENO"; then :
50471   chktls_save_LDFLAGS="$LDFLAGS"
50472                           case $host in
50473             *-*-linux*)
50474               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50475               ;;
50476           esac
50477           chktls_save_CFLAGS="$CFLAGS"
50478           CFLAGS="-fPIC $CFLAGS"
50479                   if test x$gcc_no_link = xyes; then
50480   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50481 fi
50482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483 /* end confdefs.h.  */
50484 int f() { return 0; }
50485 _ACEOF
50486 if ac_fn_c_try_link "$LINENO"; then :
50487   if test x$gcc_no_link = xyes; then
50488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50489 fi
50490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50491 /* end confdefs.h.  */
50492 __thread int a; int b; int f() { return a = b; }
50493 _ACEOF
50494 if ac_fn_c_try_link "$LINENO"; then :
50495   gcc_cv_have_tls=yes
50496 else
50497   gcc_cv_have_tls=no
50498 fi
50499 rm -f core conftest.err conftest.$ac_objext \
50500     conftest$ac_exeext conftest.$ac_ext
50501 else
50502   gcc_cv_have_tls=yes
50503 fi
50504 rm -f core conftest.err conftest.$ac_objext \
50505     conftest$ac_exeext conftest.$ac_ext
50506           CFLAGS="$chktls_save_CFLAGS"
50507           LDFLAGS="$chktls_save_LDFLAGS"
50508 else
50509   gcc_cv_have_tls=no
50510 fi
50511 rm -f core conftest.err conftest.$ac_objext \
50512     conftest$ac_exeext conftest.$ac_ext
50513
50514
50515 else
50516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50517 /* end confdefs.h.  */
50518 __thread int a; int b; int main() { return a = b; }
50519 _ACEOF
50520 if ac_fn_c_try_run "$LINENO"; then :
50521                       chktls_save_LDFLAGS="$LDFLAGS"
50522       LDFLAGS="-static $LDFLAGS"
50523       if test x$gcc_no_link = xyes; then
50524   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50525 fi
50526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50527 /* end confdefs.h.  */
50528 int main() { return 0; }
50529 _ACEOF
50530 if ac_fn_c_try_link "$LINENO"; then :
50531   if test "$cross_compiling" = yes; then :
50532   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50534 as_fn_error "cannot run test program while cross compiling
50535 See \`config.log' for more details." "$LINENO" 5; }
50536 else
50537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50538 /* end confdefs.h.  */
50539 __thread int a; int b; int main() { return a = b; }
50540 _ACEOF
50541 if ac_fn_c_try_run "$LINENO"; then :
50542   gcc_cv_have_tls=yes
50543 else
50544   gcc_cv_have_tls=no
50545 fi
50546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50547   conftest.$ac_objext conftest.beam conftest.$ac_ext
50548 fi
50549
50550 else
50551   gcc_cv_have_tls=yes
50552 fi
50553 rm -f core conftest.err conftest.$ac_objext \
50554     conftest$ac_exeext conftest.$ac_ext
50555       LDFLAGS="$chktls_save_LDFLAGS"
50556       if test $gcc_cv_have_tls = yes; then
50557                                                 chktls_save_CFLAGS="$CFLAGS"
50558         thread_CFLAGS=failed
50559         for flag in '' '-pthread' '-lpthread'; do
50560           CFLAGS="$flag $chktls_save_CFLAGS"
50561           if test x$gcc_no_link = xyes; then
50562   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50563 fi
50564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50565 /* end confdefs.h.  */
50566 #include <pthread.h>
50567                 void *g(void *d) { return NULL; }
50568 int
50569 main ()
50570 {
50571 pthread_t t; pthread_create(&t,NULL,g,NULL);
50572   ;
50573   return 0;
50574 }
50575 _ACEOF
50576 if ac_fn_c_try_link "$LINENO"; then :
50577   thread_CFLAGS="$flag"
50578 fi
50579 rm -f core conftest.err conftest.$ac_objext \
50580     conftest$ac_exeext conftest.$ac_ext
50581           if test "X$thread_CFLAGS" != Xfailed; then
50582             break
50583           fi
50584         done
50585         CFLAGS="$chktls_save_CFLAGS"
50586         if test "X$thread_CFLAGS" != Xfailed; then
50587           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50588           if test "$cross_compiling" = yes; then :
50589   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50591 as_fn_error "cannot run test program while cross compiling
50592 See \`config.log' for more details." "$LINENO" 5; }
50593 else
50594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50595 /* end confdefs.h.  */
50596 #include <pthread.h>
50597                 __thread int a;
50598                 static int *a_in_other_thread;
50599                 static void *
50600                 thread_func (void *arg)
50601                 {
50602                   a_in_other_thread = &a;
50603                   return (void *)0;
50604                 }
50605 int
50606 main ()
50607 {
50608 pthread_t thread;
50609                 void *thread_retval;
50610                 int *a_in_main_thread;
50611                 if (pthread_create (&thread, (pthread_attr_t *)0,
50612                                     thread_func, (void *)0))
50613                   return 0;
50614                 a_in_main_thread = &a;
50615                 if (pthread_join (thread, &thread_retval))
50616                   return 0;
50617                 return (a_in_other_thread == a_in_main_thread);
50618   ;
50619   return 0;
50620 }
50621 _ACEOF
50622 if ac_fn_c_try_run "$LINENO"; then :
50623   gcc_cv_have_tls=yes
50624 else
50625   gcc_cv_have_tls=no
50626 fi
50627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50628   conftest.$ac_objext conftest.beam conftest.$ac_ext
50629 fi
50630
50631           CFLAGS="$chktls_save_CFLAGS"
50632         fi
50633       fi
50634 else
50635   gcc_cv_have_tls=no
50636 fi
50637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50638   conftest.$ac_objext conftest.beam conftest.$ac_ext
50639 fi
50640
50641 fi
50642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50643 $as_echo "$gcc_cv_have_tls" >&6; }
50644   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50645
50646 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50647
50648   fi
50649
50650
50651
50652
50653
50654           am_save_CPPFLAGS="$CPPFLAGS"
50655
50656   for element in $INCICONV; do
50657     haveit=
50658     for x in $CPPFLAGS; do
50659
50660   acl_save_prefix="$prefix"
50661   prefix="$acl_final_prefix"
50662   acl_save_exec_prefix="$exec_prefix"
50663   exec_prefix="$acl_final_exec_prefix"
50664   eval x=\"$x\"
50665   exec_prefix="$acl_save_exec_prefix"
50666   prefix="$acl_save_prefix"
50667
50668       if test "X$x" = "X$element"; then
50669         haveit=yes
50670         break
50671       fi
50672     done
50673     if test -z "$haveit"; then
50674       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50675     fi
50676   done
50677
50678
50679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50680 $as_echo_n "checking for iconv... " >&6; }
50681 if test "${am_cv_func_iconv+set}" = set; then :
50682   $as_echo_n "(cached) " >&6
50683 else
50684
50685     am_cv_func_iconv="no, consider installing GNU libiconv"
50686     am_cv_lib_iconv=no
50687     if test x$gcc_no_link = xyes; then
50688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50689 fi
50690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50691 /* end confdefs.h.  */
50692 #include <stdlib.h>
50693 #include <iconv.h>
50694 int
50695 main ()
50696 {
50697 iconv_t cd = iconv_open("","");
50698        iconv(cd,NULL,NULL,NULL,NULL);
50699        iconv_close(cd);
50700   ;
50701   return 0;
50702 }
50703 _ACEOF
50704 if ac_fn_c_try_link "$LINENO"; then :
50705   am_cv_func_iconv=yes
50706 fi
50707 rm -f core conftest.err conftest.$ac_objext \
50708     conftest$ac_exeext conftest.$ac_ext
50709     if test "$am_cv_func_iconv" != yes; then
50710       am_save_LIBS="$LIBS"
50711       LIBS="$LIBS $LIBICONV"
50712       if test x$gcc_no_link = xyes; then
50713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50714 fi
50715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50716 /* end confdefs.h.  */
50717 #include <stdlib.h>
50718 #include <iconv.h>
50719 int
50720 main ()
50721 {
50722 iconv_t cd = iconv_open("","");
50723          iconv(cd,NULL,NULL,NULL,NULL);
50724          iconv_close(cd);
50725   ;
50726   return 0;
50727 }
50728 _ACEOF
50729 if ac_fn_c_try_link "$LINENO"; then :
50730   am_cv_lib_iconv=yes
50731         am_cv_func_iconv=yes
50732 fi
50733 rm -f core conftest.err conftest.$ac_objext \
50734     conftest$ac_exeext conftest.$ac_ext
50735       LIBS="$am_save_LIBS"
50736     fi
50737
50738 fi
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50740 $as_echo "$am_cv_func_iconv" >&6; }
50741   if test "$am_cv_func_iconv" = yes; then
50742
50743 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50744
50745   fi
50746   if test "$am_cv_lib_iconv" = yes; then
50747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50748 $as_echo_n "checking how to link with libiconv... " >&6; }
50749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50750 $as_echo "$LIBICONV" >&6; }
50751   else
50752             CPPFLAGS="$am_save_CPPFLAGS"
50753     LIBICONV=
50754     LTLIBICONV=
50755   fi
50756
50757
50758
50759   if test "$am_cv_func_iconv" = yes; then
50760     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50761 $as_echo_n "checking for iconv declaration... " >&6; }
50762     if test "${am_cv_proto_iconv+set}" = set; then :
50763   $as_echo_n "(cached) " >&6
50764 else
50765
50766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50767 /* end confdefs.h.  */
50768
50769 #include <stdlib.h>
50770 #include <iconv.h>
50771 extern
50772 #ifdef __cplusplus
50773 "C"
50774 #endif
50775 #if defined(__STDC__) || defined(__cplusplus)
50776 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50777 #else
50778 size_t iconv();
50779 #endif
50780
50781 int
50782 main ()
50783 {
50784
50785   ;
50786   return 0;
50787 }
50788 _ACEOF
50789 if ac_fn_c_try_compile "$LINENO"; then :
50790   am_cv_proto_iconv_arg1=""
50791 else
50792   am_cv_proto_iconv_arg1="const"
50793 fi
50794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50795       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);"
50796 fi
50797
50798     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50800          }$am_cv_proto_iconv" >&5
50801 $as_echo "${ac_t:-
50802          }$am_cv_proto_iconv" >&6; }
50803
50804 cat >>confdefs.h <<_ACEOF
50805 #define ICONV_CONST $am_cv_proto_iconv_arg1
50806 _ACEOF
50807
50808   fi
50809
50810     ;;
50811   *-mingw32*)
50812
50813   # If we're not using GNU ld, then there's no point in even trying these
50814   # tests.  Check for that first.  We should have already tested for gld
50815   # by now (in libtool), but require it now just to be safe...
50816   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50817   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50818
50819
50820
50821   # The name set by libtool depends on the version of libtool.  Shame on us
50822   # for depending on an impl detail, but c'est la vie.  Older versions used
50823   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50824   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50825   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50826   # set (hence we're using an older libtool), then set it.
50827   if test x${with_gnu_ld+set} != xset; then
50828     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50829       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50830       with_gnu_ld=no
50831     else
50832       with_gnu_ld=$ac_cv_prog_gnu_ld
50833     fi
50834   fi
50835
50836   # Start by getting the version number.  I think the libtool test already
50837   # does some of this, but throws away the result.
50838   glibcxx_ld_is_gold=no
50839   if test x"$with_gnu_ld" = x"yes"; then
50840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50841 $as_echo_n "checking for ld version... " >&6; }
50842
50843     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50844       glibcxx_ld_is_gold=yes
50845     fi
50846     ldver=`$LD --version 2>/dev/null |
50847            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'`
50848
50849     glibcxx_gnu_ld_version=`echo $ldver | \
50850            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50853   fi
50854
50855   # Set --gc-sections.
50856   glibcxx_have_gc_sections=no
50857   if test "$glibcxx_ld_is_gold" = "yes"; then
50858     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50859       glibcxx_have_gc_sections=yes
50860     fi
50861   else
50862     glibcxx_gcsections_min_ld=21602
50863     if test x"$with_gnu_ld" = x"yes" &&
50864         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50865       glibcxx_have_gc_sections=yes
50866     fi
50867   fi
50868   if test "$glibcxx_have_gc_sections" = "yes"; then
50869     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50870     # NB: This flag only works reliably after 2.16.1. Configure tests
50871     # for this are difficult, so hard wire a value that should work.
50872
50873     ac_test_CFLAGS="${CFLAGS+set}"
50874     ac_save_CFLAGS="$CFLAGS"
50875     CFLAGS='-Wl,--gc-sections'
50876
50877     # Check for -Wl,--gc-sections
50878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50880     if test x$gcc_no_link = xyes; then
50881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50882 fi
50883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884 /* end confdefs.h.  */
50885  int one(void) { return 1; }
50886      int two(void) { return 2; }
50887
50888 int
50889 main ()
50890 {
50891  two();
50892   ;
50893   return 0;
50894 }
50895 _ACEOF
50896 if ac_fn_c_try_link "$LINENO"; then :
50897   ac_gcsections=yes
50898 else
50899   ac_gcsections=no
50900 fi
50901 rm -f core conftest.err conftest.$ac_objext \
50902     conftest$ac_exeext conftest.$ac_ext
50903     if test "$ac_gcsections" = "yes"; then
50904       rm -f conftest.c
50905       touch conftest.c
50906       if $CC -c conftest.c; then
50907         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50908            grep "Warning: gc-sections option ignored" > /dev/null; then
50909           ac_gcsections=no
50910         fi
50911       fi
50912       rm -f conftest.c conftest.o conftest
50913     fi
50914     if test "$ac_gcsections" = "yes"; then
50915       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50916     fi
50917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50918 $as_echo "$ac_gcsections" >&6; }
50919
50920     if test "$ac_test_CFLAGS" = set; then
50921       CFLAGS="$ac_save_CFLAGS"
50922     else
50923       # this is the suspicious part
50924       CFLAGS=''
50925     fi
50926   fi
50927
50928   # Set -z,relro.
50929   # Note this is only for shared objects.
50930   ac_ld_relro=no
50931   if test x"$with_gnu_ld" = x"yes"; then
50932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50933 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50934     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50935     if test -n "$cxx_z_relo"; then
50936       OPT_LDFLAGS="-Wl,-z,relro"
50937       ac_ld_relro=yes
50938     fi
50939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50940 $as_echo "$ac_ld_relro" >&6; }
50941   fi
50942
50943   # Set linker optimization flags.
50944   if test x"$with_gnu_ld" = x"yes"; then
50945     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50946   fi
50947
50948
50949
50950
50951
50952   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50953   ac_save_CXXFLAGS="$CXXFLAGS"
50954   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50955
50956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50957 $as_echo_n "checking for sin in -lm... " >&6; }
50958 if test "${ac_cv_lib_m_sin+set}" = set; then :
50959   $as_echo_n "(cached) " >&6
50960 else
50961   ac_check_lib_save_LIBS=$LIBS
50962 LIBS="-lm  $LIBS"
50963 if test x$gcc_no_link = xyes; then
50964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50965 fi
50966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967 /* end confdefs.h.  */
50968
50969 /* Override any GCC internal prototype to avoid an error.
50970    Use char because int might match the return type of a GCC
50971    builtin and then its argument prototype would still apply.  */
50972 #ifdef __cplusplus
50973 extern "C"
50974 #endif
50975 char sin ();
50976 int
50977 main ()
50978 {
50979 return sin ();
50980   ;
50981   return 0;
50982 }
50983 _ACEOF
50984 if ac_fn_c_try_link "$LINENO"; then :
50985   ac_cv_lib_m_sin=yes
50986 else
50987   ac_cv_lib_m_sin=no
50988 fi
50989 rm -f core conftest.err conftest.$ac_objext \
50990     conftest$ac_exeext conftest.$ac_ext
50991 LIBS=$ac_check_lib_save_LIBS
50992 fi
50993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50994 $as_echo "$ac_cv_lib_m_sin" >&6; }
50995 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50996   libm="-lm"
50997 fi
50998
50999   ac_save_LIBS="$LIBS"
51000   LIBS="$LIBS $libm"
51001
51002
51003
51004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51005 $as_echo_n "checking for isinf declaration... " >&6; }
51006   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51007     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51008   $as_echo_n "(cached) " >&6
51009 else
51010
51011
51012       ac_ext=cpp
51013 ac_cpp='$CXXCPP $CPPFLAGS'
51014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51017
51018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51019 /* end confdefs.h.  */
51020 #include <math.h>
51021                       #ifdef HAVE_IEEEFP_H
51022                       #include <ieeefp.h>
51023                       #endif
51024
51025 int
51026 main ()
51027 {
51028  isinf(0);
51029   ;
51030   return 0;
51031 }
51032 _ACEOF
51033 if ac_fn_cxx_try_compile "$LINENO"; then :
51034   glibcxx_cv_func_isinf_use=yes
51035 else
51036   glibcxx_cv_func_isinf_use=no
51037 fi
51038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51039       ac_ext=c
51040 ac_cpp='$CPP $CPPFLAGS'
51041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044
51045
51046 fi
51047
51048   fi
51049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51050 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51051
51052   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51053     for ac_func in isinf
51054 do :
51055   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51056 if test "x$ac_cv_func_isinf" = x""yes; then :
51057   cat >>confdefs.h <<_ACEOF
51058 #define HAVE_ISINF 1
51059 _ACEOF
51060
51061 fi
51062 done
51063
51064   else
51065
51066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51067 $as_echo_n "checking for _isinf declaration... " >&6; }
51068   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51069     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51070   $as_echo_n "(cached) " >&6
51071 else
51072
51073
51074       ac_ext=cpp
51075 ac_cpp='$CXXCPP $CPPFLAGS'
51076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51079
51080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51081 /* end confdefs.h.  */
51082 #include <math.h>
51083                       #ifdef HAVE_IEEEFP_H
51084                       #include <ieeefp.h>
51085                       #endif
51086
51087 int
51088 main ()
51089 {
51090  _isinf(0);
51091   ;
51092   return 0;
51093 }
51094 _ACEOF
51095 if ac_fn_cxx_try_compile "$LINENO"; then :
51096   glibcxx_cv_func__isinf_use=yes
51097 else
51098   glibcxx_cv_func__isinf_use=no
51099 fi
51100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51101       ac_ext=c
51102 ac_cpp='$CPP $CPPFLAGS'
51103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51106
51107
51108 fi
51109
51110   fi
51111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51112 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51113
51114     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51115       for ac_func in _isinf
51116 do :
51117   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51118 if test "x$ac_cv_func__isinf" = x""yes; then :
51119   cat >>confdefs.h <<_ACEOF
51120 #define HAVE__ISINF 1
51121 _ACEOF
51122
51123 fi
51124 done
51125
51126     fi
51127   fi
51128
51129
51130
51131
51132
51133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51134 $as_echo_n "checking for isnan declaration... " >&6; }
51135   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51136     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51137   $as_echo_n "(cached) " >&6
51138 else
51139
51140
51141       ac_ext=cpp
51142 ac_cpp='$CXXCPP $CPPFLAGS'
51143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51146
51147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51148 /* end confdefs.h.  */
51149 #include <math.h>
51150                       #ifdef HAVE_IEEEFP_H
51151                       #include <ieeefp.h>
51152                       #endif
51153
51154 int
51155 main ()
51156 {
51157  isnan(0);
51158   ;
51159   return 0;
51160 }
51161 _ACEOF
51162 if ac_fn_cxx_try_compile "$LINENO"; then :
51163   glibcxx_cv_func_isnan_use=yes
51164 else
51165   glibcxx_cv_func_isnan_use=no
51166 fi
51167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51168       ac_ext=c
51169 ac_cpp='$CPP $CPPFLAGS'
51170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51173
51174
51175 fi
51176
51177   fi
51178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51179 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51180
51181   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51182     for ac_func in isnan
51183 do :
51184   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51185 if test "x$ac_cv_func_isnan" = x""yes; then :
51186   cat >>confdefs.h <<_ACEOF
51187 #define HAVE_ISNAN 1
51188 _ACEOF
51189
51190 fi
51191 done
51192
51193   else
51194
51195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51196 $as_echo_n "checking for _isnan declaration... " >&6; }
51197   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51198     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51199   $as_echo_n "(cached) " >&6
51200 else
51201
51202
51203       ac_ext=cpp
51204 ac_cpp='$CXXCPP $CPPFLAGS'
51205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51208
51209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51210 /* end confdefs.h.  */
51211 #include <math.h>
51212                       #ifdef HAVE_IEEEFP_H
51213                       #include <ieeefp.h>
51214                       #endif
51215
51216 int
51217 main ()
51218 {
51219  _isnan(0);
51220   ;
51221   return 0;
51222 }
51223 _ACEOF
51224 if ac_fn_cxx_try_compile "$LINENO"; then :
51225   glibcxx_cv_func__isnan_use=yes
51226 else
51227   glibcxx_cv_func__isnan_use=no
51228 fi
51229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51230       ac_ext=c
51231 ac_cpp='$CPP $CPPFLAGS'
51232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51235
51236
51237 fi
51238
51239   fi
51240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51241 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51242
51243     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51244       for ac_func in _isnan
51245 do :
51246   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51247 if test "x$ac_cv_func__isnan" = x""yes; then :
51248   cat >>confdefs.h <<_ACEOF
51249 #define HAVE__ISNAN 1
51250 _ACEOF
51251
51252 fi
51253 done
51254
51255     fi
51256   fi
51257
51258
51259
51260
51261
51262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51263 $as_echo_n "checking for finite declaration... " >&6; }
51264   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51265     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51266   $as_echo_n "(cached) " >&6
51267 else
51268
51269
51270       ac_ext=cpp
51271 ac_cpp='$CXXCPP $CPPFLAGS'
51272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51275
51276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51277 /* end confdefs.h.  */
51278 #include <math.h>
51279                       #ifdef HAVE_IEEEFP_H
51280                       #include <ieeefp.h>
51281                       #endif
51282
51283 int
51284 main ()
51285 {
51286  finite(0);
51287   ;
51288   return 0;
51289 }
51290 _ACEOF
51291 if ac_fn_cxx_try_compile "$LINENO"; then :
51292   glibcxx_cv_func_finite_use=yes
51293 else
51294   glibcxx_cv_func_finite_use=no
51295 fi
51296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51297       ac_ext=c
51298 ac_cpp='$CPP $CPPFLAGS'
51299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51302
51303
51304 fi
51305
51306   fi
51307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51308 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51309
51310   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51311     for ac_func in finite
51312 do :
51313   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51314 if test "x$ac_cv_func_finite" = x""yes; then :
51315   cat >>confdefs.h <<_ACEOF
51316 #define HAVE_FINITE 1
51317 _ACEOF
51318
51319 fi
51320 done
51321
51322   else
51323
51324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51325 $as_echo_n "checking for _finite declaration... " >&6; }
51326   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51327     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51328   $as_echo_n "(cached) " >&6
51329 else
51330
51331
51332       ac_ext=cpp
51333 ac_cpp='$CXXCPP $CPPFLAGS'
51334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51337
51338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51339 /* end confdefs.h.  */
51340 #include <math.h>
51341                       #ifdef HAVE_IEEEFP_H
51342                       #include <ieeefp.h>
51343                       #endif
51344
51345 int
51346 main ()
51347 {
51348  _finite(0);
51349   ;
51350   return 0;
51351 }
51352 _ACEOF
51353 if ac_fn_cxx_try_compile "$LINENO"; then :
51354   glibcxx_cv_func__finite_use=yes
51355 else
51356   glibcxx_cv_func__finite_use=no
51357 fi
51358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51359       ac_ext=c
51360 ac_cpp='$CPP $CPPFLAGS'
51361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51364
51365
51366 fi
51367
51368   fi
51369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51370 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51371
51372     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51373       for ac_func in _finite
51374 do :
51375   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51376 if test "x$ac_cv_func__finite" = x""yes; then :
51377   cat >>confdefs.h <<_ACEOF
51378 #define HAVE__FINITE 1
51379 _ACEOF
51380
51381 fi
51382 done
51383
51384     fi
51385   fi
51386
51387
51388
51389
51390
51391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51392 $as_echo_n "checking for sincos declaration... " >&6; }
51393   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51394     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51395   $as_echo_n "(cached) " >&6
51396 else
51397
51398
51399       ac_ext=cpp
51400 ac_cpp='$CXXCPP $CPPFLAGS'
51401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51404
51405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51406 /* end confdefs.h.  */
51407 #include <math.h>
51408 int
51409 main ()
51410 {
51411  sincos(0, 0, 0);
51412   ;
51413   return 0;
51414 }
51415 _ACEOF
51416 if ac_fn_cxx_try_compile "$LINENO"; then :
51417   glibcxx_cv_func_sincos_use=yes
51418 else
51419   glibcxx_cv_func_sincos_use=no
51420 fi
51421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51422       ac_ext=c
51423 ac_cpp='$CPP $CPPFLAGS'
51424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51427
51428
51429 fi
51430
51431   fi
51432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51433 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51434
51435   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51436     for ac_func in sincos
51437 do :
51438   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51439 if test "x$ac_cv_func_sincos" = x""yes; then :
51440   cat >>confdefs.h <<_ACEOF
51441 #define HAVE_SINCOS 1
51442 _ACEOF
51443
51444 fi
51445 done
51446
51447   else
51448
51449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51450 $as_echo_n "checking for _sincos declaration... " >&6; }
51451   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51452     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51453   $as_echo_n "(cached) " >&6
51454 else
51455
51456
51457       ac_ext=cpp
51458 ac_cpp='$CXXCPP $CPPFLAGS'
51459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51462
51463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51464 /* end confdefs.h.  */
51465 #include <math.h>
51466 int
51467 main ()
51468 {
51469  _sincos(0, 0, 0);
51470   ;
51471   return 0;
51472 }
51473 _ACEOF
51474 if ac_fn_cxx_try_compile "$LINENO"; then :
51475   glibcxx_cv_func__sincos_use=yes
51476 else
51477   glibcxx_cv_func__sincos_use=no
51478 fi
51479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51480       ac_ext=c
51481 ac_cpp='$CPP $CPPFLAGS'
51482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51485
51486
51487 fi
51488
51489   fi
51490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51491 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51492
51493     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51494       for ac_func in _sincos
51495 do :
51496   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51497 if test "x$ac_cv_func__sincos" = x""yes; then :
51498   cat >>confdefs.h <<_ACEOF
51499 #define HAVE__SINCOS 1
51500 _ACEOF
51501
51502 fi
51503 done
51504
51505     fi
51506   fi
51507
51508
51509
51510
51511
51512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51513 $as_echo_n "checking for fpclass declaration... " >&6; }
51514   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51515     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51516   $as_echo_n "(cached) " >&6
51517 else
51518
51519
51520       ac_ext=cpp
51521 ac_cpp='$CXXCPP $CPPFLAGS'
51522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51525
51526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51527 /* end confdefs.h.  */
51528 #include <math.h>
51529                       #ifdef HAVE_IEEEFP_H
51530                       #include <ieeefp.h>
51531                       #endif
51532
51533 int
51534 main ()
51535 {
51536  fpclass(0);
51537   ;
51538   return 0;
51539 }
51540 _ACEOF
51541 if ac_fn_cxx_try_compile "$LINENO"; then :
51542   glibcxx_cv_func_fpclass_use=yes
51543 else
51544   glibcxx_cv_func_fpclass_use=no
51545 fi
51546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51547       ac_ext=c
51548 ac_cpp='$CPP $CPPFLAGS'
51549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51552
51553
51554 fi
51555
51556   fi
51557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51558 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51559
51560   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51561     for ac_func in fpclass
51562 do :
51563   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51564 if test "x$ac_cv_func_fpclass" = x""yes; then :
51565   cat >>confdefs.h <<_ACEOF
51566 #define HAVE_FPCLASS 1
51567 _ACEOF
51568
51569 fi
51570 done
51571
51572   else
51573
51574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51575 $as_echo_n "checking for _fpclass declaration... " >&6; }
51576   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51577     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51578   $as_echo_n "(cached) " >&6
51579 else
51580
51581
51582       ac_ext=cpp
51583 ac_cpp='$CXXCPP $CPPFLAGS'
51584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51587
51588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51589 /* end confdefs.h.  */
51590 #include <math.h>
51591                       #ifdef HAVE_IEEEFP_H
51592                       #include <ieeefp.h>
51593                       #endif
51594
51595 int
51596 main ()
51597 {
51598  _fpclass(0);
51599   ;
51600   return 0;
51601 }
51602 _ACEOF
51603 if ac_fn_cxx_try_compile "$LINENO"; then :
51604   glibcxx_cv_func__fpclass_use=yes
51605 else
51606   glibcxx_cv_func__fpclass_use=no
51607 fi
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609       ac_ext=c
51610 ac_cpp='$CPP $CPPFLAGS'
51611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51614
51615
51616 fi
51617
51618   fi
51619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51620 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51621
51622     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51623       for ac_func in _fpclass
51624 do :
51625   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51626 if test "x$ac_cv_func__fpclass" = x""yes; then :
51627   cat >>confdefs.h <<_ACEOF
51628 #define HAVE__FPCLASS 1
51629 _ACEOF
51630
51631 fi
51632 done
51633
51634     fi
51635   fi
51636
51637
51638
51639
51640
51641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51642 $as_echo_n "checking for qfpclass declaration... " >&6; }
51643   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51644     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51645   $as_echo_n "(cached) " >&6
51646 else
51647
51648
51649       ac_ext=cpp
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51654
51655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51656 /* end confdefs.h.  */
51657 #include <math.h>
51658                       #ifdef HAVE_IEEEFP_H
51659                       #include <ieeefp.h>
51660                       #endif
51661
51662 int
51663 main ()
51664 {
51665  qfpclass(0);
51666   ;
51667   return 0;
51668 }
51669 _ACEOF
51670 if ac_fn_cxx_try_compile "$LINENO"; then :
51671   glibcxx_cv_func_qfpclass_use=yes
51672 else
51673   glibcxx_cv_func_qfpclass_use=no
51674 fi
51675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51676       ac_ext=c
51677 ac_cpp='$CPP $CPPFLAGS'
51678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51681
51682
51683 fi
51684
51685   fi
51686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51687 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51688
51689   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51690     for ac_func in qfpclass
51691 do :
51692   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51693 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51694   cat >>confdefs.h <<_ACEOF
51695 #define HAVE_QFPCLASS 1
51696 _ACEOF
51697
51698 fi
51699 done
51700
51701   else
51702
51703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51704 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51705   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51706     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51707   $as_echo_n "(cached) " >&6
51708 else
51709
51710
51711       ac_ext=cpp
51712 ac_cpp='$CXXCPP $CPPFLAGS'
51713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51716
51717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51718 /* end confdefs.h.  */
51719 #include <math.h>
51720                       #ifdef HAVE_IEEEFP_H
51721                       #include <ieeefp.h>
51722                       #endif
51723
51724 int
51725 main ()
51726 {
51727  _qfpclass(0);
51728   ;
51729   return 0;
51730 }
51731 _ACEOF
51732 if ac_fn_cxx_try_compile "$LINENO"; then :
51733   glibcxx_cv_func__qfpclass_use=yes
51734 else
51735   glibcxx_cv_func__qfpclass_use=no
51736 fi
51737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51738       ac_ext=c
51739 ac_cpp='$CPP $CPPFLAGS'
51740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743
51744
51745 fi
51746
51747   fi
51748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51749 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51750
51751     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51752       for ac_func in _qfpclass
51753 do :
51754   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51755 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51756   cat >>confdefs.h <<_ACEOF
51757 #define HAVE__QFPCLASS 1
51758 _ACEOF
51759
51760 fi
51761 done
51762
51763     fi
51764   fi
51765
51766
51767
51768
51769
51770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51771 $as_echo_n "checking for hypot declaration... " >&6; }
51772   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51773     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51774   $as_echo_n "(cached) " >&6
51775 else
51776
51777
51778       ac_ext=cpp
51779 ac_cpp='$CXXCPP $CPPFLAGS'
51780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51783
51784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51785 /* end confdefs.h.  */
51786 #include <math.h>
51787 int
51788 main ()
51789 {
51790  hypot(0, 0);
51791   ;
51792   return 0;
51793 }
51794 _ACEOF
51795 if ac_fn_cxx_try_compile "$LINENO"; then :
51796   glibcxx_cv_func_hypot_use=yes
51797 else
51798   glibcxx_cv_func_hypot_use=no
51799 fi
51800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51801       ac_ext=c
51802 ac_cpp='$CPP $CPPFLAGS'
51803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51806
51807
51808 fi
51809
51810   fi
51811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51812 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51813
51814   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51815     for ac_func in hypot
51816 do :
51817   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51818 if test "x$ac_cv_func_hypot" = x""yes; then :
51819   cat >>confdefs.h <<_ACEOF
51820 #define HAVE_HYPOT 1
51821 _ACEOF
51822
51823 fi
51824 done
51825
51826   else
51827
51828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51829 $as_echo_n "checking for _hypot declaration... " >&6; }
51830   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51831     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51832   $as_echo_n "(cached) " >&6
51833 else
51834
51835
51836       ac_ext=cpp
51837 ac_cpp='$CXXCPP $CPPFLAGS'
51838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841
51842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51843 /* end confdefs.h.  */
51844 #include <math.h>
51845 int
51846 main ()
51847 {
51848  _hypot(0, 0);
51849   ;
51850   return 0;
51851 }
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854   glibcxx_cv_func__hypot_use=yes
51855 else
51856   glibcxx_cv_func__hypot_use=no
51857 fi
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859       ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51864
51865
51866 fi
51867
51868   fi
51869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51870 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51871
51872     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51873       for ac_func in _hypot
51874 do :
51875   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51876 if test "x$ac_cv_func__hypot" = x""yes; then :
51877   cat >>confdefs.h <<_ACEOF
51878 #define HAVE__HYPOT 1
51879 _ACEOF
51880
51881 fi
51882 done
51883
51884     fi
51885   fi
51886
51887
51888
51889
51890
51891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51892 $as_echo_n "checking for float trig functions... " >&6; }
51893   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51894   $as_echo_n "(cached) " >&6
51895 else
51896
51897
51898     ac_ext=cpp
51899 ac_cpp='$CXXCPP $CPPFLAGS'
51900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51903
51904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51905 /* end confdefs.h.  */
51906 #include <math.h>
51907 int
51908 main ()
51909 {
51910 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51911   ;
51912   return 0;
51913 }
51914 _ACEOF
51915 if ac_fn_cxx_try_compile "$LINENO"; then :
51916   glibcxx_cv_func_float_trig_use=yes
51917 else
51918   glibcxx_cv_func_float_trig_use=no
51919 fi
51920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51921     ac_ext=c
51922 ac_cpp='$CPP $CPPFLAGS'
51923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51926
51927 fi
51928
51929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51930 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51931   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51932     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51933 do :
51934   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51936 eval as_val=\$$as_ac_var
51937    if test "x$as_val" = x""yes; then :
51938   cat >>confdefs.h <<_ACEOF
51939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51940 _ACEOF
51941
51942 fi
51943 done
51944
51945   else
51946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51947 $as_echo_n "checking for _float trig functions... " >&6; }
51948     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51949   $as_echo_n "(cached) " >&6
51950 else
51951
51952
51953       ac_ext=cpp
51954 ac_cpp='$CXXCPP $CPPFLAGS'
51955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51958
51959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51960 /* end confdefs.h.  */
51961 #include <math.h>
51962 int
51963 main ()
51964 {
51965 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51966   ;
51967   return 0;
51968 }
51969 _ACEOF
51970 if ac_fn_cxx_try_compile "$LINENO"; then :
51971   glibcxx_cv_func__float_trig_use=yes
51972 else
51973   glibcxx_cv_func__float_trig_use=no
51974 fi
51975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976       ac_ext=c
51977 ac_cpp='$CPP $CPPFLAGS'
51978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51981
51982 fi
51983
51984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51985 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51986     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51987       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51988 do :
51989   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51991 eval as_val=\$$as_ac_var
51992    if test "x$as_val" = x""yes; then :
51993   cat >>confdefs.h <<_ACEOF
51994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51995 _ACEOF
51996
51997 fi
51998 done
51999
52000     fi
52001   fi
52002
52003
52004
52005
52006
52007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52008 $as_echo_n "checking for float round functions... " >&6; }
52009   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52010   $as_echo_n "(cached) " >&6
52011 else
52012
52013
52014     ac_ext=cpp
52015 ac_cpp='$CXXCPP $CPPFLAGS'
52016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52019
52020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52021 /* end confdefs.h.  */
52022 #include <math.h>
52023 int
52024 main ()
52025 {
52026 ceilf (0); floorf (0);
52027   ;
52028   return 0;
52029 }
52030 _ACEOF
52031 if ac_fn_cxx_try_compile "$LINENO"; then :
52032   glibcxx_cv_func_float_round_use=yes
52033 else
52034   glibcxx_cv_func_float_round_use=no
52035 fi
52036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52037     ac_ext=c
52038 ac_cpp='$CPP $CPPFLAGS'
52039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52042
52043 fi
52044
52045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52046 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52047   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52048     for ac_func in ceilf floorf
52049 do :
52050   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52052 eval as_val=\$$as_ac_var
52053    if test "x$as_val" = x""yes; then :
52054   cat >>confdefs.h <<_ACEOF
52055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52056 _ACEOF
52057
52058 fi
52059 done
52060
52061   else
52062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52063 $as_echo_n "checking for _float round functions... " >&6; }
52064     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52065   $as_echo_n "(cached) " >&6
52066 else
52067
52068
52069       ac_ext=cpp
52070 ac_cpp='$CXXCPP $CPPFLAGS'
52071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52074
52075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52076 /* end confdefs.h.  */
52077 #include <math.h>
52078 int
52079 main ()
52080 {
52081 _ceilf (0); _floorf (0);
52082   ;
52083   return 0;
52084 }
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087   glibcxx_cv_func__float_round_use=yes
52088 else
52089   glibcxx_cv_func__float_round_use=no
52090 fi
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092       ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52097
52098 fi
52099
52100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52101 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52102     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52103       for ac_func in _ceilf _floorf
52104 do :
52105   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52107 eval as_val=\$$as_ac_var
52108    if test "x$as_val" = x""yes; then :
52109   cat >>confdefs.h <<_ACEOF
52110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52111 _ACEOF
52112
52113 fi
52114 done
52115
52116     fi
52117   fi
52118
52119
52120
52121
52122
52123
52124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52125 $as_echo_n "checking for expf declaration... " >&6; }
52126   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52127     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52128   $as_echo_n "(cached) " >&6
52129 else
52130
52131
52132       ac_ext=cpp
52133 ac_cpp='$CXXCPP $CPPFLAGS'
52134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52137
52138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h.  */
52140 #include <math.h>
52141                       #ifdef HAVE_IEEEFP_H
52142                       #include <ieeefp.h>
52143                       #endif
52144
52145 int
52146 main ()
52147 {
52148  expf(0);
52149   ;
52150   return 0;
52151 }
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154   glibcxx_cv_func_expf_use=yes
52155 else
52156   glibcxx_cv_func_expf_use=no
52157 fi
52158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52159       ac_ext=c
52160 ac_cpp='$CPP $CPPFLAGS'
52161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52164
52165
52166 fi
52167
52168   fi
52169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52170 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52171
52172   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52173     for ac_func in expf
52174 do :
52175   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52176 if test "x$ac_cv_func_expf" = x""yes; then :
52177   cat >>confdefs.h <<_ACEOF
52178 #define HAVE_EXPF 1
52179 _ACEOF
52180
52181 fi
52182 done
52183
52184   else
52185
52186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52187 $as_echo_n "checking for _expf declaration... " >&6; }
52188   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52189     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52190   $as_echo_n "(cached) " >&6
52191 else
52192
52193
52194       ac_ext=cpp
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199
52200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h.  */
52202 #include <math.h>
52203                       #ifdef HAVE_IEEEFP_H
52204                       #include <ieeefp.h>
52205                       #endif
52206
52207 int
52208 main ()
52209 {
52210  _expf(0);
52211   ;
52212   return 0;
52213 }
52214 _ACEOF
52215 if ac_fn_cxx_try_compile "$LINENO"; then :
52216   glibcxx_cv_func__expf_use=yes
52217 else
52218   glibcxx_cv_func__expf_use=no
52219 fi
52220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52221       ac_ext=c
52222 ac_cpp='$CPP $CPPFLAGS'
52223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52226
52227
52228 fi
52229
52230   fi
52231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52232 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52233
52234     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52235       for ac_func in _expf
52236 do :
52237   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52238 if test "x$ac_cv_func__expf" = x""yes; then :
52239   cat >>confdefs.h <<_ACEOF
52240 #define HAVE__EXPF 1
52241 _ACEOF
52242
52243 fi
52244 done
52245
52246     fi
52247   fi
52248
52249
52250
52251
52252
52253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52254 $as_echo_n "checking for isnanf declaration... " >&6; }
52255   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52256     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52257   $as_echo_n "(cached) " >&6
52258 else
52259
52260
52261       ac_ext=cpp
52262 ac_cpp='$CXXCPP $CPPFLAGS'
52263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52266
52267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52268 /* end confdefs.h.  */
52269 #include <math.h>
52270                       #ifdef HAVE_IEEEFP_H
52271                       #include <ieeefp.h>
52272                       #endif
52273
52274 int
52275 main ()
52276 {
52277  isnanf(0);
52278   ;
52279   return 0;
52280 }
52281 _ACEOF
52282 if ac_fn_cxx_try_compile "$LINENO"; then :
52283   glibcxx_cv_func_isnanf_use=yes
52284 else
52285   glibcxx_cv_func_isnanf_use=no
52286 fi
52287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52288       ac_ext=c
52289 ac_cpp='$CPP $CPPFLAGS'
52290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52293
52294
52295 fi
52296
52297   fi
52298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52299 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52300
52301   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52302     for ac_func in isnanf
52303 do :
52304   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52305 if test "x$ac_cv_func_isnanf" = x""yes; then :
52306   cat >>confdefs.h <<_ACEOF
52307 #define HAVE_ISNANF 1
52308 _ACEOF
52309
52310 fi
52311 done
52312
52313   else
52314
52315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52316 $as_echo_n "checking for _isnanf declaration... " >&6; }
52317   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52318     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52319   $as_echo_n "(cached) " >&6
52320 else
52321
52322
52323       ac_ext=cpp
52324 ac_cpp='$CXXCPP $CPPFLAGS'
52325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52328
52329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52330 /* end confdefs.h.  */
52331 #include <math.h>
52332                       #ifdef HAVE_IEEEFP_H
52333                       #include <ieeefp.h>
52334                       #endif
52335
52336 int
52337 main ()
52338 {
52339  _isnanf(0);
52340   ;
52341   return 0;
52342 }
52343 _ACEOF
52344 if ac_fn_cxx_try_compile "$LINENO"; then :
52345   glibcxx_cv_func__isnanf_use=yes
52346 else
52347   glibcxx_cv_func__isnanf_use=no
52348 fi
52349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52350       ac_ext=c
52351 ac_cpp='$CPP $CPPFLAGS'
52352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52355
52356
52357 fi
52358
52359   fi
52360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52361 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52362
52363     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52364       for ac_func in _isnanf
52365 do :
52366   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52367 if test "x$ac_cv_func__isnanf" = x""yes; then :
52368   cat >>confdefs.h <<_ACEOF
52369 #define HAVE__ISNANF 1
52370 _ACEOF
52371
52372 fi
52373 done
52374
52375     fi
52376   fi
52377
52378
52379
52380
52381
52382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52383 $as_echo_n "checking for isinff declaration... " >&6; }
52384   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52385     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52386   $as_echo_n "(cached) " >&6
52387 else
52388
52389
52390       ac_ext=cpp
52391 ac_cpp='$CXXCPP $CPPFLAGS'
52392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52395
52396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52397 /* end confdefs.h.  */
52398 #include <math.h>
52399                       #ifdef HAVE_IEEEFP_H
52400                       #include <ieeefp.h>
52401                       #endif
52402
52403 int
52404 main ()
52405 {
52406  isinff(0);
52407   ;
52408   return 0;
52409 }
52410 _ACEOF
52411 if ac_fn_cxx_try_compile "$LINENO"; then :
52412   glibcxx_cv_func_isinff_use=yes
52413 else
52414   glibcxx_cv_func_isinff_use=no
52415 fi
52416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52417       ac_ext=c
52418 ac_cpp='$CPP $CPPFLAGS'
52419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52422
52423
52424 fi
52425
52426   fi
52427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52428 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52429
52430   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52431     for ac_func in isinff
52432 do :
52433   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52434 if test "x$ac_cv_func_isinff" = x""yes; then :
52435   cat >>confdefs.h <<_ACEOF
52436 #define HAVE_ISINFF 1
52437 _ACEOF
52438
52439 fi
52440 done
52441
52442   else
52443
52444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52445 $as_echo_n "checking for _isinff declaration... " >&6; }
52446   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52447     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52448   $as_echo_n "(cached) " >&6
52449 else
52450
52451
52452       ac_ext=cpp
52453 ac_cpp='$CXXCPP $CPPFLAGS'
52454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52457
52458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52459 /* end confdefs.h.  */
52460 #include <math.h>
52461                       #ifdef HAVE_IEEEFP_H
52462                       #include <ieeefp.h>
52463                       #endif
52464
52465 int
52466 main ()
52467 {
52468  _isinff(0);
52469   ;
52470   return 0;
52471 }
52472 _ACEOF
52473 if ac_fn_cxx_try_compile "$LINENO"; then :
52474   glibcxx_cv_func__isinff_use=yes
52475 else
52476   glibcxx_cv_func__isinff_use=no
52477 fi
52478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52479       ac_ext=c
52480 ac_cpp='$CPP $CPPFLAGS'
52481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52484
52485
52486 fi
52487
52488   fi
52489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52490 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52491
52492     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52493       for ac_func in _isinff
52494 do :
52495   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52496 if test "x$ac_cv_func__isinff" = x""yes; then :
52497   cat >>confdefs.h <<_ACEOF
52498 #define HAVE__ISINFF 1
52499 _ACEOF
52500
52501 fi
52502 done
52503
52504     fi
52505   fi
52506
52507
52508
52509
52510
52511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52512 $as_echo_n "checking for atan2f declaration... " >&6; }
52513   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52514     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52515   $as_echo_n "(cached) " >&6
52516 else
52517
52518
52519       ac_ext=cpp
52520 ac_cpp='$CXXCPP $CPPFLAGS'
52521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52524
52525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52526 /* end confdefs.h.  */
52527 #include <math.h>
52528 int
52529 main ()
52530 {
52531  atan2f(0, 0);
52532   ;
52533   return 0;
52534 }
52535 _ACEOF
52536 if ac_fn_cxx_try_compile "$LINENO"; then :
52537   glibcxx_cv_func_atan2f_use=yes
52538 else
52539   glibcxx_cv_func_atan2f_use=no
52540 fi
52541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52542       ac_ext=c
52543 ac_cpp='$CPP $CPPFLAGS'
52544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52547
52548
52549 fi
52550
52551   fi
52552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52553 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52554
52555   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52556     for ac_func in atan2f
52557 do :
52558   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52559 if test "x$ac_cv_func_atan2f" = x""yes; then :
52560   cat >>confdefs.h <<_ACEOF
52561 #define HAVE_ATAN2F 1
52562 _ACEOF
52563
52564 fi
52565 done
52566
52567   else
52568
52569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52570 $as_echo_n "checking for _atan2f declaration... " >&6; }
52571   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52572     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52573   $as_echo_n "(cached) " >&6
52574 else
52575
52576
52577       ac_ext=cpp
52578 ac_cpp='$CXXCPP $CPPFLAGS'
52579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52582
52583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584 /* end confdefs.h.  */
52585 #include <math.h>
52586 int
52587 main ()
52588 {
52589  _atan2f(0, 0);
52590   ;
52591   return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595   glibcxx_cv_func__atan2f_use=yes
52596 else
52597   glibcxx_cv_func__atan2f_use=no
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600       ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605
52606
52607 fi
52608
52609   fi
52610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52611 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52612
52613     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52614       for ac_func in _atan2f
52615 do :
52616   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52617 if test "x$ac_cv_func__atan2f" = x""yes; then :
52618   cat >>confdefs.h <<_ACEOF
52619 #define HAVE__ATAN2F 1
52620 _ACEOF
52621
52622 fi
52623 done
52624
52625     fi
52626   fi
52627
52628
52629
52630
52631
52632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52633 $as_echo_n "checking for fabsf declaration... " >&6; }
52634   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52635     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52636   $as_echo_n "(cached) " >&6
52637 else
52638
52639
52640       ac_ext=cpp
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52645
52646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h.  */
52648 #include <math.h>
52649                       #ifdef HAVE_IEEEFP_H
52650                       #include <ieeefp.h>
52651                       #endif
52652
52653 int
52654 main ()
52655 {
52656  fabsf(0);
52657   ;
52658   return 0;
52659 }
52660 _ACEOF
52661 if ac_fn_cxx_try_compile "$LINENO"; then :
52662   glibcxx_cv_func_fabsf_use=yes
52663 else
52664   glibcxx_cv_func_fabsf_use=no
52665 fi
52666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52667       ac_ext=c
52668 ac_cpp='$CPP $CPPFLAGS'
52669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52672
52673
52674 fi
52675
52676   fi
52677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52678 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52679
52680   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52681     for ac_func in fabsf
52682 do :
52683   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52684 if test "x$ac_cv_func_fabsf" = x""yes; then :
52685   cat >>confdefs.h <<_ACEOF
52686 #define HAVE_FABSF 1
52687 _ACEOF
52688
52689 fi
52690 done
52691
52692   else
52693
52694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52695 $as_echo_n "checking for _fabsf declaration... " >&6; }
52696   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52697     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52698   $as_echo_n "(cached) " >&6
52699 else
52700
52701
52702       ac_ext=cpp
52703 ac_cpp='$CXXCPP $CPPFLAGS'
52704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52707
52708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52709 /* end confdefs.h.  */
52710 #include <math.h>
52711                       #ifdef HAVE_IEEEFP_H
52712                       #include <ieeefp.h>
52713                       #endif
52714
52715 int
52716 main ()
52717 {
52718  _fabsf(0);
52719   ;
52720   return 0;
52721 }
52722 _ACEOF
52723 if ac_fn_cxx_try_compile "$LINENO"; then :
52724   glibcxx_cv_func__fabsf_use=yes
52725 else
52726   glibcxx_cv_func__fabsf_use=no
52727 fi
52728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52729       ac_ext=c
52730 ac_cpp='$CPP $CPPFLAGS'
52731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52734
52735
52736 fi
52737
52738   fi
52739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52740 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52741
52742     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52743       for ac_func in _fabsf
52744 do :
52745   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52746 if test "x$ac_cv_func__fabsf" = x""yes; then :
52747   cat >>confdefs.h <<_ACEOF
52748 #define HAVE__FABSF 1
52749 _ACEOF
52750
52751 fi
52752 done
52753
52754     fi
52755   fi
52756
52757
52758
52759
52760
52761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52762 $as_echo_n "checking for fmodf declaration... " >&6; }
52763   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52764     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52765   $as_echo_n "(cached) " >&6
52766 else
52767
52768
52769       ac_ext=cpp
52770 ac_cpp='$CXXCPP $CPPFLAGS'
52771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52774
52775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52776 /* end confdefs.h.  */
52777 #include <math.h>
52778 int
52779 main ()
52780 {
52781  fmodf(0, 0);
52782   ;
52783   return 0;
52784 }
52785 _ACEOF
52786 if ac_fn_cxx_try_compile "$LINENO"; then :
52787   glibcxx_cv_func_fmodf_use=yes
52788 else
52789   glibcxx_cv_func_fmodf_use=no
52790 fi
52791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52792       ac_ext=c
52793 ac_cpp='$CPP $CPPFLAGS'
52794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52797
52798
52799 fi
52800
52801   fi
52802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52803 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52804
52805   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52806     for ac_func in fmodf
52807 do :
52808   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52809 if test "x$ac_cv_func_fmodf" = x""yes; then :
52810   cat >>confdefs.h <<_ACEOF
52811 #define HAVE_FMODF 1
52812 _ACEOF
52813
52814 fi
52815 done
52816
52817   else
52818
52819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52820 $as_echo_n "checking for _fmodf declaration... " >&6; }
52821   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52822     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52823   $as_echo_n "(cached) " >&6
52824 else
52825
52826
52827       ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832
52833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h.  */
52835 #include <math.h>
52836 int
52837 main ()
52838 {
52839  _fmodf(0, 0);
52840   ;
52841   return 0;
52842 }
52843 _ACEOF
52844 if ac_fn_cxx_try_compile "$LINENO"; then :
52845   glibcxx_cv_func__fmodf_use=yes
52846 else
52847   glibcxx_cv_func__fmodf_use=no
52848 fi
52849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52850       ac_ext=c
52851 ac_cpp='$CPP $CPPFLAGS'
52852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52855
52856
52857 fi
52858
52859   fi
52860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52861 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52862
52863     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52864       for ac_func in _fmodf
52865 do :
52866   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52867 if test "x$ac_cv_func__fmodf" = x""yes; then :
52868   cat >>confdefs.h <<_ACEOF
52869 #define HAVE__FMODF 1
52870 _ACEOF
52871
52872 fi
52873 done
52874
52875     fi
52876   fi
52877
52878
52879
52880
52881
52882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52883 $as_echo_n "checking for frexpf declaration... " >&6; }
52884   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52885     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52886   $as_echo_n "(cached) " >&6
52887 else
52888
52889
52890       ac_ext=cpp
52891 ac_cpp='$CXXCPP $CPPFLAGS'
52892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52895
52896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52897 /* end confdefs.h.  */
52898 #include <math.h>
52899 int
52900 main ()
52901 {
52902  frexpf(0, 0);
52903   ;
52904   return 0;
52905 }
52906 _ACEOF
52907 if ac_fn_cxx_try_compile "$LINENO"; then :
52908   glibcxx_cv_func_frexpf_use=yes
52909 else
52910   glibcxx_cv_func_frexpf_use=no
52911 fi
52912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52913       ac_ext=c
52914 ac_cpp='$CPP $CPPFLAGS'
52915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52918
52919
52920 fi
52921
52922   fi
52923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52924 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52925
52926   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52927     for ac_func in frexpf
52928 do :
52929   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52930 if test "x$ac_cv_func_frexpf" = x""yes; then :
52931   cat >>confdefs.h <<_ACEOF
52932 #define HAVE_FREXPF 1
52933 _ACEOF
52934
52935 fi
52936 done
52937
52938   else
52939
52940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52941 $as_echo_n "checking for _frexpf declaration... " >&6; }
52942   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52943     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52944   $as_echo_n "(cached) " >&6
52945 else
52946
52947
52948       ac_ext=cpp
52949 ac_cpp='$CXXCPP $CPPFLAGS'
52950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52953
52954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52955 /* end confdefs.h.  */
52956 #include <math.h>
52957 int
52958 main ()
52959 {
52960  _frexpf(0, 0);
52961   ;
52962   return 0;
52963 }
52964 _ACEOF
52965 if ac_fn_cxx_try_compile "$LINENO"; then :
52966   glibcxx_cv_func__frexpf_use=yes
52967 else
52968   glibcxx_cv_func__frexpf_use=no
52969 fi
52970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52971       ac_ext=c
52972 ac_cpp='$CPP $CPPFLAGS'
52973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52976
52977
52978 fi
52979
52980   fi
52981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52982 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52983
52984     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52985       for ac_func in _frexpf
52986 do :
52987   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52988 if test "x$ac_cv_func__frexpf" = x""yes; then :
52989   cat >>confdefs.h <<_ACEOF
52990 #define HAVE__FREXPF 1
52991 _ACEOF
52992
52993 fi
52994 done
52995
52996     fi
52997   fi
52998
52999
53000
53001
53002
53003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53004 $as_echo_n "checking for hypotf declaration... " >&6; }
53005   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53006     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53007   $as_echo_n "(cached) " >&6
53008 else
53009
53010
53011       ac_ext=cpp
53012 ac_cpp='$CXXCPP $CPPFLAGS'
53013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53016
53017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53018 /* end confdefs.h.  */
53019 #include <math.h>
53020 int
53021 main ()
53022 {
53023  hypotf(0, 0);
53024   ;
53025   return 0;
53026 }
53027 _ACEOF
53028 if ac_fn_cxx_try_compile "$LINENO"; then :
53029   glibcxx_cv_func_hypotf_use=yes
53030 else
53031   glibcxx_cv_func_hypotf_use=no
53032 fi
53033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53034       ac_ext=c
53035 ac_cpp='$CPP $CPPFLAGS'
53036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53039
53040
53041 fi
53042
53043   fi
53044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53045 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53046
53047   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53048     for ac_func in hypotf
53049 do :
53050   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53051 if test "x$ac_cv_func_hypotf" = x""yes; then :
53052   cat >>confdefs.h <<_ACEOF
53053 #define HAVE_HYPOTF 1
53054 _ACEOF
53055
53056 fi
53057 done
53058
53059   else
53060
53061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53062 $as_echo_n "checking for _hypotf declaration... " >&6; }
53063   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53064     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53065   $as_echo_n "(cached) " >&6
53066 else
53067
53068
53069       ac_ext=cpp
53070 ac_cpp='$CXXCPP $CPPFLAGS'
53071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074
53075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53076 /* end confdefs.h.  */
53077 #include <math.h>
53078 int
53079 main ()
53080 {
53081  _hypotf(0, 0);
53082   ;
53083   return 0;
53084 }
53085 _ACEOF
53086 if ac_fn_cxx_try_compile "$LINENO"; then :
53087   glibcxx_cv_func__hypotf_use=yes
53088 else
53089   glibcxx_cv_func__hypotf_use=no
53090 fi
53091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53092       ac_ext=c
53093 ac_cpp='$CPP $CPPFLAGS'
53094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53097
53098
53099 fi
53100
53101   fi
53102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53103 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53104
53105     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53106       for ac_func in _hypotf
53107 do :
53108   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53109 if test "x$ac_cv_func__hypotf" = x""yes; then :
53110   cat >>confdefs.h <<_ACEOF
53111 #define HAVE__HYPOTF 1
53112 _ACEOF
53113
53114 fi
53115 done
53116
53117     fi
53118   fi
53119
53120
53121
53122
53123
53124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53125 $as_echo_n "checking for ldexpf declaration... " >&6; }
53126   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53127     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53128   $as_echo_n "(cached) " >&6
53129 else
53130
53131
53132       ac_ext=cpp
53133 ac_cpp='$CXXCPP $CPPFLAGS'
53134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137
53138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53139 /* end confdefs.h.  */
53140 #include <math.h>
53141 int
53142 main ()
53143 {
53144  ldexpf(0, 0);
53145   ;
53146   return 0;
53147 }
53148 _ACEOF
53149 if ac_fn_cxx_try_compile "$LINENO"; then :
53150   glibcxx_cv_func_ldexpf_use=yes
53151 else
53152   glibcxx_cv_func_ldexpf_use=no
53153 fi
53154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53155       ac_ext=c
53156 ac_cpp='$CPP $CPPFLAGS'
53157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53160
53161
53162 fi
53163
53164   fi
53165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53166 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53167
53168   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53169     for ac_func in ldexpf
53170 do :
53171   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53172 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53173   cat >>confdefs.h <<_ACEOF
53174 #define HAVE_LDEXPF 1
53175 _ACEOF
53176
53177 fi
53178 done
53179
53180   else
53181
53182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53183 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53184   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53185     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53186   $as_echo_n "(cached) " >&6
53187 else
53188
53189
53190       ac_ext=cpp
53191 ac_cpp='$CXXCPP $CPPFLAGS'
53192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53195
53196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53197 /* end confdefs.h.  */
53198 #include <math.h>
53199 int
53200 main ()
53201 {
53202  _ldexpf(0, 0);
53203   ;
53204   return 0;
53205 }
53206 _ACEOF
53207 if ac_fn_cxx_try_compile "$LINENO"; then :
53208   glibcxx_cv_func__ldexpf_use=yes
53209 else
53210   glibcxx_cv_func__ldexpf_use=no
53211 fi
53212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53213       ac_ext=c
53214 ac_cpp='$CPP $CPPFLAGS'
53215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53218
53219
53220 fi
53221
53222   fi
53223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53224 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53225
53226     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53227       for ac_func in _ldexpf
53228 do :
53229   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53230 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53231   cat >>confdefs.h <<_ACEOF
53232 #define HAVE__LDEXPF 1
53233 _ACEOF
53234
53235 fi
53236 done
53237
53238     fi
53239   fi
53240
53241
53242
53243
53244
53245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53246 $as_echo_n "checking for logf declaration... " >&6; }
53247   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53248     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53249   $as_echo_n "(cached) " >&6
53250 else
53251
53252
53253       ac_ext=cpp
53254 ac_cpp='$CXXCPP $CPPFLAGS'
53255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258
53259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53260 /* end confdefs.h.  */
53261 #include <math.h>
53262                       #ifdef HAVE_IEEEFP_H
53263                       #include <ieeefp.h>
53264                       #endif
53265
53266 int
53267 main ()
53268 {
53269  logf(0);
53270   ;
53271   return 0;
53272 }
53273 _ACEOF
53274 if ac_fn_cxx_try_compile "$LINENO"; then :
53275   glibcxx_cv_func_logf_use=yes
53276 else
53277   glibcxx_cv_func_logf_use=no
53278 fi
53279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53280       ac_ext=c
53281 ac_cpp='$CPP $CPPFLAGS'
53282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53285
53286
53287 fi
53288
53289   fi
53290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53291 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53292
53293   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53294     for ac_func in logf
53295 do :
53296   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53297 if test "x$ac_cv_func_logf" = x""yes; then :
53298   cat >>confdefs.h <<_ACEOF
53299 #define HAVE_LOGF 1
53300 _ACEOF
53301
53302 fi
53303 done
53304
53305   else
53306
53307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53308 $as_echo_n "checking for _logf declaration... " >&6; }
53309   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53310     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53311   $as_echo_n "(cached) " >&6
53312 else
53313
53314
53315       ac_ext=cpp
53316 ac_cpp='$CXXCPP $CPPFLAGS'
53317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53320
53321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53322 /* end confdefs.h.  */
53323 #include <math.h>
53324                       #ifdef HAVE_IEEEFP_H
53325                       #include <ieeefp.h>
53326                       #endif
53327
53328 int
53329 main ()
53330 {
53331  _logf(0);
53332   ;
53333   return 0;
53334 }
53335 _ACEOF
53336 if ac_fn_cxx_try_compile "$LINENO"; then :
53337   glibcxx_cv_func__logf_use=yes
53338 else
53339   glibcxx_cv_func__logf_use=no
53340 fi
53341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53342       ac_ext=c
53343 ac_cpp='$CPP $CPPFLAGS'
53344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347
53348
53349 fi
53350
53351   fi
53352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53353 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53354
53355     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53356       for ac_func in _logf
53357 do :
53358   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53359 if test "x$ac_cv_func__logf" = x""yes; then :
53360   cat >>confdefs.h <<_ACEOF
53361 #define HAVE__LOGF 1
53362 _ACEOF
53363
53364 fi
53365 done
53366
53367     fi
53368   fi
53369
53370
53371
53372
53373
53374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53375 $as_echo_n "checking for log10f declaration... " >&6; }
53376   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53377     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53378   $as_echo_n "(cached) " >&6
53379 else
53380
53381
53382       ac_ext=cpp
53383 ac_cpp='$CXXCPP $CPPFLAGS'
53384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53387
53388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53389 /* end confdefs.h.  */
53390 #include <math.h>
53391                       #ifdef HAVE_IEEEFP_H
53392                       #include <ieeefp.h>
53393                       #endif
53394
53395 int
53396 main ()
53397 {
53398  log10f(0);
53399   ;
53400   return 0;
53401 }
53402 _ACEOF
53403 if ac_fn_cxx_try_compile "$LINENO"; then :
53404   glibcxx_cv_func_log10f_use=yes
53405 else
53406   glibcxx_cv_func_log10f_use=no
53407 fi
53408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53409       ac_ext=c
53410 ac_cpp='$CPP $CPPFLAGS'
53411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53414
53415
53416 fi
53417
53418   fi
53419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53420 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53421
53422   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53423     for ac_func in log10f
53424 do :
53425   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53426 if test "x$ac_cv_func_log10f" = x""yes; then :
53427   cat >>confdefs.h <<_ACEOF
53428 #define HAVE_LOG10F 1
53429 _ACEOF
53430
53431 fi
53432 done
53433
53434   else
53435
53436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53437 $as_echo_n "checking for _log10f declaration... " >&6; }
53438   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53439     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53440   $as_echo_n "(cached) " >&6
53441 else
53442
53443
53444       ac_ext=cpp
53445 ac_cpp='$CXXCPP $CPPFLAGS'
53446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53449
53450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53451 /* end confdefs.h.  */
53452 #include <math.h>
53453                       #ifdef HAVE_IEEEFP_H
53454                       #include <ieeefp.h>
53455                       #endif
53456
53457 int
53458 main ()
53459 {
53460  _log10f(0);
53461   ;
53462   return 0;
53463 }
53464 _ACEOF
53465 if ac_fn_cxx_try_compile "$LINENO"; then :
53466   glibcxx_cv_func__log10f_use=yes
53467 else
53468   glibcxx_cv_func__log10f_use=no
53469 fi
53470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53471       ac_ext=c
53472 ac_cpp='$CPP $CPPFLAGS'
53473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476
53477
53478 fi
53479
53480   fi
53481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53482 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53483
53484     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53485       for ac_func in _log10f
53486 do :
53487   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53488 if test "x$ac_cv_func__log10f" = x""yes; then :
53489   cat >>confdefs.h <<_ACEOF
53490 #define HAVE__LOG10F 1
53491 _ACEOF
53492
53493 fi
53494 done
53495
53496     fi
53497   fi
53498
53499
53500
53501
53502
53503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53504 $as_echo_n "checking for modff declaration... " >&6; }
53505   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53506     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53507   $as_echo_n "(cached) " >&6
53508 else
53509
53510
53511       ac_ext=cpp
53512 ac_cpp='$CXXCPP $CPPFLAGS'
53513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53516
53517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53518 /* end confdefs.h.  */
53519 #include <math.h>
53520 int
53521 main ()
53522 {
53523  modff(0, 0);
53524   ;
53525   return 0;
53526 }
53527 _ACEOF
53528 if ac_fn_cxx_try_compile "$LINENO"; then :
53529   glibcxx_cv_func_modff_use=yes
53530 else
53531   glibcxx_cv_func_modff_use=no
53532 fi
53533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53534       ac_ext=c
53535 ac_cpp='$CPP $CPPFLAGS'
53536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53539
53540
53541 fi
53542
53543   fi
53544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53545 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53546
53547   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53548     for ac_func in modff
53549 do :
53550   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53551 if test "x$ac_cv_func_modff" = x""yes; then :
53552   cat >>confdefs.h <<_ACEOF
53553 #define HAVE_MODFF 1
53554 _ACEOF
53555
53556 fi
53557 done
53558
53559   else
53560
53561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53562 $as_echo_n "checking for _modff declaration... " >&6; }
53563   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53564     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53565   $as_echo_n "(cached) " >&6
53566 else
53567
53568
53569       ac_ext=cpp
53570 ac_cpp='$CXXCPP $CPPFLAGS'
53571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53574
53575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53576 /* end confdefs.h.  */
53577 #include <math.h>
53578 int
53579 main ()
53580 {
53581  _modff(0, 0);
53582   ;
53583   return 0;
53584 }
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587   glibcxx_cv_func__modff_use=yes
53588 else
53589   glibcxx_cv_func__modff_use=no
53590 fi
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592       ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597
53598
53599 fi
53600
53601   fi
53602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53603 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53604
53605     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53606       for ac_func in _modff
53607 do :
53608   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53609 if test "x$ac_cv_func__modff" = x""yes; then :
53610   cat >>confdefs.h <<_ACEOF
53611 #define HAVE__MODFF 1
53612 _ACEOF
53613
53614 fi
53615 done
53616
53617     fi
53618   fi
53619
53620
53621
53622
53623
53624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53625 $as_echo_n "checking for modf declaration... " >&6; }
53626   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53627     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53628   $as_echo_n "(cached) " >&6
53629 else
53630
53631
53632       ac_ext=cpp
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637
53638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h.  */
53640 #include <math.h>
53641 int
53642 main ()
53643 {
53644  modf(0, 0);
53645   ;
53646   return 0;
53647 }
53648 _ACEOF
53649 if ac_fn_cxx_try_compile "$LINENO"; then :
53650   glibcxx_cv_func_modf_use=yes
53651 else
53652   glibcxx_cv_func_modf_use=no
53653 fi
53654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53655       ac_ext=c
53656 ac_cpp='$CPP $CPPFLAGS'
53657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53660
53661
53662 fi
53663
53664   fi
53665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53666 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53667
53668   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53669     for ac_func in modf
53670 do :
53671   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53672 if test "x$ac_cv_func_modf" = x""yes; then :
53673   cat >>confdefs.h <<_ACEOF
53674 #define HAVE_MODF 1
53675 _ACEOF
53676
53677 fi
53678 done
53679
53680   else
53681
53682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53683 $as_echo_n "checking for _modf declaration... " >&6; }
53684   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53685     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53686   $as_echo_n "(cached) " >&6
53687 else
53688
53689
53690       ac_ext=cpp
53691 ac_cpp='$CXXCPP $CPPFLAGS'
53692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695
53696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53697 /* end confdefs.h.  */
53698 #include <math.h>
53699 int
53700 main ()
53701 {
53702  _modf(0, 0);
53703   ;
53704   return 0;
53705 }
53706 _ACEOF
53707 if ac_fn_cxx_try_compile "$LINENO"; then :
53708   glibcxx_cv_func__modf_use=yes
53709 else
53710   glibcxx_cv_func__modf_use=no
53711 fi
53712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53713       ac_ext=c
53714 ac_cpp='$CPP $CPPFLAGS'
53715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53718
53719
53720 fi
53721
53722   fi
53723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53724 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53725
53726     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53727       for ac_func in _modf
53728 do :
53729   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53730 if test "x$ac_cv_func__modf" = x""yes; then :
53731   cat >>confdefs.h <<_ACEOF
53732 #define HAVE__MODF 1
53733 _ACEOF
53734
53735 fi
53736 done
53737
53738     fi
53739   fi
53740
53741
53742
53743
53744
53745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53746 $as_echo_n "checking for powf declaration... " >&6; }
53747   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53748     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53749   $as_echo_n "(cached) " >&6
53750 else
53751
53752
53753       ac_ext=cpp
53754 ac_cpp='$CXXCPP $CPPFLAGS'
53755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53758
53759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53760 /* end confdefs.h.  */
53761 #include <math.h>
53762 int
53763 main ()
53764 {
53765  powf(0, 0);
53766   ;
53767   return 0;
53768 }
53769 _ACEOF
53770 if ac_fn_cxx_try_compile "$LINENO"; then :
53771   glibcxx_cv_func_powf_use=yes
53772 else
53773   glibcxx_cv_func_powf_use=no
53774 fi
53775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53776       ac_ext=c
53777 ac_cpp='$CPP $CPPFLAGS'
53778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781
53782
53783 fi
53784
53785   fi
53786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53787 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53788
53789   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53790     for ac_func in powf
53791 do :
53792   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53793 if test "x$ac_cv_func_powf" = x""yes; then :
53794   cat >>confdefs.h <<_ACEOF
53795 #define HAVE_POWF 1
53796 _ACEOF
53797
53798 fi
53799 done
53800
53801   else
53802
53803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53804 $as_echo_n "checking for _powf declaration... " >&6; }
53805   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53806     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53807   $as_echo_n "(cached) " >&6
53808 else
53809
53810
53811       ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816
53817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h.  */
53819 #include <math.h>
53820 int
53821 main ()
53822 {
53823  _powf(0, 0);
53824   ;
53825   return 0;
53826 }
53827 _ACEOF
53828 if ac_fn_cxx_try_compile "$LINENO"; then :
53829   glibcxx_cv_func__powf_use=yes
53830 else
53831   glibcxx_cv_func__powf_use=no
53832 fi
53833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53834       ac_ext=c
53835 ac_cpp='$CPP $CPPFLAGS'
53836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839
53840
53841 fi
53842
53843   fi
53844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53845 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53846
53847     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53848       for ac_func in _powf
53849 do :
53850   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53851 if test "x$ac_cv_func__powf" = x""yes; then :
53852   cat >>confdefs.h <<_ACEOF
53853 #define HAVE__POWF 1
53854 _ACEOF
53855
53856 fi
53857 done
53858
53859     fi
53860   fi
53861
53862
53863
53864
53865
53866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53867 $as_echo_n "checking for sqrtf declaration... " >&6; }
53868   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53869     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53870   $as_echo_n "(cached) " >&6
53871 else
53872
53873
53874       ac_ext=cpp
53875 ac_cpp='$CXXCPP $CPPFLAGS'
53876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53879
53880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53881 /* end confdefs.h.  */
53882 #include <math.h>
53883                       #ifdef HAVE_IEEEFP_H
53884                       #include <ieeefp.h>
53885                       #endif
53886
53887 int
53888 main ()
53889 {
53890  sqrtf(0);
53891   ;
53892   return 0;
53893 }
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896   glibcxx_cv_func_sqrtf_use=yes
53897 else
53898   glibcxx_cv_func_sqrtf_use=no
53899 fi
53900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53901       ac_ext=c
53902 ac_cpp='$CPP $CPPFLAGS'
53903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53906
53907
53908 fi
53909
53910   fi
53911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53912 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53913
53914   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53915     for ac_func in sqrtf
53916 do :
53917   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53918 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53919   cat >>confdefs.h <<_ACEOF
53920 #define HAVE_SQRTF 1
53921 _ACEOF
53922
53923 fi
53924 done
53925
53926   else
53927
53928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53929 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53930   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53931     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53932   $as_echo_n "(cached) " >&6
53933 else
53934
53935
53936       ac_ext=cpp
53937 ac_cpp='$CXXCPP $CPPFLAGS'
53938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53941
53942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53943 /* end confdefs.h.  */
53944 #include <math.h>
53945                       #ifdef HAVE_IEEEFP_H
53946                       #include <ieeefp.h>
53947                       #endif
53948
53949 int
53950 main ()
53951 {
53952  _sqrtf(0);
53953   ;
53954   return 0;
53955 }
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958   glibcxx_cv_func__sqrtf_use=yes
53959 else
53960   glibcxx_cv_func__sqrtf_use=no
53961 fi
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963       ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53968
53969
53970 fi
53971
53972   fi
53973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53974 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53975
53976     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53977       for ac_func in _sqrtf
53978 do :
53979   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53980 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53981   cat >>confdefs.h <<_ACEOF
53982 #define HAVE__SQRTF 1
53983 _ACEOF
53984
53985 fi
53986 done
53987
53988     fi
53989   fi
53990
53991
53992
53993
53994
53995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53996 $as_echo_n "checking for sincosf declaration... " >&6; }
53997   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53998     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53999   $as_echo_n "(cached) " >&6
54000 else
54001
54002
54003       ac_ext=cpp
54004 ac_cpp='$CXXCPP $CPPFLAGS'
54005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54008
54009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54010 /* end confdefs.h.  */
54011 #include <math.h>
54012 int
54013 main ()
54014 {
54015  sincosf(0, 0, 0);
54016   ;
54017   return 0;
54018 }
54019 _ACEOF
54020 if ac_fn_cxx_try_compile "$LINENO"; then :
54021   glibcxx_cv_func_sincosf_use=yes
54022 else
54023   glibcxx_cv_func_sincosf_use=no
54024 fi
54025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54026       ac_ext=c
54027 ac_cpp='$CPP $CPPFLAGS'
54028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54031
54032
54033 fi
54034
54035   fi
54036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54037 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54038
54039   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54040     for ac_func in sincosf
54041 do :
54042   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54043 if test "x$ac_cv_func_sincosf" = x""yes; then :
54044   cat >>confdefs.h <<_ACEOF
54045 #define HAVE_SINCOSF 1
54046 _ACEOF
54047
54048 fi
54049 done
54050
54051   else
54052
54053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54054 $as_echo_n "checking for _sincosf declaration... " >&6; }
54055   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54056     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54057   $as_echo_n "(cached) " >&6
54058 else
54059
54060
54061       ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066
54067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h.  */
54069 #include <math.h>
54070 int
54071 main ()
54072 {
54073  _sincosf(0, 0, 0);
54074   ;
54075   return 0;
54076 }
54077 _ACEOF
54078 if ac_fn_cxx_try_compile "$LINENO"; then :
54079   glibcxx_cv_func__sincosf_use=yes
54080 else
54081   glibcxx_cv_func__sincosf_use=no
54082 fi
54083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54084       ac_ext=c
54085 ac_cpp='$CPP $CPPFLAGS'
54086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54089
54090
54091 fi
54092
54093   fi
54094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54095 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54096
54097     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54098       for ac_func in _sincosf
54099 do :
54100   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54101 if test "x$ac_cv_func__sincosf" = x""yes; then :
54102   cat >>confdefs.h <<_ACEOF
54103 #define HAVE__SINCOSF 1
54104 _ACEOF
54105
54106 fi
54107 done
54108
54109     fi
54110   fi
54111
54112
54113
54114
54115
54116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54117 $as_echo_n "checking for finitef declaration... " >&6; }
54118   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54119     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54120   $as_echo_n "(cached) " >&6
54121 else
54122
54123
54124       ac_ext=cpp
54125 ac_cpp='$CXXCPP $CPPFLAGS'
54126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129
54130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h.  */
54132 #include <math.h>
54133                       #ifdef HAVE_IEEEFP_H
54134                       #include <ieeefp.h>
54135                       #endif
54136
54137 int
54138 main ()
54139 {
54140  finitef(0);
54141   ;
54142   return 0;
54143 }
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146   glibcxx_cv_func_finitef_use=yes
54147 else
54148   glibcxx_cv_func_finitef_use=no
54149 fi
54150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54151       ac_ext=c
54152 ac_cpp='$CPP $CPPFLAGS'
54153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54156
54157
54158 fi
54159
54160   fi
54161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54162 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54163
54164   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54165     for ac_func in finitef
54166 do :
54167   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54168 if test "x$ac_cv_func_finitef" = x""yes; then :
54169   cat >>confdefs.h <<_ACEOF
54170 #define HAVE_FINITEF 1
54171 _ACEOF
54172
54173 fi
54174 done
54175
54176   else
54177
54178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54179 $as_echo_n "checking for _finitef declaration... " >&6; }
54180   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54181     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54182   $as_echo_n "(cached) " >&6
54183 else
54184
54185
54186       ac_ext=cpp
54187 ac_cpp='$CXXCPP $CPPFLAGS'
54188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54191
54192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54193 /* end confdefs.h.  */
54194 #include <math.h>
54195                       #ifdef HAVE_IEEEFP_H
54196                       #include <ieeefp.h>
54197                       #endif
54198
54199 int
54200 main ()
54201 {
54202  _finitef(0);
54203   ;
54204   return 0;
54205 }
54206 _ACEOF
54207 if ac_fn_cxx_try_compile "$LINENO"; then :
54208   glibcxx_cv_func__finitef_use=yes
54209 else
54210   glibcxx_cv_func__finitef_use=no
54211 fi
54212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54213       ac_ext=c
54214 ac_cpp='$CPP $CPPFLAGS'
54215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54218
54219
54220 fi
54221
54222   fi
54223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54224 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54225
54226     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54227       for ac_func in _finitef
54228 do :
54229   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54230 if test "x$ac_cv_func__finitef" = x""yes; then :
54231   cat >>confdefs.h <<_ACEOF
54232 #define HAVE__FINITEF 1
54233 _ACEOF
54234
54235 fi
54236 done
54237
54238     fi
54239   fi
54240
54241
54242
54243
54244
54245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54246 $as_echo_n "checking for long double trig functions... " >&6; }
54247   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54248   $as_echo_n "(cached) " >&6
54249 else
54250
54251
54252     ac_ext=cpp
54253 ac_cpp='$CXXCPP $CPPFLAGS'
54254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54257
54258     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54259 /* end confdefs.h.  */
54260 #include <math.h>
54261 int
54262 main ()
54263 {
54264 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54265   ;
54266   return 0;
54267 }
54268 _ACEOF
54269 if ac_fn_cxx_try_compile "$LINENO"; then :
54270   glibcxx_cv_func_long_double_trig_use=yes
54271 else
54272   glibcxx_cv_func_long_double_trig_use=no
54273 fi
54274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54275     ac_ext=c
54276 ac_cpp='$CPP $CPPFLAGS'
54277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54280
54281 fi
54282
54283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54284 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54285   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54286     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54287 do :
54288   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54290 eval as_val=\$$as_ac_var
54291    if test "x$as_val" = x""yes; then :
54292   cat >>confdefs.h <<_ACEOF
54293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54294 _ACEOF
54295
54296 fi
54297 done
54298
54299   else
54300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54301 $as_echo_n "checking for _long double trig functions... " >&6; }
54302     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54303   $as_echo_n "(cached) " >&6
54304 else
54305
54306
54307       ac_ext=cpp
54308 ac_cpp='$CXXCPP $CPPFLAGS'
54309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54312
54313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54314 /* end confdefs.h.  */
54315 #include <math.h>
54316 int
54317 main ()
54318 {
54319 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54320   ;
54321   return 0;
54322 }
54323 _ACEOF
54324 if ac_fn_cxx_try_compile "$LINENO"; then :
54325   glibcxx_cv_func__long_double_trig_use=yes
54326 else
54327   glibcxx_cv_func__long_double_trig_use=no
54328 fi
54329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54330       ac_ext=c
54331 ac_cpp='$CPP $CPPFLAGS'
54332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54335
54336 fi
54337
54338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54339 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54340     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54341       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54342 do :
54343   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54345 eval as_val=\$$as_ac_var
54346    if test "x$as_val" = x""yes; then :
54347   cat >>confdefs.h <<_ACEOF
54348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54349 _ACEOF
54350
54351 fi
54352 done
54353
54354     fi
54355   fi
54356
54357
54358
54359
54360
54361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54362 $as_echo_n "checking for long double round functions... " >&6; }
54363   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54364   $as_echo_n "(cached) " >&6
54365 else
54366
54367
54368     ac_ext=cpp
54369 ac_cpp='$CXXCPP $CPPFLAGS'
54370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54373
54374     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54375 /* end confdefs.h.  */
54376 #include <math.h>
54377 int
54378 main ()
54379 {
54380 ceill (0); floorl (0);
54381   ;
54382   return 0;
54383 }
54384 _ACEOF
54385 if ac_fn_cxx_try_compile "$LINENO"; then :
54386   glibcxx_cv_func_long_double_round_use=yes
54387 else
54388   glibcxx_cv_func_long_double_round_use=no
54389 fi
54390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54391     ac_ext=c
54392 ac_cpp='$CPP $CPPFLAGS'
54393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54396
54397 fi
54398
54399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54400 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54401   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54402     for ac_func in ceill floorl
54403 do :
54404   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54406 eval as_val=\$$as_ac_var
54407    if test "x$as_val" = x""yes; then :
54408   cat >>confdefs.h <<_ACEOF
54409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54410 _ACEOF
54411
54412 fi
54413 done
54414
54415   else
54416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54417 $as_echo_n "checking for _long double round functions... " >&6; }
54418     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54419   $as_echo_n "(cached) " >&6
54420 else
54421
54422
54423       ac_ext=cpp
54424 ac_cpp='$CXXCPP $CPPFLAGS'
54425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54428
54429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54430 /* end confdefs.h.  */
54431 #include <math.h>
54432 int
54433 main ()
54434 {
54435 _ceill (0); _floorl (0);
54436   ;
54437   return 0;
54438 }
54439 _ACEOF
54440 if ac_fn_cxx_try_compile "$LINENO"; then :
54441   glibcxx_cv_func__long_double_round_use=yes
54442 else
54443   glibcxx_cv_func__long_double_round_use=no
54444 fi
54445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54446       ac_ext=c
54447 ac_cpp='$CPP $CPPFLAGS'
54448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54451
54452 fi
54453
54454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54455 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54456     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54457       for ac_func in _ceill _floorl
54458 do :
54459   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54461 eval as_val=\$$as_ac_var
54462    if test "x$as_val" = x""yes; then :
54463   cat >>confdefs.h <<_ACEOF
54464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54465 _ACEOF
54466
54467 fi
54468 done
54469
54470     fi
54471   fi
54472
54473
54474
54475
54476
54477
54478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54479 $as_echo_n "checking for isnanl declaration... " >&6; }
54480   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54481     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54482   $as_echo_n "(cached) " >&6
54483 else
54484
54485
54486       ac_ext=cpp
54487 ac_cpp='$CXXCPP $CPPFLAGS'
54488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54491
54492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54493 /* end confdefs.h.  */
54494 #include <math.h>
54495                       #ifdef HAVE_IEEEFP_H
54496                       #include <ieeefp.h>
54497                       #endif
54498
54499 int
54500 main ()
54501 {
54502  isnanl(0);
54503   ;
54504   return 0;
54505 }
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508   glibcxx_cv_func_isnanl_use=yes
54509 else
54510   glibcxx_cv_func_isnanl_use=no
54511 fi
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513       ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54518
54519
54520 fi
54521
54522   fi
54523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54524 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54525
54526   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54527     for ac_func in isnanl
54528 do :
54529   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54530 if test "x$ac_cv_func_isnanl" = x""yes; then :
54531   cat >>confdefs.h <<_ACEOF
54532 #define HAVE_ISNANL 1
54533 _ACEOF
54534
54535 fi
54536 done
54537
54538   else
54539
54540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54541 $as_echo_n "checking for _isnanl declaration... " >&6; }
54542   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54543     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54544   $as_echo_n "(cached) " >&6
54545 else
54546
54547
54548       ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54553
54554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h.  */
54556 #include <math.h>
54557                       #ifdef HAVE_IEEEFP_H
54558                       #include <ieeefp.h>
54559                       #endif
54560
54561 int
54562 main ()
54563 {
54564  _isnanl(0);
54565   ;
54566   return 0;
54567 }
54568 _ACEOF
54569 if ac_fn_cxx_try_compile "$LINENO"; then :
54570   glibcxx_cv_func__isnanl_use=yes
54571 else
54572   glibcxx_cv_func__isnanl_use=no
54573 fi
54574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54575       ac_ext=c
54576 ac_cpp='$CPP $CPPFLAGS'
54577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54580
54581
54582 fi
54583
54584   fi
54585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54586 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54587
54588     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54589       for ac_func in _isnanl
54590 do :
54591   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54592 if test "x$ac_cv_func__isnanl" = x""yes; then :
54593   cat >>confdefs.h <<_ACEOF
54594 #define HAVE__ISNANL 1
54595 _ACEOF
54596
54597 fi
54598 done
54599
54600     fi
54601   fi
54602
54603
54604
54605
54606
54607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54608 $as_echo_n "checking for isinfl declaration... " >&6; }
54609   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54610     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54611   $as_echo_n "(cached) " >&6
54612 else
54613
54614
54615       ac_ext=cpp
54616 ac_cpp='$CXXCPP $CPPFLAGS'
54617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54620
54621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54622 /* end confdefs.h.  */
54623 #include <math.h>
54624                       #ifdef HAVE_IEEEFP_H
54625                       #include <ieeefp.h>
54626                       #endif
54627
54628 int
54629 main ()
54630 {
54631  isinfl(0);
54632   ;
54633   return 0;
54634 }
54635 _ACEOF
54636 if ac_fn_cxx_try_compile "$LINENO"; then :
54637   glibcxx_cv_func_isinfl_use=yes
54638 else
54639   glibcxx_cv_func_isinfl_use=no
54640 fi
54641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54642       ac_ext=c
54643 ac_cpp='$CPP $CPPFLAGS'
54644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54647
54648
54649 fi
54650
54651   fi
54652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54653 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54654
54655   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54656     for ac_func in isinfl
54657 do :
54658   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54659 if test "x$ac_cv_func_isinfl" = x""yes; then :
54660   cat >>confdefs.h <<_ACEOF
54661 #define HAVE_ISINFL 1
54662 _ACEOF
54663
54664 fi
54665 done
54666
54667   else
54668
54669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54670 $as_echo_n "checking for _isinfl declaration... " >&6; }
54671   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54672     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54673   $as_echo_n "(cached) " >&6
54674 else
54675
54676
54677       ac_ext=cpp
54678 ac_cpp='$CXXCPP $CPPFLAGS'
54679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54682
54683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54684 /* end confdefs.h.  */
54685 #include <math.h>
54686                       #ifdef HAVE_IEEEFP_H
54687                       #include <ieeefp.h>
54688                       #endif
54689
54690 int
54691 main ()
54692 {
54693  _isinfl(0);
54694   ;
54695   return 0;
54696 }
54697 _ACEOF
54698 if ac_fn_cxx_try_compile "$LINENO"; then :
54699   glibcxx_cv_func__isinfl_use=yes
54700 else
54701   glibcxx_cv_func__isinfl_use=no
54702 fi
54703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54704       ac_ext=c
54705 ac_cpp='$CPP $CPPFLAGS'
54706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54709
54710
54711 fi
54712
54713   fi
54714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54715 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54716
54717     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54718       for ac_func in _isinfl
54719 do :
54720   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54721 if test "x$ac_cv_func__isinfl" = x""yes; then :
54722   cat >>confdefs.h <<_ACEOF
54723 #define HAVE__ISINFL 1
54724 _ACEOF
54725
54726 fi
54727 done
54728
54729     fi
54730   fi
54731
54732
54733
54734
54735
54736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54737 $as_echo_n "checking for atan2l declaration... " >&6; }
54738   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54739     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54740   $as_echo_n "(cached) " >&6
54741 else
54742
54743
54744       ac_ext=cpp
54745 ac_cpp='$CXXCPP $CPPFLAGS'
54746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54749
54750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54751 /* end confdefs.h.  */
54752 #include <math.h>
54753 int
54754 main ()
54755 {
54756  atan2l(0, 0);
54757   ;
54758   return 0;
54759 }
54760 _ACEOF
54761 if ac_fn_cxx_try_compile "$LINENO"; then :
54762   glibcxx_cv_func_atan2l_use=yes
54763 else
54764   glibcxx_cv_func_atan2l_use=no
54765 fi
54766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54767       ac_ext=c
54768 ac_cpp='$CPP $CPPFLAGS'
54769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54772
54773
54774 fi
54775
54776   fi
54777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54778 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54779
54780   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54781     for ac_func in atan2l
54782 do :
54783   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54784 if test "x$ac_cv_func_atan2l" = x""yes; then :
54785   cat >>confdefs.h <<_ACEOF
54786 #define HAVE_ATAN2L 1
54787 _ACEOF
54788
54789 fi
54790 done
54791
54792   else
54793
54794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54795 $as_echo_n "checking for _atan2l declaration... " >&6; }
54796   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54797     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54798   $as_echo_n "(cached) " >&6
54799 else
54800
54801
54802       ac_ext=cpp
54803 ac_cpp='$CXXCPP $CPPFLAGS'
54804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54807
54808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54809 /* end confdefs.h.  */
54810 #include <math.h>
54811 int
54812 main ()
54813 {
54814  _atan2l(0, 0);
54815   ;
54816   return 0;
54817 }
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820   glibcxx_cv_func__atan2l_use=yes
54821 else
54822   glibcxx_cv_func__atan2l_use=no
54823 fi
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825       ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54830
54831
54832 fi
54833
54834   fi
54835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54836 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54837
54838     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54839       for ac_func in _atan2l
54840 do :
54841   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54842 if test "x$ac_cv_func__atan2l" = x""yes; then :
54843   cat >>confdefs.h <<_ACEOF
54844 #define HAVE__ATAN2L 1
54845 _ACEOF
54846
54847 fi
54848 done
54849
54850     fi
54851   fi
54852
54853
54854
54855
54856
54857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54858 $as_echo_n "checking for expl declaration... " >&6; }
54859   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54860     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54861   $as_echo_n "(cached) " >&6
54862 else
54863
54864
54865       ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870
54871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h.  */
54873 #include <math.h>
54874                       #ifdef HAVE_IEEEFP_H
54875                       #include <ieeefp.h>
54876                       #endif
54877
54878 int
54879 main ()
54880 {
54881  expl(0);
54882   ;
54883   return 0;
54884 }
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887   glibcxx_cv_func_expl_use=yes
54888 else
54889   glibcxx_cv_func_expl_use=no
54890 fi
54891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54892       ac_ext=c
54893 ac_cpp='$CPP $CPPFLAGS'
54894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54897
54898
54899 fi
54900
54901   fi
54902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54903 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54904
54905   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54906     for ac_func in expl
54907 do :
54908   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54909 if test "x$ac_cv_func_expl" = x""yes; then :
54910   cat >>confdefs.h <<_ACEOF
54911 #define HAVE_EXPL 1
54912 _ACEOF
54913
54914 fi
54915 done
54916
54917   else
54918
54919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54920 $as_echo_n "checking for _expl declaration... " >&6; }
54921   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54922     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54923   $as_echo_n "(cached) " >&6
54924 else
54925
54926
54927       ac_ext=cpp
54928 ac_cpp='$CXXCPP $CPPFLAGS'
54929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54932
54933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54934 /* end confdefs.h.  */
54935 #include <math.h>
54936                       #ifdef HAVE_IEEEFP_H
54937                       #include <ieeefp.h>
54938                       #endif
54939
54940 int
54941 main ()
54942 {
54943  _expl(0);
54944   ;
54945   return 0;
54946 }
54947 _ACEOF
54948 if ac_fn_cxx_try_compile "$LINENO"; then :
54949   glibcxx_cv_func__expl_use=yes
54950 else
54951   glibcxx_cv_func__expl_use=no
54952 fi
54953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54954       ac_ext=c
54955 ac_cpp='$CPP $CPPFLAGS'
54956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54959
54960
54961 fi
54962
54963   fi
54964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54965 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54966
54967     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54968       for ac_func in _expl
54969 do :
54970   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54971 if test "x$ac_cv_func__expl" = x""yes; then :
54972   cat >>confdefs.h <<_ACEOF
54973 #define HAVE__EXPL 1
54974 _ACEOF
54975
54976 fi
54977 done
54978
54979     fi
54980   fi
54981
54982
54983
54984
54985
54986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54987 $as_echo_n "checking for fabsl declaration... " >&6; }
54988   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54989     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54990   $as_echo_n "(cached) " >&6
54991 else
54992
54993
54994       ac_ext=cpp
54995 ac_cpp='$CXXCPP $CPPFLAGS'
54996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54999
55000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55001 /* end confdefs.h.  */
55002 #include <math.h>
55003                       #ifdef HAVE_IEEEFP_H
55004                       #include <ieeefp.h>
55005                       #endif
55006
55007 int
55008 main ()
55009 {
55010  fabsl(0);
55011   ;
55012   return 0;
55013 }
55014 _ACEOF
55015 if ac_fn_cxx_try_compile "$LINENO"; then :
55016   glibcxx_cv_func_fabsl_use=yes
55017 else
55018   glibcxx_cv_func_fabsl_use=no
55019 fi
55020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55021       ac_ext=c
55022 ac_cpp='$CPP $CPPFLAGS'
55023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55026
55027
55028 fi
55029
55030   fi
55031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55032 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55033
55034   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55035     for ac_func in fabsl
55036 do :
55037   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55038 if test "x$ac_cv_func_fabsl" = x""yes; then :
55039   cat >>confdefs.h <<_ACEOF
55040 #define HAVE_FABSL 1
55041 _ACEOF
55042
55043 fi
55044 done
55045
55046   else
55047
55048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55049 $as_echo_n "checking for _fabsl declaration... " >&6; }
55050   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55051     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55052   $as_echo_n "(cached) " >&6
55053 else
55054
55055
55056       ac_ext=cpp
55057 ac_cpp='$CXXCPP $CPPFLAGS'
55058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55061
55062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55063 /* end confdefs.h.  */
55064 #include <math.h>
55065                       #ifdef HAVE_IEEEFP_H
55066                       #include <ieeefp.h>
55067                       #endif
55068
55069 int
55070 main ()
55071 {
55072  _fabsl(0);
55073   ;
55074   return 0;
55075 }
55076 _ACEOF
55077 if ac_fn_cxx_try_compile "$LINENO"; then :
55078   glibcxx_cv_func__fabsl_use=yes
55079 else
55080   glibcxx_cv_func__fabsl_use=no
55081 fi
55082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55083       ac_ext=c
55084 ac_cpp='$CPP $CPPFLAGS'
55085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55088
55089
55090 fi
55091
55092   fi
55093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55094 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55095
55096     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55097       for ac_func in _fabsl
55098 do :
55099   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55100 if test "x$ac_cv_func__fabsl" = x""yes; then :
55101   cat >>confdefs.h <<_ACEOF
55102 #define HAVE__FABSL 1
55103 _ACEOF
55104
55105 fi
55106 done
55107
55108     fi
55109   fi
55110
55111
55112
55113
55114
55115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55116 $as_echo_n "checking for fmodl declaration... " >&6; }
55117   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55118     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55119   $as_echo_n "(cached) " >&6
55120 else
55121
55122
55123       ac_ext=cpp
55124 ac_cpp='$CXXCPP $CPPFLAGS'
55125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55128
55129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55130 /* end confdefs.h.  */
55131 #include <math.h>
55132 int
55133 main ()
55134 {
55135  fmodl(0, 0);
55136   ;
55137   return 0;
55138 }
55139 _ACEOF
55140 if ac_fn_cxx_try_compile "$LINENO"; then :
55141   glibcxx_cv_func_fmodl_use=yes
55142 else
55143   glibcxx_cv_func_fmodl_use=no
55144 fi
55145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55146       ac_ext=c
55147 ac_cpp='$CPP $CPPFLAGS'
55148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55151
55152
55153 fi
55154
55155   fi
55156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55157 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55158
55159   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55160     for ac_func in fmodl
55161 do :
55162   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55163 if test "x$ac_cv_func_fmodl" = x""yes; then :
55164   cat >>confdefs.h <<_ACEOF
55165 #define HAVE_FMODL 1
55166 _ACEOF
55167
55168 fi
55169 done
55170
55171   else
55172
55173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55174 $as_echo_n "checking for _fmodl declaration... " >&6; }
55175   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55176     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55177   $as_echo_n "(cached) " >&6
55178 else
55179
55180
55181       ac_ext=cpp
55182 ac_cpp='$CXXCPP $CPPFLAGS'
55183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55186
55187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55188 /* end confdefs.h.  */
55189 #include <math.h>
55190 int
55191 main ()
55192 {
55193  _fmodl(0, 0);
55194   ;
55195   return 0;
55196 }
55197 _ACEOF
55198 if ac_fn_cxx_try_compile "$LINENO"; then :
55199   glibcxx_cv_func__fmodl_use=yes
55200 else
55201   glibcxx_cv_func__fmodl_use=no
55202 fi
55203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55204       ac_ext=c
55205 ac_cpp='$CPP $CPPFLAGS'
55206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55209
55210
55211 fi
55212
55213   fi
55214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55215 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55216
55217     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55218       for ac_func in _fmodl
55219 do :
55220   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55221 if test "x$ac_cv_func__fmodl" = x""yes; then :
55222   cat >>confdefs.h <<_ACEOF
55223 #define HAVE__FMODL 1
55224 _ACEOF
55225
55226 fi
55227 done
55228
55229     fi
55230   fi
55231
55232
55233
55234
55235
55236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55237 $as_echo_n "checking for frexpl declaration... " >&6; }
55238   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55239     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55240   $as_echo_n "(cached) " >&6
55241 else
55242
55243
55244       ac_ext=cpp
55245 ac_cpp='$CXXCPP $CPPFLAGS'
55246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249
55250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55251 /* end confdefs.h.  */
55252 #include <math.h>
55253 int
55254 main ()
55255 {
55256  frexpl(0, 0);
55257   ;
55258   return 0;
55259 }
55260 _ACEOF
55261 if ac_fn_cxx_try_compile "$LINENO"; then :
55262   glibcxx_cv_func_frexpl_use=yes
55263 else
55264   glibcxx_cv_func_frexpl_use=no
55265 fi
55266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55267       ac_ext=c
55268 ac_cpp='$CPP $CPPFLAGS'
55269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55272
55273
55274 fi
55275
55276   fi
55277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55278 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55279
55280   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55281     for ac_func in frexpl
55282 do :
55283   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55284 if test "x$ac_cv_func_frexpl" = x""yes; then :
55285   cat >>confdefs.h <<_ACEOF
55286 #define HAVE_FREXPL 1
55287 _ACEOF
55288
55289 fi
55290 done
55291
55292   else
55293
55294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55295 $as_echo_n "checking for _frexpl declaration... " >&6; }
55296   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55297     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55298   $as_echo_n "(cached) " >&6
55299 else
55300
55301
55302       ac_ext=cpp
55303 ac_cpp='$CXXCPP $CPPFLAGS'
55304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55307
55308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55309 /* end confdefs.h.  */
55310 #include <math.h>
55311 int
55312 main ()
55313 {
55314  _frexpl(0, 0);
55315   ;
55316   return 0;
55317 }
55318 _ACEOF
55319 if ac_fn_cxx_try_compile "$LINENO"; then :
55320   glibcxx_cv_func__frexpl_use=yes
55321 else
55322   glibcxx_cv_func__frexpl_use=no
55323 fi
55324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55325       ac_ext=c
55326 ac_cpp='$CPP $CPPFLAGS'
55327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55330
55331
55332 fi
55333
55334   fi
55335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55336 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55337
55338     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55339       for ac_func in _frexpl
55340 do :
55341   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55342 if test "x$ac_cv_func__frexpl" = x""yes; then :
55343   cat >>confdefs.h <<_ACEOF
55344 #define HAVE__FREXPL 1
55345 _ACEOF
55346
55347 fi
55348 done
55349
55350     fi
55351   fi
55352
55353
55354
55355
55356
55357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55358 $as_echo_n "checking for hypotl declaration... " >&6; }
55359   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55360     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55361   $as_echo_n "(cached) " >&6
55362 else
55363
55364
55365       ac_ext=cpp
55366 ac_cpp='$CXXCPP $CPPFLAGS'
55367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55370
55371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55372 /* end confdefs.h.  */
55373 #include <math.h>
55374 int
55375 main ()
55376 {
55377  hypotl(0, 0);
55378   ;
55379   return 0;
55380 }
55381 _ACEOF
55382 if ac_fn_cxx_try_compile "$LINENO"; then :
55383   glibcxx_cv_func_hypotl_use=yes
55384 else
55385   glibcxx_cv_func_hypotl_use=no
55386 fi
55387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55388       ac_ext=c
55389 ac_cpp='$CPP $CPPFLAGS'
55390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55393
55394
55395 fi
55396
55397   fi
55398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55399 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55400
55401   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55402     for ac_func in hypotl
55403 do :
55404   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55405 if test "x$ac_cv_func_hypotl" = x""yes; then :
55406   cat >>confdefs.h <<_ACEOF
55407 #define HAVE_HYPOTL 1
55408 _ACEOF
55409
55410 fi
55411 done
55412
55413   else
55414
55415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55416 $as_echo_n "checking for _hypotl declaration... " >&6; }
55417   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55418     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55419   $as_echo_n "(cached) " >&6
55420 else
55421
55422
55423       ac_ext=cpp
55424 ac_cpp='$CXXCPP $CPPFLAGS'
55425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55428
55429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55430 /* end confdefs.h.  */
55431 #include <math.h>
55432 int
55433 main ()
55434 {
55435  _hypotl(0, 0);
55436   ;
55437   return 0;
55438 }
55439 _ACEOF
55440 if ac_fn_cxx_try_compile "$LINENO"; then :
55441   glibcxx_cv_func__hypotl_use=yes
55442 else
55443   glibcxx_cv_func__hypotl_use=no
55444 fi
55445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55446       ac_ext=c
55447 ac_cpp='$CPP $CPPFLAGS'
55448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55451
55452
55453 fi
55454
55455   fi
55456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55457 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55458
55459     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55460       for ac_func in _hypotl
55461 do :
55462   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55463 if test "x$ac_cv_func__hypotl" = x""yes; then :
55464   cat >>confdefs.h <<_ACEOF
55465 #define HAVE__HYPOTL 1
55466 _ACEOF
55467
55468 fi
55469 done
55470
55471     fi
55472   fi
55473
55474
55475
55476
55477
55478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55479 $as_echo_n "checking for ldexpl declaration... " >&6; }
55480   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55481     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55482   $as_echo_n "(cached) " >&6
55483 else
55484
55485
55486       ac_ext=cpp
55487 ac_cpp='$CXXCPP $CPPFLAGS'
55488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55491
55492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55493 /* end confdefs.h.  */
55494 #include <math.h>
55495 int
55496 main ()
55497 {
55498  ldexpl(0, 0);
55499   ;
55500   return 0;
55501 }
55502 _ACEOF
55503 if ac_fn_cxx_try_compile "$LINENO"; then :
55504   glibcxx_cv_func_ldexpl_use=yes
55505 else
55506   glibcxx_cv_func_ldexpl_use=no
55507 fi
55508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55509       ac_ext=c
55510 ac_cpp='$CPP $CPPFLAGS'
55511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55514
55515
55516 fi
55517
55518   fi
55519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55520 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55521
55522   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55523     for ac_func in ldexpl
55524 do :
55525   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55526 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55527   cat >>confdefs.h <<_ACEOF
55528 #define HAVE_LDEXPL 1
55529 _ACEOF
55530
55531 fi
55532 done
55533
55534   else
55535
55536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55537 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55538   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55539     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55540   $as_echo_n "(cached) " >&6
55541 else
55542
55543
55544       ac_ext=cpp
55545 ac_cpp='$CXXCPP $CPPFLAGS'
55546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55549
55550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55551 /* end confdefs.h.  */
55552 #include <math.h>
55553 int
55554 main ()
55555 {
55556  _ldexpl(0, 0);
55557   ;
55558   return 0;
55559 }
55560 _ACEOF
55561 if ac_fn_cxx_try_compile "$LINENO"; then :
55562   glibcxx_cv_func__ldexpl_use=yes
55563 else
55564   glibcxx_cv_func__ldexpl_use=no
55565 fi
55566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55567       ac_ext=c
55568 ac_cpp='$CPP $CPPFLAGS'
55569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55572
55573
55574 fi
55575
55576   fi
55577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55578 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55579
55580     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55581       for ac_func in _ldexpl
55582 do :
55583   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55584 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55585   cat >>confdefs.h <<_ACEOF
55586 #define HAVE__LDEXPL 1
55587 _ACEOF
55588
55589 fi
55590 done
55591
55592     fi
55593   fi
55594
55595
55596
55597
55598
55599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55600 $as_echo_n "checking for logl declaration... " >&6; }
55601   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55602     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55603   $as_echo_n "(cached) " >&6
55604 else
55605
55606
55607       ac_ext=cpp
55608 ac_cpp='$CXXCPP $CPPFLAGS'
55609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55612
55613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55614 /* end confdefs.h.  */
55615 #include <math.h>
55616                       #ifdef HAVE_IEEEFP_H
55617                       #include <ieeefp.h>
55618                       #endif
55619
55620 int
55621 main ()
55622 {
55623  logl(0);
55624   ;
55625   return 0;
55626 }
55627 _ACEOF
55628 if ac_fn_cxx_try_compile "$LINENO"; then :
55629   glibcxx_cv_func_logl_use=yes
55630 else
55631   glibcxx_cv_func_logl_use=no
55632 fi
55633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55634       ac_ext=c
55635 ac_cpp='$CPP $CPPFLAGS'
55636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55639
55640
55641 fi
55642
55643   fi
55644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55645 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55646
55647   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55648     for ac_func in logl
55649 do :
55650   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55651 if test "x$ac_cv_func_logl" = x""yes; then :
55652   cat >>confdefs.h <<_ACEOF
55653 #define HAVE_LOGL 1
55654 _ACEOF
55655
55656 fi
55657 done
55658
55659   else
55660
55661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55662 $as_echo_n "checking for _logl declaration... " >&6; }
55663   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55664     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55665   $as_echo_n "(cached) " >&6
55666 else
55667
55668
55669       ac_ext=cpp
55670 ac_cpp='$CXXCPP $CPPFLAGS'
55671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55674
55675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55676 /* end confdefs.h.  */
55677 #include <math.h>
55678                       #ifdef HAVE_IEEEFP_H
55679                       #include <ieeefp.h>
55680                       #endif
55681
55682 int
55683 main ()
55684 {
55685  _logl(0);
55686   ;
55687   return 0;
55688 }
55689 _ACEOF
55690 if ac_fn_cxx_try_compile "$LINENO"; then :
55691   glibcxx_cv_func__logl_use=yes
55692 else
55693   glibcxx_cv_func__logl_use=no
55694 fi
55695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55696       ac_ext=c
55697 ac_cpp='$CPP $CPPFLAGS'
55698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55701
55702
55703 fi
55704
55705   fi
55706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55707 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55708
55709     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55710       for ac_func in _logl
55711 do :
55712   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55713 if test "x$ac_cv_func__logl" = x""yes; then :
55714   cat >>confdefs.h <<_ACEOF
55715 #define HAVE__LOGL 1
55716 _ACEOF
55717
55718 fi
55719 done
55720
55721     fi
55722   fi
55723
55724
55725
55726
55727
55728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55729 $as_echo_n "checking for log10l declaration... " >&6; }
55730   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55731     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55732   $as_echo_n "(cached) " >&6
55733 else
55734
55735
55736       ac_ext=cpp
55737 ac_cpp='$CXXCPP $CPPFLAGS'
55738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55741
55742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55743 /* end confdefs.h.  */
55744 #include <math.h>
55745                       #ifdef HAVE_IEEEFP_H
55746                       #include <ieeefp.h>
55747                       #endif
55748
55749 int
55750 main ()
55751 {
55752  log10l(0);
55753   ;
55754   return 0;
55755 }
55756 _ACEOF
55757 if ac_fn_cxx_try_compile "$LINENO"; then :
55758   glibcxx_cv_func_log10l_use=yes
55759 else
55760   glibcxx_cv_func_log10l_use=no
55761 fi
55762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55763       ac_ext=c
55764 ac_cpp='$CPP $CPPFLAGS'
55765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55768
55769
55770 fi
55771
55772   fi
55773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55774 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55775
55776   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55777     for ac_func in log10l
55778 do :
55779   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55780 if test "x$ac_cv_func_log10l" = x""yes; then :
55781   cat >>confdefs.h <<_ACEOF
55782 #define HAVE_LOG10L 1
55783 _ACEOF
55784
55785 fi
55786 done
55787
55788   else
55789
55790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55791 $as_echo_n "checking for _log10l declaration... " >&6; }
55792   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55793     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55794   $as_echo_n "(cached) " >&6
55795 else
55796
55797
55798       ac_ext=cpp
55799 ac_cpp='$CXXCPP $CPPFLAGS'
55800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55803
55804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55805 /* end confdefs.h.  */
55806 #include <math.h>
55807                       #ifdef HAVE_IEEEFP_H
55808                       #include <ieeefp.h>
55809                       #endif
55810
55811 int
55812 main ()
55813 {
55814  _log10l(0);
55815   ;
55816   return 0;
55817 }
55818 _ACEOF
55819 if ac_fn_cxx_try_compile "$LINENO"; then :
55820   glibcxx_cv_func__log10l_use=yes
55821 else
55822   glibcxx_cv_func__log10l_use=no
55823 fi
55824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55825       ac_ext=c
55826 ac_cpp='$CPP $CPPFLAGS'
55827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55830
55831
55832 fi
55833
55834   fi
55835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55836 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55837
55838     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55839       for ac_func in _log10l
55840 do :
55841   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55842 if test "x$ac_cv_func__log10l" = x""yes; then :
55843   cat >>confdefs.h <<_ACEOF
55844 #define HAVE__LOG10L 1
55845 _ACEOF
55846
55847 fi
55848 done
55849
55850     fi
55851   fi
55852
55853
55854
55855
55856
55857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55858 $as_echo_n "checking for modfl declaration... " >&6; }
55859   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55860     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55861   $as_echo_n "(cached) " >&6
55862 else
55863
55864
55865       ac_ext=cpp
55866 ac_cpp='$CXXCPP $CPPFLAGS'
55867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55870
55871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55872 /* end confdefs.h.  */
55873 #include <math.h>
55874 int
55875 main ()
55876 {
55877  modfl(0, 0);
55878   ;
55879   return 0;
55880 }
55881 _ACEOF
55882 if ac_fn_cxx_try_compile "$LINENO"; then :
55883   glibcxx_cv_func_modfl_use=yes
55884 else
55885   glibcxx_cv_func_modfl_use=no
55886 fi
55887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55888       ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55893
55894
55895 fi
55896
55897   fi
55898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55899 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55900
55901   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55902     for ac_func in modfl
55903 do :
55904   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55905 if test "x$ac_cv_func_modfl" = x""yes; then :
55906   cat >>confdefs.h <<_ACEOF
55907 #define HAVE_MODFL 1
55908 _ACEOF
55909
55910 fi
55911 done
55912
55913   else
55914
55915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55916 $as_echo_n "checking for _modfl declaration... " >&6; }
55917   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55918     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55919   $as_echo_n "(cached) " >&6
55920 else
55921
55922
55923       ac_ext=cpp
55924 ac_cpp='$CXXCPP $CPPFLAGS'
55925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55928
55929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55930 /* end confdefs.h.  */
55931 #include <math.h>
55932 int
55933 main ()
55934 {
55935  _modfl(0, 0);
55936   ;
55937   return 0;
55938 }
55939 _ACEOF
55940 if ac_fn_cxx_try_compile "$LINENO"; then :
55941   glibcxx_cv_func__modfl_use=yes
55942 else
55943   glibcxx_cv_func__modfl_use=no
55944 fi
55945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55946       ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951
55952
55953 fi
55954
55955   fi
55956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55957 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55958
55959     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55960       for ac_func in _modfl
55961 do :
55962   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55963 if test "x$ac_cv_func__modfl" = x""yes; then :
55964   cat >>confdefs.h <<_ACEOF
55965 #define HAVE__MODFL 1
55966 _ACEOF
55967
55968 fi
55969 done
55970
55971     fi
55972   fi
55973
55974
55975
55976
55977
55978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55979 $as_echo_n "checking for powl declaration... " >&6; }
55980   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55981     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55982   $as_echo_n "(cached) " >&6
55983 else
55984
55985
55986       ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55991
55992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h.  */
55994 #include <math.h>
55995 int
55996 main ()
55997 {
55998  powl(0, 0);
55999   ;
56000   return 0;
56001 }
56002 _ACEOF
56003 if ac_fn_cxx_try_compile "$LINENO"; then :
56004   glibcxx_cv_func_powl_use=yes
56005 else
56006   glibcxx_cv_func_powl_use=no
56007 fi
56008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56009       ac_ext=c
56010 ac_cpp='$CPP $CPPFLAGS'
56011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56014
56015
56016 fi
56017
56018   fi
56019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56020 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56021
56022   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56023     for ac_func in powl
56024 do :
56025   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56026 if test "x$ac_cv_func_powl" = x""yes; then :
56027   cat >>confdefs.h <<_ACEOF
56028 #define HAVE_POWL 1
56029 _ACEOF
56030
56031 fi
56032 done
56033
56034   else
56035
56036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56037 $as_echo_n "checking for _powl declaration... " >&6; }
56038   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56039     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56040   $as_echo_n "(cached) " >&6
56041 else
56042
56043
56044       ac_ext=cpp
56045 ac_cpp='$CXXCPP $CPPFLAGS'
56046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56049
56050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56051 /* end confdefs.h.  */
56052 #include <math.h>
56053 int
56054 main ()
56055 {
56056  _powl(0, 0);
56057   ;
56058   return 0;
56059 }
56060 _ACEOF
56061 if ac_fn_cxx_try_compile "$LINENO"; then :
56062   glibcxx_cv_func__powl_use=yes
56063 else
56064   glibcxx_cv_func__powl_use=no
56065 fi
56066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56067       ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56072
56073
56074 fi
56075
56076   fi
56077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56078 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56079
56080     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56081       for ac_func in _powl
56082 do :
56083   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56084 if test "x$ac_cv_func__powl" = x""yes; then :
56085   cat >>confdefs.h <<_ACEOF
56086 #define HAVE__POWL 1
56087 _ACEOF
56088
56089 fi
56090 done
56091
56092     fi
56093   fi
56094
56095
56096
56097
56098
56099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56100 $as_echo_n "checking for sqrtl declaration... " >&6; }
56101   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56102     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56103   $as_echo_n "(cached) " >&6
56104 else
56105
56106
56107       ac_ext=cpp
56108 ac_cpp='$CXXCPP $CPPFLAGS'
56109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56112
56113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56114 /* end confdefs.h.  */
56115 #include <math.h>
56116                       #ifdef HAVE_IEEEFP_H
56117                       #include <ieeefp.h>
56118                       #endif
56119
56120 int
56121 main ()
56122 {
56123  sqrtl(0);
56124   ;
56125   return 0;
56126 }
56127 _ACEOF
56128 if ac_fn_cxx_try_compile "$LINENO"; then :
56129   glibcxx_cv_func_sqrtl_use=yes
56130 else
56131   glibcxx_cv_func_sqrtl_use=no
56132 fi
56133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56134       ac_ext=c
56135 ac_cpp='$CPP $CPPFLAGS'
56136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56139
56140
56141 fi
56142
56143   fi
56144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56145 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56146
56147   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56148     for ac_func in sqrtl
56149 do :
56150   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56151 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56152   cat >>confdefs.h <<_ACEOF
56153 #define HAVE_SQRTL 1
56154 _ACEOF
56155
56156 fi
56157 done
56158
56159   else
56160
56161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56162 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56163   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56164     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56165   $as_echo_n "(cached) " >&6
56166 else
56167
56168
56169       ac_ext=cpp
56170 ac_cpp='$CXXCPP $CPPFLAGS'
56171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56174
56175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56176 /* end confdefs.h.  */
56177 #include <math.h>
56178                       #ifdef HAVE_IEEEFP_H
56179                       #include <ieeefp.h>
56180                       #endif
56181
56182 int
56183 main ()
56184 {
56185  _sqrtl(0);
56186   ;
56187   return 0;
56188 }
56189 _ACEOF
56190 if ac_fn_cxx_try_compile "$LINENO"; then :
56191   glibcxx_cv_func__sqrtl_use=yes
56192 else
56193   glibcxx_cv_func__sqrtl_use=no
56194 fi
56195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56196       ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56201
56202
56203 fi
56204
56205   fi
56206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56207 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56208
56209     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56210       for ac_func in _sqrtl
56211 do :
56212   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56213 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56214   cat >>confdefs.h <<_ACEOF
56215 #define HAVE__SQRTL 1
56216 _ACEOF
56217
56218 fi
56219 done
56220
56221     fi
56222   fi
56223
56224
56225
56226
56227
56228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56229 $as_echo_n "checking for sincosl declaration... " >&6; }
56230   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56231     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56232   $as_echo_n "(cached) " >&6
56233 else
56234
56235
56236       ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56241
56242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h.  */
56244 #include <math.h>
56245 int
56246 main ()
56247 {
56248  sincosl(0, 0, 0);
56249   ;
56250   return 0;
56251 }
56252 _ACEOF
56253 if ac_fn_cxx_try_compile "$LINENO"; then :
56254   glibcxx_cv_func_sincosl_use=yes
56255 else
56256   glibcxx_cv_func_sincosl_use=no
56257 fi
56258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56259       ac_ext=c
56260 ac_cpp='$CPP $CPPFLAGS'
56261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56264
56265
56266 fi
56267
56268   fi
56269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56270 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56271
56272   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56273     for ac_func in sincosl
56274 do :
56275   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56276 if test "x$ac_cv_func_sincosl" = x""yes; then :
56277   cat >>confdefs.h <<_ACEOF
56278 #define HAVE_SINCOSL 1
56279 _ACEOF
56280
56281 fi
56282 done
56283
56284   else
56285
56286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56287 $as_echo_n "checking for _sincosl declaration... " >&6; }
56288   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56289     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56290   $as_echo_n "(cached) " >&6
56291 else
56292
56293
56294       ac_ext=cpp
56295 ac_cpp='$CXXCPP $CPPFLAGS'
56296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56299
56300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56301 /* end confdefs.h.  */
56302 #include <math.h>
56303 int
56304 main ()
56305 {
56306  _sincosl(0, 0, 0);
56307   ;
56308   return 0;
56309 }
56310 _ACEOF
56311 if ac_fn_cxx_try_compile "$LINENO"; then :
56312   glibcxx_cv_func__sincosl_use=yes
56313 else
56314   glibcxx_cv_func__sincosl_use=no
56315 fi
56316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56317       ac_ext=c
56318 ac_cpp='$CPP $CPPFLAGS'
56319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56322
56323
56324 fi
56325
56326   fi
56327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56328 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56329
56330     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56331       for ac_func in _sincosl
56332 do :
56333   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56334 if test "x$ac_cv_func__sincosl" = x""yes; then :
56335   cat >>confdefs.h <<_ACEOF
56336 #define HAVE__SINCOSL 1
56337 _ACEOF
56338
56339 fi
56340 done
56341
56342     fi
56343   fi
56344
56345
56346
56347
56348
56349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56350 $as_echo_n "checking for finitel declaration... " >&6; }
56351   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56352     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56353   $as_echo_n "(cached) " >&6
56354 else
56355
56356
56357       ac_ext=cpp
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56362
56363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56364 /* end confdefs.h.  */
56365 #include <math.h>
56366                       #ifdef HAVE_IEEEFP_H
56367                       #include <ieeefp.h>
56368                       #endif
56369
56370 int
56371 main ()
56372 {
56373  finitel(0);
56374   ;
56375   return 0;
56376 }
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379   glibcxx_cv_func_finitel_use=yes
56380 else
56381   glibcxx_cv_func_finitel_use=no
56382 fi
56383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56384       ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56389
56390
56391 fi
56392
56393   fi
56394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56395 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56396
56397   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56398     for ac_func in finitel
56399 do :
56400   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56401 if test "x$ac_cv_func_finitel" = x""yes; then :
56402   cat >>confdefs.h <<_ACEOF
56403 #define HAVE_FINITEL 1
56404 _ACEOF
56405
56406 fi
56407 done
56408
56409   else
56410
56411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56412 $as_echo_n "checking for _finitel declaration... " >&6; }
56413   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56414     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56415   $as_echo_n "(cached) " >&6
56416 else
56417
56418
56419       ac_ext=cpp
56420 ac_cpp='$CXXCPP $CPPFLAGS'
56421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56424
56425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56426 /* end confdefs.h.  */
56427 #include <math.h>
56428                       #ifdef HAVE_IEEEFP_H
56429                       #include <ieeefp.h>
56430                       #endif
56431
56432 int
56433 main ()
56434 {
56435  _finitel(0);
56436   ;
56437   return 0;
56438 }
56439 _ACEOF
56440 if ac_fn_cxx_try_compile "$LINENO"; then :
56441   glibcxx_cv_func__finitel_use=yes
56442 else
56443   glibcxx_cv_func__finitel_use=no
56444 fi
56445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446       ac_ext=c
56447 ac_cpp='$CPP $CPPFLAGS'
56448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56451
56452
56453 fi
56454
56455   fi
56456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56457 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56458
56459     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56460       for ac_func in _finitel
56461 do :
56462   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56463 if test "x$ac_cv_func__finitel" = x""yes; then :
56464   cat >>confdefs.h <<_ACEOF
56465 #define HAVE__FINITEL 1
56466 _ACEOF
56467
56468 fi
56469 done
56470
56471     fi
56472   fi
56473
56474
56475
56476
56477   LIBS="$ac_save_LIBS"
56478   CXXFLAGS="$ac_save_CXXFLAGS"
56479
56480
56481   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56482   ac_save_CXXFLAGS="$CXXFLAGS"
56483   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56484
56485
56486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56487 $as_echo_n "checking for strtold declaration... " >&6; }
56488   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56489     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56490   $as_echo_n "(cached) " >&6
56491 else
56492
56493
56494       ac_ext=cpp
56495 ac_cpp='$CXXCPP $CPPFLAGS'
56496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56499
56500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56501 /* end confdefs.h.  */
56502 #include <stdlib.h>
56503 int
56504 main ()
56505 {
56506  strtold(0, 0);
56507   ;
56508   return 0;
56509 }
56510 _ACEOF
56511 if ac_fn_cxx_try_compile "$LINENO"; then :
56512   glibcxx_cv_func_strtold_use=yes
56513 else
56514   glibcxx_cv_func_strtold_use=no
56515 fi
56516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56517       ac_ext=c
56518 ac_cpp='$CPP $CPPFLAGS'
56519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56522
56523
56524 fi
56525
56526   fi
56527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56528 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56529   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56530     for ac_func in strtold
56531 do :
56532   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56533 if test "x$ac_cv_func_strtold" = x""yes; then :
56534   cat >>confdefs.h <<_ACEOF
56535 #define HAVE_STRTOLD 1
56536 _ACEOF
56537
56538 fi
56539 done
56540
56541   fi
56542
56543
56544
56545
56546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56547 $as_echo_n "checking for strtof declaration... " >&6; }
56548   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56549     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56550   $as_echo_n "(cached) " >&6
56551 else
56552
56553
56554       ac_ext=cpp
56555 ac_cpp='$CXXCPP $CPPFLAGS'
56556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56559
56560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56561 /* end confdefs.h.  */
56562 #include <stdlib.h>
56563 int
56564 main ()
56565 {
56566  strtof(0, 0);
56567   ;
56568   return 0;
56569 }
56570 _ACEOF
56571 if ac_fn_cxx_try_compile "$LINENO"; then :
56572   glibcxx_cv_func_strtof_use=yes
56573 else
56574   glibcxx_cv_func_strtof_use=no
56575 fi
56576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56577       ac_ext=c
56578 ac_cpp='$CPP $CPPFLAGS'
56579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582
56583
56584 fi
56585
56586   fi
56587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56588 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56589   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56590     for ac_func in strtof
56591 do :
56592   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56593 if test "x$ac_cv_func_strtof" = x""yes; then :
56594   cat >>confdefs.h <<_ACEOF
56595 #define HAVE_STRTOF 1
56596 _ACEOF
56597
56598 fi
56599 done
56600
56601   fi
56602
56603
56604
56605
56606   CXXFLAGS="$ac_save_CXXFLAGS"
56607
56608     ;;
56609   *-netbsd*)
56610     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56611
56612
56613   # If we're not using GNU ld, then there's no point in even trying these
56614   # tests.  Check for that first.  We should have already tested for gld
56615   # by now (in libtool), but require it now just to be safe...
56616   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56617   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56618
56619
56620
56621   # The name set by libtool depends on the version of libtool.  Shame on us
56622   # for depending on an impl detail, but c'est la vie.  Older versions used
56623   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56624   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56625   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56626   # set (hence we're using an older libtool), then set it.
56627   if test x${with_gnu_ld+set} != xset; then
56628     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56629       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56630       with_gnu_ld=no
56631     else
56632       with_gnu_ld=$ac_cv_prog_gnu_ld
56633     fi
56634   fi
56635
56636   # Start by getting the version number.  I think the libtool test already
56637   # does some of this, but throws away the result.
56638   glibcxx_ld_is_gold=no
56639   if test x"$with_gnu_ld" = x"yes"; then
56640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56641 $as_echo_n "checking for ld version... " >&6; }
56642
56643     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56644       glibcxx_ld_is_gold=yes
56645     fi
56646     ldver=`$LD --version 2>/dev/null |
56647            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'`
56648
56649     glibcxx_gnu_ld_version=`echo $ldver | \
56650            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56652 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56653   fi
56654
56655   # Set --gc-sections.
56656   glibcxx_have_gc_sections=no
56657   if test "$glibcxx_ld_is_gold" = "yes"; then
56658     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56659       glibcxx_have_gc_sections=yes
56660     fi
56661   else
56662     glibcxx_gcsections_min_ld=21602
56663     if test x"$with_gnu_ld" = x"yes" &&
56664         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56665       glibcxx_have_gc_sections=yes
56666     fi
56667   fi
56668   if test "$glibcxx_have_gc_sections" = "yes"; then
56669     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56670     # NB: This flag only works reliably after 2.16.1. Configure tests
56671     # for this are difficult, so hard wire a value that should work.
56672
56673     ac_test_CFLAGS="${CFLAGS+set}"
56674     ac_save_CFLAGS="$CFLAGS"
56675     CFLAGS='-Wl,--gc-sections'
56676
56677     # Check for -Wl,--gc-sections
56678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56679 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56680     if test x$gcc_no_link = xyes; then
56681   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56682 fi
56683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56684 /* end confdefs.h.  */
56685  int one(void) { return 1; }
56686      int two(void) { return 2; }
56687
56688 int
56689 main ()
56690 {
56691  two();
56692   ;
56693   return 0;
56694 }
56695 _ACEOF
56696 if ac_fn_c_try_link "$LINENO"; then :
56697   ac_gcsections=yes
56698 else
56699   ac_gcsections=no
56700 fi
56701 rm -f core conftest.err conftest.$ac_objext \
56702     conftest$ac_exeext conftest.$ac_ext
56703     if test "$ac_gcsections" = "yes"; then
56704       rm -f conftest.c
56705       touch conftest.c
56706       if $CC -c conftest.c; then
56707         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56708            grep "Warning: gc-sections option ignored" > /dev/null; then
56709           ac_gcsections=no
56710         fi
56711       fi
56712       rm -f conftest.c conftest.o conftest
56713     fi
56714     if test "$ac_gcsections" = "yes"; then
56715       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56716     fi
56717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56718 $as_echo "$ac_gcsections" >&6; }
56719
56720     if test "$ac_test_CFLAGS" = set; then
56721       CFLAGS="$ac_save_CFLAGS"
56722     else
56723       # this is the suspicious part
56724       CFLAGS=''
56725     fi
56726   fi
56727
56728   # Set -z,relro.
56729   # Note this is only for shared objects.
56730   ac_ld_relro=no
56731   if test x"$with_gnu_ld" = x"yes"; then
56732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56733 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56734     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56735     if test -n "$cxx_z_relo"; then
56736       OPT_LDFLAGS="-Wl,-z,relro"
56737       ac_ld_relro=yes
56738     fi
56739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56740 $as_echo "$ac_ld_relro" >&6; }
56741   fi
56742
56743   # Set linker optimization flags.
56744   if test x"$with_gnu_ld" = x"yes"; then
56745     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56746   fi
56747
56748
56749
56750
56751     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56752
56753     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56754
56755     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56756
56757     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56758
56759     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56760
56761     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56762
56763     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56764
56765     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56766
56767     if test x"long_double_math_on_this_cpu" = x"yes"; then
56768       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56769
56770       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56771
56772       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56773
56774     fi
56775     ;;
56776   *-netware)
56777     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56778
56779
56780   # If we're not using GNU ld, then there's no point in even trying these
56781   # tests.  Check for that first.  We should have already tested for gld
56782   # by now (in libtool), but require it now just to be safe...
56783   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56784   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56785
56786
56787
56788   # The name set by libtool depends on the version of libtool.  Shame on us
56789   # for depending on an impl detail, but c'est la vie.  Older versions used
56790   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56791   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56792   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56793   # set (hence we're using an older libtool), then set it.
56794   if test x${with_gnu_ld+set} != xset; then
56795     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56796       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56797       with_gnu_ld=no
56798     else
56799       with_gnu_ld=$ac_cv_prog_gnu_ld
56800     fi
56801   fi
56802
56803   # Start by getting the version number.  I think the libtool test already
56804   # does some of this, but throws away the result.
56805   glibcxx_ld_is_gold=no
56806   if test x"$with_gnu_ld" = x"yes"; then
56807     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56808 $as_echo_n "checking for ld version... " >&6; }
56809
56810     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56811       glibcxx_ld_is_gold=yes
56812     fi
56813     ldver=`$LD --version 2>/dev/null |
56814            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'`
56815
56816     glibcxx_gnu_ld_version=`echo $ldver | \
56817            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56819 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56820   fi
56821
56822   # Set --gc-sections.
56823   glibcxx_have_gc_sections=no
56824   if test "$glibcxx_ld_is_gold" = "yes"; then
56825     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56826       glibcxx_have_gc_sections=yes
56827     fi
56828   else
56829     glibcxx_gcsections_min_ld=21602
56830     if test x"$with_gnu_ld" = x"yes" &&
56831         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56832       glibcxx_have_gc_sections=yes
56833     fi
56834   fi
56835   if test "$glibcxx_have_gc_sections" = "yes"; then
56836     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56837     # NB: This flag only works reliably after 2.16.1. Configure tests
56838     # for this are difficult, so hard wire a value that should work.
56839
56840     ac_test_CFLAGS="${CFLAGS+set}"
56841     ac_save_CFLAGS="$CFLAGS"
56842     CFLAGS='-Wl,--gc-sections'
56843
56844     # Check for -Wl,--gc-sections
56845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56846 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56847     if test x$gcc_no_link = xyes; then
56848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56849 fi
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h.  */
56852  int one(void) { return 1; }
56853      int two(void) { return 2; }
56854
56855 int
56856 main ()
56857 {
56858  two();
56859   ;
56860   return 0;
56861 }
56862 _ACEOF
56863 if ac_fn_c_try_link "$LINENO"; then :
56864   ac_gcsections=yes
56865 else
56866   ac_gcsections=no
56867 fi
56868 rm -f core conftest.err conftest.$ac_objext \
56869     conftest$ac_exeext conftest.$ac_ext
56870     if test "$ac_gcsections" = "yes"; then
56871       rm -f conftest.c
56872       touch conftest.c
56873       if $CC -c conftest.c; then
56874         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56875            grep "Warning: gc-sections option ignored" > /dev/null; then
56876           ac_gcsections=no
56877         fi
56878       fi
56879       rm -f conftest.c conftest.o conftest
56880     fi
56881     if test "$ac_gcsections" = "yes"; then
56882       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56883     fi
56884     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56885 $as_echo "$ac_gcsections" >&6; }
56886
56887     if test "$ac_test_CFLAGS" = set; then
56888       CFLAGS="$ac_save_CFLAGS"
56889     else
56890       # this is the suspicious part
56891       CFLAGS=''
56892     fi
56893   fi
56894
56895   # Set -z,relro.
56896   # Note this is only for shared objects.
56897   ac_ld_relro=no
56898   if test x"$with_gnu_ld" = x"yes"; then
56899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56900 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56901     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56902     if test -n "$cxx_z_relo"; then
56903       OPT_LDFLAGS="-Wl,-z,relro"
56904       ac_ld_relro=yes
56905     fi
56906     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56907 $as_echo "$ac_ld_relro" >&6; }
56908   fi
56909
56910   # Set linker optimization flags.
56911   if test x"$with_gnu_ld" = x"yes"; then
56912     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56913   fi
56914
56915
56916
56917
56918     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56919
56920     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56921
56922     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56923
56924     ;;
56925   *-qnx6.1* | *-qnx6.2*)
56926     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56927
56928
56929   # If we're not using GNU ld, then there's no point in even trying these
56930   # tests.  Check for that first.  We should have already tested for gld
56931   # by now (in libtool), but require it now just to be safe...
56932   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56933   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56934
56935
56936
56937   # The name set by libtool depends on the version of libtool.  Shame on us
56938   # for depending on an impl detail, but c'est la vie.  Older versions used
56939   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56940   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56941   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56942   # set (hence we're using an older libtool), then set it.
56943   if test x${with_gnu_ld+set} != xset; then
56944     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56945       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56946       with_gnu_ld=no
56947     else
56948       with_gnu_ld=$ac_cv_prog_gnu_ld
56949     fi
56950   fi
56951
56952   # Start by getting the version number.  I think the libtool test already
56953   # does some of this, but throws away the result.
56954   glibcxx_ld_is_gold=no
56955   if test x"$with_gnu_ld" = x"yes"; then
56956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56957 $as_echo_n "checking for ld version... " >&6; }
56958
56959     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56960       glibcxx_ld_is_gold=yes
56961     fi
56962     ldver=`$LD --version 2>/dev/null |
56963            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'`
56964
56965     glibcxx_gnu_ld_version=`echo $ldver | \
56966            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56968 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56969   fi
56970
56971   # Set --gc-sections.
56972   glibcxx_have_gc_sections=no
56973   if test "$glibcxx_ld_is_gold" = "yes"; then
56974     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56975       glibcxx_have_gc_sections=yes
56976     fi
56977   else
56978     glibcxx_gcsections_min_ld=21602
56979     if test x"$with_gnu_ld" = x"yes" &&
56980         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56981       glibcxx_have_gc_sections=yes
56982     fi
56983   fi
56984   if test "$glibcxx_have_gc_sections" = "yes"; then
56985     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56986     # NB: This flag only works reliably after 2.16.1. Configure tests
56987     # for this are difficult, so hard wire a value that should work.
56988
56989     ac_test_CFLAGS="${CFLAGS+set}"
56990     ac_save_CFLAGS="$CFLAGS"
56991     CFLAGS='-Wl,--gc-sections'
56992
56993     # Check for -Wl,--gc-sections
56994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56995 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56996     if test x$gcc_no_link = xyes; then
56997   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56998 fi
56999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57000 /* end confdefs.h.  */
57001  int one(void) { return 1; }
57002      int two(void) { return 2; }
57003
57004 int
57005 main ()
57006 {
57007  two();
57008   ;
57009   return 0;
57010 }
57011 _ACEOF
57012 if ac_fn_c_try_link "$LINENO"; then :
57013   ac_gcsections=yes
57014 else
57015   ac_gcsections=no
57016 fi
57017 rm -f core conftest.err conftest.$ac_objext \
57018     conftest$ac_exeext conftest.$ac_ext
57019     if test "$ac_gcsections" = "yes"; then
57020       rm -f conftest.c
57021       touch conftest.c
57022       if $CC -c conftest.c; then
57023         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57024            grep "Warning: gc-sections option ignored" > /dev/null; then
57025           ac_gcsections=no
57026         fi
57027       fi
57028       rm -f conftest.c conftest.o conftest
57029     fi
57030     if test "$ac_gcsections" = "yes"; then
57031       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57032     fi
57033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57034 $as_echo "$ac_gcsections" >&6; }
57035
57036     if test "$ac_test_CFLAGS" = set; then
57037       CFLAGS="$ac_save_CFLAGS"
57038     else
57039       # this is the suspicious part
57040       CFLAGS=''
57041     fi
57042   fi
57043
57044   # Set -z,relro.
57045   # Note this is only for shared objects.
57046   ac_ld_relro=no
57047   if test x"$with_gnu_ld" = x"yes"; then
57048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57049 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57050     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57051     if test -n "$cxx_z_relo"; then
57052       OPT_LDFLAGS="-Wl,-z,relro"
57053       ac_ld_relro=yes
57054     fi
57055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57056 $as_echo "$ac_ld_relro" >&6; }
57057   fi
57058
57059   # Set linker optimization flags.
57060   if test x"$with_gnu_ld" = x"yes"; then
57061     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57062   fi
57063
57064
57065
57066
57067     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57068
57069     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57070
57071     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57072
57073     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57074
57075     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57076
57077     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57078
57079     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57080
57081     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57082
57083     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57084
57085     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57086
57087     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57088
57089     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57090
57091     ;;
57092   *-solaris*)
57093     case "$target" in
57094       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57095
57096   # If we're not using GNU ld, then there's no point in even trying these
57097   # tests.  Check for that first.  We should have already tested for gld
57098   # by now (in libtool), but require it now just to be safe...
57099   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57100   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57101
57102
57103
57104   # The name set by libtool depends on the version of libtool.  Shame on us
57105   # for depending on an impl detail, but c'est la vie.  Older versions used
57106   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57107   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57108   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57109   # set (hence we're using an older libtool), then set it.
57110   if test x${with_gnu_ld+set} != xset; then
57111     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57112       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57113       with_gnu_ld=no
57114     else
57115       with_gnu_ld=$ac_cv_prog_gnu_ld
57116     fi
57117   fi
57118
57119   # Start by getting the version number.  I think the libtool test already
57120   # does some of this, but throws away the result.
57121   glibcxx_ld_is_gold=no
57122   if test x"$with_gnu_ld" = x"yes"; then
57123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57124 $as_echo_n "checking for ld version... " >&6; }
57125
57126     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57127       glibcxx_ld_is_gold=yes
57128     fi
57129     ldver=`$LD --version 2>/dev/null |
57130            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'`
57131
57132     glibcxx_gnu_ld_version=`echo $ldver | \
57133            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57135 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57136   fi
57137
57138   # Set --gc-sections.
57139   glibcxx_have_gc_sections=no
57140   if test "$glibcxx_ld_is_gold" = "yes"; then
57141     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57142       glibcxx_have_gc_sections=yes
57143     fi
57144   else
57145     glibcxx_gcsections_min_ld=21602
57146     if test x"$with_gnu_ld" = x"yes" &&
57147         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57148       glibcxx_have_gc_sections=yes
57149     fi
57150   fi
57151   if test "$glibcxx_have_gc_sections" = "yes"; then
57152     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57153     # NB: This flag only works reliably after 2.16.1. Configure tests
57154     # for this are difficult, so hard wire a value that should work.
57155
57156     ac_test_CFLAGS="${CFLAGS+set}"
57157     ac_save_CFLAGS="$CFLAGS"
57158     CFLAGS='-Wl,--gc-sections'
57159
57160     # Check for -Wl,--gc-sections
57161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57162 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57163     if test x$gcc_no_link = xyes; then
57164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57165 fi
57166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57167 /* end confdefs.h.  */
57168  int one(void) { return 1; }
57169      int two(void) { return 2; }
57170
57171 int
57172 main ()
57173 {
57174  two();
57175   ;
57176   return 0;
57177 }
57178 _ACEOF
57179 if ac_fn_c_try_link "$LINENO"; then :
57180   ac_gcsections=yes
57181 else
57182   ac_gcsections=no
57183 fi
57184 rm -f core conftest.err conftest.$ac_objext \
57185     conftest$ac_exeext conftest.$ac_ext
57186     if test "$ac_gcsections" = "yes"; then
57187       rm -f conftest.c
57188       touch conftest.c
57189       if $CC -c conftest.c; then
57190         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57191            grep "Warning: gc-sections option ignored" > /dev/null; then
57192           ac_gcsections=no
57193         fi
57194       fi
57195       rm -f conftest.c conftest.o conftest
57196     fi
57197     if test "$ac_gcsections" = "yes"; then
57198       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57199     fi
57200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57201 $as_echo "$ac_gcsections" >&6; }
57202
57203     if test "$ac_test_CFLAGS" = set; then
57204       CFLAGS="$ac_save_CFLAGS"
57205     else
57206       # this is the suspicious part
57207       CFLAGS=''
57208     fi
57209   fi
57210
57211   # Set -z,relro.
57212   # Note this is only for shared objects.
57213   ac_ld_relro=no
57214   if test x"$with_gnu_ld" = x"yes"; then
57215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57216 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57217     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57218     if test -n "$cxx_z_relo"; then
57219       OPT_LDFLAGS="-Wl,-z,relro"
57220       ac_ld_relro=yes
57221     fi
57222     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57223 $as_echo "$ac_ld_relro" >&6; }
57224   fi
57225
57226   # Set linker optimization flags.
57227   if test x"$with_gnu_ld" = x"yes"; then
57228     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57229   fi
57230
57231
57232
57233
57234          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57235
57236          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57237
57238          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57239
57240          # All of the dependencies for wide character support are here, so
57241          # turn it on.
57242          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57243
57244         ;;
57245     esac
57246     case "$target" in
57247       *-*-solaris2.10)
57248       # These two C99 functions are present only in Solaris >= 10
57249       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57250
57251       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57252
57253      ;;
57254     esac
57255     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57256
57257     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57258
57259     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57260
57261     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57262
57263     ;;
57264   *-tpf)
57265     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57266
57267
57268   # If we're not using GNU ld, then there's no point in even trying these
57269   # tests.  Check for that first.  We should have already tested for gld
57270   # by now (in libtool), but require it now just to be safe...
57271   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57272   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57273
57274
57275
57276   # The name set by libtool depends on the version of libtool.  Shame on us
57277   # for depending on an impl detail, but c'est la vie.  Older versions used
57278   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57279   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57280   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57281   # set (hence we're using an older libtool), then set it.
57282   if test x${with_gnu_ld+set} != xset; then
57283     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57284       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57285       with_gnu_ld=no
57286     else
57287       with_gnu_ld=$ac_cv_prog_gnu_ld
57288     fi
57289   fi
57290
57291   # Start by getting the version number.  I think the libtool test already
57292   # does some of this, but throws away the result.
57293   glibcxx_ld_is_gold=no
57294   if test x"$with_gnu_ld" = x"yes"; then
57295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57296 $as_echo_n "checking for ld version... " >&6; }
57297
57298     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57299       glibcxx_ld_is_gold=yes
57300     fi
57301     ldver=`$LD --version 2>/dev/null |
57302            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'`
57303
57304     glibcxx_gnu_ld_version=`echo $ldver | \
57305            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57307 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57308   fi
57309
57310   # Set --gc-sections.
57311   glibcxx_have_gc_sections=no
57312   if test "$glibcxx_ld_is_gold" = "yes"; then
57313     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57314       glibcxx_have_gc_sections=yes
57315     fi
57316   else
57317     glibcxx_gcsections_min_ld=21602
57318     if test x"$with_gnu_ld" = x"yes" &&
57319         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57320       glibcxx_have_gc_sections=yes
57321     fi
57322   fi
57323   if test "$glibcxx_have_gc_sections" = "yes"; then
57324     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57325     # NB: This flag only works reliably after 2.16.1. Configure tests
57326     # for this are difficult, so hard wire a value that should work.
57327
57328     ac_test_CFLAGS="${CFLAGS+set}"
57329     ac_save_CFLAGS="$CFLAGS"
57330     CFLAGS='-Wl,--gc-sections'
57331
57332     # Check for -Wl,--gc-sections
57333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57334 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57335     if test x$gcc_no_link = xyes; then
57336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57337 fi
57338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h.  */
57340  int one(void) { return 1; }
57341      int two(void) { return 2; }
57342
57343 int
57344 main ()
57345 {
57346  two();
57347   ;
57348   return 0;
57349 }
57350 _ACEOF
57351 if ac_fn_c_try_link "$LINENO"; then :
57352   ac_gcsections=yes
57353 else
57354   ac_gcsections=no
57355 fi
57356 rm -f core conftest.err conftest.$ac_objext \
57357     conftest$ac_exeext conftest.$ac_ext
57358     if test "$ac_gcsections" = "yes"; then
57359       rm -f conftest.c
57360       touch conftest.c
57361       if $CC -c conftest.c; then
57362         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57363            grep "Warning: gc-sections option ignored" > /dev/null; then
57364           ac_gcsections=no
57365         fi
57366       fi
57367       rm -f conftest.c conftest.o conftest
57368     fi
57369     if test "$ac_gcsections" = "yes"; then
57370       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57371     fi
57372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57373 $as_echo "$ac_gcsections" >&6; }
57374
57375     if test "$ac_test_CFLAGS" = set; then
57376       CFLAGS="$ac_save_CFLAGS"
57377     else
57378       # this is the suspicious part
57379       CFLAGS=''
57380     fi
57381   fi
57382
57383   # Set -z,relro.
57384   # Note this is only for shared objects.
57385   ac_ld_relro=no
57386   if test x"$with_gnu_ld" = x"yes"; then
57387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57388 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57389     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57390     if test -n "$cxx_z_relo"; then
57391       OPT_LDFLAGS="-Wl,-z,relro"
57392       ac_ld_relro=yes
57393     fi
57394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57395 $as_echo "$ac_ld_relro" >&6; }
57396   fi
57397
57398   # Set linker optimization flags.
57399   if test x"$with_gnu_ld" = x"yes"; then
57400     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57401   fi
57402
57403
57404
57405
57406     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57407
57408     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57409
57410     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57411
57412     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57413
57414     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57415
57416     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57417
57418     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57419
57420     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57421
57422     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57423
57424     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57425
57426     if test x"long_double_math_on_this_cpu" = x"yes"; then
57427       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57428
57429       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57430
57431       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57432
57433       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57434
57435     fi
57436     ;;
57437   *-vxworks)
57438     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57439
57440     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57441
57442     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57443
57444     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57445
57446     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57447
57448     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57449
57450     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57451
57452     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57453
57454     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57455
57456     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57457
57458     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57459
57460     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57461
57462     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57463
57464     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57465
57466     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57467
57468     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57469
57470     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57471
57472     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57473
57474     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57475
57476     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57477
57478     ;;
57479   *)
57480     as_fn_error "No support for this host/target combination." "$LINENO" 5
57481    ;;
57482 esac
57483
57484   fi
57485
57486   # At some point, we should differentiate between architectures
57487   # like x86, which have long double versions, and alpha/powerpc/etc.,
57488   # which don't. For the time being, punt.
57489   if test x"long_double_math_on_this_cpu" = x"yes"; then
57490     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57491
57492     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57493
57494     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57495
57496     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57497
57498     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57499
57500     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57501
57502     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57503
57504     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57505
57506     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57507
57508     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57509
57510     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57511
57512     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57513
57514     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57515
57516     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57517
57518     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57519
57520     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57521
57522     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57523
57524     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57525
57526     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57527
57528     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57529
57530     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57531
57532     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57533
57534     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57535
57536   fi
57537 fi
57538
57539 # Check for _Unwind_GetIPInfo.
57540
57541
57542 # Check whether --with-system-libunwind was given.
57543 if test "${with_system_libunwind+set}" = set; then :
57544   withval=$with_system_libunwind;
57545 fi
57546
57547   # If system-libunwind was not specifically set, pick a default setting.
57548   if test x$with_system_libunwind = x; then
57549     case ${target} in
57550       ia64-*-hpux*) with_system_libunwind=yes ;;
57551       *) with_system_libunwind=no ;;
57552     esac
57553   fi
57554   # Based on system-libunwind and target, do we have ipinfo?
57555   if  test x$with_system_libunwind = xyes; then
57556     case ${target} in
57557       ia64-*-*) have_unwind_getipinfo=no ;;
57558       *) have_unwind_getipinfo=yes ;;
57559     esac
57560   else
57561     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57562
57563     case ${target} in
57564       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57565       *) have_unwind_getipinfo=yes ;;
57566     esac
57567
57568   fi
57569
57570   if test x$have_unwind_getipinfo = xyes; then
57571
57572 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57573
57574   fi
57575
57576
57577
57578  # Check whether --enable-linux-futex was given.
57579 if test "${enable_linux_futex+set}" = set; then :
57580   enableval=$enable_linux_futex;
57581       case "$enableval" in
57582        yes|no|default) ;;
57583        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57584                           esac
57585
57586 else
57587   enable_linux_futex=default
57588 fi
57589
57590
57591 case "$target" in
57592   *-linux*)
57593     case "$enable_linux_futex" in
57594       default)
57595         # If headers don't have gettid/futex syscalls definition, then
57596         # default to no, otherwise there will be compile time failures.
57597         # Otherwise, default to yes.  If we don't detect we are
57598         # compiled/linked against NPTL and not cross-compiling, check
57599         # if programs are run by default against NPTL and if not, issue
57600         # a warning.
57601         enable_linux_futex=no
57602         if test x$gcc_no_link = xyes; then
57603   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57604 fi
57605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57606 /* end confdefs.h.  */
57607 #include <sys/syscall.h>
57608            int lk;
57609 int
57610 main ()
57611 {
57612 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57613   ;
57614   return 0;
57615 }
57616 _ACEOF
57617 if ac_fn_c_try_link "$LINENO"; then :
57618   save_LIBS="$LIBS"
57619            LIBS="-lpthread $LIBS"
57620            if test x$gcc_no_link = xyes; then
57621   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57622 fi
57623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57624 /* end confdefs.h.  */
57625 #ifndef _GNU_SOURCE
57626              #define _GNU_SOURCE 1
57627              #endif
57628              #include <pthread.h>
57629              pthread_t th; void *status;
57630 int
57631 main ()
57632 {
57633 pthread_tryjoin_np (th, &status);
57634   ;
57635   return 0;
57636 }
57637 _ACEOF
57638 if ac_fn_c_try_link "$LINENO"; then :
57639   enable_linux_futex=yes
57640 else
57641   if test x$cross_compiling = xno; then
57642                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57643                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57644                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57645 If so, please configure with --disable-linux-futex" >&5
57646 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57647 If so, please configure with --disable-linux-futex" >&2;}
57648                fi
57649              fi
57650              enable_linux_futex=yes
57651 fi
57652 rm -f core conftest.err conftest.$ac_objext \
57653     conftest$ac_exeext conftest.$ac_ext
57654            LIBS="$save_LIBS"
57655 fi
57656 rm -f core conftest.err conftest.$ac_objext \
57657     conftest$ac_exeext conftest.$ac_ext
57658         ;;
57659       yes)
57660         if test x$gcc_no_link = xyes; then
57661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57662 fi
57663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57664 /* end confdefs.h.  */
57665 #include <sys/syscall.h>
57666            int lk;
57667 int
57668 main ()
57669 {
57670 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57671   ;
57672   return 0;
57673 }
57674 _ACEOF
57675 if ac_fn_c_try_link "$LINENO"; then :
57676
57677 else
57678   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57679 fi
57680 rm -f core conftest.err conftest.$ac_objext \
57681     conftest$ac_exeext conftest.$ac_ext
57682         ;;
57683     esac
57684     ;;
57685   *)
57686     enable_linux_futex=no
57687     ;;
57688 esac
57689 if test x$enable_linux_futex = xyes; then
57690
57691 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57692
57693 fi
57694
57695
57696
57697
57698 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57699
57700 acx_cv_header_stdint=stddef.h
57701 acx_cv_header_stdint_kind="(already complete)"
57702 for i in stdint.h $inttype_headers; do
57703   unset ac_cv_type_uintptr_t
57704   unset ac_cv_type_uintmax_t
57705   unset ac_cv_type_int_least32_t
57706   unset ac_cv_type_int_fast32_t
57707   unset ac_cv_type_uint64_t
57708   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57709   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57710 #include <$i>
57711 "
57712 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57713   acx_cv_header_stdint=$i
57714 else
57715   continue
57716 fi
57717
57718   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57719 #include <$i>
57720 "
57721 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57722
57723 else
57724   acx_cv_header_stdint_kind="(mostly complete)"
57725 fi
57726
57727   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57728 #include <$i>
57729 "
57730 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57731
57732 else
57733   acx_cv_header_stdint_kind="(mostly complete)"
57734 fi
57735
57736   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57737 #include <$i>
57738 "
57739 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57740
57741 else
57742   acx_cv_header_stdint_kind="(mostly complete)"
57743 fi
57744
57745   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57746 #include <$i>
57747 "
57748 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57749
57750 else
57751   acx_cv_header_stdint_kind="(lacks uint64_t)"
57752 fi
57753
57754   break
57755 done
57756 if test "$acx_cv_header_stdint" = stddef.h; then
57757   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57758   for i in stdint.h $inttype_headers; do
57759     unset ac_cv_type_uintptr_t
57760     unset ac_cv_type_uint32_t
57761     unset ac_cv_type_uint64_t
57762     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57763     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57764 #include <$i>
57765 "
57766 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57767   acx_cv_header_stdint=$i
57768 else
57769   continue
57770 fi
57771
57772     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57773 #include <$i>
57774 "
57775 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57776
57777 fi
57778
57779     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57780 #include <$i>
57781 "
57782 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57783
57784 fi
57785
57786     break
57787   done
57788 fi
57789 if test "$acx_cv_header_stdint" = stddef.h; then
57790   acx_cv_header_stdint_kind="(u_intXX_t style)"
57791   for i in sys/types.h $inttype_headers; do
57792     unset ac_cv_type_u_int32_t
57793     unset ac_cv_type_u_int64_t
57794     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57795     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57796 #include <$i>
57797 "
57798 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57799   acx_cv_header_stdint=$i
57800 else
57801   continue
57802 fi
57803
57804     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57805 #include <$i>
57806 "
57807 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57808
57809 fi
57810
57811     break
57812   done
57813 fi
57814 if test "$acx_cv_header_stdint" = stddef.h; then
57815   acx_cv_header_stdint_kind="(using manual detection)"
57816 fi
57817
57818 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57819 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57820 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57821 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57822 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57823
57824 # ----------------- Summarize what we found so far
57825
57826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57827 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57828
57829 case `$as_basename -- include/gstdint.h ||
57830 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57831          Xinclude/gstdint.h : 'X\(//\)$' \| \
57832          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57833 $as_echo X/include/gstdint.h |
57834     sed '/^.*\/\([^/][^/]*\)\/*$/{
57835             s//\1/
57836             q
57837           }
57838           /^X\/\(\/\/\)$/{
57839             s//\1/
57840             q
57841           }
57842           /^X\/\(\/\).*/{
57843             s//\1/
57844             q
57845           }
57846           s/.*/./; q'` in
57847   stdint.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   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57850 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57851   *) ;;
57852 esac
57853
57854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57855 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57856
57857 # ----------------- done included file, check C basic types --------
57858
57859 # Lacking an uintptr_t?  Test size of void *
57860 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57861   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57863 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57864 # This bug is HP SR number 8606223364.
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57866 $as_echo_n "checking size of void *... " >&6; }
57867 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57868   $as_echo_n "(cached) " >&6
57869 else
57870   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57871
57872 else
57873   if test "$ac_cv_type_void_p" = yes; then
57874      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57876 { as_fn_set_status 77
57877 as_fn_error "cannot compute sizeof (void *)
57878 See \`config.log' for more details." "$LINENO" 5; }; }
57879    else
57880      ac_cv_sizeof_void_p=0
57881    fi
57882 fi
57883
57884 fi
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57886 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57887
57888
57889
57890 cat >>confdefs.h <<_ACEOF
57891 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57892 _ACEOF
57893
57894  ;;
57895 esac
57896
57897 # Lacking an uint64_t?  Test size of long
57898 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57899   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57902 # This bug is HP SR number 8606223364.
57903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57904 $as_echo_n "checking size of long... " >&6; }
57905 if test "${ac_cv_sizeof_long+set}" = set; then :
57906   $as_echo_n "(cached) " >&6
57907 else
57908   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57909
57910 else
57911   if test "$ac_cv_type_long" = yes; then
57912      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57914 { as_fn_set_status 77
57915 as_fn_error "cannot compute sizeof (long)
57916 See \`config.log' for more details." "$LINENO" 5; }; }
57917    else
57918      ac_cv_sizeof_long=0
57919    fi
57920 fi
57921
57922 fi
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57924 $as_echo "$ac_cv_sizeof_long" >&6; }
57925
57926
57927
57928 cat >>confdefs.h <<_ACEOF
57929 #define SIZEOF_LONG $ac_cv_sizeof_long
57930 _ACEOF
57931
57932  ;;
57933 esac
57934
57935 if test $acx_cv_header_stdint = stddef.h; then
57936   # Lacking a good header?  Test size of everything and deduce all types.
57937   # The cast to long int works around a bug in the HP C Compiler
57938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57940 # This bug is HP SR number 8606223364.
57941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57942 $as_echo_n "checking size of int... " >&6; }
57943 if test "${ac_cv_sizeof_int+set}" = set; then :
57944   $as_echo_n "(cached) " >&6
57945 else
57946   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57947
57948 else
57949   if test "$ac_cv_type_int" = yes; then
57950      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57952 { as_fn_set_status 77
57953 as_fn_error "cannot compute sizeof (int)
57954 See \`config.log' for more details." "$LINENO" 5; }; }
57955    else
57956      ac_cv_sizeof_int=0
57957    fi
57958 fi
57959
57960 fi
57961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57962 $as_echo "$ac_cv_sizeof_int" >&6; }
57963
57964
57965
57966 cat >>confdefs.h <<_ACEOF
57967 #define SIZEOF_INT $ac_cv_sizeof_int
57968 _ACEOF
57969
57970
57971   # The cast to long int works around a bug in the HP C Compiler
57972 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57973 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57974 # This bug is HP SR number 8606223364.
57975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57976 $as_echo_n "checking size of short... " >&6; }
57977 if test "${ac_cv_sizeof_short+set}" = set; then :
57978   $as_echo_n "(cached) " >&6
57979 else
57980   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57981
57982 else
57983   if test "$ac_cv_type_short" = yes; then
57984      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57986 { as_fn_set_status 77
57987 as_fn_error "cannot compute sizeof (short)
57988 See \`config.log' for more details." "$LINENO" 5; }; }
57989    else
57990      ac_cv_sizeof_short=0
57991    fi
57992 fi
57993
57994 fi
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57996 $as_echo "$ac_cv_sizeof_short" >&6; }
57997
57998
57999
58000 cat >>confdefs.h <<_ACEOF
58001 #define SIZEOF_SHORT $ac_cv_sizeof_short
58002 _ACEOF
58003
58004
58005   # The cast to long int works around a bug in the HP C Compiler
58006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58008 # This bug is HP SR number 8606223364.
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58010 $as_echo_n "checking size of char... " >&6; }
58011 if test "${ac_cv_sizeof_char+set}" = set; then :
58012   $as_echo_n "(cached) " >&6
58013 else
58014   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
58015
58016 else
58017   if test "$ac_cv_type_char" = yes; then
58018      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58020 { as_fn_set_status 77
58021 as_fn_error "cannot compute sizeof (char)
58022 See \`config.log' for more details." "$LINENO" 5; }; }
58023    else
58024      ac_cv_sizeof_char=0
58025    fi
58026 fi
58027
58028 fi
58029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58030 $as_echo "$ac_cv_sizeof_char" >&6; }
58031
58032
58033
58034 cat >>confdefs.h <<_ACEOF
58035 #define SIZEOF_CHAR $ac_cv_sizeof_char
58036 _ACEOF
58037
58038
58039
58040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58041 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58042   case "$ac_cv_sizeof_char" in
58043     1) acx_cv_type_int8_t=char ;;
58044     *) { as_fn_set_status please report a bug
58045 as_fn_error "no 8-bit type" "$LINENO" 5; }
58046   esac
58047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58048 $as_echo "$acx_cv_type_int8_t" >&6; }
58049
58050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58051 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58052   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58053     2:*) acx_cv_type_int16_t=int ;;
58054     *:2) acx_cv_type_int16_t=short ;;
58055     *) { as_fn_set_status please report a bug
58056 as_fn_error "no 16-bit type" "$LINENO" 5; }
58057   esac
58058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58059 $as_echo "$acx_cv_type_int16_t" >&6; }
58060
58061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58062 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58063   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58064     4:*) acx_cv_type_int32_t=int ;;
58065     *:4) acx_cv_type_int32_t=long ;;
58066     *) { as_fn_set_status please report a bug
58067 as_fn_error "no 32-bit type" "$LINENO" 5; }
58068   esac
58069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58070 $as_echo "$acx_cv_type_int32_t" >&6; }
58071 fi
58072
58073 # These tests are here to make the output prettier
58074
58075 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58076   case "$ac_cv_sizeof_long" in
58077     8) acx_cv_type_int64_t=long ;;
58078   esac
58079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58080 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58082 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58083 fi
58084
58085 # Now we can use the above types
58086
58087 if test "$ac_cv_type_uintptr_t" != yes; then
58088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58089 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58090   case $ac_cv_sizeof_void_p in
58091     2) acx_cv_type_intptr_t=int16_t ;;
58092     4) acx_cv_type_intptr_t=int32_t ;;
58093     8) acx_cv_type_intptr_t=int64_t ;;
58094     *) { as_fn_set_status please report a bug
58095 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58096   esac
58097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58098 $as_echo "$acx_cv_type_intptr_t" >&6; }
58099 fi
58100
58101 # ----------------- done all checks, emit header -------------
58102 ac_config_commands="$ac_config_commands include/gstdint.h"
58103
58104
58105
58106
58107 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58108
58109
58110  # Check whether --enable-symvers was given.
58111 if test "${enable_symvers+set}" = set; then :
58112   enableval=$enable_symvers;
58113       case "$enableval" in
58114        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58115        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58116                           esac
58117
58118 else
58119   enable_symvers=yes
58120 fi
58121
58122
58123
58124 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58125 # don't know enough about $LD to do tricks...
58126
58127
58128 # Turn a 'yes' into a suitable default.
58129 if test x$enable_symvers = xyes ; then
58130   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58131     enable_symvers=no
58132   else
58133     if test $with_gnu_ld = yes ; then
58134       case ${target_os} in
58135         hpux*)
58136           enable_symvers=no ;;
58137         *)
58138           enable_symvers=gnu ;;
58139       esac
58140     else
58141       case ${target_os} in
58142         darwin*)
58143           enable_symvers=darwin ;;
58144         *)
58145           enable_symvers=no ;;
58146       esac
58147     fi
58148   fi
58149 fi
58150
58151 # Check to see if 'darwin' or 'darwin-export' can win.
58152 if test x$enable_symvers = xdarwin-export ; then
58153     enable_symvers=darwin
58154 fi
58155
58156 # Check to see if 'gnu' can win.
58157 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58158   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58160 $as_echo_n "checking for shared libgcc... " >&6; }
58161   ac_save_CFLAGS="$CFLAGS"
58162   CFLAGS=' -lgcc_s'
58163   if test x$gcc_no_link = xyes; then
58164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58165 fi
58166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58167 /* end confdefs.h.  */
58168
58169 int
58170 main ()
58171 {
58172 return 0;
58173   ;
58174   return 0;
58175 }
58176 _ACEOF
58177 if ac_fn_c_try_link "$LINENO"; then :
58178   glibcxx_shared_libgcc=yes
58179 else
58180   glibcxx_shared_libgcc=no
58181 fi
58182 rm -f core conftest.err conftest.$ac_objext \
58183     conftest$ac_exeext conftest.$ac_ext
58184   CFLAGS="$ac_save_CFLAGS"
58185   if test $glibcxx_shared_libgcc = no; then
58186     cat > conftest.c <<EOF
58187 int main (void) { return 0; }
58188 EOF
58189     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58190                              -shared -shared-libgcc -o conftest.so \
58191                              conftest.c -v 2>&1 >/dev/null \
58192                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58193     rm -f conftest.c conftest.so
58194     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58195       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58196       if test x$gcc_no_link = xyes; then
58197   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58198 fi
58199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58200 /* end confdefs.h.  */
58201
58202 int
58203 main ()
58204 {
58205 return 0;
58206   ;
58207   return 0;
58208 }
58209 _ACEOF
58210 if ac_fn_c_try_link "$LINENO"; then :
58211   glibcxx_shared_libgcc=yes
58212 fi
58213 rm -f core conftest.err conftest.$ac_objext \
58214     conftest$ac_exeext conftest.$ac_ext
58215       CFLAGS="$ac_save_CFLAGS"
58216     fi
58217   fi
58218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58219 $as_echo "$glibcxx_shared_libgcc" >&6; }
58220
58221   # For GNU ld, we need at least this version.  The format is described in
58222   # GLIBCXX_CHECK_LINKER_FEATURES above.
58223   glibcxx_min_gnu_ld_version=21400
58224
58225   # If no shared libgcc, can't win.
58226   if test $glibcxx_shared_libgcc != yes; then
58227       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58228 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58229       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58230 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58231       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58232 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58233       enable_symvers=no
58234   elif test $with_gnu_ld != yes ; then
58235     # just fail for now
58236     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58237 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58238     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58239 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58240     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58241 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58242     enable_symvers=no
58243   elif test $glibcxx_ld_is_gold = yes ; then
58244     : All versions of gold support symbol versioning.
58245   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58246     # The right tools, the right setup, but too old.  Fallbacks?
58247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58248 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58250 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58251     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58252 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58253     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58254 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58255     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58256 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58257     enable_symvers=no
58258   fi
58259 fi
58260
58261 # Everything parsed; figure out what file to use.
58262 case $enable_symvers in
58263   no)
58264     SYMVER_FILE=config/abi/pre/none.ver
58265     ;;
58266   gnu)
58267     SYMVER_FILE=config/abi/pre/gnu.ver
58268
58269 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58270
58271     ;;
58272   gnu-versioned-namespace)
58273     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58274
58275 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58276
58277     ;;
58278   darwin)
58279     SYMVER_FILE=config/abi/pre/gnu.ver
58280
58281 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58282
58283     ;;
58284 esac
58285
58286 if test x$enable_symvers != xno ; then
58287
58288 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58289
58290 fi
58291
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58293 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58294 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58295   $as_echo_n "(cached) " >&6
58296 else
58297
58298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58299 /* end confdefs.h.  */
58300 void foo (void); __asm (".symver foo, bar@SYMVER");
58301 int
58302 main ()
58303 {
58304
58305   ;
58306   return 0;
58307 }
58308 _ACEOF
58309 if ac_fn_c_try_compile "$LINENO"; then :
58310   glibcxx_cv_have_as_symver_directive=yes
58311 else
58312   glibcxx_cv_have_as_symver_directive=no
58313 fi
58314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58315 fi
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58317 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58318 if test $glibcxx_cv_have_as_symver_directive = yes; then
58319
58320 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58321
58322 fi
58323
58324
58325
58326
58327
58328
58329
58330 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58331 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58332
58333 # Now, set up compatibility support, if any.
58334 # In addition, need this to deal with std::size_t mangling in
58335 # src/compatibility.cc.  In a perfect world, could use
58336 # typeid(std::size_t).name()[0] to do direct substitution.
58337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58338 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58339 ac_save_CFLAGS="$CFLAGS"
58340 CFLAGS="-Werror"
58341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58342 /* end confdefs.h.  */
58343
58344 int
58345 main ()
58346 {
58347 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58348   ;
58349   return 0;
58350 }
58351 _ACEOF
58352 if ac_fn_c_try_compile "$LINENO"; then :
58353   glibcxx_size_t_is_i=yes
58354 else
58355   glibcxx_size_t_is_i=no
58356 fi
58357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58358 CFLAGS=$ac_save_CFLAGS
58359 if test "$glibcxx_size_t_is_i" = yes; then
58360
58361 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58362
58363 fi
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58365 $as_echo "$glibcxx_size_t_is_i" >&6; }
58366
58367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58368 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58369 ac_save_CFLAGS="$CFLAGS"
58370 CFLAGS="-Werror"
58371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h.  */
58373
58374 int
58375 main ()
58376 {
58377 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58378   ;
58379   return 0;
58380 }
58381 _ACEOF
58382 if ac_fn_c_try_compile "$LINENO"; then :
58383   glibcxx_ptrdiff_t_is_i=yes
58384 else
58385   glibcxx_ptrdiff_t_is_i=no
58386 fi
58387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58388 CFLAGS=$ac_save_CFLAGS
58389 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58390
58391 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58392
58393 fi
58394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58395 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58396
58397
58398  # Check whether --enable-visibility was given.
58399 if test "${enable_visibility+set}" = set; then :
58400   enableval=$enable_visibility;
58401       case "$enableval" in
58402        yes|no) ;;
58403        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58404       esac
58405
58406 else
58407   enable_visibility=yes
58408 fi
58409
58410
58411
58412 if test x$enable_visibility = xyes ; then
58413       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58414 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58415 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58416   $as_echo_n "(cached) " >&6
58417 else
58418
58419   save_CFLAGS="$CFLAGS"
58420   CFLAGS="$CFLAGS -Werror"
58421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58422 /* end confdefs.h.  */
58423 void __attribute__((visibility("hidden"))) foo(void) { }
58424 int
58425 main ()
58426 {
58427
58428   ;
58429   return 0;
58430 }
58431 _ACEOF
58432 if ac_fn_c_try_compile "$LINENO"; then :
58433   glibcxx_cv_have_attribute_visibility=yes
58434 else
58435   glibcxx_cv_have_attribute_visibility=no
58436 fi
58437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58438   CFLAGS="$save_CFLAGS"
58439 fi
58440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58441 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58442   if test $glibcxx_cv_have_attribute_visibility = no; then
58443     enable_visibility=no
58444   fi
58445 fi
58446
58447
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58449 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58450
58451
58452 ac_ldbl_compat=no
58453 case "$target" in
58454   powerpc*-*-linux* | \
58455   powerpc*-*-gnu* | \
58456   sparc*-*-linux* | \
58457   s390*-*-linux* | \
58458   alpha*-*-linux*)
58459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58460 /* end confdefs.h.  */
58461
58462 int
58463 main ()
58464 {
58465
58466 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58467 #error no need for long double compatibility
58468 #endif
58469
58470   ;
58471   return 0;
58472 }
58473 _ACEOF
58474 if ac_fn_c_try_compile "$LINENO"; then :
58475   ac_ldbl_compat=yes
58476 else
58477   ac_ldbl_compat=no
58478 fi
58479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58480   if test "$ac_ldbl_compat" = yes; then
58481
58482 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58483
58484     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58485   fi
58486 esac
58487
58488
58489 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58490
58491   if $GLIBCXX_IS_NATIVE ; then
58492     # Do checks for resource limit functions.
58493
58494   setrlimit_have_headers=yes
58495   for ac_header in unistd.h sys/time.h sys/resource.h
58496 do :
58497   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58498 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58499 eval as_val=\$$as_ac_Header
58500    if test "x$as_val" = x""yes; then :
58501   cat >>confdefs.h <<_ACEOF
58502 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58503 _ACEOF
58504
58505 else
58506   setrlimit_have_headers=no
58507 fi
58508
58509 done
58510
58511   # If don't have the headers, then we can't run the tests now, and we
58512   # won't be seeing any of these during testsuite compilation.
58513   if test $setrlimit_have_headers = yes; then
58514     # Can't do these in a loop, else the resulting syntax is wrong.
58515
58516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58517 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h.  */
58520 #include <unistd.h>
58521      #include <sys/time.h>
58522      #include <sys/resource.h>
58523
58524 int
58525 main ()
58526 {
58527  int f = RLIMIT_DATA ;
58528   ;
58529   return 0;
58530 }
58531 _ACEOF
58532 if ac_fn_c_try_compile "$LINENO"; then :
58533   glibcxx_mresult=1
58534 else
58535   glibcxx_mresult=0
58536 fi
58537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58538
58539 cat >>confdefs.h <<_ACEOF
58540 #define HAVE_LIMIT_DATA $glibcxx_mresult
58541 _ACEOF
58542
58543   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58545 $as_echo "$res" >&6; }
58546
58547
58548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58549 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h.  */
58552 #include <unistd.h>
58553      #include <sys/time.h>
58554      #include <sys/resource.h>
58555
58556 int
58557 main ()
58558 {
58559  int f = RLIMIT_RSS ;
58560   ;
58561   return 0;
58562 }
58563 _ACEOF
58564 if ac_fn_c_try_compile "$LINENO"; then :
58565   glibcxx_mresult=1
58566 else
58567   glibcxx_mresult=0
58568 fi
58569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58570
58571 cat >>confdefs.h <<_ACEOF
58572 #define HAVE_LIMIT_RSS $glibcxx_mresult
58573 _ACEOF
58574
58575   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58577 $as_echo "$res" >&6; }
58578
58579
58580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58581 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58583 /* end confdefs.h.  */
58584 #include <unistd.h>
58585      #include <sys/time.h>
58586      #include <sys/resource.h>
58587
58588 int
58589 main ()
58590 {
58591  int f = RLIMIT_VMEM ;
58592   ;
58593   return 0;
58594 }
58595 _ACEOF
58596 if ac_fn_c_try_compile "$LINENO"; then :
58597   glibcxx_mresult=1
58598 else
58599   glibcxx_mresult=0
58600 fi
58601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58602
58603 cat >>confdefs.h <<_ACEOF
58604 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58605 _ACEOF
58606
58607   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58609 $as_echo "$res" >&6; }
58610
58611
58612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58613 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58615 /* end confdefs.h.  */
58616 #include <unistd.h>
58617      #include <sys/time.h>
58618      #include <sys/resource.h>
58619
58620 int
58621 main ()
58622 {
58623  int f = RLIMIT_AS ;
58624   ;
58625   return 0;
58626 }
58627 _ACEOF
58628 if ac_fn_c_try_compile "$LINENO"; then :
58629   glibcxx_mresult=1
58630 else
58631   glibcxx_mresult=0
58632 fi
58633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58634
58635 cat >>confdefs.h <<_ACEOF
58636 #define HAVE_LIMIT_AS $glibcxx_mresult
58637 _ACEOF
58638
58639   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58641 $as_echo "$res" >&6; }
58642
58643
58644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58645 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58647 /* end confdefs.h.  */
58648 #include <unistd.h>
58649      #include <sys/time.h>
58650      #include <sys/resource.h>
58651
58652 int
58653 main ()
58654 {
58655  int f = RLIMIT_FSIZE ;
58656   ;
58657   return 0;
58658 }
58659 _ACEOF
58660 if ac_fn_c_try_compile "$LINENO"; then :
58661   glibcxx_mresult=1
58662 else
58663   glibcxx_mresult=0
58664 fi
58665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58666
58667 cat >>confdefs.h <<_ACEOF
58668 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58669 _ACEOF
58670
58671   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58673 $as_echo "$res" >&6; }
58674
58675
58676     # Check for rlimit, setrlimit.
58677     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58678   $as_echo_n "(cached) " >&6
58679 else
58680
58681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58682 /* end confdefs.h.  */
58683 #include <unistd.h>
58684          #include <sys/time.h>
58685          #include <sys/resource.h>
58686
58687 int
58688 main ()
58689 {
58690 struct rlimit r;
58691          setrlimit(0, &r);
58692   ;
58693   return 0;
58694 }
58695 _ACEOF
58696 if ac_fn_c_try_compile "$LINENO"; then :
58697   glibcxx_cv_setrlimit=yes
58698 else
58699   glibcxx_cv_setrlimit=no
58700 fi
58701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58702
58703 fi
58704
58705   fi
58706
58707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58708 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58709   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58710     ac_res_limits=yes
58711
58712 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58713
58714   else
58715     ac_res_limits=no
58716   fi
58717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58718 $as_echo "$ac_res_limits" >&6; }
58719
58720
58721     # Look for setenv, so that extended locale tests can be performed.
58722
58723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58724 $as_echo_n "checking for setenv declaration... " >&6; }
58725   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58726     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58727   $as_echo_n "(cached) " >&6
58728 else
58729
58730
58731       ac_ext=cpp
58732 ac_cpp='$CXXCPP $CPPFLAGS'
58733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58736
58737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58738 /* end confdefs.h.  */
58739 #include <stdlib.h>
58740 int
58741 main ()
58742 {
58743  setenv(0, 0, 0);
58744   ;
58745   return 0;
58746 }
58747 _ACEOF
58748 if ac_fn_cxx_try_compile "$LINENO"; then :
58749   glibcxx_cv_func_setenv_use=yes
58750 else
58751   glibcxx_cv_func_setenv_use=no
58752 fi
58753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58754       ac_ext=c
58755 ac_cpp='$CPP $CPPFLAGS'
58756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58759
58760
58761 fi
58762
58763   fi
58764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58765 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58766   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58767     for ac_func in setenv
58768 do :
58769   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58770 if test "x$ac_cv_func_setenv" = x""yes; then :
58771   cat >>confdefs.h <<_ACEOF
58772 #define HAVE_SETENV 1
58773 _ACEOF
58774
58775 fi
58776 done
58777
58778   fi
58779
58780   fi
58781
58782   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58783      test $enable_symvers != no; then
58784     case "$host" in
58785       *-*-cygwin*)
58786         enable_abi_check=no ;;
58787       *)
58788         enable_abi_check=yes ;;
58789     esac
58790   else
58791     # Only build this as native, since automake does not understand
58792     # CXX_FOR_BUILD.
58793     enable_abi_check=no
58794   fi
58795
58796   # Export file names for ABI checking.
58797   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58798
58799
58800
58801 # Propagate the target-specific source directories through the build chain.
58802 ATOMICITY_SRCDIR=config/${atomicity_dir}
58803 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58804 ATOMIC_FLAGS=${atomic_flags}
58805 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58806 OS_INC_SRCDIR=config/${os_include_dir}
58807 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58808 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58809
58810
58811
58812
58813
58814
58815
58816
58817
58818 # Determine cross-compile flags and AM_CONDITIONALs.
58819 #AC_SUBST(GLIBCXX_IS_NATIVE)
58820 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58821     if test $is_hosted = yes; then
58822   GLIBCXX_HOSTED_TRUE=
58823   GLIBCXX_HOSTED_FALSE='#'
58824 else
58825   GLIBCXX_HOSTED_TRUE='#'
58826   GLIBCXX_HOSTED_FALSE=
58827 fi
58828
58829
58830     if test $enable_libstdcxx_pch = yes; then
58831   GLIBCXX_BUILD_PCH_TRUE=
58832   GLIBCXX_BUILD_PCH_FALSE='#'
58833 else
58834   GLIBCXX_BUILD_PCH_TRUE='#'
58835   GLIBCXX_BUILD_PCH_FALSE=
58836 fi
58837
58838
58839     if test $enable_cheaders = c; then
58840   GLIBCXX_C_HEADERS_C_TRUE=
58841   GLIBCXX_C_HEADERS_C_FALSE='#'
58842 else
58843   GLIBCXX_C_HEADERS_C_TRUE='#'
58844   GLIBCXX_C_HEADERS_C_FALSE=
58845 fi
58846
58847
58848     if test $enable_cheaders = c_std; then
58849   GLIBCXX_C_HEADERS_C_STD_TRUE=
58850   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58851 else
58852   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58853   GLIBCXX_C_HEADERS_C_STD_FALSE=
58854 fi
58855
58856
58857     if test $enable_cheaders = c_global; then
58858   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58859   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58860 else
58861   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58862   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58863 fi
58864
58865
58866     if test $c_compatibility = yes; then
58867   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58868   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58869 else
58870   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58871   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58872 fi
58873
58874
58875     if test $c_extra = yes; then
58876   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58877   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58878 else
58879   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58880   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58881 fi
58882
58883
58884     if test $enable_libstdcxx_debug = yes; then
58885   GLIBCXX_BUILD_DEBUG_TRUE=
58886   GLIBCXX_BUILD_DEBUG_FALSE='#'
58887 else
58888   GLIBCXX_BUILD_DEBUG_TRUE='#'
58889   GLIBCXX_BUILD_DEBUG_FALSE=
58890 fi
58891
58892
58893     if test $enable_parallel = yes; then
58894   ENABLE_PARALLEL_TRUE=
58895   ENABLE_PARALLEL_FALSE='#'
58896 else
58897   ENABLE_PARALLEL_TRUE='#'
58898   ENABLE_PARALLEL_FALSE=
58899 fi
58900
58901
58902     if test $enable_symvers != no; then
58903   ENABLE_SYMVERS_TRUE=
58904   ENABLE_SYMVERS_FALSE='#'
58905 else
58906   ENABLE_SYMVERS_TRUE='#'
58907   ENABLE_SYMVERS_FALSE=
58908 fi
58909
58910
58911     if test $enable_symvers = gnu; then
58912   ENABLE_SYMVERS_GNU_TRUE=
58913   ENABLE_SYMVERS_GNU_FALSE='#'
58914 else
58915   ENABLE_SYMVERS_GNU_TRUE='#'
58916   ENABLE_SYMVERS_GNU_FALSE=
58917 fi
58918
58919
58920     if test $enable_symvers = gnu-versioned-namespace; then
58921   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58922   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58923 else
58924   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58925   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58926 fi
58927
58928
58929     if test $enable_symvers = darwin; then
58930   ENABLE_SYMVERS_DARWIN_TRUE=
58931   ENABLE_SYMVERS_DARWIN_FALSE='#'
58932 else
58933   ENABLE_SYMVERS_DARWIN_TRUE='#'
58934   ENABLE_SYMVERS_DARWIN_FALSE=
58935 fi
58936
58937
58938     if test $enable_visibility = yes; then
58939   ENABLE_VISIBILITY_TRUE=
58940   ENABLE_VISIBILITY_FALSE='#'
58941 else
58942   ENABLE_VISIBILITY_TRUE='#'
58943   ENABLE_VISIBILITY_FALSE=
58944 fi
58945
58946
58947     if test $ac_ldbl_compat = yes; then
58948   GLIBCXX_LDBL_COMPAT_TRUE=
58949   GLIBCXX_LDBL_COMPAT_FALSE='#'
58950 else
58951   GLIBCXX_LDBL_COMPAT_TRUE='#'
58952   GLIBCXX_LDBL_COMPAT_FALSE=
58953 fi
58954
58955
58956
58957
58958 cat >confcache <<\_ACEOF
58959 # This file is a shell script that caches the results of configure
58960 # tests run on this system so they can be shared between configure
58961 # scripts and configure runs, see configure's option --config-cache.
58962 # It is not useful on other systems.  If it contains results you don't
58963 # want to keep, you may remove or edit it.
58964 #
58965 # config.status only pays attention to the cache file if you give it
58966 # the --recheck option to rerun configure.
58967 #
58968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58970 # following values.
58971
58972 _ACEOF
58973
58974 # The following way of writing the cache mishandles newlines in values,
58975 # but we know of no workaround that is simple, portable, and efficient.
58976 # So, we kill variables containing newlines.
58977 # Ultrix sh set writes to stderr and can't be redirected directly,
58978 # and sets the high bit in the cache file unless we assign to the vars.
58979 (
58980   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58981     eval ac_val=\$$ac_var
58982     case $ac_val in #(
58983     *${as_nl}*)
58984       case $ac_var in #(
58985       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58987       esac
58988       case $ac_var in #(
58989       _ | IFS | as_nl) ;; #(
58990       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58991       *) { eval $ac_var=; unset $ac_var;} ;;
58992       esac ;;
58993     esac
58994   done
58995
58996   (set) 2>&1 |
58997     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58998     *${as_nl}ac_space=\ *)
58999       # `set' does not quote correctly, so add quotes: double-quote
59000       # substitution turns \\\\ into \\, and sed turns \\ into \.
59001       sed -n \
59002         "s/'/'\\\\''/g;
59003           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59004       ;; #(
59005     *)
59006       # `set' quotes correctly as required by POSIX, so do not add quotes.
59007       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59008       ;;
59009     esac |
59010     sort
59011 ) |
59012   sed '
59013      /^ac_cv_env_/b end
59014      t clear
59015      :clear
59016      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59017      t end
59018      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59019      :end' >>confcache
59020 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59021   if test -w "$cache_file"; then
59022     test "x$cache_file" != "x/dev/null" &&
59023       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59024 $as_echo "$as_me: updating cache $cache_file" >&6;}
59025     cat confcache >$cache_file
59026   else
59027     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59029   fi
59030 fi
59031 rm -f confcache
59032
59033 if test ${multilib} = yes; then
59034   multilib_arg="--enable-multilib"
59035 else
59036   multilib_arg=
59037 fi
59038
59039 # Export all the install information.
59040
59041   glibcxx_toolexecdir=no
59042   glibcxx_toolexeclibdir=no
59043   glibcxx_prefixdir=$prefix
59044
59045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59046 $as_echo_n "checking for gxx-include-dir... " >&6; }
59047
59048 # Check whether --with-gxx-include-dir was given.
59049 if test "${with_gxx_include_dir+set}" = set; then :
59050   withval=$with_gxx_include_dir; case "$withval" in
59051       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59052       no)  gxx_include_dir=no ;;
59053       *)   gxx_include_dir=$withval ;;
59054      esac
59055 else
59056   gxx_include_dir=no
59057 fi
59058
59059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59060 $as_echo "$gxx_include_dir" >&6; }
59061
59062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59063 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59064   # Check whether --enable-version-specific-runtime-libs was given.
59065 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59066   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59067       yes) version_specific_libs=yes ;;
59068       no)  version_specific_libs=no ;;
59069       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59070      esac
59071 else
59072   version_specific_libs=no
59073 fi
59074
59075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59076 $as_echo "$version_specific_libs" >&6; }
59077
59078   # Default case for install directory for include files.
59079   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59080     gxx_include_dir='include/c++/${gcc_version}'
59081     if test -n "$with_cross_host" &&
59082        test x"$with_cross_host" != x"no"; then
59083       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59084     else
59085       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59086     fi
59087   fi
59088
59089   # Version-specific runtime libs processing.
59090   if test $version_specific_libs = yes; then
59091     # Need the gcc compiler version to know where to install libraries
59092     # and header files if --enable-version-specific-runtime-libs option
59093     # is selected.  FIXME: these variables are misnamed, there are
59094     # no executables installed in _toolexecdir or _toolexeclibdir.
59095     if test x"$gxx_include_dir" = x"no"; then
59096       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59097     fi
59098     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59099     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59100   fi
59101
59102   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59103   # Install a library built with a cross compiler in tooldir, not libdir.
59104   if test x"$glibcxx_toolexecdir" = x"no"; then
59105     if test -n "$with_cross_host" &&
59106        test x"$with_cross_host" != x"no"; then
59107       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59108       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59109     else
59110       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59111       glibcxx_toolexeclibdir='${libdir}'
59112     fi
59113     multi_os_directory=`$CXX -print-multi-os-directory`
59114     case $multi_os_directory in
59115       .) ;; # Avoid trailing /.
59116       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59117     esac
59118   fi
59119
59120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59121 $as_echo_n "checking for install location... " >&6; }
59122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59123 $as_echo "$gxx_include_dir" >&6; }
59124
59125
59126
59127
59128
59129
59130
59131 # Export all the include and flag information to Makefiles.
59132
59133   # Used for every C++ compile we perform.
59134   GLIBCXX_INCLUDES="\
59135 -I$glibcxx_builddir/include/$host_alias \
59136 -I$glibcxx_builddir/include \
59137 -I$glibcxx_srcdir/libsupc++"
59138
59139   # For Canadian crosses, pick this up too.
59140   if test $CANADIAN = yes; then
59141     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59142   fi
59143
59144   # Stuff in the actual top level.  Currently only used by libsupc++ to
59145   # get unwind* headers from the gcc dir.
59146   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59147   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59148
59149   # Now, export this to all the little Makefiles....
59150
59151
59152
59153
59154   # Optimization flags that are probably a good idea for thrill-seekers. Just
59155   # uncomment the lines below and make, everything else is ready to go...
59156   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59157   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59158
59159
59160   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59161
59162
59163
59164 if test "$enable_shared" = yes; then
59165   LIBSUPCXX_PICFLAGS="-prefer-pic"
59166 else
59167   LIBSUPCXX_PICFLAGS=
59168 fi
59169
59170
59171 ac_config_files="$ac_config_files Makefile"
59172
59173 ac_config_files="$ac_config_files scripts/testsuite_flags"
59174
59175
59176 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59177 # that multilib installs will end up installed in the correct place.
59178 # The testsuite needs it for multilib-aware ABI baseline files.
59179 # To work around this not being passed down from config-ml.in ->
59180 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59181 # append it here.  Only modify Makefiles that have just been created.
59182 #
59183 # Also, get rid of this simulated-VPATH thing that automake does.
59184 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59185
59186
59187 ac_config_commands="$ac_config_commands generate-headers"
59188
59189
59190 cat >confcache <<\_ACEOF
59191 # This file is a shell script that caches the results of configure
59192 # tests run on this system so they can be shared between configure
59193 # scripts and configure runs, see configure's option --config-cache.
59194 # It is not useful on other systems.  If it contains results you don't
59195 # want to keep, you may remove or edit it.
59196 #
59197 # config.status only pays attention to the cache file if you give it
59198 # the --recheck option to rerun configure.
59199 #
59200 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59201 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59202 # following values.
59203
59204 _ACEOF
59205
59206 # The following way of writing the cache mishandles newlines in values,
59207 # but we know of no workaround that is simple, portable, and efficient.
59208 # So, we kill variables containing newlines.
59209 # Ultrix sh set writes to stderr and can't be redirected directly,
59210 # and sets the high bit in the cache file unless we assign to the vars.
59211 (
59212   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59213     eval ac_val=\$$ac_var
59214     case $ac_val in #(
59215     *${as_nl}*)
59216       case $ac_var in #(
59217       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59218 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59219       esac
59220       case $ac_var in #(
59221       _ | IFS | as_nl) ;; #(
59222       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59223       *) { eval $ac_var=; unset $ac_var;} ;;
59224       esac ;;
59225     esac
59226   done
59227
59228   (set) 2>&1 |
59229     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59230     *${as_nl}ac_space=\ *)
59231       # `set' does not quote correctly, so add quotes: double-quote
59232       # substitution turns \\\\ into \\, and sed turns \\ into \.
59233       sed -n \
59234         "s/'/'\\\\''/g;
59235           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59236       ;; #(
59237     *)
59238       # `set' quotes correctly as required by POSIX, so do not add quotes.
59239       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59240       ;;
59241     esac |
59242     sort
59243 ) |
59244   sed '
59245      /^ac_cv_env_/b end
59246      t clear
59247      :clear
59248      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59249      t end
59250      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59251      :end' >>confcache
59252 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59253   if test -w "$cache_file"; then
59254     test "x$cache_file" != "x/dev/null" &&
59255       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59256 $as_echo "$as_me: updating cache $cache_file" >&6;}
59257     cat confcache >$cache_file
59258   else
59259     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59260 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59261   fi
59262 fi
59263 rm -f confcache
59264
59265 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59266 # Let make expand exec_prefix.
59267 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59268
59269 DEFS=-DHAVE_CONFIG_H
59270
59271 ac_libobjs=
59272 ac_ltlibobjs=
59273 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59274   # 1. Remove the extension, and $U if already installed.
59275   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59276   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59277   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59278   #    will be set to the directory where LIBOBJS objects are built.
59279   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59280   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59281 done
59282 LIBOBJS=$ac_libobjs
59283
59284 LTLIBOBJS=$ac_ltlibobjs
59285
59286
59287  if test -n "$EXEEXT"; then
59288   am__EXEEXT_TRUE=
59289   am__EXEEXT_FALSE='#'
59290 else
59291   am__EXEEXT_TRUE='#'
59292   am__EXEEXT_FALSE=
59293 fi
59294
59295 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59296   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59298 fi
59299 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59300   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59302 fi
59303 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59304   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59306 fi
59307 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59308   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59310 fi
59311 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59312   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59314 fi
59315 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59316   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59318 fi
59319 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59320   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59322 fi
59323 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59324   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59326 fi
59327 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59328   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59330 fi
59331 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59332   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59334 fi
59335 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59336   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59338 fi
59339 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59340   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59342 fi
59343 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59344   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59346 fi
59347 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59348   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59350 fi
59351 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59352   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59354 fi
59355 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59356   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59358 fi
59359
59360 : ${CONFIG_STATUS=./config.status}
59361 ac_write_fail=0
59362 ac_clean_files_save=$ac_clean_files
59363 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59365 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59366 as_write_fail=0
59367 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59368 #! $SHELL
59369 # Generated by $as_me.
59370 # Run this file to recreate the current configuration.
59371 # Compiler output produced by configure, useful for debugging
59372 # configure, is in config.log if it exists.
59373
59374 debug=false
59375 ac_cs_recheck=false
59376 ac_cs_silent=false
59377
59378 SHELL=\${CONFIG_SHELL-$SHELL}
59379 export SHELL
59380 _ASEOF
59381 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59382 ## -------------------- ##
59383 ## M4sh Initialization. ##
59384 ## -------------------- ##
59385
59386 # Be more Bourne compatible
59387 DUALCASE=1; export DUALCASE # for MKS sh
59388 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59389   emulate sh
59390   NULLCMD=:
59391   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59392   # is contrary to our usage.  Disable this feature.
59393   alias -g '${1+"$@"}'='"$@"'
59394   setopt NO_GLOB_SUBST
59395 else
59396   case `(set -o) 2>/dev/null` in #(
59397   *posix*) :
59398     set -o posix ;; #(
59399   *) :
59400      ;;
59401 esac
59402 fi
59403
59404
59405 as_nl='
59406 '
59407 export as_nl
59408 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59409 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59410 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59412 # Prefer a ksh shell builtin over an external printf program on Solaris,
59413 # but without wasting forks for bash or zsh.
59414 if test -z "$BASH_VERSION$ZSH_VERSION" \
59415     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59416   as_echo='print -r --'
59417   as_echo_n='print -rn --'
59418 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59419   as_echo='printf %s\n'
59420   as_echo_n='printf %s'
59421 else
59422   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59423     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59424     as_echo_n='/usr/ucb/echo -n'
59425   else
59426     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59427     as_echo_n_body='eval
59428       arg=$1;
59429       case $arg in #(
59430       *"$as_nl"*)
59431         expr "X$arg" : "X\\(.*\\)$as_nl";
59432         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59433       esac;
59434       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59435     '
59436     export as_echo_n_body
59437     as_echo_n='sh -c $as_echo_n_body as_echo'
59438   fi
59439   export as_echo_body
59440   as_echo='sh -c $as_echo_body as_echo'
59441 fi
59442
59443 # The user is always right.
59444 if test "${PATH_SEPARATOR+set}" != set; then
59445   PATH_SEPARATOR=:
59446   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59447     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59448       PATH_SEPARATOR=';'
59449   }
59450 fi
59451
59452
59453 # IFS
59454 # We need space, tab and new line, in precisely that order.  Quoting is
59455 # there to prevent editors from complaining about space-tab.
59456 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59457 # splitting by setting IFS to empty value.)
59458 IFS=" ""        $as_nl"
59459
59460 # Find who we are.  Look in the path if we contain no directory separator.
59461 case $0 in #((
59462   *[\\/]* ) as_myself=$0 ;;
59463   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59464 for as_dir in $PATH
59465 do
59466   IFS=$as_save_IFS
59467   test -z "$as_dir" && as_dir=.
59468     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59469   done
59470 IFS=$as_save_IFS
59471
59472      ;;
59473 esac
59474 # We did not find ourselves, most probably we were run as `sh COMMAND'
59475 # in which case we are not to be found in the path.
59476 if test "x$as_myself" = x; then
59477   as_myself=$0
59478 fi
59479 if test ! -f "$as_myself"; then
59480   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59481   exit 1
59482 fi
59483
59484 # Unset variables that we do not need and which cause bugs (e.g. in
59485 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59486 # suppresses any "Segmentation fault" message there.  '((' could
59487 # trigger a bug in pdksh 5.2.14.
59488 for as_var in BASH_ENV ENV MAIL MAILPATH
59489 do eval test x\${$as_var+set} = xset \
59490   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59491 done
59492 PS1='$ '
59493 PS2='> '
59494 PS4='+ '
59495
59496 # NLS nuisances.
59497 LC_ALL=C
59498 export LC_ALL
59499 LANGUAGE=C
59500 export LANGUAGE
59501
59502 # CDPATH.
59503 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59504
59505
59506 # as_fn_error ERROR [LINENO LOG_FD]
59507 # ---------------------------------
59508 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59509 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59510 # script with status $?, using 1 if that was 0.
59511 as_fn_error ()
59512 {
59513   as_status=$?; test $as_status -eq 0 && as_status=1
59514   if test "$3"; then
59515     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59516     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59517   fi
59518   $as_echo "$as_me: error: $1" >&2
59519   as_fn_exit $as_status
59520 } # as_fn_error
59521
59522
59523 # as_fn_set_status STATUS
59524 # -----------------------
59525 # Set $? to STATUS, without forking.
59526 as_fn_set_status ()
59527 {
59528   return $1
59529 } # as_fn_set_status
59530
59531 # as_fn_exit STATUS
59532 # -----------------
59533 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59534 as_fn_exit ()
59535 {
59536   set +e
59537   as_fn_set_status $1
59538   exit $1
59539 } # as_fn_exit
59540
59541 # as_fn_unset VAR
59542 # ---------------
59543 # Portably unset VAR.
59544 as_fn_unset ()
59545 {
59546   { eval $1=; unset $1;}
59547 }
59548 as_unset=as_fn_unset
59549 # as_fn_append VAR VALUE
59550 # ----------------------
59551 # Append the text in VALUE to the end of the definition contained in VAR. Take
59552 # advantage of any shell optimizations that allow amortized linear growth over
59553 # repeated appends, instead of the typical quadratic growth present in naive
59554 # implementations.
59555 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59556   eval 'as_fn_append ()
59557   {
59558     eval $1+=\$2
59559   }'
59560 else
59561   as_fn_append ()
59562   {
59563     eval $1=\$$1\$2
59564   }
59565 fi # as_fn_append
59566
59567 # as_fn_arith ARG...
59568 # ------------------
59569 # Perform arithmetic evaluation on the ARGs, and store the result in the
59570 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59571 # must be portable across $(()) and expr.
59572 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59573   eval 'as_fn_arith ()
59574   {
59575     as_val=$(( $* ))
59576   }'
59577 else
59578   as_fn_arith ()
59579   {
59580     as_val=`expr "$@" || test $? -eq 1`
59581   }
59582 fi # as_fn_arith
59583
59584
59585 if expr a : '\(a\)' >/dev/null 2>&1 &&
59586    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59587   as_expr=expr
59588 else
59589   as_expr=false
59590 fi
59591
59592 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59593   as_basename=basename
59594 else
59595   as_basename=false
59596 fi
59597
59598 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59599   as_dirname=dirname
59600 else
59601   as_dirname=false
59602 fi
59603
59604 as_me=`$as_basename -- "$0" ||
59605 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59606          X"$0" : 'X\(//\)$' \| \
59607          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59608 $as_echo X/"$0" |
59609     sed '/^.*\/\([^/][^/]*\)\/*$/{
59610             s//\1/
59611             q
59612           }
59613           /^X\/\(\/\/\)$/{
59614             s//\1/
59615             q
59616           }
59617           /^X\/\(\/\).*/{
59618             s//\1/
59619             q
59620           }
59621           s/.*/./; q'`
59622
59623 # Avoid depending upon Character Ranges.
59624 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59627 as_cr_digits='0123456789'
59628 as_cr_alnum=$as_cr_Letters$as_cr_digits
59629
59630 ECHO_C= ECHO_N= ECHO_T=
59631 case `echo -n x` in #(((((
59632 -n*)
59633   case `echo 'xy\c'` in
59634   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59635   xy)  ECHO_C='\c';;
59636   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59637        ECHO_T=' ';;
59638   esac;;
59639 *)
59640   ECHO_N='-n';;
59641 esac
59642
59643 rm -f conf$$ conf$$.exe conf$$.file
59644 if test -d conf$$.dir; then
59645   rm -f conf$$.dir/conf$$.file
59646 else
59647   rm -f conf$$.dir
59648   mkdir conf$$.dir 2>/dev/null
59649 fi
59650 if (echo >conf$$.file) 2>/dev/null; then
59651   if ln -s conf$$.file conf$$ 2>/dev/null; then
59652     as_ln_s='ln -s'
59653     # ... but there are two gotchas:
59654     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59655     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59656     # In both cases, we have to default to `cp -p'.
59657     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59658       as_ln_s='cp -p'
59659   elif ln conf$$.file conf$$ 2>/dev/null; then
59660     as_ln_s=ln
59661   else
59662     as_ln_s='cp -p'
59663   fi
59664 else
59665   as_ln_s='cp -p'
59666 fi
59667 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59668 rmdir conf$$.dir 2>/dev/null
59669
59670
59671 # as_fn_mkdir_p
59672 # -------------
59673 # Create "$as_dir" as a directory, including parents if necessary.
59674 as_fn_mkdir_p ()
59675 {
59676
59677   case $as_dir in #(
59678   -*) as_dir=./$as_dir;;
59679   esac
59680   test -d "$as_dir" || eval $as_mkdir_p || {
59681     as_dirs=
59682     while :; do
59683       case $as_dir in #(
59684       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59685       *) as_qdir=$as_dir;;
59686       esac
59687       as_dirs="'$as_qdir' $as_dirs"
59688       as_dir=`$as_dirname -- "$as_dir" ||
59689 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59690          X"$as_dir" : 'X\(//\)[^/]' \| \
59691          X"$as_dir" : 'X\(//\)$' \| \
59692          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59693 $as_echo X"$as_dir" |
59694     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59695             s//\1/
59696             q
59697           }
59698           /^X\(\/\/\)[^/].*/{
59699             s//\1/
59700             q
59701           }
59702           /^X\(\/\/\)$/{
59703             s//\1/
59704             q
59705           }
59706           /^X\(\/\).*/{
59707             s//\1/
59708             q
59709           }
59710           s/.*/./; q'`
59711       test -d "$as_dir" && break
59712     done
59713     test -z "$as_dirs" || eval "mkdir $as_dirs"
59714   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59715
59716
59717 } # as_fn_mkdir_p
59718 if mkdir -p . 2>/dev/null; then
59719   as_mkdir_p='mkdir -p "$as_dir"'
59720 else
59721   test -d ./-p && rmdir ./-p
59722   as_mkdir_p=false
59723 fi
59724
59725 if test -x / >/dev/null 2>&1; then
59726   as_test_x='test -x'
59727 else
59728   if ls -dL / >/dev/null 2>&1; then
59729     as_ls_L_option=L
59730   else
59731     as_ls_L_option=
59732   fi
59733   as_test_x='
59734     eval sh -c '\''
59735       if test -d "$1"; then
59736         test -d "$1/.";
59737       else
59738         case $1 in #(
59739         -*)set "./$1";;
59740         esac;
59741         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59742         ???[sx]*):;;*)false;;esac;fi
59743     '\'' sh
59744   '
59745 fi
59746 as_executable_p=$as_test_x
59747
59748 # Sed expression to map a string onto a valid CPP name.
59749 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59750
59751 # Sed expression to map a string onto a valid variable name.
59752 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59753
59754
59755 exec 6>&1
59756 ## ----------------------------------- ##
59757 ## Main body of $CONFIG_STATUS script. ##
59758 ## ----------------------------------- ##
59759 _ASEOF
59760 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59761
59762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59763 # Save the log message, to keep $0 and so on meaningful, and to
59764 # report actual input values of CONFIG_FILES etc. instead of their
59765 # values after options handling.
59766 ac_log="
59767 This file was extended by package-unused $as_me version-unused, which was
59768 generated by GNU Autoconf 2.64.  Invocation command line was
59769
59770   CONFIG_FILES    = $CONFIG_FILES
59771   CONFIG_HEADERS  = $CONFIG_HEADERS
59772   CONFIG_LINKS    = $CONFIG_LINKS
59773   CONFIG_COMMANDS = $CONFIG_COMMANDS
59774   $ $0 $@
59775
59776 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59777 "
59778
59779 _ACEOF
59780
59781 case $ac_config_files in *"
59782 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59783 esac
59784
59785 case $ac_config_headers in *"
59786 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59787 esac
59788
59789
59790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59791 # Files that config.status was made for.
59792 config_files="$ac_config_files"
59793 config_headers="$ac_config_headers"
59794 config_commands="$ac_config_commands"
59795
59796 _ACEOF
59797
59798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59799 ac_cs_usage="\
59800 \`$as_me' instantiates files and other configuration actions
59801 from templates according to the current configuration.  Unless the files
59802 and actions are specified as TAGs, all are instantiated by default.
59803
59804 Usage: $0 [OPTION]... [TAG]...
59805
59806   -h, --help       print this help, then exit
59807   -V, --version    print version number and configuration settings, then exit
59808   -q, --quiet, --silent
59809                    do not print progress messages
59810   -d, --debug      don't remove temporary files
59811       --recheck    update $as_me by reconfiguring in the same conditions
59812       --file=FILE[:TEMPLATE]
59813                    instantiate the configuration file FILE
59814       --header=FILE[:TEMPLATE]
59815                    instantiate the configuration header FILE
59816
59817 Configuration files:
59818 $config_files
59819
59820 Configuration headers:
59821 $config_headers
59822
59823 Configuration commands:
59824 $config_commands
59825
59826 Report bugs to the package provider."
59827
59828 _ACEOF
59829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59830 ac_cs_version="\\
59831 package-unused config.status version-unused
59832 configured by $0, generated by GNU Autoconf 2.64,
59833   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59834
59835 Copyright (C) 2009 Free Software Foundation, Inc.
59836 This config.status script is free software; the Free Software Foundation
59837 gives unlimited permission to copy, distribute and modify it."
59838
59839 ac_pwd='$ac_pwd'
59840 srcdir='$srcdir'
59841 INSTALL='$INSTALL'
59842 MKDIR_P='$MKDIR_P'
59843 AWK='$AWK'
59844 test -n "\$AWK" || AWK=awk
59845 _ACEOF
59846
59847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59848 # The default lists apply if the user does not specify any file.
59849 ac_need_defaults=:
59850 while test $# != 0
59851 do
59852   case $1 in
59853   --*=*)
59854     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59855     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59856     ac_shift=:
59857     ;;
59858   *)
59859     ac_option=$1
59860     ac_optarg=$2
59861     ac_shift=shift
59862     ;;
59863   esac
59864
59865   case $ac_option in
59866   # Handling of the options.
59867   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59868     ac_cs_recheck=: ;;
59869   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59870     $as_echo "$ac_cs_version"; exit ;;
59871   --debug | --debu | --deb | --de | --d | -d )
59872     debug=: ;;
59873   --file | --fil | --fi | --f )
59874     $ac_shift
59875     case $ac_optarg in
59876     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59877     esac
59878     as_fn_append CONFIG_FILES " '$ac_optarg'"
59879     ac_need_defaults=false;;
59880   --header | --heade | --head | --hea )
59881     $ac_shift
59882     case $ac_optarg in
59883     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59884     esac
59885     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59886     ac_need_defaults=false;;
59887   --he | --h)
59888     # Conflict between --help and --header
59889     as_fn_error "ambiguous option: \`$1'
59890 Try \`$0 --help' for more information.";;
59891   --help | --hel | -h )
59892     $as_echo "$ac_cs_usage"; exit ;;
59893   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59894   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59895     ac_cs_silent=: ;;
59896
59897   # This is an error.
59898   -*) as_fn_error "unrecognized option: \`$1'
59899 Try \`$0 --help' for more information." ;;
59900
59901   *) as_fn_append ac_config_targets " $1"
59902      ac_need_defaults=false ;;
59903
59904   esac
59905   shift
59906 done
59907
59908 ac_configure_extra_args=
59909
59910 if $ac_cs_silent; then
59911   exec 6>/dev/null
59912   ac_configure_extra_args="$ac_configure_extra_args --silent"
59913 fi
59914
59915 _ACEOF
59916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59917 if \$ac_cs_recheck; then
59918   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59919   shift
59920   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59921   CONFIG_SHELL='$SHELL'
59922   export CONFIG_SHELL
59923   exec "\$@"
59924 fi
59925
59926 _ACEOF
59927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59928 exec 5>>config.log
59929 {
59930   echo
59931   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59932 ## Running $as_me. ##
59933 _ASBOX
59934   $as_echo "$ac_log"
59935 } >&5
59936
59937 _ACEOF
59938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59939 #
59940 # INIT-COMMANDS
59941 #
59942
59943 srcdir="$srcdir"
59944 host="$host"
59945 target="$target"
59946 with_multisubdir="$with_multisubdir"
59947 with_multisrctop="$with_multisrctop"
59948 with_target_subdir="$with_target_subdir"
59949 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59950 multi_basedir="$multi_basedir"
59951 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59952 CC="$CC"
59953 CXX="$CXX"
59954 GFORTRAN="$GFORTRAN"
59955 GCJ="$GCJ"
59956
59957
59958 # The HP-UX ksh and POSIX shell print the target directory to stdout
59959 # if CDPATH is set.
59960 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59961
59962 sed_quote_subst='$sed_quote_subst'
59963 double_quote_subst='$double_quote_subst'
59964 delay_variable_subst='$delay_variable_subst'
59965 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59966 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59967 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59968 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59969 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59970 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59971 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59972 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59973 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59974 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59975 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59976 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59977 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59978 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59979 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59980 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59981 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59982 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59983 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59984 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59985 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59986 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59987 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59988 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59989 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59990 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59991 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59992 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59993 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59994 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59995 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59996 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59997 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59998 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59999 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60000 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60001 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60002 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60003 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60004 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60005 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60006 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60007 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60008 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60009 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60010 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60011 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60012 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60013 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"`'
60014 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60015 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60016 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60017 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60018 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60019 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60020 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60021 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60022 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60023 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60024 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60025 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60026 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60027 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60028 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60029 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60030 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60031 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60032 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60033 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60034 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60035 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60036 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60037 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60038 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60039 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60040 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60041 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60042 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60043 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60044 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60045 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60046 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60047 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60048 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60049 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60050 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60051 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60052 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60053 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60054 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60055 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60056 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60057 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60058 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60059 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60060 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60061 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60062 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60063 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60064 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60065 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60066 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60067 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60068 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60069 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60070 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60071 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60072 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60073 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60074 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60075 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60076 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60077 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60078 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60079 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60080 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60081 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60082 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60083 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60084 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60085 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60086 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60087 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60088 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60089 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60090 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60091 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60092 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60093 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60094 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60095 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60096 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60097 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60098 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60099 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60100 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60101 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60102 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60103 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60104 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60105 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60106 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60107 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60108 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60109 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60110 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60111 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60112 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60113 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60114 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60115 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60116 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60117 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60118 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60119 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60120 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60121 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60122 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60123 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60124 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60125 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60126 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60127 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60128 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60129 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60130 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60131 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60132 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60133 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60134 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60135 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60136 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60137 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60138 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60139 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60140
60141 LTCC='$LTCC'
60142 LTCFLAGS='$LTCFLAGS'
60143 compiler='$compiler_DEFAULT'
60144
60145 # A function that is used when there is no print builtin or printf.
60146 func_fallback_echo ()
60147 {
60148   eval 'cat <<_LTECHO_EOF
60149 \$1
60150 _LTECHO_EOF'
60151 }
60152
60153 # Quote evaled strings.
60154 for var in SHELL \
60155 ECHO \
60156 SED \
60157 GREP \
60158 EGREP \
60159 FGREP \
60160 LD \
60161 NM \
60162 LN_S \
60163 lt_SP2NL \
60164 lt_NL2SP \
60165 reload_flag \
60166 OBJDUMP \
60167 deplibs_check_method \
60168 file_magic_cmd \
60169 AR \
60170 AR_FLAGS \
60171 STRIP \
60172 RANLIB \
60173 CC \
60174 CFLAGS \
60175 compiler \
60176 lt_cv_sys_global_symbol_pipe \
60177 lt_cv_sys_global_symbol_to_cdecl \
60178 lt_cv_sys_global_symbol_to_c_name_address \
60179 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60180 lt_prog_compiler_no_builtin_flag \
60181 lt_prog_compiler_wl \
60182 lt_prog_compiler_pic \
60183 lt_prog_compiler_static \
60184 lt_cv_prog_compiler_c_o \
60185 need_locks \
60186 DSYMUTIL \
60187 NMEDIT \
60188 LIPO \
60189 OTOOL \
60190 OTOOL64 \
60191 shrext_cmds \
60192 export_dynamic_flag_spec \
60193 whole_archive_flag_spec \
60194 compiler_needs_object \
60195 with_gnu_ld \
60196 allow_undefined_flag \
60197 no_undefined_flag \
60198 hardcode_libdir_flag_spec \
60199 hardcode_libdir_flag_spec_ld \
60200 hardcode_libdir_separator \
60201 fix_srcfile_path \
60202 exclude_expsyms \
60203 include_expsyms \
60204 file_list_spec \
60205 variables_saved_for_relink \
60206 libname_spec \
60207 library_names_spec \
60208 soname_spec \
60209 install_override_mode \
60210 finish_eval \
60211 old_striplib \
60212 striplib \
60213 compiler_lib_search_dirs \
60214 predep_objects \
60215 postdep_objects \
60216 predeps \
60217 postdeps \
60218 compiler_lib_search_path \
60219 LD_CXX \
60220 reload_flag_CXX \
60221 compiler_CXX \
60222 lt_prog_compiler_no_builtin_flag_CXX \
60223 lt_prog_compiler_wl_CXX \
60224 lt_prog_compiler_pic_CXX \
60225 lt_prog_compiler_static_CXX \
60226 lt_cv_prog_compiler_c_o_CXX \
60227 export_dynamic_flag_spec_CXX \
60228 whole_archive_flag_spec_CXX \
60229 compiler_needs_object_CXX \
60230 with_gnu_ld_CXX \
60231 allow_undefined_flag_CXX \
60232 no_undefined_flag_CXX \
60233 hardcode_libdir_flag_spec_CXX \
60234 hardcode_libdir_flag_spec_ld_CXX \
60235 hardcode_libdir_separator_CXX \
60236 fix_srcfile_path_CXX \
60237 exclude_expsyms_CXX \
60238 include_expsyms_CXX \
60239 file_list_spec_CXX \
60240 compiler_lib_search_dirs_CXX \
60241 predep_objects_CXX \
60242 postdep_objects_CXX \
60243 predeps_CXX \
60244 postdeps_CXX \
60245 compiler_lib_search_path_CXX; do
60246     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60247     *[\\\\\\\`\\"\\\$]*)
60248       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60249       ;;
60250     *)
60251       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60252       ;;
60253     esac
60254 done
60255
60256 # Double-quote double-evaled strings.
60257 for var in reload_cmds \
60258 old_postinstall_cmds \
60259 old_postuninstall_cmds \
60260 old_archive_cmds \
60261 extract_expsyms_cmds \
60262 old_archive_from_new_cmds \
60263 old_archive_from_expsyms_cmds \
60264 archive_cmds \
60265 archive_expsym_cmds \
60266 module_cmds \
60267 module_expsym_cmds \
60268 export_symbols_cmds \
60269 prelink_cmds \
60270 postinstall_cmds \
60271 postuninstall_cmds \
60272 finish_cmds \
60273 sys_lib_search_path_spec \
60274 sys_lib_dlsearch_path_spec \
60275 reload_cmds_CXX \
60276 old_archive_cmds_CXX \
60277 old_archive_from_new_cmds_CXX \
60278 old_archive_from_expsyms_cmds_CXX \
60279 archive_cmds_CXX \
60280 archive_expsym_cmds_CXX \
60281 module_cmds_CXX \
60282 module_expsym_cmds_CXX \
60283 export_symbols_cmds_CXX \
60284 prelink_cmds_CXX; do
60285     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60286     *[\\\\\\\`\\"\\\$]*)
60287       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60288       ;;
60289     *)
60290       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60291       ;;
60292     esac
60293 done
60294
60295 ac_aux_dir='$ac_aux_dir'
60296 xsi_shell='$xsi_shell'
60297 lt_shell_append='$lt_shell_append'
60298
60299 # See if we are running on zsh, and set the options which allow our
60300 # commands through without removal of \ escapes INIT.
60301 if test -n "\${ZSH_VERSION+set}" ; then
60302    setopt NO_GLOB_SUBST
60303 fi
60304
60305
60306     PACKAGE='$PACKAGE'
60307     VERSION='$VERSION'
60308     TIMESTAMP='$TIMESTAMP'
60309     RM='$RM'
60310     ofile='$ofile'
60311
60312
60313
60314
60315
60316
60317 GCC="$GCC"
60318 CC="$CC"
60319 acx_cv_header_stdint="$acx_cv_header_stdint"
60320 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60321 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60322 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60323 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60324 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60325 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60326 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60327 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60328 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60329 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60330 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60331 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60332 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60333
60334
60335 _ACEOF
60336
60337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60338
60339 # Handling of arguments.
60340 for ac_config_target in $ac_config_targets
60341 do
60342   case $ac_config_target in
60343     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60344     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60345     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60346     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60347     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60348     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60349     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60350     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60351     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60352     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60353     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60354     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60355     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60356     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60357
60358   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60359   esac
60360 done
60361
60362
60363 # If the user did not use the arguments to specify the items to instantiate,
60364 # then the envvar interface is used.  Set only those that are not.
60365 # We use the long form for the default assignment because of an extremely
60366 # bizarre bug on SunOS 4.1.3.
60367 if $ac_need_defaults; then
60368   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60369   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60370   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60371 fi
60372
60373 # Have a temporary directory for convenience.  Make it in the build tree
60374 # simply because there is no reason against having it here, and in addition,
60375 # creating and moving files from /tmp can sometimes cause problems.
60376 # Hook for its removal unless debugging.
60377 # Note that there is a small window in which the directory will not be cleaned:
60378 # after its creation but before its name has been assigned to `$tmp'.
60379 $debug ||
60380 {
60381   tmp=
60382   trap 'exit_status=$?
60383   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60384 ' 0
60385   trap 'as_fn_exit 1' 1 2 13 15
60386 }
60387 # Create a (secure) tmp directory for tmp files.
60388
60389 {
60390   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60391   test -n "$tmp" && test -d "$tmp"
60392 }  ||
60393 {
60394   tmp=./conf$$-$RANDOM
60395   (umask 077 && mkdir "$tmp")
60396 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60397
60398 # Set up the scripts for CONFIG_FILES section.
60399 # No need to generate them if there are no CONFIG_FILES.
60400 # This happens for instance with `./config.status config.h'.
60401 if test -n "$CONFIG_FILES"; then
60402
60403
60404 ac_cr=`echo X | tr X '\015'`
60405 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60406 # But we know of no other shell where ac_cr would be empty at this
60407 # point, so we can use a bashism as a fallback.
60408 if test "x$ac_cr" = x; then
60409   eval ac_cr=\$\'\\r\'
60410 fi
60411 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60412 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60413   ac_cs_awk_cr='\r'
60414 else
60415   ac_cs_awk_cr=$ac_cr
60416 fi
60417
60418 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60419 _ACEOF
60420
60421
60422 {
60423   echo "cat >conf$$subs.awk <<_ACEOF" &&
60424   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60425   echo "_ACEOF"
60426 } >conf$$subs.sh ||
60427   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60429 ac_delim='%!_!# '
60430 for ac_last_try in false false false false false :; do
60431   . ./conf$$subs.sh ||
60432     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60433
60434   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60435   if test $ac_delim_n = $ac_delim_num; then
60436     break
60437   elif $ac_last_try; then
60438     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60439   else
60440     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60441   fi
60442 done
60443 rm -f conf$$subs.sh
60444
60445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60446 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60447 _ACEOF
60448 sed -n '
60449 h
60450 s/^/S["/; s/!.*/"]=/
60451 p
60452 g
60453 s/^[^!]*!//
60454 :repl
60455 t repl
60456 s/'"$ac_delim"'$//
60457 t delim
60458 :nl
60459 h
60460 s/\(.\{148\}\).*/\1/
60461 t more1
60462 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60463 p
60464 n
60465 b repl
60466 :more1
60467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60468 p
60469 g
60470 s/.\{148\}//
60471 t nl
60472 :delim
60473 h
60474 s/\(.\{148\}\).*/\1/
60475 t more2
60476 s/["\\]/\\&/g; s/^/"/; s/$/"/
60477 p
60478 b
60479 :more2
60480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60481 p
60482 g
60483 s/.\{148\}//
60484 t delim
60485 ' <conf$$subs.awk | sed '
60486 /^[^""]/{
60487   N
60488   s/\n//
60489 }
60490 ' >>$CONFIG_STATUS || ac_write_fail=1
60491 rm -f conf$$subs.awk
60492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60493 _ACAWK
60494 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60495   for (key in S) S_is_set[key] = 1
60496   FS = "\a"
60497
60498 }
60499 {
60500   line = $ 0
60501   nfields = split(line, field, "@")
60502   substed = 0
60503   len = length(field[1])
60504   for (i = 2; i < nfields; i++) {
60505     key = field[i]
60506     keylen = length(key)
60507     if (S_is_set[key]) {
60508       value = S[key]
60509       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60510       len += length(value) + length(field[++i])
60511       substed = 1
60512     } else
60513       len += 1 + keylen
60514   }
60515
60516   print line
60517 }
60518
60519 _ACAWK
60520 _ACEOF
60521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60522 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60523   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60524 else
60525   cat
60526 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60527   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60528 _ACEOF
60529
60530 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60531 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60532 # trailing colons and then remove the whole line if VPATH becomes empty
60533 # (actually we leave an empty line to preserve line numbers).
60534 if test "x$srcdir" = x.; then
60535   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60536 s/:*\$(srcdir):*/:/
60537 s/:*\${srcdir}:*/:/
60538 s/:*@srcdir@:*/:/
60539 s/^\([^=]*=[     ]*\):*/\1/
60540 s/:*$//
60541 s/^[^=]*=[       ]*$//
60542 }'
60543 fi
60544
60545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60546 fi # test -n "$CONFIG_FILES"
60547
60548 # Set up the scripts for CONFIG_HEADERS section.
60549 # No need to generate them if there are no CONFIG_HEADERS.
60550 # This happens for instance with `./config.status Makefile'.
60551 if test -n "$CONFIG_HEADERS"; then
60552 cat >"$tmp/defines.awk" <<\_ACAWK ||
60553 BEGIN {
60554 _ACEOF
60555
60556 # Transform confdefs.h into an awk script `defines.awk', embedded as
60557 # here-document in config.status, that substitutes the proper values into
60558 # config.h.in to produce config.h.
60559
60560 # Create a delimiter string that does not exist in confdefs.h, to ease
60561 # handling of long lines.
60562 ac_delim='%!_!# '
60563 for ac_last_try in false false :; do
60564   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60565   if test -z "$ac_t"; then
60566     break
60567   elif $ac_last_try; then
60568     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60569   else
60570     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60571   fi
60572 done
60573
60574 # For the awk script, D is an array of macro values keyed by name,
60575 # likewise P contains macro parameters if any.  Preserve backslash
60576 # newline sequences.
60577
60578 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60579 sed -n '
60580 s/.\{148\}/&'"$ac_delim"'/g
60581 t rset
60582 :rset
60583 s/^[     ]*#[    ]*define[       ][      ]*/ /
60584 t def
60585 d
60586 :def
60587 s/\\$//
60588 t bsnl
60589 s/["\\]/\\&/g
60590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60591 D["\1"]=" \3"/p
60592 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60593 d
60594 :bsnl
60595 s/["\\]/\\&/g
60596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60597 D["\1"]=" \3\\\\\\n"\\/p
60598 t cont
60599 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60600 t cont
60601 d
60602 :cont
60603 n
60604 s/.\{148\}/&'"$ac_delim"'/g
60605 t clear
60606 :clear
60607 s/\\$//
60608 t bsnlc
60609 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60610 d
60611 :bsnlc
60612 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60613 b cont
60614 ' <confdefs.h | sed '
60615 s/'"$ac_delim"'/"\\\
60616 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60617
60618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60619   for (key in D) D_is_set[key] = 1
60620   FS = "\a"
60621 }
60622 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60623   line = \$ 0
60624   split(line, arg, " ")
60625   if (arg[1] == "#") {
60626     defundef = arg[2]
60627     mac1 = arg[3]
60628   } else {
60629     defundef = substr(arg[1], 2)
60630     mac1 = arg[2]
60631   }
60632   split(mac1, mac2, "(") #)
60633   macro = mac2[1]
60634   prefix = substr(line, 1, index(line, defundef) - 1)
60635   if (D_is_set[macro]) {
60636     # Preserve the white space surrounding the "#".
60637     print prefix "define", macro P[macro] D[macro]
60638     next
60639   } else {
60640     # Replace #undef with comments.  This is necessary, for example,
60641     # in the case of _POSIX_SOURCE, which is predefined and required
60642     # on some systems where configure will not decide to define it.
60643     if (defundef == "undef") {
60644       print "/*", prefix defundef, macro, "*/"
60645       next
60646     }
60647   }
60648 }
60649 { print }
60650 _ACAWK
60651 _ACEOF
60652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60653   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60654 fi # test -n "$CONFIG_HEADERS"
60655
60656
60657 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60658 shift
60659 for ac_tag
60660 do
60661   case $ac_tag in
60662   :[FHLC]) ac_mode=$ac_tag; continue;;
60663   esac
60664   case $ac_mode$ac_tag in
60665   :[FHL]*:*);;
60666   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60667   :[FH]-) ac_tag=-:-;;
60668   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60669   esac
60670   ac_save_IFS=$IFS
60671   IFS=:
60672   set x $ac_tag
60673   IFS=$ac_save_IFS
60674   shift
60675   ac_file=$1
60676   shift
60677
60678   case $ac_mode in
60679   :L) ac_source=$1;;
60680   :[FH])
60681     ac_file_inputs=
60682     for ac_f
60683     do
60684       case $ac_f in
60685       -) ac_f="$tmp/stdin";;
60686       *) # Look for the file first in the build tree, then in the source tree
60687          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60688          # because $ac_f cannot contain `:'.
60689          test -f "$ac_f" ||
60690            case $ac_f in
60691            [\\/$]*) false;;
60692            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60693            esac ||
60694            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60695       esac
60696       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60697       as_fn_append ac_file_inputs " '$ac_f'"
60698     done
60699
60700     # Let's still pretend it is `configure' which instantiates (i.e., don't
60701     # use $as_me), people would be surprised to read:
60702     #    /* config.h.  Generated by config.status.  */
60703     configure_input='Generated from '`
60704           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60705         `' by configure.'
60706     if test x"$ac_file" != x-; then
60707       configure_input="$ac_file.  $configure_input"
60708       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60709 $as_echo "$as_me: creating $ac_file" >&6;}
60710     fi
60711     # Neutralize special characters interpreted by sed in replacement strings.
60712     case $configure_input in #(
60713     *\&* | *\|* | *\\* )
60714        ac_sed_conf_input=`$as_echo "$configure_input" |
60715        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60716     *) ac_sed_conf_input=$configure_input;;
60717     esac
60718
60719     case $ac_tag in
60720     *:-:* | *:-) cat >"$tmp/stdin" \
60721       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60722     esac
60723     ;;
60724   esac
60725
60726   ac_dir=`$as_dirname -- "$ac_file" ||
60727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60728          X"$ac_file" : 'X\(//\)[^/]' \| \
60729          X"$ac_file" : 'X\(//\)$' \| \
60730          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60731 $as_echo X"$ac_file" |
60732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60733             s//\1/
60734             q
60735           }
60736           /^X\(\/\/\)[^/].*/{
60737             s//\1/
60738             q
60739           }
60740           /^X\(\/\/\)$/{
60741             s//\1/
60742             q
60743           }
60744           /^X\(\/\).*/{
60745             s//\1/
60746             q
60747           }
60748           s/.*/./; q'`
60749   as_dir="$ac_dir"; as_fn_mkdir_p
60750   ac_builddir=.
60751
60752 case "$ac_dir" in
60753 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60754 *)
60755   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60756   # A ".." for each directory in $ac_dir_suffix.
60757   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60758   case $ac_top_builddir_sub in
60759   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60760   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60761   esac ;;
60762 esac
60763 ac_abs_top_builddir=$ac_pwd
60764 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60765 # for backward compatibility:
60766 ac_top_builddir=$ac_top_build_prefix
60767
60768 case $srcdir in
60769   .)  # We are building in place.
60770     ac_srcdir=.
60771     ac_top_srcdir=$ac_top_builddir_sub
60772     ac_abs_top_srcdir=$ac_pwd ;;
60773   [\\/]* | ?:[\\/]* )  # Absolute name.
60774     ac_srcdir=$srcdir$ac_dir_suffix;
60775     ac_top_srcdir=$srcdir
60776     ac_abs_top_srcdir=$srcdir ;;
60777   *) # Relative name.
60778     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60779     ac_top_srcdir=$ac_top_build_prefix$srcdir
60780     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60781 esac
60782 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60783
60784
60785   case $ac_mode in
60786   :F)
60787   #
60788   # CONFIG_FILE
60789   #
60790
60791   case $INSTALL in
60792   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60793   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60794   esac
60795   ac_MKDIR_P=$MKDIR_P
60796   case $MKDIR_P in
60797   [\\/$]* | ?:[\\/]* ) ;;
60798   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60799   esac
60800 _ACEOF
60801
60802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60803 # If the template does not know about datarootdir, expand it.
60804 # FIXME: This hack should be removed a few years after 2.60.
60805 ac_datarootdir_hack=; ac_datarootdir_seen=
60806 ac_sed_dataroot='
60807 /datarootdir/ {
60808   p
60809   q
60810 }
60811 /@datadir@/p
60812 /@docdir@/p
60813 /@infodir@/p
60814 /@localedir@/p
60815 /@mandir@/p'
60816 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60817 *datarootdir*) ac_datarootdir_seen=yes;;
60818 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60819   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60820 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60821 _ACEOF
60822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60823   ac_datarootdir_hack='
60824   s&@datadir@&$datadir&g
60825   s&@docdir@&$docdir&g
60826   s&@infodir@&$infodir&g
60827   s&@localedir@&$localedir&g
60828   s&@mandir@&$mandir&g
60829   s&\\\${datarootdir}&$datarootdir&g' ;;
60830 esac
60831 _ACEOF
60832
60833 # Neutralize VPATH when `$srcdir' = `.'.
60834 # Shell code in configure.ac might set extrasub.
60835 # FIXME: do we really want to maintain this feature?
60836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60837 ac_sed_extra="$ac_vpsub
60838 $extrasub
60839 _ACEOF
60840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60841 :t
60842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60843 s|@configure_input@|$ac_sed_conf_input|;t t
60844 s&@top_builddir@&$ac_top_builddir_sub&;t t
60845 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60846 s&@srcdir@&$ac_srcdir&;t t
60847 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60848 s&@top_srcdir@&$ac_top_srcdir&;t t
60849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60850 s&@builddir@&$ac_builddir&;t t
60851 s&@abs_builddir@&$ac_abs_builddir&;t t
60852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60853 s&@INSTALL@&$ac_INSTALL&;t t
60854 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60855 $ac_datarootdir_hack
60856 "
60857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60858   || as_fn_error "could not create $ac_file" "$LINENO" 5
60859
60860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60861   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60862   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60863   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60864 which seems to be undefined.  Please make sure it is defined." >&5
60865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60866 which seems to be undefined.  Please make sure it is defined." >&2;}
60867
60868   rm -f "$tmp/stdin"
60869   case $ac_file in
60870   -) cat "$tmp/out" && rm -f "$tmp/out";;
60871   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60872   esac \
60873   || as_fn_error "could not create $ac_file" "$LINENO" 5
60874  ;;
60875   :H)
60876   #
60877   # CONFIG_HEADER
60878   #
60879   if test x"$ac_file" != x-; then
60880     {
60881       $as_echo "/* $configure_input  */" \
60882       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60883     } >"$tmp/config.h" \
60884       || as_fn_error "could not create $ac_file" "$LINENO" 5
60885     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60886       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60887 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60888     else
60889       rm -f "$ac_file"
60890       mv "$tmp/config.h" "$ac_file" \
60891         || as_fn_error "could not create $ac_file" "$LINENO" 5
60892     fi
60893   else
60894     $as_echo "/* $configure_input  */" \
60895       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60896       || as_fn_error "could not create -" "$LINENO" 5
60897   fi
60898 # Compute "$ac_file"'s index in $config_headers.
60899 _am_arg="$ac_file"
60900 _am_stamp_count=1
60901 for _am_header in $config_headers :; do
60902   case $_am_header in
60903     $_am_arg | $_am_arg:* )
60904       break ;;
60905     * )
60906       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60907   esac
60908 done
60909 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60910 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60911          X"$_am_arg" : 'X\(//\)[^/]' \| \
60912          X"$_am_arg" : 'X\(//\)$' \| \
60913          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60914 $as_echo X"$_am_arg" |
60915     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60916             s//\1/
60917             q
60918           }
60919           /^X\(\/\/\)[^/].*/{
60920             s//\1/
60921             q
60922           }
60923           /^X\(\/\/\)$/{
60924             s//\1/
60925             q
60926           }
60927           /^X\(\/\).*/{
60928             s//\1/
60929             q
60930           }
60931           s/.*/./; q'`/stamp-h$_am_stamp_count
60932  ;;
60933
60934   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60935 $as_echo "$as_me: executing $ac_file commands" >&6;}
60936  ;;
60937   esac
60938
60939
60940   case $ac_file$ac_mode in
60941     "default-1":C)
60942 # Only add multilib support code if we just rebuilt the top-level
60943 # Makefile.
60944 case " $CONFIG_FILES " in
60945  *" Makefile "*)
60946    ac_file=Makefile . ${multi_basedir}/config-ml.in
60947    ;;
60948 esac ;;
60949     "libtool":C)
60950
60951     # See if we are running on zsh, and set the options which allow our
60952     # commands through without removal of \ escapes.
60953     if test -n "${ZSH_VERSION+set}" ; then
60954       setopt NO_GLOB_SUBST
60955     fi
60956
60957     cfgfile="${ofile}T"
60958     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60959     $RM "$cfgfile"
60960
60961     cat <<_LT_EOF >> "$cfgfile"
60962 #! $SHELL
60963
60964 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60965 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60968 #
60969 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60970 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60971 #   Written by Gordon Matzigkeit, 1996
60972 #
60973 #   This file is part of GNU Libtool.
60974 #
60975 # GNU Libtool is free software; you can redistribute it and/or
60976 # modify it under the terms of the GNU General Public License as
60977 # published by the Free Software Foundation; either version 2 of
60978 # the License, or (at your option) any later version.
60979 #
60980 # As a special exception to the GNU General Public License,
60981 # if you distribute this file as part of a program or library that
60982 # is built using GNU Libtool, you may include this file under the
60983 # same distribution terms that you use for the rest of that program.
60984 #
60985 # GNU Libtool is distributed in the hope that it will be useful,
60986 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60988 # GNU General Public License for more details.
60989 #
60990 # You should have received a copy of the GNU General Public License
60991 # along with GNU Libtool; see the file COPYING.  If not, a copy
60992 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60993 # obtained by writing to the Free Software Foundation, Inc.,
60994 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60995
60996
60997 # The names of the tagged configurations supported by this script.
60998 available_tags="CXX "
60999
61000 # ### BEGIN LIBTOOL CONFIG
61001
61002 # Which release of libtool.m4 was used?
61003 macro_version=$macro_version
61004 macro_revision=$macro_revision
61005
61006 # Whether or not to build shared libraries.
61007 build_libtool_libs=$enable_shared
61008
61009 # Whether or not to build static libraries.
61010 build_old_libs=$enable_static
61011
61012 # What type of objects to build.
61013 pic_mode=$pic_mode
61014
61015 # Whether or not to optimize for fast installation.
61016 fast_install=$enable_fast_install
61017
61018 # Shell to use when invoking shell scripts.
61019 SHELL=$lt_SHELL
61020
61021 # An echo program that protects backslashes.
61022 ECHO=$lt_ECHO
61023
61024 # The host system.
61025 host_alias=$host_alias
61026 host=$host
61027 host_os=$host_os
61028
61029 # The build system.
61030 build_alias=$build_alias
61031 build=$build
61032 build_os=$build_os
61033
61034 # A sed program that does not truncate output.
61035 SED=$lt_SED
61036
61037 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61038 Xsed="\$SED -e 1s/^X//"
61039
61040 # A grep program that handles long lines.
61041 GREP=$lt_GREP
61042
61043 # An ERE matcher.
61044 EGREP=$lt_EGREP
61045
61046 # A literal string matcher.
61047 FGREP=$lt_FGREP
61048
61049 # A BSD- or MS-compatible name lister.
61050 NM=$lt_NM
61051
61052 # Whether we need soft or hard links.
61053 LN_S=$lt_LN_S
61054
61055 # What is the maximum length of a command?
61056 max_cmd_len=$max_cmd_len
61057
61058 # Object file suffix (normally "o").
61059 objext=$ac_objext
61060
61061 # Executable file suffix (normally "").
61062 exeext=$exeext
61063
61064 # whether the shell understands "unset".
61065 lt_unset=$lt_unset
61066
61067 # turn spaces into newlines.
61068 SP2NL=$lt_lt_SP2NL
61069
61070 # turn newlines into spaces.
61071 NL2SP=$lt_lt_NL2SP
61072
61073 # An object symbol dumper.
61074 OBJDUMP=$lt_OBJDUMP
61075
61076 # Method to check whether dependent libraries are shared objects.
61077 deplibs_check_method=$lt_deplibs_check_method
61078
61079 # Command to use when deplibs_check_method == "file_magic".
61080 file_magic_cmd=$lt_file_magic_cmd
61081
61082 # The archiver.
61083 AR=$lt_AR
61084 AR_FLAGS=$lt_AR_FLAGS
61085
61086 # A symbol stripping program.
61087 STRIP=$lt_STRIP
61088
61089 # Commands used to install an old-style archive.
61090 RANLIB=$lt_RANLIB
61091 old_postinstall_cmds=$lt_old_postinstall_cmds
61092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61093
61094 # Whether to use a lock for old archive extraction.
61095 lock_old_archive_extraction=$lock_old_archive_extraction
61096
61097 # A C compiler.
61098 LTCC=$lt_CC
61099
61100 # LTCC compiler flags.
61101 LTCFLAGS=$lt_CFLAGS
61102
61103 # Take the output of nm and produce a listing of raw symbols and C names.
61104 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61105
61106 # Transform the output of nm in a proper C declaration.
61107 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61108
61109 # Transform the output of nm in a C name address pair.
61110 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61111
61112 # Transform the output of nm in a C name address pair when lib prefix is needed.
61113 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61114
61115 # The name of the directory that contains temporary libtool files.
61116 objdir=$objdir
61117
61118 # Used to examine libraries when file_magic_cmd begins with "file".
61119 MAGIC_CMD=$MAGIC_CMD
61120
61121 # Must we lock files when doing compilation?
61122 need_locks=$lt_need_locks
61123
61124 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61125 DSYMUTIL=$lt_DSYMUTIL
61126
61127 # Tool to change global to local symbols on Mac OS X.
61128 NMEDIT=$lt_NMEDIT
61129
61130 # Tool to manipulate fat objects and archives on Mac OS X.
61131 LIPO=$lt_LIPO
61132
61133 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61134 OTOOL=$lt_OTOOL
61135
61136 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61137 OTOOL64=$lt_OTOOL64
61138
61139 # Old archive suffix (normally "a").
61140 libext=$libext
61141
61142 # Shared library suffix (normally ".so").
61143 shrext_cmds=$lt_shrext_cmds
61144
61145 # The commands to extract the exported symbol list from a shared archive.
61146 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61147
61148 # Variables whose values should be saved in libtool wrapper scripts and
61149 # restored at link time.
61150 variables_saved_for_relink=$lt_variables_saved_for_relink
61151
61152 # Do we need the "lib" prefix for modules?
61153 need_lib_prefix=$need_lib_prefix
61154
61155 # Do we need a version for libraries?
61156 need_version=$need_version
61157
61158 # Library versioning type.
61159 version_type=$version_type
61160
61161 # Shared library runtime path variable.
61162 runpath_var=$runpath_var
61163
61164 # Shared library path variable.
61165 shlibpath_var=$shlibpath_var
61166
61167 # Is shlibpath searched before the hard-coded library search path?
61168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61169
61170 # Format of library name prefix.
61171 libname_spec=$lt_libname_spec
61172
61173 # List of archive names.  First name is the real one, the rest are links.
61174 # The last name is the one that the linker finds with -lNAME
61175 library_names_spec=$lt_library_names_spec
61176
61177 # The coded name of the library, if different from the real name.
61178 soname_spec=$lt_soname_spec
61179
61180 # Permission mode override for installation of shared libraries.
61181 install_override_mode=$lt_install_override_mode
61182
61183 # Command to use after installation of a shared archive.
61184 postinstall_cmds=$lt_postinstall_cmds
61185
61186 # Command to use after uninstallation of a shared archive.
61187 postuninstall_cmds=$lt_postuninstall_cmds
61188
61189 # Commands used to finish a libtool library installation in a directory.
61190 finish_cmds=$lt_finish_cmds
61191
61192 # As "finish_cmds", except a single script fragment to be evaled but
61193 # not shown.
61194 finish_eval=$lt_finish_eval
61195
61196 # Whether we should hardcode library paths into libraries.
61197 hardcode_into_libs=$hardcode_into_libs
61198
61199 # Compile-time system search path for libraries.
61200 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61201
61202 # Run-time system search path for libraries.
61203 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61204
61205 # Whether dlopen is supported.
61206 dlopen_support=$enable_dlopen
61207
61208 # Whether dlopen of programs is supported.
61209 dlopen_self=$enable_dlopen_self
61210
61211 # Whether dlopen of statically linked programs is supported.
61212 dlopen_self_static=$enable_dlopen_self_static
61213
61214 # Commands to strip libraries.
61215 old_striplib=$lt_old_striplib
61216 striplib=$lt_striplib
61217
61218
61219 # The linker used to build libraries.
61220 LD=$lt_LD
61221
61222 # How to create reloadable object files.
61223 reload_flag=$lt_reload_flag
61224 reload_cmds=$lt_reload_cmds
61225
61226 # Commands used to build an old-style archive.
61227 old_archive_cmds=$lt_old_archive_cmds
61228
61229 # A language specific compiler.
61230 CC=$lt_compiler
61231
61232 # Is the compiler the GNU compiler?
61233 with_gcc=$GCC
61234
61235 # Compiler flag to turn off builtin functions.
61236 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61237
61238 # How to pass a linker flag through the compiler.
61239 wl=$lt_lt_prog_compiler_wl
61240
61241 # Additional compiler flags for building library objects.
61242 pic_flag=$lt_lt_prog_compiler_pic
61243
61244 # Compiler flag to prevent dynamic linking.
61245 link_static_flag=$lt_lt_prog_compiler_static
61246
61247 # Does compiler simultaneously support -c and -o options?
61248 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61249
61250 # Whether or not to add -lc for building shared libraries.
61251 build_libtool_need_lc=$archive_cmds_need_lc
61252
61253 # Whether or not to disallow shared libs when runtime libs are static.
61254 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61255
61256 # Compiler flag to allow reflexive dlopens.
61257 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61258
61259 # Compiler flag to generate shared objects directly from archives.
61260 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61261
61262 # Whether the compiler copes with passing no objects directly.
61263 compiler_needs_object=$lt_compiler_needs_object
61264
61265 # Create an old-style archive from a shared archive.
61266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61267
61268 # Create a temporary old-style archive to link instead of a shared archive.
61269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61270
61271 # Commands used to build a shared archive.
61272 archive_cmds=$lt_archive_cmds
61273 archive_expsym_cmds=$lt_archive_expsym_cmds
61274
61275 # Commands used to build a loadable module if different from building
61276 # a shared archive.
61277 module_cmds=$lt_module_cmds
61278 module_expsym_cmds=$lt_module_expsym_cmds
61279
61280 # Whether we are building with GNU ld or not.
61281 with_gnu_ld=$lt_with_gnu_ld
61282
61283 # Flag that allows shared libraries with undefined symbols to be built.
61284 allow_undefined_flag=$lt_allow_undefined_flag
61285
61286 # Flag that enforces no undefined symbols.
61287 no_undefined_flag=$lt_no_undefined_flag
61288
61289 # Flag to hardcode \$libdir into a binary during linking.
61290 # This must work even if \$libdir does not exist
61291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61292
61293 # If ld is used when linking, flag to hardcode \$libdir into a binary
61294 # during linking.  This must work even if \$libdir does not exist.
61295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61296
61297 # Whether we need a single "-rpath" flag with a separated argument.
61298 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61299
61300 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61301 # DIR into the resulting binary.
61302 hardcode_direct=$hardcode_direct
61303
61304 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61305 # DIR into the resulting binary and the resulting library dependency is
61306 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61307 # library is relocated.
61308 hardcode_direct_absolute=$hardcode_direct_absolute
61309
61310 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61311 # into the resulting binary.
61312 hardcode_minus_L=$hardcode_minus_L
61313
61314 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61315 # into the resulting binary.
61316 hardcode_shlibpath_var=$hardcode_shlibpath_var
61317
61318 # Set to "yes" if building a shared library automatically hardcodes DIR
61319 # into the library and all subsequent libraries and executables linked
61320 # against it.
61321 hardcode_automatic=$hardcode_automatic
61322
61323 # Set to yes if linker adds runtime paths of dependent libraries
61324 # to runtime path list.
61325 inherit_rpath=$inherit_rpath
61326
61327 # Whether libtool must link a program against all its dependency libraries.
61328 link_all_deplibs=$link_all_deplibs
61329
61330 # Fix the shell variable \$srcfile for the compiler.
61331 fix_srcfile_path=$lt_fix_srcfile_path
61332
61333 # Set to "yes" if exported symbols are required.
61334 always_export_symbols=$always_export_symbols
61335
61336 # The commands to list exported symbols.
61337 export_symbols_cmds=$lt_export_symbols_cmds
61338
61339 # Symbols that should not be listed in the preloaded symbols.
61340 exclude_expsyms=$lt_exclude_expsyms
61341
61342 # Symbols that must always be exported.
61343 include_expsyms=$lt_include_expsyms
61344
61345 # Commands necessary for linking programs (against libraries) with templates.
61346 prelink_cmds=$lt_prelink_cmds
61347
61348 # Specify filename containing input files.
61349 file_list_spec=$lt_file_list_spec
61350
61351 # How to hardcode a shared library path into an executable.
61352 hardcode_action=$hardcode_action
61353
61354 # The directories searched by this compiler when creating a shared library.
61355 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61356
61357 # Dependencies to place before and after the objects being linked to
61358 # create a shared library.
61359 predep_objects=$lt_predep_objects
61360 postdep_objects=$lt_postdep_objects
61361 predeps=$lt_predeps
61362 postdeps=$lt_postdeps
61363
61364 # The library search path used internally by the compiler when linking
61365 # a shared library.
61366 compiler_lib_search_path=$lt_compiler_lib_search_path
61367
61368 # ### END LIBTOOL CONFIG
61369
61370 _LT_EOF
61371
61372   case $host_os in
61373   aix3*)
61374     cat <<\_LT_EOF >> "$cfgfile"
61375 # AIX sometimes has problems with the GCC collect2 program.  For some
61376 # reason, if we set the COLLECT_NAMES environment variable, the problems
61377 # vanish in a puff of smoke.
61378 if test "X${COLLECT_NAMES+set}" != Xset; then
61379   COLLECT_NAMES=
61380   export COLLECT_NAMES
61381 fi
61382 _LT_EOF
61383     ;;
61384   esac
61385
61386
61387 ltmain="$ac_aux_dir/ltmain.sh"
61388
61389
61390   # We use sed instead of cat because bash on DJGPP gets confused if
61391   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61392   # text mode, it properly converts lines to CR/LF.  This bash problem
61393   # is reportedly fixed, but why not run on old versions too?
61394   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61395     || (rm -f "$cfgfile"; exit 1)
61396
61397   case $xsi_shell in
61398   yes)
61399     cat << \_LT_EOF >> "$cfgfile"
61400
61401 # func_dirname file append nondir_replacement
61402 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61403 # otherwise set result to NONDIR_REPLACEMENT.
61404 func_dirname ()
61405 {
61406   case ${1} in
61407     */*) func_dirname_result="${1%/*}${2}" ;;
61408     *  ) func_dirname_result="${3}" ;;
61409   esac
61410 }
61411
61412 # func_basename file
61413 func_basename ()
61414 {
61415   func_basename_result="${1##*/}"
61416 }
61417
61418 # func_dirname_and_basename file append nondir_replacement
61419 # perform func_basename and func_dirname in a single function
61420 # call:
61421 #   dirname:  Compute the dirname of FILE.  If nonempty,
61422 #             add APPEND to the result, otherwise set result
61423 #             to NONDIR_REPLACEMENT.
61424 #             value returned in "$func_dirname_result"
61425 #   basename: Compute filename of FILE.
61426 #             value retuned in "$func_basename_result"
61427 # Implementation must be kept synchronized with func_dirname
61428 # and func_basename. For efficiency, we do not delegate to
61429 # those functions but instead duplicate the functionality here.
61430 func_dirname_and_basename ()
61431 {
61432   case ${1} in
61433     */*) func_dirname_result="${1%/*}${2}" ;;
61434     *  ) func_dirname_result="${3}" ;;
61435   esac
61436   func_basename_result="${1##*/}"
61437 }
61438
61439 # func_stripname prefix suffix name
61440 # strip PREFIX and SUFFIX off of NAME.
61441 # PREFIX and SUFFIX must not contain globbing or regex special
61442 # characters, hashes, percent signs, but SUFFIX may contain a leading
61443 # dot (in which case that matches only a dot).
61444 func_stripname ()
61445 {
61446   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61447   # positional parameters, so assign one to ordinary parameter first.
61448   func_stripname_result=${3}
61449   func_stripname_result=${func_stripname_result#"${1}"}
61450   func_stripname_result=${func_stripname_result%"${2}"}
61451 }
61452
61453 # func_opt_split
61454 func_opt_split ()
61455 {
61456   func_opt_split_opt=${1%%=*}
61457   func_opt_split_arg=${1#*=}
61458 }
61459
61460 # func_lo2o object
61461 func_lo2o ()
61462 {
61463   case ${1} in
61464     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61465     *)    func_lo2o_result=${1} ;;
61466   esac
61467 }
61468
61469 # func_xform libobj-or-source
61470 func_xform ()
61471 {
61472   func_xform_result=${1%.*}.lo
61473 }
61474
61475 # func_arith arithmetic-term...
61476 func_arith ()
61477 {
61478   func_arith_result=$(( $* ))
61479 }
61480
61481 # func_len string
61482 # STRING may not start with a hyphen.
61483 func_len ()
61484 {
61485   func_len_result=${#1}
61486 }
61487
61488 _LT_EOF
61489     ;;
61490   *) # Bourne compatible functions.
61491     cat << \_LT_EOF >> "$cfgfile"
61492
61493 # func_dirname file append nondir_replacement
61494 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61495 # otherwise set result to NONDIR_REPLACEMENT.
61496 func_dirname ()
61497 {
61498   # Extract subdirectory from the argument.
61499   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61500   if test "X$func_dirname_result" = "X${1}"; then
61501     func_dirname_result="${3}"
61502   else
61503     func_dirname_result="$func_dirname_result${2}"
61504   fi
61505 }
61506
61507 # func_basename file
61508 func_basename ()
61509 {
61510   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61511 }
61512
61513
61514 # func_stripname prefix suffix name
61515 # strip PREFIX and SUFFIX off of NAME.
61516 # PREFIX and SUFFIX must not contain globbing or regex special
61517 # characters, hashes, percent signs, but SUFFIX may contain a leading
61518 # dot (in which case that matches only a dot).
61519 # func_strip_suffix prefix name
61520 func_stripname ()
61521 {
61522   case ${2} in
61523     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61524     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61525   esac
61526 }
61527
61528 # sed scripts:
61529 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61530 my_sed_long_arg='1s/^-[^=]*=//'
61531
61532 # func_opt_split
61533 func_opt_split ()
61534 {
61535   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61536   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61537 }
61538
61539 # func_lo2o object
61540 func_lo2o ()
61541 {
61542   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61543 }
61544
61545 # func_xform libobj-or-source
61546 func_xform ()
61547 {
61548   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61549 }
61550
61551 # func_arith arithmetic-term...
61552 func_arith ()
61553 {
61554   func_arith_result=`expr "$@"`
61555 }
61556
61557 # func_len string
61558 # STRING may not start with a hyphen.
61559 func_len ()
61560 {
61561   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61562 }
61563
61564 _LT_EOF
61565 esac
61566
61567 case $lt_shell_append in
61568   yes)
61569     cat << \_LT_EOF >> "$cfgfile"
61570
61571 # func_append var value
61572 # Append VALUE to the end of shell variable VAR.
61573 func_append ()
61574 {
61575   eval "$1+=\$2"
61576 }
61577 _LT_EOF
61578     ;;
61579   *)
61580     cat << \_LT_EOF >> "$cfgfile"
61581
61582 # func_append var value
61583 # Append VALUE to the end of shell variable VAR.
61584 func_append ()
61585 {
61586   eval "$1=\$$1\$2"
61587 }
61588
61589 _LT_EOF
61590     ;;
61591   esac
61592
61593
61594   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61595     || (rm -f "$cfgfile"; exit 1)
61596
61597   mv -f "$cfgfile" "$ofile" ||
61598     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61599   chmod +x "$ofile"
61600
61601
61602     cat <<_LT_EOF >> "$ofile"
61603
61604 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61605
61606 # The linker used to build libraries.
61607 LD=$lt_LD_CXX
61608
61609 # How to create reloadable object files.
61610 reload_flag=$lt_reload_flag_CXX
61611 reload_cmds=$lt_reload_cmds_CXX
61612
61613 # Commands used to build an old-style archive.
61614 old_archive_cmds=$lt_old_archive_cmds_CXX
61615
61616 # A language specific compiler.
61617 CC=$lt_compiler_CXX
61618
61619 # Is the compiler the GNU compiler?
61620 with_gcc=$GCC_CXX
61621
61622 # Compiler flag to turn off builtin functions.
61623 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61624
61625 # How to pass a linker flag through the compiler.
61626 wl=$lt_lt_prog_compiler_wl_CXX
61627
61628 # Additional compiler flags for building library objects.
61629 pic_flag=$lt_lt_prog_compiler_pic_CXX
61630
61631 # Compiler flag to prevent dynamic linking.
61632 link_static_flag=$lt_lt_prog_compiler_static_CXX
61633
61634 # Does compiler simultaneously support -c and -o options?
61635 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61636
61637 # Whether or not to add -lc for building shared libraries.
61638 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61639
61640 # Whether or not to disallow shared libs when runtime libs are static.
61641 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61642
61643 # Compiler flag to allow reflexive dlopens.
61644 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61645
61646 # Compiler flag to generate shared objects directly from archives.
61647 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61648
61649 # Whether the compiler copes with passing no objects directly.
61650 compiler_needs_object=$lt_compiler_needs_object_CXX
61651
61652 # Create an old-style archive from a shared archive.
61653 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61654
61655 # Create a temporary old-style archive to link instead of a shared archive.
61656 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61657
61658 # Commands used to build a shared archive.
61659 archive_cmds=$lt_archive_cmds_CXX
61660 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61661
61662 # Commands used to build a loadable module if different from building
61663 # a shared archive.
61664 module_cmds=$lt_module_cmds_CXX
61665 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61666
61667 # Whether we are building with GNU ld or not.
61668 with_gnu_ld=$lt_with_gnu_ld_CXX
61669
61670 # Flag that allows shared libraries with undefined symbols to be built.
61671 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61672
61673 # Flag that enforces no undefined symbols.
61674 no_undefined_flag=$lt_no_undefined_flag_CXX
61675
61676 # Flag to hardcode \$libdir into a binary during linking.
61677 # This must work even if \$libdir does not exist
61678 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61679
61680 # If ld is used when linking, flag to hardcode \$libdir into a binary
61681 # during linking.  This must work even if \$libdir does not exist.
61682 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61683
61684 # Whether we need a single "-rpath" flag with a separated argument.
61685 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61686
61687 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61688 # DIR into the resulting binary.
61689 hardcode_direct=$hardcode_direct_CXX
61690
61691 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61692 # DIR into the resulting binary and the resulting library dependency is
61693 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61694 # library is relocated.
61695 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61696
61697 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61698 # into the resulting binary.
61699 hardcode_minus_L=$hardcode_minus_L_CXX
61700
61701 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61702 # into the resulting binary.
61703 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61704
61705 # Set to "yes" if building a shared library automatically hardcodes DIR
61706 # into the library and all subsequent libraries and executables linked
61707 # against it.
61708 hardcode_automatic=$hardcode_automatic_CXX
61709
61710 # Set to yes if linker adds runtime paths of dependent libraries
61711 # to runtime path list.
61712 inherit_rpath=$inherit_rpath_CXX
61713
61714 # Whether libtool must link a program against all its dependency libraries.
61715 link_all_deplibs=$link_all_deplibs_CXX
61716
61717 # Fix the shell variable \$srcfile for the compiler.
61718 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61719
61720 # Set to "yes" if exported symbols are required.
61721 always_export_symbols=$always_export_symbols_CXX
61722
61723 # The commands to list exported symbols.
61724 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61725
61726 # Symbols that should not be listed in the preloaded symbols.
61727 exclude_expsyms=$lt_exclude_expsyms_CXX
61728
61729 # Symbols that must always be exported.
61730 include_expsyms=$lt_include_expsyms_CXX
61731
61732 # Commands necessary for linking programs (against libraries) with templates.
61733 prelink_cmds=$lt_prelink_cmds_CXX
61734
61735 # Specify filename containing input files.
61736 file_list_spec=$lt_file_list_spec_CXX
61737
61738 # How to hardcode a shared library path into an executable.
61739 hardcode_action=$hardcode_action_CXX
61740
61741 # The directories searched by this compiler when creating a shared library.
61742 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61743
61744 # Dependencies to place before and after the objects being linked to
61745 # create a shared library.
61746 predep_objects=$lt_predep_objects_CXX
61747 postdep_objects=$lt_postdep_objects_CXX
61748 predeps=$lt_predeps_CXX
61749 postdeps=$lt_postdeps_CXX
61750
61751 # The library search path used internally by the compiler when linking
61752 # a shared library.
61753 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61754
61755 # ### END LIBTOOL TAG CONFIG: CXX
61756 _LT_EOF
61757
61758  ;;
61759     "include/gstdint.h":C)
61760 if test "$GCC" = yes; then
61761   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61762 else
61763   echo "/* generated for $CC */" > tmp-stdint.h
61764 fi
61765
61766 sed 's/^ *//' >> tmp-stdint.h <<EOF
61767
61768   #ifndef GCC_GENERATED_STDINT_H
61769   #define GCC_GENERATED_STDINT_H 1
61770
61771   #include <sys/types.h>
61772 EOF
61773
61774 if test "$acx_cv_header_stdint" != stdint.h; then
61775   echo "#include <stddef.h>" >> tmp-stdint.h
61776 fi
61777 if test "$acx_cv_header_stdint" != stddef.h; then
61778   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61779 fi
61780
61781 sed 's/^ *//' >> tmp-stdint.h <<EOF
61782   /* glibc uses these symbols as guards to prevent redefinitions.  */
61783   #ifdef __int8_t_defined
61784   #define _INT8_T
61785   #define _INT16_T
61786   #define _INT32_T
61787   #endif
61788   #ifdef __uint32_t_defined
61789   #define _UINT32_T
61790   #endif
61791
61792 EOF
61793
61794 # ----------------- done header, emit basic int types -------------
61795 if test "$acx_cv_header_stdint" = stddef.h; then
61796   sed 's/^ *//' >> tmp-stdint.h <<EOF
61797
61798     #ifndef _UINT8_T
61799     #define _UINT8_T
61800     #ifndef __uint8_t_defined
61801     #define __uint8_t_defined
61802     #ifndef uint8_t
61803     typedef unsigned $acx_cv_type_int8_t uint8_t;
61804     #endif
61805     #endif
61806     #endif
61807
61808     #ifndef _UINT16_T
61809     #define _UINT16_T
61810     #ifndef __uint16_t_defined
61811     #define __uint16_t_defined
61812     #ifndef uint16_t
61813     typedef unsigned $acx_cv_type_int16_t uint16_t;
61814     #endif
61815     #endif
61816     #endif
61817
61818     #ifndef _UINT32_T
61819     #define _UINT32_T
61820     #ifndef __uint32_t_defined
61821     #define __uint32_t_defined
61822     #ifndef uint32_t
61823     typedef unsigned $acx_cv_type_int32_t uint32_t;
61824     #endif
61825     #endif
61826     #endif
61827
61828     #ifndef _INT8_T
61829     #define _INT8_T
61830     #ifndef __int8_t_defined
61831     #define __int8_t_defined
61832     #ifndef int8_t
61833     typedef $acx_cv_type_int8_t int8_t;
61834     #endif
61835     #endif
61836     #endif
61837
61838     #ifndef _INT16_T
61839     #define _INT16_T
61840     #ifndef __int16_t_defined
61841     #define __int16_t_defined
61842     #ifndef int16_t
61843     typedef $acx_cv_type_int16_t int16_t;
61844     #endif
61845     #endif
61846     #endif
61847
61848     #ifndef _INT32_T
61849     #define _INT32_T
61850     #ifndef __int32_t_defined
61851     #define __int32_t_defined
61852     #ifndef int32_t
61853     typedef $acx_cv_type_int32_t int32_t;
61854     #endif
61855     #endif
61856     #endif
61857 EOF
61858 elif test "$ac_cv_type_u_int32_t" = yes; then
61859   sed 's/^ *//' >> tmp-stdint.h <<EOF
61860
61861     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61862     #ifndef _INT8_T
61863     #define _INT8_T
61864     #endif
61865     #ifndef _INT16_T
61866     #define _INT16_T
61867     #endif
61868     #ifndef _INT32_T
61869     #define _INT32_T
61870     #endif
61871
61872     #ifndef _UINT8_T
61873     #define _UINT8_T
61874     #ifndef __uint8_t_defined
61875     #define __uint8_t_defined
61876     #ifndef uint8_t
61877     typedef u_int8_t uint8_t;
61878     #endif
61879     #endif
61880     #endif
61881
61882     #ifndef _UINT16_T
61883     #define _UINT16_T
61884     #ifndef __uint16_t_defined
61885     #define __uint16_t_defined
61886     #ifndef uint16_t
61887     typedef u_int16_t uint16_t;
61888     #endif
61889     #endif
61890     #endif
61891
61892     #ifndef _UINT32_T
61893     #define _UINT32_T
61894     #ifndef __uint32_t_defined
61895     #define __uint32_t_defined
61896     #ifndef uint32_t
61897     typedef u_int32_t uint32_t;
61898     #endif
61899     #endif
61900     #endif
61901 EOF
61902 else
61903   sed 's/^ *//' >> tmp-stdint.h <<EOF
61904
61905     /* Some systems have guard macros to prevent redefinitions, define them.  */
61906     #ifndef _INT8_T
61907     #define _INT8_T
61908     #endif
61909     #ifndef _INT16_T
61910     #define _INT16_T
61911     #endif
61912     #ifndef _INT32_T
61913     #define _INT32_T
61914     #endif
61915     #ifndef _UINT8_T
61916     #define _UINT8_T
61917     #endif
61918     #ifndef _UINT16_T
61919     #define _UINT16_T
61920     #endif
61921     #ifndef _UINT32_T
61922     #define _UINT32_T
61923     #endif
61924 EOF
61925 fi
61926
61927 # ------------- done basic int types, emit int64_t types ------------
61928 if test "$ac_cv_type_uint64_t" = yes; then
61929   sed 's/^ *//' >> tmp-stdint.h <<EOF
61930
61931     /* system headers have good uint64_t and int64_t */
61932     #ifndef _INT64_T
61933     #define _INT64_T
61934     #endif
61935     #ifndef _UINT64_T
61936     #define _UINT64_T
61937     #endif
61938 EOF
61939 elif test "$ac_cv_type_u_int64_t" = yes; then
61940   sed 's/^ *//' >> tmp-stdint.h <<EOF
61941
61942     /* system headers have an u_int64_t (and int64_t) */
61943     #ifndef _INT64_T
61944     #define _INT64_T
61945     #endif
61946     #ifndef _UINT64_T
61947     #define _UINT64_T
61948     #ifndef __uint64_t_defined
61949     #define __uint64_t_defined
61950     #ifndef uint64_t
61951     typedef u_int64_t uint64_t;
61952     #endif
61953     #endif
61954     #endif
61955 EOF
61956 elif test -n "$acx_cv_type_int64_t"; then
61957   sed 's/^ *//' >> tmp-stdint.h <<EOF
61958
61959     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61960     #ifndef _INT64_T
61961     #define _INT64_T
61962     #ifndef int64_t
61963     typedef $acx_cv_type_int64_t int64_t;
61964     #endif
61965     #endif
61966     #ifndef _UINT64_T
61967     #define _UINT64_T
61968     #ifndef __uint64_t_defined
61969     #define __uint64_t_defined
61970     #ifndef uint64_t
61971     typedef unsigned $acx_cv_type_int64_t uint64_t;
61972     #endif
61973     #endif
61974     #endif
61975 EOF
61976 else
61977   sed 's/^ *//' >> tmp-stdint.h <<EOF
61978
61979     /* some common heuristics for int64_t, using compiler-specific tests */
61980     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61981     #ifndef _INT64_T
61982     #define _INT64_T
61983     #ifndef __int64_t_defined
61984     #ifndef int64_t
61985     typedef long long int64_t;
61986     #endif
61987     #endif
61988     #endif
61989     #ifndef _UINT64_T
61990     #define _UINT64_T
61991     #ifndef uint64_t
61992     typedef unsigned long long uint64_t;
61993     #endif
61994     #endif
61995
61996     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61997     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61998        does not implement __extension__.  But that compiler doesn't define
61999        __GNUC_MINOR__.  */
62000     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62001     # define __extension__
62002     # endif
62003
62004     # ifndef _INT64_T
62005     # define _INT64_T
62006     # ifndef int64_t
62007     __extension__ typedef long long int64_t;
62008     # endif
62009     # endif
62010     # ifndef _UINT64_T
62011     # define _UINT64_T
62012     # ifndef uint64_t
62013     __extension__ typedef unsigned long long uint64_t;
62014     # endif
62015     # endif
62016
62017     #elif !defined __STRICT_ANSI__
62018     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62019
62020     #  ifndef _INT64_T
62021     #  define _INT64_T
62022     #  ifndef int64_t
62023     typedef __int64 int64_t;
62024     #  endif
62025     #  endif
62026     #  ifndef _UINT64_T
62027     #  define _UINT64_T
62028     #  ifndef uint64_t
62029     typedef unsigned __int64 uint64_t;
62030     #  endif
62031     #  endif
62032     # endif /* compiler */
62033
62034     #endif /* ANSI version */
62035 EOF
62036 fi
62037
62038 # ------------- done int64_t types, emit intptr types ------------
62039 if test "$ac_cv_type_uintptr_t" != yes; then
62040   sed 's/^ *//' >> tmp-stdint.h <<EOF
62041
62042     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62043     #ifndef __uintptr_t_defined
62044     #ifndef uintptr_t
62045     typedef u$acx_cv_type_intptr_t uintptr_t;
62046     #endif
62047     #endif
62048     #ifndef __intptr_t_defined
62049     #ifndef intptr_t
62050     typedef $acx_cv_type_intptr_t  intptr_t;
62051     #endif
62052     #endif
62053 EOF
62054 fi
62055
62056 # ------------- done intptr types, emit int_least types ------------
62057 if test "$ac_cv_type_int_least32_t" != yes; then
62058   sed 's/^ *//' >> tmp-stdint.h <<EOF
62059
62060     /* Define int_least types */
62061     typedef int8_t     int_least8_t;
62062     typedef int16_t    int_least16_t;
62063     typedef int32_t    int_least32_t;
62064     #ifdef _INT64_T
62065     typedef int64_t    int_least64_t;
62066     #endif
62067
62068     typedef uint8_t    uint_least8_t;
62069     typedef uint16_t   uint_least16_t;
62070     typedef uint32_t   uint_least32_t;
62071     #ifdef _UINT64_T
62072     typedef uint64_t   uint_least64_t;
62073     #endif
62074 EOF
62075 fi
62076
62077 # ------------- done intptr types, emit int_fast types ------------
62078 if test "$ac_cv_type_int_fast32_t" != yes; then
62079       sed 's/^ *//' >> tmp-stdint.h <<EOF
62080
62081     /* Define int_fast types.  short is often slow */
62082     typedef int8_t       int_fast8_t;
62083     typedef int          int_fast16_t;
62084     typedef int32_t      int_fast32_t;
62085     #ifdef _INT64_T
62086     typedef int64_t      int_fast64_t;
62087     #endif
62088
62089     typedef uint8_t      uint_fast8_t;
62090     typedef unsigned int uint_fast16_t;
62091     typedef uint32_t     uint_fast32_t;
62092     #ifdef _UINT64_T
62093     typedef uint64_t     uint_fast64_t;
62094     #endif
62095 EOF
62096 fi
62097
62098 if test "$ac_cv_type_uintmax_t" != yes; then
62099   sed 's/^ *//' >> tmp-stdint.h <<EOF
62100
62101     /* Define intmax based on what we found */
62102     #ifndef intmax_t
62103     #ifdef _INT64_T
62104     typedef int64_t       intmax_t;
62105     #else
62106     typedef long          intmax_t;
62107     #endif
62108     #endif
62109     #ifndef uintmax_t
62110     #ifdef _UINT64_T
62111     typedef uint64_t      uintmax_t;
62112     #else
62113     typedef unsigned long uintmax_t;
62114     #endif
62115     #endif
62116 EOF
62117 fi
62118
62119 sed 's/^ *//' >> tmp-stdint.h <<EOF
62120
62121   #endif /* GCC_GENERATED_STDINT_H */
62122 EOF
62123
62124 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62125   rm -f tmp-stdint.h
62126 else
62127   mv -f tmp-stdint.h include/gstdint.h
62128 fi
62129
62130  ;;
62131     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62132     "include/Makefile":F) cat > vpsed$$ << \_EOF
62133 s!`test -f '$<' || echo '$(srcdir)/'`!!
62134 _EOF
62135    sed -f vpsed$$ $ac_file > tmp$$
62136    mv tmp$$ $ac_file
62137    rm vpsed$$
62138    echo 'MULTISUBDIR =' >> $ac_file
62139    ml_norecursion=yes
62140    . ${multi_basedir}/config-ml.in
62141    { ml_norecursion=; unset ml_norecursion;}
62142  ;;
62143     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62144 s!`test -f '$<' || echo '$(srcdir)/'`!!
62145 _EOF
62146    sed -f vpsed$$ $ac_file > tmp$$
62147    mv tmp$$ $ac_file
62148    rm vpsed$$
62149    echo 'MULTISUBDIR =' >> $ac_file
62150    ml_norecursion=yes
62151    . ${multi_basedir}/config-ml.in
62152    { ml_norecursion=; unset ml_norecursion;}
62153  ;;
62154     "python/Makefile":F) cat > vpsed$$ << \_EOF
62155 s!`test -f '$<' || echo '$(srcdir)/'`!!
62156 _EOF
62157    sed -f vpsed$$ $ac_file > tmp$$
62158    mv tmp$$ $ac_file
62159    rm vpsed$$
62160    echo 'MULTISUBDIR =' >> $ac_file
62161    ml_norecursion=yes
62162    . ${multi_basedir}/config-ml.in
62163    { ml_norecursion=; unset ml_norecursion;}
62164  ;;
62165     "src/Makefile":F) cat > vpsed$$ << \_EOF
62166 s!`test -f '$<' || echo '$(srcdir)/'`!!
62167 _EOF
62168    sed -f vpsed$$ $ac_file > tmp$$
62169    mv tmp$$ $ac_file
62170    rm vpsed$$
62171    echo 'MULTISUBDIR =' >> $ac_file
62172    ml_norecursion=yes
62173    . ${multi_basedir}/config-ml.in
62174    { ml_norecursion=; unset ml_norecursion;}
62175  ;;
62176     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62177 s!`test -f '$<' || echo '$(srcdir)/'`!!
62178 _EOF
62179    sed -f vpsed$$ $ac_file > tmp$$
62180    mv tmp$$ $ac_file
62181    rm vpsed$$
62182    echo 'MULTISUBDIR =' >> $ac_file
62183    ml_norecursion=yes
62184    . ${multi_basedir}/config-ml.in
62185    { ml_norecursion=; unset ml_norecursion;}
62186  ;;
62187     "po/Makefile":F) cat > vpsed$$ << \_EOF
62188 s!`test -f '$<' || echo '$(srcdir)/'`!!
62189 _EOF
62190    sed -f vpsed$$ $ac_file > tmp$$
62191    mv tmp$$ $ac_file
62192    rm vpsed$$
62193    echo 'MULTISUBDIR =' >> $ac_file
62194    ml_norecursion=yes
62195    . ${multi_basedir}/config-ml.in
62196    { ml_norecursion=; unset ml_norecursion;}
62197  ;;
62198     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62199 s!`test -f '$<' || echo '$(srcdir)/'`!!
62200 _EOF
62201    sed -f vpsed$$ $ac_file > tmp$$
62202    mv tmp$$ $ac_file
62203    rm vpsed$$
62204    echo 'MULTISUBDIR =' >> $ac_file
62205    ml_norecursion=yes
62206    . ${multi_basedir}/config-ml.in
62207    { ml_norecursion=; unset ml_norecursion;}
62208  ;;
62209     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62210
62211   esac
62212 done # for ac_tag
62213
62214
62215 as_fn_exit 0
62216 _ACEOF
62217 ac_clean_files=$ac_clean_files_save
62218
62219 test $ac_write_fail = 0 ||
62220   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62221
62222
62223 # configure is writing to config.log, and then calls config.status.
62224 # config.status does its own redirection, appending to config.log.
62225 # Unfortunately, on DOS this fails, as config.log is still kept open
62226 # by configure, so config.status won't be able to write to it; its
62227 # output is simply discarded.  So we exec the FD to /dev/null,
62228 # effectively closing config.log, so it can be properly (re)opened and
62229 # appended to by config.status.  When coming back to configure, we
62230 # need to make the FD available again.
62231 if test "$no_create" != yes; then
62232   ac_cs_success=:
62233   ac_config_status_args=
62234   test "$silent" = yes &&
62235     ac_config_status_args="$ac_config_status_args --quiet"
62236   exec 5>/dev/null
62237   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62238   exec 5>>config.log
62239   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62240   # would make configure fail if this is the last instruction.
62241   $ac_cs_success || as_fn_exit $?
62242 fi
62243 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62244   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62245 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62246 fi
62247